/* Minification failed. Returning unminified contents.
(4,4): run-time error CSS1019: Unexpected token, found '('
(4,5): run-time error CSS1019: Unexpected token, found 'function('
(4,17): run-time error CSS1031: Expected selector, found ')'
(4,17): run-time error CSS1025: Expected comma or open brace, found ')'
(4,152): run-time error CSS1019: Unexpected token, found ')'
(4,153): run-time error CSS1019: Unexpected token, found '('
(4,159): run-time error CSS1031: Expected selector, found 'function('
(4,20163): run-time error CSS1019: Unexpected token, found ')'
(12,1): run-time error CSS1019: Unexpected token, found 'if('
(12,4): run-time error CSS1019: Unexpected token, found '"undefined"'
(12,15): run-time error CSS1019: Unexpected token, found '='
(12,16): run-time error CSS1019: Unexpected token, found '='
(12,30): run-time error CSS1031: Expected selector, found ')'
(12,30): run-time error CSS1025: Expected comma or open brace, found ')'
(12,89): run-time error CSS1019: Unexpected token, found '!'
(12,90): run-time error CSS1019: Unexpected token, found 'function('
(12,100): run-time error CSS1031: Expected selector, found ')'
(12,100): run-time error CSS1025: Expected comma or open brace, found ')'
(12,323): run-time error CSS1019: Unexpected token, found '('
(12,324): run-time error CSS1019: Unexpected token, found ')'
(12,325): run-time error CSS1019: Unexpected token, found ','
(12,326): run-time error CSS1019: Unexpected token, found 'function('
(12,336): run-time error CSS1031: Expected selector, found ')'
(12,336): run-time error CSS1025: Expected comma or open brace, found ')'
(12,1062): run-time error CSS1019: Unexpected token, found '('
(12,1069): run-time error CSS1031: Expected selector, found ')'
(12,1069): run-time error CSS1025: Expected comma or open brace, found ')'
(12,2024): run-time error CSS1019: Unexpected token, found '('
(12,2031): run-time error CSS1031: Expected selector, found ')'
(12,2031): run-time error CSS1025: Expected comma or open brace, found ')'
(12,3972): run-time error CSS1019: Unexpected token, found '('
(12,3979): run-time error CSS1031: Expected selector, found ')'
(12,3979): run-time error CSS1025: Expected comma or open brace, found ')'
(12,8060): run-time error CSS1019: Unexpected token, found '('
(12,8067): run-time error CSS1031: Expected selector, found ')'
(12,8067): run-time error CSS1025: Expected comma or open brace, found ')'
(12,11442): run-time error CSS1019: Unexpected token, found '('
(12,11449): run-time error CSS1031: Expected selector, found ')'
(12,11449): run-time error CSS1025: Expected comma or open brace, found ')'
(12,13817): run-time error CSS1019: Unexpected token, found '('
(12,13824): run-time error CSS1031: Expected selector, found ')'
(12,13824): run-time error CSS1025: Expected comma or open brace, found ')'
(12,20191): run-time error CSS1019: Unexpected token, found '('
(12,20198): run-time error CSS1031: Expected selector, found ')'
(12,20198): run-time error CSS1025: Expected comma or open brace, found ')'
(12,31056): run-time error CSS1019: Unexpected token, found '('
(12,31063): run-time error CSS1031: Expected selector, found ')'
(12,31063): run-time error CSS1025: Expected comma or open brace, found ')'
(12,32795): run-time error CSS1019: Unexpected token, found '('
(12,32802): run-time error CSS1031: Expected selector, found ')'
(12,32802): run-time error CSS1025: Expected comma or open brace, found ')'
(12,35217): run-time error CSS1019: Unexpected token, found '('
(12,35224): run-time error CSS1031: Expected selector, found ')'
(12,35224): run-time error CSS1025: Expected comma or open brace, found ')'
(12,37051): run-time error CSS1019: Unexpected token, found '('
(12,37058): run-time error CSS1031: Expected selector, found ')'
(12,37058): run-time error CSS1025: Expected comma or open brace, found ')'
(12,39545): run-time error CSS1019: Unexpected token, found '('
(12,39552): run-time error CSS1031: Expected selector, found ')'
(12,39552): run-time error CSS1025: Expected comma or open brace, found ')'
(18,1): run-time error CSS1019: Unexpected token, found '('
(18,11): run-time error CSS1031: Expected selector, found '('
(18,11): run-time error CSS1025: Expected comma or open brace, found '('
(18,96): run-time error CSS1019: Unexpected token, found ')'
(18,97): run-time error CSS1019: Unexpected token, found '('
(18,107): run-time error CSS1031: Expected selector, found '('
(18,107): run-time error CSS1025: Expected comma or open brace, found '('
(18,36732): run-time error CSS1019: Unexpected token, found ')'
(26,1): run-time error CSS1019: Unexpected token, found '('
(26,11): run-time error CSS1031: Expected selector, found '('
(26,11): run-time error CSS1025: Expected comma or open brace, found '('
(94,2): run-time error CSS1019: Unexpected token, found ')'
(94,3): run-time error CSS1019: Unexpected token, found '('
(94,20): run-time error CSS1031: Expected selector, found ')'
(94,20): run-time error CSS1025: Expected comma or open brace, found ')'
(110,1): run-time error CSS1019: Unexpected token, found '('
(110,11): run-time error CSS1031: Expected selector, found '('
(110,11): run-time error CSS1025: Expected comma or open brace, found '('
(118,2): run-time error CSS1019: Unexpected token, found ')'
(118,3): run-time error CSS1019: Unexpected token, found '('
(118,18): run-time error CSS1031: Expected selector, found '!'
(118,18): run-time error CSS1025: Expected comma or open brace, found '!'
(274,2): run-time error CSS1019: Unexpected token, found ')'
(276,1): run-time error CSS1019: Unexpected token, found '"use strict"'
(281,8): run-time error CSS1031: Expected selector, found '='
(281,8): run-time error CSS1025: Expected comma or open brace, found '='
(284,27): run-time error CSS1031: Expected selector, found '='
(284,27): run-time error CSS1025: Expected comma or open brace, found '='
(290,24): run-time error CSS1031: Expected selector, found '='
(290,24): run-time error CSS1025: Expected comma or open brace, found '='
(297,4): run-time error CSS1031: Expected selector, found '('
(297,4): run-time error CSS1025: Expected comma or open brace, found '('
(307,4): run-time error CSS1031: Expected selector, found '('
(307,4): run-time error CSS1025: Expected comma or open brace, found '('
(319,4): run-time error CSS1031: Expected selector, found '('
(319,4): run-time error CSS1025: Expected comma or open brace, found '('
(325,4): run-time error CSS1031: Expected selector, found '('
(325,4): run-time error CSS1025: Expected comma or open brace, found '('
(331,4): run-time error CSS1031: Expected selector, found '('
(331,4): run-time error CSS1025: Expected comma or open brace, found '('
(338,30): run-time error CSS1031: Expected selector, found '='
(338,30): run-time error CSS1025: Expected comma or open brace, found '='
(347,20): run-time error CSS1031: Expected selector, found '='
(347,20): run-time error CSS1025: Expected comma or open brace, found '='
(348,13): run-time error CSS1031: Expected selector, found '='
(348,13): run-time error CSS1025: Expected comma or open brace, found '='
(354,21): run-time error CSS1031: Expected selector, found '='
(354,21): run-time error CSS1025: Expected comma or open brace, found '='
(357,15): run-time error CSS1031: Expected selector, found '='
(357,15): run-time error CSS1025: Expected comma or open brace, found '='
(359,20): run-time error CSS1031: Expected selector, found '='
(359,20): run-time error CSS1025: Expected comma or open brace, found '='
(371,16): run-time error CSS1031: Expected selector, found '='
(371,16): run-time error CSS1025: Expected comma or open brace, found '='
(373,11): run-time error CSS1031: Expected selector, found '='
(373,11): run-time error CSS1025: Expected comma or open brace, found '='
(392,2): run-time error CSS1019: Unexpected token, found '('
(392,3): run-time error CSS1019: Unexpected token, found ')'
(394,1): run-time error CSS1019: Unexpected token, found 'eval('
(394,15): run-time error CSS1031: Expected selector, found '('
(394,15): run-time error CSS1025: Expected comma or open brace, found '('
(394,407): run-time error CSS1019: Unexpected token, found '('
(394,408): run-time error CSS1019: Unexpected token, found ''a(31.9&&!31.9.3c){(8(){6 G=8(s,x,f){5.1L=[];5.1p={};5.29=C;5.1K={};5.1a={};5.f=9.1y({2z:18,37:2u,2r:18,2Z:18,2T:2u,2S:2u},f);5.2Q(s,x);a(s){5.1n(5.1a[\'1V\'],x,5.f)}5.1a=C};G.m.2G=\'0.7.0\';G.m.2Q=8(s,x){6 2E=/\\{#3i *(\\w*?)( .*)*\\}/g;6 20,1x,H;6 1v=C;6 2x=[];2v((20=2E.3U(s))!=C){1v=2E.1v;1x=20[1];H=s.2s(\'{#/3i \'+1x+\'}\',1v);a(H==-1){Y c 12(\'14: G "\'+1x+\'" 2n 1Q 3H.\');}5.1a[1x]=s.2h(1v,H);2x[1x]=L.2c(20[2])}a(1v===C){5.1a[\'1V\']=s;b}F(6 i 1N 5.1a){a(i!=\'1V\'){5.1K[i]=c G()}}F(6 i 1N 5.1a){a(i!=\'1V\'){5.1K[i].1n(5.1a[i],9.1y({},x||{},5.1K||{}),9.1y({},5.f,2x[i]));5.1a[i]=C}}};G.m.1n=8(s,x,f){a(s==15){5.1L.A(c 1d(\'\',1));b}s=s.W(/[\\n\\r]/g,\'\');s=s.W(/\\{\\*.*?\\*\\}/g,\'\');5.29=9.1y({},5.1K||{},x||{});5.f=c 25(f);6 j=5.1L;6 J=s.1c(/\\{#.*?\\}/g);6 Z=0,H=0;6 e;6 1b=0;6 21=0;F(6 i=0,l=(J)?(J.O):(0);i<l;++i){a(1b){H=s.2s(\'{#/1z}\');a(H==-1){Y c 12("14: 3f 1G 3e 1z.");}a(H>Z){j.A(c 1d(s.2h(Z,H),1))}Z=H+11;1b=0;i=9.3Z(\'{#/1z}\',J);3b}H=s.2s(J[i],Z);a(H>Z){j.A(c 1d(s.2h(Z,H),1b))}6 3X=J[i].1c(/\\{#([\\w\\/]+).*?\\}/);6 2w=E.$1;36(2w){q\'3T\':++21;j.1U();q\'a\':e=c 1t(J[i],j);j.A(e);j=e;M;q\'U\':j.1U();M;q\'/a\':2v(21){j=j.1T();--21}q\'/F\':q\'/1S\':j=j.1T();M;q\'1S\':e=c 1j(J[i],j);j.A(e);j=e;M;q\'F\':e=1R(J[i],j);j.A(e);j=e;M;q\'2q\':j.A(c 2I(J[i],5.29));M;q\'h\':j.A(c 2p(J[i]));M;q\'2o\':j.A(c 2m(J[i]));M;q\'3M\':j.A(c 1d(\'{\'));M;q\'3K\':j.A(c 1d(\'}\'));M;q\'1z\':1b=1;M;q\'/1z\':Y c 12("14: 3f 2k 3e 1z.");2R:Y c 12(\'14: 3G 3E \'+2w+\'.\');}Z=H+J[i].O}a(s.O>Z){j.A(c 1d(s.3D(Z),1b))}};G.m.I=8(d,h,z,B){++B;6 $T=d,22,1Y;a(5.f.2T){$T=L.1m(d,{1W:(5.f.37&&B==1),1F:5.f.2z})}a(!5.f.2S){22=5.1p;1Y=h}U{22=L.1m(5.1p,{1W:(5.f.2r),1F:18});1Y=L.1m(h,{1W:(5.f.2r&&B==1),1F:18})}6 $P=9.1y({},22,1Y);6 $Q=z;$Q.2G=5.2G;6 13=\'\';F(6 i=0,l=5.1L.O;i<l;++i){13+=5.1L[i].I($T,$P,$Q,B)}--B;b 13};G.m.28=8(1J,1M){5.1p[1J]=1M};L=8(){};L.3q=8(3p){b 3p.W(/&/g,\'&4b;\').W(/>/g,\'&3o;\').W(/</g,\'&3n;\').W(/"/g,\'&48;\').W(/\'/g,\'&#39;\')};L.1m=8(d,1A){a(d==C){b d}36(d.3m){q 25:6 o={};F(6 i 1N d){o[i]=L.1m(d[i],1A)}a(!1A.1F){o.3k=d.3k}b o;q 47:6 o=[];F(6 i=0,l=d.O;i<l;++i){o[i]=L.1m(d[i],1A)}b o;q 3j:b(1A.1W)?(L.3q(d)):(d);q 46:a(1A.1F){Y c 12("14: 45 44 1Q 43.");}2R:b d}};L.2c=8(24){a(24===C||24===15){b{}}6 o=24.42(/[= ]/);a(o[0]===\'\'){o.41()}6 2B={};F(6 i=0,l=o.O;i<l;i+=2){2B[o[i]]=o[i+1]}b 2B};6 1d=8(2A,1b){5.23=2A;5.3h=1b};1d.m.I=8(d,h,z,B){6 t=5.23;a(!5.3h){6 $T=d;6 $P=h;6 $Q=z;t=t.W(/\\{(.*?)\\}/g,8(40,3g){6 19=V(3g);a(1I 19==\'8\'){6 f=9.K(z,\'1i\').f;a(f.2z||!f.2Z){b\'\'}U{19=19($T,$P,$Q)}}b(19===15)?(""):(3j(19))})}b t};6 1t=8(D,1r){5.1Z=1r;D.1c(/\\{#(?:U)*a (.*?)\\}/);5.3d=E.$1;5.1g=[];5.1f=[];5.1w=5.1g};1t.m.A=8(e){5.1w.A(e)};1t.m.1T=8(){b 5.1Z};1t.m.1U=8(){5.1w=5.1f};1t.m.I=8(d,h,z,B){6 $T=d;6 $P=h;6 $Q=z;6 2y=(V(5.3d))?(5.1g):(5.1f);6 13=\'\';F(6 i=0,l=2y.O;i<l;++i){13+=2y[i].I(d,h,z,B)}b 13};1R=8(D,1r){a(D.1c(/\\{#F (\\w+?) *= *(\\S+?) +3Y +(\\S+?) *(?:R=(\\S+?))*\\}/)){D=\'{#1S 1R.3a 38 \'+E.$1+\' 2k=\'+(E.$2||0)+\' 1G=\'+(E.$3||-1)+\' R=\'+(E.$4||1)+\' 1E=$T}\';b c 1j(D,1r)}U{Y c 12(\'14: 3W 3V "35": \'+D);}};1R.3a=8(i){b i};6 1j=8(D,1r){5.1Z=1r;D.1c(/\\{#1S (.+?) 38 (\\w+?)( .+)*\\}/);5.34=E.$1;5.y=E.$2;5.N=E.$3||C;5.N=L.2c(5.N);5.1g=[];5.1f=[];5.1w=5.1g};1j.m.A=8(e){5.1w.A(e)};1j.m.1T=8(){b 5.1Z};1j.m.1U=8(){5.1w=5.1f};1j.m.I=8(d,h,z,B){6 $T=d;6 $P=h;6 $Q=z;6 1h=V(5.34);6 1D=[];6 1u=1I 1h;a(1u==\'33\'){6 2t=[];9.17(1h,8(k,v){1D.A(k);2t.A(v)});1h=2t}6 1E=(5.N.1E!==15)?(V(5.N.1E)):{};6 s=1H(V(5.N.2k)||0),e;6 R=1H(V(5.N.R)||1);a(1u!=\'8\'){e=1h.O}U{a(5.N.1G===15||5.N.1G===C){e=1H.3S}U{e=1H(V(5.N.1G))+((R>0)?(1):(-1))}}6 13=\'\';6 i,l;a(5.N.1C){6 19=s+1H(V(5.N.1C));e=(19>e)?(e):(19)}a((e>s&&R>0)||(e<s&&R<0)){6 1q=0;6 30=(1u!=\'8\')?(3R.3Q((e-s)/R)):15;6 1s,1k;F(;((R>0)?(s<e):(s>e));s+=R,++1q){1s=1D[s];a(1u!=\'8\'){1k=1h[s]}U{1k=1h(s);a(1k===15||1k===C){M}}a((1u==\'33\')&&(1s 1N 25)&&(25[1s]===$T[1s])){3b}$T=1E;6 p=$T[5.y]=1k;$T[5.y+\'$2Y\']=s;$T[5.y+\'$1q\']=1q;$T[5.y+\'$2X\']=(1q==0);$T[5.y+\'$3l\']=(s+R>=e);$T[5.y+\'$2V\']=30;$T[5.y+\'$1D\']=1s;$T[5.y+\'$1I\']=1I 1k;F(i=0,l=5.1g.O;i<l;++i){13+=5.1g[i].I($T,h,z,B)}1e $T[5.y+\'$2Y\'];1e $T[5.y+\'$1q\'];1e $T[5.y+\'$2X\'];1e $T[5.y+\'$3l\'];1e $T[5.y+\'$2V\'];1e $T[5.y+\'$1D\'];1e $T[5.y+\'$1I\'];1e $T[5.y]}}U{F(i=0,l=5.1f.O;i<l;++i){13+=5.1f[i].I($T,h,z,B)}}b 13};6 2I=8(D,x){D.1c(/\\{#2q (.*?)(?: 3P=(.*?))?\\}/);5.2H=x[E.$1];a(5.2H==15){Y c 12(\'14: 3O 35 2q: \'+E.$1);}5.2U=E.$2};2I.m.I=8(d,h,z,B){6 $T=d;b 5.2H.I(V(5.2U),h,z,B)};6 2p=8(D){D.1c(/\\{#h 1J=(\\w*?) 1M=(.*?)\\}/);5.y=E.$1;5.23=E.$2};2p.m.I=8(d,h,z,B){6 $T=d;6 $P=h;6 $Q=z;h[5.y]=V(5.23);b\'\'};6 2m=8(D){D.1c(/\\{#2o 3N=(.*?)\\}/);5.2d=V(E.$1);5.2l=5.2d.O;a(5.2l<=0){Y c 12(\'14: 2o 3L 3J 3I\');}5.2f=0;5.2b=-1};2m.m.I=8(d,h,z,B){6 2j=9.K(z,\'1B\');a(2j!=5.2b){5.2b=2j;5.2f=0}6 i=5.2f++%5.2l;b 5.2d[i]};9.X.1n=8(s,x,f){a(s.3m===G){b 9(5).17(8(){9.K(5,\'1i\',s);9.K(5,\'1B\',0)})}U{b 9(5).17(8(){9.K(5,\'1i\',c G(s,x,f));9.K(5,\'1B\',0)})}};9.X.3F=8(1o,x,f){6 s=9.2g({1l:1o,2e:18}).2P;b 9(5).1n(s,x,f)};9.X.3C=8(2i,x,f){6 s=$(\'#\'+2i).2A();a(s==C){s=$(\'#\'+2i).2O();s=s.W(/&3n;/g,"<").W(/&3o;/g,">")}s=9.3B(s);s=s.W(/^<\\!\\[3A\\[([\\s\\S]*)\\]\\]>$/3z,\'$1\');b 9(5).1n(s,x,f)};9.X.3y=8(){6 1C=0;9(5).17(8(){a(9.K(5,\'1i\')){++1C}});b 1C};9.X.3x=8(){9(5).32();b 9(5).17(8(){9.2N(5,\'1i\')})};9.X.28=8(1J,1M){b 9(5).17(8(){6 t=9.K(5,\'1i\');a(t===15){Y c 12(\'14: G 2n 1Q 2W.\');}t.28(1J,1M)})};9.X.2a=8(d,h){b 9(5).17(8(){6 t=9.K(5,\'1i\');a(t===15){Y c 12(\'14: G 2n 1Q 2W.\');}9.K(5,\'1B\',9.K(5,\'1B\')+1);9(5).2O(t.I(d,h,5,0))})};9.X.3w=8(1o,h){6 10=5;6 s=9.2g({1l:1o,2e:18,3v:18,3u:\'3t\',3s:8(d){9(10).2a(d,h)}});b 5};6 1P=8(1l,h,1O,1X,16){5.2M=1l;5.1p=h;5.2L=1O;5.2K=1X;5.16=16;5.2C=C;6 10=5;9(16).17(8(){9.K(5,\'2D\',10)});5.27()};1P.m.27=8(){5.2J();a(5.16.O==0){b}6 10=5;9.4f(5.2M,5.2K,8(d){9(10.16).2a(d,10.1p)});5.2C=4e(8(){10.27()},5.2L)};1P.m.2J=8(){5.16=9.3r(5.16,8(o){a(9.4d.4c){6 n=o.2F;2v(n&&n!=4a){n=n.2F}b n!=C}U{b o.2F!=C}})};9.X.49=8(1l,h,1O,1X){6 u=c 1P(1l,h,1O,1X,5);b u.2C};9.X.32=8(){b 9(5).17(8(){6 26=9.K(5,\'2D\');a(26==C){b}6 10=5;26.16=9.3r(26.16,8(o){b o!=10});9.2N(5,\'2D\')})};9.1y({3c:8(s,x,f){b c G(s,x,f)},4g:8(1o,x,f){6 s=9.2g({1l:1o,2e:18}).2P;b c G(s,x,f)}})})(9)}''
(394,6611): run-time error CSS1019: Unexpected token, found ','
(394,6613): run-time error CSS1019: Unexpected token, found '62'
(394,6615): run-time error CSS1019: Unexpected token, found ','
(394,6617): run-time error CSS1019: Unexpected token, found '265'
(394,6620): run-time error CSS1019: Unexpected token, found ','
(394,6622): run-time error CSS1019: Unexpected token, found ''|||||this|var||function|jQuery|if|return|new|||settings||param||node|||prototype||||case|||||||includes|_name|element|push|deep|null|oper|RegExp|for|Template|se|get|op|data|TemplateUtils|break|_option|length|||step|||else|eval|replace|fn|throw|ss|that||Error|ret|jTemplates|undefined|objs|each|false|tmp|_templates_code|literalMode|match|TextNode|delete|_onFalse|_onTrue|fcount|jTemplate|opFOREACH|cval|url|cloneData|setTemplate|url_|_param|iteration|par|ckey|opIF|mode|lastIndex|_currentState|tname|extend|literal|filter|jTemplateSID|count|key|extData|noFunc|end|Number|typeof|name|_templates|_tree|value|in|interval|Updater|not|opFORFactory|foreach|getParent|switchToElse|MAIN|escapeData|args|_param2|_parent|iter|elseif_level|_param1|_value|optionText|Object|updater|run|setParam|_includes|processTemplate|_lastSessionID|optionToObject|_values|async|_index|ajax|substring|elementName|sid|begin|_length|Cycle|is|cycle|UserParam|include|filter_params|indexOf|arr|true|while|op_|_template_settings|tab|disallow_functions|val|obj|timer|jTemplateUpdater|reg|parentNode|version|_template|Include|detectDeletedNodes|_args|_interval|_url|removeData|html|responseText|splitTemplates|default|clone_params|clone_data|_root|total|defined|first|index|runnable_functions|_total|window|processTemplateStop|object|_arg|find|switch|filter_data|as||funcIterator|continue|createTemplate|_cond|of|No|__a1|_literalMode|template|String|toString|last|constructor|lt|gt|txt|escapeHTML|grep|success|json|dataType|cache|processTemplateURL|removeTemplate|hasTemplate|im|CDATA|trim|setTemplateElement|substr|tag|setTemplateURL|unknown|closed|elements|no|rdelim|has|ldelim|values|Cannot|root|ceil|Math|MAX_VALUE|elseif|exec|failed|Operator|ppp|to|inArray|__a0|shift|split|allowed|are|Functions|Function|Array|quot|processTemplateStart|document|amp|msie|browser|setTimeout|getJSON|createTemplateURL''
(394,8496): run-time error CSS1030: Expected identifier, found 'split('
(394,8496): run-time error CSS1019: Unexpected token, found 'split('
(394,8502): run-time error CSS1019: Unexpected token, found ''|''
(394,8505): run-time error CSS1019: Unexpected token, found ')'
(394,8506): run-time error CSS1019: Unexpected token, found ','
(394,8508): run-time error CSS1019: Unexpected token, found '0'
(394,8509): run-time error CSS1019: Unexpected token, found ','
(394,8511): run-time error CSS1019: Unexpected token, found '{'
(394,8512): run-time error CSS1019: Unexpected token, found '}'
(394,8513): run-time error CSS1019: Unexpected token, found ')'
(394,8514): run-time error CSS1019: Unexpected token, found ')'
(398,7): run-time error CSS1031: Expected selector, found '='
(398,7): run-time error CSS1025: Expected comma or open brace, found '='
(442,2): run-time error CSS1019: Unexpected token, found '('
(442,3): run-time error CSS1019: Unexpected token, found ')'
(445,22): run-time error CSS1031: Expected selector, found '='
(445,22): run-time error CSS1025: Expected comma or open brace, found '='
(458,25): run-time error CSS1031: Expected selector, found '='
(458,25): run-time error CSS1025: Expected comma or open brace, found '='
(568,2): run-time error CSS1019: Unexpected token, found '('
(568,3): run-time error CSS1019: Unexpected token, found ')'
(569,25): run-time error CSS1031: Expected selector, found '='
(569,25): run-time error CSS1025: Expected comma or open brace, found '='
(585,10): run-time error CSS1031: Expected selector, found 'clickAutocompleteTextLi('
(585,10): run-time error CSS1025: Expected comma or open brace, found 'clickAutocompleteTextLi('
(590,24): run-time error CSS1031: Expected selector, found '='
(590,24): run-time error CSS1025: Expected comma or open brace, found '='
(660,1): run-time error CSS1019: Unexpected token, found '$'
(660,2): run-time error CSS1019: Unexpected token, found '('
(660,12): run-time error CSS1031: Expected selector, found '('
(660,12): run-time error CSS1025: Expected comma or open brace, found '('
(670,2): run-time error CSS1019: Unexpected token, found ')'
(674,15): run-time error CSS1031: Expected selector, found '='
(674,15): run-time error CSS1025: Expected comma or open brace, found '='
(722,2): run-time error CSS1019: Unexpected token, found '('
(722,3): run-time error CSS1019: Unexpected token, found ')'
(723,1): run-time error CSS1019: Unexpected token, found '$'
(723,2): run-time error CSS1019: Unexpected token, found '('
(723,12): run-time error CSS1031: Expected selector, found '('
(723,12): run-time error CSS1025: Expected comma or open brace, found '('
(744,2): run-time error CSS1019: Unexpected token, found ')'
(745,1): run-time error CSS1019: Unexpected token, found '$'
(745,2): run-time error CSS1019: Unexpected token, found '('
(745,9): run-time error CSS1031: Expected selector, found ')'
(745,9): run-time error CSS1025: Expected comma or open brace, found ')'
(757,2): run-time error CSS1019: Unexpected token, found ')'
(760,12): run-time error CSS1031: Expected selector, found '='
(760,12): run-time error CSS1025: Expected comma or open brace, found '='
(1057,1): run-time error CSS1019: Unexpected token, found '$'
(1057,2): run-time error CSS1019: Unexpected token, found '('
(1057,12): run-time error CSS1031: Expected selector, found '('
(1057,12): run-time error CSS1025: Expected comma or open brace, found '('
(1079,2): run-time error CSS1019: Unexpected token, found ')'
(1111,1): run-time error CSS1019: Unexpected token, found '('
(1111,11): run-time error CSS1031: Expected selector, found '('
(1111,11): run-time error CSS1025: Expected comma or open brace, found '('
(1121,2): run-time error CSS1019: Unexpected token, found ')'
(1121,3): run-time error CSS1019: Unexpected token, found '('
(1121,10): run-time error CSS1031: Expected selector, found ')'
(1121,10): run-time error CSS1025: Expected comma or open brace, found ')'
(1125,1): run-time error CSS1019: Unexpected token, found '!'
(1125,11): run-time error CSS1031: Expected selector, found '('
(1125,11): run-time error CSS1025: Expected comma or open brace, found '('
(1125,2881): run-time error CSS1019: Unexpected token, found '('
(1125,2888): run-time error CSS1031: Expected selector, found ')'
(1125,2888): run-time error CSS1025: Expected comma or open brace, found ')'
(1125,14133): run-time error CSS1019: Unexpected token, found '('
(1125,14148): run-time error CSS1031: Expected selector, found ')'
(1125,14148): run-time error CSS1025: Expected comma or open brace, found ')'
(1125,14941): run-time error CSS1019: Unexpected token, found '('
(1125,14948): run-time error CSS1031: Expected selector, found ')'
(1125,14948): run-time error CSS1025: Expected comma or open brace, found ')'
(1125,16359): run-time error CSS1019: Unexpected token, found '('
(1125,16366): run-time error CSS1031: Expected selector, found ')'
(1125,16366): run-time error CSS1025: Expected comma or open brace, found ')'
(1125,19261): run-time error CSS1019: Unexpected token, found '('
(1125,19268): run-time error CSS1031: Expected selector, found ')'
(1125,19268): run-time error CSS1025: Expected comma or open brace, found ')'
(1125,20871): run-time error CSS1019: Unexpected token, found '('
(1125,20888): run-time error CSS1031: Expected selector, found ')'
(1125,20888): run-time error CSS1025: Expected comma or open brace, found ')'
(1144,4): run-time error CSS1019: Unexpected token, found '!'
(1144,5): run-time error CSS1019: Unexpected token, found 'function('
(1144,15): run-time error CSS1031: Expected selector, found ')'
(1144,15): run-time error CSS1025: Expected comma or open brace, found ')'
(1144,1449): run-time error CSS1019: Unexpected token, found '('
(1144,1450): run-time error CSS1019: Unexpected token, found '{'
(1144,1451): run-time error CSS1019: Unexpected token, found '"+6ht"'
(1144,1478): run-time error CSS1035: Expected colon, found 'n'
(1144,1535): run-time error CSS1035: Expected colon, found '.'
(1144,1619): run-time error CSS1019: Unexpected token, found ','
(1144,1620): run-time error CSS1019: Unexpected token, found '"+gRV"'
(1144,1647): run-time error CSS1035: Expected colon, found 'n'
(1144,1659): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,1719): run-time error CSS1019: Unexpected token, found ','
(1144,1720): run-time error CSS1019: Unexpected token, found '"+qIf"'
(1144,1743): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,1757): run-time error CSS1035: Expected colon, found '.'
(1144,1856): run-time error CSS1035: Expected colon, found 'n'
(1144,5595): run-time error CSS1019: Unexpected token, found ','
(1144,5596): run-time error CSS1019: Unexpected token, found '"+wz8"'
(1144,5623): run-time error CSS1035: Expected colon, found 'n'
(1144,5684): run-time error CSS1035: Expected colon, found '.'
(1144,5737): run-time error CSS1019: Unexpected token, found ','
(1144,5738): run-time error CSS1019: Unexpected token, found '"/9XX"'
(1144,5761): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,5775): run-time error CSS1035: Expected colon, found '.'
(1144,6003): run-time error CSS1035: Expected colon, found 'n'
(1144,6164): run-time error CSS1035: Expected colon, found 'h('
(1144,6387): run-time error CSS1019: Unexpected token, found ','
(1144,6388): run-time error CSS1019: Unexpected token, found '"/IEW"'
(1144,6411): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,6425): run-time error CSS1035: Expected colon, found '.'
(1144,6460): run-time error CSS1035: Expected colon, found 'n'
(1144,6855): run-time error CSS1019: Unexpected token, found ','
(1144,6856): run-time error CSS1019: Unexpected token, found '"/NC3"'
(1144,6883): run-time error CSS1035: Expected colon, found 'n'
(1144,6907): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,6962): run-time error CSS1019: Unexpected token, found ','
(1144,6963): run-time error CSS1019: Unexpected token, found '"/Oef"'
(1144,6986): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,7003): run-time error CSS1035: Expected colon, found 'n'
(1144,7021): run-time error CSS1035: Expected colon, found '['
(1144,7155): run-time error CSS1019: Unexpected token, found ','
(1144,7156): run-time error CSS1019: Unexpected token, found '"/URX"'
(1144,7183): run-time error CSS1035: Expected colon, found 'n'
(1144,7206): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,7390): run-time error CSS1019: Unexpected token, found ','
(1144,7391): run-time error CSS1019: Unexpected token, found '"/Xnt"'
(1144,7414): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,7431): run-time error CSS1035: Expected colon, found 'n'
(1144,7576): run-time error CSS1035: Expected colon, found '.'
(1144,8573): run-time error CSS1019: Unexpected token, found ','
(1144,8574): run-time error CSS1019: Unexpected token, found '"/dMO"'
(1144,8597): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,8614): run-time error CSS1035: Expected colon, found 'n'
(1144,8638): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,8754): run-time error CSS1019: Unexpected token, found ','
(1144,8755): run-time error CSS1019: Unexpected token, found '"/e9j"'
(1144,8778): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,8792): run-time error CSS1035: Expected colon, found '.'
(1144,8827): run-time error CSS1035: Expected colon, found 'n'
(1144,9133): run-time error CSS1035: Expected colon, found '.'
(1144,9179): run-time error CSS1019: Unexpected token, found ','
(1144,9180): run-time error CSS1019: Unexpected token, found '0'
(1144,9198): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,9228): run-time error CSS1019: Unexpected token, found ','
(1144,9229): run-time error CSS1019: Unexpected token, found '"01H4"'
(1144,9252): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,9266): run-time error CSS1035: Expected colon, found '.'
(1144,9350): run-time error CSS1035: Expected colon, found 'n'
(1144,9362): run-time error CSS1019: Unexpected token, found ','
(1144,9363): run-time error CSS1019: Unexpected token, found '"0B2R"'
(1144,9390): run-time error CSS1035: Expected colon, found 'n'
(1144,9402): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,9449): run-time error CSS1019: Unexpected token, found ','
(1144,9450): run-time error CSS1019: Unexpected token, found '"0C8c"'
(1144,9475): run-time error CSS1035: Expected colon, found 'i'
(1144,9489): run-time error CSS1035: Expected colon, found '.'
(1144,9644): run-time error CSS1019: Unexpected token, found ','
(1144,9645): run-time error CSS1019: Unexpected token, found '"0Czv"'
(1144,9668): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,9681): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,9757): run-time error CSS1019: Unexpected token, found ','
(1144,9758): run-time error CSS1019: Unexpected token, found '"0FpR"'
(1144,9781): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,9800): run-time error CSS1035: Expected colon, found '.'
(1144,11227): run-time error CSS1035: Expected colon, found 'n'
(1144,11248): run-time error CSS1035: Expected colon, found 'r('
(1144,11472): run-time error CSS1035: Expected colon, found 'm('
(1144,11589): run-time error CSS1019: Unexpected token, found ','
(1144,11590): run-time error CSS1019: Unexpected token, found '"0PyG"'
(1144,11613): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,11627): run-time error CSS1035: Expected colon, found '.'
(1144,11662): run-time error CSS1035: Expected colon, found 'n'
(1144,12754): run-time error CSS1019: Unexpected token, found ','
(1144,12755): run-time error CSS1019: Unexpected token, found '"0YcW"'
(1144,12778): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,12795): run-time error CSS1035: Expected colon, found 'n'
(1144,13055): run-time error CSS1035: Expected colon, found '.'
(1144,13780): run-time error CSS1019: Unexpected token, found ','
(1144,13781): run-time error CSS1019: Unexpected token, found '"0Zt3"'
(1144,13808): run-time error CSS1035: Expected colon, found 'n'
(1144,13854): run-time error CSS1035: Expected colon, found '.'
(1144,13934): run-time error CSS1019: Unexpected token, found ','
(1144,13935): run-time error CSS1019: Unexpected token, found '"0jav"'
(1144,13962): run-time error CSS1035: Expected colon, found 'n'
(1144,13986): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,14045): run-time error CSS1019: Unexpected token, found ','
(1144,14046): run-time error CSS1019: Unexpected token, found '"0v9/"'
(1144,14073): run-time error CSS1035: Expected colon, found 'n'
(1144,14337): run-time error CSS1035: Expected colon, found '&'
(1144,15029): run-time error CSS1019: Unexpected token, found ','
(1144,15030): run-time error CSS1019: Unexpected token, found '"0yJt"'
(1144,15053): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,15070): run-time error CSS1035: Expected colon, found 'n'
(1144,15098): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,15215): run-time error CSS1019: Unexpected token, found ','
(1144,15216): run-time error CSS1019: Unexpected token, found '"17ao"'
(1144,15243): run-time error CSS1035: Expected colon, found 'n'
(1144,15310): run-time error CSS1035: Expected colon, found '.'
(1144,15426): run-time error CSS1019: Unexpected token, found ','
(1144,15427): run-time error CSS1019: Unexpected token, found '"1Vzv"'
(1144,15454): run-time error CSS1035: Expected colon, found 'n'
(1144,15478): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,15516): run-time error CSS1019: Unexpected token, found ','
(1144,15517): run-time error CSS1019: Unexpected token, found '"1lef"'
(1144,15540): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,15557): run-time error CSS1035: Expected colon, found 'n'
(1144,15673): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,16019): run-time error CSS1019: Unexpected token, found ','
(1144,16020): run-time error CSS1019: Unexpected token, found '"1qam"'
(1144,16043): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,16057): run-time error CSS1035: Expected colon, found '.'
(1144,16092): run-time error CSS1035: Expected colon, found 'n'
(1144,17277): run-time error CSS1019: Unexpected token, found ','
(1144,17278): run-time error CSS1019: Unexpected token, found '"1yyj"'
(1144,17301): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,17315): run-time error CSS1035: Expected colon, found '.'
(1144,17520): run-time error CSS1035: Expected colon, found 'n'
(1144,17685): run-time error CSS1035: Expected colon, found 'y('
(1144,22926): run-time error CSS1019: Unexpected token, found ','
(1144,22927): run-time error CSS1019: Unexpected token, found '"2/6D"'
(1144,22950): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,22967): run-time error CSS1035: Expected colon, found 'n'
(1144,23016): run-time error CSS1035: Expected colon, found '.'
(1144,23297): run-time error CSS1019: Unexpected token, found ','
(1144,23298): run-time error CSS1019: Unexpected token, found '"20m4"'
(1144,23325): run-time error CSS1035: Expected colon, found 'n'
(1144,23338): run-time error CSS1035: Expected colon, found '.'
(1144,23599): run-time error CSS1019: Unexpected token, found ','
(1144,23600): run-time error CSS1019: Unexpected token, found '"2Dqo"'
(1144,23627): run-time error CSS1035: Expected colon, found 'n'
(1144,23757): run-time error CSS1035: Expected colon, found '.'
(1144,23851): run-time error CSS1019: Unexpected token, found ','
(1144,23852): run-time error CSS1019: Unexpected token, found '"2I/e"'
(1144,23875): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,23889): run-time error CSS1035: Expected colon, found '.'
(1144,23956): run-time error CSS1035: Expected colon, found 'n'
(1144,26332): run-time error CSS1035: Expected colon, found '.'
(1144,26367): run-time error CSS1019: Unexpected token, found ','
(1144,26368): run-time error CSS1019: Unexpected token, found '"2Nze"'
(1144,26391): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,26408): run-time error CSS1035: Expected colon, found 'n'
(1144,26607): run-time error CSS1062: Expected semicolon or closing curly-brace, found '('
(1144,26924): run-time error CSS1019: Unexpected token, found ','
(1144,26925): run-time error CSS1019: Unexpected token, found '"2OOH"'
(1144,26952): run-time error CSS1035: Expected colon, found 'n'
(1144,26998): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,27064): run-time error CSS1019: Unexpected token, found ','
(1144,27065): run-time error CSS1019: Unexpected token, found '"2OXf"'
(1144,27088): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,27102): run-time error CSS1035: Expected colon, found '.'
(1144,27137): run-time error CSS1035: Expected colon, found 'n'
(1144,33498): run-time error CSS1035: Expected colon, found '.'
(1144,33532): run-time error CSS1019: Unexpected token, found ','
(1144,33533): run-time error CSS1019: Unexpected token, found '"2i0j"'
(1144,33556): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,33573): run-time error CSS1035: Expected colon, found 'n'
(1144,33610): run-time error CSS1035: Expected colon, found '.'
(1144,33916): run-time error CSS1019: Unexpected token, found ','
(1144,33917): run-time error CSS1019: Unexpected token, found '"3/+B"'
(1144,33940): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,33954): run-time error CSS1035: Expected colon, found '.'
(1144,34081): run-time error CSS1019: Unexpected token, found ','
(1144,34082): run-time error CSS1019: Unexpected token, found '"3/51"'
(1144,34105): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,34119): run-time error CSS1035: Expected colon, found '.'
(1144,34154): run-time error CSS1035: Expected colon, found 'n'
(1144,35933): run-time error CSS1035: Expected colon, found '.'
(1144,35973): run-time error CSS1019: Unexpected token, found ','
(1144,35974): run-time error CSS1019: Unexpected token, found '"31Mu"'
(1144,36001): run-time error CSS1035: Expected colon, found 'n'
(1144,36025): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,36092): run-time error CSS1019: Unexpected token, found ','
(1144,36093): run-time error CSS1019: Unexpected token, found '"36h5"'
(1144,36115): run-time error CSS1035: Expected colon, found '.'
(1144,36164): run-time error CSS1019: Unexpected token, found ','
(1144,36165): run-time error CSS1019: Unexpected token, found '"3BzE"'
(1144,36192): run-time error CSS1035: Expected colon, found 'n'
(1144,36217): run-time error CSS1035: Expected colon, found '.'
(1144,36266): run-time error CSS1019: Unexpected token, found ','
(1144,36267): run-time error CSS1019: Unexpected token, found '"3Cxr"'
(1144,36290): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,36309): run-time error CSS1035: Expected colon, found '.'
(1144,36399): run-time error CSS1019: Unexpected token, found ','
(1144,36400): run-time error CSS1019: Unexpected token, found '"3X+j"'
(1144,36427): run-time error CSS1035: Expected colon, found 'n'
(1144,36439): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,36479): run-time error CSS1019: Unexpected token, found ','
(1144,36480): run-time error CSS1019: Unexpected token, found '"3fx7"'
(1144,36503): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,36520): run-time error CSS1035: Expected colon, found 'n'
(1144,36573): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,36792): run-time error CSS1019: Unexpected token, found ','
(1144,36793): run-time error CSS1019: Unexpected token, found '"3mH9"'
(1144,36816): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,36833): run-time error CSS1035: Expected colon, found 'n'
(1144,36882): run-time error CSS1035: Expected colon, found '.'
(1144,37119): run-time error CSS1019: Unexpected token, found ','
(1144,37120): run-time error CSS1019: Unexpected token, found '"3xrs"'
(1144,37143): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,37160): run-time error CSS1035: Expected colon, found 'n'
(1144,37187): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,37281): run-time error CSS1019: Unexpected token, found ','
(1144,37282): run-time error CSS1019: Unexpected token, found '"4BRe"'
(1144,37307): run-time error CSS1035: Expected colon, found 'i'
(1144,37333): run-time error CSS1035: Expected colon, found '.'
(1144,37389): run-time error CSS1019: Unexpected token, found ','
(1144,37390): run-time error CSS1019: Unexpected token, found '"4DCw"'
(1144,37413): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,37427): run-time error CSS1035: Expected colon, found '.'
(1144,37462): run-time error CSS1035: Expected colon, found 'n'
(1144,39140): run-time error CSS1019: Unexpected token, found ','
(1144,39141): run-time error CSS1019: Unexpected token, found '"4McO"'
(1144,39164): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,39181): run-time error CSS1035: Expected colon, found 'n'
(1144,39346): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,40940): run-time error CSS1019: Unexpected token, found ','
(1144,40941): run-time error CSS1019: Unexpected token, found '"5+SK"'
(1144,40968): run-time error CSS1035: Expected colon, found 'n'
(1144,41309): run-time error CSS1035: Expected colon, found '.'
(1144,41447): run-time error CSS1019: Unexpected token, found ','
(1144,41448): run-time error CSS1019: Unexpected token, found '"57Qg"'
(1144,41475): run-time error CSS1035: Expected colon, found 'n'
(1144,41499): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,41574): run-time error CSS1019: Unexpected token, found ','
(1144,41575): run-time error CSS1019: Unexpected token, found '"58Sn"'
(1144,41598): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,41612): run-time error CSS1035: Expected colon, found '.'
(1144,44314): run-time error CSS1035: Expected colon, found 'n'
(1144,44495): run-time error CSS1035: Expected colon, found 'd('
(1144,45869): run-time error CSS1019: Unexpected token, found ','
(1144,45870): run-time error CSS1019: Unexpected token, found '"5BRL"'
(1144,45893): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,45910): run-time error CSS1035: Expected colon, found 'n'
(1144,45944): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,46058): run-time error CSS1019: Unexpected token, found ','
(1144,46059): run-time error CSS1019: Unexpected token, found '"5LIN"'
(1144,46086): run-time error CSS1035: Expected colon, found 'n'
(1144,46135): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,46311): run-time error CSS1019: Unexpected token, found ','
(1144,46312): run-time error CSS1019: Unexpected token, found '"5Les"'
(1144,46339): run-time error CSS1035: Expected colon, found 'n'
(1144,46351): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,46389): run-time error CSS1019: Unexpected token, found ','
(1144,46390): run-time error CSS1019: Unexpected token, found '"5lay"'
(1144,46417): run-time error CSS1035: Expected colon, found 'n'
(1144,46454): run-time error CSS1035: Expected colon, found '.'
(1144,46570): run-time error CSS1019: Unexpected token, found ','
(1144,46571): run-time error CSS1019: Unexpected token, found '"6+x4"'
(1144,46594): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,46611): run-time error CSS1035: Expected colon, found 'n'
(1144,46624): run-time error CSS1035: Expected colon, found '.'
(1144,46756): run-time error CSS1019: Unexpected token, found ','
(1144,46757): run-time error CSS1019: Unexpected token, found '"6/bx"'
(1144,46784): run-time error CSS1035: Expected colon, found 'n'
(1144,46813): run-time error CSS1035: Expected colon, found '.'
(1144,46946): run-time error CSS1019: Unexpected token, found ','
(1144,46947): run-time error CSS1019: Unexpected token, found '"68eo"'
(1144,46970): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,46991): run-time error CSS1019: Unexpected token, found ','
(1144,46992): run-time error CSS1019: Unexpected token, found '"6MWL"'
(1144,47019): run-time error CSS1035: Expected colon, found 'n'
(1144,47236): run-time error CSS1035: Expected colon, found '.'
(1144,47631): run-time error CSS1019: Unexpected token, found ','
(1144,47632): run-time error CSS1019: Unexpected token, found '"6PqY"'
(1144,47659): run-time error CSS1035: Expected colon, found 'n'
(1144,47886): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,48347): run-time error CSS1019: Unexpected token, found ','
(1144,48348): run-time error CSS1019: Unexpected token, found '"6l3Y"'
(1144,48375): run-time error CSS1035: Expected colon, found 'n'
(1144,48387): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,48430): run-time error CSS1019: Unexpected token, found ','
(1144,48431): run-time error CSS1019: Unexpected token, found '"6mHT"'
(1144,48454): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'for('
(1144,49138): run-time error CSS1035: Expected colon, found '<'
(1144,49149): run-time error CSS1035: Expected colon, found '+'
(1144,49277): run-time error CSS1019: Unexpected token, found ','
(1144,49278): run-time error CSS1019: Unexpected token, found '"6w17"'
(1144,49301): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,49318): run-time error CSS1035: Expected colon, found 'n'
(1144,49331): run-time error CSS1035: Expected colon, found '.'
(1144,49537): run-time error CSS1019: Unexpected token, found ','
(1144,49538): run-time error CSS1019: Unexpected token, found '"7DgU"'
(1144,49561): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,49641): run-time error CSS1019: Unexpected token, found ','
(1144,49642): run-time error CSS1019: Unexpected token, found '"7GtY"'
(1144,49669): run-time error CSS1035: Expected colon, found 'n'
(1144,49782): run-time error CSS1035: Expected colon, found '.'
(1144,50063): run-time error CSS1019: Unexpected token, found ','
(1144,50064): run-time error CSS1019: Unexpected token, found '"7V6K"'
(1144,50087): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,50100): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,50114): run-time error CSS1035: Expected colon, found 'n'
(1144,50470): run-time error CSS1035: Expected colon, found '.'
(1144,51076): run-time error CSS1019: Unexpected token, found ','
(1144,51077): run-time error CSS1019: Unexpected token, found '"7Va9"'
(1144,51104): run-time error CSS1035: Expected colon, found 'n'
(1144,51137): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,51208): run-time error CSS1019: Unexpected token, found ','
(1144,51209): run-time error CSS1019: Unexpected token, found '"7XB+"'
(1144,51232): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,51246): run-time error CSS1035: Expected colon, found '.'
(1144,51281): run-time error CSS1035: Expected colon, found 'n'
(1144,64095): run-time error CSS1035: Expected colon, found '.'
(1144,64132): run-time error CSS1019: Unexpected token, found ','
(1144,64133): run-time error CSS1019: Unexpected token, found '"7bL/"'
(1144,64158): run-time error CSS1035: Expected colon, found 'i'
(1144,64179): run-time error CSS1035: Expected colon, found '.'
(1144,64267): run-time error CSS1019: Unexpected token, found ','
(1144,64268): run-time error CSS1019: Unexpected token, found '"7xho"'
(1144,64291): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,64308): run-time error CSS1035: Expected colon, found 'n'
(1144,64344): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,64592): run-time error CSS1019: Unexpected token, found ','
(1144,64593): run-time error CSS1019: Unexpected token, found '"85D4"'
(1144,64616): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,64630): run-time error CSS1035: Expected colon, found '.'
(1144,64665): run-time error CSS1035: Expected colon, found 'n'
(1144,65222): run-time error CSS1035: Expected colon, found '.'
(1144,65262): run-time error CSS1019: Unexpected token, found ','
(1144,65263): run-time error CSS1019: Unexpected token, found '"8EhG"'
(1144,65286): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,65300): run-time error CSS1035: Expected colon, found '.'
(1144,65335): run-time error CSS1035: Expected colon, found 'n'
(1144,66656): run-time error CSS1035: Expected colon, found '.'
(1144,66688): run-time error CSS1019: Unexpected token, found ','
(1144,66689): run-time error CSS1019: Unexpected token, found '"8LiO"'
(1144,66712): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,66725): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,66801): run-time error CSS1019: Unexpected token, found ','
(1144,66802): run-time error CSS1019: Unexpected token, found '"8LwG"'
(1144,66825): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,66842): run-time error CSS1035: Expected colon, found 'n'
(1144,66878): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,66983): run-time error CSS1019: Unexpected token, found ','
(1144,66984): run-time error CSS1019: Unexpected token, found '"8NlW"'
(1144,67007): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,67020): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,67106): run-time error CSS1019: Unexpected token, found ','
(1144,67107): run-time error CSS1019: Unexpected token, found '"8ZqG"'
(1144,67130): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,67144): run-time error CSS1035: Expected colon, found '.'
(1144,67259): run-time error CSS1035: Expected colon, found 'n'
(1144,68871): run-time error CSS1035: Expected colon, found 'a('
(1144,69210): run-time error CSS1019: Unexpected token, found ','
(1144,69211): run-time error CSS1019: Unexpected token, found '"8aZA"'
(1144,69238): run-time error CSS1035: Expected colon, found 'n'
(1144,69250): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,69322): run-time error CSS1019: Unexpected token, found ','
(1144,69323): run-time error CSS1019: Unexpected token, found '"8oRD"'
(1144,69350): run-time error CSS1035: Expected colon, found 'n'
(1144,69362): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,69446): run-time error CSS1019: Unexpected token, found ','
(1144,69447): run-time error CSS1019: Unexpected token, found '"8rbL"'
(1144,69474): run-time error CSS1035: Expected colon, found 'n'
(1144,69615): run-time error CSS1035: Expected colon, found '.'
(1144,69745): run-time error CSS1019: Unexpected token, found ','
(1144,69746): run-time error CSS1019: Unexpected token, found '"8tDI"'
(1144,69773): run-time error CSS1035: Expected colon, found 'n'
(1144,69797): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,69990): run-time error CSS1019: Unexpected token, found ','
(1144,69991): run-time error CSS1019: Unexpected token, found '"8ujI"'
(1144,70014): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,70031): run-time error CSS1035: Expected colon, found 'n'
(1144,70058): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,70154): run-time error CSS1019: Unexpected token, found ','
(1144,70155): run-time error CSS1019: Unexpected token, found '"9BM3"'
(1144,70177): run-time error CSS1035: Expected colon, found '.'
(1144,70189): run-time error CSS1019: Unexpected token, found ','
(1144,70190): run-time error CSS1019: Unexpected token, found '"9MGJ"'
(1144,70213): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,70230): run-time error CSS1035: Expected colon, found 'n'
(1144,70278): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,70405): run-time error CSS1019: Unexpected token, found ','
(1144,70406): run-time error CSS1019: Unexpected token, found '"9UcF"'
(1144,70433): run-time error CSS1035: Expected colon, found 'n'
(1144,70445): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,70480): run-time error CSS1019: Unexpected token, found ','
(1144,70481): run-time error CSS1019: Unexpected token, found '"9i/o"'
(1144,70504): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,70521): run-time error CSS1035: Expected colon, found 'n'
(1144,70622): run-time error CSS1035: Expected colon, found '.'
(1144,71098): run-time error CSS1019: Unexpected token, found ','
(1144,71120): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,71134): run-time error CSS1035: Expected colon, found '.'
(1144,71169): run-time error CSS1035: Expected colon, found 'n'
(1144,80696): run-time error CSS1019: Unexpected token, found ','
(1144,80718): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,80732): run-time error CSS1035: Expected colon, found '.'
(1144,80799): run-time error CSS1035: Expected colon, found 'n'
(1144,85428): run-time error CSS1062: Expected semicolon or closing curly-brace, found '!'
(1144,85519): run-time error CSS1035: Expected colon, found 'O'
(1144,96666): run-time error CSS1035: Expected colon, found '.'
(1144,96898): run-time error CSS1019: Unexpected token, found ','
(1144,96920): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,96934): run-time error CSS1035: Expected colon, found '.'
(1144,97001): run-time error CSS1035: Expected colon, found 'n'
(1144,104467): run-time error CSS1035: Expected colon, found '.'
(1144,104784): run-time error CSS1019: Unexpected token, found ','
(1144,104805): run-time error CSS1035: Expected colon, found '.'
(1144,104862): run-time error CSS1019: Unexpected token, found ','
(1144,104884): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,104898): run-time error CSS1035: Expected colon, found '.'
(1144,104933): run-time error CSS1035: Expected colon, found 'n'
(1144,105607): run-time error CSS1035: Expected colon, found '.'
(1144,105779): run-time error CSS1019: Unexpected token, found ','
(1144,105801): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,105881): run-time error CSS1019: Unexpected token, found ','
(1144,105907): run-time error CSS1035: Expected colon, found 'n'
(1144,105929): run-time error CSS1035: Expected colon, found '.'
(1144,105959): run-time error CSS1019: Unexpected token, found ','
(1144,105980): run-time error CSS1035: Expected colon, found '.'
(1144,106063): run-time error CSS1019: Unexpected token, found ','
(1144,106064): run-time error CSS1019: Unexpected token, found '"B+tY"'
(1144,106091): run-time error CSS1035: Expected colon, found 'n'
(1144,106103): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,106156): run-time error CSS1019: Unexpected token, found ','
(1144,106178): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,106195): run-time error CSS1035: Expected colon, found 'n'
(1144,106231): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,106376): run-time error CSS1019: Unexpected token, found ','
(1144,106398): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,106412): run-time error CSS1035: Expected colon, found '.'
(1144,106447): run-time error CSS1035: Expected colon, found 'n'
(1144,107359): run-time error CSS1035: Expected colon, found '.'
(1144,107396): run-time error CSS1019: Unexpected token, found ','
(1144,107422): run-time error CSS1035: Expected colon, found 'n'
(1144,107434): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'n('
(1144,107507): run-time error CSS1019: Unexpected token, found ','
(1144,107529): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,107546): run-time error CSS1035: Expected colon, found 'n'
(1144,107989): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'h('
(1144,108326): run-time error CSS1019: Unexpected token, found ','
(1144,108348): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,108362): run-time error CSS1035: Expected colon, found '.'
(1144,108397): run-time error CSS1035: Expected colon, found 'n'
(1144,109664): run-time error CSS1035: Expected colon, found '.'
(1144,109695): run-time error CSS1019: Unexpected token, found ','
(1144,109717): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,109796): run-time error CSS1019: Unexpected token, found ','
(1144,109818): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,109832): run-time error CSS1035: Expected colon, found '.'
(1144,109867): run-time error CSS1035: Expected colon, found 'n'
(1144,129429): run-time error CSS1035: Expected colon, found '.'
(1144,129462): run-time error CSS1019: Unexpected token, found ','
(1144,129484): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,129498): run-time error CSS1035: Expected colon, found '.'
(1144,129533): run-time error CSS1035: Expected colon, found 'n'
(1144,130104): run-time error CSS1035: Expected colon, found '.'
(1144,130141): run-time error CSS1019: Unexpected token, found ','
(1144,130163): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,130177): run-time error CSS1035: Expected colon, found '.'
(1144,130212): run-time error CSS1035: Expected colon, found 'n'
(1144,137702): run-time error CSS1035: Expected colon, found '.'
(1144,137741): run-time error CSS1019: Unexpected token, found ','
(1144,137763): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,137780): run-time error CSS1035: Expected colon, found 'n'
(1144,137821): run-time error CSS1062: Expected semicolon or closing curly-brace, found 'i('
(1144,137957): run-time error CSS1019: Unexpected token, found ','
(1144,137979): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,137993): run-time error CSS1035: Expected colon, found '.'
(1144,138028): run-time error CSS1035: Expected colon, found 'n'
(1144,140209): run-time error CSS1035: Expected colon, found '.'
(1144,140249): run-time error CSS1019: Unexpected token, found ','
(1144,140271): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,140285): run-time error CSS1035: Expected colon, found '.'
(1144,140320): run-time error CSS1035: Expected colon, found 'n'
(1144,142575): run-time error CSS1035: Expected colon, found '.'
(1144,142613): run-time error CSS1019: Unexpected token, found ','
(1144,142614): run-time error CSS1019: Unexpected token, found '"DA7/"'
(1144,142637): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,142651): run-time error CSS1035: Expected colon, found '.'
(1144,142686): run-time error CSS1035: Expected colon, found 'n'
(1144,142892): run-time error CSS1035: Expected colon, found '.'
(1144,142929): run-time error CSS1019: Unexpected token, found ','
(1144,142951): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,142965): run-time error CSS1035: Expected colon, found '.'
(1144,143000): run-time error CSS1035: Expected colon, found 'n'
(1144,146426): run-time error CSS1035: Expected colon, found '.'
(1144,146458): run-time error CSS1019: Unexpected token, found ','
(1144,146482): run-time error CSS1035: Expected colon, found 'i'
(1144,146497): run-time error CSS1035: Expected colon, found '.'
(1144,146548): run-time error CSS1019: Unexpected token, found ','
(1144,146569): run-time error CSS1035: Expected colon, found '.'
(1144,146644): run-time error CSS1019: Unexpected token, found ','
(1144,146666): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,146680): run-time error CSS1035: Expected colon, found '.'
(1144,146747): run-time error CSS1035: Expected colon, found 'n'
(1144,148222): run-time error CSS1035: Expected colon, found '.'
(1144,148303): run-time error CSS1019: Unexpected token, found ','
(1144,148324): run-time error CSS1035: Expected colon, found '.'
(1144,148420): run-time error CSS1019: Unexpected token, found ','
(1144,148421): run-time error CSS1019: Unexpected token, found '"DvJ+"'
(1144,148443): run-time error CSS1035: Expected colon, found '.'
(1144,148520): run-time error CSS1019: Unexpected token, found ','
(1144,148542): run-time error CSS1062: Expected semicolon or closing curly-brace, found '"use strict"'
(1144,148556): run-time error CSS1035: Expected colon, found '.'
(1144,148591): run-time error CSS1035: Expected colon, found 'n'
(1144,150924): run-time error CSS1035: Expected colon, found '.'
(1144,150957): run-time error CSS1019: Unexpected token, found ','
(1144,150958): run-time error CSS1019: Unexpected token, found '"E+Sg"'
(1144,150985): run-time error CSS1035: Expected colon, found 'n'
: run-time error CSS1066: Unexpected end of file encountered
 */
/*
 Copyright (C) Federico Zivolo 2018
 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
 */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?re:10===e?pe:re||pe}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',n=e.nodeName;if('BODY'===n||'HTML'===n){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[o]}return e[o]}function f(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(t,'top'),i=l(t,'left'),r=o?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=i*r,e.right+=i*r,e}function m(e,t){var o='x'===t?'Left':'Top',n='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}function h(e,t,o,n){return $(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?o['offset'+e]+n['margin'+('Height'===e?'Top':'Left')]+n['margin'+('Height'===e?'Bottom':'Right')]:0)}function c(){var e=document.body,t=document.documentElement,o=r(10)&&getComputedStyle(t);return{height:h('Height',e,t,o),width:h('Width',e,t,o)}}function g(e){return le({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var o={};try{if(r(10)){o=e.getBoundingClientRect();var n=l(e,'top'),i=l(e,'left');o.top+=n,o.left+=i,o.bottom+=n,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?c():{},d=s.width||e.clientWidth||p.right-p.left,a=s.height||e.clientHeight||p.bottom-p.top,f=e.offsetWidth-d,h=e.offsetHeight-a;if(f||h){var u=t(e);f-=m(u,'x'),h-=m(u,'y'),p.width-=f,p.height-=h}return g(p)}function b(e,o){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],p=r(10),s='HTML'===o.nodeName,d=u(e),a=u(o),l=n(e),m=t(o),h=parseFloat(m.borderTopWidth,10),c=parseFloat(m.borderLeftWidth,10);i&&'HTML'===o.nodeName&&(a.top=$(a.top,0),a.left=$(a.left,0));var b=g({top:d.top-a.top-h,left:d.left-a.left-c,width:d.width,height:d.height});if(b.marginTop=0,b.marginLeft=0,!p&&s){var y=parseFloat(m.marginTop,10),w=parseFloat(m.marginLeft,10);b.top-=h-y,b.bottom-=h-y,b.left-=c-w,b.right-=c-w,b.marginTop=y,b.marginLeft=w}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(b=f(b,o)),b}function y(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=b(e,o),i=$(o.clientWidth,window.innerWidth||0),r=$(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),d={top:p-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r};return g(d)}function w(e){var n=e.nodeName;return'BODY'===n||'HTML'===n?!1:'fixed'===t(e,'position')||w(o(e))}function E(e){if(!e||!e.parentElement||r())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function v(e,t,i,r){var p=4<arguments.length&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},d=p?E(e):a(e,t);if('viewport'===r)s=y(d,p);else{var l;'scrollParent'===r?(l=n(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===r?l=e.ownerDocument.documentElement:l=r;var f=b(l,d,p);if('HTML'===l.nodeName&&!w(d)){var m=c(),h=m.height,g=m.width;s.top+=f.top-f.marginTop,s.bottom=h+f.top,s.left+=f.left-f.marginLeft,s.right=g+f.left}else s=f}return s.left+=i,s.top+=i,s.right-=i,s.bottom-=i,s}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,n,i){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=v(o,n,r,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return le({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,n=e.height;return t>=o.clientWidth&&n>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];return l+(f?'-'+f:'')}function L(e,t,o){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=n?E(t):a(t,o);return b(o,i,n)}function S(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+n,height:e.offsetHeight+o};return i}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function C(e,t,o){o=o.split('-')[0];var n=S(e),i={width:n.width,height:n.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return i[p]=t[p]+t[d]/2-n[d]/2,i[s]=o===s?t[s]-n[a]:t[T(s)],i}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var n=D(e,function(e){return e[t]===o});return e.indexOf(n)}function P(t,o,n){var i=void 0===n?t:t.slice(0,N(t,'name',n));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var n=t['function']||t.fn;t.enabled&&e(n)&&(o.offsets.popper=g(o.offsets.popper),o.offsets.reference=g(o.offsets.reference),o=n(o,t))}),o}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,n=e.enabled;return n&&o===t})}function B(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function H(){return this.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[B('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function A(e){var t=e.ownerDocument;return t?t.defaultView:window}function M(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}function I(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return M(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function F(){this.state.eventsEnabled||(this.state=I(this.reference,this.options,this.state,this.scheduleUpdate))}function R(e,t){return A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}function Y(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function j(e,t){Object.keys(t).forEach(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function K(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t,o){var n=D(e,function(e){var o=e.name;return o===t}),i=!!n&&e.some(function(e){return e.name===o&&e.enabled&&e.order<n.order});if(!i){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return i}function G(e){return'end'===e?'start':'start'===e?'end':e}function z(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=me.indexOf(e),n=me.slice(o+1).concat(me.slice(0,o));return t?n.reverse():n}function V(e,t,o,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}var d=g(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?$(document.documentElement.clientHeight,window.innerHeight||0):$(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function _(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(D(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return V(e,i,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,n){Y(o)&&(i[t]+=o*('-'===e[n-1]?-1:1))})}),i}function X(e,t){var o,n=t.offset,i=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=i.split('-')[0];return o=Y(+n)?[+n,0]:_(n,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}for(var J=Math.min,Q=Math.round,Z=Math.floor,$=Math.max,ee='undefined'!=typeof window&&'undefined'!=typeof document,te=['Edge','Trident','Firefox'],oe=0,ne=0;ne<te.length;ne+=1)if(ee&&0<=navigator.userAgent.indexOf(te[ne])){oe=1;break}var i=ee&&window.Promise,ie=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},oe))}},re=ee&&!!(window.MSInputMethodContext&&document.documentMode),pe=ee&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},de=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),ae=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},le=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},fe=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],me=fe.slice(3),he={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ce=function(){function t(o,n){var i=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};se(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ie(this.update.bind(this)),this.options=le({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(le({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=le({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return le({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return de(t,[{key:'update',value:function(){return k.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return F.call(this)}},{key:'disableEventListeners',value:function(){return U.call(this)}}]),t}();return ce.Utils=('undefined'==typeof window?global:window).PopperUtils,ce.placements=fe,ce.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],n=t.split('-')[1];if(n){var i=e.offsets,r=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:ae({},d,r[d]),end:ae({},d,r[d]+r[a]-p[a])};e.offsets.popper=le({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:X,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=B('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f[e]<a[e]&&!t.escapeWithReference&&(o=$(f[e],a[e])),ae({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=f[o];return f[e]>a[e]&&!t.escapeWithReference&&(n=J(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(n[d])&&(e.offsets.popper[d]=r(n[d])-o[a]),o[d]>r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!q(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[c]-u)),d[m]+u>s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,y=t(e.instance.popper),w=parseFloat(y['margin'+f],10),E=parseFloat(y['border'+f+'Width'],10),v=b-e.offsets.popper[m]-w-E;return v=$(J(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,Q(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case he.FLIP:p=[n,i];break;case he.CLOCKWISE:p=z(n);break;case he.COUNTERCLOCKWISE:p=z(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)<f(l.right)||'top'===n&&f(a.bottom)>f(l.top)||'bottom'===n&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,y=-1!==['top','bottom'].indexOf(n),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),w&&(r=G(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,n=t.y,i=e.offsets.popper,r=D(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===r?t.gpuAcceleration:r,l=p(e.instance.popper),f=u(l),m={position:i.position},h={left:Z(i.left),top:Q(i.top),bottom:Q(i.bottom),right:Z(i.right)},c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=B('transform');if(d='bottom'==c?-f.height+h.bottom:h.top,s='right'==g?-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var y='bottom'==c?-1:1,w='right'==g?-1:1;m[c]=d*y,m[g]=s*w,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=le({},E,e.attributes),e.styles=le({},m,e.styles),e.arrowStyles=le({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return j(e.instance.popper,e.styles),K(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ce});
//# sourceMappingURL=popper.min.js.map

/*!
 * Bootstrap v3.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under the MIT license
 */
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var e=!1,i=this;n(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||n(i).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function o(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(t.style[i]!==undefined)return{end:e[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(s){"use strict";var e='[data-dismiss="alert"]',a=function(t){s(t).on("click",e,this.close)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(t){var e=s(this),i=e.attr("data-target");i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var o=s(document).find(i);function n(){o.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),o.length||(o=e.closest(".alert")),o.trigger(t=s.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),s.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(a.TRANSITION_DURATION):n())};var t=s.fn.alert;s.fn.alert=function o(i){return this.each(function(){var t=s(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof i&&e[i].call(t)})},s.fn.alert.Constructor=a,s.fn.alert.noConflict=function(){return s.fn.alert=t,this},s(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(s){"use strict";var n=function(t,e){this.$element=s(t),this.options=s.extend({},n.DEFAULTS,e),this.isLoading=!1};function i(o){return this.each(function(){var t=s(this),e=t.data("bs.button"),i="object"==typeof o&&o;e||t.data("bs.button",e=new n(this,i)),"toggle"==o?e.toggle():o&&e.setState(o)})}n.VERSION="3.4.1",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,o=i.is("input")?"val":"html",n=i.data();t+="Text",null==n.resetText&&i.data("resetText",i[o]()),setTimeout(s.proxy(function(){i[o](null==n[t]?this.options[t]:n[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var t=s.fn.button;s.fn.button=i,s.fn.button.Constructor=n,s.fn.button.noConflict=function(){return s.fn.button=t,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=s(t.target).closest(".btn");i.call(e,"toggle"),s(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),e.is("input,button")?e.trigger("focus"):e.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){s(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(p){"use strict";var c=function(t,e){this.$element=p(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",p.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",p.proxy(this.pause,this)).on("mouseleave.bs.carousel",p.proxy(this.cycle,this))};function r(n){return this.each(function(){var t=p(this),e=t.data("bs.carousel"),i=p.extend({},c.DEFAULTS,t.data(),"object"==typeof n&&n),o="string"==typeof n?n:i.slide;e||t.data("bs.carousel",e=new c(this,i)),"number"==typeof n?e.to(n):o?e[o]():i.interval&&e.pause().cycle()})}c.VERSION="3.4.1",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},c.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(p.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},c.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},c.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},c.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&p.support.transition&&(this.$element.trigger(p.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),o=e||this.getItemForDirection(t,i),n=this.interval,s="next"==t?"left":"right",a=this;if(o.hasClass("active"))return this.sliding=!1;var r=o[0],l=p.Event("slide.bs.carousel",{relatedTarget:r,direction:s});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,n&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=p(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var d=p.Event("slid.bs.carousel",{relatedTarget:r,direction:s});return p.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),"object"==typeof o&&o.length&&o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",function(){o.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(d)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),n&&this.cycle(),this}};var t=p.fn.carousel;p.fn.carousel=r,p.fn.carousel.Constructor=c,p.fn.carousel.noConflict=function(){return p.fn.carousel=t,this};var e=function(t){var e=p(this),i=e.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var o=e.attr("data-target")||i,n=p(document).find(o);if(n.hasClass("carousel")){var s=p.extend({},n.data(),e.data()),a=e.attr("data-slide-to");a&&(s.interval=!1),r.call(n,s),a&&n.data("bs.carousel").to(a),t.preventDefault()}};p(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),p(window).on("load",function(){p('[data-ride="carousel"]').each(function(){var t=p(this);r.call(t,t.data())})})}(jQuery),function(a){"use strict";var r=function(t,e){this.$element=a(t),this.options=a.extend({},r.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var e,i=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(i)}function l(o){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),i=a.extend({},r.DEFAULTS,t.data(),"object"==typeof o&&o);!e&&i.toggle&&/show|hide/.test(o)&&(i.toggle=!1),e||t.data("bs.collapse",e=new r(this,i)),"string"==typeof o&&e[o]()})}r.VERSION="3.4.1",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(t=e.data("bs.collapse"))&&t.transitioning)){var i=a.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){e&&e.length&&(l.call(e,"hide"),t||e.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var n=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return n.call(this);var s=a.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[o](this.$element[0][s])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return i.call(this);this.$element[e](0).one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var i=a(e);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var t=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=r,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var i=n(e),o=i.data("bs.collapse")?"toggle":e.data();l.call(i,o)})}(jQuery),function(a){"use strict";var r='[data-toggle="dropdown"]',o=function(t){a(t).on("click.bs.dropdown",this.toggle)};function l(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==e?a(document).find(e):null;return i&&i.length?i:t.parent()}function s(o){o&&3===o.which||(a(".dropdown-backdrop").remove(),a(r).each(function(){var t=a(this),e=l(t),i={relatedTarget:this};e.hasClass("open")&&(o&&"click"==o.type&&/input|textarea/i.test(o.target.tagName)&&a.contains(e[0],o.target)||(e.trigger(o=a.Event("hide.bs.dropdown",i)),o.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i)))))}))}o.VERSION="3.4.1",o.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var i=l(e),o=i.hasClass("open");if(s(),!o){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",s);var n={relatedTarget:this};if(i.trigger(t=a.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",n))}return!1}},o.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=l(e),o=i.hasClass("open");if(!o&&27!=t.which||o&&27==t.which)return 27==t.which&&i.find(r).trigger("focus"),e.trigger("click");var n=i.find(".dropdown-menu li:not(.disabled):visible a");if(n.length){var s=n.index(t.target);38==t.which&&0<s&&s--,40==t.which&&s<n.length-1&&s++,~s||(s=0),n.eq(s).trigger("focus")}}}};var t=a.fn.dropdown;a.fn.dropdown=function e(i){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new o(this)),"string"==typeof i&&e[i].call(t)})},a.fn.dropdown.Constructor=o,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(a){"use strict";var s=function(t,e){this.options=e,this.$body=a(document.body),this.$element=a(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function r(o,n){return this.each(function(){var t=a(this),e=t.data("bs.modal"),i=a.extend({},s.DEFAULTS,t.data(),"object"==typeof o&&o);e||t.data("bs.modal",e=new s(this,i)),"string"==typeof o?e[o](n):i.show&&e.show(n)})}s.VERSION="3.4.1",s.TRANSITION_DURATION=300,s.BACKDROP_TRANSITION_DURATION=150,s.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},s.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},s.prototype.show=function(i){var o=this,t=a.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){o.$element.one("mouseup.dismiss.bs.modal",function(t){a(t.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=a.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),t&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:i});t?o.$dialog.one("bsTransitionEnd",function(){o.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(s.TRANSITION_DURATION):o.$element.trigger("focus").trigger(e)}))},s.prototype.hide=function(t){t&&t.preventDefault(),t=a.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(s.TRANSITION_DURATION):this.hideModal())},s.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},s.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},s.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},s.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},s.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},s.prototype.backdrop=function(t){var e=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=a.support.transition&&i;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var n=function(){e.removeBackdrop(),t&&t()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):n()}else t&&t()},s.prototype.handleUpdate=function(){this.adjustDialog()},s.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},s.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},s.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+n),a(this.fixedContent).each(function(t,e){var i=e.style.paddingRight,o=a(e).css("padding-right");a(e).data("padding-right",i).css("padding-right",parseFloat(o)+n+"px")}))},s.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),a(this.fixedContent).each(function(t,e){var i=a(e).data("padding-right");a(e).removeData("padding-right"),e.style.paddingRight=i||""})},s.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=a.fn.modal;a.fn.modal=r,a.fn.modal.Constructor=s,a.fn.modal.noConflict=function(){return a.fn.modal=t,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=a(this),i=e.attr("href"),o=e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),n=a(document).find(o),s=n.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(i)&&i},n.data(),e.data());e.is("a")&&t.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),r.call(n,s,this)})}(jQuery),function(g){"use strict";var o=["sanitize","whiteList","sanitizeFn"],a=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function u(t,e){var i=t.nodeName.toLowerCase();if(-1!==g.inArray(i,e))return-1===g.inArray(i,a)||Boolean(t.nodeValue.match(r)||t.nodeValue.match(l));for(var o=g(e).filter(function(t,e){return e instanceof RegExp}),n=0,s=o.length;n<s;n++)if(i.match(o[n]))return!0;return!1}function n(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var o=document.implementation.createHTMLDocument("sanitization");o.body.innerHTML=t;for(var n=g.map(e,function(t,e){return e}),s=g(o.body).find("*"),a=0,r=s.length;a<r;a++){var l=s[a],h=l.nodeName.toLowerCase();if(-1!==g.inArray(h,n))for(var d=g.map(l.attributes,function(t){return t}),p=[].concat(e["*"]||[],e[h]||[]),c=0,f=d.length;c<f;c++)u(d[c],p)||l.removeAttribute(d[c].nodeName);else l.parentNode.removeChild(l)}return o.body.innerHTML}var m=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};m.VERSION="3.4.1",m.TRANSITION_DURATION=150,m.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:t},m.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&g(document).find(g.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),n=o.length;n--;){var s=o[n];if("click"==s)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",r="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(t){var e=this.$element.data();for(var i in e)e.hasOwnProperty(i)&&-1!==g.inArray(i,o)&&delete e[i];return(t=g.extend({},this.getDefaults(),e,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=n(t.template,t.whiteList,t.sanitizeFn)),t},m.prototype.getDelegateOptions=function(){var i={},o=this.getDefaults();return this._options&&g.each(this._options,function(t,e){o[t]!=e&&(i[t]=e)}),i},m.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},m.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},m.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},m.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,o=this.tip(),n=this.getUID(this.type);this.setContent(),o.attr("id",n),this.$element.attr("aria-describedby",n),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,r=a.test(s);r&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(g(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),h=o[0].offsetWidth,d=o[0].offsetHeight;if(r){var p=s,c=this.getPosition(this.$viewport);s="bottom"==s&&l.bottom+d>c.bottom?"top":"top"==s&&l.top-d<c.top?"bottom":"right"==s&&l.right+h>c.width?"left":"left"==s&&l.left-h<c.left?"right":s,o.removeClass(p).addClass(s)}var f=this.getCalculatedOffset(s,l,h,d);this.applyPlacement(f,s);var u=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};g.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",u).emulateTransitionEnd(m.TRANSITION_DURATION):u()}},m.prototype.applyPlacement=function(t,e){var i=this.tip(),o=i[0].offsetWidth,n=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),t.top+=s,t.left+=a,g.offset.setOffset(i[0],g.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var r=i[0].offsetWidth,l=i[0].offsetHeight;"top"==e&&l!=n&&(t.top=t.top+n-l);var h=this.getViewportAdjustedDelta(e,t,r,l);h.left?t.left+=h.left:t.top+=h.top;var d=/top|bottom/.test(e),p=d?2*h.left-o+r:2*h.top-n+l,c=d?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(p,i[0][c],d)},m.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},m.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=n(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},m.prototype.hide=function(t){var e=this,i=g(this.$tip),o=g.Event("hide.bs."+this.type);function n(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),g.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",n).emulateTransitionEnd(m.TRANSITION_DURATION):n(),this.hoverState=null,this},m.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},m.prototype.hasContent=function(){return this.getTitle()},m.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,o=e.getBoundingClientRect();null==o.width&&(o=g.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var n=window.SVGElement&&e instanceof window.SVGElement,s=i?{top:0,left:0}:n?null:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},r=i?{width:g(window).width(),height:g(window).height()}:null;return g.extend({},o,a,r,s)},m.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},m.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+o;r<a.top?n.top=a.top-r:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;h<a.left?n.left=a.left-h:d>a.right&&(n.left=a.left+a.width-d)}return n},m.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},m.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=g(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},m.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},m.prototype.sanitizeHtml=function(t){return n(t,this.options.whiteList,this.options.sanitizeFn)};var e=g.fn.tooltip;g.fn.tooltip=function i(o){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.tooltip",e=new m(this,i)),"string"==typeof o&&e[o]())})},g.fn.tooltip.Constructor=m,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=e,this}}(jQuery),function(n){"use strict";var s=function(t,e){this.init("popover",t,e)};if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.4.1",s.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();if(this.options.html){var o=typeof i;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===o&&(i=this.sanitizeHtml(i))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===o?"html":"append"](i)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(i);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=n.fn.popover;n.fn.popover=function e(o){return this.each(function(){var t=n(this),e=t.data("bs.popover"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.popover",e=new s(this,i)),"string"==typeof o&&e[o]())})},n.fn.popover.Constructor=s,n.fn.popover.noConflict=function(){return n.fn.popover=t,this}}(jQuery),function(s){"use strict";function n(t,e){this.$body=s(document.body),this.$scrollElement=s(t).is(document.body)?s(window):s(t),this.options=s.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",s.proxy(this.process,this)),this.refresh(),this.process()}function e(o){return this.each(function(){var t=s(this),e=t.data("bs.scrollspy"),i="object"==typeof o&&o;e||t.data("bs.scrollspy",e=new n(this,i)),"string"==typeof o&&e[o]()})}n.VERSION="3.4.1",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,o="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),s.isWindow(this.$scrollElement[0])||(o="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=s(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&s(e);return i&&i.length&&i.is(":visible")&&[[i[o]().top+n,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),o<=e)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)a!=s[t]&&e>=n[t]&&(n[t+1]===undefined||e<n[t+1])&&this.activate(s[t])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=s(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},n.prototype.clear=function(){s(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=s.fn.scrollspy;s.fn.scrollspy=e,s.fn.scrollspy.Constructor=n,s.fn.scrollspy.noConflict=function(){return s.fn.scrollspy=t,this},s(window).on("load.bs.scrollspy.data-api",function(){s('[data-spy="scroll"]').each(function(){var t=s(this);e.call(t,t.data())})})}(jQuery),function(r){"use strict";var a=function(t){this.element=r(t)};function e(i){return this.each(function(){var t=r(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof i&&e[i]()})}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=e.find(".active:last a"),n=r.Event("hide.bs.tab",{relatedTarget:t[0]}),s=r.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(n),t.trigger(s),!s.isDefaultPrevented()&&!n.isDefaultPrevented()){var a=r(document).find(i);this.activate(t.closest("li"),e),this.activate(a,a.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},a.prototype.activate=function(t,e,i){var o=e.find("> .active"),n=i&&r.support.transition&&(o.length&&o.hasClass("fade")||!!e.find("> .fade").length);function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),n?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&n?o.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s(),o.removeClass("in")};var t=r.fn.tab;r.fn.tab=e,r.fn.tab.Constructor=a,r.fn.tab.noConflict=function(){return r.fn.tab=t,this};var i=function(t){t.preventDefault(),e.call(r(this),"show")};r(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(l){"use strict";var h=function(t,e){this.options=l.extend({},h.DEFAULTS,e);var i=this.options.target===h.DEFAULTS.target?l(this.options.target):l(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(o){return this.each(function(){var t=l(this),e=t.data("bs.affix"),i="object"==typeof o&&o;e||t.data("bs.affix",e=new h(this,i)),"string"==typeof o&&e[o]()})}h.VERSION="3.4.1",h.RESET="affix affix-top affix-bottom",h.DEFAULTS={offset:0,target:window},h.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=s.top)&&"bottom":!(n+a<=t-o)&&"bottom";var r=null==this.affixed,l=r?n:s.top;return null!=i&&n<=i?"top":null!=o&&t-o<=l+(r?a:e)&&"bottom"},h.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(h.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},h.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},h.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,o=e.bottom,n=Math.max(l(document).height(),l(document.body).height());"object"!=typeof e&&(o=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof o&&(o=e.bottom(this.$element));var s=this.getState(n,t,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var a="affix"+(s?"-"+s:""),r=l.Event(a+".bs.affix");if(this.$element.trigger(r),r.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(h.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:n-t-o})}};var t=l.fn.affix;l.fn.affix=i,l.fn.affix.Constructor=h,l.fn.affix.noConflict=function(){return l.fn.affix=t,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var t=l(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery);
/*! jQuery UI - v1.12.1 - 2019-02-06
* http://jqueryui.com
* Includes: widget.js, position.js, keycode.js, unique-id.js, widgets/autocomplete.js, widgets/menu.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */

(function (t) { "function" == typeof define && define.amd ? define(["jquery"], t) : t(jQuery) })(function (t) { t.ui = t.ui || {}, t.ui.version = "1.12.1"; var e = 0, i = Array.prototype.slice; t.cleanData = function (e) { return function (i) { var s, n, o; for (o = 0; null != (n = i[o]) ; o++) try { s = t._data(n, "events"), s && s.remove && t(n).triggerHandler("remove") } catch (a) { } e(i) } }(t.cleanData), t.widget = function (e, i, s) { var n, o, a, r = {}, l = e.split(".")[0]; e = e.split(".")[1]; var h = l + "-" + e; return s || (s = i, i = t.Widget), t.isArray(s) && (s = t.extend.apply(null, [{}].concat(s))), t.expr[":"][h.toLowerCase()] = function (e) { return !!t.data(e, h) }, t[l] = t[l] || {}, n = t[l][e], o = t[l][e] = function (t, e) { return this._createWidget ? (arguments.length && this._createWidget(t, e), void 0) : new o(t, e) }, t.extend(o, n, { version: s.version, _proto: t.extend({}, s), _childConstructors: [] }), a = new i, a.options = t.widget.extend({}, a.options), t.each(s, function (e, s) { return t.isFunction(s) ? (r[e] = function () { function t() { return i.prototype[e].apply(this, arguments) } function n(t) { return i.prototype[e].apply(this, t) } return function () { var e, i = this._super, o = this._superApply; return this._super = t, this._superApply = n, e = s.apply(this, arguments), this._super = i, this._superApply = o, e } }(), void 0) : (r[e] = s, void 0) }), o.prototype = t.widget.extend(a, { widgetEventPrefix: n ? a.widgetEventPrefix || e : e }, r, { constructor: o, namespace: l, widgetName: e, widgetFullName: h }), n ? (t.each(n._childConstructors, function (e, i) { var s = i.prototype; t.widget(s.namespace + "." + s.widgetName, o, i._proto) }), delete n._childConstructors) : i._childConstructors.push(o), t.widget.bridge(e, o), o }, t.widget.extend = function (e) { for (var s, n, o = i.call(arguments, 1), a = 0, r = o.length; r > a; a++) for (s in o[a]) n = o[a][s], o[a].hasOwnProperty(s) && void 0 !== n && (e[s] = t.isPlainObject(n) ? t.isPlainObject(e[s]) ? t.widget.extend({}, e[s], n) : t.widget.extend({}, n) : n); return e }, t.widget.bridge = function (e, s) { var n = s.prototype.widgetFullName || e; t.fn[e] = function (o) { var a = "string" == typeof o, r = i.call(arguments, 1), l = this; return a ? this.length || "instance" !== o ? this.each(function () { var i, s = t.data(this, n); return "instance" === o ? (l = s, !1) : s ? t.isFunction(s[o]) && "_" !== o.charAt(0) ? (i = s[o].apply(s, r), i !== s && void 0 !== i ? (l = i && i.jquery ? l.pushStack(i.get()) : i, !1) : void 0) : t.error("no such method '" + o + "' for " + e + " widget instance") : t.error("cannot call methods on " + e + " prior to initialization; " + "attempted to call method '" + o + "'") }) : l = void 0 : (r.length && (o = t.widget.extend.apply(null, [o].concat(r))), this.each(function () { var e = t.data(this, n); e ? (e.option(o || {}), e._init && e._init()) : t.data(this, n, new s(o, this)) })), l } }, t.Widget = function () { }, t.Widget._childConstructors = [], t.Widget.prototype = { widgetName: "widget", widgetEventPrefix: "", defaultElement: "<div>", options: { classes: {}, disabled: !1, create: null }, _createWidget: function (i, s) { s = t(s || this.defaultElement || this)[0], this.element = t(s), this.uuid = e++, this.eventNamespace = "." + this.widgetName + this.uuid, this.bindings = t(), this.hoverable = t(), this.focusable = t(), this.classesElementLookup = {}, s !== this && (t.data(s, this.widgetFullName, this), this._on(!0, this.element, { remove: function (t) { t.target === s && this.destroy() } }), this.document = t(s.style ? s.ownerDocument : s.document || s), this.window = t(this.document[0].defaultView || this.document[0].parentWindow)), this.options = t.widget.extend({}, this.options, this._getCreateOptions(), i), this._create(), this.options.disabled && this._setOptionDisabled(this.options.disabled), this._trigger("create", null, this._getCreateEventData()), this._init() }, _getCreateOptions: function () { return {} }, _getCreateEventData: t.noop, _create: t.noop, _init: t.noop, destroy: function () { var e = this; this._destroy(), t.each(this.classesElementLookup, function (t, i) { e._removeClass(i, t) }), this.element.off(this.eventNamespace).removeData(this.widgetFullName), this.widget().off(this.eventNamespace).removeAttr("aria-disabled"), this.bindings.off(this.eventNamespace) }, _destroy: t.noop, widget: function () { return this.element }, option: function (e, i) { var s, n, o, a = e; if (0 === arguments.length) return t.widget.extend({}, this.options); if ("string" == typeof e) if (a = {}, s = e.split("."), e = s.shift(), s.length) { for (n = a[e] = t.widget.extend({}, this.options[e]), o = 0; s.length - 1 > o; o++) n[s[o]] = n[s[o]] || {}, n = n[s[o]]; if (e = s.pop(), 1 === arguments.length) return void 0 === n[e] ? null : n[e]; n[e] = i } else { if (1 === arguments.length) return void 0 === this.options[e] ? null : this.options[e]; a[e] = i } return this._setOptions(a), this }, _setOptions: function (t) { var e; for (e in t) this._setOption(e, t[e]); return this }, _setOption: function (t, e) { return "classes" === t && this._setOptionClasses(e), this.options[t] = e, "disabled" === t && this._setOptionDisabled(e), this }, _setOptionClasses: function (e) { var i, s, n; for (i in e) n = this.classesElementLookup[i], e[i] !== this.options.classes[i] && n && n.length && (s = t(n.get()), this._removeClass(n, i), s.addClass(this._classes({ element: s, keys: i, classes: e, add: !0 }))) }, _setOptionDisabled: function (t) { this._toggleClass(this.widget(), this.widgetFullName + "-disabled", null, !!t), t && (this._removeClass(this.hoverable, null, "ui-state-hover"), this._removeClass(this.focusable, null, "ui-state-focus")) }, enable: function () { return this._setOptions({ disabled: !1 }) }, disable: function () { return this._setOptions({ disabled: !0 }) }, _classes: function (e) { function i(i, o) { var a, r; for (r = 0; i.length > r; r++) a = n.classesElementLookup[i[r]] || t(), a = e.add ? t(t.unique(a.get().concat(e.element.get()))) : t(a.not(e.element).get()), n.classesElementLookup[i[r]] = a, s.push(i[r]), o && e.classes[i[r]] && s.push(e.classes[i[r]]) } var s = [], n = this; return e = t.extend({ element: this.element, classes: this.options.classes || {} }, e), this._on(e.element, { remove: "_untrackClassesElement" }), e.keys && i(e.keys.match(/\S+/g) || [], !0), e.extra && i(e.extra.match(/\S+/g) || []), s.join(" ") }, _untrackClassesElement: function (e) { var i = this; t.each(i.classesElementLookup, function (s, n) { -1 !== t.inArray(e.target, n) && (i.classesElementLookup[s] = t(n.not(e.target).get())) }) }, _removeClass: function (t, e, i) { return this._toggleClass(t, e, i, !1) }, _addClass: function (t, e, i) { return this._toggleClass(t, e, i, !0) }, _toggleClass: function (t, e, i, s) { s = "boolean" == typeof s ? s : i; var n = "string" == typeof t || null === t, o = { extra: n ? e : i, keys: n ? t : e, element: n ? this.element : t, add: s }; return o.element.toggleClass(this._classes(o), s), this }, _on: function (e, i, s) { var n, o = this; "boolean" != typeof e && (s = i, i = e, e = !1), s ? (i = n = t(i), this.bindings = this.bindings.add(i)) : (s = i, i = this.element, n = this.widget()), t.each(s, function (s, a) { function r() { return e || o.options.disabled !== !0 && !t(this).hasClass("ui-state-disabled") ? ("string" == typeof a ? o[a] : a).apply(o, arguments) : void 0 } "string" != typeof a && (r.guid = a.guid = a.guid || r.guid || t.guid++); var l = s.match(/^([\w:-]*)\s*(.*)$/), h = l[1] + o.eventNamespace, c = l[2]; c ? n.on(h, c, r) : i.on(h, r) }) }, _off: function (e, i) { i = (i || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace, e.off(i).off(i), this.bindings = t(this.bindings.not(e).get()), this.focusable = t(this.focusable.not(e).get()), this.hoverable = t(this.hoverable.not(e).get()) }, _delay: function (t, e) { function i() { return ("string" == typeof t ? s[t] : t).apply(s, arguments) } var s = this; return setTimeout(i, e || 0) }, _hoverable: function (e) { this.hoverable = this.hoverable.add(e), this._on(e, { mouseenter: function (e) { this._addClass(t(e.currentTarget), null, "ui-state-hover") }, mouseleave: function (e) { this._removeClass(t(e.currentTarget), null, "ui-state-hover") } }) }, _focusable: function (e) { this.focusable = this.focusable.add(e), this._on(e, { focusin: function (e) { this._addClass(t(e.currentTarget), null, "ui-state-focus") }, focusout: function (e) { this._removeClass(t(e.currentTarget), null, "ui-state-focus") } }) }, _trigger: function (e, i, s) { var n, o, a = this.options[e]; if (s = s || {}, i = t.Event(i), i.type = (e === this.widgetEventPrefix ? e : this.widgetEventPrefix + e).toLowerCase(), i.target = this.element[0], o = i.originalEvent) for (n in o) n in i || (i[n] = o[n]); return this.element.trigger(i, s), !(t.isFunction(a) && a.apply(this.element[0], [i].concat(s)) === !1 || i.isDefaultPrevented()) } }, t.each({ show: "fadeIn", hide: "fadeOut" }, function (e, i) { t.Widget.prototype["_" + e] = function (s, n, o) { "string" == typeof n && (n = { effect: n }); var a, r = n ? n === !0 || "number" == typeof n ? i : n.effect || i : e; n = n || {}, "number" == typeof n && (n = { duration: n }), a = !t.isEmptyObject(n), n.complete = o, n.delay && s.delay(n.delay), a && t.effects && t.effects.effect[r] ? s[e](n) : r !== e && s[r] ? s[r](n.duration, n.easing, o) : s.queue(function (i) { t(this)[e](), o && o.call(s[0]), i() }) } }), t.widget, function () { function e(t, e, i) { return [parseFloat(t[0]) * (u.test(t[0]) ? e / 100 : 1), parseFloat(t[1]) * (u.test(t[1]) ? i / 100 : 1)] } function i(e, i) { return parseInt(t.css(e, i), 10) || 0 } function s(e) { var i = e[0]; return 9 === i.nodeType ? { width: e.width(), height: e.height(), offset: { top: 0, left: 0 } } : t.isWindow(i) ? { width: e.width(), height: e.height(), offset: { top: e.scrollTop(), left: e.scrollLeft() } } : i.preventDefault ? { width: 0, height: 0, offset: { top: i.pageY, left: i.pageX } } : { width: e.outerWidth(), height: e.outerHeight(), offset: e.offset() } } var n, o = Math.max, a = Math.abs, r = /left|center|right/, l = /top|center|bottom/, h = /[\+\-]\d+(\.[\d]+)?%?/, c = /^\w+/, u = /%$/, d = t.fn.position; t.position = { scrollbarWidth: function () { if (void 0 !== n) return n; var e, i, s = t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"), o = s.children()[0]; return t("body").append(s), e = o.offsetWidth, s.css("overflow", "scroll"), i = o.offsetWidth, e === i && (i = s[0].clientWidth), s.remove(), n = e - i }, getScrollInfo: function (e) { var i = e.isWindow || e.isDocument ? "" : e.element.css("overflow-x"), s = e.isWindow || e.isDocument ? "" : e.element.css("overflow-y"), n = "scroll" === i || "auto" === i && e.width < e.element[0].scrollWidth, o = "scroll" === s || "auto" === s && e.height < e.element[0].scrollHeight; return { width: o ? t.position.scrollbarWidth() : 0, height: n ? t.position.scrollbarWidth() : 0 } }, getWithinInfo: function (e) { var i = t(e || window), s = t.isWindow(i[0]), n = !!i[0] && 9 === i[0].nodeType, o = !s && !n; return { element: i, isWindow: s, isDocument: n, offset: o ? t(e).offset() : { left: 0, top: 0 }, scrollLeft: i.scrollLeft(), scrollTop: i.scrollTop(), width: i.outerWidth(), height: i.outerHeight() } } }, t.fn.position = function (n) { if (!n || !n.of) return d.apply(this, arguments); n = t.extend({}, n); var u, p, f, g, m, _, v = t(n.of), b = t.position.getWithinInfo(n.within), y = t.position.getScrollInfo(b), w = (n.collision || "flip").split(" "), k = {}; return _ = s(v), v[0].preventDefault && (n.at = "left top"), p = _.width, f = _.height, g = _.offset, m = t.extend({}, g), t.each(["my", "at"], function () { var t, e, i = (n[this] || "").split(" "); 1 === i.length && (i = r.test(i[0]) ? i.concat(["center"]) : l.test(i[0]) ? ["center"].concat(i) : ["center", "center"]), i[0] = r.test(i[0]) ? i[0] : "center", i[1] = l.test(i[1]) ? i[1] : "center", t = h.exec(i[0]), e = h.exec(i[1]), k[this] = [t ? t[0] : 0, e ? e[0] : 0], n[this] = [c.exec(i[0])[0], c.exec(i[1])[0]] }), 1 === w.length && (w[1] = w[0]), "right" === n.at[0] ? m.left += p : "center" === n.at[0] && (m.left += p / 2), "bottom" === n.at[1] ? m.top += f : "center" === n.at[1] && (m.top += f / 2), u = e(k.at, p, f), m.left += u[0], m.top += u[1], this.each(function () { var s, r, l = t(this), h = l.outerWidth(), c = l.outerHeight(), d = i(this, "marginLeft"), _ = i(this, "marginTop"), x = h + d + i(this, "marginRight") + y.width, C = c + _ + i(this, "marginBottom") + y.height, D = t.extend({}, m), T = e(k.my, l.outerWidth(), l.outerHeight()); "right" === n.my[0] ? D.left -= h : "center" === n.my[0] && (D.left -= h / 2), "bottom" === n.my[1] ? D.top -= c : "center" === n.my[1] && (D.top -= c / 2), D.left += T[0], D.top += T[1], s = { marginLeft: d, marginTop: _ }, t.each(["left", "top"], function (e, i) { t.ui.position[w[e]] && t.ui.position[w[e]][i](D, { targetWidth: p, targetHeight: f, elemWidth: h, elemHeight: c, collisionPosition: s, collisionWidth: x, collisionHeight: C, offset: [u[0] + T[0], u[1] + T[1]], my: n.my, at: n.at, within: b, elem: l }) }), n.using && (r = function (t) { var e = g.left - D.left, i = e + p - h, s = g.top - D.top, r = s + f - c, u = { target: { element: v, left: g.left, top: g.top, width: p, height: f }, element: { element: l, left: D.left, top: D.top, width: h, height: c }, horizontal: 0 > i ? "left" : e > 0 ? "right" : "center", vertical: 0 > r ? "top" : s > 0 ? "bottom" : "middle" }; h > p && p > a(e + i) && (u.horizontal = "center"), c > f && f > a(s + r) && (u.vertical = "middle"), u.important = o(a(e), a(i)) > o(a(s), a(r)) ? "horizontal" : "vertical", n.using.call(this, t, u) }), l.offset(t.extend(D, { using: r })) }) }, t.ui.position = { fit: { left: function (t, e) { var i, s = e.within, n = s.isWindow ? s.scrollLeft : s.offset.left, a = s.width, r = t.left - e.collisionPosition.marginLeft, l = n - r, h = r + e.collisionWidth - a - n; e.collisionWidth > a ? l > 0 && 0 >= h ? (i = t.left + l + e.collisionWidth - a - n, t.left += l - i) : t.left = h > 0 && 0 >= l ? n : l > h ? n + a - e.collisionWidth : n : l > 0 ? t.left += l : h > 0 ? t.left -= h : t.left = o(t.left - r, t.left) }, top: function (t, e) { var i, s = e.within, n = s.isWindow ? s.scrollTop : s.offset.top, a = e.within.height, r = t.top - e.collisionPosition.marginTop, l = n - r, h = r + e.collisionHeight - a - n; e.collisionHeight > a ? l > 0 && 0 >= h ? (i = t.top + l + e.collisionHeight - a - n, t.top += l - i) : t.top = h > 0 && 0 >= l ? n : l > h ? n + a - e.collisionHeight : n : l > 0 ? t.top += l : h > 0 ? t.top -= h : t.top = o(t.top - r, t.top) } }, flip: { left: function (t, e) { var i, s, n = e.within, o = n.offset.left + n.scrollLeft, r = n.width, l = n.isWindow ? n.scrollLeft : n.offset.left, h = t.left - e.collisionPosition.marginLeft, c = h - l, u = h + e.collisionWidth - r - l, d = "left" === e.my[0] ? -e.elemWidth : "right" === e.my[0] ? e.elemWidth : 0, p = "left" === e.at[0] ? e.targetWidth : "right" === e.at[0] ? -e.targetWidth : 0, f = -2 * e.offset[0]; 0 > c ? (i = t.left + d + p + f + e.collisionWidth - r - o, (0 > i || a(c) > i) && (t.left += d + p + f)) : u > 0 && (s = t.left - e.collisionPosition.marginLeft + d + p + f - l, (s > 0 || u > a(s)) && (t.left += d + p + f)) }, top: function (t, e) { var i, s, n = e.within, o = n.offset.top + n.scrollTop, r = n.height, l = n.isWindow ? n.scrollTop : n.offset.top, h = t.top - e.collisionPosition.marginTop, c = h - l, u = h + e.collisionHeight - r - l, d = "top" === e.my[1], p = d ? -e.elemHeight : "bottom" === e.my[1] ? e.elemHeight : 0, f = "top" === e.at[1] ? e.targetHeight : "bottom" === e.at[1] ? -e.targetHeight : 0, g = -2 * e.offset[1]; 0 > c ? (s = t.top + p + f + g + e.collisionHeight - r - o, (0 > s || a(c) > s) && (t.top += p + f + g)) : u > 0 && (i = t.top - e.collisionPosition.marginTop + p + f + g - l, (i > 0 || u > a(i)) && (t.top += p + f + g)) } }, flipfit: { left: function () { t.ui.position.flip.left.apply(this, arguments), t.ui.position.fit.left.apply(this, arguments) }, top: function () { t.ui.position.flip.top.apply(this, arguments), t.ui.position.fit.top.apply(this, arguments) } } } }(), t.ui.position, t.ui.keyCode = { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38 }, t.fn.extend({ uniqueId: function () { var t = 0; return function () { return this.each(function () { this.id || (this.id = "ui-id-" + ++t) }) } }(), removeUniqueId: function () { return this.each(function () { /^ui-id-\d+$/.test(this.id) && t(this).removeAttr("id") }) } }), t.ui.safeActiveElement = function (t) { var e; try { e = t.activeElement } catch (i) { e = t.body } return e || (e = t.body), e.nodeName || (e = t.body), e }, t.widget("ui.menu", { version: "1.12.1", defaultElement: "<ul>", delay: 300, options: { icons: { submenu: "ui-icon-caret-1-e" }, items: "> *", menus: "ul", position: { my: "left top", at: "right top" }, role: "menu", blur: null, focus: null, select: null }, _create: function () { this.activeMenu = this.element, this.mouseHandled = !1, this.element.uniqueId().attr({ role: this.options.role, tabIndex: 0 }), this._addClass("ui-menu", "ui-widget ui-widget-content"), this._on({ "mousedown .ui-menu-item": function (t) { t.preventDefault() }, "click .ui-menu-item": function (e) { var i = t(e.target), s = t(t.ui.safeActiveElement(this.document[0])); !this.mouseHandled && i.not(".ui-state-disabled").length && (this.select(e), e.isPropagationStopped() || (this.mouseHandled = !0), i.has(".ui-menu").length ? this.expand(e) : !this.element.is(":focus") && s.closest(".ui-menu").length && (this.element.trigger("focus", [!0]), this.active && 1 === this.active.parents(".ui-menu").length && clearTimeout(this.timer))) }, "mouseenter .ui-menu-item": function (e) { if (!this.previousFilter) { var i = t(e.target).closest(".ui-menu-item"), s = t(e.currentTarget); i[0] === s[0] && (this._removeClass(s.siblings().children(".ui-state-active"), null, "ui-state-active"), this.focus(e, s)) } }, mouseleave: "collapseAll", "mouseleave .ui-menu": "collapseAll", focus: function (t, e) { var i = this.active || this.element.find(this.options.items).eq(0); e || this.focus(t, i) }, blur: function (e) { this._delay(function () { var i = !t.contains(this.element[0], t.ui.safeActiveElement(this.document[0])); i && this.collapseAll(e) }) }, keydown: "_keydown" }), this.refresh(), this._on(this.document, { click: function (t) { this._closeOnDocumentClick(t) && this.collapseAll(t), this.mouseHandled = !1 } }) }, _destroy: function () { var e = this.element.find(".ui-menu-item").removeAttr("role aria-disabled"), i = e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup"); this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(), i.children().each(function () { var e = t(this); e.data("ui-menu-submenu-caret") && e.remove() }) }, _keydown: function (e) { var i, s, n, o, a = !0; switch (e.keyCode) { case t.ui.keyCode.PAGE_UP: this.previousPage(e); break; case t.ui.keyCode.PAGE_DOWN: this.nextPage(e); break; case t.ui.keyCode.HOME: this._move("first", "first", e); break; case t.ui.keyCode.END: this._move("last", "last", e); break; case t.ui.keyCode.UP: this.previous(e); break; case t.ui.keyCode.DOWN: this.next(e); break; case t.ui.keyCode.LEFT: this.collapse(e); break; case t.ui.keyCode.RIGHT: this.active && !this.active.is(".ui-state-disabled") && this.expand(e); break; case t.ui.keyCode.ENTER: case t.ui.keyCode.SPACE: this._activate(e); break; case t.ui.keyCode.ESCAPE: this.collapse(e); break; default: a = !1, s = this.previousFilter || "", o = !1, n = e.keyCode >= 96 && 105 >= e.keyCode ? "" + (e.keyCode - 96) : String.fromCharCode(e.keyCode), clearTimeout(this.filterTimer), n === s ? o = !0 : n = s + n, i = this._filterMenuItems(n), i = o && -1 !== i.index(this.active.next()) ? this.active.nextAll(".ui-menu-item") : i, i.length || (n = String.fromCharCode(e.keyCode), i = this._filterMenuItems(n)), i.length ? (this.focus(e, i), this.previousFilter = n, this.filterTimer = this._delay(function () { delete this.previousFilter }, 1e3)) : delete this.previousFilter } a && e.preventDefault() }, _activate: function (t) { this.active && !this.active.is(".ui-state-disabled") && (this.active.children("[aria-haspopup='true']").length ? this.expand(t) : this.select(t)) }, refresh: function () { var e, i, s, n, o, a = this, r = this.options.icons.submenu, l = this.element.find(this.options.menus); this._toggleClass("ui-menu-icons", null, !!this.element.find(".ui-icon").length), s = l.filter(":not(.ui-menu)").hide().attr({ role: this.options.role, "aria-hidden": "true", "aria-expanded": "false" }).each(function () { var e = t(this), i = e.prev(), s = t("<span>").data("ui-menu-submenu-caret", !0); a._addClass(s, "ui-menu-icon", "ui-icon " + r), i.attr("aria-haspopup", "true").prepend(s), e.attr("aria-labelledby", i.attr("id")) }), this._addClass(s, "ui-menu", "ui-widget ui-widget-content ui-front"), e = l.add(this.element), i = e.find(this.options.items), i.not(".ui-menu-item").each(function () { var e = t(this); a._isDivider(e) && a._addClass(e, "ui-menu-divider", "ui-widget-content") }), n = i.not(".ui-menu-item, .ui-menu-divider"), o = n.children().not(".ui-menu").uniqueId().attr({ tabIndex: -1, role: this._itemRole() }), this._addClass(n, "ui-menu-item")._addClass(o, "ui-menu-item-wrapper"), i.filter(".ui-state-disabled").attr("aria-disabled", "true"), this.active && !t.contains(this.element[0], this.active[0]) && this.blur() }, _itemRole: function () { return { menu: "menuitem", listbox: "option" }[this.options.role] }, _setOption: function (t, e) { if ("icons" === t) { var i = this.element.find(".ui-menu-icon"); this._removeClass(i, null, this.options.icons.submenu)._addClass(i, null, e.submenu) } this._super(t, e) }, _setOptionDisabled: function (t) { this._super(t), this.element.attr("aria-disabled", t + ""), this._toggleClass(null, "ui-state-disabled", !!t) }, focus: function (t, e) { var i, s, n; this.blur(t, t && "focus" === t.type), this._scrollIntoView(e), this.active = e.first(), s = this.active.children(".ui-menu-item-wrapper"), this._addClass(s, null, "ui-state-active"), this.options.role && this.element.attr("aria-activedescendant", s.attr("id")), n = this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"), this._addClass(n, null, "ui-state-active"), t && "keydown" === t.type ? this._close() : this.timer = this._delay(function () { this._close() }, this.delay), i = e.children(".ui-menu"), i.length && t && /^mouse/.test(t.type) && this._startOpening(i), this.activeMenu = e.parent(), this._trigger("focus", t, { item: e }) }, _scrollIntoView: function (e) { var i, s, n, o, a, r; this._hasScroll() && (i = parseFloat(t.css(this.activeMenu[0], "borderTopWidth")) || 0, s = parseFloat(t.css(this.activeMenu[0], "paddingTop")) || 0, n = e.offset().top - this.activeMenu.offset().top - i - s, o = this.activeMenu.scrollTop(), a = this.activeMenu.height(), r = e.outerHeight(), 0 > n ? this.activeMenu.scrollTop(o + n) : n + r > a && this.activeMenu.scrollTop(o + n - a + r)) }, blur: function (t, e) { e || clearTimeout(this.timer), this.active && (this._removeClass(this.active.children(".ui-menu-item-wrapper"), null, "ui-state-active"), this._trigger("blur", t, { item: this.active }), this.active = null) }, _startOpening: function (t) { clearTimeout(this.timer), "true" === t.attr("aria-hidden") && (this.timer = this._delay(function () { this._close(), this._open(t) }, this.delay)) }, _open: function (e) { var i = t.extend({ of: this.active }, this.options.position); clearTimeout(this.timer), this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden", "true"), e.show().removeAttr("aria-hidden").attr("aria-expanded", "true").position(i) }, collapseAll: function (e, i) { clearTimeout(this.timer), this.timer = this._delay(function () { var s = i ? this.element : t(e && e.target).closest(this.element.find(".ui-menu")); s.length || (s = this.element), this._close(s), this.blur(e), this._removeClass(s.find(".ui-state-active"), null, "ui-state-active"), this.activeMenu = s }, this.delay) }, _close: function (t) { t || (t = this.active ? this.active.parent() : this.element), t.find(".ui-menu").hide().attr("aria-hidden", "true").attr("aria-expanded", "false") }, _closeOnDocumentClick: function (e) { return !t(e.target).closest(".ui-menu").length }, _isDivider: function (t) { return !/[^\-\u2014\u2013\s]/.test(t.text()) }, collapse: function (t) { var e = this.active && this.active.parent().closest(".ui-menu-item", this.element); e && e.length && (this._close(), this.focus(t, e)) }, expand: function (t) { var e = this.active && this.active.children(".ui-menu ").find(this.options.items).first(); e && e.length && (this._open(e.parent()), this._delay(function () { this.focus(t, e) })) }, next: function (t) { this._move("next", "first", t) }, previous: function (t) { this._move("prev", "last", t) }, isFirstItem: function () { return this.active && !this.active.prevAll(".ui-menu-item").length }, isLastItem: function () { return this.active && !this.active.nextAll(".ui-menu-item").length }, _move: function (t, e, i) { var s; this.active && (s = "first" === t || "last" === t ? this.active["first" === t ? "prevAll" : "nextAll"](".ui-menu-item").eq(-1) : this.active[t + "All"](".ui-menu-item").eq(0)), s && s.length && this.active || (s = this.activeMenu.find(this.options.items)[e]()), this.focus(i, s) }, nextPage: function (e) { var i, s, n; return this.active ? (this.isLastItem() || (this._hasScroll() ? (s = this.active.offset().top, n = this.element.height(), this.active.nextAll(".ui-menu-item").each(function () { return i = t(this), 0 > i.offset().top - s - n }), this.focus(e, i)) : this.focus(e, this.activeMenu.find(this.options.items)[this.active ? "last" : "first"]())), void 0) : (this.next(e), void 0) }, previousPage: function (e) { var i, s, n; return this.active ? (this.isFirstItem() || (this._hasScroll() ? (s = this.active.offset().top, n = this.element.height(), this.active.prevAll(".ui-menu-item").each(function () { return i = t(this), i.offset().top - s + n > 0 }), this.focus(e, i)) : this.focus(e, this.activeMenu.find(this.options.items).first())), void 0) : (this.next(e), void 0) }, _hasScroll: function () { return this.element.outerHeight() < this.element.prop("scrollHeight") }, select: function (e) { this.active = this.active || t(e.target).closest(".ui-menu-item"); var i = { item: this.active }; this.active.has(".ui-menu").length || this.collapseAll(e, !0), this._trigger("select", e, i) }, _filterMenuItems: function (e) { var i = e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"), s = RegExp("^" + i, "i"); return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function () { return s.test(t.trim(t(this).children(".ui-menu-item-wrapper").text())) }) } }), t.widget("ui.autocomplete", { version: "1.12.1", defaultElement: "<input>", options: { appendTo: null, autoFocus: !1, delay: 300, minLength: 1, position: { my: "left top", at: "left bottom", collision: "none" }, source: null, change: null, close: null, focus: null, open: null, response: null, search: null, select: null }, requestIndex: 0, pending: 0, _create: function () { var e, i, s, n = this.element[0].nodeName.toLowerCase(), o = "textarea" === n, a = "input" === n; this.isMultiLine = o || !a && this._isContentEditable(this.element), this.valueMethod = this.element[o || a ? "val" : "text"], this.isNewMenu = !0, this._addClass("ui-autocomplete-input"), this.element.attr("autocomplete", "off"), this._on(this.element, { keydown: function (n) { if (this.element.prop("readOnly")) return e = !0, s = !0, i = !0, void 0; e = !1, s = !1, i = !1; var o = t.ui.keyCode; switch (n.keyCode) { case o.PAGE_UP: e = !0, this._move("previousPage", n); break; case o.PAGE_DOWN: e = !0, this._move("nextPage", n); break; case o.UP: e = !0, this._keyEvent("previous", n); break; case o.DOWN: e = !0, this._keyEvent("next", n); break; case o.ENTER: this.menu.active && (e = !0, n.preventDefault(), this.menu.select(n)); break; case o.TAB: this.menu.active && this.menu.select(n); break; case o.ESCAPE: this.menu.element.is(":visible") && (this.isMultiLine || this._value(this.term), this.close(n), n.preventDefault()); break; default: i = !0, this._searchTimeout(n) } }, keypress: function (s) { if (e) return e = !1, (!this.isMultiLine || this.menu.element.is(":visible")) && s.preventDefault(), void 0; if (!i) { var n = t.ui.keyCode; switch (s.keyCode) { case n.PAGE_UP: this._move("previousPage", s); break; case n.PAGE_DOWN: this._move("nextPage", s); break; case n.UP: this._keyEvent("previous", s); break; case n.DOWN: this._keyEvent("next", s) } } }, input: function (t) { return s ? (s = !1, t.preventDefault(), void 0) : (this._searchTimeout(t), void 0) }, focus: function () { this.selectedItem = null, this.previous = this._value() }, blur: function (t) { return this.cancelBlur ? (delete this.cancelBlur, void 0) : (clearTimeout(this.searching), this.close(t), this._change(t), void 0) } }), this._initSource(), this.menu = t("<ul>").appendTo(this._appendTo()).menu({ role: null }).hide().menu("instance"), this._addClass(this.menu.element, "ui-autocomplete", "ui-front"), this._on(this.menu.element, { mousedown: function (e) { e.preventDefault(), this.cancelBlur = !0, this._delay(function () { delete this.cancelBlur, this.element[0] !== t.ui.safeActiveElement(this.document[0]) && this.element.trigger("focus") }) }, menufocus: function (e, i) { var s, n; return this.isNewMenu && (this.isNewMenu = !1, e.originalEvent && /^mouse/.test(e.originalEvent.type)) ? (this.menu.blur(), this.document.one("mousemove", function () { t(e.target).trigger(e.originalEvent) }), void 0) : (n = i.item.data("ui-autocomplete-item"), !1 !== this._trigger("focus", e, { item: n }) && e.originalEvent && /^key/.test(e.originalEvent.type) && this._value(n.value), s = i.item.attr("aria-label") || n.value, s && t.trim(s).length && (this.liveRegion.children().hide(), t("<div>").text(s).appendTo(this.liveRegion)), void 0) }, menuselect: function (e, i) { var s = i.item.data("ui-autocomplete-item"), n = this.previous; this.element[0] !== t.ui.safeActiveElement(this.document[0]) && (this.element.trigger("focus"), this.previous = n, this._delay(function () { this.previous = n, this.selectedItem = s })), !1 !== this._trigger("select", e, { item: s }) && this._value(s.value), this.term = this._value(), this.close(e), this.selectedItem = s } }), this.liveRegion = t("<div>", { role: "status", "aria-live": "assertive", "aria-relevant": "additions" }).appendTo(this.document[0].body), this._addClass(this.liveRegion, null, "ui-helper-hidden-accessible"), this._on(this.window, { beforeunload: function () { this.element.removeAttr("autocomplete") } }) }, _destroy: function () { clearTimeout(this.searching), this.element.removeAttr("autocomplete"), this.menu.element.remove(), this.liveRegion.remove() }, _setOption: function (t, e) { this._super(t, e), "source" === t && this._initSource(), "appendTo" === t && this.menu.element.appendTo(this._appendTo()), "disabled" === t && e && this.xhr && this.xhr.abort() }, _isEventTargetInWidget: function (e) { var i = this.menu.element[0]; return e.target === this.element[0] || e.target === i || t.contains(i, e.target) }, _closeOnClickOutside: function (t) { this._isEventTargetInWidget(t) || this.close() }, _appendTo: function () { var e = this.options.appendTo; return e && (e = e.jquery || e.nodeType ? t(e) : this.document.find(e).eq(0)), e && e[0] || (e = this.element.closest(".ui-front, dialog")), e.length || (e = this.document[0].body), e }, _initSource: function () { var e, i, s = this; t.isArray(this.options.source) ? (e = this.options.source, this.source = function (i, s) { s(t.ui.autocomplete.filter(e, i.term)) }) : "string" == typeof this.options.source ? (i = this.options.source, this.source = function (e, n) { s.xhr && s.xhr.abort(), s.xhr = t.ajax({ url: i, data: e, dataType: "json", success: function (t) { n(t) }, error: function () { n([]) } }) }) : this.source = this.options.source }, _searchTimeout: function (t) { clearTimeout(this.searching), this.searching = this._delay(function () { var e = this.term === this._value(), i = this.menu.element.is(":visible"), s = t.altKey || t.ctrlKey || t.metaKey || t.shiftKey; (!e || e && !i && !s) && (this.selectedItem = null, this.search(null, t)) }, this.options.delay) }, search: function (t, e) { return t = null != t ? t : this._value(), this.term = this._value(), t.length < this.options.minLength ? this.close(e) : this._trigger("search", e) !== !1 ? this._search(t) : void 0 }, _search: function (t) { this.pending++, this._addClass("ui-autocomplete-loading"), this.cancelSearch = !1, this.source({ term: t }, this._response()) }, _response: function () { var e = ++this.requestIndex; return t.proxy(function (t) { e === this.requestIndex && this.__response(t), this.pending--, this.pending || this._removeClass("ui-autocomplete-loading") }, this) }, __response: function (t) { t && (t = this._normalize(t)), this._trigger("response", null, { content: t }), !this.options.disabled && t && t.length && !this.cancelSearch ? (this._suggest(t), this._trigger("open")) : this._close() }, close: function (t) { this.cancelSearch = !0, this._close(t) }, _close: function (t) { this._off(this.document, "mousedown"), this.menu.element.is(":visible") && (this.menu.element.hide(), this.menu.blur(), this.isNewMenu = !0, this._trigger("close", t)) }, _change: function (t) { this.previous !== this._value() && this._trigger("change", t, { item: this.selectedItem }) }, _normalize: function (e) { return e.length && e[0].label && e[0].value ? e : t.map(e, function (e) { return "string" == typeof e ? { label: e, value: e } : t.extend({}, e, { label: e.label || e.value, value: e.value || e.label }) }) }, _suggest: function (e) { var i = this.menu.element.empty(); this._renderMenu(i, e), this.isNewMenu = !0, this.menu.refresh(), i.show(), this._resizeMenu(), i.position(t.extend({ of: this.element }, this.options.position)), this.options.autoFocus && this.menu.next(), this._on(this.document, { mousedown: "_closeOnClickOutside" }) }, _resizeMenu: function () { var t = this.menu.element; t.outerWidth(Math.max(t.width("").outerWidth() + 1, this.element.outerWidth())) }, _renderMenu: function (e, i) { var s = this; t.each(i, function (t, i) { s._renderItemData(e, i) }) }, _renderItemData: function (t, e) { return this._renderItem(t, e).data("ui-autocomplete-item", e) }, _renderItem: function (e, i) { return t("<li>").append(t("<div>").text(i.label)).appendTo(e) }, _move: function (t, e) { return this.menu.element.is(":visible") ? this.menu.isFirstItem() && /^previous/.test(t) || this.menu.isLastItem() && /^next/.test(t) ? (this.isMultiLine || this._value(this.term), this.menu.blur(), void 0) : (this.menu[t](e), void 0) : (this.search(null, e), void 0) }, widget: function () { return this.menu.element }, _value: function () { return this.valueMethod.apply(this.element, arguments) }, _keyEvent: function (t, e) { (!this.isMultiLine || this.menu.element.is(":visible")) && (this._move(t, e), e.preventDefault()) }, _isContentEditable: function (t) { if (!t.length) return !1; var e = t.prop("contentEditable"); return "inherit" === e ? this._isContentEditable(t.parent()) : "true" === e } }), t.extend(t.ui.autocomplete, { escapeRegex: function (t) { return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&") }, filter: function (e, i) { var s = RegExp(t.ui.autocomplete.escapeRegex(i), "i"); return t.grep(e, function (t) { return s.test(t.label || t.value || t) }) } }), t.widget("ui.autocomplete", t.ui.autocomplete, { options: { messages: { noResults: "No search results.", results: function (t) { return t + (t > 1 ? " results are" : " result is") + " available, use up and down arrow keys to navigate." } } }, __response: function (e) { var i; this._superApply(arguments), this.options.disabled || this.cancelSearch || (i = e && e.length ? this.options.messages.results(e.length) : this.options.messages.noResults, this.liveRegion.children().hide(), t("<div>").text(i).appendTo(this.liveRegion)) } }), t.ui.autocomplete });
/*!
* jQuery Cookie Plugin v1.3.0
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2013 Klaus Hartl
* Released under the MIT license
*/
(function ($, document, undefined) {
    var pluses = /\+/g;

    function raw(s) {
        return s;
    }

    function decoded(s) {
        return unRfc2068(decodeURIComponent(s.replace(pluses, ' ')));
    }

    function unRfc2068(value) {
        if (value.indexOf('"') === 0) {
            // This is a quoted cookie as according to RFC2068, unescape
            value = value.slice(1, -1).replace('\\"', '"').replace('\\\\', '\\');
        }
        return value;
    }

    var config = $.cookie = function (key, value, options) {

        // write
        if (value !== undefined) {
            options = $.extend({}, config.defaults, options);

            if (value === null) {
                options.expires = -1;
            }

            if (typeof options.expires === 'number') {
                var days = options.expires, t = options.expires = new Date();
                t.setDate(t.getDate() + days);
            }

            value = config.json ? JSON.stringify(value) : String(value);

            return (document.cookie = [
				encodeURIComponent(key), '=', config.raw ? value : encodeURIComponent(value),
				options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
				options.path ? '; path=' + options.path : '',
				options.domain ? '; domain=' + options.domain : '',
				options.secure ? '; secure' : ''
            ].join(''));
        }

        // read
        var decode = config.raw ? raw : decoded;
        var cookies = document.cookie.split('; ');
        for (var i = 0, l = cookies.length; i < l; i++) {
            var parts = cookies[i].split('=');
            if (decode(parts.shift()) === key) {
                var cookie = decode(parts.join('='));
                return config.json ? JSON.parse(cookie) : cookie;
            }
        }
        return null;
    };

    config.defaults = {};

    $.removeCookie = function (key, options) {
        if ($.cookie(key) !== null) {
            $.cookie(key, null, options);
            return true;
        }
        return false;
    };

})(jQuery, document);
/*!
 * Lazy Load - JavaScript plugin for lazy loading images
 *
 * Copyright (c) 2007-2019 Mika Tuupola
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Project home:
 *   https://appelsiini.net/projects/lazyload
 *
 * Version: 2.0.0-rc.2
 *
 */

(function (root, factory) {
    if (typeof exports === "object") {
        module.exports = factory(root);
    } else if (typeof define === "function" && define.amd) {
        define([], factory);
    } else {
        root.LazyLoad = factory(root);
    }
})(typeof global !== "undefined" ? global : this.window || this.global, function (root) {

    "use strict";

    if (typeof define === "function" && define.amd) {
        root = window;
    }

    const defaults = {
        src: "data-src",
        srcset: "data-srcset",
        selector: ".lazyload",
        root: null,
        rootMargin: "0px",
        threshold: 0
    };

    /**
    * Merge two or more objects. Returns a new object.
    * @private
    * @param {Boolean}  deep     If true, do a deep (or recursive) merge [optional]
    * @param {Object}   objects  The objects to merge together
    * @returns {Object}          Merged values of defaults and options
    */
    const extend = function () {

        let extended = {};
        let deep = false;
        let i = 0;
        let length = arguments.length;

        /* Check if a deep merge */
        if (Object.prototype.toString.call(arguments[0]) === "[object Boolean]") {
            deep = arguments[0];
            i++;
        }

        /* Merge the object into the extended object */
        let merge = function (obj) {
            for (let prop in obj) {
                if (Object.prototype.hasOwnProperty.call(obj, prop)) {
                    /* If deep merge and property is an object, merge properties */
                    if (deep && Object.prototype.toString.call(obj[prop]) === "[object Object]") {
                        extended[prop] = extend(true, extended[prop], obj[prop]);
                    } else {
                        extended[prop] = obj[prop];
                    }
                }
            }
        };

        /* Loop through each object and conduct a merge */
        for (; i < length; i++) {
            let obj = arguments[i];
            merge(obj);
        }

        return extended;
    };

    function LazyLoad(images, options) {
        this.settings = extend(defaults, options || {});
        this.images = images || document.querySelectorAll(this.settings.selector);
        this.observer = null;
        this.init();
    }

    LazyLoad.prototype = {
        init: function () {

            /* Without observers load everything and bail out early. */
            if (!root.IntersectionObserver) {
                this.loadImages();
                return;
            }

            let self = this;
            let observerConfig = {
                root: this.settings.root,
                rootMargin: this.settings.rootMargin,
                threshold: [this.settings.threshold]
            };

            this.observer = new IntersectionObserver(function (entries) {
                Array.prototype.forEach.call(entries, function (entry) {
                    if (entry.isIntersecting) {
                        self.observer.unobserve(entry.target);
                        let src = entry.target.getAttribute(self.settings.src);
                        let srcset = entry.target.getAttribute(self.settings.srcset);
                        if ("img" === entry.target.tagName.toLowerCase()) {
                            if (src) {
                                entry.target.src = src;
                            }
                            if (srcset) {
                                entry.target.srcset = srcset;
                            }
                        } else {
                            entry.target.style.backgroundImage = "url(" + src + ")";
                        }
                    }
                });
            }, observerConfig);

            Array.prototype.forEach.call(this.images, function (image) {
                self.observer.observe(image);
            });
        },

        loadAndDestroy: function () {
            if (!this.settings) { return; }
            this.loadImages();
            this.destroy();
        },

        loadImages: function () {
            if (!this.settings) { return; }

            let self = this;
            Array.prototype.forEach.call(this.images, function (image) {
                let src = image.getAttribute(self.settings.src);
                let srcset = image.getAttribute(self.settings.srcset);
                if ("img" === image.tagName.toLowerCase()) {
                    if (src) {
                        image.src = src;
                    }
                    if (srcset) {
                        image.srcset = srcset;
                    }
                } else {
                    image.style.backgroundImage = "url('" + src + "')";
                }
            });
        },

        destroy: function () {
            if (!this.settings) { return; }
            this.observer.disconnect();
            this.settings = null;
        }
    };

    root.lazyload = function (images, options) {
        return new LazyLoad(images, options);
    };

    if (root.jQuery) {
        const $ = root.jQuery;
        $.fn.lazyload = function (options) {
            options = options || {};
            options.attribute = options.attribute || "data-src";
            new LazyLoad($.makeArray(this), options);
            return this;
        };
    }

    return LazyLoad;
});

"use strict";

/*******************************************
Helper Libraries
*******************************************/
var GC = { cookies: {}, styling: {}, sell: {}, search: {}, init: {}};

// Convert a number string to a Number. i.e.  var myString = "1,234.56"; var num = myString.toNumber(2); // 1234.56
String.prototype.toNumber = function (s) {
    var decimals = s || 2;
    return Number(this.replace(/[^0-9\.]+/g, "")).toFixed(decimals);
};

// Array Remove - By John Resig (MIT Licensed)
Array.prototype.remove = function (from, to) {
    var rest = this.slice((to || from) + 1 || this.length);
    this.length = from < 0 ? this.length + from : from;
    return this.push.apply(this, rest);
};

//Array Map
if (typeof Array.prototype.map !== "function") {
    Array.prototype.map = function (callback, thisArg) {
        for (var i = 0, n = this.length, a = []; i < n; i++) {
            if (i in this) a[i] = callback.call(thisArg, this[i]);
        }
        return a;
    };
}

// add indexOf to IE 8 and below
if (!Array.prototype.indexOf) {
    Array.prototype.indexOf = function (needle) {
        for (var i = 0; i < this.length; i++) {
            if (this[i] === needle) {
                return i;
            }
        }
        return -1;
    };
}

//String Trim Function.  i.e. var myString = " Hello World "; myString.trim(); //result: "Hello World"
if (typeof String.prototype.trim !== "function") {
    String.prototype.trim = function () {
        return this.replace(/^\s+|\s+$/g, "");
    };
}
//String Trim Left Function.  i.e. var myString = " Hello World "; myString.trimLeft(); //result: "Hello World "
if (typeof String.prototype.trimLeft !== "function") {
    String.prototype.trimLeft = function () {
        return this.replace(/^\s+/, "");
    };
}
//String Trim Right Function string.trimRight()
if (typeof String.prototype.trimRight !== "function") {
    String.prototype.trimRight = function () {
        return this.replace(/\s+$/, "");
    };
}

//Takes a number and Convert to a money format with c=<digits after decimal>, d=<type of decimal points>, t=<type of thousands seperator> i.e. c=2, d='.', t=',' | (1234.560).formatMoney(2, '.', ','); returns 1,234.56
Number.prototype.formatMoney = function (c, d, t) {
    var s, j, i;
    var n = this;
    c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "." : d, t = t == undefined ? "," : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
    return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
};



GC.fieldFocusClear = function (field, value) { if (field.value == value) { field.value = ""; } };
GC.stopRKey = (function (evt) {
    var evt = (evt) ? evt : ((event) ? event : null);
    var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
    if ((evt.keyCode == 13) && (node.type == "text")) { return false; }
});

document.onkeypress = GC.stopRKey;

// Enter key select the button to click for a textbox
GC.doBtnClick = function (e, btnId) { var code = (e.keyCode || e.which); if (code === 13) { $(btnId).click(); } };

GC.copyToClipboard = function (el) {
    var url = $(el).data('url');

    navigator.clipboard.writeText(url).then(function () {
        $('.jsCopiedTooltip').fadeIn('fast');
        setTimeout(function () {
            $('.jsCopiedTooltip').fadeOut('slow');
        }, 1000)
    });
};

//btnFavorite
GC.addFavorite = function (productId) { window.location = '/customer/favorites/add/' + productId; };

GC.helper = function () {
    /********************************
    Insert leading zeros (2013.01.16.CAS)
    ********************************/
    function pad(num, size) {
        var output = num.toString();
        while (output.length < size) {
            output = "0" + output;
        }
        return output;
    }
    function getId(idString) {
        return Number(idString.split('-')[1]);
    }

    return {
        zeroPad: pad,
        getId: getId
    };
}();
/* jTemplates 0.7.0 (http://jtemplates.tpython.com) Copyright (c) 2008 Tomasz Gloc */
eval(function (p, a, c, k, e, r) { e = function (c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('a(31.9&&!31.9.3c){(8(){6 G=8(s,x,f){5.1L=[];5.1p={};5.29=C;5.1K={};5.1a={};5.f=9.1y({2z:18,37:2u,2r:18,2Z:18,2T:2u,2S:2u},f);5.2Q(s,x);a(s){5.1n(5.1a[\'1V\'],x,5.f)}5.1a=C};G.m.2G=\'0.7.0\';G.m.2Q=8(s,x){6 2E=/\\{#3i *(\\w*?)( .*)*\\}/g;6 20,1x,H;6 1v=C;6 2x=[];2v((20=2E.3U(s))!=C){1v=2E.1v;1x=20[1];H=s.2s(\'{#/3i \'+1x+\'}\',1v);a(H==-1){Y c 12(\'14: G "\'+1x+\'" 2n 1Q 3H.\');}5.1a[1x]=s.2h(1v,H);2x[1x]=L.2c(20[2])}a(1v===C){5.1a[\'1V\']=s;b}F(6 i 1N 5.1a){a(i!=\'1V\'){5.1K[i]=c G()}}F(6 i 1N 5.1a){a(i!=\'1V\'){5.1K[i].1n(5.1a[i],9.1y({},x||{},5.1K||{}),9.1y({},5.f,2x[i]));5.1a[i]=C}}};G.m.1n=8(s,x,f){a(s==15){5.1L.A(c 1d(\'\',1));b}s=s.W(/[\\n\\r]/g,\'\');s=s.W(/\\{\\*.*?\\*\\}/g,\'\');5.29=9.1y({},5.1K||{},x||{});5.f=c 25(f);6 j=5.1L;6 J=s.1c(/\\{#.*?\\}/g);6 Z=0,H=0;6 e;6 1b=0;6 21=0;F(6 i=0,l=(J)?(J.O):(0);i<l;++i){a(1b){H=s.2s(\'{#/1z}\');a(H==-1){Y c 12("14: 3f 1G 3e 1z.");}a(H>Z){j.A(c 1d(s.2h(Z,H),1))}Z=H+11;1b=0;i=9.3Z(\'{#/1z}\',J);3b}H=s.2s(J[i],Z);a(H>Z){j.A(c 1d(s.2h(Z,H),1b))}6 3X=J[i].1c(/\\{#([\\w\\/]+).*?\\}/);6 2w=E.$1;36(2w){q\'3T\':++21;j.1U();q\'a\':e=c 1t(J[i],j);j.A(e);j=e;M;q\'U\':j.1U();M;q\'/a\':2v(21){j=j.1T();--21}q\'/F\':q\'/1S\':j=j.1T();M;q\'1S\':e=c 1j(J[i],j);j.A(e);j=e;M;q\'F\':e=1R(J[i],j);j.A(e);j=e;M;q\'2q\':j.A(c 2I(J[i],5.29));M;q\'h\':j.A(c 2p(J[i]));M;q\'2o\':j.A(c 2m(J[i]));M;q\'3M\':j.A(c 1d(\'{\'));M;q\'3K\':j.A(c 1d(\'}\'));M;q\'1z\':1b=1;M;q\'/1z\':Y c 12("14: 3f 2k 3e 1z.");2R:Y c 12(\'14: 3G 3E \'+2w+\'.\');}Z=H+J[i].O}a(s.O>Z){j.A(c 1d(s.3D(Z),1b))}};G.m.I=8(d,h,z,B){++B;6 $T=d,22,1Y;a(5.f.2T){$T=L.1m(d,{1W:(5.f.37&&B==1),1F:5.f.2z})}a(!5.f.2S){22=5.1p;1Y=h}U{22=L.1m(5.1p,{1W:(5.f.2r),1F:18});1Y=L.1m(h,{1W:(5.f.2r&&B==1),1F:18})}6 $P=9.1y({},22,1Y);6 $Q=z;$Q.2G=5.2G;6 13=\'\';F(6 i=0,l=5.1L.O;i<l;++i){13+=5.1L[i].I($T,$P,$Q,B)}--B;b 13};G.m.28=8(1J,1M){5.1p[1J]=1M};L=8(){};L.3q=8(3p){b 3p.W(/&/g,\'&4b;\').W(/>/g,\'&3o;\').W(/</g,\'&3n;\').W(/"/g,\'&48;\').W(/\'/g,\'&#39;\')};L.1m=8(d,1A){a(d==C){b d}36(d.3m){q 25:6 o={};F(6 i 1N d){o[i]=L.1m(d[i],1A)}a(!1A.1F){o.3k=d.3k}b o;q 47:6 o=[];F(6 i=0,l=d.O;i<l;++i){o[i]=L.1m(d[i],1A)}b o;q 3j:b(1A.1W)?(L.3q(d)):(d);q 46:a(1A.1F){Y c 12("14: 45 44 1Q 43.");}2R:b d}};L.2c=8(24){a(24===C||24===15){b{}}6 o=24.42(/[= ]/);a(o[0]===\'\'){o.41()}6 2B={};F(6 i=0,l=o.O;i<l;i+=2){2B[o[i]]=o[i+1]}b 2B};6 1d=8(2A,1b){5.23=2A;5.3h=1b};1d.m.I=8(d,h,z,B){6 t=5.23;a(!5.3h){6 $T=d;6 $P=h;6 $Q=z;t=t.W(/\\{(.*?)\\}/g,8(40,3g){6 19=V(3g);a(1I 19==\'8\'){6 f=9.K(z,\'1i\').f;a(f.2z||!f.2Z){b\'\'}U{19=19($T,$P,$Q)}}b(19===15)?(""):(3j(19))})}b t};6 1t=8(D,1r){5.1Z=1r;D.1c(/\\{#(?:U)*a (.*?)\\}/);5.3d=E.$1;5.1g=[];5.1f=[];5.1w=5.1g};1t.m.A=8(e){5.1w.A(e)};1t.m.1T=8(){b 5.1Z};1t.m.1U=8(){5.1w=5.1f};1t.m.I=8(d,h,z,B){6 $T=d;6 $P=h;6 $Q=z;6 2y=(V(5.3d))?(5.1g):(5.1f);6 13=\'\';F(6 i=0,l=2y.O;i<l;++i){13+=2y[i].I(d,h,z,B)}b 13};1R=8(D,1r){a(D.1c(/\\{#F (\\w+?) *= *(\\S+?) +3Y +(\\S+?) *(?:R=(\\S+?))*\\}/)){D=\'{#1S 1R.3a 38 \'+E.$1+\' 2k=\'+(E.$2||0)+\' 1G=\'+(E.$3||-1)+\' R=\'+(E.$4||1)+\' 1E=$T}\';b c 1j(D,1r)}U{Y c 12(\'14: 3W 3V "35": \'+D);}};1R.3a=8(i){b i};6 1j=8(D,1r){5.1Z=1r;D.1c(/\\{#1S (.+?) 38 (\\w+?)( .+)*\\}/);5.34=E.$1;5.y=E.$2;5.N=E.$3||C;5.N=L.2c(5.N);5.1g=[];5.1f=[];5.1w=5.1g};1j.m.A=8(e){5.1w.A(e)};1j.m.1T=8(){b 5.1Z};1j.m.1U=8(){5.1w=5.1f};1j.m.I=8(d,h,z,B){6 $T=d;6 $P=h;6 $Q=z;6 1h=V(5.34);6 1D=[];6 1u=1I 1h;a(1u==\'33\'){6 2t=[];9.17(1h,8(k,v){1D.A(k);2t.A(v)});1h=2t}6 1E=(5.N.1E!==15)?(V(5.N.1E)):{};6 s=1H(V(5.N.2k)||0),e;6 R=1H(V(5.N.R)||1);a(1u!=\'8\'){e=1h.O}U{a(5.N.1G===15||5.N.1G===C){e=1H.3S}U{e=1H(V(5.N.1G))+((R>0)?(1):(-1))}}6 13=\'\';6 i,l;a(5.N.1C){6 19=s+1H(V(5.N.1C));e=(19>e)?(e):(19)}a((e>s&&R>0)||(e<s&&R<0)){6 1q=0;6 30=(1u!=\'8\')?(3R.3Q((e-s)/R)):15;6 1s,1k;F(;((R>0)?(s<e):(s>e));s+=R,++1q){1s=1D[s];a(1u!=\'8\'){1k=1h[s]}U{1k=1h(s);a(1k===15||1k===C){M}}a((1u==\'33\')&&(1s 1N 25)&&(25[1s]===$T[1s])){3b}$T=1E;6 p=$T[5.y]=1k;$T[5.y+\'$2Y\']=s;$T[5.y+\'$1q\']=1q;$T[5.y+\'$2X\']=(1q==0);$T[5.y+\'$3l\']=(s+R>=e);$T[5.y+\'$2V\']=30;$T[5.y+\'$1D\']=1s;$T[5.y+\'$1I\']=1I 1k;F(i=0,l=5.1g.O;i<l;++i){13+=5.1g[i].I($T,h,z,B)}1e $T[5.y+\'$2Y\'];1e $T[5.y+\'$1q\'];1e $T[5.y+\'$2X\'];1e $T[5.y+\'$3l\'];1e $T[5.y+\'$2V\'];1e $T[5.y+\'$1D\'];1e $T[5.y+\'$1I\'];1e $T[5.y]}}U{F(i=0,l=5.1f.O;i<l;++i){13+=5.1f[i].I($T,h,z,B)}}b 13};6 2I=8(D,x){D.1c(/\\{#2q (.*?)(?: 3P=(.*?))?\\}/);5.2H=x[E.$1];a(5.2H==15){Y c 12(\'14: 3O 35 2q: \'+E.$1);}5.2U=E.$2};2I.m.I=8(d,h,z,B){6 $T=d;b 5.2H.I(V(5.2U),h,z,B)};6 2p=8(D){D.1c(/\\{#h 1J=(\\w*?) 1M=(.*?)\\}/);5.y=E.$1;5.23=E.$2};2p.m.I=8(d,h,z,B){6 $T=d;6 $P=h;6 $Q=z;h[5.y]=V(5.23);b\'\'};6 2m=8(D){D.1c(/\\{#2o 3N=(.*?)\\}/);5.2d=V(E.$1);5.2l=5.2d.O;a(5.2l<=0){Y c 12(\'14: 2o 3L 3J 3I\');}5.2f=0;5.2b=-1};2m.m.I=8(d,h,z,B){6 2j=9.K(z,\'1B\');a(2j!=5.2b){5.2b=2j;5.2f=0}6 i=5.2f++%5.2l;b 5.2d[i]};9.X.1n=8(s,x,f){a(s.3m===G){b 9(5).17(8(){9.K(5,\'1i\',s);9.K(5,\'1B\',0)})}U{b 9(5).17(8(){9.K(5,\'1i\',c G(s,x,f));9.K(5,\'1B\',0)})}};9.X.3F=8(1o,x,f){6 s=9.2g({1l:1o,2e:18}).2P;b 9(5).1n(s,x,f)};9.X.3C=8(2i,x,f){6 s=$(\'#\'+2i).2A();a(s==C){s=$(\'#\'+2i).2O();s=s.W(/&3n;/g,"<").W(/&3o;/g,">")}s=9.3B(s);s=s.W(/^<\\!\\[3A\\[([\\s\\S]*)\\]\\]>$/3z,\'$1\');b 9(5).1n(s,x,f)};9.X.3y=8(){6 1C=0;9(5).17(8(){a(9.K(5,\'1i\')){++1C}});b 1C};9.X.3x=8(){9(5).32();b 9(5).17(8(){9.2N(5,\'1i\')})};9.X.28=8(1J,1M){b 9(5).17(8(){6 t=9.K(5,\'1i\');a(t===15){Y c 12(\'14: G 2n 1Q 2W.\');}t.28(1J,1M)})};9.X.2a=8(d,h){b 9(5).17(8(){6 t=9.K(5,\'1i\');a(t===15){Y c 12(\'14: G 2n 1Q 2W.\');}9.K(5,\'1B\',9.K(5,\'1B\')+1);9(5).2O(t.I(d,h,5,0))})};9.X.3w=8(1o,h){6 10=5;6 s=9.2g({1l:1o,2e:18,3v:18,3u:\'3t\',3s:8(d){9(10).2a(d,h)}});b 5};6 1P=8(1l,h,1O,1X,16){5.2M=1l;5.1p=h;5.2L=1O;5.2K=1X;5.16=16;5.2C=C;6 10=5;9(16).17(8(){9.K(5,\'2D\',10)});5.27()};1P.m.27=8(){5.2J();a(5.16.O==0){b}6 10=5;9.4f(5.2M,5.2K,8(d){9(10.16).2a(d,10.1p)});5.2C=4e(8(){10.27()},5.2L)};1P.m.2J=8(){5.16=9.3r(5.16,8(o){a(9.4d.4c){6 n=o.2F;2v(n&&n!=4a){n=n.2F}b n!=C}U{b o.2F!=C}})};9.X.49=8(1l,h,1O,1X){6 u=c 1P(1l,h,1O,1X,5);b u.2C};9.X.32=8(){b 9(5).17(8(){6 26=9.K(5,\'2D\');a(26==C){b}6 10=5;26.16=9.3r(26.16,8(o){b o!=10});9.2N(5,\'2D\')})};9.1y({3c:8(s,x,f){b c G(s,x,f)},4g:8(1o,x,f){6 s=9.2g({1l:1o,2e:18}).2P;b c G(s,x,f)}})})(9)}', 62, 265, '|||||this|var||function|jQuery|if|return|new|||settings||param||node|||prototype||||case|||||||includes|_name|element|push|deep|null|oper|RegExp|for|Template|se|get|op|data|TemplateUtils|break|_option|length|||step|||else|eval|replace|fn|throw|ss|that||Error|ret|jTemplates|undefined|objs|each|false|tmp|_templates_code|literalMode|match|TextNode|delete|_onFalse|_onTrue|fcount|jTemplate|opFOREACH|cval|url|cloneData|setTemplate|url_|_param|iteration|par|ckey|opIF|mode|lastIndex|_currentState|tname|extend|literal|filter|jTemplateSID|count|key|extData|noFunc|end|Number|typeof|name|_templates|_tree|value|in|interval|Updater|not|opFORFactory|foreach|getParent|switchToElse|MAIN|escapeData|args|_param2|_parent|iter|elseif_level|_param1|_value|optionText|Object|updater|run|setParam|_includes|processTemplate|_lastSessionID|optionToObject|_values|async|_index|ajax|substring|elementName|sid|begin|_length|Cycle|is|cycle|UserParam|include|filter_params|indexOf|arr|true|while|op_|_template_settings|tab|disallow_functions|val|obj|timer|jTemplateUpdater|reg|parentNode|version|_template|Include|detectDeletedNodes|_args|_interval|_url|removeData|html|responseText|splitTemplates|default|clone_params|clone_data|_root|total|defined|first|index|runnable_functions|_total|window|processTemplateStop|object|_arg|find|switch|filter_data|as||funcIterator|continue|createTemplate|_cond|of|No|__a1|_literalMode|template|String|toString|last|constructor|lt|gt|txt|escapeHTML|grep|success|json|dataType|cache|processTemplateURL|removeTemplate|hasTemplate|im|CDATA|trim|setTemplateElement|substr|tag|setTemplateURL|unknown|closed|elements|no|rdelim|has|ldelim|values|Cannot|root|ceil|Math|MAX_VALUE|elseif|exec|failed|Operator|ppp|to|inArray|__a0|shift|split|allowed|are|Functions|Function|Array|quot|processTemplateStart|document|amp|msie|browser|setTimeout|getJSON|createTemplateURL'.split('|'), 0, {}));
//***********************
//GC Query String Function
//***********************
GC.qs = function () {
    function getValue(qName) {
        var result = {}, queryString = location.search.substring(1), re = /([^&=]+)=([^&]*)/g, m;
        while (m = re.exec(queryString)) {
            result[decodeURIComponent(m[1])] = decodeURIComponent(m[2]);
        }
        return result[qName];
    };

    function updateValue(that, queryName, redirectToFirstPage) {

        function getCat() {
            var ddlCat = '#ddlCat';
            var cat = $(ddlCat).find('li').val();
            if (cat > 0) {
                return cat;
            }
            else return "";
        }
        var category = getCat();
        var qs = {
            name: queryName,
            selection: (that.type === 'checkbox') ? that.checked : $(that).val(),
            queryUrl: location.search,
            nameExist: location.search.indexOf(queryName)
        };

        if (qs.nameExist !== -1) {
            qs.queryUrl = qs.queryUrl.replace(qs.name + "=" + GC.qs.getValue(qs.name), qs.name + "=" + qs.selection);

        } else {
            qs.queryUrl = (qs.queryUrl === '') ? "?" + qs.name + "=" + qs.selection : qs.queryUrl + "&" + qs.name + "=" + qs.selection;
        }
        qs.queryUrl = (redirectToFirstPage) ? qs.queryUrl.replace("page=" + getValue("page"), "") : qs.queryUrl;

        var hasCategory = /cat=/.test(qs.queryUrl);
        qs.queryUrl = (!hasCategory && category > 0) ? qs.queryUrl + "&cat=" + category : qs.queryUrl;
        document.location = qs.queryUrl;
    };

    return {
        update: updateValue,
        getValue: getValue
    };
}();


GC.qs.fillCheckboxes = function (checkboxGroup, qsName) {
    var qsValue = GC.qs.getValue(qsName) || "";
    $(checkboxGroup).find('input').each(function () {
        for (var i = 0; i < qsValue.length; i++) {
            if ($(this).val() === qsValue.charAt(i)) {
                $(this).prop('checked', true);
            }
        }
    });
};
/********************************
GC Page Cookie Settings
********************************/
GC.cookies.pageSettings = function () {

    var c = {
        cookieName: 'opt',
        cookieDefault: '2.32.0.1.0.creditcard',
        cookieExpires: { expires: 1, path: '/' }
    };

    var s = {
        settings: {
            viewType: 2,
            pageSize: 32,
            sortBy: 0,
            metalSizeType: 1,
            inStock: 0,
            paymentType: 1
        },
        ids: {
            viewMode: '.jsViewType',
            sortBy: '#ddlSort',
            pageSize: '#ddlPageSize',
            metalSizeType: '#jsFiltersSize',
            inStock: '#cbInStock',
            payType: '.cbPayType'
        },
        txtSearch: '.jsTxtSearch'
    };

    function setCookie(option, value) {
        var cookieValue = $.cookie(c.cookieName);
        if (!cookieValue) {
            $.cookie(c.cookieName, c.cookieDefault, c.cookieExpires);
        }

        var cookieOptions = cookieValue.split('.');

        if (cookieOptions.length !== 6) {
            $.cookie(c.cookieName, c.cookieDefault, c.cookieExpires);
        }
        else {

            for (var i = 0; i < cookieOptions.length; i++) {
                if (option === i) {
                    cookieOptions[i] = value;
                }
            }
            cookieValue = cookieOptions.join('.');
            $.cookie(c.cookieName, cookieValue, c.cookieExpires);
        }
    }

    function getPageSettings() {
        
        var settingsCookie = $.cookie(c.cookieName) || c.cookieDefault;
        var settings = settingsCookie.split('.');
        s.settings.viewType = settings[0] || GC.qs.getValue('vt') || 3;
        s.settings.pageSize = settings[1] || GC.qs.getValue('psize') || 16;
        s.settings.sortBy = settings[2] || GC.qs.getValue('sort');
        s.settings.metalSizeType = settings[3] || 1;
        s.settings.inStock = (settings[4] === '1') || (GC.qs.getValue('instk') === 'true');
        s.settings.paymentType = settings[5] || 1;
    }

    var bindEvents = function () {
        $(s.ids.viewMode).on('click', function () {
            setCookie(0, $(this).val());
            GC.qs.update(this, 'vt');
        });

        $(s.ids.pageSize).find('button').on('click', function () {
            setCookie(1, $(this).val());
            GC.qs.update(this, 'psize', true);

        });

        $(s.ids.sortBy).on('change', function () {
            setCookie(2, $(this).val());
            GC.qs.update(this, 'sort');
        });

        $(s.ids.metalSizeType).find(".jsSizeTab li").click(function () {
            setCookie(3, $(this).find('input').val());
        });

        $(s.ids.inStock).on('change', function () {
            var isStockOnly = $(this).is(":checked");
            var value = (isStockOnly) ? 1 : 0;
            setCookie(4, value);
            GC.qs.update(this, 'instk', true);
        });

        $(s.ids.payType).on('click', function () {
            var paymentType = $(this).val();

            if (paymentType) {
                paymentType = paymentType.toLowerCase();
            }
            setCookie(5, paymentType);
        });

        getPageSettings();
    };

    function initSettings(newCookie) {
        c.cookieName = newCookie || c.cookieName;
        bindEvents();
        return s;
    }

    return { init: initSettings }; //initalizes config, return settings object, pass in cookie name
}();
GC.initImageLazyLoading = function() {
    $("img.lazy").lazyload({
        event: "delay",
        effect: 'fadeIn'
    });

    //image lazyloading
    $(window).bind("load", function () {
        var timeout = setTimeout(function () {
            $("img.lazy").trigger("delay")
        }, 100);
    });
};
/********************************
GC Search Function
********************************/
function clickAutocompleteTextLi(searchText) {
    $('.jsTxtSearch').val(searchText);
    $('.jsSearchBtn').click();
}

GC.search.autocomplete = (function () {
    var ajaxFormSubmit = function () {
        var $form = $(this);

        var options = {
            url: $form.attr("action"),
            type: $form.attr("method"),
            data: $form.serialize()
        };

        $.ajax(options).done(function (data) {
            var $target = $($form.attr("data-otf-target"));
            $target.replaceWith(data);
        });
        //return false;
    };

    var createAutocomplete = function () {
        var $input = $(this);
        var options = {
            source: $input.attr("data-otf-autocomplete"),
            select: function (event, ui) {
                if (ui.item.productId > 0)
                    window.location = "/products/" + ui.item.productId;
            }
        };

        $input.autocomplete(options).autocomplete("instance")._renderItem = function (ul, item) {
            return $("<li class='jsAutoCompleteLi'>").addClass(item.type)
                .append(buildImage(item.image))
                .append(item.label)
                .append(formatSku(item.sku))
                .appendTo(ul);
        };

        function buildImage(imageName) {
            if (!imageName)
                return;

            var img = $('<img class="jsAcImg">');
            img.prop('src', '/files/images/products/' + imageName);

            return img;
        }
        
        function formatSku(sku) {
            var span = $('<span class="jsAcSku">');
            span.text(sku);
            return span;
        }
    };

    $('.jsTxtSearch').bind('autocompleteopen', function (event, data) {
        var li = $('<li>').addClass('viewAllResult').prop('tabindex', -1);
        var link = $('<a>').html('See more results for <span>' + $(this).val() + '</span>').attr('onclick', "$('.jsSearchBtn').click();");
        link.appendTo(li);
        li.appendTo('ul.ui-autocomplete');

        $('.jsAutoCompleteLi').each(function () {
            var text = $(this).text()
            $(this).attr('onclick', "clickAutocompleteTextLi('" + text + "');");
        });
    });

    $("form[data-otf-ajax='true']").submit(ajaxFormSubmit);
    $("input[data-otf-autocomplete]").each(createAutocomplete);

    

})();
$(function () {
    var gclid = GC.qs.getValue('gclid') || "";
    if (gclid != '') {
        var option = {
            url: "/help/UpdateGCLID?gclid="+ gclid,
            type: 'POST'
        }
       
        $.ajax(option);
    }
});
/********************************
GC Cart Precios Metal Ticker Function
********************************/
GC.spotTicker = function () {
    var up = { arrow: 'fa-caret-up', color: 'green' };
    var down = { arrow: 'fa-caret-down', color: 'red' };

    var au = { spot: '.jsGoldPrice', arrow: '.jsGoldArrow', diff: '.jsGoldDiff' };
    var ag = { spot: '.jsSilverPrice', arrow: '.jsSilverArrow', diff: '.jsSilverDiff' };
    var pt = { spot: '.jsPlatinumPrice', arrow: '.jsPlatinumArrow', diff: '.jsPlatinumDiff' };
    var pd = { spot: '.jsPalladiumPrice', arrow: '.jsPalladiumArrow', diff: '.jsPalladiumDiff' };

    function updateTicker(metal, price, change) {
        $(metal.spot).text('$' + price.formatMoney());
        $(metal.diff).text(change.toFixed('2'));

        if (change >= 0) {
            $(metal.arrow).removeClass(down.arrow).addClass(up.arrow);
            $(metal.arrow).removeClass(down.color).addClass(up.color);
            $(metal.diff).removeClass(down.color).addClass(up.color);
        } else {
            $(metal.arrow).removeClass(up.arrow).addClass(down.arrow);
            $(metal.arrow).removeClass(up.color).addClass(down.color);
            $(metal.diff).removeClass(up.color).addClass(down.color);
        }
    }

    function getSpot(isBid) {
        $.ajax({
            type: "GET",
            contentType: "application/json; charset=utf-8",
            url: (isBid) ? "/api/spot/bid" : "/api/spot/ask",
            data: "{}",
            cache: false, //set cache to false so that the broswer will not cache the service call
            dataType: "json",
            success: function (data) {
                updateTicker(au, data.au, data.auChange);
                updateTicker(ag, data.ag, data.agChange);
                updateTicker(pt, data.pt, data.ptChange);
                updateTicker(pd, data.pd, data.pdChange);
            },
            error: function () { console.log("json call failed") }
        });
    }

    return {
        get: function (msec, isBid) {
            getSpot(isBid);
            setTimeout('GC.spotTicker.get(' + msec + ',' + isBid + ')', msec);
        }
    }
}();
$(function () {
    "use strict";

    var cookieConsent = $.cookie('cookieconsent');

    if (cookieConsent != 'dismiss') {
        $.get('/widget/CookieLaw').done(function (data) {
            $('#jsGDRP').append(data);
            setTimeout(function () {
                $('#jsGDRP .gdrp').addClass('active');
            }, 100);
        });
    }

    $('html').on('click', '#jsAgreeGDPR', function () {
        $('#jsGDRP .gdrp').removeClass('active');
        $.cookie('cookieconsent', 'dismiss', { expires: 365, path: '/' });
        setTimeout(function () {
            $('#jsGDRP').remove();
        }, 1000);
    });
});
$(window).on('load', function () {
    var ua = window.navigator.userAgent;

    var msie = ua.indexOf('MSIE ');
    if (msie > 0) {
        // IE 10 or older => return version number
        var version = parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);

        if (version < 10) {
            window.location.href('/help/upgrade-browser');
        }
    }
});


var layout = {
    siteNotification: function () {
        //    $.get('/widget/sitenotification').done(function (data) {
        //        $('#jsInitSiteNotificationAjax').html(data);
        //        $("img.lazy").lazyload();
        //    });
        $(document).on('click', '.jsBtnExpand', function (event) {
            $('.jsText').toggleClass('text');
            $('.jsBtnExpand').toggleClass('fa-angle-down');
            $('.jsBtnExpand').toggleClass('fa-angle-up');
        });

    },
    initMiniCart: function () {
        $.get('/widget/minicart').done(function (data) {
            $('#jsMiniCart').empty().append(data);
        });
    },

    initCSS: function () {
        var css = $('#jsCSSBundle').val();

        $('<link />', {
            rel: 'stylesheet',
            type: 'text/css',
            href: css
        }).appendTo('head');
    },

    lazyLoad: function () {
        let images = document.querySelectorAll('.lazy');
        lazyload(images);

        //image lazyloading
        $(window).bind("load", function () {
            var timeout = setTimeout(function () {
                $("img.lazy").trigger("delay")
            }, 100);
        });
    },

    smoothScroll: function () {
        $(document).on('click', '.jsSmoothScroll', function (event) {
            event.preventDefault();

            $('html, body').animate({
                scrollTop: ($($.attr(this, 'href')).offset().top) - 50
            }, 500);

        });
    },

    mobileMenu: function () {
        $('#jsMobileMenu-btn').click(function () {
            var windowWidth = $(window).width();

            if (windowWidth < 1024) {
                $('#jsMobileMenu-ctn').addClass('mmShow');
            }
        });

        $('.jsBtnCloseMobileMenu').click(function () {
            $('#jsMobileMenu-ctn').removeClass('mmShow').addClass('mmHide');

            setTimeout(function () {
                $('#jsMobileMenu-ctn').removeClass('mmHide');
            }, 450);
        });

        $('.jsMMBg').click(function () {
            $('.jsBtnCloseMobileMenu').click();
        });
    },


    menu: function () {


        $('.jsGoToMenu').click(function () {
            var windowWidth = $(window).width();

            if (windowWidth < 1024) {
                $('.jsMainMenu').addClass('mmShow');
            }
        });

        $('.jsBtnCloseMobileMenu').click(function () {
            $('.jsMainMenu').removeClass('mmShow').addClass('mmHide');

            setTimeout(function () {
                $('.jsMainMenu').removeClass('mmHide');
            }, 450);
        });

        $('.jsMMBg').click(function () {
            $('.jsBtnCloseMobileMenu').click();
        });

        $('html').on('click', '.jsMainMenu .jsArrow', function () {

            var megaMenu = $(this).siblings('.megaMenu');

            if (megaMenu.is(":visible")) {
                megaMenu.hide();
            } else {
                megaMenu.show();
            }
        })
    },

    megaMenu: function () {
        function closeMegaMenu($parent) {
            $parent.removeClass('active').addClass('deactive');
            setTimeout(function () {
                $parent.removeClass('deactive');
            }, 450);
        }

        $('html').on('mouseover', '.jsMegaMenu', function () {
            var windowWidth = $(window).width();

            if (windowWidth > 1024) {
                var $this = $(this);
                var $active = $this.siblings('.jsMegaMenu.active');

                if ($active.length === 0) {
                    $this.addClass('active');
                } else {
                    closeMegaMenu($active);
                    setTimeout(function () {
                        $this.addClass('active');
                    }, 100);
                }
            };
        });

        $('html').on('mouseleave', '.jsMegaMenu.active', function (e) {
            var $this = $(this);
            setTimeout(function () {
                closeMegaMenu($this);
            }, 100);
        });


    },

    menuAccount: function () {
        function closeAccountMenu($this) {
            $('#jsMenuAccount-ctn').removeClass('active').addClass('deactive');

            setTimeout(function () {
                $this.removeClass('active');
                $('#jsMenuAccount-ctn').removeClass('deactive');
            }, 950);
        };

        $('#jsMenuAccount-btn').click(function () {
            if ($(this).hasClass('active')) {
                closeAccountMenu($(this));
            } else {
                $(this).addClass('active');
                $('#jsMenuAccount-ctn').addClass('active');
            }
        });

        $(document).click(function (e) {
            var $cont = $('#jsMenuAccount')

            if (!$cont.is(e.target) && $cont.has(e.target).length === 0 && $('#jsMenuAccount-btn').hasClass('active')) {
                closeAccountMenu($('#jsMenuAccount-btn'));
            }
        });
    },

    modal: function () {
        $('html').on('click', '.jsModalClose', function (e) {
            var container = $('.jsModalContent');
            if (!container.is(e.target) && container.has(e.target).length === 0) {
                $('#jsAjaxPopup').empty();
                layout.initMiniCart();
            }
        });

        $('html').on('click', '.jsModalCloseBtn', function () {
            $('#jsAjaxPopup').empty();
        });
    },

    stickyFooter: function () {
        var bodyHeight = $('body').height();
        var browserHeight = $(window).height();

        if (browserHeight > bodyHeight) {
            $('.jsFooter').addClass('sticky');
        } else {
            $('.jsFooter').removeClass('sticky');
        }
    },

    stickySpotPrice: function () {
        var pos = $('#jsSpotPriceHeader').offset();
        if (pos == null) {
            return;
        }

        var divPos = pos.top;

        $(window).scroll(function () {
            var docPos = $(document).scrollTop();

            if (docPos > divPos) {
                $('#jsSpotPriceHeader').parent().addClass('fixed');
            } else {
                $('#jsSpotPriceHeader').parent().removeClass('fixed');
            }
        });
    },

    spotPriceMenu: function () {
        function closeSpotPrice() {

        };

        $('#jsSpotPrice-btn').click(function () {

            if ($(this).hasClass('active')) {
                $(this).removeClass('active');
                $('#jsSpotPrice-ctn').removeClass('active');
            } else {
                $(this).addClass('active');
                $('#jsSpotPrice-ctn').addClass('active');
            }
        });
    },

    incrementProductQty: function () {
        $(document).on('click', '.jsProductQtyAdd', function () {
            var parent = $(this).parents('.wrap');
            var textBox = parent.find('.jsProductQty');
            var hiddenQty = parent.find('.jsProductQtyHidden');

            var qty = Number(textBox.val()) + 1;

            textBox.val(qty);
            hiddenQty.val(qty); // hack to prevent existing ajax javascript from breaking. need to refactor form submit
        });

        $(document).on('keyup', '.jsProductQty', function () {
            var parent = $(this).parents('.wrap');
            var qty = $(this).val();
            var hiddenQty = parent.find('.jsProductQtyHidden');
            hiddenQty.val(qty); // hack to update quantity textbox prevent existing ajax javascript from breaking. need to refactor form submit
        });
    },

    decrementProductQty: function () {
        $(document).on('click', '.jsProductQtyMin', function () {
            var parent = $(this).parents('.wrap');
            var textBox = parent.find('.jsProductQty');
            var hiddenQty = parent.find('.jsProductQtyHidden');

            var qty = Number(textBox.val()) - 1;

            if (qty < 1) {
                qty = 1;
            }

            textBox.val(qty);
            hiddenQty.val(qty); // hack to prevent existing ajax javascript from breaking. need to refactor form submit
        });
    },
    lazyLoadProductModule: function () {
        $('module').each(function () {
            var $module = $(this);

            var moduleParam = getParam($module);

            $.post('/content-module/product-module', moduleParam).done(function (data) {
                $module.replaceWith(data);
                $("img.lazy").lazyload();
            });

            function getParam($module) {
                return {
                    type: $module.attr("product"),
                    search: $module.attr("search"),
                    categoryId: $module.attr("categoryId"),
                    skus: $module.attr("skus"),
                    count: $module.attr("count"),
                    template: $module.attr("template"),
                };
            }
        });
    }
}


$(function () {
    "use strict";

    document.documentElement.classList.remove("no-js");

    GC.spotTicker.get(10000);

    layout.siteNotification();
    //layout.mobileMenu();
    layout.menu();
    layout.menuAccount();
    layout.lazyLoad();
    layout.smoothScroll();
    //layout.megaMenu();
    layout.modal();
    layout.stickyFooter();
    layout.spotPriceMenu();

    layout.incrementProductQty();
    layout.decrementProductQty();
    layout.lazyLoadProductModule();
    //layout.stickySpotPrice();
});
//$(function () {
//    "use strict";

//    var newsletterModal = $.cookie('newslettermodal');

//    if (newsletterModal != 'ishide') {
//        $.get('/email/NewsletterSignup').done(function (data) {
//            $('body').append(data);

//            var isShowNewsletterModal = $('#jsNewsletterSignupModal').data('show-modal');

//            if (isShowNewsletterModal == 'True') {
//                setTimeout(function () {
//                    $('#jsNewsletterSignupModal').addClass('show');
//                }, 100);
//            } else {
//                $('#jsNewsletterSignupModal').remove();
//            }
//        });
//    }

//    $('html').on('click', '#jsNewsletterModalClose', function () {
//        $('#jsNewsletterSignupModal').removeClass('show');
//        $.cookie('newslettermodal', 'ishide', { expires: 365, path:'/' });
//        setTimeout(function () {
//            $('#jsNewsletterSignupModal').remove();
//        }, 1000);
//    });
    
//});
// Text Change
(function (a) {
    a.event.special.textchange = {
        setup: function () { a(this).data("lastValue", this.contentEditable === "true" ? a(this).html() : a(this).val()); a(this).bind("keyup.textchange", a.event.special.textchange.handler); a(this).bind("cut.textchange paste.textchange input.textchange", a.event.special.textchange.delayedHandler) }, teardown: function () { a(this).unbind(".textchange") }, handler: function () { a.event.special.textchange.triggerIfChanged(a(this)) }, delayedHandler: function () {
            var c = a(this); setTimeout(function () { a.event.special.textchange.triggerIfChanged(c) }, 25)
        }, triggerIfChanged: function (a) { var b = a[0].contentEditable === "true" ? a.html() : a.val(); b !== a.data("lastValue") && (a.trigger("textchange", [a.data("lastValue")]), a.data("lastValue", b)) }
    }; a.event.special.hastext = { setup: function () { a(this).bind("textchange", a.event.special.hastext.handler) }, teardown: function () { a(this).unbind("textchange", a.event.special.hastext.handler) }, handler: function (c, b) { b === "" && b !== a(this).val() && a(this).trigger("hastext") } }; a.event.special.notext = {
        setup: function () {
            a(this).bind("textchange", a.event.special.notext.handler)
        }, teardown: function () { a(this).unbind("textchange", a.event.special.notext.handler) }, handler: function (c, b) { a(this).val() === "" && a(this).val() !== b && a(this).trigger("notext") }
    }
})(jQuery);
/*! jCarousel - v0.3.4 - 2015-09-23
* http://sorgalla.com/jcarousel/
* Copyright (c) 2006-2015 Jan Sorgalla; Licensed MIT */
!function (a) { "use strict"; var b = a.jCarousel = {}; b.version = "0.3.4"; var c = /^([+\-]=)?(.+)$/; b.parseTarget = function (a) { var b = !1, d = "object" != typeof a ? c.exec(a) : null; return d ? (a = parseInt(d[2], 10) || 0, d[1] && (b = !0, "-=" === d[1] && (a *= -1))) : "object" != typeof a && (a = parseInt(a, 10) || 0), { target: a, relative: b } }, b.detectCarousel = function (a) { for (var b; a.length > 0;) { if (b = a.filter("[data-jcarousel]"), b.length > 0) return b; if (b = a.find("[data-jcarousel]"), b.length > 0) return b; a = a.parent() } return null }, b.base = function (c) { return { version: b.version, _options: {}, _element: null, _carousel: null, _init: a.noop, _create: a.noop, _destroy: a.noop, _reload: a.noop, create: function () { return this._element.attr("data-" + c.toLowerCase(), !0).data(c, this), !1 === this._trigger("create") ? this : (this._create(), this._trigger("createend"), this) }, destroy: function () { return !1 === this._trigger("destroy") ? this : (this._destroy(), this._trigger("destroyend"), this._element.removeData(c).removeAttr("data-" + c.toLowerCase()), this) }, reload: function (a) { return !1 === this._trigger("reload") ? this : (a && this.options(a), this._reload(), this._trigger("reloadend"), this) }, element: function () { return this._element }, options: function (b, c) { if (0 === arguments.length) return a.extend({}, this._options); if ("string" == typeof b) { if ("undefined" == typeof c) return "undefined" == typeof this._options[b] ? null : this._options[b]; this._options[b] = c } else this._options = a.extend({}, this._options, b); return this }, carousel: function () { return this._carousel || (this._carousel = b.detectCarousel(this.options("carousel") || this._element), this._carousel || a.error('Could not detect carousel for plugin "' + c + '"')), this._carousel }, _trigger: function (b, d, e) { var f, g = !1; return e = [this].concat(e || []), (d || this._element).each(function () { f = a.Event((c + ":" + b).toLowerCase()), a(this).trigger(f, e), f.isDefaultPrevented() && (g = !0) }), !g } } }, b.plugin = function (c, d) { var e = a[c] = function (b, c) { this._element = a(b), this.options(c), this._init(), this.create() }; return e.fn = e.prototype = a.extend({}, b.base(c), d), a.fn[c] = function (b) { var d = Array.prototype.slice.call(arguments, 1), f = this; return this.each("string" == typeof b ? function () { var e = a(this).data(c); if (!e) return a.error("Cannot call methods on " + c + ' prior to initialization; attempted to call method "' + b + '"'); if (!a.isFunction(e[b]) || "_" === b.charAt(0)) return a.error('No such method "' + b + '" for ' + c + " instance"); var g = e[b].apply(e, d); return g !== e && "undefined" != typeof g ? (f = g, !1) : void 0 } : function () { var d = a(this).data(c); d instanceof e ? d.reload(b) : new e(this, b) }), f }, e } }(jQuery), function (a, b) { "use strict"; var c = function (a) { return parseFloat(a) || 0 }; a.jCarousel.plugin("jcarousel", { animating: !1, tail: 0, inTail: !1, resizeTimer: null, lt: null, vertical: !1, rtl: !1, circular: !1, underflow: !1, relative: !1, _options: { list: function () { return this.element().children().eq(0) }, items: function () { return this.list().children() }, animation: 400, transitions: !1, wrap: null, vertical: null, rtl: null, center: !1 }, _list: null, _items: null, _target: a(), _first: a(), _last: a(), _visible: a(), _fullyvisible: a(), _init: function () { var a = this; return this.onWindowResize = function () { a.resizeTimer && clearTimeout(a.resizeTimer), a.resizeTimer = setTimeout(function () { a.reload() }, 100) }, this }, _create: function () { this._reload(), a(b).on("resize.jcarousel", this.onWindowResize) }, _destroy: function () { a(b).off("resize.jcarousel", this.onWindowResize) }, _reload: function () { this.vertical = this.options("vertical"), null == this.vertical && (this.vertical = this.list().height() > this.list().width()), this.rtl = this.options("rtl"), null == this.rtl && (this.rtl = function (b) { if ("rtl" === ("" + b.attr("dir")).toLowerCase()) return !0; var c = !1; return b.parents("[dir]").each(function () { return /rtl/i.test(a(this).attr("dir")) ? (c = !0, !1) : void 0 }), c }(this._element)), this.lt = this.vertical ? "top" : "left", this.relative = "relative" === this.list().css("position"), this._list = null, this._items = null; var b = this.index(this._target) >= 0 ? this._target : this.closest(); this.circular = "circular" === this.options("wrap"), this.underflow = !1; var c = { left: 0, top: 0 }; return b.length > 0 && (this._prepare(b), this.list().find("[data-jcarousel-clone]").remove(), this._items = null, this.underflow = this._fullyvisible.length >= this.items().length, this.circular = this.circular && !this.underflow, c[this.lt] = this._position(b) + "px"), this.move(c), this }, list: function () { if (null === this._list) { var b = this.options("list"); this._list = a.isFunction(b) ? b.call(this) : this._element.find(b) } return this._list }, items: function () { if (null === this._items) { var b = this.options("items"); this._items = (a.isFunction(b) ? b.call(this) : this.list().find(b)).not("[data-jcarousel-clone]") } return this._items }, index: function (a) { return this.items().index(a) }, closest: function () { var b, d = this, e = this.list().position()[this.lt], f = a(), g = !1, h = this.vertical ? "bottom" : this.rtl && !this.relative ? "left" : "right"; return this.rtl && this.relative && !this.vertical && (e += this.list().width() - this.clipping()), this.items().each(function () { if (f = a(this), g) return !1; var i = d.dimension(f); if (e += i, e >= 0) { if (b = i - c(f.css("margin-" + h)), !(Math.abs(e) - i + b / 2 <= 0)) return !1; g = !0 } }), f }, target: function () { return this._target }, first: function () { return this._first }, last: function () { return this._last }, visible: function () { return this._visible }, fullyvisible: function () { return this._fullyvisible }, hasNext: function () { if (!1 === this._trigger("hasnext")) return !0; var a = this.options("wrap"), b = this.items().length - 1, c = this.options("center") ? this._target : this._last; return b >= 0 && !this.underflow && (a && "first" !== a || this.index(c) < b || this.tail && !this.inTail) ? !0 : !1 }, hasPrev: function () { if (!1 === this._trigger("hasprev")) return !0; var a = this.options("wrap"); return this.items().length > 0 && !this.underflow && (a && "last" !== a || this.index(this._first) > 0 || this.tail && this.inTail) ? !0 : !1 }, clipping: function () { return this._element["inner" + (this.vertical ? "Height" : "Width")]() }, dimension: function (a) { return a["outer" + (this.vertical ? "Height" : "Width")](!0) }, scroll: function (b, c, d) { if (this.animating) return this; if (!1 === this._trigger("scroll", null, [b, c])) return this; a.isFunction(c) && (d = c, c = !0); var e = a.jCarousel.parseTarget(b); if (e.relative) { var f, g, h, i, j, k, l, m, n = this.items().length - 1, o = Math.abs(e.target), p = this.options("wrap"); if (e.target > 0) { var q = this.index(this._last); if (q >= n && this.tail) this.inTail ? "both" === p || "last" === p ? this._scroll(0, c, d) : a.isFunction(d) && d.call(this, !1) : this._scrollTail(c, d); else if (f = this.index(this._target), this.underflow && f === n && ("circular" === p || "both" === p || "last" === p) || !this.underflow && q === n && ("both" === p || "last" === p)) this._scroll(0, c, d); else if (h = f + o, this.circular && h > n) { for (m = n, j = this.items().get(-1) ; m++ < h;) j = this.items().eq(0), k = this._visible.index(j) >= 0, k && j.after(j.clone(!0).attr("data-jcarousel-clone", !0)), this.list().append(j), k || (l = {}, l[this.lt] = this.dimension(j), this.moveBy(l)), this._items = null; this._scroll(j, c, d) } else this._scroll(Math.min(h, n), c, d) } else if (this.inTail) this._scroll(Math.max(this.index(this._first) - o + 1, 0), c, d); else if (g = this.index(this._first), f = this.index(this._target), i = this.underflow ? f : g, h = i - o, 0 >= i && (this.underflow && "circular" === p || "both" === p || "first" === p)) this._scroll(n, c, d); else if (this.circular && 0 > h) { for (m = h, j = this.items().get(0) ; m++ < 0;) { j = this.items().eq(-1), k = this._visible.index(j) >= 0, k && j.after(j.clone(!0).attr("data-jcarousel-clone", !0)), this.list().prepend(j), this._items = null; var r = this.dimension(j); l = {}, l[this.lt] = -r, this.moveBy(l) } this._scroll(j, c, d) } else this._scroll(Math.max(h, 0), c, d) } else this._scroll(e.target, c, d); return this._trigger("scrollend"), this }, moveBy: function (a, b) { var d = this.list().position(), e = 1, f = 0; return this.rtl && !this.vertical && (e = -1, this.relative && (f = this.list().width() - this.clipping())), a.left && (a.left = d.left + f + c(a.left) * e + "px"), a.top && (a.top = d.top + f + c(a.top) * e + "px"), this.move(a, b) }, move: function (b, c) { c = c || {}; var d = this.options("transitions"), e = !!d, f = !!d.transforms, g = !!d.transforms3d, h = c.duration || 0, i = this.list(); if (!e && h > 0) return void i.animate(b, c); var j = c.complete || a.noop, k = {}; if (e) { var l = { transitionDuration: i.css("transitionDuration"), transitionTimingFunction: i.css("transitionTimingFunction"), transitionProperty: i.css("transitionProperty") }, m = j; j = function () { a(this).css(l), m.call(this) }, k = { transitionDuration: (h > 0 ? h / 1e3 : 0) + "s", transitionTimingFunction: d.easing || c.easing, transitionProperty: h > 0 ? function () { return f || g ? "all" : b.left ? "left" : "top" }() : "none", transform: "none" } } g ? k.transform = "translate3d(" + (b.left || 0) + "," + (b.top || 0) + ",0)" : f ? k.transform = "translate(" + (b.left || 0) + "," + (b.top || 0) + ")" : a.extend(k, b), e && h > 0 && i.one("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd", j), i.css(k), 0 >= h && i.each(function () { j.call(this) }) }, _scroll: function (b, c, d) { if (this.animating) return a.isFunction(d) && d.call(this, !1), this; if ("object" != typeof b ? b = this.items().eq(b) : "undefined" == typeof b.jquery && (b = a(b)), 0 === b.length) return a.isFunction(d) && d.call(this, !1), this; this.inTail = !1, this._prepare(b); var e = this._position(b), f = this.list().position()[this.lt]; if (e === f) return a.isFunction(d) && d.call(this, !1), this; var g = {}; return g[this.lt] = e + "px", this._animate(g, c, d), this }, _scrollTail: function (b, c) { if (this.animating || !this.tail) return a.isFunction(c) && c.call(this, !1), this; var d = this.list().position()[this.lt]; this.rtl && this.relative && !this.vertical && (d += this.list().width() - this.clipping()), this.rtl && !this.vertical ? d += this.tail : d -= this.tail, this.inTail = !0; var e = {}; return e[this.lt] = d + "px", this._update({ target: this._target.next(), fullyvisible: this._fullyvisible.slice(1).add(this._visible.last()) }), this._animate(e, b, c), this }, _animate: function (b, c, d) { if (d = d || a.noop, !1 === this._trigger("animate")) return d.call(this, !1), this; this.animating = !0; var e = this.options("animation"), f = a.proxy(function () { this.animating = !1; var a = this.list().find("[data-jcarousel-clone]"); a.length > 0 && (a.remove(), this._reload()), this._trigger("animateend"), d.call(this, !0) }, this), g = "object" == typeof e ? a.extend({}, e) : { duration: e }, h = g.complete || a.noop; return c === !1 ? g.duration = 0 : "undefined" != typeof a.fx.speeds[g.duration] && (g.duration = a.fx.speeds[g.duration]), g.complete = function () { f(), h.call(this) }, this.move(b, g), this }, _prepare: function (b) { var d, e, f, g, h = this.index(b), i = h, j = this.dimension(b), k = this.clipping(), l = this.vertical ? "bottom" : this.rtl ? "left" : "right", m = this.options("center"), n = { target: b, first: b, last: b, visible: b, fullyvisible: k >= j ? b : a() }; if (m && (j /= 2, k /= 2), k > j) for (; ;) { if (d = this.items().eq(++i), 0 === d.length) { if (!this.circular) break; if (d = this.items().eq(0), b.get(0) === d.get(0)) break; if (e = this._visible.index(d) >= 0, e && d.after(d.clone(!0).attr("data-jcarousel-clone", !0)), this.list().append(d), !e) { var o = {}; o[this.lt] = this.dimension(d), this.moveBy(o) } this._items = null } if (g = this.dimension(d), 0 === g) break; if (j += g, n.last = d, n.visible = n.visible.add(d), f = c(d.css("margin-" + l)), k >= j - f && (n.fullyvisible = n.fullyvisible.add(d)), j >= k) break } if (!this.circular && !m && k > j) for (i = h; ;) { if (--i < 0) break; if (d = this.items().eq(i), 0 === d.length) break; if (g = this.dimension(d), 0 === g) break; if (j += g, n.first = d, n.visible = n.visible.add(d), f = c(d.css("margin-" + l)), k >= j - f && (n.fullyvisible = n.fullyvisible.add(d)), j >= k) break } return this._update(n), this.tail = 0, m || "circular" === this.options("wrap") || "custom" === this.options("wrap") || this.index(n.last) !== this.items().length - 1 || (j -= c(n.last.css("margin-" + l)), j > k && (this.tail = j - k)), this }, _position: function (a) { var b = this._first, c = b.position()[this.lt], d = this.options("center"), e = d ? this.clipping() / 2 - this.dimension(b) / 2 : 0; return this.rtl && !this.vertical ? (c -= this.relative ? this.list().width() - this.dimension(b) : this.clipping() - this.dimension(b), c += e) : c -= e, !d && (this.index(a) > this.index(b) || this.inTail) && this.tail ? (c = this.rtl && !this.vertical ? c - this.tail : c + this.tail, this.inTail = !0) : this.inTail = !1, -c }, _update: function (b) { var c, d = this, e = { target: this._target, first: this._first, last: this._last, visible: this._visible, fullyvisible: this._fullyvisible }, f = this.index(b.first || e.first) < this.index(e.first), g = function (c) { var g = [], h = []; b[c].each(function () { e[c].index(this) < 0 && g.push(this) }), e[c].each(function () { b[c].index(this) < 0 && h.push(this) }), f ? g = g.reverse() : h = h.reverse(), d._trigger(c + "in", a(g)), d._trigger(c + "out", a(h)), d["_" + c] = b[c] }; for (c in b) g(c); return this } }) }(jQuery, window), function (a) { "use strict"; a.jcarousel.fn.scrollIntoView = function (b, c, d) { var e, f = a.jCarousel.parseTarget(b), g = this.index(this._fullyvisible.first()), h = this.index(this._fullyvisible.last()); if (e = f.relative ? f.target < 0 ? Math.max(0, g + f.target) : h + f.target : "object" != typeof f.target ? f.target : this.index(f.target), g > e) return this.scroll(e, c, d); if (e >= g && h >= e) return a.isFunction(d) && d.call(this, !1), this; for (var i, j = this.items(), k = this.clipping(), l = this.vertical ? "bottom" : this.rtl ? "left" : "right", m = 0; ;) { if (i = j.eq(e), 0 === i.length) break; if (m += this.dimension(i), m >= k) { var n = parseFloat(i.css("margin-" + l)) || 0; m - n !== k && e++; break } if (0 >= e) break; e-- } return this.scroll(e, c, d) } }(jQuery), function (a) { "use strict"; a.jCarousel.plugin("jcarouselControl", { _options: { target: "+=1", event: "click", method: "scroll" }, _active: null, _init: function () { this.onDestroy = a.proxy(function () { this._destroy(), this.carousel().one("jcarousel:createend", a.proxy(this._create, this)) }, this), this.onReload = a.proxy(this._reload, this), this.onEvent = a.proxy(function (b) { b.preventDefault(); var c = this.options("method"); a.isFunction(c) ? c.call(this) : this.carousel().jcarousel(this.options("method"), this.options("target")) }, this) }, _create: function () { this.carousel().one("jcarousel:destroy", this.onDestroy).on("jcarousel:reloadend jcarousel:scrollend", this.onReload), this._element.on(this.options("event") + ".jcarouselcontrol", this.onEvent), this._reload() }, _destroy: function () { this._element.off(".jcarouselcontrol", this.onEvent), this.carousel().off("jcarousel:destroy", this.onDestroy).off("jcarousel:reloadend jcarousel:scrollend", this.onReload) }, _reload: function () { var b, c = a.jCarousel.parseTarget(this.options("target")), d = this.carousel(); if (c.relative) b = d.jcarousel(c.target > 0 ? "hasNext" : "hasPrev"); else { var e = "object" != typeof c.target ? d.jcarousel("items").eq(c.target) : c.target; b = d.jcarousel("target").index(e) >= 0 } return this._active !== b && (this._trigger(b ? "active" : "inactive"), this._active = b), this } }) }(jQuery), function (a) { "use strict"; a.jCarousel.plugin("jcarouselPagination", { _options: { perPage: null, item: function (a) { return '<a href="#' + a + '">' + a + "</a>" }, event: "click", method: "scroll" }, _carouselItems: null, _pages: {}, _items: {}, _currentPage: null, _init: function () { this.onDestroy = a.proxy(function () { this._destroy(), this.carousel().one("jcarousel:createend", a.proxy(this._create, this)) }, this), this.onReload = a.proxy(this._reload, this), this.onScroll = a.proxy(this._update, this) }, _create: function () { this.carousel().one("jcarousel:destroy", this.onDestroy).on("jcarousel:reloadend", this.onReload).on("jcarousel:scrollend", this.onScroll), this._reload() }, _destroy: function () { this._clear(), this.carousel().off("jcarousel:destroy", this.onDestroy).off("jcarousel:reloadend", this.onReload).off("jcarousel:scrollend", this.onScroll), this._carouselItems = null }, _reload: function () { var b = this.options("perPage"); if (this._pages = {}, this._items = {}, a.isFunction(b) && (b = b.call(this)), null == b) this._pages = this._calculatePages(); else for (var c, d = parseInt(b, 10) || 0, e = this._getCarouselItems(), f = 1, g = 0; ;) { if (c = e.eq(g++), 0 === c.length) break; this._pages[f] = this._pages[f] ? this._pages[f].add(c) : c, g % d === 0 && f++ } this._clear(); var h = this, i = this.carousel().data("jcarousel"), j = this._element, k = this.options("item"), l = this._getCarouselItems().length; a.each(this._pages, function (b, c) { var d = h._items[b] = a(k.call(h, b, c)); d.on(h.options("event") + ".jcarouselpagination", a.proxy(function () { var a = c.eq(0); if (i.circular) { var d = i.index(i.target()), e = i.index(a); parseFloat(b) > parseFloat(h._currentPage) ? d > e && (a = "+=" + (l - d + e)) : e > d && (a = "-=" + (d + (l - e))) } i[this.options("method")](a) }, h)), j.append(d) }), this._update() }, _update: function () { var b, c = this.carousel().jcarousel("target"); a.each(this._pages, function (a, d) { return d.each(function () { return c.is(this) ? (b = a, !1) : void 0 }), b ? !1 : void 0 }), this._currentPage !== b && (this._trigger("inactive", this._items[this._currentPage]), this._trigger("active", this._items[b])), this._currentPage = b }, items: function () { return this._items }, reloadCarouselItems: function () { return this._carouselItems = null, this }, _clear: function () { this._element.empty(), this._currentPage = null }, _calculatePages: function () { for (var a, b, c = this.carousel().data("jcarousel"), d = this._getCarouselItems(), e = c.clipping(), f = 0, g = 0, h = 1, i = {}; ;) { if (a = d.eq(g++), 0 === a.length) break; b = c.dimension(a), f + b > e && (h++, f = 0), f += b, i[h] = i[h] ? i[h].add(a) : a } return i }, _getCarouselItems: function () { return this._carouselItems || (this._carouselItems = this.carousel().jcarousel("items")), this._carouselItems } }) }(jQuery), function (a, b) { "use strict"; var c, d, e = { hidden: "visibilitychange", mozHidden: "mozvisibilitychange", msHidden: "msvisibilitychange", webkitHidden: "webkitvisibilitychange" }; a.each(e, function (a, e) { return "undefined" != typeof b[a] ? (c = a, d = e, !1) : void 0 }), a.jCarousel.plugin("jcarouselAutoscroll", { _options: { target: "+=1", interval: 3e3, autostart: !0 }, _timer: null, _started: !1, _init: function () { this.onDestroy = a.proxy(function () { this._destroy(), this.carousel().one("jcarousel:createend", a.proxy(this._create, this)) }, this), this.onAnimateEnd = a.proxy(this._start, this), this.onVisibilityChange = a.proxy(function () { b[c] ? this._stop() : this._start() }, this) }, _create: function () { this.carousel().one("jcarousel:destroy", this.onDestroy), a(b).on(d, this.onVisibilityChange), this.options("autostart") && this.start() }, _destroy: function () { this._stop(), this.carousel().off("jcarousel:destroy", this.onDestroy), a(b).off(d, this.onVisibilityChange) }, _start: function () { return this._stop(), this._started ? (this.carousel().one("jcarousel:animateend", this.onAnimateEnd), this._timer = setTimeout(a.proxy(function () { this.carousel().jcarousel("scroll", this.options("target")) }, this), this.options("interval")), this) : void 0 }, _stop: function () { return this._timer && (this._timer = clearTimeout(this._timer)), this.carousel().off("jcarousel:animateend", this.onAnimateEnd), this }, start: function () { return this._started = !0, this._start(), this }, stop: function () { return this._started = !1, this._stop(), this } }) }(jQuery, document);
/**
 * @license
 * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
 *
 * This sofware is provided under multiple licenses. Please see below for
 * links to appropriate usage.
 *
 * Free amCharts linkware license. Details and conditions:
 * https://github.com/amcharts/amcharts4/blob/master/LICENSE
 *
 * One of the amCharts commercial licenses. Details and pricing:
 * https://www.amcharts.com/online-store/
 * https://www.amcharts.com/online-store/licenses-explained/
 *
 * If in doubt, contact amCharts at contact@amcharts.com
 *
 * PLEASE DO NOT REMOVE THIS COPYRIGHT NOTICE.
 * @hidden
 */!function(t){var e=window.am4internal_webpackJsonp;window.am4internal_webpackJsonp=function(i,o,s){for(var a,u,l,h=0,c=[];h<i.length;h++)u=i[h],n[u]&&c.push(n[u][0]),n[u]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a]);for(e&&e(i,o,s);c.length;)c.shift()();if(s)for(h=0;h<s.length;h++)l=r(r.s=s[h]);return l};var i={},n={a74a:0};function r(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(t){var e=n[t];if(0===e)return new Promise(function(t){t()});if(e)return e[2];var i=new Promise(function(i,r){e=n[t]=[i,r]});e[2]=i;var o=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,r.nc&&s.setAttribute("nonce",r.nc),s.src=r.p+"deps/"+({"0471":"canvg","076f":"pdfmake",bf3e:"xlsx"}[t]||t)+".js";var a=setTimeout(u,12e4);function u(){s.onerror=s.onload=null,clearTimeout(a);var e=n[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),n[t]=void 0)}return s.onerror=s.onload=u,o.appendChild(s),i},r.m=t,r.c=i,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t},r(r.s=0)}({"+6ht":function(t,e,i){var n=i("rkh7"),r=i("pmYy"),o=i("snR7"),s=i("T9LF").Reflect;t.exports=s&&s.ownKeys||function(t){var e=n.f(o(t)),i=r.f;return i?e.concat(i(t)):e}},"+gRV":function(t,e,i){var n=i("Gb1H");n(n.G+n.W+n.F*!i("xSzy").ABV,{DataView:i("LNZc").DataView})},"+qIf":function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return h}),i.d(e,"c",function(){return c});var n=i("m4/l"),r=i("hD5A"),o=i("o0Lc"),s=i("Qkdp"),a=i("Wglt"),u=i("wUYf"),l=function(t){function e(e){var i=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);return t.call(this,function(){i.dispose(),a.each(e.iterator(),function(t){t[1].dispose()})})||this}return n.c(e,t),e}(r.b),h=function(){function t(){this.events=new o.a,this._dictionary={}}return t.prototype.hasKey=function(t){return s.hasKey(this._dictionary,t)},t.prototype.getKey=function(t){return this._dictionary[t]},t.prototype.insertKey=function(t,e){if(s.hasKey(this._dictionary,t))throw new Error("Key "+t+" already exists in dictionary");this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.setKey=function(t,e){if(s.hasKey(this._dictionary,t)){var i=this._dictionary[t];i!==e&&(this._dictionary[t]=e,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))}else this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.updateKey=function(t,e){if(!s.hasKey(this._dictionary,t))throw new Error("Key "+t+" doesn't exist in dictionary");var i=this._dictionary[t],n=e(i);i!==n&&(this._dictionary[t]=n,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:n}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))},t.prototype.removeKey=function(t){if(s.hasKey(this._dictionary,t)){var e=this._dictionary[t];delete this._dictionary[t],this.events.isEnabled("removeKey")&&this.events.dispatchImmediately("removeKey",{type:"removeKey",target:this,key:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e})}},t.prototype.insertKeyIfEmpty=function(t,e){return this.hasKey(t)||this.insertKey(t,e()),this.getKey(t)},t.prototype.clear=function(){var t=this;this.events.isEnabled("removed")&&s.each(this._dictionary,function(e,i){t.events.dispatchImmediately("removed",{type:"removed",target:t,oldValue:i})}),this._dictionary={},this.events.isEnabled("cleared")&&this.events.dispatchImmediately("cleared",{type:"cleared",target:this})},t.prototype.copyFrom=function(t){var e=this;a.each(t.iterator(),function(t){e.setKey(t[0],t[1])})},t.prototype.iterator=function(){return s.entries(this._dictionary)},t.prototype[Symbol.iterator]=function(){var t,e,i,r;return n.d(this,function(n){switch(n.label){case 0:for(e in t=[],this._dictionary)t.push(e);i=0,n.label=1;case 1:return i<t.length?(r=t[i],s.hasKey(this._dictionary,r)?[4,[r,this._dictionary[r]]]:[3,3]):[3,4];case 2:n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2]}})},t.prototype.each=function(t){a.each(this.iterator(),function(e){var i=n.e(e,2),r=i[0],o=i[1];return t(r,o)})},t.prototype.sortedIterator=function(){return a.sort(this.iterator(),function(t,e){return u.order(t[0],e[0])})},t}(),c=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.each(t.iterator(),function(t){e.setKey(t[0],t[1].clone())})},e.prototype.create=function(t){var e=this;return this.insertKeyIfEmpty(t,function(){return e.template.clone()})},e}(h)},"+wz8":function(t,e,i){var n=i("DvJ+"),r=i("T9LF").document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"/9XX":function(t,e,i){"use strict";i.d(e,"b",function(){return l}),e.a=function(t){o.push(t),c()},e.c=function(t){s.push(t),c()},e.f=function(t){a.push(t),c()},e.e=function(t){u.push(t)},e.d=function(){for(var t=Date.now(),e=u.length,i=0;i<e;++i)u.shift()(t)};var n=i("hJ5i"),r=!1,o=[],s=[],a=[],u=[],l="function"==typeof requestAnimationFrame?function(t){requestAnimationFrame(t)}:function(t){setTimeout(t,1e3/60)};function h(){for(var t=Date.now(),e=o.length,i=0;i<e;++i)o[i](t);n.shiftLeft(o,e);for(i=0;i<s.length;++i)s[i](t);s.length=0;for(i=0;i<a.length;++i)a[i](t);a.length=0,0===o.length&&0===s.length?r=!1:l(h)}function c(){r||(r=!0,l(h))}},"/IEW":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Tjl+"),o=i("aCit"),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._invalid=!1,e}return n.c(e,t),e.prototype.invalidate=function(){!1===this._invalid&&(this._invalid=!0,o.b.events.on("exitframe",this.validate,this))},e.prototype.validate=function(){!0===this._invalid&&(this._invalid=!1,o.b.events.off("exitframe",this.validate,this))},e}(r.b)},"/NC3":function(t,e,i){var n=i("Gb1H"),r=i("0v9/");n(n.G+n.B,{setImmediate:r.set,clearImmediate:r.clear})},"/Oef":function(t,e,i){"use strict";var n=i("MfZA"),r={};r[i("YEtG")("toStringTag")]="z",r+""!="[object z]"&&i("wDk4")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},"/URX":function(t,e,i){var n=i("Gb1H"),r=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var i,n,o=0,s=0,a=arguments.length,u=0;s<a;)u<(i=r(arguments[s++]))?(o=o*(n=u/i)*n+1,u=i):o+=i>0?(n=i/u)*n:i;return u===1/0?1/0:u*Math.sqrt(o)}})},"/Xnt":function(t,e,i){"use strict";var n=i("T9LF"),r=i("Gb1H"),o=i("wDk4"),s=i("cA+3"),a=i("kFp5"),u=i("hpnp"),l=i("ypVE"),h=i("DvJ+"),c=i("AEc5"),p=i("ID9o"),d=i("bPwn"),f=i("6/bx");t.exports=function(t,e,i,g,y,m){var b=n[t],v=b,_=y?"set":"add",x=v&&v.prototype,P={},w=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!h(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,i){return e.call(this,0===t?0:t,i),this})};if("function"==typeof v&&(m||x.forEach&&!c(function(){(new v).entries().next()}))){var O=new v,S=O[_](m?{}:-0,1)!=O,T=c(function(){O.has(1)}),C=p(function(t){new v(t)}),k=!m&&c(function(){for(var t=new v,e=5;e--;)t[_](e,e);return!t.has(-0)});C||((v=e(function(e,i){l(e,v,t);var n=f(new b,e,v);return void 0!=i&&u(i,y,n[_],n),n})).prototype=x,x.constructor=v),(T||k)&&(w("delete"),w("has"),y&&w("get")),(k||S)&&w(_),m&&x.clear&&delete x.clear}else v=g.getConstructor(e,t,y,_),s(v.prototype,i),a.NEED=!0;return d(v,t),P[t]=v,r(r.G+r.W+r.F*(v!=b),P),m||g.setStrong(v,t,y),v}},"/dMO":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("sc+R");n(n.P+n.F*!i("GQop")([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},"/e9j":function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("sxA1"),o=i("3/51"),s=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e.className="LinearGradientModifier",e.gradient=new r.a,e.applyTheme(),e}return n.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(o.a);s.b.registeredClasses.LinearGradientModifier=a},0:function(t,e,i){i("bcCe"),t.exports=i("Nv8/")},"01H4":function(t,e,i){"use strict";e.a=function(t,e){var i=n.b.registeredClasses[e];return null!=i&&t instanceof i};var n=i("aCit")},"0B2R":function(t,e,i){var n=i("Gb1H");n(n.S,"Object",{setPrototypeOf:i("7GtY").set})},"0C8c":function(t,e){var i=Math.expm1;t.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},"0Czv":function(t,e,i){"use strict";i("Mvcd")("sup",function(t){return function(){return t(this,"sup","","")}})},"0FpR":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.linear=function(t){return+t},e.quadIn=function(t){return t*t},e.quadOut=function(t){return t*(2-t)},e.quadInOut=function(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2},e.polyIn=r,e.polyOut=o,e.polyInOut=s,e.polyIn3=function(t){return r(t,3)},e.polyOut3=function(t){return o(t,3)},e.polyInOut3=function(t){return s(t,3)},e.expIn=function(t){return Math.pow(2,10*t-10)},e.expOut=function(t){return 1-Math.pow(2,-10*t)},e.expInOut=function(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2},e.sinIn=function(t){return 1-Math.cos(t*n.HALFPI)},e.sinOut=function(t){return Math.sin(t*n.HALFPI)},e.sinInOut=function(t){return(1-Math.cos(n.PI*t))/2},e.cubicIn=function(t){return t*t*t},e.cubicOut=function(t){return--t*t*t+1},e.cubicInOut=function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2},e.circleIn=function(t){return 1-Math.sqrt(1-t*t)},e.circleOut=function(t){return Math.sqrt(1- --t*t)},e.circleInOut=function(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2},e.bounceIn=function(t){return 1-m(1-t)},e.bounceOut=m,e.bounceInOut=function(t){return((t*=2)<=1?1-m(1-t):m(t-1)+1)/2},e.elasticIn=function(t){return b*Math.pow(2,10*--t)*Math.sin((_-t)/v)},e.elasticOut=function(t){return 1-b*Math.pow(2,-10*(t=+t))*Math.sin((t+_)/v)},e.elasticInOut=function(t){return((t=2*t-1)<0?b*Math.pow(2,10*t)*Math.sin((_-t)/v):2-b*Math.pow(2,-10*t)*Math.sin((_+t)/v))/2};var n=i("Gg2j");function r(t,e){return Math.pow(t,e)}function o(t,e){return 1-Math.pow(1-t,e)}function s(t,e){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}var a=4/11,u=6/11,l=8/11,h=.75,c=9/11,p=10/11,d=.9375,f=21/22,g=63/64,y=1/a/a;function m(t){return(t=+t)<a?y*t*t:t<l?y*(t-=u)*t+h:t<p?y*(t-=c)*t+d:y*(t-=f)*t+g}var b=1,v=.3/(2*Math.PI),_=Math.asin(1/b)*v},"0PyG":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Tjl+"),o=i("zhwk"),s=i("1yyj"),a=i("Mtpk"),u=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.animations=[],o.className="Inertia",o.interaction=e,o.type=i,o.point=n,o.startPoint=r,o._disposers.push(new s.b(o.animations)),o}return n.c(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){a.isNumber(t)&&(this.point.x=t,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.point.y},set:function(t){a.isNumber(t)&&(this.point.y=t,this.handleMove())},enumerable:!0,configurable:!0}),e.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var t={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",t)}},e.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&Object(o.b)().processDragStop(this.interaction),this.dispose()},e}(r.a)},"0YcW":function(t,e,i){"use strict";var n=i("cA+3"),r=i("kFp5").getWeak,o=i("snR7"),s=i("DvJ+"),a=i("ypVE"),u=i("hpnp"),l=i("dstF"),h=i("U3hN"),c=i("rFJX"),p=l(5),d=l(6),f=0,g=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},m=function(t,e){return p(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var i=m(this,t);i?i[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,i,o){var l=t(function(t,n){a(t,l,e,"_i"),t._t=e,t._i=f++,t._l=void 0,void 0!=n&&u(n,i,t[o],t)});return n(l.prototype,{delete:function(t){if(!s(t))return!1;var i=r(t);return!0===i?g(c(this,e)).delete(t):i&&h(i,this._i)&&delete i[this._i]},has:function(t){if(!s(t))return!1;var i=r(t);return!0===i?g(c(this,e)).has(t):i&&h(i,this._i)}}),l},def:function(t,e,i){var n=r(o(e),!0);return!0===n?g(t).set(e,i):n[t._i]=i,t},ufstore:g}},"0Zt3":function(t,e,i){var n=i("DvJ+"),r=i("DVYA"),o=i("YEtG")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},"0jav":function(t,e,i){var n=i("Gb1H"),r=i("DVYA");n(n.S,"Error",{isError:function(t){return"Error"===r(t)}})},"0v9/":function(t,e,i){var n,r,o,s=i("20m4"),a=i("yOPk"),u=i("Ax3V"),l=i("+wz8"),h=i("T9LF"),c=h.process,p=h.setImmediate,d=h.clearImmediate,f=h.MessageChannel,g=h.Dispatch,y=0,m={},b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},v=function(t){b.call(t.data)};p&&d||(p=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},n(y),y},d=function(t){delete m[t]},"process"==i("DVYA")(c)?n=function(t){c.nextTick(s(b,t,1))}:g&&g.now?n=function(t){g.now(s(b,t,1))}:f?(o=(r=new f).port2,r.port1.onmessage=v,n=s(o.postMessage,o,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(n=function(t){h.postMessage(t+"","*")},h.addEventListener("message",v,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:p,clear:d}},"0yJt":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("mntN")(!0);n(n.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("M/YL")("includes")},"17ao":function(t,e,i){var n=i("T9LF").parseInt,r=i("nAZS").trim,o=i("brDO"),s=/^[-+]?0[xX]/;t.exports=8!==n(o+"08")||22!==n(o+"0x16")?function(t,e){var i=r(String(t),3);return n(i,e>>>0||(s.test(i)?16:10))}:n},"1Vzv":function(t,e,i){var n=i("Gb1H"),r=i("17ao");n(n.G+n.F*(parseInt!=r),{parseInt:r})},"1lef":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("kcsd"),o=i("FmWr"),s=i("0Zt3"),a=i("x2K9"),u=RegExp.prototype,l=function(t,e){this._r=t,this._s=e};i("Cekr")(l,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),n(n.P,"String",{matchAll:function(t){if(r(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),i="flags"in u?String(t.flags):a.call(t),n=new RegExp(t.source,~i.indexOf("g")?i:"g"+i);return n.lastIndex=o(t.lastIndex),new l(n,e)}})},"1qam":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Vs7R"),o=i("Mtpk"),s=function(t){function e(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),o.isNumber(this.pointerX)||(this.pointerX=this.pixelWidth/2),o.isNumber(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(e.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(t){this.setPropertyValue("pointerBaseWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(t){this.setPropertyValue("pointerLength",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(t){this.setPropertyValue("pointerX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},"1yyj":function(t,e,i){"use strict";e.c=function(t,e){var i=!1,n=Date.now();return l.a(function r(o){if(!i){var s=o-n;s>=t?e(1):(l.a(r),e(s/t))}}),new s.b(function(){i=!0})},i.d(e,"b",function(){return _}),i.d(e,"a",function(){return x});var n=i("m4/l"),r=i("Tjl+"),o=i("hpNl"),s=i("hD5A"),a=i("8ZqG"),u=i("tjMS"),l=i("/9XX"),h=i("0FpR"),c=i("hxI2"),p=i("Gg2j"),d=i("hJ5i"),f=i("Mtpk"),g=i("Rpw0");function y(t,e,i){return e+(i-e)*t}function m(t,e,i){return new u.a(y(t,e.percent,i.percent))}function b(t,e,i){return new a.a(c.interpolate(e.rgb,i.rgb,t))}function v(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var _=function(){function t(t){this._disposer=new s.b(function(){for(;0!==t.length;)t[0].dispose()})}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),x=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.duration=0,o.easing=h.linear,o.progress=0,o._loop=0,o._pause=!1,o._delayTimeout=null,o._time=0,o._isFinished=!1,o.className="Animation",o.object=e,o.animationOptions=d.toArray(i),o.duration=n,r&&(o.easing=r),o.applyTheme(),o}return n.c(e,t),e.prototype.debug=function(){},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.pause()},e.prototype.delay=function(t){var e=this;if(t>0){this.pause(),d.move(this.object.animations,this);var i=setTimeout(function(){e._delayTimeout=null,e.start()},t);this._delayTimeout=new s.b(function(){clearTimeout(i)})}return this},e.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,d.move(g.b.animations,this),d.move(this.object.animations,this),g.b.requestFrame()},e.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var t=this.animationOptions.length-1;t>=0;t--){var e=this.animationOptions[t];if(f.hasValue(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],f.hasValue(e.from)||(e.from=o.a[e.property]))),e.from==e.to)d.remove(this.animationOptions,e);else if(f.hasValue(e.from))if(f.isNumber(e.to))if(e.updateMethod=y,e.from instanceof u.a){var i=this.object[v(e.property,"pixel")];isNaN(i)?(this.staticOptions.push(e),d.remove(this.animationOptions,e)):e.from=i}else isNaN(e.from)&&(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof a.a)e.from?e.updateMethod=b:(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof u.a){if(e.updateMethod=m,!isNaN(e.from)){i=this.object[v(e.property,"relative")];isNaN(i)||(e.from=Object(u.c)(100*i))}}else this.staticOptions.push(e),d.remove(this.animationOptions,e);else this.staticOptions.push(e),d.remove(this.animationOptions,e)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var n={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",n)}return this.update(),0===this.duration&&this.end(),this},e.prototype.loop=function(t){return f.isNumber(t)||(t=1/0),this._loop=t,this},e.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),d.remove(g.b.animations,this),d.remove(this.object.animations,this),this},e.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},e.prototype.end=function(){if(0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var t={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",t)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},e.prototype.kill=function(){this.pause(),this._isFinished=!0},e.prototype.isFinished=function(){return this._isFinished},e.prototype.applyStaticOptions=function(){var t=this;d.each(this.staticOptions,function(e){e.childObject?e.childObject[e.property]=1==t.progress?e.to:e.from:t.object[e.property]=1==t.progress?e.to:e.from})},e.prototype.stop=function(t){if(this.pause(),!t&&this.events.isEnabled("animationstopped")){var e={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",e)}return this},e.prototype.setProgress=function(t){var e=this;if(this._time=this.duration*t,d.each(this.animationOptions,function(i){if(i.updateMethod&&f.hasValue(i.from)){var n=i.updateMethod(t,i.from,i.to);i.childObject?i.childObject[i.property]=n:e.object[i.property]=n}}),this.progress=t,this.events.isEnabled("animationprogress")){var i={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",i)}g.b.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.fitToRange(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!f.isNumber(t)||e>=1)&&(t=1),this.setProgress(t),1==p.round(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(e.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),e.prototype.stopSameAnimations=function(){var t=this;d.each(d.copy(this.object.animations),function(e){if(e!==t&&!e.delayed){var i=[];d.each(t.animationOptions,function(t){d.each(e.animationOptions,function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())})}),d.each(i,function(t){d.remove(e.animationOptions,t)})}})},e}(r.b)},"2/6D":function(t,e,i){"use strict";var n=i("M/YL"),r=i("36h5"),o=i("9BM3"),s=i("EhJv");t.exports=i("Uobz")(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},"20m4":function(t,e,i){var n=i("DbOM");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},"2Dqo":function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=i("K0ev"),s=n.has,a=n.key,u=function(t,e,i){if(s(t,e,i))return!0;var n=o(e);return null!==n&&u(t,n,i)};n.exp({hasMetadata:function(t,e){return u(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},"2I/e":function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i("m4/l"),r=i("VIOb"),o=i("vMqJ"),s=i("C6dT"),a=i("aM7D"),u=i("tjMS"),l=i("DHte"),h=i("aCit"),c=i("Wglt"),p=i("Mtpk"),d=i("hD5A"),f=function(t){function e(){var e=t.call(this)||this;return e.className="SerialChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;e.className="SerialChart",e.colors=new l.a;var i=e.chartContainer.createChild(s.a);i.shouldClone=!1,i.width=Object(u.c)(100),i.height=Object(u.c)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(s.a);return n.shouldClone=!1,n.width=Object(u.c)(100),n.height=Object(u.c)(100),n.isMeasured=!1,n.zIndex=3,n.layout="none",e.bulletsContainer=n,e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.colors&&this.colors.dispose()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){var t=this;return this._series||(this._series=new o.e(this.createSeries()),this._series.events.on("inserted",function(e){t.handleSeriesAdded(e)},void 0,!1),this._series.events.on("removed",function(e){var i=e.oldValue;t.dataUsers.removeValue(i),t.dataUsers.each(function(t){t.invalidateDataItems()}),i.autoDispose&&i.dispose(),t.feedLegend()},void 0,!1),this._disposers.push(new o.c(this._series)),this._disposers.push(this._series.template)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;i.isDisposed()||(i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new d.b(function(){e.dataUsers.removeValue(i)})),this.feedLegend())},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];c.each(this.series.iterator(),function(t){t.hiddenInLegend||e.push(t)}),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new a.a},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},e}(r.a);h.b.registeredClasses.SerialChart=g},"2Nze":function(t,e,i){"use strict";var n=i("x2K9"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=void 0!==/()??/.exec("")[1];(a||u)&&(s=function(t){var e,i,s,l,h=this;return u&&(i=new RegExp("^"+h.source+"$(?!\\s)",n.call(h))),a&&(e=h.lastIndex),s=r.call(h,t),a&&s&&(h.lastIndex=h.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],i,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)}),s}),t.exports=s},"2OOH":function(t,e,i){var n=i("Gb1H"),r=i("snR7"),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},"2OXf":function(t,e,i){"use strict";i.d(e,"a",function(){return m});var n=i("m4/l"),r=i("C6dT"),o=i("sxA1"),s=i("aCit"),a=i("8ZqG"),u=i("vMqJ"),l=i("tjMS"),h=i("pR7v"),c=i("k6kv"),p=i("OXm9"),d=i("Wglt"),f=i("Mtpk"),g=i("hxI2"),y=i("CnhP"),m=function(t){function e(){var e=t.call(this)||this;e.className="HeatLegend",e.markerContainer=e.createChild(r.a),e.markerContainer.shouldClone=!1,e.markerCount=1;var i=new y.a;return i.minHeight=20,i.minWidth=20,i.interactionsEnabled=!1,i.fillOpacity=1,i.cornerRadius(0,0,0,0),e.markerContainer.minHeight=20,e.markerContainer.minWidth=20,e.orientation="horizontal",e.markers=new u.e(i),e._disposers.push(new u.c(e.markers)),e._disposers.push(e.markers.template),e.applyTheme(),e}return n.c(e,t),e.prototype.getMinFromRules=function(t){var e,i=this.series;if(i)return d.eachContinue(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.min,!1)}),e},e.prototype.getMaxFromRules=function(t){var e,i=this.series;if(i)return d.each(i.heatRules.iterator(),function(i){return i.property!=t||(e=i.max,!1)}),e},e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.series,i=this.minColor,n=this.maxColor;if(f.hasValue(i)||(i=Object(a.e)(this.getMinFromRules("fill"))),f.hasValue(n)||(n=Object(a.e)(this.getMaxFromRules("fill"))),e){var r=e.fill;!f.hasValue(i)&&r instanceof a.a&&(i=r),!f.hasValue(n)&&r instanceof a.a&&(n=r)}f.hasValue(n)||(n=Object(a.e)(this.getMaxFromRules("fill")));var s=f.toNumber(this.getMinFromRules("fillOpacity"));f.isNumber(s)||(s=1);var u=f.toNumber(this.getMaxFromRules("fillOpacity"));f.isNumber(u)||(u=1);var h=f.toNumber(this.getMinFromRules("strokeOpacity"));f.isNumber(h)||(h=1);var c=f.toNumber(this.getMaxFromRules("strokeOpacity"));f.isNumber(c)||(c=1);for(var p=Object(a.e)(this.getMinFromRules("stroke")),d=Object(a.e)(this.getMaxFromRules("stroke")),y=0;y<this.markerCount;y++){var m=this.markers.getIndex(y);if(m||((m=this.markers.create()).parent=this.markerContainer,m.height=Object(l.c)(100),m.width=Object(l.c)(100)),1==this.markerCount){var b=new o.a;if(b.addColor(i,s),b.addColor(n,u),"vertical"==this.orientation&&(b.rotation=-90),m.fill=b,f.hasValue(p)&&f.hasValue(d)){var v=new o.a;v.addColor(p,h),v.addColor(d,c),"vertical"==this.orientation&&(v.rotation=-90),m.stroke=v}}else{var _=new a.a(g.interpolate(i.rgb,n.rgb,y/this.markerCount));m.fill=_;var x=s+(u-s)*y/this.markerCount;if(m.fillOpacity=x,f.hasValue(p)&&f.hasValue(d)){var P=new a.a(g.interpolate(p.rgb,d.rgb,y/this.markerCount));m.stroke=P;var w=h+(c-h)*y/this.markerCount;m.strokeOpacity=w}}}var O=this.valueAxis.renderer;this.markerCount>1&&("horizontal"==this.orientation?O.minGridDistance=this.measuredWidth/this.markerCount:O.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();y=this.markerCount;for(var S=this.markers.length;y<S;y++)this.markers.getIndex(y).parent=void 0},Object.defineProperty(e.prototype,"minColor",{get:function(){return this.getPropertyValue("minColor")},set:function(t){t instanceof a.a||(t=Object(a.e)(t)),this.setColorProperty("minColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColor",{get:function(){return this.getPropertyValue("maxColor")},set:function(t){f.isObject(t)||(t=Object(a.e)(t)),this.setColorProperty("maxColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markerCount",{get:function(){return this.getPropertyValue("markerCount")},set:function(t){this.setPropertyValue("markerCount",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minValue",{get:function(){return this.getPropertyValue("minValue")},set:function(t){this.setPropertyValue("minValue",t),this.valueAxis.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxValue",{get:function(){return this.getPropertyValue("maxValue")},set:function(t){this.setPropertyValue("maxValue",t),this.valueAxis.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.markerContainer,i=this.valueAxis;"horizontal"==t?(f.hasValue(this.width)||(this.width=200),this.height=void 0,i.width=Object(l.c)(100),i.height=void 0,i.tooltip.pointerOrientation="vertical",this.layout="vertical",e.width=Object(l.c)(100),e.height=void 0,i.renderer instanceof c.a||(i.renderer=new c.a)):(f.hasValue(this.height)||(this.height=200),this.width=void 0,this.layout="horizontal",e.width=void 0,e.height=Object(l.c)(100),i.height=Object(l.c)(100),i.width=void 0,i.tooltip.pointerOrientation="horizontal",i.renderer instanceof p.a||(i.renderer=new p.a),i.renderer.inside=!0,i.renderer.labels.template.inside=!0,this.markerContainer.reverseOrder=!0);var n=i.renderer;n.grid.template.disabled=!0,n.axisFills.template.disabled=!0,n.baseGrid.disabled=!0,n.labels.template.padding(2,3,2,3),n.minHeight=void 0,n.minWidth=void 0,this.markerContainer.layout=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueAxis",{get:function(){return this._valueAxis||(this.valueAxis=this.createChild(h.a),this.valueAxis.shouldClone=!1),this._valueAxis},set:function(t){this._valueAxis=t,t.parent=this,t.strictMinMax=!0,this.orientation=this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){var e=this;this._series=t;var i="value";try{var n=t.heatRules.getIndex(0).dataField;n&&(i=n)}catch(t){}this.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high),t.dataItem.events.on("calculatedvaluechanged",function(n){e.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high)},void 0,!1),t.heatRules.events.on("inserted",this.invalidate,this,!1),t.heatRules.events.on("removed",this.invalidate,this,!1)},enumerable:!0,configurable:!0}),e.prototype.updateMinMax=function(t,e){var i=this.valueAxis;f.isNumber(this.minValue)||(i.min=t,i.invalidate()),f.isNumber(this.maxValue)||(i.max=e,i.invalidate())},e.prototype.processConfig=function(e){if(e&&f.hasValue(e.series)&&f.isString(e.series)&&f.isString(e.series))if(this.map.hasKey(e.series))e.series=this.map.getKey(e.series);else{var i=e.series,n=this.map.events.on("insertKey",function(t){t.key==i&&(this.series=t.newValue,n.dispose())},this);this._disposers.push(n),delete e.series}t.prototype.processConfig.call(this,e)},e}(r.a);s.b.registeredClasses.HeatLegend=m},"2i0j":function(t,e,i){"use strict";var n=i("MfZA"),r=RegExp.prototype.exec;t.exports=function(t,e){var i=t.exec;if("function"==typeof i){var o=i.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"3/+B":function(t,e,i){"use strict";t.exports=i("pb4Y")||!i("AEc5")(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete i("T9LF")[t]})},"3/51":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("DA7/"),o=i("aCit"),s=i("Gg2j"),a=i("Mtpk"),u=function(t){function e(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(t){this._lightnesses=t,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(t){this._brightnesses=t,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacities",{get:function(){return this._opacities},set:function(t){this._opacities=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsets",{get:function(){return this._offsets},set:function(t){this._offsets=t},enumerable:!0,configurable:!0}),e.prototype.modify=function(t){this.gradient.clear();var e=0;this.opacities&&(e=s.max(e,this.opacities.length)),this.lightnesses&&(e=s.max(e,this.lightnesses.length)),this.brightnesses&&(e=s.max(e,this.brightnesses.length));for(var i,n,r=1,o=0;o<e;o++){var u=t;this.opacities&&a.isNumber(this.opacities[o])&&(r=this.opacities[o]),this.lightnesses&&a.isNumber(this.lightnesses[o])&&(i=this.lightnesses[o],n=void 0),this.brightnesses&&a.isNumber(this.brightnesses[o])&&(n=this.brightnesses[o],i=void 0),a.isNumber(n)?u=t.brighten(this.brightnesses[o]):a.isNumber(i)&&(u=t.lighten(this.lightnesses[o]));var l=this.offsets[o];this.gradient.addColor(u,r,l)}return this.gradient},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this._offsets=e.offsets,this._brightnesses=e.brightnesses,this._lightnesses=e.lightnesses,this._opacities=e.opacities},e}(r.a);o.b.registeredClasses.GradientModifier=u},"31Mu":function(t,e,i){var n=i("Gb1H"),r=i("9i/o");n(n.P+n.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},"36h5":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},"3BzE":function(t,e,i){var n=i("ODWe"),r=i("heQh");t.exports=Object.keys||function(t){return n(t,r)}},"3Cxr":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.order=function(t,e){return t===e?0:t<e?-1:1}},"3X+j":function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{RAD_PER_DEG:180/Math.PI})},"3fx7":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("AEc5"),o=i("GIxq"),s=1..toPrecision;n(n.P+n.F*(r(function(){return"1"!==s.call(1,void 0)})||!r(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},"3mH9":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("DbOM"),o=i("20m4"),s=i("hpnp");t.exports=function(t){n(n.S,t,{from:function(t){var e,i,n,a,u=arguments[1];return r(this),(e=void 0!==u)&&r(u),void 0==t?new this:(i=[],e?(n=0,a=o(u,arguments[2],2),s(t,!1,function(t){i.push(a(t,n++))})):s(t,!1,i.push,i),new this(i))}})}},"3xrs":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(4);n(n.P+n.F*!i("GQop")([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},"4BRe":function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},"4DCw":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("mIpt"),o=i("Mtpk"),s=i("hJ5i"),a=[",",";","\t"],u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return n.c(e,t),e.isCSV=function(t){return!!e.getDelimiterFromData(t)},e.getDelimiterFromData=function(t){var e,i=t.split("\n"),n=i.length;return s.each(a,function(t){for(var r=0,o=0,s=0;s<n;++s){if(!((r=i[s].split(t).length)>1)){o=0;break}if(0===o)o=r;else if(r!=o){o=0;break}}o&&(e=t)}),e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,s=this.CSVToArray(t,this.options.delimiter),a=o.hasValue(this.options.emptyAs),u=this.parsableNumbers,l=this.parsableDates,h=[],c=[];if(this.options.useColumnNames){c=s.shift();for(var p=0;p<c.length;p++)""===(i=o.hasValue(c[p])?c[p].replace(/^\s+|\s+$/gm,""):"")&&(i="col"+p),c[p]=i;0<this.options.skipRows&&this.options.skipRows--}for(n=0;n<this.options.skipRows;n++)s.shift();for(;r=this.options.reverse?s.pop():s.shift();)if(!this.options.skipEmpty||1!==r.length||""!==r[0]){var d={};for(n=0;n<r.length;n++)d[i=void 0===c[n]?"col"+n:c[n]]=""===r[n]?this.options.emptyAs:r[n],a&&(d[i]=this.maybeToEmpty(d[i])),u&&(d[i]=this.maybeToNumber(i,d[i])),l&&(d[i]=this.maybeToDate(i,d[i]));h.push(d)}return h},e.prototype.CSVToArray=function(t,e){e=e||",";for(var i=new RegExp("(\\"+e+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+e+"\\r\\n]*))","gi"),n=[[]],r=null;r=i.exec(t);){var o=r[1];o.length&&o!==e&&n.push([]);var s=void 0;s=r[2]?r[2].replace(new RegExp('""',"g"),'"'):r[3],n[n.length-1].push(s)}return n},e}(r.a)},"4McO":function(t,e,i){"use strict";var n=i("0Zt3"),r=i("snR7"),o=i("QXbb"),s=i("YxCF"),a=i("FmWr"),u=i("2i0j"),l=i("2Nze"),h=Math.min,c=[].push,p=!!function(){try{return new RegExp("x","y")}catch(t){}}();i("7V6K")("split",2,function(t,e,i,d){var f;return f="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!n(t))return i.call(r,t,e);for(var o,s,a,u=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,d=void 0===e?4294967295:e>>>0,f=new RegExp(t.source,h+"g");(o=l.call(f,r))&&!((s=f.lastIndex)>p&&(u.push(r.slice(p,o.index)),o.length>1&&o.index<r.length&&c.apply(u,o.slice(1)),a=o[0].length,p=s,u.length>=d));)f.lastIndex===o.index&&f.lastIndex++;return p===r.length?!a&&f.test("")||u.push(""):u.push(r.slice(p)),u.length>d?u.slice(0,d):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)}:i,[function(i,n){var r=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,r,n):f.call(String(r),i,n)},function(t,e){var n=d(f,t,this,e,f!==i);if(n.done)return n.value;var l=r(t),c=String(this),g=o(l,RegExp),y=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(p?"y":"g"),b=new g(p?l:"^(?:"+l.source+")",m),v=void 0===e?4294967295:e>>>0;if(0===v)return[];if(0===c.length)return null===u(b,c)?[c]:[];for(var _=0,x=0,P=[];x<c.length;){b.lastIndex=p?x:0;var w,O=u(b,p?c:c.slice(x));if(null===O||(w=h(a(b.lastIndex+(p?0:x)),c.length))===_)x=s(c,x,y);else{if(P.push(c.slice(_,x)),P.length===v)return P;for(var S=1;S<=O.length-1;S++)if(P.push(O[S]),P.length===v)return P;x=_=w}}return P.push(c.slice(_)),P}]})},"5+SK":function(t,e,i){var n=i("snR7"),r=i("p3CN"),o=i("heQh"),s=i("VYrJ")("IE_PROTO"),a=function(){},u=function(){var t,e=i("+wz8")("iframe"),n=o.length;for(e.style.display="none",i("Ax3V").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(t,e){var i;return null!==t?(a.prototype=n(t),i=new a,a.prototype=null,i[s]=t):i=u(),void 0===e?i:r(i,e)}},"57Qg":function(t,e,i){var n=i("Gb1H"),r=i("sxbc");n(n.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},"58Sn":function(t,e,i){"use strict";i.d(e,"a",function(){return h}),i.d(e,"e",function(){return c}),i.d(e,"d",function(){return p}),e.g=function(t,e,i,n){return t.addEventListener(e,i,n||!1),new o.b(function(){t.removeEventListener(e,i,n||!1)})},e.o=function(t){if(l.isString(t)){var e=document.getElementById(t);if(null==e&&(e=document.getElementsByClassName(t)[0]),e instanceof HTMLElement)return e}else if(t instanceof HTMLElement)return t},e.f=function(t,e){if(t.classList)t.classList.add(e);else{var i=t.getAttribute("class");i?t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" ")+" "+e):t.setAttribute("class",e)}},e.s=function(t,e){if(t.classList)t.classList.remove(e);else{var i=t.getAttribute("class");i&&t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" "))}},e.t=function(t,e,i){t.style[e]=i},e.h=function(){var t=document.createElement("input");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)},e.n=function(t){if(t instanceof HTMLElement)t.focus();else{var e=document.createElement("input"),i=document.createElementNS(h,"foreignObject");i.appendChild(e),t.appendChild(i),e.focus(),e.disabled=!0,i.remove()}},e.q=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div"),i=t.cloneNode(!0);e.appendChild(i);var n=e.innerHTML;return n},e.p=function(t){return t instanceof Object&&t&&1===t.nodeType},e.i=function(t,e){return t===e||(t.contains?t.contains(e):!t.compareDocumentPosition||!!(16&t.compareDocumentPosition(e)))},e.j=function(t,e){u.each(t.attributes,function(t){null!=t.value&&e.setAttribute(t.name,t.value)})},e.m=function(t){Object(s.c)(function(){try{var e=t.getBoundingClientRect(),i=e.left-Math.round(e.left),n=e.top-Math.round(e.top);0!==i&&Object(s.f)(function(){t.style.left=i+"px"}),0!==n&&Object(s.f)(function(){t.style.top=n+"px"})}catch(t){}})},i.d(e,"c",function(){return f}),i.d(e,"b",function(){return y}),e.r=function(t){if("loading"!==document.readyState)t();else{var e=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}},e.k=function t(e){var i="";e.currentStyle?i=e.currentStyle["font-family"]:window.getComputedStyle&&(i=document.defaultView.getComputedStyle(e,null).getPropertyValue("font-family"));if(i)return i;var n=e.parentElement||e.parentNode;return n?t(n):void 0},e.l=function t(e){var i="";e.currentStyle?i=e.currentStyle["font-size"]:window.getComputedStyle&&(i=document.defaultView.getComputedStyle(e,null).getPropertyValue("font-size"));if(i)return i;var n=e.parentElement||e.parentNode;return n?t(n):void 0};var n,r=i("m4/l"),o=i("hD5A"),s=i("/9XX"),a=i("Qkdp"),u=i("hJ5i"),l=i("Mtpk"),h="http://www.w3.org/2000/svg",c="http://www.w3.org/2000/xmlns/",p="http://www.w3.org/1999/xlink";function d(){if(!l.hasValue(n)){var t=document.createElement("style");t.type="text/css",document.head.appendChild(t),n=t.sheet}return n}var f=function(t){function e(e,i){var n=t.call(this,function(){var t=d(),e=u.indexOf(t.cssRules,n._rule);if(-1===e)throw new Error("Could not dispose StyleRule");t.deleteRule(e)})||this;return n._rule=function(t){var e=d(),i=e.cssRules.length;return e.insertRule(t+"{}",i),e.cssRules[i]}(e),a.each(i,function(t,e){n.setStyle(t,e)}),n}return r.c(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(t){this._rule.selectorText=t},enumerable:!0,configurable:!0}),e.prototype._setVendorPrefixName=function(t,e){var i=this._rule.style;i.setProperty("-webkit-"+t,e,""),i.setProperty("-moz-"+t,e,""),i.setProperty("-ms-"+t,e,""),i.setProperty("-o-"+t,e,""),i.setProperty(t,e,"")},e.prototype.setStyle=function(t,e){"transition"===t?this._setVendorPrefixName(t,e):this._rule.style.setProperty(t,e,"")},e}(o.b),g=0,y=function(t){function e(e,i){var n=this,r=l.hasValue(i)?i:"__style_"+ ++g+"__";return(n=t.call(this,"."+r,e)||this)._className=r,n}return r.c(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t,this.selector="."+t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._className},e}(f)},"5BRL":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("EhJv"),o=[].join;n(n.P+n.F*(i("sHIJ")!=Object||!i("GQop")(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},"5LIN":function(t,e,i){var n=i("Gb1H"),r=i("AzI1"),o=Math.sqrt,s=Math.acosh;n(n.S+n.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},"5Les":function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{isInteger:i("hcxM")})},"5lay":function(t,e,i){var n=i("Gb1H"),r=i("G5U1"),o=i("AEc5");t.exports=function(t,e){var i=(r.Object||{})[t]||Object[t],s={};s[t]=e(i),n(n.S+n.F*o(function(){i(1)}),"Object",s)}},"6+x4":function(t,e,i){"use strict";var n=i("Gb1H");t.exports=function(t){n(n.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},"6/bx":function(t,e,i){var n=i("DvJ+"),r=i("7GtY").set;t.exports=function(t,e,i){var o,s=e.constructor;return s!==i&&"function"==typeof s&&(o=s.prototype)!==i.prototype&&n(o)&&r&&r(t,o),t}},"68eo":function(t,e,i){i("3mH9")("WeakSet")},"6MWL":function(t,e,i){var n=i("dLrC"),r=i("Gb1H"),o=i("OB1/")("metadata"),s=o.store||(o.store=new(i("BYDm"))),a=function(t,e,i){var r=s.get(t);if(!r){if(!i)return;s.set(t,r=new n)}var o=r.get(e);if(!o){if(!i)return;r.set(e,o=new n)}return o};t.exports={store:s,map:a,has:function(t,e,i){var n=a(e,i,!1);return void 0!==n&&n.has(t)},get:function(t,e,i){var n=a(e,i,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,i,n){a(i,n,!0).set(t,e)},keys:function(t,e){var i=a(t,e,!1),n=[];return i&&i.forEach(function(t,e){n.push(e)}),n},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){r(r.S,"Reflect",t)}}},"6PqY":function(t,e,i){var n=i("Gb1H"),r=i("5+SK"),o=i("DbOM"),s=i("snR7"),a=i("DvJ+"),u=i("AEc5"),l=i("lLkc"),h=(i("T9LF").Reflect||{}).construct,c=u(function(){function t(){}return!(h(function(){},[],t)instanceof t)}),p=!u(function(){h(function(){})});n(n.S+n.F*(c||p),"Reflect",{construct:function(t,e){o(t),s(e);var i=arguments.length<3?t:o(arguments[2]);if(p&&!c)return h(t,e,i);if(t==i){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(l.apply(t,n))}var u=i.prototype,d=r(a(u)?u:Object.prototype),f=Function.apply.call(t,d,e);return a(f)?f:d}})},"6l3Y":function(t,e,i){var n=i("Gb1H");n(n.P+n.R,"Map",{toJSON:i("dJEq")("Map")})},"6mHT":function(t,e,i){for(var n=i("2/6D"),r=i("3BzE"),o=i("wDk4"),s=i("T9LF"),a=i("Vng0"),u=i("9BM3"),l=i("YEtG"),h=l("iterator"),c=l("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(d),g=0;g<f.length;g++){var y,m=f[g],b=d[m],v=s[m],_=v&&v.prototype;if(_&&(_[h]||a(_,h,p),_[c]||a(_,c,m),u[m]=p,b))for(y in n)_[y]||o(_,y,n[y],!0)}},"6w17":function(t,e,i){"use strict";var n=i("DbOM");t.exports.f=function(t){return new function(t){var e,i;this.promise=new t(function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n}),this.resolve=n(e),this.reject=n(i)}(t)}},"7DgU":function(t,e,i){i("YJIw")("Uint32",4,function(t){return function(e,i,n){return t(this,e,i,n)}})},"7GtY":function(t,e,i){var n=i("DvJ+"),r=i("snR7"),o=function(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=i("20m4")(Function.call,i("nHHr").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return o(t,i),e?t.__proto__=i:n(t,i),t}}({},!1):void 0),check:o}},"7V6K":function(t,e,i){"use strict";i("zy/o");var n=i("wDk4"),r=i("Vng0"),o=i("AEc5"),s=i("kcsd"),a=i("YEtG"),u=i("2Nze"),l=a("species"),h=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),c=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,e,i){var p=a(t),d=!o(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),f=d?!o(function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[l]=function(){return i}),i[p](""),!e}):void 0;if(!d||!f||"replace"===t&&!h||"split"===t&&!c){var g=/./[p],y=i(s,p,""[t],function(t,e,i,n,r){return e.exec===u?d&&!r?{done:!0,value:g.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),m=y[0],b=y[1];n(String.prototype,t,m),r(RegExp.prototype,p,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"7Va9":function(t,e,i){var n=i("Gb1H"),r=i("T9LF").isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},"7XB+":function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("P/bD"),o=i("Tjl+"),s=i("MipW"),a=i("aCit"),u=i("ScGY"),l=i("v9UT"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e._dateFormat="yyyy-MM-dd",e._inputDateFormat="yyyy-MM-dd",e._utc=!1,e._firstDayOfWeek=1,e._months=["January","February","March","April","May","June","July","August","September","October","November","December"],e._monthsShort=["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e._weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],e._weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e._outputFormat="svg",e.capitalize=!0,e.className="DateFormatter",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},set:function(t){this._language=t,this.dateFormat=this._language.translate("_date")},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a),void 0!==e&&""!==e||(e=this._dateFormat),e=l.cleanFormat(e);var i,n=this.parseFormat(e);if(i=h.isString(t)?this.parse(t):l.anyToDate(t),h.hasValue(this.timezoneOffset)&&i.setMinutes(i.getMinutes()+i.getTimezoneOffset()-this.timezoneOffset),!h.isNumber(i.getTime()))return this.language.translate("Invalid date");var o=this.applyFormat(i,n,this.language);return this.capitalize&&(o=o.replace(/^.{1}/,o.substr(0,1).toUpperCase())),o},e.prototype.parseFormat=function(t){var e=this.getCache(t);if(h.hasValue(e))return e;for(var i={template:"",parts:[]},n=Object(s.b)().chunk(t,!0),r=0;r<n.length;r++){var o=n[r];if("value"===o.type){o.text.match(/^date$/i)&&(o.text=this._dateFormat);var a=o.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(a)for(var l=0;l<a.length;l++)i.parts.push(a[l]),o.text=o.text.replace(a[l],u.d)}i.template+=o.text}return this.setCache(t,i),i},e.prototype.applyFormat=function(t,e,i){var n,r,o,s,a,h,c,p,d=e.template,f=t.getTimezoneOffset(),g=t.getTime();this.utc?(n=t.getUTCFullYear(),r=t.getUTCMonth(),o=t.getUTCDay(),s=t.getUTCDate(),a=t.getUTCHours(),h=t.getUTCMinutes(),c=t.getUTCSeconds(),p=t.getUTCMilliseconds()):(n=t.getFullYear(),r=t.getMonth(),o=t.getDay(),s=t.getDate(),a=t.getHours(),h=t.getMinutes(),c=t.getSeconds(),p=t.getMilliseconds());for(var y=0,m=e.parts.length;y<m;y++){var b="";switch(e.parts[y]){case"G":b=i.translate(n<0?"_era_bc":"_era_ad");break;case"yyyy":b=Math.abs(n).toString(),n<0&&(b+=i.translate("_era_bc"));break;case"yyy":case"yy":case"y":b=Math.abs(n).toString().substr(-e.parts[y].length),n<0&&(b+=i.translate("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":var v=n;1==l.getWeek(t)&&o>1&&v--,b="YYYY"==e.parts[y]?Math.abs(v).toString():Math.abs(v).toString().substr(-e.parts[y].length),v<0&&(b+=i.translate("_era_bc"));break;case"u":break;case"MMMMM":b=i.translate(this._months[r]).substr(0,1);break;case"MMMM":b=i.translate(this._months[r]);break;case"MMM":b=i.translate(this._monthsShort[r]);break;case"MM":b=l.padString(r+1,2,"0");break;case"M":b=(r+1).toString();break;case"ww":b=l.padString(l.getWeek(t,this.utc),2,"0");break;case"w":b=l.getWeek(t,this.utc).toString();break;case"W":b=l.getMonthWeek(t,this.utc).toString();break;case"dd":b=l.padString(s,2,"0");break;case"d":b=s.toString();break;case"DD":case"DDD":b=l.padString(l.getYearDay(t,this.utc).toString(),e.parts[y].length,"0");break;case"D":b=l.getYearDay(t,this.utc).toString();break;case"F":case"g":break;case"t":b=i.translateFunc("_dateOrd").call(this,s);break;case"E":b=(o||7).toString();break;case"EE":b=l.padString((o||7).toString(),2,"0");break;case"EEE":case"eee":b=i.translate(this._weekdaysShort[o]);break;case"EEEE":case"eeee":b=i.translate(this._weekdays[o]);break;case"EEEEE":case"eeeee":b=i.translate(this._weekdays[o]).substr(0,1);break;case"e":case"ee":b=(o-this.firstDayOfWeek+1).toString(),"ee"==e.parts[y]&&(b=l.padString(b,2,"0"));break;case"a":b=a>=12?i.translate("PM"):i.translate("AM");break;case"aa":b=a>=12?i.translate("P.M."):i.translate("A.M.");break;case"aaa":b=a>=12?i.translate("P"):i.translate("A");break;case"h":b=l.get12Hours(a).toString();break;case"hh":b=l.padString(l.get12Hours(a),2,"0");break;case"H":b=a.toString();break;case"HH":b=l.padString(a,2,"0");break;case"K":b=l.get12Hours(a,0).toString();break;case"KK":b=l.padString(l.get12Hours(a,0),2,"0");break;case"k":b=(a+1).toString();break;case"kk":b=l.padString(a+1,2,"0");break;case"m":b=h.toString();break;case"mm":b=l.padString(h,2,"0");break;case"s":b=c.toString();break;case"ss":b=l.padString(c,2,"0");break;case"S":case"SS":case"SSS":b=Math.round(p/1e3*Math.pow(10,e.parts[y].length)).toString();break;case"x":b=g.toString();break;case"n":case"nn":case"nnn":b=l.padString(p,e.parts[y].length,"0");break;case"z":b=l.getTimeZone(t,!1,!1,this.utc);break;case"zz":b=l.getTimeZone(t,!0,!1,this.utc);break;case"zzz":b=l.getTimeZone(t,!1,!0,this.utc);break;case"zzzz":b=l.getTimeZone(t,!0,!0,this.utc);break;case"Z":case"ZZ":var _=Math.abs(f)/60,x=Math.floor(_),P=60*_-60*x;this.utc&&(x=0,P=0),"Z"==e.parts[y]?(b="GMT",b+=f>0?"-":"+",b+=l.padString(x,2)+":"+l.padString(P,2)):(b=f>0?"-":"+",b+=l.padString(x,2)+l.padString(P,2));break;case"i":b=t.toISOString();break;case"I":b=t.toUTCString()}d=d.replace(u.d,b)}return d},e.prototype.parse=function(t,e){if(h.hasValue(e)||(e=this.inputDateFormat),t instanceof Date)return t;if("number"==typeof t)return new Date(t);"string"!=typeof t&&(t=t.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var i=new Date(1970,0,1,0,0,0),n="";e=(e=l.cleanFormat(e)).substr(0,t.length);for(var o=this.parseFormat(e),s={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},a=0,u=0,c=0;c<o.parts.length;c++){switch(u=c+a+1,o.parts[c]){case"yyyy":case"YYYY":n+="([0-9]{4})",s.year=u;break;case"yyy":case"YYY":n+="([0-9]{3})",s.year3=u;break;case"yy":case"YY":n+="([0-9]{2})",s.year2=u;break;case"y":case"Y":n+="([0-9]{1})",s.year1=u;break;case"MMMM":n+="("+this.getStringList(this._months).join("|")+")",s.monthLong=u;break;case"MMM":n+="("+this.getStringList(this._monthsShort).join("|")+")",s.monthShort=u;break;case"MM":case"M":n+="([0-9]{2}|[0-9]{1})",s.month=u;break;case"ww":case"w":n+="([0-9]{2}|[0-9]{1})",s.week=u;break;case"dd":case"d":n+="([0-9]{2}|[0-9]{1})",s.day=u;break;case"DDD":case"DD":case"D":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",s.yearDay=u;break;case"dddd":n+="("+this.getStringList(this._weekdays).join("|")+")",s.weekdayLong=u;break;case"ddd":n+="("+this.getStringList(this._weekdaysShort).join("|")+")",s.weekdayShort=u;break;case"aaa":case"aa":case"a":n+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",s.am=u;break;case"hh":case"h":n+="([0-9]{2}|[0-9]{1})",s.hour12Base1=u;break;case"HH":case"H":n+="([0-9]{2}|[0-9]{1})",s.hourBase0=u;break;case"KK":case"K":n+="([0-9]{2}|[0-9]{1})",s.hour12Base0=u;break;case"kk":case"k":n+="([0-9]{2}|[0-9]{1})",s.hourBase1=u;break;case"mm":case"m":n+="([0-9]{2}|[0-9]{1})",s.minute=u;break;case"ss":case"s":n+="([0-9]{2}|[0-9]{1})",s.second=u;break;case"SSS":case"SS":case"S":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",s.millisecond=u,s.millisecondDigits=o.parts[c].length;break;case"nnn":case"nn":case"n":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",s.millisecond=u;break;case"x":n+="([0-9]{1,})",s.timestamp=u;break;case"Z":n+="GMT([-+]+[0-9]{2}:[0-9]{2})",s.zone=u;break;case"ZZ":n+="([\\-+]+[0-9]{2}[0-9]{2})",s.zone=u;break;case"i":n+="([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{3})([Zz]?)",s.iso=u,a+=7;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz":case"zzz":case"zz":case"z":case"t":a--}n+="[^0-9]*"}var p=new RegExp(n),d=t.match(p);if(d){if(s.year>-1){var f=parseInt(d[s.year]);this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(s.year3>-1){f=parseInt(d[s.year3]);f+=1e3,this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(s.year2>-1){f=parseInt(d[s.year2]);f+=f>50?1e3:2e3,this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(s.year1>-1){f=parseInt(d[s.year1]);f=10*Math.floor((new Date).getFullYear()/10)+f,this.utc?i.setUTCFullYear(f):i.setFullYear(f)}if(s.monthLong>-1){f=this.resolveMonth(d[s.monthLong]);this.utc?i.setUTCMonth(f):i.setMonth(f)}if(s.monthShort>-1){f=this.resolveShortMonth(d[s.monthShort]);this.utc?i.setUTCMonth(f):i.setMonth(f)}if(s.month>-1){f=parseInt(d[s.month])-1;this.utc?i.setUTCMonth(f):i.setMonth(f)}if(s.week>-1&&-1===s.day){f=l.getDayFromWeek(parseInt(d[s.week]),this.utc?i.getUTCFullYear():i.getFullYear(),1,this.utc);this.utc?(i.setUTCMonth(0),i.setUTCDate(f)):(i.setMonth(0),i.setDate(f))}if(s.day>-1){f=parseInt(d[s.day]);this.utc?i.setUTCDate(f):i.setDate(f)}if(s.yearDay>-1){f=parseInt(d[s.yearDay]);this.utc?(i.setUTCMonth(0),i.setUTCDate(f)):(i.setMonth(0),i.setDate(f))}if(s.hourBase0>-1){f=parseInt(d[s.hourBase0]);this.utc?i.setUTCHours(f):i.setHours(f)}if(s.hourBase1>-1){f=parseInt(d[s.hourBase1])-1;this.utc?i.setUTCHours(f):i.setHours(f)}if(s.hour12Base0>-1)11==(f=parseInt(d[s.hour12Base0]))&&(f=0),s.am>-1&&!this.isAm(d[s.am])&&(f+=12),this.utc?i.setUTCHours(f):i.setHours(f);if(s.hour12Base1>-1)12==(f=parseInt(d[s.hour12Base1]))&&(f=0),s.am>-1&&!this.isAm(d[s.am])&&(f+=12),this.utc?i.setUTCHours(f):i.setHours(f);if(s.minute>-1){f=parseInt(d[s.minute]);this.utc?i.setUTCMinutes(f):i.setMinutes(f)}if(s.second>-1){f=parseInt(d[s.second]);this.utc?i.setUTCSeconds(f):i.setSeconds(f)}if(s.millisecond>-1){f=parseInt(d[s.millisecond]);2==s.millisecondDigits?f*=10:1==s.millisecondDigits&&(f*=100),this.utc?i.setUTCMilliseconds(f):i.setMilliseconds(f)}if(s.timestamp>-1&&i.setTime(parseInt(d[s.timestamp])),s.zone>-1){var g=d[s.zone].replace(/:/,""),y=h.getValue(g.match(/([+\-]?)([0-9]{2})([0-9]{2})/)),m=y[1],b=y[2],v=y[3],_=60*parseInt(b)+parseInt(v);"+"==m&&(_*=-1);var x=_-i.getTimezoneOffset();0!=x&&i.setMinutes(i.getMinutes()+x)}s.iso>-1&&("Z"==d[s.iso+7]||"z"==d[s.iso+7]?((i=new Date).setUTCFullYear(h.toNumber(d[s.iso+0])),i.setUTCMonth(h.toNumber(d[s.iso+1])-1),i.setUTCDate(h.toNumber(d[s.iso+2])),i.setUTCHours(h.toNumber(d[s.iso+3])),i.setUTCMinutes(h.toNumber(d[s.iso+4])),i.setUTCSeconds(h.toNumber(d[s.iso+5])),i.setUTCMilliseconds(h.toNumber(d[s.iso+6]))):i=new Date(h.toNumber(d[s.iso+0]),h.toNumber(d[s.iso+1])-1,h.toNumber(d[s.iso+2]),h.toNumber(d[s.iso+3]),h.toNumber(d[s.iso+4]),h.toNumber(d[s.iso+5]),h.toNumber(d[s.iso+6])))}else i=new Date(t);return i},e.prototype.resolveMonth=function(t){var e=this._months.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this._months).indexOf(t))>-1?e:0},e.prototype.resolveShortMonth=function(t){var e=this._monthsShort.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this._monthsShort).indexOf(t))>-1?e:0},e.prototype.isAm=function(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i<t.length;i++)e.push(l.escapeForRgex(t[i])),this.language&&!this.language.isDefault()&&e.push(l.escapeForRgex(this.language.translate(t[i])));return e},Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputDateFormat",{get:function(){return this._inputDateFormat},set:function(t){this._inputDateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"utc",{get:function(){return this._utc},set:function(t){this._utc=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezoneOffset",{get:function(){return this._timezoneOffset},set:function(t){this._timezoneOffset!=t&&(this._timezoneOffset=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstDayOfWeek",{get:function(){return this._firstDayOfWeek},set:function(t){this._firstDayOfWeek=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(o.a);a.b.registeredClasses.DateFormatter=c},"7bL/":function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},"7xho":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("W0fk");n(n.P+n.F*i("AEc5")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=r(this),i=o(e);return"number"!=typeof i||isFinite(i)?e.toISOString():null}})},"85D4":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("ohjg"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="DesaturateFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"saturate"}),e.filterPrimitives.push(e.feColorMatrix),e.width=120,e.height=120,e.saturation=0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"saturation",{get:function(){return this.properties.saturation},set:function(t){this.properties.saturation=t,this.feColorMatrix.attr({values:t.toString()})},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.DesaturateFilter=s},"8EhG":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("MIZb"),a=i("Mtpk"),u=function(t){function e(e){var i=t.call(this)||this;i.axis=e,i.element=i.paper.add("path"),i.className="AxisFill",i.isMeasured=!1,i.location=0;var n=new s.a;return i.fill=n.getFor("alternativeBackground"),i.fillOpacity=0,i.applyTheme(),i}return n.c(e,t),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e.prototype.draw=function(){t.prototype.draw.call(this),this.axis&&a.isNumber(this.startPosition)&&a.isNumber(this.endPosition)&&(this.fillPath=this.axis.getPositionRangePath(this.startPosition,this.endPosition),this.path=this.fillPath)},Object.defineProperty(e.prototype,"startPosition",{get:function(){return this.getPropertyValue("startPosition")},set:function(t){this.setPropertyValue("startPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){return this.getPropertyValue("endPosition")},set:function(t){this.setPropertyValue("endPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.AxisFill=u},"8LiO":function(t,e,i){"use strict";i("Mvcd")("sub",function(t){return function(){return t(this,"sub","","")}})},"8LwG":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("6w17"),o=i("wYgt");n(n.S,"Promise",{try:function(t){var e=r.f(this),i=o(t);return(i.e?e.reject:e.resolve)(i.v),e.promise}})},"8NlW":function(t,e,i){"use strict";i("Mvcd")("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},"8ZqG":function(t,e,i){"use strict";i.d(e,"a",function(){return s}),e.c=a,e.d=u,e.b=l,e.e=function(t){if(o.hasValue(t)&&!u(t))return l(t);return t};var n=i("aCit"),r=i("hxI2"),o=i("Mtpk"),s=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?r.rgbToHex(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?r.rgbToRGBA(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return null!=this._value&&null!=this._value.a?this._value.a:1},set:function(t){this._value&&(this._value.a=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(t){this._lightColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(t){this._darkColor=t},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(e){return new t(r.lighten(this.rgb,e))},t.prototype.brighten=function(e){return new t(r.brighten(this.rgb,e))},t.prototype.saturate=function(e){return new t(r.saturate(this.rgb,e))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(null!=this.rgb)return r.isLight(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function a(t,e){if(!o.hasValue(t))return new s(void 0);if("string"==typeof t){var i="_color_"+t+"_"+(e||"1"),a=n.b.getCache(i);if(a)return new s({r:a.r,g:a.g,b:a.b,a:a.a});var u=r.rgb(t,e);return n.b.setCache(i,u),new s(u)}return t instanceof s?(o.hasValue(e)&&(t.alpha=e),t):new s(t)}function u(t){return t instanceof s}function l(t){return a(t)}},"8aZA":function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{clamp:function(t,e,i){return Math.min(i,Math.max(e,t))}})},"8oRD":function(t,e,i){var n=i("DvJ+");i("5lay")("isExtensible",function(t){return function(e){return!!n(e)&&(!t||t(e))}})},"8rbL":function(t,e,i){var n=i("EhJv"),r=i("rkh7").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return s.slice()}}(t):r(n(t))}},"8tDI":function(t,e,i){var n=i("Gb1H"),r=Math.imul;n(n.S+n.F*i("AEc5")(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n;return 0|r*o+((65535&i>>>16)*o+r*(65535&n>>>16)<<16>>>0)}})},"8ujI":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(2);n(n.P+n.F*!i("GQop")([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},"9BM3":function(t,e){t.exports={}},"9MGJ":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("DbOM"),s=i("hjwn");i("gD3S")&&n(n.P+i("3/+B"),"Object",{__defineSetter__:function(t,e){s.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},"9UcF":function(t,e,i){var n=i("Gb1H");n(n.S,"Object",{create:i("5+SK")})},"9i/o":function(t,e,i){"use strict";var n=i("AEc5"),r=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=n(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!n(function(){o.call(new Date(NaN))})?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),i=t.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+("00000"+Math.abs(e)).slice(n?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(i>99?i:"0"+s(i))+"Z"}:o},A6AV:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("Tjl+"),o=i("x79X"),s=i("1yyj"),a=i("v9UT"),u=i("hJ5i"),l=i("Qkdp"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e._disabled=!1,e.hasProperties=!1,e.values={},e.categories={},e.dates={},e.locations={},e.workingLocations={},e.properties={},e.sprites=[],e.isTemplate=!1,e._index=null,e._visible=!0,e._hidden=!1,e._ignoreMinMax=!1,e.hasChildren={},e.isHiding=!1,e._valueAnimations={},e._locationAnimations={},e.className="DataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"index",{get:function(){return this.component&&null!=this._index?this._index:-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new s.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return!this._hidden&&this._visible},set:function(t){t&&(this.hidden=!1),this._visible!=t&&this.setVisibility(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden!=t&&(this._hidden=t,t?this.setVisibility(!1):this.setVisibility(!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,u.each(this.sprites,function(e){e.__disabled=t})},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){if(u.each(this.sprites,function(e){t?e.visible=e.defaultState.properties.visible:e.hiddenState?e.visible=e.hiddenState.properties.visible:e.visible=!1}),this._visible=t,this.events.isEnabled("visibilitychanged")){var i={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",i)}},e.prototype.show=function(t,e,i){var n,r=this;if(!this.hidden)return this.setVisibility(!0,!0),this.isHiding=!1,this._hideDisposer&&this.removeDispose(this._hideDisposer),i&&u.each(i,function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)}),u.each(this.sprites,function(i){var n=i.show(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),n},e.prototype.dispose=function(){t.prototype.dispose.call(this),u.each(this.sprites,function(t){t.dispose()}),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r=this;if(this.isHiding=!0,u.each(this.sprites,function(i){var n=i.hide(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),h.isNumber(i)&&n){var o;if(u.each(n,function(n){var s=r.setWorkingValue(n,i,t,e);s&&(o=s)}),o&&!o.isFinished())return this._hideDisposer=o.events.on("animationended",function(){r.setVisibility(!1,!0),r.isHiding=!1}),this._disposers.push(this._hideDisposer),o;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){if(!h.isNumber(t)){var e=this.component;e&&(t=e.interpolationDuration)}if(null!=t)return this.adapter.apply("duration",t)},e.prototype.getValue=function(t,e){if(t&&this.component){e||(e=this.component.dataFields[t+"Show"])||(e="value");var i=this.values[t][e];return this.adapter.isEnabled("value")?this.adapter.apply("value",{value:i,field:t}).value:i}},e.prototype.getWorkingValue=function(t){if(t&&this.component){var e=this.component.dataFields[t+"Show"];return e||(e="workingValue"),this.adapter.apply("workingValue",{workingValue:this.values[t][e],field:t}).workingValue}},e.prototype.getActualWorkingValue=function(t){return this.values[t].workingValue},e.prototype.setValue=function(t,e,i,n){var r=this.values[t].value,o=this.getDuration(i);if(r!==(e=h.toNumber(e))){if(this.values[t].value=e,this.events.isEnabled("valuechanged")){var s={type:"valuechanged",target:this,property:t};this.events.dispatchImmediately("valuechanged",s)}this.component&&this.component.handleDataItemValueChange(this,t)}this.setWorkingValue(t,e,o,n)},e.prototype.setCalculatedValue=function(t,e,i){if(this.values[t][i]!==e&&h.isNumber(e)){if(this.values[t][i]=e,this.events.isEnabled("calculatedvaluechanged")){var n={type:"calculatedvaluechanged",target:this,property:t};this.events.dispatchImmediately("calculatedvaluechanged",n)}this.component&&this.component.handleDataItemCalculatedValueChange(this,t)}},e.prototype.setWorkingValue=function(t,e,i,n){if(h.isNumber(this.values[t].value)){var r=this.getDuration(i),o=this.values[t].workingValue;if(null!=r&&r>0&&h.isNumber(o)&&this.component){if(o!=e){var s=this.animate({childObject:this.values[t],property:"workingValue",from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&s.delay(n),s.events.on("animationstarted",this.handleInterpolationProgress,this),s.events.on("animationprogress",this.handleInterpolationProgress,this),s.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=s,s}(a=this._valueAnimations[t])&&a.stop(),this.values[t].workingValue=e}else{var a;if((a=this._valueAnimations[t])&&a.stop(),this.values[t].workingValue=e,this.events.isEnabled("workingvaluechanged")){var u={type:"workingvaluechanged",target:this,property:t};this.events.dispatchImmediately("workingvaluechanged",u)}this.component&&this.component.handleDataItemWorkingValueChange(this,t)}}},e.prototype.setLocation=function(t,e,i,n){if(this.locations[t]!==e){if(this.locations[t]=e,this.events.isEnabled("locationchanged")){var r={type:"locationchanged",target:this,property:t};this.events.dispatchImmediately("locationchanged",r)}this.component&&this.component.handleDataItemValueChange(this,t),this.setWorkingLocation(t,e,i,n)}},e.prototype.setWorkingLocation=function(t,e,i,n){var r=this.getDuration(i),o=this.workingLocations[t];if(null!=r&&r>0&&h.isNumber(o)&&this.component){if(o!=e){var s=this.animate({childObject:this.workingLocations,property:t,from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&s.delay(n),s.events.on("animationstarted",this.handleInterpolationProgress,this),s.events.on("animationprogress",this.handleInterpolationProgress,this),s.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=s,s}(a=this._locationAnimations[t])&&a.stop(),this.workingLocations[t]=e}else{var a;if((a=this._locationAnimations[t])&&a.stop(),this.workingLocations[t]=e,this.events.isEnabled("workinglocationchanged")){var u={type:"workinglocationchanged",target:this,property:t};this.events.dispatchImmediately("workinglocationchanged",u)}this.component&&this.component.handleDataItemWorkingLocationChange(this,t)}},e.prototype.setDate=function(t,e,i){!h.isDate(e)&&this.component&&(e=this.component.dateFormatter.parse(e)),this.dates[t]!==e&&(this.dates[t]=e,this.setValue(t,e.getTime(),i))},e.prototype.getDate=function(t){return this.adapter.apply("date",{date:this.dates[t],field:t}).date},e.prototype.setProperty=function(t,e){if(this.properties[t]!==e){if(this.hasProperties=!0,this.properties[t]=e,this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:t,value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this,t)}},e.prototype.setCategory=function(t,e){h.isString(e)||(e=h.castString(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.clone=function(e){var i=t.prototype.clone.call(this,e);return i.copyFrom(this),i},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=a.copy(e.dataContext,{})),a.copyProperties(e.locations,this.locations),a.copyProperties(e.properties,this.properties),a.copyProperties(e.categories,this.categories),a.copyProperties(e.values,this.values),a.copyProperties(e.dates,this.dates),l.each(e.values,function(t,e){i.values[t]=l.copy(e)}),this.adapter.copyFrom(e.adapter),this.events.copyFrom(e.events),this.component=e.component},Object.defineProperty(e.prototype,"opacity",{set:function(t){u.each(this.sprites,function(e){e.opacity=t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){if(this._ignoreMinMax=t,this.events.isEnabled("propertychanged")){var e={type:"propertychanged",target:this,property:"ignoreMinMax",value:t};this.events.dispatchImmediately("propertychanged",e)}this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),e.prototype.animate=function(t,e,i){return new s.a(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target.animationOptions[0];if(e){if(this.events.isEnabled("workingvaluechanged")){var i={type:"workingvaluechanged",target:this,property:e.dummyData};this.events.dispatchImmediately("workingvaluechanged",i)}this.component&&this.component.handleDataItemWorkingValueChange(this,e.dummyData)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;e<i;e++){var n=this.values[t[e]];if(!n||!h.hasValue(n.value))return!1}return!0},Object.defineProperty(e.prototype,"depth",{get:function(){return this.parent?this.parent.depth+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataContext",{get:function(){return this._dataContext},set:function(t){this._dataContext=t},enumerable:!0,configurable:!0}),e.prototype.addSprite=function(t){t.dataItem&&t.dataItem!=this&&u.remove(t.dataItem.sprites,t),this.visible||t.hide(0),this.isHiding&&t.hide(),this.sprites.push(t),t.dataItem=this},e}(r.b)},AAkI:function(t,e,i){"use strict";i.d(e,"b",function(){return w}),i.d(e,"a",function(){return O});var n,r=i("m4/l"),o=i("Y9w3"),s=i("C6dT"),a=i("A6AV"),u=i("Uslz"),l=i("p9TX"),h=i("cxKZ"),c=i("VGgz"),p=i("vMqJ"),d=i("hD5A"),f=i("aCit"),g=i("MIZb"),y=i("Wglt"),m=i("Gg2j"),b=i("v9UT"),v=i("3Cxr"),_=i("hJ5i"),x=i("Mtpk"),P=i("TGuK"),w=function(t){function e(){var e=t.call(this)||this;return e.className="AxisDataItem",e.applyTheme(),e}return r.c(e,t),Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if((i=t.axisRanges.template.grid).disabled)return;e=i.clone()}else{if((i=t.renderer.grid.template).disabled)return;e=t.renderer.grid.create(),this._disposers.push(new d.b(function(){t.renderer.grid.removeValue(e)}))}this.grid=e,e.shouldClone=!1,this._disposers.push(e),e.axis=this.component}}return this._grid},set:function(t){this._grid&&this._grid!=t&&(_.remove(this.sprites,this._grid),this._grid.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.grid=void 0),this.addSprite(t)),this._grid=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){if(!this._tick){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if((i=t.axisRanges.template.tick).disabled)return;e=i.clone()}else{if((i=t.renderer.ticks.template).disabled)return;e=t.renderer.ticks.create(),this._disposers.push(new d.b(function(){t.renderer.ticks.removeValue(e)}))}this.tick=e,e.axis=this.component,e.shouldClone=!1,this._disposers.push(e)}}return this._tick},set:function(t){this._tick&&this._tick!=t&&(_.remove(this.sprites,this._tick),this._tick.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.tick=void 0),this.addSprite(t)),this._tick=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){if(!this._label){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if((i=t.axisRanges.template.label).disabled)return;e=i.clone()}else{if((i=t.renderer.labels.template).disabled)return;e=t.renderer.labels.create(),this._disposers.push(new d.b(function(){t.renderer.labels.removeValue(e)}))}this._disposers.push(e),this.label=e,e.shouldClone=!1,e.axis=this.component,e.virtualParent=t}}return this._label},set:function(t){this._label&&this._label!=t&&(_.remove(this.sprites,this._label),this._label.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.label=void 0),this.addSprite(t)),this._label=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisFill",{get:function(){if(!this._axisFill){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if(i=t.axisRanges.template.axisFill,!this.isTemplate&&i.disabled)return;e=i.clone()}else{if((i=t.renderer.axisFills.template).disabled)return;e=t.renderer.axisFills.create(),this._disposers.push(new d.b(function(){t.renderer.axisFills.removeValue(e)}))}this.axisFill=e,e.shouldClone=!1,this._disposers.push(e)}}return this._axisFill},set:function(t){this._axisFill&&this._axisFill!=t&&(_.remove(this.sprites,this._axisFill),this._axisFill.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.remove(t.dataItem.sprites,t),t.dataItem.axisFill=void 0),t.axis=this.component,this.addSprite(t)),this._axisFill=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t,this._label&&(this._label.text=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mask",{get:function(){return this._mask},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contents",{get:function(){if(!this._contents){var t=new s.a;this.addSprite(t),t.isMeasured=!1,this._contents=t;var e=this.component;if(e){var i=e.renderer.createFill(this.component);i.disabled=!1,i.axis=e,this.addSprite(i),this._mask=i,t.mask=i}}return this._contents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisBreak",{get:function(){return this._axisBreak},set:function(t){this._axisBreak&&this._axisBreak.dataItems.removeValue(this),t&&t.dataItems.push(this),this._axisBreak=t},enumerable:!0,configurable:!0}),e.prototype.validate=function(){this.component&&this.component.validateDataElement(this)},e.prototype.appendChildren=function(){this.component&&this.component.appendDataItem(this)},e.prototype.configOrder=function(t,e){return t==e?0:"language"==t?-1:"language"==e?1:"component"==t?-1:"component"==e?1:0},e.prototype.hasProperty=function(e){return"component"==e||t.prototype.hasProperty.call(this,e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.text=e.text},e}(a.a);!function(t){t[t.Start=0]="Start",t[t.Middle=.5]="Middle",t[t.End=1]="End"}(n||(n={}));var O=function(t){function e(){var e=t.call(this)||this;e._gridCount=10,e._series=new p.b,e.autoDispose=!0,e.className="Axis",e.shouldClone=!1,e.setPropertyValue("cursorTooltipEnabled",!0);var i=new g.a;e.title=new l.a,e.title.shouldClone=!1,e._disposers.push(e.title),e.setPropertyValue("startLocation",0),e.setPropertyValue("endLocation",1),e._dataItemsIterator=new y.ListIterator(e.dataItems,function(){return e.dataItems.create()}),e._dataItemsIterator.createNewItems=!0;var n=new h.a;e._disposers.push(n),n.label.padding(5,10,5,10),n.background.pointerLength=5,n.fitPointerToBounds=!0,n.background.filters.clear(),n.virtualParent=e;var r=n.background;return r.cornerRadius=0,r.fill=i.getFor("alternativeBackground"),r.stroke=r.fill,r.strokeWidth=1,r.fillOpacity=1,n.label.fill=i.getFor("alternativeText"),e.tooltip=n,e.applyTheme(),e}return r.c(e,t),e.prototype.fillRule=function(t,e){x.isNumber(e)||(e=t.index),e/2==Math.round(e/2)?(t.axisFill.__disabled=!0,t.axisFill.opacity=0):(t.axisFill.opacity=1,t.axisFill.__disabled=!1)},e.prototype.createDataItem=function(){return new w},e.prototype.invalidateLayout=function(){t.prototype.invalidateLayout.call(this),y.each(this.series.iterator(),function(t){t.invalidateLayout()})},e.prototype.invalidateSeries=function(){y.each(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateDataElements=function(){this.ghostLabel&&this.renderer.updateLabelElement(this.ghostLabel,this.start,this.end)},e.prototype.updateGridCount=function(){this.renderer&&(this._gridCount=this.axisLength/this.renderer.minGridDistance)},e.prototype.validateLayout=function(){this.axisFullLength=this.axisLength/(this.end-this.start),t.prototype.validateLayout.call(this),this.updateGridCount(),this.renderer.updateAxisLine(),this.renderer.updateTooltip(),this.renderer.updateBaseGridElement(),this._prevLength!=this.axisLength&&(this.dispatchImmediately("lengthchanged"),this._prevLength=this.axisLength)},e.prototype.initRenderer=function(){},e.prototype.appendDataItem=function(t){var e=this.renderer;t.tick&&(t.tick.parent=e.gridContainer),t.label&&(t.label.parent=e),t.grid&&(t.grid.parent=e.gridContainer),t.axisFill&&(t.axisFill.parent=e.gridContainer)},e.prototype.validate=function(){t.prototype.validate.call(this),this.validateLayout(),this.renderer.updateGridContainer()},e.prototype.validateAxisRanges=function(){var t=this;y.each(this.axisRanges.iterator(),function(e){t.appendDataItem(e),t.validateDataElement(e),e.grid&&e.grid.validate(),e.tick&&e.tick.validate(),e.axisFill&&e.axisFill.validate(),e.label&&e.label.validate()})},e.prototype.validateBreaks=function(){y.each(this.axisBreaks.iterator(),function(t){t.invalidate()})},e.prototype.processBreak=function(t){var e=t.newValue;e.parent=this.renderer.breakContainer,e.axis=this},e.prototype.registerSeries=function(t){var e=this;return this.series.moveValue(t),new d.c([new d.b(function(){e.series.removeValue(t)}),this.events.on("lengthchanged",t.invalidate,t,!1),this.events.on("startchanged",t.invalidate,t,!1),this.events.on("endchanged",t.invalidate,t,!1)])},Object.defineProperty(e.prototype,"renderer",{get:function(){return this._renderer},set:function(t){if(t!=this._renderer){this._renderer=t,t.chart=this.chart,t.axis=this,t.parent=this,this.title.parent=this,this.initRenderer(),this._disposers.push(t.gridContainer.events.on("maxsizechanged",this.invalidate,this,!1));var e=this.renderer.labels.create();this._disposers.push(e),e.dataItem=this.dataItems.template.clone(),e.text="L",e.parent=this.renderer,e.shouldClone=!1,e.fillOpacity=0,e.opacity=0,e.strokeOpacity=0,e.interactionsEnabled=!1,e.validate(),this.ghostLabel=e,this.events.on("beforedatavalidated",function(){e.text="L"},void 0,!1)}},enumerable:!0,configurable:!0}),e.prototype.positionToAngle=function(t){return this.renderer.positionToAngle(t)},e.prototype.pointToPosition=function(t){return this.renderer.pointToPosition(t)},e.prototype.getAnyRangePath=function(t,e){return this.renderer.getPositionRangePath(t,e)},e.prototype.anyToPosition=function(t){return 0},e.prototype.anyToPoint=function(t){return{x:0,y:0,angle:0}},e.prototype.getPositionRangePath=function(t,e){return this.renderer.getPositionRangePath(t,e)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.renderer.axisLength},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(t){this.setPropertyValue("cursorTooltipEnabled",t)&&t&&this.renderer&&this.renderer.updateTooltip()},enumerable:!0,configurable:!0}),e.prototype.showTooltipAtPosition=function(t,e){var i=this._tooltip;if(e||(t=this.toAxisPosition(t)),!x.isNumber(t)||t<0||t>1)i.hide(0);else{var n=this.renderer;if(i&&this.dataItems.length>0){i&&!i.parent&&(i.parent=this.tooltipContainer);var r=n.tooltipLocation,o=this.getCellStartPosition(t),s=this.getCellEndPosition(t);"fixed"==this.tooltipPosition&&(t=o+(s-o)*r),t=m.fitToRange(t,this.start,this.end);var a=n.positionToPoint(o),u=n.positionToPoint(s);this.currentItemStartPoint=a,this.currentItemEndPoint=u,n.fullWidthTooltip&&(i.width=u.x-a.x,i.height=u.y-a.y);var l=n.positionToPoint(t),h=b.spritePointToSvg(l,this.renderer.line);i.text=this.getTooltipText(t),i.text&&(i.pointTo(h),i.show()),this.cursorTooltipEnabled||i.hide(0)}}},e.prototype.toAxisPosition=function(t){if(void 0!=(t=this.renderer.toAxisPosition(t)))return t*=this.end-this.start,t=this.renderer.inversed?this.end-t:this.start+t},e.prototype.toGlobalPosition=function(t){return this.renderer.inversed?t=this.end-t:t-=this.start,t/(this.end-this.start)},e.prototype.getTooltipText=function(t){},e.prototype.updateTooltip=function(t,e){var i=this._tooltip;i&&(i.pointerOrientation=t,i.setBounds(b.spriteRectToSvg(e,this.renderer.line)))},e.prototype.roundPosition=function(t,e){return t},e.prototype.getCellStartPosition=function(t){return t},e.prototype.getCellEndPosition=function(t){return t},Object.defineProperty(e.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var t=this.createDataItem();t.isRange=!0,t.axisFill=this.renderer.axisFills.template.clone(),t.grid=this.renderer.grid.template.clone(),t.tick=this.renderer.ticks.template.clone(),t.label=this.renderer.labels.template.clone(),t.isTemplate=!0,t.component=this,t.axisFill.disabled=!1,t.tick.disabled=!1,t.grid.disabled=!1,t.label.disabled=!1,this._axisRanges=new p.e(t),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new p.c(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),e.prototype.processAxisRange=function(t){var e=t.newValue;e.component=this,e.isRange=!0},Object.defineProperty(e.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new c.d(this.createAxisBreak(),function(t,e){return v.order(t.adjustedStartValue,e.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new p.c(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),e.prototype.createAxisBreak=function(){return new u.a},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new p.b),this._series},enumerable:!0,configurable:!0}),e.prototype.processSeriesDataItems=function(){},e.prototype.processSeriesDataItem=function(t,e){},e.prototype.postProcessSeriesDataItems=function(){},e.prototype.postProcessSeriesDataItem=function(t){},e.prototype.updateAxisBySeries=function(){},e.prototype.hideUnusedDataItems=function(){var t=this,e=this._dataItemsIterator;e.createNewItems=!1,y.each(e.iterator(),function(e){t.validateDataElement(e),e.__disabled=!0}),e.clear(),e.createNewItems=!0},e.prototype.getSeriesDataItem=function(t,e,i){},e.prototype.getAngle=function(t,e,i,n){},e.prototype.getX=function(t,e,i,n){},e.prototype.getY=function(t,e,i,n){},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.dataChangeUpdate=function(){},e.prototype.seriesDataChangeUpdate=function(t){},e.prototype.adjustDifference=function(t,e){var i=e-t;if(x.isNumber(i))return y.eachContinue(this.axisBreaks.iterator(),function(n){var r=n.adjustedStartValue,o=n.adjustedEndValue;if(x.isNumber(r)&&x.isNumber(o)){if(r>e)return!1;if(o>=t&&x.isNumber(r)&&x.isNumber(o)){var s=n.breakSize,a=m.intersection({start:r,end:o},{start:t,end:e});a&&(i-=(a.end-a.start)*(1-s))}return!0}}),i},e.prototype.isInBreak=function(t){return y.find(this.axisBreaks.iterator(),function(e){return t>=e.adjustedStartValue&&t<=e.adjustedEndValue})},e.prototype.fixAxisBreaks=function(){var t=this,e=this.axisBreaks;if(e.length>0){_.each(y.toArray(e.iterator()),function(e){var i=m.min(e.startValue,e.endValue),n=m.max(e.startValue,e.endValue);e.adjustedStartValue=i,e.adjustedEndValue=n,t.axisBreaks.update(e)});var i=e.first,n=Math.min(i.startValue,i.endValue);y.each(this.axisBreaks.iterator(),function(t){var e=t.adjustedStartValue,i=t.adjustedEndValue;e<n&&(e=n,i<n&&(i=n)),t.adjustedStartValue=e,t.adjustedEndValue=i})}},Object.defineProperty(e.prototype,"startIndex",{get:function(){return 0},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endIndex",{get:function(){return this.dataItems.length},set:function(t){},enumerable:!0,configurable:!0}),e.prototype.getPositionLabel=function(t){return Math.round(100*t)+"%x"},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.createSeriesRange=function(t){var e=this.axisRanges.create();return e.component=this,e.axisFill=this.renderer.axisFills.template.clone(),e.axisFill.disabled=!1,e.axisFill.fillOpacity=0,e.grid=this.renderer.grid.template.clone(),e.grid.disabled=!0,e.tick=this.renderer.ticks.template.clone(),e.tick.disabled=!0,e.label=this.renderer.labels.template.clone(),e.label.disabled=!0,t.axisRanges.push(e),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.renderer?this.renderer.copyFrom(e.renderer):e.renderer&&(this.renderer=e.renderer.clone()),e.title&&(this.title=e.title.clone())},e.prototype.resetIterators=function(){this._dataItemsIterator.reset()},e.prototype.processConfig=function(e){if(e&&x.hasValue(e.axisRanges)&&x.isArray(e.axisRanges))for(var i=0,n=e.axisRanges.length;i<n;i++){var r=e.axisRanges[i];x.hasValue(r.series)&&x.isString(r.series)&&this.map.hasKey(r.series)&&(e.axisRanges[i]=this.createSeriesRange(this.map.getKey(r.series)),delete r.series,e.axisRanges[i].config=r)}t.prototype.processConfig.call(this,e)},Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e}(o.a);f.b.registeredClasses.Axis=O,f.b.registeredClasses.AxisDataItem=w,P.c.push({relevant:P.b.maybeXS,state:function(t,e){if(t instanceof O&&t.tooltip){var i=t.states.create(e);return i.properties.cursorTooltipEnabled=!1,i}return null}})},AC2I:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return m});var n=i("m4/l"),r=i("aM7D"),o=i("Vs7R"),s=i("p9TX"),a=i("qzbU"),u=i("vMqJ"),l=i("C6dT"),h=i("DHte"),c=i("aCit"),p=i("Wglt"),d=i("0FpR"),f=i("hD5A"),g=i("TGuK"),y=function(t){function e(){var e=t.call(this)||this;return e.className="PercentSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e.prototype.uidAttr=function(){return this.slice.uidAttr()},e.prototype.hide=function(e,i,n,r){return r||(r=["value"]),t.prototype.hide.call(this,e,i,0,r)},e.prototype.setVisibility=function(e,i){i||(e?this.setWorkingValue("value",this.values.value.value,0,0):this.setWorkingValue("value",0,0,0)),t.prototype.setVisibility.call(this,e,i)},e.prototype.show=function(e,i,n){return n||(n=["value"]),t.prototype.show.call(this,e,i,n)},Object.defineProperty(e.prototype,"category",{get:function(){return this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){this.component.createLegendMarker(t,this)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,t.label&&(t.label.dataItem=this),t.valueLabel&&(t.valueLabel.dataItem=this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){var t=this;if(!this._tick){var e=this.component.ticks.create();this._tick=e,this._disposers.push(e),e.parent=this.component.ticksContainer,this._disposers.push(new f.b(function(){t.component&&t.component.ticks.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._tick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this._label=e,this._disposers.push(e),e.parent=this.component.labelsContainer,this._disposers.push(new f.b(function(){t.component&&t.component.labels.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slice",{get:function(){var t=this;if(!this._slice){var e=this.component,i=e.slices.create();this._slice=i,this._disposers.push(i),i.parent=e.slicesContainer,this._disposers.push(new f.b(function(){e.slices.removeValue(i)})),this.addSprite(i),i.visible=this.visible,e.itemsFocusable()?(i.role="menuitem",i.focusable=!0):(i.role="listitem",i.focusable=!1),i.focusable&&(i.events.once("focus",function(n){i.readerTitle=e.populateString(e.itemReaderText,t)},void 0,!1),i.events.once("blur",function(t){i.readerTitle=""},void 0,!1)),i.hoverable&&(i.events.once("over",function(n){i.readerTitle=e.populateString(e.itemReaderText,t)},void 0,!1),i.events.once("out",function(t){i.readerTitle=""},void 0,!1))}return this._slice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.properties.hiddenInLegend},set:function(t){this.setProperty("hiddenInLegend",t)},enumerable:!0,configurable:!0}),e}(r.b),m=function(t){function e(){var e=t.call(this)||this;e.className="PercentSeries",e._addAllDataItems=!1,e.colors=new h.a,e.colors.step=1,e.isMeasured=!0,e.calculatePercent=!0;var i=e.createChild(l.a);i.shouldClone=!1,i.isMeasured=!1,e.slicesContainer=i;var n=e.createChild(l.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",e.ticksContainer=n;var r=e.createChild(l.a);return r.shouldClone=!1,r.isMeasured=!1,r.layout="none",e.labelsContainer=r,e.alignLabels=!1,e.bulletsContainer.toFront(),e.skipFocusThreshold=50,e.defaultState.transitionEasing=d.sinOut,e.itemReaderText="{category}: {value.percent.formatNumber('#.#')}%",e.applyTheme(),e}return n.c(e,t),e.prototype.createSlice=function(){return new o.a},e.prototype.createTick=function(){return new a.a},e.prototype.createLabel=function(){return new s.a},Object.defineProperty(e.prototype,"slices",{get:function(){if(!this._slices){var t=this.createSlice();t.applyOnClones=!0,this._disposers.push(t),this.initSlice(t),this._slices=new u.e(t),this._disposers.push(new u.c(this._slices))}return this._slices},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,this._disposers.push(t),this.initTick(t),this._ticks=new u.e(t),this._disposers.push(new u.c(this._ticks))}return this._ticks},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();t.applyOnClones=!0,this._disposers.push(t),this.initLabel(t),this._labels=new u.e(t),this._disposers.push(new u.c(this._labels))}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createDataItem=function(){return new y},e.prototype.initSlice=function(t){},e.prototype.initLabel=function(t){t.text="{category}: {value.percent.formatNumber('#.0')}%",t.isMeasured=!1,t.padding(5,5,5,5)},e.prototype.initTick=function(t){},e.prototype.validateDataElement=function(e){var i=e.slice;i&&(void 0==i.fill&&(i.fill=this.colors.getIndex(e.index*this.colors.step)),void 0==i.stroke&&(i.stroke=this.colors.getIndex(e.index*this.colors.step))),t.prototype.validateDataElement.call(this,e),i&&e.bullets.each(function(t,e){void 0==e.fill&&(e.fill=i.fill),void 0==e.stroke&&(e.stroke=i.stroke)})},e.prototype.validateData=function(){t.prototype.validateData.call(this),this.chart&&this.chart.feedLegend()},e.prototype.arrangeLabels=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e].label;if(n){var r=this.getNextLabel(e+1,t);n.invalid&&n.validate();var o=n.pixelY+n.measuredHeight;r&&r.y<o&&(r.y=o)}}},e.prototype.arrangeLabels2=function(t){for(var e=this.maxHeight/2,i=t.length-1;i>=0;i--){var n=t[i].label;n&&n.pixelY+n.measuredHeight>e&&(n.y=e-n.measuredHeight,e=n.y)}},e.prototype.getNextLabel=function(t,e){if(e.length>=t){var i=e[t];if(i)return i.label?i.label:this.getNextLabel(t+1,e)}},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t,e){p.each(t.children.iterator(),function(i){var n=e.slice;i.defaultState.properties.fill=n.fill,i.defaultState.properties.stroke=n.stroke,i.defaultState.properties.fillOpacity=n.fillOpacity,i.defaultState.properties.strokeOpacity=n.strokeOpacity,i.fill=n.fill,i.stroke=n.stroke,i.fillOpacity=n.fillOpacity,i.strokeOpacity=n.strokeOpacity,void 0==i.fill&&(i.__disabled=!0);var r=t.dataItem;r.color=n.fill,r.colorOrig=n.fill,i.addDisposer(n.events.on("propertychanged",function(t){"fill"==t.property&&(i.__disabled=!1,i.isActive||(i.fill=n.fill),i.defaultState.properties.fill=n.fill,r.color=n.fill,r.colorOrig=n.fill),"stroke"==t.property&&(i.isActive||(i.stroke=n.stroke),i.defaultState.properties.stroke=n.stroke)},void 0,!1))})},e.prototype.handleSliceScale=function(t){var e=this,i=t.target.dataItem;p.each(i.bullets.iterator(),function(t){var i=t[1];e.positionBullet(i)})},e.prototype.handleSliceMove=function(t){},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slices.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template)},Object.defineProperty(e.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(t){this.setAlignLabels(t)},enumerable:!0,configurable:!0}),e.prototype.setAlignLabels=function(t){this.setPropertyValue("alignLabels",t,!0)},e}(r.a);c.b.registeredClasses.PercentSeries=m,c.b.registeredClasses.PercentSeriesDataItem=y,g.c.push({relevant:g.b.maybeXS,state:function(t,e){if(t instanceof m){var i=t.states.create(e);return t.labels.template.states.create(e).properties.disabled=!0,t.ticks.template.states.create(e).properties.disabled=!0,i}return null}})},AEc5:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},AaJ4:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("8ZqG"),a=i("MIZb"),u=i("TGuK"),l=function(t){function e(){var e=t.call(this)||this;e.className="Grid",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1;var i=new a.a;return e.stroke=i.getFor("grid"),e.pixelPerfect=!0,e.strokeOpacity=.15,e.fill=Object(s.c)(),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.b.registeredClasses.Grid=l,u.c.push({relevant:u.b.maybeXS,state:function(t,e){if(t instanceof l){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},AiPC:function(t,e,i){i("YJIw")("Uint16",2,function(t){return function(e,i,n){return t(this,e,i,n)}})},Ax3V:function(t,e,i){var n=i("T9LF").document;t.exports=n&&n.documentElement},AzI1:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"B+tY":function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},B2g9:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FUSD"),o=i("vSjZ");n(n.P+n.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},BEgH:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("aGXA"),o=i("Vs7R"),s=i("aCit"),a=i("MIZb"),u=i("hGwe"),l=i("Mtpk"),h=function(t){function e(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new a.a,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new o.a;r.element=e.paper.add("path");var s=u.moveTo({x:0,y:0});return s+=u.lineTo({x:11,y:0}),r.path=s,r.pixelPerfect=!0,r.padding(8,3,8,3),r.stroke=i.getFor("primaryButtonText"),e.icon=r,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.a);s.b.registeredClasses.ZoomOutButton=h},BTtL:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},BYDm:function(t,e,i){"use strict";var n,r=i("dstF")(0),o=i("wDk4"),s=i("kFp5"),a=i("bdjS"),u=i("0YcW"),l=i("DvJ+"),h=i("AEc5"),c=i("rFJX"),p=s.getWeak,d=Object.isExtensible,f=u.ufstore,g={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(l(t)){var e=p(t);return!0===e?f(c(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(c(this,"WeakMap"),t,e)}},b=t.exports=i("/Xnt")("WeakMap",y,m,u,!0,!0);h(function(){return 7!=(new b).set((Object.freeze||Object)(g),7).get(g)})&&(a((n=u.getConstructor(y,"WeakMap")).prototype,m),s.NEED=!0,r(["delete","has","get","set"],function(t){var e=b.prototype,i=e[t];o(e,t,function(e,r){if(l(e)&&!d(e)){this._f||(this._f=new n);var o=this._f[t](e,r);return"set"==t?this:o}return i.call(this,e,r)})}))},BmDP:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("qzbU"),o=i("hD5A"),s=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e._label=new o.d,e._slice=new o.d,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=this.label,n=e.dataItem.component;if(e&&e.radius>0&&i&&i.text){var r=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,o=e.dy+e.slice.dy+e.pixelY+e.iy*e.radiusY*e.scale,s=void 0,a=void 0,u=void 0,l=void 0;if(n.alignLabels)s=i.pixelX-this.length,a=i.pixelY,u=i.pixelX,l=a,"right"==i.horizontalCenter&&(u=(s+=2*this.length)-this.length);else{var h=i.pixelRadius(e.radius);u=s=r+h*e.ix,l=a=o+h*e.iy}this.element.attr({points:[r,o,s,a,u,l]})}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new o.c([t.events.on("transformed",this.invalidate,this),t.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.PieTick=a},C2uA:function(t,e,i){i("YJIw")("Int16",2,function(t){return function(e,i,n){return t(this,e,i,n)}})},C6dT:function(t,e,i){"use strict";i.d(e,"a",function(){return v});var n=i("m4/l"),r=i("Vs7R"),o=i("ux7t"),s=i("vMqJ"),a=i("hD5A"),u=i("+qIf"),l=i("zhwk"),h=i("GtDR"),c=i("tjMS"),p=i("aCit"),d=i("MIZb"),f=i("Wglt"),g=i("hJ5i"),y=i("Gg2j"),m=i("Mtpk"),b=i("Rpw0"),v=function(t){function e(){var e=t.call(this)||this;return e._childrenByLayout=[],e._childrenDisposers=new u.a,e.hasFocused=!1,e.setStateOnSprites=[],e.layoutInvalid=!1,e._absoluteWidth=0,e._absoluteHeight=0,e._shouldBeReady=[],e._tapToActivate=!1,e.tapTimeout=3e3,e.className="Container",e._element=e.paper.addGroup("g"),e.group.add(e.element),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("layout","absolute"),e.setPropertyValue("fixedWidthGrid",!1),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e._positionPrecision=4,e._disposers.push(new u.b(e._childrenDisposers)),e.children.events.on("inserted",e.handleChildAdded,e),e.children.events.on("removed",e.handleChildRemoved,e),e.applyTheme(),e}return n.c(e,t),e.prototype.handleChildAdded=function(t){this.processChild(t.newValue)},e.prototype.processChild=function(t){try{this._childrenDisposers.insertKey(t.uid,new a.c([t.events.on("transformed",this.handleChildTransform,this),t.events.on("zIndexChanged",this.sortAndAdd,this)]))}catch(t){}this.element&&!t.disabled&&this.element.add(t.group);t.parent=this,t.paper=this.paper,this.dispatchImmediately("childadded",{type:"childadded",newValue:t}),this.invalidate()},e.prototype.sortAndAdd=function(){this.sortChildren(),this.addChildren()},e.prototype.handleChildRemoved=function(t){var e=t.oldValue;(this._childrenDisposers.removeKey(e.uid),this.element)&&this.element.removeElement(e.group);e.isMeasured&&this.invalidateLayout(),this.dispatchImmediately("childremoved",{type:"childremoved",oldValue:e})},e.prototype.handleChildTransform=function(t){t.target.isMeasured&&this.invalidateLayout()},e.prototype.invalidateLayout=function(){this.layoutInvalid||this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||(this.layoutInvalid=!0,p.b.addToInvalidLayouts(this),b.b.requestFrame())},e.prototype.invalidate=function(){t.prototype.invalidate.call(this),this.invalidateLayout()},e.prototype.deepInvalidate=function(){t.prototype.invalidate.call(this),g.each(this._childrenByLayout,function(t){t instanceof e?t.deepInvalidate():t.invalidate()}),this.invalidateLayout()},Object.defineProperty(e.prototype,"children",{get:function(){return this._children||(this._children=new s.b),this._children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),e.prototype.removeElement=function(){},e.prototype.sortChildren=function(){var t=this;if(this._childrenByLayout=[],"none"!=this.layout&&"absolute"!=this.layout&&this.layout){var e=[],i=[];f.each(this.children.iterator(),function(n){"horizontal"==t.layout||"grid"==t.layout?m.isNumber(n.percentWidth)?i.push(n):e.push(n):"vertical"==t.layout&&m.isNumber(n.percentHeight)?i.push(n):e.push(n)}),this._childrenByLayout=e.concat(i)}else this._childrenByLayout=this.children.values;this.calculateRelativeSize()},e.prototype.calculateRelativeSize=function(){var t=this,e=0,i=0;g.each(this._childrenByLayout,function(t){t.isMeasured&&(m.isNumber(t.percentWidth)&&(e+=t.percentWidth),m.isNumber(t.percentHeight)&&(i+=t.percentHeight))}),g.each(this._childrenByLayout,function(n){n.isMeasured&&("horizontal"==t.layout&&(m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/e),m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100)),"vertical"==t.layout&&(m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/i),m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100)),"grid"==t.layout&&(m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100),m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100))),"absolute"!=t.layout&&n.isMeasured||(m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100),m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100))})},e.prototype.addChildren=function(){if(this.element){var t=g.copy(this.children.values),e=t.map(function(t,e){return{idx:e,data:t}});e.sort(function(t,e){var i=t.data.zIndex||0,n=e.data.zIndex||0;return i<n?-1:i>n?1:t.idx-e.idx}),t=e.map(function(t){return t.data});var i=this.element,n=!0;if(i.node&&i.node.childNodes)for(var r=0,o=i.node.childNodes.length;r<o;r++)if(i.node.childNodes[r]!=t[r].group.node){n=!1;break}n||(g.each(t,function(t){t.group&&i.add(t.group)}),this._background&&this.group.addToBack(this._background.group),this.invalidateLayout())}},e.prototype.createChild=function(t){var e=new t;return e.parent=this,e},e.prototype.removeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.dispose(),this.children.removeValue(t)}},Object.defineProperty(e.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(t){this._background&&this.background!=t&&this.removeDispose(this._background),t&&(this._background=t,this._disposers.push(t),this.processBackground())},enumerable:!0,configurable:!0}),e.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(t){t.handleGlobalScale()})},e.prototype.createBackground=function(){return new h.a},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=(new d.a).getFor("background"),t.parent=this,t.isMeasured=!1,this.children.removeValue(t),this._disposers.push(t),this.group.addToBack(this._background.group))},e.prototype.validateLayout=function(){var t=this;p.b.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var e=0,i=0,n=!0;this.children&&(this.sortChildren(),g.each(this._childrenByLayout,function(r){var o,s;if(m.isNumber(r.relativeWidth)?(o=y.round(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(o-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),m.isNumber(r.relativeHeight)?(s=y.round(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(s-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),0==r.invalid){if(m.isNumber(r.relativeWidth)&&(r.maxWidth=o),m.isNumber(r.relativeHeight)&&(r.maxHeight=s),r.isMeasured){"horizontal"==t.layout&&(m.isNumber(r.percentWidth)||r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight)),"vertical"==t.layout&&(m.isNumber(r.percentHeight)||r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom));var a=r.measuredWidth,u=r.measuredHeight;"none"!=r.align&&(a+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(u+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,a),i=Math.max(i,u)}}else r.isMeasured&&(m.isNumber(r.relativeWidth)&&r.maxWidth!=o&&(r.maxWidth=o,n=!1),m.isNumber(r.relativeHeight)&&r.maxHeight!=s&&(r.maxHeight=s,n=!1))})),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t,e,i,n,r,o,s,a,u,l,h,p=this,d=this.children,b=0,v=0,_=y.max(this.innerWidth,this._absoluteWidth),x=y.max(this.innerHeight,this._absoluteHeight),P=this.pixelPaddingLeft,w=this.pixelPaddingRight,O=this.pixelPaddingTop,S=this.pixelPaddingBottom,T=0,C=0,k=0,M=0,j=[],I=[],V=this.maxWidth,D=this.maxHeight,E=this.minWidth,F=this.minHeight,R=g.copy(d.values);if(this.reverseOrder&&R.reverse(),"grid"==this.layout){o=V,r=1;for(var A=0,L=R.length;A<L;A++){if((B=R[A]).isMeasured&&!B.disabled&&!B.__disabled){var N=B.measuredWidth;N<o&&(o=N),N>r&&(r=N)}}o=y.fitToRange(o,1,V),r=y.fitToRange(r,1,V),s=this.fixedWidthGrid?V/r:V/o,s=y.max(1,Math.floor(s)),s=y.min(this.maxColumns,s),j=this.getColumnWidth(R,s,r)}for(A=0,L=R.length;A<L;A++){var B;if(!(B=R[A]).isMeasured||B.disabled||B.__disabled)B.validatePosition();else{var H=void 0,G=void 0,W=B.pixelMarginLeft,U=B.pixelMarginRight,z=B.pixelMarginTop,Y=B.pixelMarginBottom,X=B.measuredWidth,K=B.measuredHeight,J=void 0,Z=void 0,q=void 0,Q=void 0;switch(this.layout){case"none":break;case"absolute":switch(B.align){case"left":H=W-B.maxLeft;break;case"center":H=(_-X)/2-B.maxLeft;break;case"right":H=_-U-B.maxRight;break;default:B.x instanceof c.a||(H=B.pixelX)}switch(B.valign){case"top":G=z-B.maxTop;break;case"middle":G=(x-K)/2-B.maxTop;break;case"bottom":G=x-Y-B.maxBottom;break;default:B.y instanceof c.a||(G=B.pixelY)}break;case"vertical":switch(B.align){case"left":H=W-B.maxLeft;break;case"center":H=(_-X)/2-B.maxLeft;break;case"right":H=_-U-B.maxRight;break;default:H=B.pixelX}C=(G=C+z-B.maxTop)+B.maxBottom+Y;break;case"horizontal":switch(B.valign){case"top":G=z-B.maxTop;break;case"middle":G=(x-K)/2-B.maxTop;break;case"bottom":G=x-Y-B.maxBottom;break;default:G=B.pixelY}T=(H=T+W-B.maxLeft)+B.maxRight+U;break;case"grid":switch(H=T+W-B.maxLeft,B.valign){case"top":G=C+z-B.maxTop;break;case"middle":G=C+(x-K)/2-B.maxTop;break;case"bottom":G=C+x-Y-B.maxBottom;break;default:G=C-B.maxTop}T+=j[M],I[k]=y.max(I[k],K);var $=j[++M];if(m.isNumber($)||($=r),T>y.min(this.innerWidth,V)-$+1&&M<s){s=M,T=0,C=0,k=0,M=0,j=this.getColumnWidth(R,s,r),I=[],A=-1;continue}M>=s&&(M=0,C+=I[k],k++,T=0)}"none"!==this.layout&&(B.moveTo({x:H,y:G}),J=H+B.maxLeft-W,Z=H+B.maxRight+U,q=G+B.maxTop-z,Q=G+B.maxBottom+Y,(Z>e||!m.isNumber(e))&&(e=Z),(J<t||!m.isNumber(t))&&(t=J),(q<i||!m.isNumber(i))&&(i=q),(Q>n||!m.isNumber(n))&&(n=Q),(Z>u||!m.isNumber(u))&&(u=Z),(J<a||!m.isNumber(a))&&(a=J),(q<l||!m.isNumber(l))&&(l=q),(Q>h||!m.isNumber(h))&&(h=h))}}if("none"==this.layout){var tt=this.bbox;t=tt.x,e=tt.x+tt.width,i=tt.y,n=tt.y+tt.height}m.isNumber(t)||(t=0,a=0),m.isNumber(e)||(u=e=this._availableWidth),m.isNumber(i)||(i=0,l=0),m.isNumber(n)||(h=n=this._availableHeight),m.isNumber(l)||(l=0),m.isNumber(h)||(h=l),m.isNumber(a)||(a=0),m.isNumber(u)||(u=a),b=e-t,v=n-i,m.isNumber(this.relativeWidth)&&(t=0,e=b=V-P-w),m.isNumber(this.relativeHeight)&&(i=0,n=v=D-O-S),m.isNumber(this._pixelWidth)&&(t=0,b=this._pixelWidth-P-w),m.isNumber(E)&&b<E&&(t=0,b=this.minWidth-P-w),m.isNumber(this._pixelHeight)&&(i=0,v=this._pixelHeight-O-S),m.isNumber(F)&&v<F&&(i=0,v=F-O-S);var et=u-a,it=h-l;if("none"!=this.layout&&(this.contentAlign||this.contentValign)&&d.length>0){var nt,rt,ot=b,st=v;ot<et&&(ot=et),st<it&&(st=it),"center"==this.contentAlign&&(nt=(ot-et)/2),"right"==this.contentAlign&&(nt=ot-et),"middle"==this.contentValign&&(rt=(st-it)/2),"bottom"==this.contentValign&&(rt=st-it),m.isNumber(nt)&&f.each(d.iterator(),function(t){var e=t.maxLeft,i=nt;"horizontal"==p.layout&&(t.x=t.pixelX+i),"grid"==p.layout&&(t.x=t.pixelX+i),"vertical"==p.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e)),"absolute"==p.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e))}),m.isNumber(rt)&&f.each(d.iterator(),function(t){var e=t.maxTop,i=rt;"horizontal"==p.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e)),"grid"==p.layout&&(i+=t.pixelMarginTop,t.y=i-e),"vertical"==p.layout&&(t.y=t.pixelY+i),"absolute"==p.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e))})}var at=this.bbox;b=y.max(b,E),v=y.max(v,F),this.contentWidth=b,this.contentHeight=v,b=y.min(b,V),v=y.min(v,D),this._bbox={x:t,y:i,width:b,height:v};var ut=this.maxLeft,lt=this.maxTop,ht=this.maxBottom,ct=this.maxRight;if(this.measure(),(ut!=this.maxLeft||ct!=this.maxRight||lt!=this.maxTop||ht!=this.maxBottom)&&this.events.isEnabled("transformed")){var pt={type:"transformed",target:this};at&&(pt.dummyData=at.width+" "+b+"  "+at.height+" "+v),this.events.dispatchImmediately("transformed",pt)}},e.prototype.updateCenter=function(){t.prototype.updateCenter.call(this),this.updateBackground()},e.prototype.updateBackground=function(){var t=this._background;t&&(t.x=this.maxLeft,t.y=this.maxTop,t.width=this.maxRight-this.maxLeft,t.height=this.maxBottom-this.maxTop)},e.prototype.getColumnWidth=function(t,e,i){var n=this,r=[],o=0;return g.each(t,function(t){t.isMeasured&&(n.fixedWidthGrid?r[o]=i:r[o]=y.max(r[o],t.measuredWidth+t.pixelMarginRight+t.pixelMarginLeft),++o==e&&(o=0))}),r},Object.defineProperty(e.prototype,"layout",{get:function(){return this.getPropertyValue("layout")},set:function(t){this.setPropertyValue("layout",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentValign",{get:function(){return this.getPropertyValue("contentValign")},set:function(t){this.setPropertyValue("contentValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentAlign",{get:function(){return this.getPropertyValue("contentAlign")},set:function(t){this.setPropertyValue("contentAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedWidthGrid",{get:function(){return this.getPropertyValue("fixedWidthGrid")},set:function(t){this.setPropertyValue("fixedWidthGrid",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColumns",{get:function(){return this.getPropertyValue("maxColumns")},set:function(t){this.setPropertyValue("maxColumns",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseOrder",{get:function(){return this.getPropertyValue("reverseOrder")},set:function(t){this.setPropertyValue("reverseOrder",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"setStateOnChildren",{get:function(){return this.getPropertyValue("setStateOnChildren")},set:function(t){this.setPropertyValue("setStateOnChildren",t,!0)},enumerable:!0,configurable:!0}),e.prototype.fitsToBounds=function(t){var e=t.x,i=t.y;return e>=-.5&&e<=this.pixelWidth+.5&&i>=-.5&&i<=this.pixelHeight+.5},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),f.each(e.children.iterator(),function(t){t.shouldClone&&(t.clone().parent=i)})},Object.defineProperty(e.prototype,"preloader",{get:function(){var t=this._preloader;return t||(this.parent?this.parent.preloader:void 0)},set:function(t){this._preloader&&this.removeDispose(this._preloader),this._preloader=t,t&&(t.parent=this.tooltipContainer,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(t){t.setPaper(e),t.topParent=i.topParent})),n},e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),p.b.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&f.each(this.children.iterator(),function(t){t.dataItem=e}),t.prototype.setDataItem.call(this,e)},e.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},e.prototype.getTooltipX=function(){return t.prototype.getTooltipX.call(this)},e.prototype.getTooltipY=function(){return t.prototype.getTooltipY.call(this)},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(t){this.setPropertyValue("fontFamily",t,!0)&&(this.setSVGAttribute({"font-family":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(t){this.setPropertyValue("fontSize",t,!0)&&(this.setSVGAttribute({"font-size":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),e.prototype.invalidateLabels=function(){this.children.each(function(t){t.hardInvalidate?t.hardInvalidate():t instanceof e&&t.invalidateLabels()})},Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")},set:function(t){this.setPropertyValue("fontWeight",t),this.setSVGAttribute({"font-weight":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(t){this.setPropertyValue("textDecoration",t),this.setSVGAttribute({"text-decoration":t})},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},e.prototype.setState=function(e,i,n){var r=e;return e instanceof o.a&&(r=e.name),this.setStateOnChildren&&f.each(this.children.iterator(),function(t){t.setState(r,i,n),"active"!=r&&(t.isActive=!1)}),this._background&&this._background.setState(r),this.setStateOnSprites.length&&g.each(this.setStateOnSprites,function(t){t.setState(r,i,n)}),t.prototype.setState.call(this,e,i,n)},e.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},e.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;this.children.each(function(t){t.__disabled||t.disabled||t.isReady()||(i=!1)}),g.each(this._shouldBeReady,function(t){t.__disabled||t.disabled||t.isReady()||(i=!1)}),i?t.prototype.dispatchReady.call(this):p.b.events.once("exitframe",function(){e.dispatchReady(),b.b.requestFrame()},void 0,!1)}},e.prototype._systemUpdate=function(e){this.children.each(function(t){t.invalid&&(t._systemCheckIfValidate()?t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid?e.push(t):t.validate():e.push(t))}),t.prototype._systemUpdate.call(this,e)},e.prototype._systemValidatePositions=function(){this.children.each(function(t){t.positionInvalid&&t.validatePosition()}),t.prototype._systemValidatePositions.call(this)},e.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(e.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(t){this._tapToActivate!=t&&this.setTapToActivate(t)},enumerable:!0,configurable:!0}),e.prototype.setTapToActivate=function(t){var e=this;this._tapToActivate=t,this.interactions.isTouchProtected=t,t&&this.interactions.setEventDisposer("container-tapToActivate",t,function(){return new a.c([e.events.on("hit",e.handleTapToActivate,e,!1),e.events.on("down",e.initTapTimeout,e,!1),e.events.on("track",e.initTapTimeout,e,!1),Object(l.b)().body.events.on("down",function(t){Object(l.b)().isLocalElement(t.pointer,e.paper.svg,e.uid)||e.handleTapToActivateDeactivation()},e,!1)])}),Object(l.b)()},e.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},e.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},e.prototype.initTapTimeout=function(){var t=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){t.handleTapToActivateDeactivation()},this.tapTimeout))},e}(r.a);p.b.registeredClasses.Container=v},C84C:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("ohjg"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="LightenFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.lightness=0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"lightness",{get:function(){return this.properties.lightness},set:function(t){this.properties.lightness=t;var e=t+1;this.feColorMatrix.attr({values:e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 1 0"})},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.LightenFilter=s},CTEm:function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i("m4/l"),r=i("P/bD"),o=i("Tjl+"),s=i("MipW"),a=i("aCit"),u=i("ScGY"),l=i("Qkdp"),h=i("v9UT"),c=i("Mtpk"),p=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._numberFormat="#,###.#####",e._outputFormat="svg",e.className="NumberFormatter",e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.language&&this.language.dispose()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this.sprite?this._language=this.sprite.language:this._language=new r.a),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e){void 0!==e&&"number"!==e.toLowerCase()||(e=this._numberFormat),e=h.cleanFormat(e);var i,n=this.parseFormat(e,this.language),r=Number(t);return(i=r>this._negativeBase?n.positive:r<this._negativeBase?n.negative:n.zero).template.split(u.d).join(this.applyFormat(r,i))},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(n))return n;var r={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1}},o=(t=t.replace("||",u.e)).split("|");return r.positive.source=o[0],void 0===o[2]?r.zero=r.positive:r.zero.source=o[2],void 0===o[1]?r.negative=r.positive:r.negative.source=o[1],l.each(r,function(t,e){if(!e.parsed)if(void 0===i.getCache(e.source)){var n=e.source;"number"===n.toLowerCase()&&(n=i._numberFormat);for(var o=Object(s.b)().chunk(n,!0),a=0;a<o.length;a++){var l=o[a];if(l.text=l.text.replace(u.e,"|"),"value"===l.type){var h=l.text.match(/[#0.,]+[ ]?[abesABES%]?[abesABES‰]?/);if(h)if(null===h||""===h[0])e.template+=l.text;else{var p=h[0].match(/[abesABES%‰]{2}|[abesABES%‰]{1}$/);p&&(e.mod=p[0].toLowerCase(),e.modSpacing=!!h[0].match(/[ ]{1}[abesABES%‰]{1}$/));var d=h[0].split(".");if(""===d[0]);else{e.thousands.active=(d[0].match(/0/g)||[]).length,e.thousands.passive=(d[0].match(/\#/g)||[]).length+e.thousands.active;var f=d[0].split(",");1===f.length||(e.thousands.interval=c.getValue(f.pop()).length,0===e.thousands.interval&&(e.thousands.interval=-1))}void 0===d[1]||(e.decimals.active=(d[1].match(/0/g)||[]).length,e.decimals.passive=(d[1].match(/\#/g)||[]).length+e.decimals.active),e.template+=l.text.split(h[0]).join(u.d)}}else e.template+=l.text}i.setCache(e.source,e),e.parsed=!0}else r[t]=i.getCache(e.source)}),this.setCache(t,r),r},e.prototype.applyFormat=function(t,e){var i=t<0;t=Math.abs(t);var n="",r="",o=e.mod?e.mod.split(""):[];if(-1!==o.indexOf("b")){var s=this.applyPrefix(t,this.bytePrefixes);t=s[0],n=s[1],r=s[2],e.modSpacing&&(r=" "+r)}else if(-1!==o.indexOf("a")){var a=this.applyPrefix(t,t<1?this.smallNumberPrefixes:this.bigNumberPrefixes);t=a[0],n=a[1],r=a[2],e.modSpacing&&(r=" "+r)}else-1!==o.indexOf("%")?(t*=100,r="%"):-1!==o.indexOf("‰")&&(t*=1e3,r="‰");if(-1!==o.indexOf("e")){var u=void 0;u=e.decimals.passive>=0?t.toExponential(e.decimals.passive).split("e"):t.toExponential().split("e"),t=Number(u[0]),r="e"+u[1],e.modSpacing&&(r=" "+r)}else if(0===e.decimals.passive)t=Math.round(t);else if(e.decimals.passive>0){var l=Math.pow(10,e.decimals.passive);t=Math.round(t*l)/l}var c="",p=h.numberToString(t).split("."),d=p[0];if(d.length<e.thousands.active&&(d=Array(e.thousands.active-d.length+1).join("0")+d),e.thousands.interval>0){for(var f=[],g=d.split("").reverse().join(""),y=0,m=d.length;y<=m;y+=e.thousands.interval){var b=g.substr(y,e.thousands.interval).split("").reverse().join("");""!==b&&f.unshift(b)}d=f.join(e.thousands.separator)}c+=d,1===p.length&&p.push("");var v=p[1];return v.length<e.decimals.active&&(v+=Array(e.decimals.active-v.length+1).join("0")),""!==v&&(c+=e.decimals.separator+v),""===c&&(c="0"),0!==t&&i&&-1===o.indexOf("s")&&(c="-"+c),n&&(c=n+c),r&&(c+=r),c},e.prototype.applyPrefix=function(t,e){for(var i=t,n="",r="",o=0,s=e.length;o<s;o++)e[o].number<=t&&(i=0===e[o].number?0:t/e[o].number,n=e[o].prefix,r=e[o].suffix);return[i,n,r]},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this._numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"negativeBase",{get:function(){return this._negativeBase},set:function(t){this._negativeBase=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bigNumberPrefixes",{get:function(){return c.hasValue(this._bigNumberPrefixes)||(this._bigNumberPrefixes=[{number:1e3,suffix:this.language.translate("_big_number_suffix_3")},{number:1e6,suffix:this.language.translate("_big_number_suffix_6")},{number:1e9,suffix:this.language.translate("_big_number_suffix_9")},{number:1e12,suffix:this.language.translate("_big_number_suffix_12")},{number:1e15,suffix:this.language.translate("_big_number_suffix_15")},{number:1e18,suffix:this.language.translate("_big_number_suffix_18")},{number:1e21,suffix:this.language.translate("_big_number_suffix_21")},{number:1e24,suffix:this.language.translate("_big_number_suffix_24")}]),this._bigNumberPrefixes},set:function(t){this._bigNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smallNumberPrefixes",{get:function(){return c.hasValue(this._smallNumberPrefixes)||(this._smallNumberPrefixes=[{number:1e-24,suffix:this.language.translate("_small_number_suffix_24")},{number:1e-21,suffix:this.language.translate("_small_number_suffix_21")},{number:1e-18,suffix:this.language.translate("_small_number_suffix_18")},{number:1e-15,suffix:this.language.translate("_small_number_suffix_15")},{number:1e-12,suffix:this.language.translate("_small_number_suffix_12")},{number:1e-9,suffix:this.language.translate("_small_number_suffix_9")},{number:1e-6,suffix:this.language.translate("_small_number_suffix_6")},{number:.001,suffix:this.language.translate("_small_number_suffix_3")}]),this._smallNumberPrefixes},set:function(t){this._smallNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bytePrefixes",{get:function(){return c.hasValue(this._bytePrefixes)||(this._bytePrefixes=[{number:0,suffix:this.language.translate("_byte_suffix_B")},{number:1024,suffix:this.language.translate("_byte_suffix_KB")},{number:1048576,suffix:this.language.translate("_byte_suffix_MB")},{number:1073741824,suffix:this.language.translate("_byte_suffix_GB")},{number:1099511627776,suffix:this.language.translate("_byte_suffix_TB")},{number:0x4000000000000,suffix:this.language.translate("_byte_suffix_PB")}]),this._bytePrefixes},set:function(t){this._bytePrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.escape=function(t){return t.replace("||",u.e)},e.prototype.unescape=function(t){return t.replace(u.e,"|")},e}(o.a);a.b.registeredClasses.NumberFormatter=p},Cekr:function(t,e,i){"use strict";var n=i("5+SK"),r=i("Wbjh"),o=i("bPwn"),s={};i("Vng0")(s,i("YEtG")("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(s,{next:r(1,i)}),o(t,e+" Iterator")}},CnhP:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("Gg2j"),a=i("Mtpk"),u=function(t){function e(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(a.isNumber(e)&&a.isNumber(i)){var n=s.min(Math.abs(e/2),Math.abs(i/2)),r=s.fitToRange(this.cornerRadiusTopLeft,0,n),o=s.fitToRange(this.cornerRadiusTopRight,0,n),u=s.fitToRange(this.cornerRadiusBottomRight,0,n),l=s.fitToRange(this.cornerRadiusBottomLeft,0,n),h="M"+r+",0 L"+(e-o)+",0"+(" a"+o+","+o+" 0 0 1 "+o+","+o)+(" L"+e+","+(i-u))+(" a"+u+","+u+" 0 0 1 -"+u+","+u)+(" L"+l+","+i)+(" a"+l+","+l+" 0 0 1 -"+l+",-"+l)+(" L0,"+r)+(" a"+r+","+r+" 0 0 1 "+r+",-"+r)+" Z";this.path=h}},e.prototype.cornerRadius=function(t,e,i,n){this.cornerRadiusTopLeft=t,this.cornerRadiusTopRight=e,this.cornerRadiusBottomLeft=i,this.cornerRadiusBottomRight=n},Object.defineProperty(e.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(t){this.setPropertyValue("cornerRadiusTopLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(t){this.setPropertyValue("cornerRadiusTopRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(t){this.setPropertyValue("cornerRadiusBottomRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(t){this.setPropertyValue("cornerRadiusBottomLeft",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.RoundedRectangle=u},CuFa:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("Tjl+"),o=i("vMqJ"),s=i("P7v+"),a=i("aCit"),u=i("Wglt"),l=i("Mtpk"),h=i("tjMS"),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.b,e.element=e.paper.addGroup("radialGradient"),e.id="gradient-"+a.b.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t,e=this,i=this.element;l.isNumber(this.cx)&&((t=this.cx)instanceof h.a&&(t=t.percent+"%"),i.attr({cx:t}));l.isNumber(this.cy)&&((t=this.cy)instanceof h.a&&(t=t.percent+"%"),i.attr({cy:t}));this.fx&&((t=this.fx)instanceof h.a&&(t=t.percent+"%"),i.attr({fx:t}));this.fy&&((t=this.fy)instanceof h.a&&(t=t.percent+"%"),i.attr({fy:t}));i.removeChildNodes(),u.each(u.indexed(this._stops.iterator()),function(t){var n=t[0],r=t[1],o=r.offset;l.isNumber(o)||(o=n/(e._stops.length-1));var s=e.paper.add("stop");l.hasValue(r.color)&&s.attr({"stop-color":r.color.toString()}),l.isNumber(r.opacity)&&s.attr({"stop-opacity":r.opacity}),l.isNumber(o)&&s.attr({offset:o}),i.add(s)})},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,opacity:e,offset:i}),this.draw()},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(s.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cx",{get:function(){return this._cx},set:function(t){this._cx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cy",{get:function(){return this._cy},set:function(t){this._cy=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fx",{get:function(){return this._fx},set:function(t){this._fx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fy",{get:function(){return this._fy},set:function(t){this._fy=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this.cx=e.cx,this.cy=e.cy,this.fx=e.fx,this.fy=e.fy},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._stops.clear()},e}(r.a);a.b.registeredClasses.RadialGradient=c},"DA7/":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Tjl+"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return n.c(e,t),e.prototype.modify=function(t){return t},e}(r.a);o.b.registeredClasses.ColorModifier=s},DHte:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),o=i("8ZqG"),s=i("aCit"),a=i("hxI2"),u=i("Mtpk"),l=i("v9UT"),h=function(t){function e(){var e=t.call(this)||this;return e._list=[],e._currentStep=0,e._currentPass=0,e.baseColor=new o.a({r:103,g:183,b:220}),e.stepOptions={},e.passOptions={brighten:-.2},e.step=1,e.minColors=20,e.minLightness=.2,e.maxLightness=.9,e.shuffle=!1,e.wrap=!0,e.reuse=!1,e.saturation=1,e.className="ColorSet",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"list",{get:function(){return this._list||this.generate(this.minColors),this._list},set:function(t){this._list=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.getReusableColor=function(t){if(0==this._list.length)return this.generate(1),this.list[0];var e=t-Math.floor(t/this._list.length)*this.list.length;return this.list[e]},e.prototype.next=function(){var t;return this.list.length<=this._currentStep?this.reuse?t=this.getReusableColor(this._currentStep):(this.generate(this.minColors),t=this.list[this._currentStep]):t=this.list[this._currentStep],this._currentStep+=this.step,t.saturate(this.saturation)},e.prototype.getIndex=function(t){var e;return this.list.length<=t?this.reuse?e=this.getReusableColor(t):(this.generate(this.minColors),e=this.getIndex(t)):e=this.list[t],e.saturate(this.saturation)},e.prototype.reset=function(){this._currentStep=0},Object.defineProperty(e.prototype,"currentStep",{get:function(){return this._currentStep},set:function(t){this._currentStep=t},enumerable:!0,configurable:!0}),e.prototype.generate=function(t){var e=this.currentColor,i=a.rgbToHsl(u.getValue(e.rgb)),n=u.hasValue(this.stepOptions.hue)?this.stepOptions.hue:1/t,r={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},s=[];if(this.reuse)for(var h=0;h<t;h++)s.push(a.rgbToHsl(u.getValue(this._list[h].rgb)).h);else for(h=0;h<t;h++){var c=i.h+n*h;this.wrap&&c>1&&(c-=1),s.push(c)}this.shuffle&&s.sort(function(t,e){return Math.random()-.5});for(h=0;h<t;h++){this.reuse?i=a.rgbToHsl(u.getValue(this._list[h].rgb)):i.h=s.shift(),this.applyStepOptions(i,r,h+1,this._currentPass);var p=Object(o.c)(a.hslToRgb(i)),d=(this.stepOptions.brighten||0)*(h+1)+(this.passOptions.brighten||0)*this._currentPass;0!=d&&(d=this.wrap?l.fitNumberRelative(d,this.minLightness,this.maxLightness):l.fitNumber(d,this.minLightness,this.maxLightness),p=p.brighten(d));var f=(this.stepOptions.lighten||0)*(h+1)+(this.passOptions.lighten||0)*this._currentPass;0!=f&&(f=this.wrap?l.fitNumberRelative(f,this.minLightness,this.maxLightness):l.fitNumber(f,this.minLightness,this.maxLightness),p=p.lighten(f)),this._list.push(p)}this._currentPass++},Object.defineProperty(e.prototype,"currentColor",{get:function(){return 0==this._list.length?this.baseColor.saturate(this.saturation):this._list[this._list.length-1].saturate(this.saturation)},enumerable:!0,configurable:!0}),e.prototype.applyStepOptions=function(t,e,i,n){t.l=e.lightness+(this.stepOptions.lightness||0)*i+(this.passOptions.lightness||0)*n,this.wrap?(t.l>1?t.l=t.l-Math.floor(t.l):t.l<0&&(t.l=-(t.l-Math.floor(t.l))),t.l=l.fitNumberRelative(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=l.fitNumber(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e&&u.hasValue(e.list)&&u.isArray(e.list))for(var i=0,n=e.list.length;i<n;i++)e.list[i]instanceof o.a||(e.list[i]=Object(o.c)(e.list[i]));t.prototype.processConfig.call(this,e)},e}(r.a);s.b.registeredClasses.ColorSet=h},DVYA:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},DVvQ:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},DXFp:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("2I/e"),o=i("AC2I"),s=i("aCit"),a=i("Wglt"),u=function(t){function e(){var e=t.call(this)||this;return e.className="PercentChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="PercentChart",e.align="none",e.valign="none",e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.applyTheme(),e}return n.c(e,t),e.prototype.validateData=function(){t.prototype.validateData.call(this),this.feedLegend()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];a.each(this.series.iterator(),function(i){i.hiddenInLegend||a.each(i.dataItems.iterator(),function(n){if(!n.hiddenInLegend){e.push(n);var r=i.legendSettings;r&&(r.labelText&&(t.labels.template.text=r.labelText),r.itemLabelText&&(t.labels.template.text=r.itemLabelText),r.valueText&&(t.valueLabels.template.text=r.valueText),r.itemValueText&&(t.valueLabels.template.text=r.itemValueText))}})}),t.data=e,t.dataFields.name="category"}},e.prototype.createSeries=function(){return new o.a},e.prototype.setLegend=function(e){t.prototype.setLegend.call(this,e),e&&(e.labels.template.text="{category}",e.valueLabels.template.text="{value.percent.formatNumber('#.0')}%",e.itemContainers.template.events.on("over",function(t){var e=t.target.dataItem.dataContext;e.visible&&!e.isHiding&&(e.slice.isHover=!0)}),e.itemContainers.template.events.on("out",function(t){t.target.dataItem.dataContext.slice.isHover=!1}))},e}(r.a);s.b.registeredClasses.PercentChart=l,s.b.registeredClasses.PercentChartDataItem=u},DbOM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"DvJ+":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},DziZ:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Vs7R"),o=i("tjMS"),s=i("aCit"),a=i("v9UT"),u=i("Mtpk"),l=i("hGwe"),h=function(t){function e(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=Object(o.c)(100),e.bottomSide=Object(o.c)(100),e.leftSide=Object(o.c)(100),e.rightSide=Object(o.c)(100),e.isMeasured=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n=a.relativeToValue(this.topSide,e),r=a.relativeToValue(this.bottomSide,e),o=a.relativeToValue(this.leftSide,i),s=a.relativeToValue(this.rightSide,i),h=(e-n)/2,c=(i-o)/2,p=e-(e-n)/2,d=(i-s)/2,f=e-(e-r)/2,g=i-(i-s)/2,y=(e-r)/2,m=i-(i-o)/2,b="",v="",_="",x="";if(u.hasValue(this.horizontalNeck)){var P=this.horizontalNeck.value;b=l.lineTo({x:e*P,y:Math.max(c,d)}),_=l.lineTo({x:e*P,y:Math.min(g,m)})}if(u.hasValue(this.verticalNeck)){var w=this.verticalNeck.value;v=l.lineTo({x:Math.min(p,f),y:i*w}),x=l.lineTo({x:Math.max(h,y),y:i*w})}var O=l.moveTo({x:h,y:c})+b+l.lineTo({x:p,y:d})+v+l.lineTo({x:f,y:g})+_+l.lineTo({x:y,y:m})+x;this.path=O},Object.defineProperty(e.prototype,"topSide",{get:function(){return this.getPropertyValue("topSide")},set:function(t){this.setPercentProperty("topSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomSide",{get:function(){return this.getPropertyValue("bottomSide")},set:function(t){this.setPercentProperty("bottomSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftSide",{get:function(){return this.getPropertyValue("leftSide")},set:function(t){this.setPercentProperty("leftSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightSide",{get:function(){return this.getPropertyValue("rightSide")},set:function(t){this.setPercentProperty("rightSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalNeck",{get:function(){return this.getPropertyValue("horizontalNeck")},set:function(t){this.setPropertyValue("horizontalNeck",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalNeck",{get:function(){return this.getPropertyValue("verticalNeck")},set:function(t){this.setPropertyValue("verticalNeck",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.Trapezoid=h},"E+Sg":function(t,e,i){var n=i("hjwn").f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||i("gD3S")&&n(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},EEf7:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("W0fk"),s=i("K0ev"),a=i("nHHr").f;i("gD3S")&&n(n.P+i("3/+B"),"Object",{__lookupSetter__:function(t){var e,i=r(this),n=o(t,!0);do{if(e=a(i,n))return e.set}while(i=s(i))}})},EMhK:function(t,e,i){var n=i("Gb1H");n(n.S,"Reflect",{ownKeys:i("+6ht")})},EOVy:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{sign:i("sxbc")})},EVjk:function(t,e,i){var n=i("Gb1H");n(n.S,"Array",{isArray:i("kHwJ")})},EhJv:function(t,e,i){var n=i("sHIJ"),r=i("kcsd");t.exports=function(t){return n(r(t))}},EjGA:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("Mpxm"),o=i("ZhuL"),s=i("4DCw"),a=i("Tjl+"),u=i("x79X"),l=i("P/bD"),h=i("7XB+"),c=i("aCit"),p=i("Mtpk"),d=i("Qkdp"),f=function(t){function e(e,i){var n=t.call(this)||this;return n.adapter=new u.a(n),n._requestOptions={},n._incremental=!1,n._incrementalParams={},n._keepCount=!1,n.showPreloader=!0,n.className="DataSource",e&&(n.url=e),i&&(n.parser="string"==typeof i?r.b.getParserByType(i):i),n}return n.c(e,t),e.prototype.processData=function(t,e){if(this.dispatchImmediately("parsestarted"),this.parser||(this.parser=r.b.getParserByData(t,e),this.parser)){if(this.parser.options=this.adapter.apply("parserOptions",this.parser.options),this.parser.options.dateFields=this.adapter.apply("dateFields",this.parser.options.dateFields||[]),this.parser.options.numberFields=this.adapter.apply("numberFields",this.parser.options.numberFields||[]),this.parser.options.dateFields&&!this.parser.options.dateFormatter&&(this.parser.options.dateFormatter=this.dateFormatter),this.data=this.adapter.apply("parsedData",this.parser.parse(this.adapter.apply("unparsedData",t))),!p.hasValue(this.data)&&this.events.isEnabled("parseerror")){var i={type:"parseerror",message:this.language.translate("Error parsing file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",i)}this.dispatchImmediately("parseended"),p.hasValue(this.data)&&this.dispatchImmediately("done",{data:this.data}),this.lastLoad=new Date}else{if(this.events.isEnabled("parseerror")){var n={type:"parseerror",message:this.language.translate("No parser available for file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",n)}this.dispatchImmediately("parseended")}},Object.defineProperty(e.prototype,"url",{get:function(){var t=this.disableCache?this.timestampUrl(this._url):this._url;return this.incremental&&this.component.data.length&&(t=this.addUrlParams(t,this.incrementalParams)),this.adapter.apply("url",t)},set:function(t){this._url=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestOptions",{get:function(){return this.adapter.apply("requestOptions",this._requestOptions)},set:function(t){this._requestOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._parser||(this._parser=new o.a),this.adapter.apply("parser",this._parser)},set:function(t){this._parser=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reloadFrequency",{get:function(){return this.adapter.apply("reloadTimeout",this._reloadFrequency)},set:function(t){var e=this;this._reloadFrequency!=t&&(this._reloadFrequency=t,t?p.hasValue(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",function(t){e._reloadTimeout=setTimeout(function(){e.load()},e.reloadFrequency)})):p.hasValue(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incremental",{get:function(){return this.adapter.apply("incremental",this._incremental)},set:function(t){this._incremental=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incrementalParams",{get:function(){return this.adapter.apply("incrementalParams",this._incrementalParams)},set:function(t){this._incrementalParams=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepCount",{get:function(){return this.adapter.apply("keepCount",this._keepCount)},set:function(t){this._keepCount=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language?this._language:this.component?(this._language=this.component.language,this._language):(this.language=new l.a,this.language)},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.component?(this._dateFormatter=this.component.dateFormatter,this._dateFormatter):(this.dateFormatter=new h.a,this.dateFormatter)},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),e.prototype.timestampUrl=function(t){var e={};return e[(new Date).getTime().toString()]="",this.addUrlParams(t,e)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout)},e.prototype.load=function(){this._reloadTimeout&&clearTimeout(this._reloadTimeout),r.b.load(this)},e.prototype.addUrlParams=function(t,e){var i=t.match(/\?/)?"&":"?",n=[];return d.each(e,function(t,e){""!=e?n.push(t+"="+encodeURIComponent(e)):n.push(t)}),n.length?t+i+n.join("&"):t},e.prototype.processConfig=function(e){c.b.registeredClasses.json=o.a,c.b.registeredClasses.JSONParser=o.a,c.b.registeredClasses.csv=s.a,c.b.registeredClasses.CSVParser=s.a,t.prototype.processConfig.call(this,e)},e}(a.b)},F2Gx:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),n(n.P+n.F*s,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("M/YL")(o)},FSsr:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=i("DbOM"),s=n.key,a=n.set;n.exp({metadata:function(t,e){return function(i,n){a(t,e,(void 0!==n?r:o)(i),s(n))}}})},FUSD:function(t,e,i){var n=i("FmWr"),r=i("lhvN"),o=i("kcsd");t.exports=function(t,e,i,s){var a=String(o(t)),u=a.length,l=void 0===i?" ":String(i),h=n(e);if(h<=u||""==l)return a;var c=h-u,p=r.call(l,Math.ceil(c/l.length));return p.length>c&&(p=p.slice(0,c)),s?p+a:a+p}},FmWr:function(t,e,i){var n=i("4BRe"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},FzPm:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("tjMS"),s=i("aCit"),a=i("v9UT"),u=i("Gg2j"),l=function(t){function e(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",Object(o.c)(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return a.relativeToValue(this.radius,u.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){var t=this.pixelRadius;this._bbox={x:-t,y:-t,width:2*t,height:2*t}},e}(r.a);s.b.registeredClasses.Circle=l},G0iN:function(t,e,i){var n=i("3BzE"),r=i("pmYy"),o=i("eBSV");t.exports=function(t){var e=n(t),i=r.f;if(i)for(var s,a=i(t),u=o.f,l=0;a.length>l;)u.call(t,s=a[l++])&&e.push(s);return e}},G5U1:function(t,e){var i=t.exports={version:"2.6.1"};"number"==typeof __e&&(__e=i)},GAaQ:function(t,e,i){"use strict";i.d(e,"a",function(){return k});var n,r=i("m4/l"),o=i("qJno"),s=i("x79X"),a=i("Vs7R"),u=i("W8Sc"),l=i("vMqJ"),h=i("+qIf"),c=i("7XB+"),p=i("akNo"),d=i("P/bD"),f=i("/IEW"),g=i("8ZqG"),y=i("aCit"),m=i("Q4nc"),b=i("58Sn"),v=i("Qkdp"),_=i("OVUc"),x=i("Mtpk"),P=i("v9UT"),w=i("hJ5i"),O=i("Gg2j");var S=/src: ([^;]+);/;function T(t,e){return r.b(this,void 0,void 0,function(){var i,n;return r.d(this,function(r){switch(r.label){case 0:return[4,_.a(t)];case 1:i=r.sent(),(n=document.createElement("style")).textContent=i.response,document.head.appendChild(n),r.label=2;case 2:return r.trys.push([2,,4,5]),[4,e(n.sheet)];case 3:return[2,r.sent()];case 4:return document.head.removeChild(n),[7];case 5:return[2]}})})}function C(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,s;return r.d(this,function(r){switch(r.label){case 0:for(n=[],o=function(r){var o=e.cssRules[r];if(o.type===CSSRule.IMPORT_RULE){var s=o.href;s&&(s=P.joinUrl(t,s),n.push(T(s,function(t){return C(s,t,i)})))}else i(t,o)},s=0;s<e.cssRules.length;s++)o(s);return n.length?[4,Promise.all(n)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})}var k=function(t){function e(e){var i=t.call(this)||this;return i.adapter=new s.a(i),i._formatOptions=new h.a,i._extraSprites=[],i._dynamicDataFields=!0,i._removedObjects=new l.b,i._hiddenObjects=[],i._objectsAlreadyHidden=!1,i._filePrefix="amCharts",i.useWebFonts=!0,i.useRetina=!0,i.useSimplifiedExport=!0,i.timeoutDelay=2e3,i._container=e,i.className="Export",i._formatOptions.setKey("png",{}),i._formatOptions.setKey("jpg",{quality:.8}),i._formatOptions.setKey("gif",{}),i._formatOptions.setKey("svg",{}),i._formatOptions.setKey("pdf",{fontSize:14,imageFormat:"png",addURL:!0}),i._formatOptions.setKey("json",{indent:2,useLocale:!0}),i._formatOptions.setKey("csv",{addColumnNames:!0,emptyAs:""}),i._formatOptions.setKey("xlsx",{addColumnNames:!0,useLocale:!0,emptyAs:""}),i._formatOptions.setKey("print",{delay:500,printMethod:"iframe"}),i.adapter.add("options",function(t){var e=i._formatOptions.getKey(t.type);return t.options?t.options=v.merge(t.options,e):t.options=e,t}),i.applyTheme(),i.dispatchImmediately("inited"),i}return r.c(e,t),Object.defineProperty(e.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;this._menu&&this.removeDispose(this._menu),this._menu=t,this._menu.container=this.container,this._menu.language=this._language,this._menu.adapter.add("branch",function(t){return t.branch.unsupported=!e.typeSupported(t.branch.type),t}),this._menu.events.on("hit",function(t){e.export(t.branch.type,t.branch.options),e.menu.close()}),this._menu.events.on("enter",function(t){e.export(t.branch.type,t.branch.options),e.menu.close()}),this._menu.events.on("over",function(t){e._disablePointers()}),this._menu.events.on("out",function(t){e._releasePointers()}),this.dispatchImmediately("menucreated"),this._menu.adapter.add("classPrefix",function(t){return t.classPrefix=m.a.classNamePrefix+t.classPrefix,t}),this._disposers.push(this._menu)},enumerable:!0,configurable:!0}),e.prototype.typeSupported=function(t){var e=!0;return"pdf"===t||("xlsx"===t?e=!!this._hasData():("print"!=t||window.print)&&(-1===["json","csv"].indexOf(t)||this._hasData())||(e=!1)),this.adapter.apply("supported",{supported:e,type:t}).supported},e.prototype._hasData=function(){return this.data&&this.data.length},e.prototype._getFunction=function(t){switch(t){case"png":case"gif":case"jpg":return this.getImage;case"svg":return this.getSVG;case"pdf":return this.getPDF;case"xlsx":return this.getExcel;case"csv":return this.getCSV;case"json":return this.getJSON;case"print":return this.getPrint;default:return this.unsupported}},e.prototype.export=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,s,a,u=this;return r.d(this,function(r){switch(r.label){case 0:return this.events.isEnabled("exportstarted")&&(i={type:"exportstarted",target:this,format:t,options:e},this.events.dispatchImmediately("exportstarted",i)),"custom"==t?(this.handleCustom(e),[2,!0]):(this.showPreloader(),this.timeoutDelay&&(this.hideTimeout(),this._timeoutTimeout=this.setTimeout(function(){if(u.events.isEnabled("exporttimedout")){var i={type:"exporttimedout",target:u,format:t,options:e};u.events.dispatchImmediately("exporttimedout",i)}u.showTimeout()},this.timeoutDelay)),this.hideNonExportableSprites(),n=this._getFunction(t),e=this.adapter.apply("options",{options:e,type:t}).options,[4,(n=this.adapter.apply("exportFunction",{func:n,type:t,options:e}).func).call(this,t,e)]);case 1:return o=r.sent(),this.restoreNonExportableSprites(),o?(this.events.isEnabled("exportfinished")&&(s={type:"exportfinished",target:this,format:t,options:e},this.events.dispatchImmediately("exportfinished",s)),this.hidePreloader(),this.hideTimeout(),this.menu&&this.menu.close(),"print"===t?[2,this.print(o,e,this.adapter.apply("title",{title:this.title,options:e}).title)]:[2,this.download(o,this.filePrefix+"."+t)]):(this.events.isEnabled("error")&&(a={type:"error",target:this,format:t,options:e},this.events.dispatchImmediately("error",a)),[2,!1])}})})},e.prototype.unsupported=function(t,e){return r.b(this,void 0,void 0,function(){return r.d(this,function(t){return[2,""]})})},e.prototype.handleCustom=function(t){x.hasValue(t.callback)&&t.callback.call(this,t)},e.prototype.getPrint=function(t,e){return r.b(this,void 0,void 0,function(){return r.d(this,function(t){return[2,this.getImage("png",e)]})})},e.prototype.getFontFamilies=function(){return r.b(this,void 0,void 0,function(){var t,e,i,n,o=this;return r.d(this,function(s){switch(s.label){case 0:return t=this.getDOMURL(),e=[],i=[],[4,function(t){return r.b(this,void 0,void 0,function(){return r.d(this,function(e){switch(e.label){case 0:return[4,Promise.all(w.map(document.styleSheets,function(e){var i=e.href;return null==i?C(location.href,e,t):T(i=P.joinUrl(location.href,i),function(e){return C(i,e,t)})}))];case 1:return e.sent(),[2]}})})}(function(n,s){if(s.type===CSSRule.FONT_FACE_RULE){var a=s.cssText,u=S.exec(a);if(null!==u){var l=u[1].split(/ *, */).map(function(i){return r.b(o,void 0,void 0,function(){var o,s,a,u,l,h;return r.d(this,function(r){switch(r.label){case 0:return null!==(o=/^url\(["']?([^"'\)]+)["']?\)([^,]*)$/.exec(i))?[3,1]:[2,i];case 1:s=o[2],a=P.joinUrl(n,o[1]),r.label=2;case 2:return r.trys.push([2,7,,8]),[4,_.a(a,void 0,{responseType:"blob"})];case 3:return u=r.sent(),null==window.navigator.msSaveOrOpenBlob?[3,4]:(l=t.createObjectURL(u.blob),e.push(l),[3,6]);case 4:return[4,function(t){return new Promise(function(e,i){var n=new FileReader;n.onload=function(t){e(n.result)},n.onerror=function(t){i(t)},n.readAsDataURL(t)})}(u.blob)];case 5:l=r.sent(),r.label=6;case 6:return[2,'url("'+l+'")'+s];case 7:return h=r.sent(),console.error("Failed to load font",a,h),[2,null];case 8:return[2]}})})});i.push(Promise.all(l).then(function(t){return 0===(t=t.filter(function(t){return null!=t})).length?"":a.replace(S,"src: "+t.join(", ")+";")}))}}})];case 1:return s.sent(),[4,Promise.all(i)];case 2:return n=s.sent(),[2,{blobs:e,cssText:n.filter(function(t){return!!t}).join("\n")}]}})})},e.prototype.getImage=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,s,a;return r.d(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),x.hasValue(e)||(e=this.getFormatOptions(t)),[4,this.simplifiedImageExport()];case 1:if(!r.sent())return[3,9];r.label=2;case 2:return r.trys.push([2,6,,8]),[4,this.getCanvas(e)];case 3:return o=r.sent(),!1===i?[3,5]:[4,this.addExtras(o,e)];case 4:o=r.sent(),r.label=5;case 5:return s=o.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(o),n||this.restoreNonExportableSprites(),[2,s];case 6:return r.sent(),[4,this.getImageAdvanced(t,e,i)];case 7:return a=r.sent(),n||this.restoreNonExportableSprites(),[2,a];case 8:return[3,11];case 9:return[4,this.getImageAdvanced(t,e,i)];case 10:return a=r.sent(),n||this.restoreNonExportableSprites(),[2,a];case 11:return[2]}})})},e.prototype.addExtras=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,s,u,l,h,c,p,d,f,g,y,m,b,v=this;return r.d(this,function(_){switch(_.label){case 0:return this.extraSprites.length?(n=0,o=0,s=t.width,u=t.height,l=t.width,h=t.height,[4,Promise.all(w.map(this.extraSprites,function(t){return r.b(v,void 0,void 0,function(){var c,p,d,f;return r.d(this,function(r){switch(r.label){case 0:return(c=t instanceof a.a?{sprite:t,position:"bottom"}:t).position=c.position||"bottom",c.marginTop=c.marginTop||0,c.marginRight=c.marginRight||0,c.marginBottom=c.marginBottom||0,c.marginLeft=c.marginLeft||0,i?[4,c.sprite.exporting.getCanvasAdvanced(e)]:[3,2];case 1:return p=r.sent(),[3,4];case 2:return[4,c.sprite.exporting.getCanvas(e)];case 3:p=r.sent(),r.label=4;case 4:return d=p.width+c.marginLeft+c.marginRight,f=p.height+c.marginTop+c.marginBottom,"top"==c.position?(s=O.max(s,d),h+=f,o+=f):"right"==c.position?(u=O.max(u,f),l+=d):"left"==c.position?(u=O.max(u,f),l+=d,n+=d):"bottom"===c.position&&(s=O.max(s,d),h+=f),[2,{canvas:p,position:c.position,left:c.marginLeft,top:c.marginTop,width:d,height:f}]}})})}))]):[3,2];case 1:return c=_.sent(),(p=this.getDisposableCanvas()).width=l,p.height=h,d=p.getContext("2d"),(f=this.backgroundColor||this.findBackgroundColor(this.sprite.dom))&&(d.fillStyle=f.toString(),d.fillRect(0,0,p.width,p.height)),g=n,y=o,m=s,b=u,w.each(c,function(t){"top"==t.position?(y-=t.height,d.drawImage(t.canvas,n+t.left,y+t.top)):"right"==t.position?(d.drawImage(t.canvas,m+t.left,o+t.top),m+=t.width):"left"==t.position?(g-=t.width,d.drawImage(t.canvas,g+t.left,o+t.top)):"bottom"===t.position&&(d.drawImage(t.canvas,n+t.left,b+t.top),b+=t.height),v.disposeCanvas(t.canvas)}),d.drawImage(t,n,o),[2,p];case 2:return[2,t]}})})},e.prototype.getCanvas=function(t){return r.b(this,void 0,void 0,function(){var e,i,n,o,s,a,u,l,h,c,p,d,f,g,y,m;return r.d(this,function(r){switch(r.label){case 0:x.hasValue(t)||(t={}),e=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),i=this.getDOMURL(),n=null,o=null,r.label=1;case 1:return r.trys.push([1,,4,5]),a=this.sprite.pixelWidth,u=this.sprite.pixelHeight,l=b.k(this.sprite.dom),h=b.l(this.sprite.dom),s=this.getDisposableCanvas(),c=this.getPixelRatio(t),s.style.width=a+"px",s.style.height=u+"px",s.width=a*c,s.height=u*c,p=s.getContext("2d"),1!=c&&p.setTransform(c,0,0,c,0,0),e&&(p.fillStyle=e.toString(),p.fillRect(0,0,a,u)),d=[],this.useWebFonts&&d.push(this.getFontFamilies().then(function(t){return o=t.blobs,t.cssText})),d.push(this.imagesToDataURI(this.sprite.dom,t)),d.push(this.prepForeignObjects(this.sprite.dom,t)),[4,Promise.all(d)];case 2:return f=r.sent(),g=this.normalizeSVG("<style>"+f[0]+"</style>"+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,a,u,l,h),y=new Blob([g],{type:"image/svg+xml"}),n=i.createObjectURL(y),[4,this.loadNewImage(n,a,u,"anonymous")];case 3:return m=r.sent(),p.drawImage(m,0,0),[3,5];case 4:return null!==n&&i.revokeObjectURL(n),null!==o&&w.each(o,function(t){i.revokeObjectURL(t)}),this.restoreRemovedObjects(),[7];case 5:return[2,s]}})})},e.prototype.getCanvasAdvanced=function(t){return r.b(this,void 0,void 0,function(){var e,i,n,o,s,a,u,l,h,c;return r.d(this,function(r){switch(r.label){case 0:return x.hasValue(t)||(t={}),[4,this.imagesToDataURI(this.sprite.dom,t)];case 1:return r.sent(),e=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),[4,this.canvg];case 2:return i=r.sent(),n=this.sprite.pixelWidth,o=this.sprite.pixelHeight,s=b.k(this.sprite.dom),a=b.l(this.sprite.dom),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,n,o,s,a,e),l=this.getDisposableCanvas(),h=this.getPixelRatio(t),l.style.width=n*h+"px",l.style.height=o*h+"px",l.width=n*h,l.height=o*h,c={useCORS:!0},1!=h&&(c.ignoreDimensions=!0,c.scaleWidth=n*h,c.scaleHeight=o*h),i(l,u,c),[2,l]}})})},e.prototype.getImageAdvanced=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,s;return r.d(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),x.hasValue(e)||(e=this.getFormatOptions(t)),[4,this.getCanvasAdvanced(e)];case 1:return o=r.sent(),!1===i?[3,3]:[4,this.addExtras(o,e,!0)];case 2:o=r.sent(),r.label=3;case 3:return s=o.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(o),n||this.restoreNonExportableSprites(),[2,s]}})})},e.prototype.getDisposableCanvas=function(){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",document.body.appendChild(t),t},e.prototype.disposeCanvas=function(t){document.body.removeChild(t)},e.prototype.getPixelRatio=function(t){var e=t&&t.scale?t.scale:1;return(this.useRetina?P.getPixelRatio():1)*e},e.prototype.imagesToDataURI=function(t,i){return r.b(this,void 0,void 0,function(){var n,o,s,a,u,l;return r.d(this,function(r){switch(r.label){case 0:if(!(n=t.querySelectorAll("image")).length)return[3,2];for(o=[],s=n.length,a=0;a<s;a++)u=n[a],(l=u.getAttributeNS(e.XLINK,"href"))&&(-1!==l.indexOf("data:image")||(-1!==l.indexOf(".svg")?o.push(this.svgToDataURI(u,i)):o.push(this.imageToDataURI(u,i))));return[4,Promise.all(o)];case 1:return r.sent(),[2];case 2:return[2]}})})},e.prototype.prepForeignObjects=function(t,e){return r.b(this,void 0,void 0,function(){var e,i,n;return r.d(this,function(r){if((e=t.querySelectorAll("foreignObject")).length)for(i=e.length,n=0;n<i;n++)this.temporarilyRemoveObject(e[n]);return[2]})})},e.prototype.imageToDataURI=function(t,i){return r.b(this,void 0,void 0,function(){var n,o,s;return r.d(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.loadNewImage(t.getAttributeNS(e.XLINK,"href"),null,null,"anonymous")];case 1:n=r.sent(),(o=document.createElement("canvas")).width=n.width,o.height=n.height,o.getContext("2d").drawImage(n,0,0);try{return s=o.toDataURL(),t.setAttribute("href",s),[2,s]}catch(e){return!1!==i.keepTainted&&this.temporarilyRemoveObject(t),[2,void 0]}return[3,3];case 2:return r.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 3:return[2]}})})},e.prototype.svgToDataURI=function(t,i){return r.b(this,void 0,void 0,function(){var n,o,s,a;return r.d(this,function(r){switch(r.label){case 0:n=t.getAttributeNS(e.XLINK,"href"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,_.a(n)];case 2:return o=r.sent(),s=this.adapter.apply("charset",{charset:"base64",type:"svg",options:i}).charset,a=this.adapter.apply("svgToDataURI",{data:"data:"+this.getContentType("svg")+";"+s+","+btoa(o.response),options:i}).data,t.setAttributeNS(e.XLINK,"href",a),[2,a];case 3:return r.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 4:return[2]}})})},e.prototype.temporarilyRemoveObject=function(t,e){var i=t.parentElement||t.parentNode;e||(e=this.sprite.paper.add("g").node),i.insertBefore(e,t),t.textContent,i.removeChild(t),this._removedObjects.push({element:t,placeholder:e})},e.prototype.restoreRemovedObjects=function(){for(var t;t=this._removedObjects.pop();){(t.placeholder.parentElement||t.placeholder.parentNode).insertBefore(t.element,t.placeholder)}},e.prototype.simplifiedImageExport=function(){return r.b(this,void 0,void 0,function(){var t,e,i,n,o,s,a;return r.d(this,function(r){switch(r.label){case 0:if(!1===this.useSimplifiedExport)return[2,!1];if(!1===(t=y.b.getCache("simplifiedImageExport"))||!0===t)return[2,t];r.label=1;case 1:r.trys.push([1,6,,7]),(e=document.createElement("canvas")).width=1,e.height=1,i=e.getContext("2d"),n=this.getDOMURL(),o=new Blob([this.normalizeSVG("<g></g>",{},1,1)],{type:"image/svg+xml"}),s=n.createObjectURL(o),a=void 0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.loadNewImage(s,1,1)];case 3:return a=r.sent(),[3,5];case 4:return r.sent(),[2,!1];case 5:i.drawImage(a,0,0),n.revokeObjectURL(s);try{return y.b.setCache("simplifiedImageExport",!0),[2,!0]}catch(t){return y.b.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return r.sent(),y.b.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},e.prototype.loadNewImage=function(t,e,i,n){return new Promise(function(r,o){var s;function a(){if(n){var e=s.src;s.onerror=function(){o(new Error('Loading image "'+t+'" failed'))},s.removeAttribute("crossorigin"),s.src="",s.src=e}else o(new Error('Loading image "'+t+'" failed'))}s=e&&i?new Image(e,i):new Image,n&&s.setAttribute("crossOrigin",n),s.onload=function(){r(s)},s.onabort=a,s.onerror=a,s.src=t})},e.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},e.prototype.getSVG=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,s,a,u,l,h;return r.d(this,function(r){return(i=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),n=this.sprite.pixelWidth,o=this.sprite.pixelHeight,s=b.k(this.sprite.dom),a=b.l(this.sprite.dom),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,n,o,s,a),l=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:e}).charset,h=this.adapter.apply("getSVG",{data:"data:"+this.getContentType(t)+";"+l+","+encodeURIComponent(u),options:e}).data,i||this.restoreNonExportableSprites(),[2,h]})})},e.prototype._isIE=function(){return/MSIE |Trident\//.test(navigator.userAgent)},e.prototype.normalizeSVG=function(t,e,i,n,r,o,s){var a="";i&&(a+='width="'+i+'px" '),n&&(a+='height="'+n+'px" ');var u="";r&&(u+="font-family: "+r.replace(/"/g,"")+";"),o&&(u+="font-size: "+o+";"),t.match(/<svg/)?""!==a&&(t=(t=(t=t.replace(/(<svg[^>]*)width="[^"]*"/,"$1")).replace(/(<svg[^>]*)height="[^"]*"/,"$1")).replace(/(<svg)/,"$1"+a)):t='<?xml version="1.0" encoding="utf-8"?><svg '+a+' style="'+u+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+t+"</svg>",s&&(t=t.replace(/(<svg[^>]*>)/,'$1<rect width="100%" height="100%" fill="'+s.rgba+'"/>')),this._isIE()&&(t=t.replace(/<feColorMatrix [^\/>]*\/>/gi,""));var l=new RegExp("url\\("+P.escapeForRgex(P.getBaseURI()),"g");return t=t.replace(l,"url(#"),t=this.adapter.apply("normalizeSVG",{data:t,options:e}).data},e.prototype.serializeElement=function(t){return(new XMLSerializer).serializeToString(t)},e.prototype.getPDF=function(t,e){return r.b(this,void 0,void 0,function(){var t,i,n,o,s;return r.d(this,function(r){switch(r.label){case 0:return[4,this.getImage(e.imageFormat||"png",e)];case 1:return t=r.sent(),[4,this.pdfmake];case 2:return i=r.sent(),n=[30,30,30,30],o={pageSize:e.pageSize||"A4",pageOrientation:e.pageOrientation||"portrait",pageMargins:e.pageMargins||n,content:[]},(s=this.adapter.apply("title",{title:this.title,options:e}).title)&&o.content.push({text:s,fontSize:e.fontSize,bold:!0,margin:[0,0,0,15]}),e.addURL&&o.content.push({text:this.language.translate("Saved from")+": "+document.location.href,fontSize:e.fontSize,margin:[0,0,0,15]}),o.content.push({image:t,fit:this.getPageSizeFit(o.pageSize,o.pageMargins)}),o=this.adapter.apply("pdfmakeDocument",{doc:o,options:e}).doc,[4,new Promise(function(t,e){i.createPdf(o).getDataUrl(function(e){t(e)})})];case 3:return[2,r.sent()]}})})},e.prototype.getPageSizeFit=function(t,e){var i=[0,0,0,0];"number"==typeof e?i=[e,e,e,e]:2==e.length?i=[e[0],e[1],e[0],e[1]]:4==e.length&&(i=e);var n={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]}[t];return n[0]-=i[0]+i[2],n[1]-=i[1]+i[3],n},e.prototype.getExcel=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,s,a,u,l,h;return r.d(this,function(r){switch(r.label){case 0:return[4,this.xlsx];case 1:for(i=r.sent(),n=this.adapter.apply("xlsxWorkbookOptions",{options:{bookType:"xlsx",bookSST:!1,type:"base64"}}).options,o=this.normalizeExcelSheetName(this.adapter.apply("xlsxSheetName",{name:this.title||this.language.translate("Data")}).name),s={SheetNames:[o],Sheets:{}},a=[],u=this.dataFields,e.addColumnNames&&a.push(this.getExcelRow(u,e)),l=this.data.length,h=0;h<l;h++)a.push(this.getExcelRow(this.data[h],e,u));return s.Sheets[o]=i.utils.aoa_to_sheet(a),[2,this.adapter.apply("getExcel",{data:"data:"+this.getContentType(t)+";base64,"+i.write(s,n),options:e}).data]}})})},e.prototype.normalizeExcelSheetName=function(t){return t=t.replace(/([:\\\/?*\[\]]+)/g," "),P.truncateWithEllipsis(t,31,"...",!0)},e.prototype.getExcelRow=function(t,e,i){var n=this,r=[];return i||(i=t),v.each(i,function(i,o){var s=n.convertEmptyValue(i,t[i],e);r.push(n.convertToDateOrDuration(i,s,e,!0))}),r},e.prototype.getCSV=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,s,a,u,l,h;return r.d(this,function(r){for(i="",n=this.dataFields,o="",s=this.data,a=s.length,u=0;u<a;u++)l=this.getCSVRow(s[u],e,n),e.reverse?i=l+o+i:i+=o+l,o="\n";return e.addColumnNames&&(i=this.getCSVRow(n,e)+o+i),h=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getCSV",{data:"data:"+this.getContentType(t)+";"+h+","+encodeURIComponent(i),options:e}).data]})})},e.prototype.getCSVRow=function(t,e,i){var n=this,r=e.separator||",",o=[];return i||(i=t),v.each(i,function(i,s){var a=n.convertEmptyValue(i,t[i],e),u=n.convertToDateOrDuration(i,a,e);u=(u=""+u).replace(/"/g,'""'),(e.forceQuotes||u.search(new RegExp('"|\n|'+r,"g"))>=0)&&(u='"'+u+'"'),o.push(u)}),o.join(r)},e.prototype.getJSON=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o=this;return r.d(this,function(r){return i=JSON.stringify(this.data,function(t,i){return"object"==typeof i&&v.each(i,function(t,n){i[t]=o.convertToDateOrDuration(t,n,e)}),i},e.indent),n=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,[2,this.adapter.apply("getJSON",{data:"data:"+this.getContentType(t)+";"+n+","+encodeURIComponent(i),options:e}).data]})})},e.prototype.convertToDateOrDuration=function(t,e,i,n){if("number"==typeof e)if(this.isDateField(t))e=new Date(e);else if(this.isDurationField(t))return this.durationFormatter.format(e,this.durationFormat);return e instanceof Date&&(i.useTimestamps?e=e.getTime():i.useLocale?n||(e=e.toLocaleString()):e=this.dateFormatter.format(e,this.dateFormat)),e},e.prototype.convertEmptyValue=function(t,e,i){return x.hasValue(e)?e:i.emptyAs},e.prototype.download=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,s,a,u,l,h,c,p,d,f,g,y;return r.d(this,function(r){if(this.msBlobDownloadSupport()){if(d=t.split(";"),f=d.shift().replace(/data:/,""),t=decodeURIComponent(d.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv"].indexOf(f))return i=new Blob([t],{type:f}),window.navigator.msSaveBlob(i,e),[2,!0];try{n=atob(t),t=n}catch(t){return[2,!1]}for(a=new Array(t.length),u=0;u<t.length;++u)l=t.charCodeAt(u),a[u]=l;h=new Blob([new Uint8Array(a)],{type:f}),window.navigator.msSaveBlob(h,e)}else if(this.blobDownloadSupport()){if((p=document.createElement("a")).download=e,d=t.split(";"),f=d.shift().replace(/data:/,""),t=decodeURIComponent(d.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv"].indexOf(f))return o=new Blob([t],{type:f}),s=window.URL.createObjectURL(o),p.href=s,p.download=e,p.click(),setTimeout(function(){window.URL.revokeObjectURL(s)},100),[2,!0];try{n=atob(t),t=n}catch(t){return[2,!1]}for(a=new Array(t.length),u=0;u<t.length;++u)l=t.charCodeAt(u),a[u]=l;h=new Blob([new Uint8Array(a)],{type:f}),c=window.URL.createObjectURL(h),p.href=c,p.download=e,document.body.appendChild(p),p.click(),document.body.removeChild(p),setTimeout(function(){window.URL.revokeObjectURL(c)},100)}else this.linkDownloadSupport()?((p=document.createElement("a")).download=e,p.href=t,document.body.appendChild(p),p.click(),document.body.removeChild(p)):this.legacyIE()?4===(d=t.match(/^data:(.*);[ ]*([^,]*),(.*)$/)).length&&("base64"==d[2]?d[1].match(/^image\//)&&this.showModal('<img src="'+t+'" style="float: left; max-width: 50%; max-height: 80%; margin: 0 1em 0.5em 0; border: 1px solid #eee;" /><p>'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'</p><p style="text-align: center;"><small>'+this.language.translate("(Press ESC to close this message)")+"</small></p>",this.language.translate("Image Export Complete")):(f=void 0,e.match(/\.svg$/)?f="image/svg+xml":(f="text/plain",e+=".txt"),(g=document.createElement("iframe")).width="1px",g.height="1px",g.style.display="none",document.body.appendChild(g),(y=g.contentDocument).open(f,"replace"),y.write(decodeURIComponent(d[3])),y.close(),y.execCommand("SaveAs",!0,e),document.body.removeChild(g))):window.location.href=t;return[2,!0]})})},e.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},e.prototype.linkDownloadSupport=function(){var t=y.b.getCache("linkDownloadSupport");if(!1===t||!0===t)return t;var e=void 0!==document.createElement("a").download;return y.b.setCache("linkDownloadSupport",e),e},e.prototype.blobDownloadSupport=function(){return x.hasValue(window.Blob)},e.prototype.msBlobDownloadSupport=function(){return x.hasValue(window.navigator.msSaveOrOpenBlob)},e.prototype.legacyIE=function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lt IE 10]><i></i><![endif]--\x3e",1==t.getElementsByTagName("i").length},e.prototype.print=function(t,e,i){return r.b(this,void 0,void 0,function(){return r.d(this,function(n){return"css"==e.printMethod?[2,this.printViaCSS(t,e,i)]:[2,this.printViaIframe(t,e,i)]})})},e.prototype.printViaCSS=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,s,a;return r.d(this,function(r){return n=document.documentElement.scrollTop||document.body.scrollTop,o=new b.c("body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),i&&document&&document.title&&(s=document.title,document.title=i),(a=new Image).src=t,a.style.maxWidth="100%",a.style.display="block",a.style.position="relative",a.style.visibility="visible",a.style.opacity="1",a.style.clipPath="none",document.body.appendChild(a),this.setTimeout(function(){window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(a),o.dispose(),s&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},e.delay||500),[2,!0]})})},e.prototype.printViaIframe=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o;return r.d(this,function(r){return(n=document.createElement("iframe")).style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close(),(o=new Image).src=t,o.style.maxWidth="100%",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(o),n.load=function(){n.contentWindow.document.body.appendChild(o)},this.setTimeout(function(){try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch(t){n.contentWindow.print()}},e.delay||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(n)},e.delay+50||100),[2,!0]})})},e.prototype.findBackgroundColor=function(t){var e=1,i="";if(t.currentStyle?i=t.currentStyle["background-color"]:window.getComputedStyle&&(i=document.defaultView.getComputedStyle(t,null).getPropertyValue("background-color")),(i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==i)&&(e=0),0==e){var n=t.parentElement;return n?this.findBackgroundColor(n):Object(g.c)("#fff")}return Object(g.c)(i,e)},Object.defineProperty(e.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(t){this._container=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(t){this._sprite=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(t){this._extraSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(t){this._data=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(t){this._dataFields=t,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),e.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0)},Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new c.a),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(t){this._dateFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new l.b),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(t){this._dateFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new p.a),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(t){this._durationFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(t){this._durationFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new l.b),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(t){this._durationFields=t},enumerable:!0,configurable:!0}),e.prototype.generateDataFields=function(){var t=this;this._dataFields={},this.data.length&&w.each(this.data,function(e){v.each(e,function(e,i){x.hasValue(t._dataFields[e])||(t._dataFields[e]=t.adapter.apply("dataFieldName",{name:e,field:e}).name)})})},e.prototype.isDateField=function(t){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(t),field:t}).isDateField},e.prototype.isDurationField=function(t){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(t),field:t}).isDurationField},e.prototype.getContentType=function(t){var e="";switch(t){case"png":case"gif":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"svg":e="image/svg+xml";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"pdf":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return this.adapter.apply("contentType",{contentType:e,type:t}).contentType},Object.defineProperty(e.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(t){this._filePrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(t){this._backgroundColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),e.prototype.showPreloader=function(){var t=this.preloader;t&&(t.progress=.5,t.label.text="...")},e.prototype.hidePreloader=function(){var t=this.preloader;t&&(t.progress=1)},Object.defineProperty(e.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),e.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},e.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this._language=new d.a),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modal",{get:function(){return this._modal||(this._modal=new u.a,this._modal.adapter.add("classPrefix",function(t){return t=m.a.classNamePrefix+t})),this._modal},enumerable:!0,configurable:!0}),e.prototype.showModal=function(t,e){this.hideModal(),this.hidePreloader();var i=this.modal;i.container=this.sprite.svgContainer.SVGContainer,i.content=t,i.readerTitle=e,i.open()},e.prototype.hideModal=function(){this._modal&&this.modal.close()},e.prototype._canvg=function(){return r.b(this,void 0,void 0,function(){var t;return r.d(this,function(e){switch(e.label){case 0:return[4,i.e("0471").then(i.bind(null,"pu93"))];case 1:return null!=(t=e.sent()).default?[2,t.default]:[2,t]}})})},Object.defineProperty(e.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pdfmake",{get:function(){return null==n&&(n=function(){return r.b(this,void 0,void 0,function(){var t,e,n,o;return r.d(this,function(r){switch(r.label){case 0:return[4,Promise.all([i.e("076f").then(i.bind(null,"o2M+")),i.e("076f").then(i.bind(null,"/9Au"))])];case 1:return t=r.sent(),e=t[0],n=t[1],(o=window).pdfMake=o.pdfMake||{},o.pdfMake.vfs=n.default,e.vfs=n.default,[2,e]}})})}()),n},enumerable:!0,configurable:!0}),e.prototype._xlsx=function(){return r.b(this,void 0,void 0,function(){return r.d(this,function(t){switch(t.label){case 0:return[4,i.e("bf3e").then(i.bind(null,"s5xg"))];case 1:return[2,t.sent()]}})})},Object.defineProperty(e.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),e.prototype.setFormatOptions=function(t,e){this._formatOptions.setKey(t,e)},e.prototype.getFormatOptions=function(t){return this._formatOptions.getKey(t)},e.prototype._disablePointers=function(){x.hasValue(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},e.prototype._releasePointers=function(){x.hasValue(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},e.prototype.hideNonExportableSprites=function(){var t=this;if(!this._objectsAlreadyHidden){var e=this.sprite.svgContainer;e&&w.each(e.nonExportableSprites,function(e){e.isHidden||e.isHiding||t._hiddenObjects.push(e),e.hide(0)}),this._objectsAlreadyHidden=!0}},e.prototype.restoreNonExportableSprites=function(){this._objectsAlreadyHidden&&(w.each(this._hiddenObjects,function(t){t.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},e.prototype.processConfig=function(e){y.b.registeredClasses.ExportMenu=o.a,e&&x.hasValue(e.menu)&&!x.hasValue(e.menu.type)&&(e.menu.type="ExportMenu"),t.prototype.processConfig.call(this,e)},e.XLINK="http://www.w3.org/1999/xlink",e}(f.a)},GIxq:function(t,e,i){var n=i("DVYA");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}},GQop:function(t,e,i){"use strict";var n=i("AEc5");t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},Gb1H:function(t,e,i){var n=i("T9LF"),r=i("G5U1"),o=i("Vng0"),s=i("wDk4"),a=i("20m4"),u=function(t,e,i){var l,h,c,p,d=t&u.F,f=t&u.G,g=t&u.S,y=t&u.P,m=t&u.B,b=f?n:g?n[e]||(n[e]={}):(n[e]||{}).prototype,v=f?r:r[e]||(r[e]={}),_=v.prototype||(v.prototype={});for(l in f&&(i=e),i)c=((h=!d&&b&&void 0!==b[l])?b:i)[l],p=m&&h?a(c,n):y&&"function"==typeof c?a(Function.call,c):c,b&&s(b,l,c,t&u.U),v[l]!=c&&o(v,l,p),y&&_[l]!=c&&(_[l]=c)};n.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},Gg2j:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"PI",function(){return r}),i.d(e,"HALFPI",function(){return o}),i.d(e,"RADIANS",function(){return s}),i.d(e,"DEGREES",function(){return a}),e.toNumberRange=function(t,e,i){if(n.hasValue(t))return l(t=n.toNumber(t),e,i);return t},e.round=u,e.ceil=function(t,e){if(!n.isNumber(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i},e.stretch=function(t,e,i){return t*(i-e)+e},e.fitToRange=l,e.sin=h,e.tan=function(t){return u(Math.tan(s*t),10)},e.cos=c,e.max=p,e.min=d,e.closest=function(t,e){return t.reduce(function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t})},e.intersect=function(t,e){var i=n.getValue(t.start),r=n.getValue(e.start),o=n.getValue(t.end),s=n.getValue(e.end);return Math.max(i,r)<=Math.min(o,s)},e.invertRange=function(t){var e=n.getValue(t.start);return{start:1-n.getValue(t.end),end:1-e}},e.intersection=function(t,e){var i=n.getValue(t.start),r=n.getValue(e.start),o=n.getValue(t.end),s=n.getValue(e.end),a=Math.max(i,r),u=Math.min(o,s);return u<a?void 0:{start:a,end:u}},e.getDistance=f,e.getScale=function(t,e,i,n){var r=f(e,n),o=f(t,i);return Math.abs(o/r)},e.getMidPoint=function(t,e,i){n.isNumber(i)||(i=.5);return{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}},e.getRotation=g,e.getAngle=y,e.getCenterShift=function(t,e,i,n,r){var o=g(e,i,n,r)-90;o<0&&(o+=360);var s=f(e,n),a=Math.cos(o)/s+e.x,u=Math.cos(o)/s+e.y;return{x:a-t.x,y:u-t.y}},e.getBBox=function(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,o=void 0,s=void 0,a=0;a<e;a++){var u=t[a];(!n.isNumber(o)||u.x>o)&&(o=u.x),(!n.isNumber(r)||u.x<r)&&(r=u.x),(!n.isNumber(i)||u.y<i)&&(i=u.y),(!n.isNumber(s)||u.y>s)&&(s=u.y)}return{x:r,y:i,width:o-r,height:s-i}}}return{x:0,y:0,width:0,height:0}},e.getCommonRectangle=function(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,o=void 0,s=0;s<e;s++){var a=t[s];i=d(a.x,i),n=d(a.y,n),r=p(a.x+a.width,r),o=p(a.y+a.height,o)}return{x:i,y:n,width:r-i,height:o-n}}},e.getPointOnQuadraticCurve=function(t,e,i,n){var r=(1-n)*(1-n)*t.x+2*(1-n)*n*i.x+n*n*e.x,o=(1-n)*(1-n)*t.y+2*(1-n)*n*i.y+n*n*e.y;return{x:r,y:o}},e.getPointOnCubicCurve=function(t,e,i,n,r){var o={x:0,y:0},s=1-r,a=s*s,u=a*s;return o.x=t.x*u+3*i.x*a*r+3*n.x*s*r*r+e.x*r*r*r,o.y=t.y*u+3*i.y*a*r+3*n.y*s*r*r+e.y*r*r*r,o},e.getCubicControlPointA=function(t,e,i,n,r,o){return r=m(r),o=m(o),{x:(-t.x+e.x/r+i.x)*r,y:(-t.y+e.y/o+i.y)*o}},e.getCubicControlPointB=function(t,e,i,n,r,o){return r=m(r),o=m(o),{x:(e.x+i.x/r-n.x)*r,y:(e.y+i.y/o-n.y)*o}},e.adjustTension=m,e.normalizeAngle=b,e.fitAngleToRange=function(t,e,i){if(e>i){var n=e;e=i,i=n}t=b(t);var r=(e-b(e))/360;t<e&&(t+=360*(r+1));t>i&&(t-360>e?t-=360:t=t<e+(i-e)/2+180?i:e);t<e&&(t=t>e+(i-e)/2-180?e:i);return t},e.getArcRect=function(t,e,i){var r=Number.MAX_VALUE,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=-Number.MAX_VALUE,u=[];n.isNumber(i)||(i=1);u.push(v(i,t)),u.push(v(i,e));for(var l=Math.min(90*Math.floor(t/90),90*Math.floor(e/90)),h=Math.max(90*Math.ceil(t/90),90*Math.ceil(e/90)),c=l;c<=h;c+=90)c>=t&&c<=e&&u.push(v(i,c));for(var p=0;p<u.length;p++){var d=u[p];d.x<r&&(r=d.x),d.y<o&&(o=d.y),d.x>s&&(s=d.x),d.y>a&&(a=d.y)}return{x:r,y:o,width:s-r,height:a-o}},e.getArcPoint=v,e.isInRectangle=function(t,e){if(t.x>=e.x&&t.x<=e.x+e.width&&t.y>e.y&&t.y<e.y+e.height)return!0;return!1},e.getLineIntersection=function(t,e,i,n){var r=((t.x*e.y-e.x*t.y)*(i.x-n.x)-(t.x-e.x)*(i.x*n.y-i.y*n.x))/((t.x-e.x)*(i.y-n.y)-(t.y-e.y)*(i.x-n.x)),o=((t.x*e.y-e.x*t.y)*(i.y-n.y)-(t.y-e.y)*(i.x*n.y-i.y*n.x))/((t.x-e.x)*(i.y-n.y)-(t.y-e.y)*(i.x-n.x));return{x:r,y:o}};var n=i("Mtpk"),r=Math.PI,o=r/2,s=r/180,a=180/r;function u(t,e,i){if(!n.isNumber(e)||e<=0){var r=Math.round(t);return i&&r-t==.5&&r--,r}var o=Math.pow(10,e);return Math.round(t*o)/o}function l(t,e,i){if(n.isNumber(e)){if(n.isNumber(i)&&i<e){var r=i;i=e,e=r}t<e&&(t=e)}return n.isNumber(i)&&t>i&&(t=i),t}function h(t){return u(Math.sin(s*t),10)}function c(t){return u(Math.cos(s*t),10)}function p(t,e){return n.isNumber(t)?n.isNumber(e)&&e>t?e:t:n.isNumber(e)?e:null}function d(t,e){return n.isNumber(t)?n.isNumber(e)&&e<t?e:t:n.isNumber(e)?e:null}function f(t,e){return t?(e||(e={x:0,y:0}),Math.sqrt(Math.pow(Math.abs(t.x-e.x),2)+Math.pow(Math.abs(t.y-e.y),2))):0}function g(t,e,i,n){var r=y(e,n)-y(t,i);return r<0&&(r+=360),r}function y(t,e){e||(e={x:2*t.x,y:2*t.y});var i=e.x-t.x,n=e.y-t.y,r=Math.atan2(n,i)*a;return r<0&&(r+=360),b(r)}function m(t){return 1-t+1e-5}function b(t){return 360==t?360:t%360}function v(t,e){return{x:t*c(e),y:t*h(e)}}},GqPQ:function(t,e,i){var n=i("Gb1H"),r=i("7GtY");r&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},GtDR:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("Gg2j"),a=function(t){function e(){var e=t.call(this)||this;return e.className="Rectangle",e.element=e.paper.add("rect"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this._positionPrecision;this.pixelPerfect&&(e=0);var i=s.round(this.innerWidth,e),n=s.round(this.innerHeight,e);this.element.attr({width:i,height:n})},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Rectangle=a},GuW4:function(t,e,i){var n=i("Gb1H");n(n.S+n.F,"Object",{assign:i("bdjS")})},Gxer:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("aZcm"),o=i("vJiZ"),s=i("FmWr"),a=i("4BRe"),u=i("L2Mu");n(n.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),i=s(e.length),n=u(e,0);return r(n,e,e,i,0,void 0===t?1:a(t)),n}}),i("M/YL")("flatten")},HDh7:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var n=i("hD5A"),r=i("UsNi"),o=i("W8Sc"),s=i("vMqJ"),a=i("v9UT"),u=i("58Sn"),l=i("hJ5i"),h=i("Mtpk"),c=i("NlGZ"),p=i.n(c),d=[],f=function(){function t(t){var e=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this.htmlElement=t;var i=function(){e.measure()};this.resizeSensor=new p.a(t,i),this._disposers.push(new n.b(function(){e.resizeSensor.detach(i)})),d.push(this);var r=document.createElement("div"),o=r.style;o.width="100%",o.height="100%",o.position="relative",t.appendChild(r),this.SVGContainer=r}return t.prototype.measure=function(){var t=a.width(this.htmlElement),e=a.height(this.htmlElement),i=this.container;i&&(this.width==t&&this.height==e||(this.width=t,this.height=e,t>0&&(i.maxWidth=t),e>0&&(i.maxHeight=e),u.m(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||l.remove(d,this),l.each(this._disposers,function(t){t.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(t){this.SVGContainer.style.overflow=t?"hidden":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return h.hasValue(this._modal)||(this._modal=new o.a,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(t,e){this.closeModal();var i=this.modal;return i.content=t,i.readerTitle=e,i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!h.hasValue(this._popups)){var t=new r.a;t.container=this.SVGContainer,this._popups=new s.e(t),this._disposers.push(new s.c(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(t,e){var i=this.popups.create();return i.content=t,h.hasValue(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(t){t.close()})},t.prototype.checkTransform=function(t){if(window.getComputedStyle){if(t&&t.style){var e=window.getComputedStyle(t,null);if(e){var i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");if(i&&"none"!==i){var n=i.split("(")[1].split(")")[0].split(","),r=Number(n[0]),o=Number(n[1]),s=Math.sqrt(r*r+o*o);isNaN(s)||(this.cssScale*=s)}}}t.parentNode&&t.parentNode instanceof HTMLElement&&this.checkTransform(t.parentNode)}},t}()},HW78:function(t,e,i){t.exports=!i("gD3S")&&!i("AEc5")(function(){return 7!=Object.defineProperty(i("+wz8")("div"),"a",{get:function(){return 7}}).a})},HyzE:function(t,e,i){var n=i("Gb1H"),r=i("aPa3");n(n.G+n.F*(parseFloat!=r),{parseFloat:r})},ID9o:function(t,e,i){var n=i("YEtG")("iterator"),r=!1;try{var o=[7][n]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:i=!0}},o[n]=function(){return s},t(o)}catch(t){}return i}},IGCA:function(t,e,i){"use strict";i("Mvcd")("blink",function(t){return function(){return t(this,"blink","","")}})},ISWh:function(t,e,i){"use strict";i.d(e,"a",function(){return b});var n=i("m4/l"),r=i("C6dT"),o=i("xIv9"),s=i("aGXA"),a=i("zhwk"),u=i("qCRI"),l=i("CnhP"),h=i("aCit"),c=i("WYhe"),p=i("MIZb"),d=i("tjMS"),f=i("Gg2j"),g=i("0FpR"),y=i("Mtpk"),m=i("v9UT"),b=function(t){function e(){var e=t.call(this)||this;e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=g.cubicOut,e.margin(10,10,10,10);var i=new p.a,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.startGrip=new o.a,e.endGrip=new o.a,e.events.on("transformed",e.updateThumb,e,!1),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()},void 0,!1),e.hideGrips=!1,e.orientation="horizontal",e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),"horizontal"===this.orientation?(y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),y.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),y.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),y.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection"))):(y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),y.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),y.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),y.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")))},e.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()},e.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this,void 0)},e.prototype.handleBgHit=function(t){this.makeBusy();var e=t.spritePoint;e=m.spritePointToSprite(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.fitToRange(n,0,this.innerWidth-i.pixelWidth),this._thumbAnimation=i.animate({property:"x",to:n},this.animationDuration,this.animationEasing)}else{var r=e.y-i.pixelHeight/2;r=f.fitToRange(r,0,this.innerHeight-i.pixelHeight),this._thumbAnimation=i.animate({property:"y",to:r},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},e.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},e.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},e.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},e.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},e.prototype.dispatchRangeChange=function(){this._previousEnd==this.end&&this._previousStart==this.start||(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},e.prototype.updateThumb=function(){if(this.parent){var t=this.thumb,e=this.start,i=this.end,n=this.startGrip,r=this.endGrip;if("horizontal"==this.orientation){var o=this.innerWidth;t.width=o*(i-e),t.maxX=o-t.pixelWidth,t.x=e*o,n.moveTo({x:t.pixelX,y:0},void 0,void 0,!0),r.moveTo({x:t.pixelX+t.pixelWidth,y:0},void 0,void 0,!0),n.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value),r.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value)}else{var s=this.innerHeight;t.height=s*(i-e),t.maxY=s-t.pixelHeight,t.y=(1-i)*s,n.moveTo({x:0,y:t.pixelY+t.pixelHeight},void 0,void 0,!0),r.moveTo({x:0,y:t.pixelY},void 0,void 0,!0),n.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-e))+"%",position:1-e}).value),r.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-i))+"%",position:1-i}).value)}t.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),!this._skipRangeEvents&&this.updateWhileMoving&&this.dispatchRangeChange()}},e.prototype.updateExtremes=function(){var t=0,e=0,i=0,n=0;"horizontal"==this.orientation?(i=this.innerWidth,e=n=this.innerHeight/2):(n=this.innerHeight,t=i=this.innerWidth/2);var r=this.startGrip;r.minX=t,r.maxX=i,r.minY=e,r.maxY=n;var o=this.endGrip;o.minX=t,o.maxX=i,o.minY=e,o.maxY=n;var s=this.thumb;s.minX=t,s.maxX=i,s.minY=e,s.maxY=n},e.prototype.updateSize=function(){var t=this.orientation,e=this.startGrip;e&&(e.orientation=t),this.endGrip&&(this.endGrip.orientation=t);var i=this.thumb;i&&("horizontal"==t?(y.isNumber(this._pixelWidth)||(this.width=Object(d.c)(100)),y.hasValue(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(y.isNumber(this._pixelHeight)||(this.height=Object(d.c)(100)),y.hasValue(this.percentWidth)&&(this.width=this.minWidth),i.width=this.innerWidth,i.verticalCenter="top",i.horizontalCenter="middle"))},Object.defineProperty(e.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__start",{get:function(){return this._start},set:function(t){this._start=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__end=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__end",{get:function(){return this._end},set:function(t){this._end=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),e.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},e.prototype.fixRange=function(t){t.start==f.round(this._start,2)&&t.end==f.round(this._end,2)||(this._start=t.start,this._end=t.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},e.prototype.getPosition=function(t){return f.fitToRange(f.round(t,4),0,1)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&("horizontal"===t?(this.startGrip.cursorOverStyle=u.a.horizontalResize,this.endGrip.cursorOverStyle=u.a.horizontalResize):(this.startGrip.cursorOverStyle=u.a.verticalResize,this.endGrip.cursorOverStyle=u.a.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.updateByOrientation=function(){},Object.defineProperty(e.prototype,"startGrip",{get:function(){return this._startGrip},set:function(t){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endGrip",{get:function(){return this._endGrip},set:function(t){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),e.prototype.processGrip=function(t){t.parent=this,t.isMeasured=!1,t.focusable=!0,t.shouldClone=!1,t.showSystemTooltip=!0,t.zIndex=100,t.events.on("drag",this.handleGripDrag,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("down",this.makeBusy,this,!1),this._disposers.push(t)},e.prototype.handleGripDrag=function(t){this.makeBusy(),t.target===this._startGrip?this._usingGrip="start":this._usingGrip="end","horizontal"==this.orientation?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(e.prototype,"thumb",{get:function(){if(!this._thumb){var t=new s.a;t.background.cornerRadius(10,10,10,10),t.padding(0,0,0,0),this.thumb=t}return this._thumb},set:function(t){var e=this;t&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=t,t.parent=this,t.isMeasured=!1,t.inert=!0,t.draggable=!0,t.clickable=!0,t.hoverable=!0,t.focusable=!0,t.shouldClone=!1,t.zIndex=0,t.cursorOverStyle=u.a.grab,t.cursorDownStyle=u.a.grabbing,t.events.on("dragstart",this.makeBusy,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("positionchanged",this.handleThumbPosition,this,!1),t.events.on("sizechanged",this.handleThumbPosition,this,!1),t.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push(Object(a.b)().body.events.on("keyup",function(t){c.b.isKey(t.event,["space","enter"])&&e.thumb.isFocused&&(t.event.preventDefault(),e.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),e.prototype.handleDoubleClick=function(){this.makeBusy();var t=0,e=1;0!=this.start||1!=this.end?(this._prevStart=this.start,this._prevEnd=this.end):(t=this._prevStart,e=this._prevEnd);var i=this.animate([{property:"__start",to:t},{property:"__end",to:e}],this.animationDuration,this.animationEasing);i&&!i.isFinished()?(i.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=i):this.makeUnbusy()},e.prototype.handleThumbPosition=function(){var t=this.thumb;if("horizontal"==this.orientation){var e=this.innerWidth,i=t.innerWidth,n=t.pixelX;this._start=n/e,this._end=(n+i)/e,this.updateThumb()}else{var r=this.innerHeight,o=t.innerHeight,s=t.pixelY;this._start=1-(s+o)/r,this._end=1-s/r,this.updateThumb()}},e.prototype.createBackground=function(){return new l.a},Object.defineProperty(e.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(t){var e=this;this._hideGrips=t,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),t?(this._overDisposer=this.events.on("over",function(){e.startGrip.show(),e.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){e.startGrip.hide(),e.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),e}(r.a);h.b.registeredClasses.Scrollbar=b},ITVZ:function(t,e,i){var n=i("Gb1H"),r=Math.PI/180;n(n.S,"Math",{radians:function(t){return t*r}})},IYrR:function(t,e,i){var n=i("YEtG")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},IbTV:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("TDx+"),o=i("aCit"),s=i("Gg2j"),a=i("Mtpk"),u=i("hGwe"),l=i("v9UT"),h=i("tjMS"),c=function(t){function e(){var e=t.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(t){this.setPropertyValue("relativeRotation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bent",{get:function(){return this.getPropertyValue("bent")},set:function(t){this.setPropertyValue("bent",t,!0),t&&(this.textAlign="middle")},enumerable:!0,configurable:!0}),e.prototype.pixelRadius=function(t){var e=1;return this.inside&&(e=-1),l.relativeToValue(this.radius,t)*e},e.prototype.pixelRadiusY=function(t,e){var i=1;this.inside&&(i=-1);var n=this.radius;return a.isNumber(n)?(n*=e/t,l.relativeToValue(n,t)*i):l.relativeToValue(n,e)*i},e.prototype.fixPosition=function(t,e,i,n,r){a.isNumber(i)||(i=e),a.isNumber(n)||(n=0),a.isNumber(r)||(r=0);var o={x:e*s.cos(t),y:i*s.sin(t)};this.invalid&&this.validate();var l=!1,c=this.radius;c instanceof h.a&&c.value<0?l=!0:c<0&&(l=!0);var p=this.relativeRotation,d=this.pixelRadius(e);if(this.bent){var f={x:e*s.cos(t+180),y:i*s.sin(t+180)};return this.path=u.moveTo(f)+u.arcTo(t+180,360,e+d,i+d*i/e),void(this.locationOnPath=.5)}if(a.isNumber(p)){this.horizontalCenter="none",this.verticalCenter="none",t=s.fitAngleToRange(t,-180,180);var g=this.bbox.width,y=this.bbox.height,m=this.pixelPaddingBottom,b=this.pixelPaddingTop,v=this.pixelPaddingLeft,_=this.pixelPaddingRight;t>90||t<-90?-90==p&&(p=90,g=0):(-90==p&&(y=-y),90==p&&(p=-90,g=-v-_,y=-y-b-m)),this.rotation=p+t+90;var x=s.sin(p)/2,P=s.cos(p)/2,w=this.rotation;this.dx=y*x*s.sin(w)-g*P*s.cos(w),this.dy=-y*x*s.cos(w)-g*P*s.sin(w),this.inside?t>90||t<-90?d-=(m+b)*s.cos(p)+(v+_)*s.sin(p):d+=(m+this.bbox.height+b)*s.cos(p)+(v+_+this.bbox.width)*s.sin(p):d+=(y+m+b)*s.cos(p)+(g+v+_)*s.sin(p),o.x+=s.cos(t)*d,o.y+=s.sin(t)*d*i/e}else this.horizontalCenter="middle",this.verticalCenter="middle",l?(this.dx=0,this.dy=0,o.x=(e+d)*s.cos(t),o.y=(i+d*i/e)*s.sin(t)):(this.dy=this._measuredHeight/2*s.sin(t),this.dx=this._measuredWidth/2*s.cos(t),o.x+=s.cos(t)*d,o.y+=s.sin(t)*d*i/e);o.x+=n,o.y+=r,this.fdx=this.dx,this.fdy=this.dy,this.moveTo(o)},e}(r.a);o.b.registeredClasses.AxisLabelCircular=c},IcXr:function(t,e,i){var n=i("Gb1H"),r=i("DbOM"),o=i("snR7"),s=(i("T9LF").Reflect||{}).apply,a=Function.apply;n(n.S+n.F*!i("AEc5")(function(){s(function(){})}),"Reflect",{apply:function(t,e,i){var n=r(t),u=o(i);return s?s(n,e,u):a.call(n,e,u)}})},"Ijb/":function(t,e,i){var n=i("Gb1H"),r=i("0C8c");n(n.S+n.F*(r!=Math.expm1),"Math",{expm1:r})},Inf5:function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i("m4/l"),r=i("C6dT"),o=i("Vs7R"),s=i("aCit"),a=i("Gg2j"),u=i("hGwe"),l=i("Mtpk"),h=i("v9UT"),c=i("CuFa"),p=function(t){function e(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(o.a),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.radiusY;this.radius>0&&0==e&&(e=.01),this.slice.path=u.arc(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof c.a&&this.updateGradient(this.realFill),this.realStroke instanceof c.a&&this.updateGradient(this.realStroke)},e.prototype.updateGradient=function(t){t.element.attr({gradientUnits:"userSpaceOnUse"}),t.element.attr({r:this.radius}),t.cx=0,t.cy=0,t.element.attr({radius:this.radius})},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(this.isMeasured){var t=a.getArcRect(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=a.getArcRect(this.startAngle,this.startAngle+this.arc,this.radius);return a.getCommonRectangle([t,e])}return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",a.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){l.isNumber(t)||(t=0),this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){var t=this.getPropertyValue("radius");return l.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return l.isNumber(t)||(t=this.radius),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return h.relativeToValue(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(t){this.setPropertyValue("innerCornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(t){this.setPropertyValue("shiftRadius",t),this.dx=t*this.radius*this.ix,this.dy=t*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ix",{get:function(){return a.cos(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return this.radius,a.sin(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");if(!l.isNumber(t)){var e=h.relativeToValue(this.innerRadius,this.radius);t=this.ix*(e+(this.radius-e)/2)}return t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(!l.isNumber(t)){var e=h.relativeToValue(this.innerRadius,this.radius);t=this.iy*(e+(this.radius-e)/2)}return t},e}(r.a);s.b.registeredClasses.Slice=p},Iz1H:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){this._disposed=!1,this._disposers=[]}return t.prototype.init=function(){},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}}},t}()},JNIx:function(t,e,i){"use strict";e.a={_decimalSeparator:".",_thousandSeparator:",",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""}},JqbS:function(t,e,i){var n=i("snR7"),r=i("DvJ+"),o=i("6w17");t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=o.f(t);return(0,i.resolve)(e),i.promise}},K0ev:function(t,e,i){var n=i("U3hN"),r=i("vJiZ"),o=i("VYrJ")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},K2Eo:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("oGmz")(!0);n(n.P,"String",{at:function(t){return r(this,t)}})},KfrQ:function(t,e,i){var n=i("Gb1H"),r=i("0C8c"),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=r(t=+t),i=r(-t);return e==1/0?1:i==1/0?-1:(e-i)/(o(t)+o(-t))}})},Kg3M:function(t,e,i){"use strict";var n=i("oGmz")(!0);i("Uobz")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},Kmds:function(t,e,i){var n=i("Gb1H"),r=Math.asinh;n(n.S+n.F*!(r&&1/r(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},L2Mu:function(t,e,i){var n=i("ua0L");t.exports=function(t,e){return new(n(t))(e)}},L8kC:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.has,s=n.key;n.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:s(arguments[2]))}})},L91H:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"timeUnitDurations",function(){return r}),e.getNextUnit=o,e.getDuration=function(t,e){n.hasValue(e)||(e=1);return r[t]*e},e.now=s,e.getTime=function(){return s().getTime()},e.copy=function(t){return new Date(t.getTime())},e.checkChange=function t(e,i,n,r){e=new Date(e.getTime());i=new Date(i.getTime());var s=0;var a=0;r||"millisecond"==n||(s=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-s),a=i.getTimezoneOffset(),i.setUTCMinutes(i.getUTCMinutes()-a));var u=!1;switch(n){case"year":e.getUTCFullYear()!=i.getUTCFullYear()&&(u=!0);break;case"month":e.getUTCFullYear()!=i.getUTCFullYear()?u=!0:e.getUTCMonth()!=i.getUTCMonth()&&(u=!0);break;case"day":e.getUTCMonth()!=i.getUTCMonth()?u=!0:e.getUTCDate()!=i.getUTCDate()&&(u=!0);break;case"hour":e.getUTCHours()!=i.getUTCHours()&&(u=!0);break;case"minute":e.getUTCMinutes()!=i.getUTCMinutes()&&(u=!0);break;case"second":e.getUTCSeconds()!=i.getUTCSeconds()&&(u=!0);break;case"millisecond":e.getTime()!=i.getTime()&&(u=!0)}if(u)return!0;var l=o(n);return!!l&&t(e,i,l,r)},e.add=function(t,e,i,n){var r=0;n||"millisecond"==e||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r));switch(e){case"day":var o=t.getUTCDate();t.setUTCDate(o+i);break;case"second":var s=t.getUTCSeconds();t.setUTCSeconds(s+i);break;case"millisecond":var a=t.getUTCMilliseconds();t.setUTCMilliseconds(a+i);break;case"hour":var u=t.getUTCHours();t.setUTCHours(u+i);break;case"minute":var l=t.getUTCMinutes();t.setUTCMinutes(l+i);break;case"year":var h=t.getUTCFullYear();t.setUTCFullYear(h+i);break;case"month":var c=t.getUTCMonth();t.setUTCMonth(c+i);break;case"week":var p=t.getUTCDate();t.setUTCDate(p+7*i)}if(!n&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+r),"day"==e||"week"==e||"month"==e||"year"==e)){var d=t.getTimezoneOffset();if(d!=r){var f=d-r;t.setUTCMinutes(t.getUTCMinutes()+f),t.getTimezoneOffset()!=d&&t.setUTCMinutes(t.getUTCMinutes()-f)}}return t},e.round=function(t,e,i,r,o){n.isNumber(i)||(i=1);var s=0;o||"millisecond"==e||(s=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-s));switch(e){case"day":var a=t.getUTCDate();i>1&&(a=Math.floor(a/i)*i),t.setUTCDate(a),t.setUTCHours(0,0,0,0);break;case"second":var u=t.getUTCSeconds();i>1&&(u=Math.floor(u/i)*i),t.setUTCSeconds(u,0);break;case"millisecond":if(1==i)return t;var l=t.getUTCMilliseconds();l=Math.floor(l/i)*i,t.setUTCMilliseconds(l);break;case"hour":var h=t.getUTCHours();i>1&&(h=Math.floor(h/i)*i),t.setUTCHours(h,0,0,0);break;case"minute":var c=t.getUTCMinutes();l=t.getUTCMilliseconds(),i>1&&(c=Math.floor(c/i)*i),t.setUTCMinutes(c,0,0);break;case"month":var p=t.getUTCMonth();i>1&&(p=Math.floor(p/i)*i),t.setUTCMonth(p,1),t.setUTCHours(0,0,0,0);break;case"year":var d=t.getUTCFullYear();i>1&&(d=Math.floor(d/i)*i),t.setUTCFullYear(d,0,1),t.setUTCHours(0,0,0,0);break;case"week":var f=t.getUTCDate(),g=t.getUTCDay();n.isNumber(r)||(r=1),f=g>=r?f-g+r:f-(7+g)+r,t.setUTCDate(f),t.setUTCHours(0,0,0,0)}if(!o&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+s),"day"==e||"week"==e||"month"==e||"year"==e)){var y=t.getTimezoneOffset();if(y!=s){var m=y-s;t.setUTCMinutes(t.getUTCMinutes()+m)}}return t};var n=i("Mtpk"),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function o(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function s(){return new Date}},"LGy/":function(t,e,i){i("YJIw")("Float64",8,function(t){return function(e,i,n){return t(this,e,i,n)}})},LHMX:function(t,e,i){var n=i("T9LF"),r=i("6/bx"),o=i("hjwn").f,s=i("rkh7").f,a=i("0Zt3"),u=i("x2K9"),l=n.RegExp,h=l,c=l.prototype,p=/a/g,d=/a/g,f=new l(p)!==p;if(i("gD3S")&&(!f||i("AEc5")(function(){return d[i("YEtG")("match")]=!1,l(p)!=p||l(d)==d||"/a/i"!=l(p,"i")}))){l=function(t,e){var i=this instanceof l,n=a(t),o=void 0===e;return!i&&n&&t.constructor===l&&o?t:r(f?new h(n&&!o?t.source:t,e):h((n=t instanceof l)?t.source:t,n&&o?u.call(t):e),i?this:c,l)};for(var g=function(t){t in l||o(l,t,{configurable:!0,get:function(){return h[t]},set:function(e){h[t]=e}})},y=s(h),m=0;y.length>m;)g(y[m++]);c.constructor=l,l.prototype=c,i("wDk4")(n,"RegExp",l)}i("vdWU")("RegExp")},LLsa:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("sc+R");n(n.P+n.F*!i("GQop")([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},LMet:function(t,e,i){i("xdw4")("asyncIterator")},LNZc:function(t,e,i){"use strict";var n=i("T9LF"),r=i("gD3S"),o=i("pb4Y"),s=i("xSzy"),a=i("Vng0"),u=i("cA+3"),l=i("AEc5"),h=i("ypVE"),c=i("4BRe"),p=i("FmWr"),d=i("bytU"),f=i("rkh7").f,g=i("hjwn").f,y=i("lgQj"),m=i("bPwn"),b="prototype",v="Wrong index!",_=n.ArrayBuffer,x=n.DataView,P=n.Math,w=n.RangeError,O=n.Infinity,S=_,T=P.abs,C=P.pow,k=P.floor,M=P.log,j=P.LN2,I=r?"_b":"buffer",V=r?"_l":"byteLength",D=r?"_o":"byteOffset";function E(t,e,i){var n,r,o,s=new Array(i),a=8*i-e-1,u=(1<<a)-1,l=u>>1,h=23===e?C(2,-24)-C(2,-77):0,c=0,p=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===O?(r=t!=t?1:0,n=u):(n=k(M(t)/j),t*(o=C(2,-n))<1&&(n--,o*=2),(t+=n+l>=1?h/o:h*C(2,1-l))*o>=2&&(n++,o/=2),n+l>=u?(r=0,n=u):n+l>=1?(r=(t*o-1)*C(2,e),n+=l):(r=t*C(2,l-1)*C(2,e),n=0));e>=8;s[c++]=255&r,r/=256,e-=8);for(n=n<<e|r,a+=e;a>0;s[c++]=255&n,n/=256,a-=8);return s[--c]|=128*p,s}function F(t,e,i){var n,r=8*i-e-1,o=(1<<r)-1,s=o>>1,a=r-7,u=i-1,l=t[u--],h=127&l;for(l>>=7;a>0;h=256*h+t[u],u--,a-=8);for(n=h&(1<<-a)-1,h>>=-a,a+=e;a>0;n=256*n+t[u],u--,a-=8);if(0===h)h=1-s;else{if(h===o)return n?NaN:l?-O:O;n+=C(2,e),h-=s}return(l?-1:1)*n*C(2,h-e)}function R(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function A(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function N(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return E(t,52,8)}function H(t){return E(t,23,4)}function G(t,e,i){g(t[b],e,{get:function(){return this[i]}})}function W(t,e,i,n){var r=d(+i);if(r+e>t[V])throw w(v);var o=t[I]._b,s=r+t[D],a=o.slice(s,s+e);return n?a:a.reverse()}function U(t,e,i,n,r,o){var s=d(+i);if(s+e>t[V])throw w(v);for(var a=t[I]._b,u=s+t[D],l=n(+r),h=0;h<e;h++)a[u+h]=l[o?h:e-h-1]}if(s.ABV){if(!l(function(){_(1)})||!l(function(){new _(-1)})||l(function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name})){for(var z,Y=(_=function(t){return h(this,_),new S(d(t))})[b]=S[b],X=f(S),K=0;X.length>K;)(z=X[K++])in _||a(_,z,S[z]);o||(Y.constructor=_)}var J=new x(new _(2)),Z=x[b].setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||u(x[b],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else _=function(t){h(this,_,"ArrayBuffer");var e=d(t);this._b=y.call(new Array(e),0),this[V]=e},x=function(t,e,i){h(this,x,"DataView"),h(t,_,"DataView");var n=t[V],r=c(e);if(r<0||r>n)throw w("Wrong offset!");if(r+(i=void 0===i?n-r:p(i))>n)throw w("Wrong length!");this[I]=t,this[D]=r,this[V]=i},r&&(G(_,"byteLength","_l"),G(x,"buffer","_b"),G(x,"byteLength","_l"),G(x,"byteOffset","_o")),u(x[b],{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return R(W(this,4,t,arguments[1]))},getUint32:function(t){return R(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,A,e)},setUint8:function(t,e){U(this,1,t,A,e)},setInt16:function(t,e){U(this,2,t,L,e,arguments[2])},setUint16:function(t,e){U(this,2,t,L,e,arguments[2])},setInt32:function(t,e){U(this,4,t,N,e,arguments[2])},setUint32:function(t,e){U(this,4,t,N,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,H,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,B,e,arguments[2])}});m(_,"ArrayBuffer"),m(x,"DataView"),a(x[b],s.VIEW,!0),e.ArrayBuffer=_,e.DataView=x},LSPs:function(t,e,i){var n=i("Gb1H");n(n.S,"Date",{now:function(){return(new Date).getTime()}})},"Ly/W":function(t,e,i){"use strict";i("Mvcd")("strike",function(t){return function(){return t(this,"strike","","")}})},"M/YL":function(t,e,i){var n=i("YEtG")("unscopables"),r=Array.prototype;void 0==r[n]&&i("Vng0")(r,n,{}),t.exports=function(t){r[n][t]=!0}},MIZb:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("Tjl+"),o=i("aCit"),s=i("8ZqG"),a=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:Object(s.c)("#e5e5e5"),fill:Object(s.c)("#f3f3f3"),primaryButton:Object(s.c)("#6794dc"),primaryButtonHover:Object(s.c)("#6771dc"),primaryButtonDown:Object(s.c)("#68dc75"),primaryButtonActive:Object(s.c)("#68dc75"),primaryButtonText:Object(s.c)("#FFFFFF"),primaryButtonStroke:Object(s.c)("#FFFFFF"),secondaryButton:Object(s.c)("#d9d9d9"),secondaryButtonHover:Object(s.c)("#d9d9d9").brighten(-.25),secondaryButtonDown:Object(s.c)("#d9d9d9").brighten(-.35),secondaryButtonActive:Object(s.c)("#d9d9d9").brighten(.35),secondaryButtonText:Object(s.c)("#000000"),secondaryButtonStroke:Object(s.c)("#FFFFFF"),grid:Object(s.c)("#000000"),background:Object(s.c)("#ffffff"),alternativeBackground:Object(s.c)("#000000"),text:Object(s.c)("#000000"),alternativeText:Object(s.c)("#FFFFFF"),disabledBackground:Object(s.c)("#999999"),positive:Object(s.c)("#67dc75"),negative:Object(s.c)("#dc6788")},e.className="InterfaceColorSet",e.applyTheme(),e}return n.c(e,t),e.prototype.debug=function(){},e.prototype.getFor=function(t){return this._purposes[t]},e.prototype.setFor=function(t,e){this._purposes[t]=e},e}(r.a);o.b.registeredClasses.InterfaceColorSet=a},"MT+g":function(t,e,i){i("6+x4")("WeakSet")},MXvJ:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("jfaP"),o=i("aCit"),s=i("Gg2j"),a=i("hGwe"),u=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){var e="";this._realSegments=[];for(var i=0,n=t.length;i<n;i++){var r=t[i],o=[];if(this._realSegments.push(o),r.length>0){e+=a.moveTo(r[0]);for(var u=1;u<r.length;u++){var l=r[u-1],h=r[u],c=s.getDistance(h,l),p=c*this.controlPointDistance,d=this.controlPointPosition,f=-s.getAngle(l,h),g={x:l.x+(h.x-l.x)*d*.5-p*s.sin(f),y:l.y+(h.y-l.y)*d*.5-p*s.cos(f)},y={x:l.x+(h.x-l.x)*d*1.5-p*s.sin(f),y:l.y+(h.y-l.y)*d*1.5-p*s.cos(f)};e+=a.cubicCurveTo(h,g,y);var m=Math.ceil(c),b=l;if(m>0)for(var v=0;v<=m;v++){var _=s.getPointOnCubicCurve(l,h,g,y,v/m);o.push(_),this._distance+=s.getDistance(b,_),b=_}else o.push(l)}}}this.path=e}},Object.defineProperty(e.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(t){this.setPropertyValue("controlPointPosition",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Polyarc=u},MZQ8:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("1qam"),o=i("Gg2j"),s=function(t){function e(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=0,e.cornerRadius=6,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var r,s,a=this.pointerX,u=this.pointerY,l=this.pointerBaseWidth/2,h=o.min(i/2,n/2),c=o.fitToRange(e,0,h),p=o.fitToRange(e,0,h),d=o.fitToRange(e,0,h),f=o.fitToRange(e,0,h),g=void 0,y=void 0,m=void 0,b=void 0,v=(a-0)*(n-0)-(u-0)*(i-0),_=(a-0)*(0-n)-(u-n)*(i-0);if(v>0&&_>0)g="M"+c+",0 L"+((r=o.fitToRange(a,c+l,i-l-p))-l)+",0 L"+a+","+(u=o.fitToRange(u,-1/0,0))+" L"+(r+l)+",0 L"+(i-p)+",0";else g="M"+c+",0 L"+(i-p)+",0";if(v<0&&_<0)m=" L"+(i-d)+","+n+" L"+((r=o.fitToRange(a,f+l,i-l-d))+l)+","+n+" L"+a+","+(u=o.fitToRange(u,n,1/0))+" L"+(r-l)+","+n+" L"+f+","+n;else m=" L"+f+","+n;if(v<0&&_>0)b=" L0,"+(n-f)+" L0,"+((s=o.fitToRange(u,c+l,n-f-l))+l)+" L"+(a=o.fitToRange(a,-1/0,0))+","+u+" L0,"+(s-l)+" L0,"+c;else b=" L0,"+c;if(v>0&&_<0)y=" L"+i+","+p+" L"+i+","+((s=o.fitToRange(u,p+l,n-l-d))-l)+" L"+(a=o.fitToRange(a,i,1/0))+","+u+" L"+i+","+(s+l)+" L"+i+","+(n-d);else y=" L"+i+","+(n-d);var x=" a"+p+","+p+" 0 0 1 "+p+","+p,P=" a"+d+","+d+" 0 0 1 -"+d+","+d,w=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,O=" a"+c+","+c+" 0 0 1 "+c+",-"+c;this.path=g+x+y+P+m+w+b+O}},Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},MbWG:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("e8Nv");n(n.S+n.F*i("AEc5")(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,i=new("function"==typeof this?this:Array)(e);e>t;)r(i,t,arguments[t++]);return i.length=e,i}})},Meme:function(t,e,i){"use strict";i.d(e,"a",function(){return g});var n=i("m4/l"),r=i("C6dT"),o=i("hD5A"),s=i("eAid"),a=i("8EhG"),u=i("AaJ4"),l=i("TDx+"),h=i("eN1s"),c=i("vMqJ"),p=i("aCit"),d=i("tjMS"),f=i("Gg2j"),g=function(t){function e(){var e=t.call(this)||this;e._chart=new o.d,e.className="AxisRenderer",e.minGridDistance=50,e.inside=!1,e.inversed=!1,e.tooltipLocation=.5,e.fullWidthTooltip=!1,e.cellStartLocation=0,e.cellEndLocation=1,e.minLabelPosition=0,e.maxLabelPosition=1,e.shouldClone=!1;var i=e.createChild(r.a);i.shouldClone=!1,i.layout="none",i.width=Object(d.c)(100),i.height=Object(d.c)(100),e.gridContainer=i,i.events.on("maxsizechanged",function(){e.inited&&e.invalidateAxisItems()},e,!1);var n=e.createChild(r.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",n.width=Object(d.c)(100),n.height=Object(d.c)(100),e.breakContainer=n,e.line=e.createChild(s.a),e.line.shouldClone=!1,e.line.strokeOpacity=0;var a=e.createChild(u.a);a.shouldClone=!1,e.baseGrid=a;var l=e._disposers;return l.push(a),l.push(e.line),l.push(i),l.push(n),l.push(e._chart),e.ticks.template.disabled=!0,e.axisFills.template.disabled=!0,e.axisFills.template.interactionsEnabled=!1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(t){this.setAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setAxis=function(t){this._axis=t,this.baseGrid.parent=t,this.line.parent=t,this.gridContainer.bind("opacity",t)},e.prototype.processRenderer=function(){this.events.on("sizechanged",this.updateTooltip,this,!1),this.events.on("positionchanged",this.updateTooltip,this,!1),this.labels.template.inside=this.inside,this.ticks.template.inside=this.inside},e.prototype.updateTooltip=function(){},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.positionItem=function(t,e){t&&t.moveTo(e)},e.prototype.positionToPoint=function(t){return{x:0,y:0}},e.prototype.positionToAngle=function(t){return 0},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(e.end-t)*i:(t-e.start)*i},e.prototype.updateGridContainer=function(){},e.prototype.getHeight=function(){var t=this.axis;if(t&&t.chart){var e=this.axis.chart;if(e.plotContainer)return e.plotContainer.pixelHeight||0}return this.gridContainer.pixelHeight||0},e.prototype.getWidth=function(){var t=this.axis;if(t&&t.chart){var e=this.axis.chart;if(e.plotContainer)return e.plotContainer.pixelWidth||0}return this.gridContainer.pixelWidth||0},e.prototype.coordinateToPosition=function(t){var e,i=this.axis,n=i.axisFullLength;return e=i.renderer.inversed?i.end-t/n:t/n+i.start,f.round(e,5)},e.prototype.pointToPosition=function(t){return 0},e.prototype.getPositionRangePath=function(t,e){return""},e.prototype.invalidateAxisItems=function(){var t=this.axis;t&&t.invalidateDataItems()},e.prototype.updateGridElement=function(t,e,i){},e.prototype.updateTickElement=function(t,e,i){},e.prototype.updateLabelElement=function(t,e,i,n){},e.prototype.updateFillElement=function(t,e,i){t.startPosition=e,t.endPosition=i},e.prototype.updateAxisLine=function(){},e.prototype.updateBaseGridElement=function(){},e.prototype.updateBreakElement=function(t){this.positionItem(t.startLine,t.startPoint),this.toggleVisibility(t.startLine,t.startPosition,0,1),this.positionItem(t.endLine,t.endPoint),this.toggleVisibility(t.endLine,t.endPosition,0,1)},Object.defineProperty(e.prototype,"minGridDistance",{get:function(){return this.getPropertyValue("minGridDistance")},set:function(t){this.setPropertyValue("minGridDistance",t)&&this.axis&&this.axis.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.toggleVisibility=function(t,e,i,n){var r=this.axis,o=r.start+(r.end-r.start)*(i-1e-5),s=r.start+(r.end-r.start)*(n+1e-5);t.disabled||(t.__disabled=e<o||e>s)},e.prototype.createBreakSprites=function(t){},Object.defineProperty(e.prototype,"axisFills",{get:function(){if(!this._axisFills){var t=this.createFill(this.axis);this._axisFills=new c.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new c.c(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),e.prototype.createFill=function(t){return new a.a(t)},Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.createGrid();this._grid=new c.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new c.c(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),e.prototype.createGrid=function(){return new u.a},Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,t.isMeasured=!1,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._ticks=new c.e(t),this._disposers.push(new c.c(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),e.prototype.createTick=function(){return new h.a},Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();this._labels=new c.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new c.c(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createLabel=function(){return new l.a},Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t)&&this.axis&&this.axis.invalidate(),t?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")},set:function(t){this.setPropertyValue("opposite",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(t){this.setPropertyValue("fullWidthTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(t){this.setPropertyValue("cellStartLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(t){this.setPropertyValue("cellEndLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(t){this.setPropertyValue("inversed",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(t){this.setPropertyValue("minLabelPosition",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(t){this.setPropertyValue("maxLabelPosition",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},e.prototype.toAxisPosition=function(t){return t},e}(r.a);p.b.registeredClasses.AxisRenderer=g},MfZA:function(t,e,i){var n=i("DVYA"),r=i("YEtG")("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,i,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?i:o?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},MipW:function(t,e,i){"use strict";i.d(e,"a",function(){return c}),e.b=function(){null==n&&(n=new c);return n};var n,r=i("m4/l"),o=i("Tjl+"),s=i("pzs1"),a=i("x79X"),u=i("aCit"),l=i("ScGY"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e.adapter=new a.a(e),e.className="TextFormatter",e.applyTheme(),e}return r.c(e,t),e.prototype.debug=function(){},e.prototype.format=function(t,e){h.hasValue(e)||(e="svg");var i="",n=(t=this.escape(t)).match(/\[([^\]]*?)\]/gm);if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),o=0,s=r.length;o<s;o++){var a=r[o];if(""!==a){a=this.adapter.apply("chunk",a);var u="";o>0&&(u=n[o-1].replace("[","").replace("]","")),i+=this.wrap(a,u,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,u.b.getPlaceholder("1")).replace(/([^\/]{1})\]\]/g,"$1"+u.b.getPlaceholder("2")).replace(/\{\{/g,u.b.getPlaceholder("3")).replace(/\}\}/g,u.b.getPlaceholder("4")).replace(/\'\'/g,u.b.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(new RegExp(u.b.getPlaceholder("1"),"g"),"[[").replace(new RegExp(u.b.getPlaceholder("2"),"g"),"]]").replace(new RegExp(u.b.getPlaceholder("3"),"g"),"{{").replace(new RegExp(u.b.getPlaceholder("4"),"g"),"}}").replace(new RegExp(u.b.getPlaceholder("5"),"g"),"'")},e.prototype.cleanUp=function(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},e.prototype.wrap=function(t,e,i){switch(""!==e&&"/"!==e||(e=""),i){case"html":return this.wrapHtml(t,this.translateStyleShortcuts(e));default:return this.wrapSvg(t,this.translateStyleShortcuts(e))}},e.prototype.wrapSvg=function(t,e){return""===e?"<tspan>"+t+"</tspan>":"<tspan style='"+e+"'>"+t+"</tspan>"},e.prototype.getSvgElement=function(t,e){var i=new s.a("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.wrapHtml=function(t,e){return""===e?"<span>"+t+"</span>":"<span style='"+this.styleSvgToHtml(e)+"'>"+t+"</span>"},e.prototype.getHtmlElement=function(t,e){var i=document.createElement("span");return i.innerHTML=t,e&&i.setAttribute("style",e),i},e.prototype.styleSvgToHtml=function(t){return t=t.replace(/fill:/,"color:")},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=u.b.getCache("translateStyleShortcuts_"+t);if(e)return e;var i=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w]+)|(\/)/gi);if(!i)return t;for(var n=0;n<i.length;n++)i[n].match(/^bold$/i)?i[n]="font-weight:"+i[n]:"/"==i[n]?i[n]="":i[n].match(/:/)||(i[n]="fill:"+i[n]);var r=i.join(";");return u.b.setCache("translateStyleShortcuts_"+t,r),r},e.prototype.chunk=function(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=[];t=this.escape(t);for(var r=e?t.split("'"):[t],o=0;o<r.length;o++){var s=r[o];if(""!==s)if(o%2==0)for(var a=(s=(s=s.replace(/\]\[/g,"]"+l.d+"[")).replace(/\[\]/g,"[ ]")).split(/[\[\]]+/),u=0;u<a.length;u++){(h=this.cleanUp(this.unescape(a[u])))!==l.d&&(""!==h&&(u%2==0?n.push({type:"value",text:this.adapter.apply("chunk",h)}):n.push({type:i?"value":"format",text:"["+h+"]"})))}else for(a=s.split(/[\[\]]+/),u=0;u<a.length;u++){var h;""!==(h=this.cleanUp(this.unescape(a[u])))&&(u%2==0?n.push({type:"text",text:h}):this.isImage(h)?n.push({type:"image",text:"["+h+"]"}):n.push({type:"format",text:"["+h+"]"}))}}return n},e.prototype.isImage=function(t){return!!t.match(/img[ ]?:/)},e}(o.a);u.b.registeredClasses.TextFormatter=c},MlsF:function(t,e,i){"use strict";e.b=function(t){switch(t){case 0:return 0;case-1:return 1;case 1:return-1}},e.a=function(t,e){return 0===t?e:t}},Mpxm:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return l});var n=i("4DCw"),r=i("ZhuL"),o=i("x79X"),s=i("OVUc"),a=i("hJ5i"),u=function(){function t(){this.adapter=new o.a(this)}return t.prototype.load=function(t){var e=Array.isArray(t)?t:[t],i=a.map(e,function(t){return t.dispatchImmediately("started"),t.dispatchImmediately("loadstarted"),s.a(t.url,t,t.requestOptions)});Promise.all(i).then(function(t){a.each(t,function(t){var e=t.target;e.dispatchImmediately("loadended"),t.error?e.events.isEnabled("error")&&e.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:e.language.translate("Unable to load file: %1",null,e.url),target:e}):e.processData(t.response,t.type),e.dispatchImmediately("ended")})}).catch(function(t){t.target&&(t.target.dispatchImmediately("loadended"),t.target.events.isEnabled("error")&&t.target.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:t.target.language.translate("Unable to load file: %1",null,t.target.url),target:t.target}),t.target.dispatchImmediately("ended"))})},t.prototype.getParserByType=function(t){var e=this.adapter.apply("getParserByType",{parser:null,type:t}).parser;return e||("csv"==t||"text/csv"==t||"application/vnd.ms-excel"==t?new n.a:"json"==t||"application/json"==t?new r.a:void 0)},t.prototype.getParserByData=function(t,e){var i=this.adapter.apply("getParserByData",{parser:null,data:t,type:e}).parser;if(!i){if(i=this.getParserByType(e))return i;if(r.a.isJSON(t))return this.getParserByType("json");if(n.a.isCSV(t))return this.getParserByType("csv")}return i},t}(),l=new u},Mr4Y:function(t,e,i){"use strict";i.d(e,"a",function(){return p});var n=i("m4/l"),r=i("C6dT"),o=i("Vs7R"),s=i("Gg2j"),a=i("hGwe"),u=i("8ZqG"),l=i("CuFa"),h=i("sxA1"),c=i("C84C"),p=function(t){function e(){var e=t.call(this)||this;e.angle=30,e.depth=30,e.className="Rectangle3D",e.layout="none";var i=e.createChild(o.a);i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1,e.sideBack=i,e._disposers.push(e.sideBack);var n=e.createChild(o.a);n.shouldClone=!1,n.setElement(e.paper.add("path")),n.isMeasured=!1,e.sideBottom=n,e._disposers.push(e.sideBottom);var r=e.createChild(o.a);r.shouldClone=!1,r.setElement(e.paper.add("path")),r.isMeasured=!1,e.sideLeft=r,e._disposers.push(e.sideLeft);var s=e.createChild(o.a);s.shouldClone=!1,s.setElement(e.paper.add("path")),s.isMeasured=!1,e.sideRight=s,e._disposers.push(e.sideRight);var a=e.createChild(o.a);a.shouldClone=!1,a.setElement(e.paper.add("path")),a.isMeasured=!1,e.sideTop=a,e._disposers.push(e.sideTop);var u=e.createChild(o.a);return u.shouldClone=!1,u.setElement(e.paper.add("path")),u.isMeasured=!1,e.sideFront=u,e._disposers.push(e.sideFront),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight,n=this.depth,r=this.angle,o=s.sin(r),u=s.cos(r),l={x:0,y:0},h={x:e,y:0},c={x:e,y:i},p={x:0,y:i},d={x:n*u,y:-n*o},f={x:n*u+e,y:-n*o},g={x:n*u+e,y:-n*o+i},y={x:n*u,y:-n*o+i};this.sideFront.path=a.moveTo(l)+a.lineTo(h)+a.lineTo(c)+a.lineTo(p)+a.closePath(),this.sideBack.path=a.moveTo(d)+a.lineTo(f)+a.lineTo(g)+a.lineTo(y)+a.closePath(),this.sideLeft.path=a.moveTo(l)+a.lineTo(d)+a.lineTo(y)+a.lineTo(p)+a.closePath(),this.sideRight.path=a.moveTo(h)+a.lineTo(f)+a.lineTo(g)+a.lineTo(c)+a.closePath(),this.sideBottom.path=a.moveTo(p)+a.lineTo(y)+a.lineTo(g)+a.lineTo(c)+a.closePath(),this.sideTop.path=a.moveTo(l)+a.lineTo(d)+a.lineTo(f)+a.lineTo(h)+a.closePath()},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){var i;if(t.prototype.setFill.call(this,e),e instanceof u.a)i=e.hex;else if(e instanceof h.a||e instanceof l.a)i=e.stops.getIndex(0).color.hex;else{var n=new c.a;n.lightness=-.2,this.sideBack.filters.push(n);var r=n.clone();r.lightness=-.4,this.sideLeft.filters.push(r);var o=n.clone();o.lightness=-.2,this.sideRight.filters.push(o);var s=n.clone();s.lightness=-.1,this.sideTop.filters.push(s);var a=n.clone();a.lightness=-.5,this.sideBottom.filters.push(a)}i&&(this.sideBack.fill=Object(u.c)(i).lighten(-.2),this.sideLeft.fill=Object(u.c)(i).lighten(-.4),this.sideRight.fill=Object(u.c)(i).lighten(-.2),this.sideTop.fill=Object(u.c)(i).lighten(-.1),this.sideBottom.fill=Object(u.c)(i).lighten(-.5))},e}(r.a)},MrGI:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("zAAN");n(n.P+n.F*i("IYrR")("includes"),"String",{includes:function(t){return!!~r(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},MsQa:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{scale:i("eh+x")})},Mtpk:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNaN=r,e.getType=o,e.getDefault=function(t,e){return t||e},e.checkString=function(t){if("string"==typeof t)return!0;throw new Error("Expected a string but got "+o(t))},e.checkBoolean=function(t){if("boolean"==typeof t)return!0;throw new Error("Expected a boolean but got "+o(t))},e.checkNumber=function(t){if("number"!=typeof t)throw new Error("Expected a number but got "+o(t));if(r(t))throw new Error("Expected a number but got NaN");return!0},e.checkObject=function(t){var e=o(t);if("[object Object]"===e)return!0;throw new Error("Expected an object but got "+e)},e.checkArray=function(t){if(Array.isArray(t))return!0;throw new Error("Expected an array but got "+o(t))},e.checkDate=function(t){var e=o(t);if("[object Date]"===e)return!0;throw new Error("Expected a date but got "+e)},e.castString=s,e.castNumber=function(t){if("string"==typeof t){var e=+t;if(r(e))throw new Error("Cannot cast string "+JSON.stringify(t)+" to a number");return e}if("number"==typeof t){if(r(t))throw new Error("Expected a number but got NaN");return t}var i=o(t);if("[object Date]"===i)return t.getTime();throw new Error("Expected a string, number, or date but got "+i)},e.toBoolean=function(t){return!!t},e.toNumber=a,e.toText=function(t){if(u(t)&&!l(t)){if(h(t))return s(t);if(c(t))return t.toString()}return t},e.toNumberOrPercent=function(t){if(!u(t)||h(t)||Object(n.b)(t))return t;if(l(t)&&-1!=t.indexOf("%"))return Object(n.c)(a(t));return a(t)},e.hasValue=u,e.getValue=function(t){if(u(t))return t;throw new Error("Value doesn't exist")},e.getValueDefault=function(t,e){return u(t)?t:e},e.isDate=function(t){return"[object Date]"===o(t)},e.isString=l,e.isNumber=h,e.isObject=c,e.isArray=function(t){return Array.isArray(t)};var n=i("tjMS");function r(t){return Number(t)!==t}function o(t){return{}.toString.call(t)}function s(t){if("string"==typeof t)return t;if("number"==typeof t)return""+t;throw new Error("Expected a string or number but got "+o(t))}function a(t){if(u(t)&&!h(t)){var e=Number(t);return r(e)&&l(t)&&""!=t?a(t.replace(/[^0-9.\-]+/g,"")):e}return t}function u(t){return null!=t}function l(t){return"string"==typeof t}function h(t){return"number"==typeof t&&Number(t)==t}function c(t){return"object"==typeof t}},Mvcd:function(t,e,i){var n=i("Gb1H"),r=i("AEc5"),o=i("kcsd"),s=/"/g,a=function(t,e,i,n){var r=String(o(t)),a="<"+e;return""!==i&&(a+=" "+i+'="'+String(n).replace(s,"&quot;")+'"'),a+">"+r+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(a),n(n.P+n.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",i)}},"N/Yk":function(t,e,i){i("vdWU")("Array")},"ND2/":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("PTiM"),o=i("8ZqG"),s=i("aFzC"),a=i("hGwe"),u=function(t){function e(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=Object(o.c)(),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2};this.path=a.moveTo(t)+Object(s.c)(t,e,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a)},NKpi:function(t,e,i){var n=i("xCMl"),r=i("WtL7"),o=i("6MWL"),s=i("snR7"),a=i("K0ev"),u=o.keys,l=o.key,h=function(t,e){var i=u(t,e),o=a(t);if(null===o)return i;var s=h(o,e);return s.length?i.length?r(new n(i.concat(s))):s:i};o.exp({getMetadataKeys:function(t){return h(s(t),arguments.length<2?void 0:l(arguments[1]))}})},NSvu:function(t,e,i){i("YJIw")("Uint8",1,function(t){return function(e,i,n){return t(this,e,i,n)}},!0)},NlGZ:function(t,e,i){"use strict";var n,r;!function(o,s){void 0===(r="function"==typeof(n=s)?n.call(e,i,e,t):n)||(t.exports=r)}("undefined"!=typeof window&&window,function(){if("undefined"==typeof window)return null;var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function e(t,e){var i=Object.prototype.toString.call(t),n="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"[object Object]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,r=0,o=t.length;if(n)for(;r<o;r++)e(t[r]);else e(t)}function i(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}var n=function(r,o){function s(e,n){if(e)if(e.resizedAttached)e.resizedAttached.add(n);else{e.resizedAttached=new function(){var t,e,i=[];this.add=function(t){i.push(t)},this.call=function(n){for(t=0,e=i.length;t<e;t++)i[t].call(this,n)},this.remove=function(n){var r=[];for(t=0,e=i.length;t<e;t++)i[t]!==n&&r.push(i[t]);i=r},this.length=function(){return i.length}},e.resizedAttached.add(n),e.resizeSensor=document.createElement("div"),e.resizeSensor.dir="ltr",e.resizeSensor.className="resize-sensor";var r="pointer-events: none; position: absolute; left: 0px; top: 0px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden; max-width: 100%;",o="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=r,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+r+'"><div style="'+o+'"></div></div><div class="resize-sensor-shrink" style="'+r+'"><div style="'+o+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor);var s=window.getComputedStyle(e),a=s?s.getPropertyValue("position"):null;"absolute"!==a&&"relative"!==a&&"fixed"!==a&&(e.style.position="relative");var u,l,h=e.resizeSensor.childNodes[0],c=h.childNodes[0],p=e.resizeSensor.childNodes[1],d=i(e),f=d.width,g=d.height,y=!0,m=0,b=function(){if(y){if(0===e.offsetWidth&&0===e.offsetHeight)return void(m||(m=t(function(){m=0,b()})));y=!1}!function(){var t=e.offsetWidth,i=e.offsetHeight;c.style.width=t+10+"px",c.style.height=i+10+"px",h.scrollLeft=t+10,h.scrollTop=i+10,p.scrollLeft=t+10,p.scrollTop=i+10}()};e.resizeSensor.resetSensor=b;var v=function(){l=0,u&&(f=d.width,g=d.height,e.resizedAttached&&e.resizedAttached.call(d))},_=function(){d=i(e),(u=d.width!==f||d.height!==g)&&!l&&(l=t(v)),b()},x=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};x(h,"scroll",_),x(p,"scroll",_),t(b)}}e(r,function(t){s(t,o)}),this.detach=function(t){n.detach(r,t)},this.reset=function(){r.resizeSensor.resetSensor()}};if(n.reset=function(t){e(t,function(t){t.resizeSensor.resetSensor()})},n.detach=function(t,i){e(t,function(t){t&&(t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))})},"undefined"!=typeof MutationObserver){var r=new MutationObserver(function(t){for(var e in t)if(t.hasOwnProperty(e))for(var i=t[e].addedNodes,r=0;r<i.length;r++)i[r].resizeSensor&&n.reset(i[r])});document.addEventListener("DOMContentLoaded",function(t){r.observe(document.body,{childList:!0,subtree:!0})})}return n})},"Nv8/":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={};i.d(n,"System",function(){return r.a}),i.d(n,"system",function(){return r.b}),i.d(n,"BaseObject",function(){return o.a}),i.d(n,"BaseObjectEvents",function(){return o.b}),i.d(n,"Component",function(){return s.a}),i.d(n,"Container",function(){return a.a}),i.d(n,"DataItem",function(){return u.a}),i.d(n,"Sprite",function(){return l.a}),i.d(n,"SpriteEventDispatcher",function(){return h.a}),i.d(n,"SpriteState",function(){return c.a}),i.d(n,"registry",function(){return p.b}),i.d(n,"Registry",function(){return p.a}),i.d(n,"options",function(){return d.a}),i.d(n,"CSVParser",function(){return f.a}),i.d(n,"DataLoader",function(){return g.a}),i.d(n,"dataLoader",function(){return g.b}),i.d(n,"DataParser",function(){return y.a}),i.d(n,"DataSource",function(){return m.a}),i.d(n,"JSONParser",function(){return b.a}),i.d(n,"SVGDefaults",function(){return v.a}),i.d(n,"Button",function(){return _.a}),i.d(n,"Circle",function(){return x.a}),i.d(n,"Ellipse",function(){return P.a}),i.d(n,"Image",function(){return T}),i.d(n,"Label",function(){return C.a}),i.d(n,"Line",function(){return k.a}),i.d(n,"Popup",function(){return M.a}),i.d(n,"Modal",function(){return j.a}),i.d(n,"PointedRectangle",function(){return I.a}),i.d(n,"PointedShape",function(){return V.a}),i.d(n,"Polyarc",function(){return D.a}),i.d(n,"Polygon",function(){return E.a}),i.d(n,"Polyline",function(){return F.a}),i.d(n,"Polyspline",function(){return R.a}),i.d(n,"Preloader",function(){return B}),i.d(n,"Rectangle",function(){return H.a}),i.d(n,"ResizeButton",function(){return G.a}),i.d(n,"RoundedRectangle",function(){return W.a}),i.d(n,"Scrollbar",function(){return U.a}),i.d(n,"Slider",function(){return z}),i.d(n,"Slice",function(){return L.a}),i.d(n,"TextLink",function(){return Y.a}),i.d(n,"Tooltip",function(){return X.a}),i.d(n,"Trapezoid",function(){return K.a}),i.d(n,"Triangle",function(){return J.a}),i.d(n,"WavedCircle",function(){return Z.a}),i.d(n,"WavedLine",function(){return q.a}),i.d(n,"WavedRectangle",function(){return Q.a}),i.d(n,"ZoomOutButton",function(){return $.a}),i.d(n,"PlayButton",function(){return tt}),i.d(n,"Cone",function(){return et.a}),i.d(n,"Rectangle3D",function(){return it.a}),i.d(n,"Slice3D",function(){return nt.a}),i.d(n,"Export",function(){return rt.a}),i.d(n,"ExportMenu",function(){return ot.a}),i.d(n,"DateFormatter",function(){return st.a}),i.d(n,"DurationFormatter",function(){return at.a}),i.d(n,"NumberFormatter",function(){return ut.a}),i.d(n,"TextFormatter",function(){return lt.a}),i.d(n,"getTextFormatter",function(){return lt.b}),i.d(n,"Inertia",function(){return ht.a}),i.d(n,"Interaction",function(){return ct.a}),i.d(n,"getInteraction",function(){return ct.b}),i.d(n,"InteractionKeyboardObject",function(){return pt.a}),i.d(n,"InteractionObject",function(){return dt.a}),i.d(n,"InteractionObjectEventDispatcher",function(){return ft.a}),i.d(n,"MouseCursorStyle",function(){return gt.a}),i.d(n,"AMElement",function(){return yt.a}),i.d(n,"Group",function(){return mt.a}),i.d(n,"Paper",function(){return bt.a}),i.d(n,"Tension",function(){return vt.b}),i.d(n,"Basis",function(){return vt.a}),i.d(n,"SVGContainer",function(){return _t.a}),i.d(n,"ColorModifier",function(){return xt.a}),i.d(n,"LinearGradient",function(){return Pt.a}),i.d(n,"LinearGradientModifier",function(){return wt.a}),i.d(n,"RadialGradientModifier",function(){return St}),i.d(n,"LinePattern",function(){return Ct}),i.d(n,"Pattern",function(){return Tt.a}),i.d(n,"RadialGradient",function(){return Ot.a}),i.d(n,"RectPattern",function(){return kt}),i.d(n,"ColorizeFilter",function(){return jt}),i.d(n,"DesaturateFilter",function(){return It.a}),i.d(n,"DropShadowFilter",function(){return Vt.a}),i.d(n,"BlurFilter",function(){return Dt}),i.d(n,"Filter",function(){return Mt.a}),i.d(n,"FocusFilter",function(){return Et}),i.d(n,"LightenFilter",function(){return Ft.a}),i.d(n,"GlobalAdapter",function(){return Rt.b}),i.d(n,"globalAdapter",function(){return Rt.c}),i.d(n,"Adapter",function(){return Rt.a}),i.d(n,"Animation",function(){return At.a}),i.d(n,"animate",function(){return At.c}),i.d(n,"nextFrame",function(){return Lt.a}),i.d(n,"readFrame",function(){return Lt.c}),i.d(n,"writeFrame",function(){return Lt.f}),i.d(n,"whenIdle",function(){return Lt.e}),i.d(n,"triggerIdle",function(){return Lt.d}),i.d(n,"Cache",function(){return Nt.a}),i.d(n,"cache",function(){return Nt.b}),i.d(n,"Color",function(){return Bt.a}),i.d(n,"color",function(){return Bt.c}),i.d(n,"isColor",function(){return Bt.d}),i.d(n,"castColor",function(){return Bt.b}),i.d(n,"ColorSet",function(){return Ht.a}),i.d(n,"InterfaceColorSet",function(){return A.a}),i.d(n,"DictionaryDisposer",function(){return Gt.b}),i.d(n,"Dictionary",function(){return Gt.a}),i.d(n,"DictionaryTemplate",function(){return Gt.c}),i.d(n,"Disposer",function(){return Wt.b}),i.d(n,"MultiDisposer",function(){return Wt.c}),i.d(n,"MutableValueDisposer",function(){return Wt.d}),i.d(n,"CounterDisposer",function(){return Wt.a}),i.d(n,"StyleRule",function(){return O.c}),i.d(n,"StyleClass",function(){return O.b}),i.d(n,"getElement",function(){return O.o}),i.d(n,"addClass",function(){return O.f}),i.d(n,"removeClass",function(){return O.s}),i.d(n,"blur",function(){return O.h}),i.d(n,"focus",function(){return O.n}),i.d(n,"outerHTML",function(){return O.q}),i.d(n,"isElement",function(){return O.p}),i.d(n,"copyAttributes",function(){return O.j}),i.d(n,"fixPixelPerfect",function(){return O.m}),i.d(n,"ready",function(){return O.r}),i.d(n,"EventDispatcher",function(){return Ut.a}),i.d(n,"TargetedEventDispatcher",function(){return Ut.b}),i.d(n,"ListIterator",function(){return zt.ListIterator}),i.d(n,"min",function(){return zt.min}),i.d(n,"max",function(){return zt.max}),i.d(n,"join",function(){return zt.join}),i.d(n,"Keyboard",function(){return Yt.a}),i.d(n,"keyboard",function(){return Yt.b}),i.d(n,"Language",function(){return Xt.a}),i.d(n,"IndexedIterable",function(){return Kt.a}),i.d(n,"ListGrouper",function(){return Kt.d}),i.d(n,"ListDisposer",function(){return Kt.c}),i.d(n,"List",function(){return Kt.b}),i.d(n,"ListTemplate",function(){return Kt.e}),i.d(n,"Morpher",function(){return Jt.a}),i.d(n,"reverse",function(){return Zt.b}),i.d(n,"or",function(){return Zt.a}),i.d(n,"Percent",function(){return N.a}),i.d(n,"percent",function(){return N.c}),i.d(n,"isPercent",function(){return N.b}),i.d(n,"Plugin",function(){return qt.a}),i.d(n,"Responsive",function(){return Qt.a}),i.d(n,"ResponsiveBreakpoints",function(){return Qt.b}),i.d(n,"defaultRules",function(){return Qt.c}),i.d(n,"OrderedList",function(){return $t.a}),i.d(n,"SortedList",function(){return $t.c}),i.d(n,"OrderedListTemplate",function(){return $t.b}),i.d(n,"SortedListTemplate",function(){return $t.d}),i.d(n,"PX",function(){return te.f}),i.d(n,"STRING",function(){return te.g}),i.d(n,"NUMBER",function(){return te.c}),i.d(n,"DATE",function(){return te.a}),i.d(n,"DURATION",function(){return te.b}),i.d(n,"PLACEHOLDER",function(){return te.d}),i.d(n,"PLACEHOLDER2",function(){return te.e}),i.d(n,"isNaN",function(){return S.isNaN}),i.d(n,"checkString",function(){return S.checkString}),i.d(n,"checkBoolean",function(){return S.checkBoolean}),i.d(n,"checkNumber",function(){return S.checkNumber}),i.d(n,"checkObject",function(){return S.checkObject}),i.d(n,"castString",function(){return S.castString}),i.d(n,"castNumber",function(){return S.castNumber}),i.d(n,"isString",function(){return S.isString}),i.d(n,"isNumber",function(){return S.isNumber}),i.d(n,"isObject",function(){return S.isObject}),i.d(n,"isArray",function(){return S.isArray}),i.d(n,"Validatable",function(){return ee.a}),i.d(n,"path",function(){return ie}),i.d(n,"colors",function(){return ne}),i.d(n,"ease",function(){return re}),i.d(n,"math",function(){return oe}),i.d(n,"array",function(){return se}),i.d(n,"number",function(){return ae}),i.d(n,"object",function(){return ue}),i.d(n,"string",function(){return le}),i.d(n,"time",function(){return he}),i.d(n,"utils",function(){return ce}),i.d(n,"iter",function(){return zt}),i.d(n,"type",function(){return S}),i.d(n,"create",function(){return fe}),i.d(n,"createFromConfig",function(){return ge}),i.d(n,"useTheme",function(){return ye}),i.d(n,"unuseTheme",function(){return me}),i.d(n,"unuseAllThemes",function(){return be});var r=i("Rpw0"),o=i("Tjl+"),s=i("Y9w3"),a=i("C6dT"),u=i("A6AV"),l=i("Vs7R"),h=i("kQxV"),c=i("ux7t"),p=i("aCit"),d=i("Q4nc"),f=i("4DCw"),g=i("Mpxm"),y=i("mIpt"),m=i("EjGA"),b=i("ZhuL"),v=i("hpNl"),_=i("aGXA"),x=i("FzPm"),P=i("Ybtf"),w=i("m4/l"),O=i("58Sn"),S=i("Mtpk"),T=function(t){function e(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return w.c(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;S.isNumber(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),S.isNumber(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(O.d,"xlink:href",this.href)}},Object.defineProperty(e.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(t){this.setPropertyValue("href",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(t){this.setPropertyValue("widthRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(t){this.setPropertyValue("heightRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),e}(l.a);p.b.registeredClasses.Image=T;var C=i("p9TX"),k=i("PTiM"),M=i("UsNi"),j=i("W8Sc"),I=i("MZQ8"),V=i("1qam"),D=i("MXvJ"),E=i("R6wv"),F=i("jfaP"),R=i("xgTw"),A=i("MIZb"),L=i("Inf5"),N=i("tjMS"),B=function(t){function e(){var e=t.call(this)||this;e.className="Preloader",e.width=Object(N.c)(100),e.height=Object(N.c)(100);var i=new A.a,n=e.createChild(a.a);n.shouldClone=!1;var r=n.createChild(L.a);r.shouldClone=!1,r.radius=53,r.arc=360,r.fill=i.getFor("fill"),r.fillOpacity=.8,r.innerRadius=42,r.isMeasured=!1,e.backgroundSlice=r;var o=n.createChild(L.a);o.shouldClone=!1,o.radius=50,o.innerRadius=45,o.fill=i.getFor("alternativeBackground"),o.fillOpacity=.2,o.isMeasured=!1,e.progressSlice=o;var s=n.createChild(C.a);return s.shouldClone=!1,s.horizontalCenter="middle",s.verticalCenter="middle",s.isMeasured=!1,s.fill=i.getFor("text"),s.align="center",s.valign="middle",s.fillOpacity=.4,e.label=s,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=300,e.states.create("hidden").properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return w.c(e,t),Object.defineProperty(e.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(t){var e=this;this.__disabled=!1,this.validateLayout(),this.setPropertyValue("progress",t),this.progressSlice.arc=360*t,this.label&&(this.label.text=Math.round(100*t)+"%"),t>=1?(this._started&&(this._started=void 0),p.b.events.once("enterframe",function(){var t=e.hide();t&&!t.isFinished()?t.events.once("animationended",function(){e.__disabled=!0}):e.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):t>0&&(this.delay?this._started?this._started+this.delay<=(new Date).getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=(new Date).getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(t){this.setPropertyValue("delay",t)},enumerable:!0,configurable:!0}),e}(a.a);p.b.registeredClasses.Preloader=B;var H=i("GtDR"),G=i("xIv9"),W=i("CnhP"),U=i("ISWh"),z=function(t){function e(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return w.c(e,t),Object.defineProperty(e.prototype,"__end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),e}(U.a);p.b.registeredClasses.Slider=z;var Y=i("Trvg"),X=i("cxKZ"),K=i("DziZ"),J=i("Rnbi"),Z=i("Vk33"),q=i("ND2/"),Q=i("w4m0"),$=i("BEgH"),tt=function(t){function e(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new A.a,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new J.a;r.direction="right",r.width=9,r.height=11,r.marginLeft=1,r.marginRight=1,r.horizontalCenter="middle",r.verticalCenter="middle",r.stroke=i.getFor("primaryButtonText"),r.fill=r.stroke,e.icon=r;var o=new W.a;o.width=11,o.height=11,o.horizontalCenter="middle",o.verticalCenter="middle",o.cornerRadius(0,0,0,0),o.stroke=i.getFor("primaryButtonText"),o.fill=r.stroke,e.togglable=!0;var s=e.states.create("active");return s.transitionDuration=0,s.properties.icon=o,e.defaultState.transitionDuration=0,e.applyTheme(),e}return w.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),S.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(_.a);p.b.registeredClasses.PlayButton=tt;var et=i("ncT3"),it=i("Mr4Y"),nt=i("nPzZ"),rt=i("GAaQ"),ot=i("qJno"),st=i("7XB+"),at=i("akNo"),ut=i("CTEm"),lt=i("MipW"),ht=i("0PyG"),ct=i("zhwk"),pt=i("Oe1l"),dt=i("vbOF"),ft=i("YotE"),gt=i("qCRI"),yt=i("pzs1"),mt=i("cOH5"),bt=i("P7v+"),vt=i("aFzC"),_t=i("HDh7"),xt=i("DA7/"),Pt=i("sxA1"),wt=i("/e9j"),Ot=i("CuFa"),St=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new Ot.a,e.applyTheme(),e}return w.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(i("3/51").a);p.b.registeredClasses.RadialGradientModifier=St;var Tt=i("ZLF9"),Ct=function(t){function e(){var e=t.call(this)||this;return e._line=e.paper.add("line"),e.addElement(e._line),e}return w.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this._line&&this._line.attr({x2:2*this.width})},e}(Tt.a);p.b.registeredClasses.LinePattern=Ct;var kt=function(t){function e(){var e=t.call(this)||this;return e.rectHeight=1,e.rectWidth=1,e}return w.c(e,t),e.prototype.draw=function(){this._rect&&this.removeElement(this._rect),this._rect=this.paper.add("rect"),this._rect.attr({width:this.rectWidth,height:this.rectHeight}),this.addElement(this._rect),t.prototype.draw.call(this)},Object.defineProperty(e.prototype,"rectWidth",{get:function(){return this.properties.rectWidth},set:function(t){this.properties.rectWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rectHeight",{get:function(){return this.properties.rectHeight},set:function(t){this.properties.rectHeight=t,this.draw()},enumerable:!0,configurable:!0}),e}(Tt.a);p.b.registeredClasses.RectPattern=kt;var Mt=i("ohjg"),jt=function(t){function e(){var e=t.call(this)||this;return e.className="ColorizeFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.intensity=1,e.applyTheme(),e}return w.c(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,o=this.color;o&&o.rgb?(t=o.rgb.r/255*n,e=o.rgb.g/255*n,i=o.rgb.b/255*n):(t=0,e=0,i=0),this.feColorMatrix.attr({values:r+" 0 0 0 "+t+" 0 "+r+" 0 0 "+e+" 0 0 "+r+" 0 "+i+" 0 0 0 1 0"})},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.applyFilter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intensity",{get:function(){return this.properties.intensity},set:function(t){this.properties.intensity=t,this.applyFilter()},enumerable:!0,configurable:!0}),e}(Mt.a);p.b.registeredClasses.ColorizeFilter=jt;var It=i("85D4"),Vt=i("VAFc"),Dt=function(t){function e(){var e=t.call(this)||this;return e.className="BlurFilter",e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.width=200,e.height=200,e.blur=1.5,e.applyTheme(),e}return w.c(e,t),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e}(Mt.a);p.b.registeredClasses.BlurFilter=Dt;var Et=function(t){function e(){var e=t.call(this)||this;return e.className="FocusFilter",e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":(new A.a).getFor("primaryButtonHover"),result:"base"}),e.filterPrimitives.push(e.feFlood),e.feMorphology=e.paper.add("feMorphology"),e.feMorphology.attr({result:"bigger",in:"SourceGraphic",operator:"dilate",radius:"2"}),e.filterPrimitives.push(e.feMorphology),e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({result:"mask",in:"bigger",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),e.filterPrimitives.push(e.feColorMatrix),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({result:"drop",in:"base",in2:"mask",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feBlend=e.paper.add("feBlend"),e.feBlend.attr({in:"SourceGraphic",in2:"drop",mode:"normal"}),e.filterPrimitives.push(e.feBlend),e.width=130,e.height=130,e.applyTheme(),e}return w.c(e,t),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.feMorphology.attr({radius:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feColorMatrix.attr({values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "+t+" 0"})},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.group.removeStyle("outline"),e.group.addStyle({outline:"none"}),t.prototype.setSprite.call(this,e)},e}(Mt.a),Ft=i("C84C"),Rt=i("x79X"),At=i("1yyj"),Lt=i("/9XX"),Nt=i("eCqC"),Bt=i("8ZqG"),Ht=i("DHte"),Gt=i("+qIf"),Wt=i("hD5A"),Ut=i("o0Lc"),zt=i("Wglt"),Yt=i("WYhe"),Xt=i("P/bD"),Kt=i("vMqJ"),Jt=i("oC3T"),Zt=i("MlsF"),qt=i("Iz1H"),Qt=i("TGuK"),$t=i("VGgz"),te=i("ScGY"),ee=i("/IEW"),ie=i("hGwe"),ne=i("hxI2"),re=i("0FpR"),oe=i("Gg2j"),se=i("hJ5i"),ae=i("3Cxr"),ue=i("Qkdp"),le=i("wUYf"),he=i("L91H"),ce=i("v9UT"),pe=function(t){function e(){var e=t.call(this)||this;e.className="AmChartsLogo",e.valign="bottom";var i=.3;e.opacity=.3,e.defaultState.properties.opacity=.4,e.url="https://www.amcharts.com/",e.urlTarget="_blank",e.showSystemTooltip=!0,e.readerTitle="Chart created using amCharts library",e.width=66,e.height=21,e.background.opacity=0;var n=Object(Bt.c)("#474758");"#ffffff"==(new A.a).getFor("background").alternative.hex&&(n=Object(Bt.c)("#ffffff"));var r=new Pt.a;r.addColor(n),r.addColor(n,1,.75),r.addColor(Object(Bt.c)("#3cabff"),1,.755),r.rotation=-10;var o=r,s=e.createChild(R.a);s.shouldClone=!1,s.isMeasured=!1,s.segments=[[{x:15,y:15},{x:27,y:15},{x:36,y:6},{x:40.5,y:10.5},{x:45,y:6},{x:54,y:15},{x:60,y:15}]],s.strokeWidth=6*i,s.tensionX=.8,s.tensionY=1,s.stroke=Object(Bt.c)("#3cabff");var a=e.createChild(R.a);a.shouldClone=!1,a.isMeasured=!1,a.segments=[[{x:6,y:15},{x:15,y:15},{x:27,y:12*i},{x:39.9,y:15},{x:51,y:15},{x:60,y:15}]],a.strokeWidth=6*i,a.tensionX=.75,a.tensionY=1,a.stroke=o,e._disposers.push(a);var u=new It.a;e.filters.push(u);var l=new It.a;l.saturation=1;var h=e.states.create("hover");return h.properties.opacity=1,h.filters.push(l),e.applyTheme(),e}return w.c(e,t),e}(a.a);function de(t,e){var i=O.o(t);if(i){i.innerHTML="";var n=new _t.a(i),o=new bt.a(n.SVGContainer,"svg-"+(_t.b.length-1)),s=new a.a;s.htmlContainer=i,s.svgContainer=n,s.width=Object(N.c)(100),s.height=Object(N.c)(100),s.background.fillOpacity=0,s.paper=o,o.append(s.group),s.relativeWidth=1,s.relativeHeight=1,n.container=s;var u=s.createChild(e);u.topParent=s;var l=u.uid;p.b.invalidSprites[l]=[],p.b.invalidDatas[l]=[],p.b.invalidPositions[l]=[],p.b.invalidLayouts[l]=[],s.baseId=l,u.isBaseSprite=!0,u.focusFilter=new Et,p.b.baseSprites.push(u),p.b.baseSpritesByUid[l]=u,u.maskRectangle={x:0,y:0,width:n.width,height:n.height},s.events.on("maxsizechanged",function(t){0!=t.previousWidth&&0!=t.previousHeight||s.deepInvalidate(),u.maskRectangle&&(u.maskRectangle={x:0,y:0,width:n.width,height:n.height})}),u.addDisposer(new Wt.b(function(){se.remove(p.b.baseSprites,u),p.b.baseSpritesByUid[u.uid]=void 0})),u.addDisposer(s);var h=s.createChild(a.a);h.topParent=s,h.width=Object(N.c)(100),h.height=Object(N.c)(100),h.isMeasured=!1,s.tooltipContainer=h,u.tooltip=new X.a,u.tooltip.hide(0),u.tooltip.setBounds({x:0,y:0,width:h.maxWidth,height:h.maxHeight}),h.events.on("maxsizechanged",function(){S.getValue(u.tooltip).setBounds({x:0,y:0,width:h.maxWidth,height:h.maxHeight})},void 0,!1);var c=new B;if(c.events.on("inited",function(){c.__disabled=!0},void 0,!1),s.preloader=c,!d.a.commercialLicense){var f=h.createChild(pe);h.events.on("maxsizechanged",function(t){h.maxWidth<=100||h.maxHeight<=50?f.hide():(f.isHidden||f.isHiding)&&f.show()},void 0,!1),u.logo=f,f.align="left",f.valign="bottom"}return ce.used(u.numberFormatter),s.isStandaloneInstance=!0,u}throw r.b.log("html container not found"),new Error("html container not found")}function fe(t,e){var i;S.isString(e)&&(S.hasValue(p.b.registeredClasses[e])?e=p.b.registeredClasses[e]:(e=p.b.registeredClasses.Container,i=new Error("Class ["+e+"] is not loaded.")));var n=de(t,e);return i&&n.raiseCriticalError(i),n}function ge(t,e,i){var n,r;S.hasValue(i)||(i=t.type,delete t.type),S.hasValue(e)||(e=t.container,delete t.container),S.isString(i)&&S.hasValue(p.b.registeredClasses[i])?n=p.b.registeredClasses[i]:"function"!=typeof i?(n=a.a,r=new Error("Class ["+i+"] is not loaded.")):n=i;var o=de(e,n);return r?o.raiseCriticalError(r):o.config=t,o}function ye(t){-1===p.b.themes.indexOf(t)&&p.b.themes.push(t)}function me(t){se.remove(p.b.themes,t)}function be(){p.b.themes=[]}window.am4core=n,i.p=function(t){return/(.*\/)[^\/]*$/.exec(t)[1]}(function(){if(document.currentScript)return document.currentScript;var t=document.getElementsByTagName("script");return t[t.length-1]}().src)},O8xK:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("G5U1"),o=i("T9LF"),s=i("QXbb"),a=i("JqbS");n(n.P+n.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),i="function"==typeof t;return this.then(i?function(i){return a(e,t()).then(function(){return i})}:t,i?function(i){return a(e,t()).then(function(){throw i})}:t)}})},"OB1/":function(t,e,i){var n=i("G5U1"),r=i("T9LF"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i("pb4Y")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},ODWe:function(t,e,i){var n=i("U3hN"),r=i("EhJv"),o=i("mntN")(!1),s=i("VYrJ")("IE_PROTO");t.exports=function(t,e){var i,a=r(t),u=0,l=[];for(i in a)i!=s&&n(a,i)&&l.push(i);for(;e.length>u;)n(a,i=e[u++])&&(~o(l,i)||l.push(i));return l}},OKlB:function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{isNaN:function(t){return t!=t}})},OVUc:function(t,e,i){"use strict";e.a=function(t,e,i){return new Promise(function(r,o){var s=n.hasValue(i)&&"blob"==i.responseType,a=new XMLHttpRequest;if(a.onload=function(){if(200===a.status){var t=void 0,i=void 0;s?i=a.response:t=a.responseText||a.response;var n={xhr:a,error:!1,response:t,blob:i,type:a.getResponseHeader("Content-Type"),target:e};r(n)}else o({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:e})},a.onerror=function(){o({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:e})},a.open("GET",t,!0),i&&i.withCredentials&&(a.withCredentials=!0),n.hasValue(i)){if(n.hasValue(i.requestHeaders))for(var u=0;u<i.requestHeaders.length;u++){var l=i.requestHeaders[u];a.setRequestHeader(l.key,l.value)}n.hasValue(i.responseType)&&(a.responseType=i.responseType)}a.send()})};var n=i("Mtpk")},OWpl:function(t,e,i){var n=i("vJiZ"),r=i("3BzE");i("5lay")("keys",function(){return function(t){return r(n(t))}})},OXm9:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("Meme"),o=i("ND2/"),s=i("w4m0"),a=i("aCit"),u=i("tjMS"),l=i("Gg2j"),h=i("hGwe"),c=i("v9UT"),p=i("Mtpk"),d=i("TGuK"),f=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererY",e.minGridDistance=40,e.opposite=!1,e.height=Object(u.c)(100),e.labels.template.verticalCenter="middle",e.applyTheme(),e}return n.c(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="horizontal"},e.prototype.updateGridContainer=function(){var t=this.axis;if(t){var e=this.gridContainer;e.y=t.pixelY,e.height=t.pixelHeight}},e.prototype.toAxisPosition=function(t){var e=1-t,i=this.axis,n=i.parent;return i&&n?1-(e-i.pixelY/n.innerHeight)/(i.pixelHeight/n.innerHeight):t},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){var i=e.title;i.valign="middle",e.height instanceof u.a||(e.height=Object(u.c)(100)),this.opposite?(i.rotation=90,this.line.toBack(),i.toFront()):(i.rotation=-90,i.toBack(),this.line.toFront())}},e.prototype.updateTooltip=function(){if(this.axis){var t=0,e=2e3,i=this.axisLength;this.opposite?this.inside&&(t=-2e3,e=2e3):this.inside||(t=-2e3,e=2e3),this.axis.updateTooltip("horizontal",{x:t,y:0,width:e,height:i})}},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredHeight-t.pixelPaddingTop-t.pixelPaddingBottom||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){return{x:0,y:this.positionToCoordinate(t)}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.y)},e.prototype.getPositionRangePath=function(t,e){var i=l.fitToRange(this.positionToCoordinate(t),0,this.axisLength),n=l.fitToRange(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),o=this.getWidth(),s=Math.min(i,n);return h.rectToPath({x:0,y:s,width:o,height:r},!0)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=h.moveTo({x:0,y:0})+h.lineTo({x:this.getWidth(),y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e),r=t.length;try{c.used(this.axis.title.measuredWidth)}catch(t){}n.x=c.spritePointToSprite({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.opposite?r*=t.inside?-1:1:r*=t.inside?1:-1,t.path=h.moveTo({x:0,y:0})+h.lineTo({x:r,y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:this.axisLength})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getWidth(),n=this.pixelHeight,r=e.basePoint.y,o=this.baseGrid;if(r<0||r>n)o.hide(0);else{var s=c.spritePointToSprite({x:0,y:0},this.gridContainer,o.parent).x;o.path=h.moveTo({x:0,y:0})+h.lineTo({x:i,y:0}),o.moveTo({x:s,y:r}),o.show(0)}},e.prototype.updateLabelElement=function(t,e,i,n){p.hasValue(n)||(n=t.location),e+=(i-e)*n,t.isMeasured=!t.inside;var r,o=this.positionToPoint(e),s=0;this.opposite?(t.inside?(r="right","left"==t.align&&(s=-this.gridContainer.maxWidth,r="left")):r="left",o.x=0+s):(t.inside?(r="left","right"==t.align&&(s=this.gridContainer.maxWidth,r="right")):r="right",o.x=this.measuredWidth+s),0==t.rotation&&(t.horizontalCenter=r),this.positionItem(t,o),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,o=e.startPoint,s=e.endPoint,a=e.pixelMarginLeft,u=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;o.y=l.fitToRange(o.y,-1,this.pixelHeight+1),s.y=l.fitToRange(s.y,-1,this.pixelHeight+1),o.y==s.y&&(o.y<0||o.y>this.pixelHeight)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var h=Math.abs(u-a);i.x=a,i.height=0,i.width=h,n.x=a,n.height=0,n.width=h,r.width=h,r.height=Math.abs(s.y-o.y),r.x=a,r.y=s.y},e.prototype.createBreakSprites=function(t){t.startLine=new o.a,t.endLine=new o.a;var e=new s.a;e.setWavedSides(!0,!1,!0,!1),t.fillShape=e},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,n=i.axisFullLength;return e=i.renderer.inversed?(t-i.start)*n:(i.end-t)*n,l.round(e,1)},e}(r.a);a.b.registeredClasses.AxisRendererY=f,d.c.push({relevant:d.b.widthS,state:function(t,e){if(t instanceof f){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),d.c.push({relevant:d.b.widthXS,state:function(t,e){if(t instanceof f){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},Obr2:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("W0fk"),s=i("K0ev"),a=i("nHHr").f;i("gD3S")&&n(n.P+i("3/+B"),"Object",{__lookupGetter__:function(t){var e,i=r(this),n=o(t,!0);do{if(e=a(i,n))return e.get}while(i=s(i))}})},Oe1l:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("zhwk"),r=i("Rpw0"),o=i("hJ5i"),s=function(){function t(t,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=t,this.keyboardEvent=e,this._startedOn=(new Date).getTime(),Object(n.b)().processDragStart(t),r.b.animations.push(this),this.update()}return t.prototype.update=function(){var t=this.interaction,e=Object(n.b)().getKeyboardOption(t,"speed"),i=Object(n.b)().getKeyboardOption(t,"accelleration"),r=Object(n.b)().getKeyboardOption(t,"accellerationDelay"),o={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var s=(new Date).getTime()-this._startedOn,a=s-r;if(i>0&&a>0){var u=s/r;s=r,o.x+=this.directionX*(e*i*u*a),o.y+=this.directionY*(e*i*u*a)}o.x+=this.directionX*(e*s),o.y+=this.directionY*(e*s),Object(n.b)().handleTransformMove(t,o,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(Object(n.b)().processDragStop(this.interaction),o.remove(r.b.animations,this))},t}()},"Oko+":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(3);n(n.P+n.F*!i("GQop")([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},OuXI:function(t,e,i){var n=i("Gb1H"),r=i("iAlL")(!0);n(n.S,"Object",{entries:function(t){return r(t)}})},OxI3:function(t,e,i){var n=i("Gb1H"),r=i("0C8c"),o=Math.exp;n(n.S+n.F*i("AEc5")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},"P/bD":function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),o=i("x79X"),s=i("hJ5i"),a=i("Mtpk"),u=i("JNIx"),l=i("Q4nc"),h=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e._locale=u.a,e._defaultLocale=u.a,e.className="Language",a.hasValue(l.a.defaultLocale)&&(e.locale=l.a.defaultLocale),e.applyTheme(),e}return n.c(e,t),e.prototype.getLocale=function(t){return null==t&&(t=this._locale),this.adapter.apply("locale",{locale:t}).locale},e.prototype.translate=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];e=this.getLocale(e);var o=t,s=this.getTranslations(e)[t];if(null===s)s="";else if(a.hasValue(s))s&&(o=s);else if(e!==this._defaultLocale)return this.translate.apply(this,n.f([t,this._defaultLocale],i));if(i.length)for(var u=i.length,l=0;l<u;++l)o=o.split("%"+(l+1)).join(i[l]);return this.adapter.apply("translate",{translation:o,locale:e}).translation},e.prototype.translateEmpty=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var o=this.translate.apply(this,n.f([t,e],i));return o==t?"":o},e.prototype.translateFunc=function(t,e){e=this.getLocale(e);var i=this.getTranslations(e)[t];return null!=i?i:e!==this._defaultLocale?this.translateFunc(t,this._defaultLocale):function(){return""}},e.prototype.translateAll=function(t,e){var i=this;return this.isDefault()?t:s.map(t,function(t){return i.translate(t,e)})},e.prototype.isDefault=function(){return this._defaultLocale===this._locale},Object.defineProperty(e.prototype,"locale",{get:function(){return this._locale},set:function(t){if(this._locale!=t&&(this._locale=t,this.events.isEnabled("localechanged"))){var e={type:"localechanged",locale:t,target:this};this.events.dispatchImmediately("localechanged",e)}},enumerable:!0,configurable:!0}),e.prototype.getTranslations=function(t){return this.adapter.apply("translations",{translations:t,locale:t}).translations},e}(r.b)},"P7v+":function(t,e,i){"use strict";i.d(e,"a",function(){return a}),e.b=function(){if(null===u){var t=document.createElement("div");t.hidden=!0,document.body.appendChild(t);var e=new o.a(t);u=new a(e.SVGContainer,"ghost")}return u};var n=i("pzs1"),r=i("cOH5"),o=i("HDh7"),s=i("58Sn"),a=function(){function t(t,e){this.container=t,this.id=e;var i=document.createElementNS(s.a,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(s.e,"xmlns",s.a),i.setAttributeNS(s.e,"xmlns:xlink",s.d),i.setAttribute("role","group"),this.container.appendChild(i);var n=document.createElementNS(s.a,"desc");n.appendChild(document.createTextNode("JavaScript chart by amCharts")),i.appendChild(n),this.defs=document.createElementNS(s.a,"defs"),i.appendChild(this.defs),i.style.width="100%",i.style.height="100%",i.style.overflow="visible",this.svg=i}return t.prototype.add=function(t){return new n.a(t)},t.prototype.addGroup=function(t){return new r.a(t)},t.prototype.append=function(t){t&&this.svg.appendChild(t.node)},t.prototype.appendDef=function(t){t&&this.defs.appendChild(t.node)},t.prototype.foreignObject=function(){return new n.a("foreignObject")},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),u=null},PTiM:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Vs7R"),o=i("8ZqG"),s=i("sxA1"),a=i("aCit"),u=i("Mtpk"),l=i("Gg2j"),h=function(t){function e(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=Object(o.c)(),e.x1=0,e.y1=0,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.x1==this.x2||this.y1==this.y2?this.pixelPerfect=!0:this.pixelPerfect=!1,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(e.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(t){u.isNumber(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof s.a&&(e=1e-5),this.setPropertyValue("x1",t,!0),this.element.attr({x1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x2",{get:function(){var t=this.getPropertyValue("x2");return u.isNumber(t)||(t=this.pixelWidth),t},set:function(t){u.isNumber(t)||(t=0),this.setPropertyValue("x2",t,!0),this.element.attr({x2:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(t){u.isNumber(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof s.a&&(e=1e-5),this.setPropertyValue("y1",t,!0),this.element.attr({y1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y2",{get:function(){var t=this.getPropertyValue("y2");return u.isNumber(t)||(t=this.pixelHeight),t},set:function(t){u.isNumber(t)||(t=0),this.setPropertyValue("y2",t,!0),this.element.attr({y2:t})},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.x2,y:this.y2},n=l.getMidPoint(e,i,t),r=l.getAngle(e,i);return{x:n.x,y:n.y,angle:r}},e}(r.a);a.b.registeredClasses.Line=h},PXSi:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("xSzy"),o=i("LNZc"),s=i("snR7"),a=i("UwWU"),u=i("FmWr"),l=i("DvJ+"),h=i("T9LF").ArrayBuffer,c=i("QXbb"),p=o.ArrayBuffer,d=o.DataView,f=r.ABV&&h.isView,g=p.prototype.slice,y=r.VIEW;n(n.G+n.W+n.F*(h!==p),{ArrayBuffer:p}),n(n.S+n.F*!r.CONSTR,"ArrayBuffer",{isView:function(t){return f&&f(t)||l(t)&&y in t}}),n(n.P+n.U+n.F*i("AEc5")(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(s(this),t);for(var i=s(this).byteLength,n=a(t,i),r=a(void 0===e?i:e,i),o=new(c(this,p))(u(r-n)),l=new d(this),h=new d(o),f=0;n<r;)h.setUint8(f++,l.getUint8(n++));return o}}),i("vdWU")("ArrayBuffer")},Pr7S:function(t,e,i){var n=i("DvJ+");i("5lay")("isFrozen",function(t){return function(e){return!n(e)||!!t&&t(e)}})},Puh1:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("AC2I"),o=i("Inf5"),s=i("IbTV"),a=i("BmDP"),u=i("aCit"),l=i("Gg2j"),h=i("Mtpk"),c=i("tjMS"),p=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeriesDataItem",e.values.radiusValue={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"radiusValue",{get:function(){return this.values.radiusValue.value},set:function(t){this.setValue("radiusValue",t)},enumerable:!0,configurable:!0}),e.prototype.hide=function(e,i,n,r){return t.prototype.hide.call(this,e,i,0,["value","radiusValue"])},e.prototype.show=function(e,i,n){return t.prototype.show.call(this,e,i,["value","radiusValue"])},e}(r.b),d=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries",e.alignLabels=!0,e.startAngle=-90,e.endAngle=270,e.layout="none",e.labels.template.radius=Object(c.c)(5),e.addDisposer(e.labels.template.events.on("enabled",e.invalidate,e,!1)),e.applyTheme(),e}return n.c(e,t),e.prototype.createSlice=function(){return new o.a},e.prototype.createTick=function(){return new a.a},e.prototype.createLabel=function(){return new s.a},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),h.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie Slice Series"))},e.prototype.createDataItem=function(){return new p},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y","shiftRadius"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.scale=1.05,t.defaultState.properties.shiftRadius=0,t.togglable=!0,t.events.on("toggled",function(t){t.target.hideTooltip()}),t.states.create("active").properties.shiftRadius=.1},e.prototype.validate=function(){this._leftItems=[],this._rightItems=[],this._currentStartAngle=this.startAngle,this._arcRect=l.getArcRect(this.startAngle,this.endAngle),this._maxRadiusPercent=0;for(var e=this.startIndex;e<this.endIndex;e++){var i=this.dataItems.getIndex(e).values.radiusValue.percent;i>this._maxRadiusPercent&&(this._maxRadiusPercent=i)}t.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,n=(e.slice.middleAngle+360)%360;return i>270&&(i-=360),n>270&&(n-=360),i<n?-1:1}),this._leftItems.sort(function(t,e){return(t.slice.middleAngle+360)%360<(e.slice.middleAngle+360)%360?1:-1}),this.arrangeLabels(this._rightItems),this.arrangeLabels2(this._rightItems),this.arrangeLabels(this._leftItems),this.arrangeLabels2(this._leftItems))},e.prototype.validateDataElement=function(e){if(this.pixelRadius>0){var i=e.slice;if(i.radius=this.pixelRadius,h.isNumber(e.radiusValue)&&(i.radius=this.pixelInnerRadius+(this.pixelRadius-this.pixelInnerRadius)*e.values.radiusValue.percent/this._maxRadiusPercent),i.innerRadius instanceof c.a||(i.innerRadius=this.pixelInnerRadius),i.startAngle=this._currentStartAngle,i.arc=e.values.value.percent*(this.endAngle-this.startAngle)/100,!this.labels.template.disabled){var n=e.label,r=e.tick;r.slice=i,r.label=n;var o=(i.middleAngle+360)%360,s=void 0;if(this.alignLabels){var a=n.pixelRadius(i.radius),u=r.length+a;n.dx=0,n.dy=0,n.verticalCenter="middle";var l=this._arcRect;o>=270||o<=90?(u+=(l.width+l.x)*this.pixelRadius,n.horizontalCenter="left",this._rightItems.push(e)):(u-=l.x*this.pixelRadius,n.horizontalCenter="right",this._leftItems.push(e),u*=-1);var p=i.radius+r.length+a;s={x:u,y:i.iy*p},n.moveTo(s)}else{var d=i.depth;h.isNumber(d)||(d=0),n.fixPosition(i.middleAngle,i.radius,i.radiusY,0,-d)}}this._currentStartAngle+=i.arc,t.prototype.validateDataElement.call(this,e)}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(t){this._pixelRadius!=t&&(this._pixelRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(t){this._pixelInnerRadius!=t&&(this._pixelInnerRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",l.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;h.isNumber(n)||(n=.5);var r=e.locationY;h.isNumber(r)||(r=1);var o=i.startAngle+i.arc*n;e.x=r*i.radius*l.cos(o),e.y=r*i.radiusY*l.sin(o)},e.prototype.handleSliceMove=function(t){if(!this.alignLabels){var e=t.target,i=e.dataItem;if(i){var n=i.label;n&&(n.dx=n.fdx+e.dx+e.pixelX,n.dy=n.fdy+e.dy+e.pixelY)}}},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var t=this.chart;return t?l.getArcRect(t.startAngle,t.endAngle,this.pixelRadius):l.getArcRect(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),e}(r.a);u.b.registeredClasses.PieSeries=d,u.b.registeredClasses.PieSeriesDataItem=p},Q4nc:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n={verbose:!0,commercialLicense:!1,classNamePrefix:"amcharts-",autoSetClassName:!1,minPolylineStep:.5}},QXbb:function(t,e,i){var n=i("snR7"),r=i("DbOM"),o=i("YEtG")("species");t.exports=function(t,e){var i,s=n(t).constructor;return void 0===s||void 0==(i=n(s)[o])?e:r(i)}},QZG2:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("mntN")(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(s||!i("GQop")(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},Qgck:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{imulh:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n,s=i>>16,a=n>>16,u=(s*o>>>0)+(r*o>>>16);return s*a+(u>>16)+((r*a>>>0)+(65535&u)>>16)}})},Qkdp:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.entries=function(t){return function(e){for(var i in t)if(a(t,i)&&!e([i,t[i]]))break}},e.keys=o,e.keysOrdered=s,e.hasKey=a,e.getKey=function(t,e){return t[e]},e.eachContinue=u,e.each=function(t,e){u(t,function(t,i){return e(t,i),!0})},e.eachOrdered=function(t,e,i){n.each(s(t,i),function(i){e(i,t[i])})},e.copy=function(t){return Object.assign({},t)},e.merge=function(t,e){return Object.assign({},t,e)},e.copyProperties=l,e.softCopyProperties=function(t,e,i){n.each(i,function(i){r.hasValue(t[i])&&!r.hasValue(e[i])&&(e[i]=t[i])})},e.forceCopyProperties=function(t,e,i){n.each(i,function(i){e[i]=t[i]})},e.copyAllProperties=function(t,e){l(t,e,o(t))};var n=i("hJ5i"),r=i("Mtpk");function o(t){var e=[];for(var i in t)a(t,i)&&e.push(i);return e}function s(t,e){return o(t).sort(e)}function a(t,e){return{}.hasOwnProperty.call(t,e)}function u(t,e){for(var i in t)if(a(t,i)&&!e(i,t[i]))break}function l(t,e,i){n.each(i,function(i){r.hasValue(t[i])&&(e[i]=t[i])})}},QtEf:function(t,e,i){var n=i("Gb1H"),r=Math.atanh;n(n.S+n.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},R6wv:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("oC3T"),s=i("aCit"),a=i("hGwe"),u=i("Mtpk"),l=function(t){function e(){var e=t.call(this)||this;return e.className="Polygon",e.element=e.paper.add("path"),e.shapeRendering="auto",e._currentPoints=[],e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"points",{get:function(){var t=this.getPropertyValue("points"),e=this.path;if(e&&(!t||0==t.length)){for(var i=e.slice(1,e.length-1).split("ZM"),n=0;n<i.length;n++){var r=i[n];if(r.length>0){var o=r.split("M"),s=o[0],a=o[1];if(s&&s.length>0){var u=s.split("L");if(u.length>0){var l=[],h=[l];t.push(h);for(var c=0;c<u.length;c++){var p=u[c].split(",");l.push({x:Number(p[0]),y:Number(p[1])})}if(a&&a.length>0){var d=a.split("L");if(d.length>0){var f=[];h.push(f);for(c=d.length-1;c>=0;c--){p=d[c].split(",");f.push({x:Number(p[0]),y:Number(p[1])})}}}}}}}this.setPropertyValue("points",t),this._currentPoints=t}return t},set:function(t){this.setPropertyValue("points",t,!0),this._currentPoints=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentPoints",{get:function(){return this._currentPoints&&0!=this._currentPoints.length||!this.path||(this._currentPoints=this.points),this._currentPoints},set:function(t){this._currentPoints!=t&&(this._currentPoints=t,this.draw())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){var e,i,n,r,o="",s=this._currentPoints;if(s.length>0){for(var l=0,h=s.length;l<h;l++){var c=s[l][0],p=s[l][1];if(c&&c.length>0){var d=c[0];o+=a.moveTo(d);for(var f=0;f<c.length;f++)d=c[f],o+=a.lineTo(d),(!u.isNumber(i)||i<d.x)&&(i=d.x),(!u.isNumber(e)||e>d.x)&&(e=d.x),(!u.isNumber(n)||n>d.y)&&(n=d.y),(!u.isNumber(r)||r<d.y)&&(r=d.y)}if(p&&p.length>0){d=p[0];o+=a.moveTo(d);for(var g=0,y=p.length;g<y;g++)d=p[g],o+=a.lineTo(d)}}o&&(o+=a.closePath()),this.bbox.x=e,this.bbox.y=n,this.bbox.width=i-e,this.bbox.height=r-n,t.prototype.setPath.call(this,o)}},e.prototype.setPath=function(e){return!!t.prototype.setPath.call(this,e)&&(this.points=[],this._bbox=this.group.getBBox(),!0)},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"centerPoint",{get:function(){return{x:this.bbox.x+this.bbox.width/2,y:this.bbox.y+this.bbox.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"morpher",{get:function(){return this._morpher||(this._morpher=new o.a(this),this._disposers.push(this._morpher)),this._morpher},enumerable:!0,configurable:!0}),e}(r.a);s.b.registeredClasses.Polygon=l},RC2a:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FmWr"),o=i("zAAN"),s="".endsWith;n(n.P+n.F*i("IYrR")("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),i=arguments.length>1?arguments[1]:void 0,n=r(e.length),a=void 0===i?n:Math.min(r(i),n),u=String(t);return s?s.call(e,u,a):e.slice(a-u.length,a)===u}})},Rnbi:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("hGwe"),a=function(t){function e(){var e=t.call(this)||this;return e.className="Triangle",e.element=e.paper.add("path"),e.direction="top",e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.pixelWidth,n=this.pixelHeight;switch(this.direction){case"right":e=s.moveTo({x:0,y:0})+s.lineTo({x:i,y:n/2})+s.lineTo({x:0,y:n})+s.closePath();break;case"left":e=s.moveTo({x:i,y:0})+s.lineTo({x:0,y:n/2})+s.lineTo({x:i,y:n})+s.closePath();break;case"bottom":e=s.moveTo({x:0,y:0})+s.lineTo({x:i,y:0})+s.lineTo({x:i/2,y:n})+s.closePath();break;case"top":e=s.moveTo({x:i/2,y:0})+s.lineTo({x:i,y:n})+s.lineTo({x:0,y:n})+s.closePath()}this.path=e},Object.defineProperty(e.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(t){this.setPropertyValue("direction",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Triangle=a},RpVB:function(t,e,i){"use strict";i("Mvcd")("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},Rpw0:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return l});var n=i("aCit"),r=i("Q4nc"),o=i("/9XX"),s=i("hJ5i"),a=i("Qkdp"),u=function(){function t(){this._isPaused=!1,this.animations=[],this.uid=n.b.getUniqueId(),this.dummyCounter=0,this._frameRequested=!1,this.updateStepDuration=45,this.time=Date.now()}return t.prototype.reportTime=function(t,e){this.dummyCounter,e&&(this.time=Date.now())},t.prototype.update=function(){var t=this;if(!this._isPaused){this._frameRequested=!1;var e=Date.now();n.b.dispatchImmediately("enterframe");for(var i in n.b.invalidDatas)if(a.hasKey(n.b.invalidDatas,i)){for(var r=n.b.invalidDatas[i];r.length>0;){var u=(l=r[0]).dataProvider;if(l.isDisposed())s.remove(r,l);else if(u&&u.dataInvalid)try{if(u.validateData(),u.dataValidationProgress<1)break}catch(t){s.remove(r,u),u.raiseCriticalError(t)}else try{if(l.validateData(),l.dataValidationProgress<1)break}catch(t){s.remove(r,l),l.raiseCriticalError(t)}}if(Date.now()-e>this.updateStepDuration)break}for(;n.b.invalidRawDatas.length>0;){if((l=n.b.invalidRawDatas[0]).isDisposed())s.remove(n.b.invalidRawDatas,l);else try{l.validateRawData()}catch(t){s.remove(n.b.invalidRawDatas,l),l.raiseCriticalError(t)}}for(;n.b.invalidDataItems.length>0;){u=(l=n.b.invalidDataItems[0]).dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataItems()}catch(t){s.remove(n.b.invalidDataItems,l),l.raiseCriticalError(t)}s.remove(n.b.invalidDataItems,l)}for(;n.b.invalidDataRange.length>0;){var l;u=(l=n.b.invalidDataRange[0]).dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataRange(),l.skipRangeEvent||l.dispatchImmediately("datarangechanged"),l.skipRangeEvent=!1}catch(t){s.remove(n.b.invalidDataRange,l),l.raiseCriticalError(t)}s.remove(n.b.invalidDataRange,l)}var h=[];a.each(n.b.invalidLayouts,function(e){t.validateLayouts(e)}),a.each(n.b.invalidPositions,function(e){t.validatePositions(e)});var c=!1;if(e=Date.now(),a.each(n.b.invalidSprites,function(i,r){for(var o=0;r.length>0;){if(t.validateLayouts(i),t.validatePositions(i),5==++o){if(Date.now()-e>t.updateStepDuration)break;o=0}var a=r[r.length-1];if(a&&!a.isDisposed()){if(a._systemCheckIfValidate())if(t.checkIfValidate2(a))try{a._systemUpdate(h)}catch(t){a.invalid=!1,s.remove(r,a),a.raiseCriticalError(t)}else h.push(a);else h.push(a);a.invalid=!1}s.remove(r,a)}n.b.invalidSprites[i]=n.b.invalidSprites[i].concat(h)}),a.each(n.b.invalidSprites,function(t,e){e.length>0&&(c=!0)}),a.each(n.b.invalidDatas,function(t,e){e.length>0&&(c=!0)}),s.each(s.copy(this.animations),function(t){t.update()}),a.each(n.b.invalidLayouts,function(e){t.validateLayouts(e)}),a.each(n.b.invalidPositions,function(e){t.validatePositions(e)}),Object(o.d)(),a.each(n.b.invalidLayouts,function(e){t.validateLayouts(e)}),a.each(n.b.invalidPositions,function(e){t.validatePositions(e)}),n.b.dispatchImmediately("exitframe"),(c||this.animations.length>0||[].length>0)&&this.requestFrame(),this.updateStepDuration<200){var p=!0;a.each(n.b.invalidDatas,function(t,e){e.length>0&&(p=!1)}),a.each(n.b.invalidSprites,function(t,e){e.length>0&&(p=!1)}),p&&(this.updateStepDuration=200)}}},t.prototype.checkIfValidate2=function(t){return!(t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid&&!t.dataItem.component.isTemplate)},t.prototype.requestFrame=function(){var t=this;this._frameRequested||(Object(o.b)(function(){t.update()}),this._frameRequested=!0)},t.prototype.validatePositions=function(t){for(var e=n.b.invalidPositions[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())s.remove(e,i);else try{i._systemValidatePositions()}catch(t){i.positionInvalid=!1,s.remove(e,i),i.raiseCriticalError(t)}}},t.prototype.validateLayouts=function(t){for(var e=n.b.invalidLayouts[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())s.remove(e,i);else try{i.children.each(function(t){t._systemValidateLayouts()}),i.validateLayout()}catch(t){i.layoutInvalid=!1,s.remove(e,i),i.raiseCriticalError(t)}}},t.prototype.log=function(t){r.a.verbose&&console&&console.log(t)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._isPaused},set:function(t){this._isPaused=t,t||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),t.VERSION="4.4.0",t}(),l=new u},RzG0:function(t,e,i){var n=i("T9LF"),r=i("0v9/").set,o=n.MutationObserver||n.WebKitMutationObserver,s=n.process,a=n.Promise,u="process"==i("DVYA")(s);t.exports=function(){var t,e,i,l=function(){var n,r;for(u&&(n=s.domain)&&n.exit();t;){r=t.fn,t=t.next;try{r()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(u)i=function(){s.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var h=a.resolve(void 0);i=function(){h.then(l)}}else i=function(){r.call(n,l)};else{var c=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),i=function(){p.data=c=!c}}return function(n){var r={fn:n,next:void 0};e&&(e.next=r),t||(t=r,i()),e=r}}},S9D9:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{log1p:i("AzI1")})},ScGY:function(t,e,i){"use strict";i.d(e,"f",function(){return n}),i.d(e,"g",function(){return r}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return s}),i.d(e,"b",function(){return a}),i.d(e,"d",function(){return u}),i.d(e,"e",function(){return l});var n="px",r="string",o="number",s="date",a="duration",u="__§§§__",l="__§§§§__"},T3RA:function(t,e,i){"use strict";var n=i("T9LF"),r=i("U3hN"),o=i("DVYA"),s=i("6/bx"),a=i("W0fk"),u=i("AEc5"),l=i("rkh7").f,h=i("nHHr").f,c=i("hjwn").f,p=i("nAZS").trim,d=n.Number,f=d,g=d.prototype,y="Number"==o(i("5+SK")(g)),m="trim"in String.prototype,b=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var i,n,r,o=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(i=e.charCodeAt(2))||120===i)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+e}for(var s,u=e.slice(2),l=0,h=u.length;l<h;l++)if((s=u.charCodeAt(l))<48||s>r)return NaN;return parseInt(u,n)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof d&&(y?u(function(){g.valueOf.call(i)}):"Number"!=o(i))?s(new f(b(e)),i,d):b(e)};for(var v,_=i("gD3S")?l(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)r(f,v=_[x])&&!r(d,v)&&c(d,v,h(f,v));d.prototype=g,g.constructor=d,i("wDk4")(n,"Number",d)}},T3m9:function(t,e,i){"use strict";var n,r,o,s,a=i("pb4Y"),u=i("T9LF"),l=i("20m4"),h=i("MfZA"),c=i("Gb1H"),p=i("DvJ+"),d=i("DbOM"),f=i("ypVE"),g=i("hpnp"),y=i("QXbb"),m=i("0v9/").set,b=i("RzG0")(),v=i("6w17"),_=i("wYgt"),x=i("vSjZ"),P=i("JqbS"),w=u.TypeError,O=u.process,S=O&&O.versions,T=S&&S.v8||"",C=u.Promise,k="process"==h(O),M=function(){},j=r=v.f,I=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[i("YEtG")("species")]=function(t){t(M,M)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),V=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var i=t._c;b(function(){for(var n=t._v,r=1==t._s,o=0,s=function(e){var i,o,s,a=r?e.ok:e.fail,u=e.resolve,l=e.reject,h=e.domain;try{a?(r||(2==t._h&&R(t),t._h=1),!0===a?i=n:(h&&h.enter(),i=a(n),h&&(h.exit(),s=!0)),i===e.promise?l(w("Promise-chain cycle")):(o=V(i))?o.call(i,u,l):u(i)):l(n)}catch(t){h&&!s&&h.exit(),l(t)}};i.length>o;)s(i[o++]);t._c=[],t._n=!1,e&&!t._h&&E(t)})}},E=function(t){m.call(u,function(){var e,i,n,r=t._v,o=F(t);if(o&&(e=_(function(){k?O.emit("unhandledRejection",r,t):(i=u.onunhandledrejection)?i({promise:t,reason:r}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",r)}),t._h=k||F(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){m.call(u,function(){var e;k?O.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},L=function(t){var e,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw w("Promise can't be resolved itself");(e=V(t))?b(function(){var n={_w:i,_d:!1};try{e.call(t,l(L,n,1),l(A,n,1))}catch(t){A.call(n,t)}}):(i._v=t,i._s=1,D(i,!1))}catch(t){A.call({_w:i,_d:!1},t)}}};I||(C=function(t){f(this,C,"Promise","_h"),d(t),n.call(this);try{t(l(L,this,1),l(A,this,1))}catch(t){A.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("cA+3")(C.prototype,{then:function(t,e){var i=j(y(this,C));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=k?O.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&D(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=l(L,t,1),this.reject=l(A,t,1)},v.f=j=function(t){return t===C||t===s?new o(t):r(t)}),c(c.G+c.W+c.F*!I,{Promise:C}),i("bPwn")(C,"Promise"),i("vdWU")("Promise"),s=i("G5U1").Promise,c(c.S+c.F*!I,"Promise",{reject:function(t){var e=j(this);return(0,e.reject)(t),e.promise}}),c(c.S+c.F*(a||!I),"Promise",{resolve:function(t){return P(a&&this===s?C:this,t)}}),c(c.S+c.F*!(I&&i("ID9o")(function(t){C.all(t).catch(M)})),"Promise",{all:function(t){var e=this,i=j(e),n=i.resolve,r=i.reject,o=_(function(){var i=[],o=0,s=1;g(t,!1,function(t){var a=o++,u=!1;i.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,i[a]=t,--s||n(i))},r)}),--s||n(i)});return o.e&&r(o.v),i.promise},race:function(t){var e=this,i=j(e),n=i.reject,r=_(function(){g(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})},"T9+M":function(t,e,i){i("6+x4")("Set")},T9LF:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"TDx+":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("p9TX"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="AxisLabel",e.isMeasured=!1,e.padding(10,10,10,10),e.location=.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.b.registeredClasses.AxisLabel=s},TGuK:function(t,e,i){"use strict";i.d(e,"a",function(){return c}),i.d(e,"c",function(){return p}),i.d(e,"b",function(){return d});var n=i("m4/l"),r=i("Tjl+"),o=i("vMqJ"),s=i("x79X"),a=i("aCit"),u=i("Wglt"),l=i("hJ5i"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e._rules=new o.b,e._appliedRules={},e._useDefault=!0,e.adapter=new s.a(e),e._enabled=!1,e._noStates=[],e.className="Responsive",e.rules.events.on("inserted",e.checkRules,!0),e.rules.events.on("removed",e.checkRules,!0),e._disposers.push(e.rules.events),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"component",{get:function(){return this._component},set:function(t){t!=this._component&&(this._sizeEventDisposer&&this.removeDispose(this._sizeEventDisposer),this._component=t,this._sizeEventDisposer=h.getValue(this.component).events.on("sizechanged",this.checkRules,this),this._disposers.push(this._sizeEventDisposer),this.enabled=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.adapter.apply("enabled",this._enabled)},set:function(t){this._enabled!=t&&(this._enabled=t,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefault",{get:function(){return this.adapter.apply("useDefault",this._useDefault)},set:function(t){this._useDefault!=t&&(this._useDefault=!0,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rules",{get:function(){return this.adapter.apply("rules",this._rules)},set:function(t){this._rules=t,this._enabled=!0,this.applyRules()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultRules",{get:function(){return this.adapter.apply("defaultRules",p)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allRules",{get:function(){var t=new o.b;return this.useDefault&&t.copyFrom(this.defaultRules),t.copyFrom(this.rules),this.adapter.apply("allRules",t)},enumerable:!0,configurable:!0}),e.prototype.isApplied=function(t){var e=this._appliedRules[t];return!!h.hasValue(e)&&e},e.prototype.checkRules=function(){var t=this,e=this.allRules;if(e&&0!=e.length){var i=!1,n=h.getValue(this.component);u.each(e.iterator(),function(e){e.id||(e.id=a.b.getUniqueId());var r=e.relevant(n);(r&&!t.isApplied(e.id)||!r&&t.isApplied(e.id))&&(i=!0),t._appliedRules[e.id]=r}),i&&this.applyRules()}},e.prototype.applyRules=function(t){var e=this,i=h.hasValue(t)?t:h.getValue(this.component),n=!1;this.enabled&&u.each(this.allRules.iterator(),function(t){var r=e.getState(t,i);r&&(n||(i.applyCurrentState(0),n=!0),e.isApplied(h.getValue(t.id))&&i.setState(r))}),i.children&&u.each(i.children.iterator(),function(t){e.applyRules(t)})},e.prototype.getState=function(t,e){var i="responsive-"+t.id,n=e.uid+"_"+i;if(-1===l.indexOf(this._noStates,n)){if(e.states.hasKey(i))return e.states.getKey(i);var r=t.state(e,i);return r||this._noStates.push(n),r}},e.prototype.getValue=function(t,e){var i=t.getPropertyValue(e);return!h.hasValue(i)&&h.hasValue(t[e])&&(i=t[e]),i},e}(r.b),p=new o.b;p.events.on("inserted",function(t){t.newValue.id=a.b.getUniqueId()});var d=function(){function t(){}return t.widthXXS=function(e){return e.pixelWidth<=t.XXS},t.widthXS=function(e){return e.pixelWidth<=t.XS},t.widthS=function(e){return e.pixelWidth<=t.S},t.widthM=function(e){return e.pixelWidth<=t.M},t.widthL=function(e){return e.pixelWidth<=t.L},t.widthXL=function(e){return e.pixelWidth<=t.XL},t.widthXXL=function(e){return e.pixelWidth<=t.XXL},t.heightXXS=function(e){return e.pixelHeight<=t.XXS},t.heightXS=function(e){return e.pixelHeight<=t.XS},t.heightS=function(e){return e.pixelHeight<=t.S},t.heightM=function(e){return e.pixelHeight<=t.M},t.heightL=function(e){return e.pixelHeight<=t.L},t.heightXL=function(e){return e.pixelHeight<=t.XL},t.heightXXL=function(e){return e.pixelHeight<=t.XXL},t.isXXS=function(e){return e.pixelWidth<=t.XXS&&e.pixelHeight<=t.XXS},t.isXS=function(e){return e.pixelWidth<=t.XS&&e.pixelHeight<=t.XS},t.isS=function(e){return e.pixelWidth<=t.S&&e.pixelHeight<=t.S},t.isM=function(e){return e.pixelWidth<=t.M&&e.pixelHeight<=t.M},t.isL=function(e){return e.pixelWidth<=t.L&&e.pixelHeight<=t.L},t.isXL=function(e){return e.pixelWidth<=t.XL&&e.pixelHeight<=t.XL},t.isXXL=function(e){return e.pixelWidth<=t.XXL&&e.pixelHeight<=t.XXL},t.maybeXXS=function(e){return e.pixelWidth<=t.XXS||e.pixelHeight<=t.XXS},t.maybeXS=function(e){return e.pixelWidth<=t.XS||e.pixelHeight<=t.XS},t.maybeS=function(e){return e.pixelWidth<=t.S||e.pixelHeight<=t.S},t.maybeM=function(e){return e.pixelWidth<=t.M||e.pixelHeight<=t.M},t.maybeL=function(e){return e.pixelWidth<=t.L||e.pixelHeight<=t.L},t.maybeXL=function(e){return e.pixelWidth<=t.XL||e.pixelHeight<=t.XL},t.maybeXXL=function(e){return e.pixelWidth<=t.XXL||e.pixelHeight<=t.XXL},t.XXS=100,t.XS=200,t.S=300,t.M=400,t.L=600,t.XL=800,t.XXL=1e3,t}()},TXRX:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("C6dT"),o=i("aCit"),s=i("TGuK"),a=function(t){function e(){var e=t.call(this)||this;return e.className="Bullet",e.isMeasured=!1,e.tooltipX=0,e.tooltipY=0,e.layout="none",e.applyOnClones=!0,e.copyToLegendMarker=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){this.setPropertyValue("locationX",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){this.setPropertyValue("locationY",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xField",{get:function(){return this.getPropertyValue("xField")},set:function(t){this.setPropertyValue("xField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this.getPropertyValue("yField")},set:function(t){this.setPropertyValue("yField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDynamic",{get:function(){return this.getPropertyValue("isDynamic")},set:function(t){this.setPropertyValue("isDynamic",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copyToLegendMarker",{get:function(){return this.getPropertyValue("copyToLegendMarker")},set:function(t){this.setPropertyValue("copyToLegendMarker",t)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Bullet=a,s.c.push({relevant:s.b.isXS,state:function(t,e){if(t instanceof a){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},"Tjl+":function(t,e,i){"use strict";i.d(e,"a",function(){return y}),i.d(e,"b",function(){return m});var n=i("m4/l"),r=i("vMqJ"),o=i("+qIf"),s=i("hD5A"),a=i("o0Lc"),u=i("x79X"),l=i("8ZqG"),h=i("tjMS"),c=i("aCit"),p=i("eCqC"),d=i("hJ5i"),f=i("Qkdp"),g=i("Mtpk"),y=function(){function t(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return t.prototype.debug=function(){},Object.defineProperty(t.prototype,"uid",{get:function(){return this._uid||(this._uid=c.b.getUniqueId(),c.b.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new o.a),this._map},enumerable:!0,configurable:!0}),t.prototype.applyTheme=function(){var t=this;if(c.b){var e=this.getCurrentThemes();e&&d.each(e,function(e,i){e(t)})}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(t){this._themes=t},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||c.b.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var e=this._uid;null!=e&&c.b.map.removeKey(e)}},t.prototype.addDisposer=function(t){this._disposers.push(t)},t.prototype.removeDispose=function(t){if(!this._disposed){var e=d.indexOf(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()},t.prototype.clone=function(t){t||(t="clone-"+c.b.getUniqueId());var e=new this.constructor;return e.cloneId=t,e.copyFrom(this),e},Object.defineProperty(t.prototype,"clones",{get:function(){return this._clones||(this._clones=new r.b),this._clones},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(t){t.clones.push(this),this.clonedFrom=t},Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){p.b.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),p.b.get(this.uid,t,e)},t.prototype.clearCache=function(){p.b.clear(this.uid)},t.prototype.setTimeout=function(t,e){var i=this,n=setTimeout(function(){i.removeDispose(r),t()},e),r=new s.b(function(){clearTimeout(n)});return this._disposers.push(r),r},t.prototype.setInterval=function(t,e){var i=this,n=setInterval(function(){i.removeDispose(r),t()},e),r=new s.b(function(){clearTimeout(n)});return this._disposers.push(r),r},Object.defineProperty(t.prototype,"config",{set:function(t){try{this.processConfig(t)}catch(t){this.raiseCriticalError(t)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(e){var i=this;if(e){var n=this;if(f.eachOrdered(e,function(e,s){var c,p=s;if("callback"==e&&"function"==typeof s&&s.call(n),i.hasProperty(e))if(g.isObject(p)&&g.hasValue(p.type)&&(c=i.createClassInstance(p.type))?n[e]=c:c=n[e],c instanceof u.a)i.processAdapters(c,p);else if(c instanceof a.a)i.processEvents(c,p);else if(i.asIs(e))n[e]=p;else if(p instanceof t)n[e]=p;else if(c instanceof t)c.config=p;else if(c instanceof r.e){if(g.isArray(p))i.processListTemplate(p,c);else if(g.isObject(p))if(p instanceof t)c.template=p;else{var d=void 0;d=g.hasValue(p.template)?p.template:p,c.template instanceof t?c.template.config=d:f.each(d,function(e,n){var s=c.template[e];s instanceof u.a?i.processAdapters(s,n):s instanceof a.a?i.processEvents(s,n):s instanceof o.c?i.processDictionaryTemplate(s,n):c.template[e]instanceof t?c.template[e].config=n:g.isObject(n)&&g.hasValue(n.type)?(s=i.createClassInstance(n.type))?(s instanceof t&&(s.config=n),c.template[e]=s):c.template[e]=n:s instanceof r.b?i.processList(n,s):c.template[e]=i.maybeColorOrPercent(n)}),g.hasValue(p.values)&&i.processListTemplate(p.values,c)}}else c instanceof r.b?"children"==e?i.processList(p,c,i):i.processList(p,c):c instanceof o.c?i.processDictionaryTemplate(c,p):c instanceof o.a?i.processDictionary(c,p):c instanceof l.a||c instanceof h.a?n[e]=i.maybeColorOrPercent(p):g.isObject(c)&&g.isObject(p)?f.copyAllProperties(p,c):(p=i.maybeColorOrPercent(p),n[e]=p);else i.isReserved(e)||(n[e]=p)},this.configOrder),this.processingErrors.length){var s=this.processingErrors.join("\n");throw this._processingErrors=[],Error(s)}}},t.prototype.maybeColorOrPercent=function(t){if(g.isString(t)){if(t.match(/^[\-]?[0-9.]+\%$/))return Object(h.c)(g.toNumber(t));if(t.match(/^\#[0-9abcdef]{3,}$/i))return Object(l.c)(t)}return t},t.prototype.processAdapters=function(t,e){var i=this;g.isArray(e)?d.each(e,function(e,n){t.add(e.key,e.callback,e.priority||0,i)}):g.isObject(e)&&f.each(e,function(e,i){t.has(e,i)||t.add(e,i)})},t.prototype.processEvents=function(t,e){var i=this;g.isObject(e)?f.each(e,function(e,i){t.has(e,i)||t.on(e,i)}):g.isArray(e)&&d.each(e,function(e,n){t.on(e.type,e.callback,i)})},t.prototype.processDictionaryTemplate=function(e,i){g.isObject(i)&&f.each(i,function(i,n){var r;(r="template"==i?e.template:e.hasKey(i)?e.getKey(i):e.create(i))instanceof t?r.config=n:g.isObject(r)&&g.isObject(n)?f.copyAllProperties(n,r):r.setKey(i,n)})},t.prototype.processDictionary=function(t,e){g.isObject(e)&&f.each(e,function(e,i){t.setKey(e,i)})},t.prototype.processListTemplate=function(e,i){var n=this;for(d.each(e,function(e,r){var o,s=n.getConfigEntryType(e);if(i.hasIndex(r)&&!e.forceCreate)o=i.getIndex(r);else{if(e instanceof t)return void i.push(e);o=s?i.create(s):i.create()}g.isObject(e)&&(o instanceof t?o.config=e:g.isObject(o)&&g.isObject(e)?f.copyAllProperties(e,o):i.setIndex(i.indexOf(o),e))});e.length>i.length;)i.pop()},t.prototype.processList=function(e,i,n){var r=this;g.isArray(e)||(e=[e]);var o=i.length;for(d.each(e,function(e,s){if(g.isObject(e)){var a=void 0;if(s<o&&!e.forceCreate)a=i.getIndex(s);else{if(e instanceof t)return void i.push(e);a=r.createEntryInstance(e),n?a.parent=n:i.push(a)}a instanceof t?a.config=e:g.isObject(a)&&g.isObject(e)&&f.copyAllProperties(e,a)}else i.hasIndex(s)?i.setIndex(s,e):i.push(e)});e.length>i.length;)i.pop()},t.prototype.configOrder=function(t,e){return t==e?0:"language"==t?-1:"language"==e?1:0},t.prototype.asIs=function(t){return-1!=d.indexOf(["locale"],t)},t.prototype.createClassInstance=function(t){if(g.hasValue(c.b.registeredClasses[t]))return new c.b.registeredClasses[t]},t.prototype.createEntryInstance=function(t){var e;return g.hasValue(t.type)&&(e=this.createClassInstance(t.type)),e||t},t.prototype.getConfigEntryType=function(t){if(g.hasValue(t.type)){if(g.hasValue(c.b.registeredClasses[t.type]))return c.b.registeredClasses[t.type];throw Error('Invalid type: "'+t.type+'".')}},t.prototype.hasProperty=function(t){return t in this},t.prototype.isReserved=function(t){return-1!==["type","forceCreate"].indexOf(t)},Object.defineProperty(t.prototype,"processingErrors",{get:function(){return this._processingErrors||(this._processingErrors=[]),this._processingErrors},enumerable:!0,configurable:!0}),t}(),m=function(t){function e(){var e=t.call(this)||this;return e.events=new a.a,e.className="BaseObjectEvents",e._disposers.push(e.events),e}return n.c(e,t),e.prototype.dispatch=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatch(t,{type:t,target:this})):this.events.dispatch(t,{type:t,target:this}))},e.prototype.dispatchImmediately=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.events.copyFrom(e.events)},e}(y)},Trvg:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("p9TX"),o=i("qCRI"),s=i("MIZb"),a=i("aCit"),u=function(t){function e(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new s.a;return e.fill=i.getFor("primaryButton").brighten(.3),e.states.create("hover").properties.fill=i.getFor("primaryButtonHover").brighten(.3),e.states.create("down").properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=o.a.pointer,e.applyTheme(),e}return n.c(e,t),e}(r.a);a.b.registeredClasses.TextLink=u},U1Gp:function(t,e,i){"use strict";var n=i("20m4"),r=i("Gb1H"),o=i("vJiZ"),s=i("sNEp"),a=i("a8UT"),u=i("FmWr"),l=i("e8Nv"),h=i("iOZG");r(r.S+r.F*!i("ID9o")(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,r,c,p=o(t),d="function"==typeof this?this:Array,f=arguments.length,g=f>1?arguments[1]:void 0,y=void 0!==g,m=0,b=h(p);if(y&&(g=n(g,f>2?arguments[2]:void 0,2)),void 0==b||d==Array&&a(b))for(i=new d(e=u(p.length));e>m;m++)l(i,m,y?g(p[m],m):p[m]);else for(c=b.call(p),i=new d;!(r=c.next()).done;m++)l(i,m,y?s(c,g,[r.value,m],!0):r.value);return i.length=m,i}})},U3hN:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},UPxv:function(t,e,i){var n=i("Gb1H");n(n.S,"System",{global:i("T9LF")})},UXfn:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FmWr"),o=i("zAAN"),s="".startsWith;n(n.P+n.F*i("IYrR")("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),i=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return s?s.call(e,n,i):e.slice(i,i+n.length)===n}})},Uobz:function(t,e,i){"use strict";var n=i("pb4Y"),r=i("Gb1H"),o=i("wDk4"),s=i("Vng0"),a=i("9BM3"),u=i("Cekr"),l=i("bPwn"),h=i("K0ev"),c=i("YEtG")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,i,f,g,y,m){u(i,e,f);var b,v,_,x=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},P=e+" Iterator",w="values"==g,O=!1,S=t.prototype,T=S[c]||S["@@iterator"]||g&&S[g],C=T||x(g),k=g?w?x("entries"):C:void 0,M="Array"==e&&S.entries||T;if(M&&(_=h(M.call(new t)))!==Object.prototype&&_.next&&(l(_,P,!0),n||"function"==typeof _[c]||s(_,c,d)),w&&T&&"values"!==T.name&&(O=!0,C=function(){return T.call(this)}),n&&!m||!p&&!O&&S[c]||s(S,c,C),a[e]=C,a[P]=d,g)if(b={values:w?C:x("values"),keys:y?C:x("keys"),entries:k},m)for(v in b)v in S||o(S,v,b[v]);else r(r.P+r.F*(p||O),e,b);return b}},UsNi:function(t,e,i){"use strict";var n=i("m4/l"),r=i("58Sn"),o=i("+qIf"),s=i("hD5A"),a=new o.a,u=i("x79X"),l=i("Tjl+"),h=i("zhwk"),c=i("WYhe"),p=i("Mtpk"),d=i("Qkdp");i.d(e,"a",function(){return f});var f=function(t){function e(){var e=t.call(this)||this;return e.adapter=new u.a(e),e._elements={},e._IOs={},e._content="",e._title="",e._classPrefix="ampopup",e._defaultStyles=!0,e._showCurtain=!1,e._draggable=!0,e._align="center",e._verticalAlign="middle",e._shift={x:0,y:0},e._tempShift={x:0,y:0},e._readerTitle="",e._closable=!0,e._cssLoaded=!1,e._fitTo="window",e.isTemplate=!1,e._sized=!1,e.className="Popup",e}return n.c(e,t),e.prototype.open=function(){this.container&&(this._elements.wrapper&&this.container.appendChild(this._elements.wrapper),this._elements.curtain&&(this.container.appendChild(this._elements.curtain),this.showCurtain=this.showCurtain),this.positionElement(),this.dispatchImmediately("opened"))},e.prototype.close=function(){this._elements.wrapper&&this._elements.wrapper.parentElement&&this._elements.wrapper.parentElement.removeChild(this._elements.wrapper),this._elements.curtain&&this._elements.curtain.parentElement&&this._elements.curtain.parentElement.removeChild(this._elements.curtain),this.dispatchImmediately("closed"),this.releasePointers()},e.prototype.dispose=function(){this.close(),t.prototype.dispose.call(this)},e.prototype.positionElement=function(t){var e=this;void 0===t&&(t=!0),this._elements.wrapper&&setTimeout(function(){if(e._elements.wrapper){if(t||!e._sized){if(e._elements.wrapper.style.opacity="0.01",e._elements.wrapper.style.left="0",e._elements.wrapper.style.top="0",e._elements.wrapper.style.margin="0 0 0 0",!e._elements.wrapper.style.width){var i=e._elements.wrapper.getBoundingClientRect();e._elements.wrapper.style.width=i.width+"px",e._elements.wrapper.style.height=i.height+"px"}e._sized=!0}setTimeout(function(){if(e._elements.wrapper){var i;switch(!t&&e._sized||!e._bbox?(i=e._elements.wrapper.getBoundingClientRect(),e._elements.wrapper.style.opacity=""):i=e._bbox,e.align){case"left":e._elements.wrapper.style.left="0",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;case"center":e._elements.wrapper.style.left="50%",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(Math.round(-i.width/2)+(e._shift.x+e._tempShift.x));break;case"right":e._elements.wrapper.style.left="auto",e._elements.wrapper.style.right="0",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;default:e._elements.wrapper.style.left=e.toStyle(e.left)||"auto",e._elements.wrapper.style.right=e.toStyle(e.right)||"auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x)}switch(e.verticalAlign){case"top":e._elements.wrapper.style.top="0",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;case"middle":e._elements.wrapper.style.top="50%",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(Math.round(-i.height/2)+(e._shift.y+e._tempShift.y));break;case"bottom":e._elements.wrapper.style.top="auto",e._elements.wrapper.style.bottom="0",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;default:e._elements.wrapper.style.top=e.toStyle(e.top)||"auto",e._elements.wrapper.style.bottom=e.toStyle(e.bottom)||"auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y)}}},1)}},1)},e.prototype.setupDragging=function(){var t=this;this.draggable?(this._IOs.wrapper.events.has("drag")||this._IOs.wrapper.events.on("drag",function(e){t._tempShift.x=e.shift.x,t._tempShift.y=e.shift.y,t.positionElement(!1)}),this._IOs.wrapper.events.has("dragstop")||this._IOs.wrapper.events.on("dragstop",function(e){t._shift.x+=t._tempShift.x,t._shift.y+=t._tempShift.y,t._tempShift.x=0,t._tempShift.y=0,t.positionElement(!1)})):this._IOs.wrapper&&(this._IOs.wrapper.events.has("drag")&&this._IOs.wrapper.events.off("drag"),this._IOs.wrapper.events.has("dragstop")&&this._IOs.wrapper.events.off("dragstop"))},e.prototype.toStyle=function(t){return p.hasValue(t)?p.isNumber(t)?t+"px":t.toString():null},Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",this._classPrefix)},set:function(t){this._classPrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefixRaw",{get:function(){return this._classPrefix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this.adapter.apply("content",this._content)},set:function(t){this._content!=t&&(this._content=t,this._elements.content||this.createContentElement(),this._elements.content.innerHTML=t,this.positionElement())},enumerable:!0,configurable:!0}),e.prototype.getClassNames=function(){return this.adapter.apply("classNames",{wrapperClass:this.classPrefix+"",titleClass:this.classPrefix+"-title",contentClass:this.classPrefix+"-content",curtainClass:this.classPrefix+"-curtain",closeClass:this.classPrefix+"-close"})},e.prototype.createContentElement=function(){if(!this._elements.wrapper){var t=this.getClassNames(),e=document.createElement("div");e.className=t.contentClass,e.style.opacity="0.01";var i=document.createElement("a");i.className=t.closeClass;var n=document.createElement("div");n.innerHTML=this.title,n.className=t.titleClass,this.title||(n.style.display="none");var r=document.createElement("div");r.innerHTML=this.content,this._IOs.wrapper=Object(h.b)().getInteraction(e),this._disposers.push(this._IOs.wrapper),this._IOs.wrapper.events.on("over",this.disablePointers,this),this._IOs.wrapper.events.on("out",this.releasePointers,this),this._IOs.close=Object(h.b)().getInteraction(i),this._disposers.push(this._IOs.close),i.style.visibility="hidden",e.setAttribute("role","dialog"),e.appendChild(i),e.appendChild(n),e.appendChild(r),this.container.appendChild(e),this._elements.wrapper=e,this._elements.content=r,this._elements.title=n,this._elements.close=i,this.defaultStyles&&this.loadDefaultCSS(),this.createCurtainElement(),this.applyEvents(),this.applyReaderSettings(),this.setupDragging()}},Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",this._title)},set:function(t){this._title!=t&&(this._title=t,this._elements.content||this.createContentElement(),this._elements.title.innerHTML=t,this.positionElement(),this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerTitle",{get:function(){return this.adapter.apply("readerTitle",""!=this._readerTitle?this._readerTitle:this.title)},set:function(t){this._readerTitle!=t&&(this._readerTitle=t,this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this.adapter.apply("closable",this._closable)},set:function(t){t!==this._closable&&(this._closable=t,this.applyEvents())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitTo",{get:function(){return this.adapter.apply("fitTo",this._fitTo)},set:function(t){t!=this._fitTo&&(this._fitTo=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",this._defaultStyles)},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showCurtain",{get:function(){return this.adapter.apply("showCurtain",this._showCurtain)},set:function(t){this._showCurtain!=t&&(this._showCurtain=t,this._elements.curtain&&(this._elements.curtain.style.display=t?"block":"none"))},enumerable:!0,configurable:!0}),e.prototype.createCurtainElement=function(){var t=this.getClassNames(),e=document.createElement("div");e.className=t.curtainClass,this.container.appendChild(e),this._IOs.curtain=Object(h.b)().getInteraction(e),this._disposers.push(this._IOs.curtain),this._IOs.curtain.events.on("over",this.disablePointers,this),this._IOs.curtain.events.on("out",this.releasePointers,this),e.style.display=this.showCurtain?"block":"none",this._elements.curtain=e},Object.defineProperty(e.prototype,"draggable",{get:function(){return this.adapter.apply("draggable",this._draggable)},set:function(t){this._draggable!=t&&(this._draggable=t,this.setupDragging())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",this._align)},set:function(t){this._align!=t&&(this._align=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",this._verticalAlign)},set:function(t){this._verticalAlign!=t&&(this._verticalAlign=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.adapter.apply("left",this._left)},set:function(t){this.left!=t&&(this._left=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.adapter.apply("right",this._right)},set:function(t){this.right!=t&&(this._right=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.adapter.apply("top",this._top)},set:function(t){this.top!=t&&(this._top=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.adapter.apply("bottom",this._bottom)},set:function(t){this.bottom!=t&&(this._bottom=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){this._cssLoaded||(this._disposers.push(function(t){return t||(t="ampopup"),a.insertKeyIfEmpty(t,function(){var e=new s.c([new r.c("."+t,{overflow:"visible",position:"absolute",top:"0",left:"0","z-index":"2000"}),new r.c("."+t+"-curtain",{width:"100%",height:"100%",position:"absolute",top:"0",left:"0","z-index":"2001",background:"#fff",opacity:"0.5"}),new r.c("."+t+"-title",{"font-weight":"bold","font-size":"120%"}),new r.c("."+t+"-content",{padding:"1em 2em",background:"rgb(255, 255, 255);","background-color":"rgba(255, 255, 255, 0.8)",display:"inline-block",position:"absolute",top:"0",left:"0","max-width":"90%","max-height":"90%",overflow:"auto","z-index":"2002"}),new r.c("."+t+"-close",{display:"block",position:"absolute",top:"0.3em",right:"0.3em","background-color":"rgb(100, 100, 100)",background:"rgba(100, 100, 100, 0.1) url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmVyc2lvbj0iMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0NS4yIDEwOS4ybC00Mi40LTQyLjRMMjU2IDIxMy42IDEwOS4yIDY2LjhsLTQyLjQgNDIuNEwyMTMuNiAyNTYgNjYuOCA0MDIuOGw0Mi40IDQyLjRMMjU2IDI5OC40bDE0Ni44IDE0Ni44IDQyLjQtNDIuNEwyOTguNCAyNTYiLz48L3N2Zz4=) no-repeat center","background-size":"80%",width:"1.2em",height:"1.2em",cursor:"pointer"})]);return new s.a(function(){a.removeKey(t),e.dispose()})}).increment()}(this.classPrefix)),d.each(this._elements,function(t,e){e.style.display=""}),this._cssLoaded=!0)},e.prototype.applyEvents=function(){var t=this;if(this._IOs.close)if(this.closable){this._IOs.close.element.style.visibility="visible";var e=[Object(h.b)().body.events.on("keyup",function(e){c.b.isKey(e.event,"esc")&&t.closable&&t.close()}),this._IOs.close.events.on("hit",function(e){t.close()})];e.push(this._IOs.curtain.events.on("hit",function(e){t.showCurtain&&t.close()})),this._disposers.push(new s.c(e))}else this._IOs.close.element.style.visibility="hidden"},e.prototype.disablePointers=function(){this.sprite&&(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled,this.sprite.interactionsEnabled=!1)},e.prototype.releasePointers=function(){p.hasValue(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled,this._spriteInteractionsEnabled=void 0)},e.prototype.applyReaderSettings=function(){this.elements.wrapper.setAttribute("aria-label",this.readerTitle)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.container=e.container,this.sprite=e.sprite,this.classPrefix=e.classPrefixRaw,this.content=e.content,this.title=e.title,this.readerTitle=e.readerTitle,this.defaultStyles=e.defaultStyles,this.showCurtain=e.showCurtain,this.align=e.align,this.verticalAlign=e.verticalAlign,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.adapter.copyFrom(e.adapter)},e}(l.b)},Uslz:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("C6dT"),o=i("hD5A"),s=i("ND2/"),a=i("vMqJ"),u=i("aCit"),l=i("8ZqG"),h=i("MIZb"),c=function(t){function e(){var e=t.call(this)||this;e._axis=new o.d,e.dataItems=new a.b,e.className="AxisBreak",e.breakSize=.01,e.marginLeft=-5,e.marginRight=-5,e.marginTop=-5,e.marginBottom=-5;var i=new h.a,n=new s.a;n.fill=i.getFor("background"),n.stroke=Object(l.c)(),n.fillOpacity=.9,n.zIndex=0,e._fillShape=n;var r=new s.a;r.fill=Object(l.c)(),r.stroke=i.getFor("grid"),r.strokeOpacity=.3,r.zIndex=1,e._startLine=r;var u=new s.a;return u.fill=Object(l.c)(),u.stroke=Object(l.c)("#000000"),u.strokeOpacity=.3,u.zIndex=2,e._endLine=u,e._disposers.push(e._axis),e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._fillShape&&this._fillShape.dispose(),this._startLine&&this._startLine.dispose(),this._endLine&&this._endLine.dispose()},Object.defineProperty(e.prototype,"startLine",{get:function(){return this._startLine},set:function(t){this._startLine&&this._startLine.dispose(),this._startLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLine",{get:function(){return this._endLine},set:function(t){this._endLine&&this._endLine.dispose(),this._endLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillShape",{get:function(){return this._fillShape},set:function(t){this._fillShape&&this._fillShape.dispose(),this._fillShape=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),e.prototype.addBreakSprite=function(t){t.parent=this,t.isMeasured=!1,this._disposers.push(t)},Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this._axis.get()!==t){this._axis.set(t,t.renderer.gridContainer.events.on("transformed",this.invalidate,this,!1)),t.renderer.createBreakSprites(this);var e=t.axisBreaks.template;this.startLine.copyFrom(e.startLine),this.endLine.copyFrom(e.endLine),this.fillShape.copyFrom(e.fillShape)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"breakSize",{get:function(){return this.getPropertyValue("breakSize")},set:function(t){this.setPropertyValue("breakSize",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.startPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.endPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPosition",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.draw=function(){(t.prototype.draw.call(this),this.axis)&&this.axis.renderer.updateBreakElement(this)},Object.defineProperty(e.prototype,"startValue",{get:function(){return this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(r.a);u.b.registeredClasses.AxisBreak=c},UwWU:function(t,e,i){var n=i("4BRe"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):o(t,e)}},VAFc:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("ohjg"),o=i("8ZqG"),s=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=Object(o.c)("#000"),e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.feOffset=e.paper.add("feOffset"),e.feOffset.attr({result:"offsetBlur"}),e.filterPrimitives.push(e.feOffset),e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":e.color}),e.filterPrimitives.push(e.feFlood),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({in2:"offsetBlur",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feMerge=e.paper.addGroup("feMerge"),e.feMerge.add(e.paper.add("feMergeNode")),e.feMerge.add(e.paper.add("feMergeNode").attr({in:"SourceGraphic"})),e.filterPrimitives.push(e.feMerge),e.width=200,e.height=200,e.blur=1.5,e.dx=3,e.dy=3,e.opacity=.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.feFlood&&this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feFlood.attr({"flood-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.properties.dx},set:function(t){this.properties.dx=t,this.feOffset.attr({dx:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.properties.dy},set:function(t){this.properties.dy=t,this.feOffset.attr({dy:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},e}(r.a);s.b.registeredClasses.DropShadowFilter=a},VCCo:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FUSD"),o=i("vSjZ");n(n.P+n.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},VGgz:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"c",function(){return l}),i.d(e,"b",function(){return h}),i.d(e,"d",function(){return c});var n=i("m4/l"),r=i("o0Lc"),o=i("hJ5i"),s=i("Wglt"),a=i("Mtpk"),u=function(){function t(t){this._values=[],this.events=new r.a,null!=t&&this.setAll(t)}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype._insert=function(t){return this._values.push(t),this._values.length-1},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.indexOf=function(t){return o.indexOf(this._values,t)},t.prototype.contains=function(t){return-1!==this.indexOf(t)},t.prototype.getIndex=function(t){return this._values[t]},Object.defineProperty(t.prototype,"first",{get:function(){return this._values[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._values[this._values.length-1]},enumerable:!0,configurable:!0}),t.prototype.insert=function(t){var e=this._insert(t);this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,index:e,newValue:t})},t.prototype.remove=function(t){var e=this.indexOf(t);if(-1!==e){var i=this._values[e];o.removeIndex(this._values,e),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,index:e,oldValue:i})}},t.prototype.setAll=function(t){var e=this;o.eachReverse(this._values,function(t,i){e._values.pop(),e.events.isEnabled("removed")&&e.events.dispatchImmediately("removed",{type:"removed",target:e,index:i,oldValue:t})}),o.each(t,function(t){e.insert(t)})},t.prototype.clear=function(){this.setAll([])},t.prototype.slice=function(e,i){var n=new t;return n._values=this._values.slice(e,i),n},t.prototype.findClosestIndex=function(t,e,i){void 0===i&&(i="any");var n,r,o=-1,u=0;return s.eachContinue(this.iterator(),function(s){var l=e(s);if("any"===i){if(l===t)return o=u,!1;var h=Math.abs(t-l);(!a.hasValue(r)||r>h)&&(o=u,n=l,r=h)}else"left"===i&&l<t?(!a.hasValue(n)||n<l)&&(o=u,n=l):"right"===i&&l>=t&&(!a.hasValue(n)||n>=l)&&(o=u,n=l);return++u,!0}),-1===o&&("left"===i?o=0:"right"===i&&(o=this.length-1)),o},t.prototype.iterator=function(){return s.fromArray(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return n.d(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e<t?[4,this._values[e]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}})},t.prototype.each=function(t){o.each(this._values,t)},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i._ordering=e,i}return n.c(e,t),e.prototype._insert=function(t){var e=o.getSortedIndex(this._values,this._ordering,t).index;return o.insertIndex(this._values,e,t),e},e.prototype.indexOf=function(t){var e=o.getSortedIndex(this._values,this._ordering,t),i=e.found,n=e.index;return i?n:-1},e.prototype.update=function(t){var e=o.indexOf(this._values,t);if(-1!==e){var i=this._values.length-1;(0===e||this._ordering(this._values[e-1],t)<0)&&(e===i||this._ordering(t,this._values[e+1])<0)||(o.removeIndex(this._values,e),this._insert(t))}},e}(u),h=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;s.each(t.iterator(),function(t){e.insert(t.clone())})},e.prototype.slice=function(t,i){var n=new e(this.template);return n._values=this._values.slice(t,i),n},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(u),c=function(t){function e(e,i){var n=t.call(this,i)||this;return n.template=e,n}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;s.each(t.iterator(),function(t){e.insert(t.clone())})},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(l)},VIOb:function(t,e,i){"use strict";var n=i("m4/l"),r=i("aCit"),o=i("Y9w3"),s=i("hD5A"),a=i("vMqJ"),u=i("C6dT"),l=i("p9TX"),h=i("aGXA"),c=i("Vs7R"),p=i("MIZb"),d=i("tjMS"),f=i("hGwe"),g=function(t){function e(){var e=t.call(this)||this;e.className="Grip";var i=new p.a;e.layout="absolute",e.padding(10,10,10,10),e.margin(3,3,3,3),e.background.fillOpacity=.3,e.background.cornerRadius(10,10,10,10);var n=new c.a;n.element=e.paper.add("path");var r=f.moveTo({x:-6,y:0});return r+=f.lineTo({x:6,y:0}),r+=f.moveTo({x:-8,y:-6}),r+=f.lineTo({x:0,y:-12}),r+=f.lineTo({x:8,y:-6}),r+=f.moveTo({x:-8,y:6}),r+=f.lineTo({x:0,y:12}),r+=f.lineTo({x:8,y:6}),n.path=r,n.strokeWidth=2,n.fillOpacity=0,n.pixelPerfect=!0,n.padding(0,4,0,4),n.stroke=i.getFor("text"),n.strokeOpacity=.7,n.align="center",n.valign="middle",e.icon=n,e.label.dispose(),e.label=void 0,e.position="right",e.autoHideDelay=3e3,e.events.on("shown",function(t){e._autoHideTimeout&&e._autoHideTimeout.dispose(),e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.events.on("down",function(t){e._autoHideTimeout&&e._autoHideTimeout.dispose()}),e.events.on("out",function(t){e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout(function(){e.hide()},e.autoHideDelay))}),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){if(this.setPropertyValue("position",t))switch(t){case"left":this.align="left",this.valign="middle",this.horizontalCenter="left",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=Object(d.c)(30);break;case"right":this.align="right",this.valign="middle",this.horizontalCenter="right",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=Object(d.c)(30);break;case"top":this.align="center",this.valign="top",this.horizontalCenter="middle",this.verticalCenter="top",this.icon.rotation=90,this.width=Object(d.c)(30),this.height=void 0;break;case"bottom":this.align="center",this.valign="bottom",this.horizontalCenter="middle",this.verticalCenter="bottom",this.icon.rotation=90,this.width=Object(d.c)(30),this.height=void 0;break;default:this.align="center",this.valign="middle",this.horizontalCenter="middle",this.verticalCenter="middle",this.icon.rotation=90,this.width=Object(d.c)(30),this.height=void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoHideDelay",{get:function(){return this.getPropertyValue("autoHideDelay")},set:function(t){this.setPropertyValue("autoHideDelay",t)},enumerable:!0,configurable:!0}),e}(h.a);r.b.registeredClasses.Grip=g;var y=i("A6AV"),m=i("Wglt"),b=i("Mtpk"),v=i("TGuK");i.d(e,"b",function(){return _}),i.d(e,"a",function(){return x});var _=function(t){function e(){var e=t.call(this)||this;return e.className="ChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(y.a),x=function(t){function e(){var e=t.call(this)||this;e._legend=new s.d,e.className="Chart";var i=new l.a;e.titles=new a.e(i),e._disposers.push(new a.c(e.titles)),e._disposers.push(i),e.width=Object(d.c)(100),e.height=Object(d.c)(100),e.layout="vertical";var n=e.createChild(u.a);n.shouldClone=!1,n.layout="vertical",n.width=Object(d.c)(100),n.height=Object(d.c)(100),e.chartAndLegendContainer=n;var r=n.createChild(u.a);return r.shouldClone=!1,r.width=Object(d.c)(100),r.height=Object(d.c)(100),e.chartContainer=r,e.showOnInit=!0,e._disposers.push(e._legend),e.titles.events.on("inserted",function(t){e.processTitle(t),e.updateReaderTitleReferences()},e,!1),e.titles.events.on("removed",function(t){e.updateReaderTitleReferences()},e,!1),e.role="region",e.defaultState.transitionDuration=1,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),b.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Chart"))},e.prototype.draw=function(){this.fixLayout(),t.prototype.draw.call(this)},e.prototype.fixLayout=function(){var t=this.legend;if(t){var e=this.chartAndLegendContainer,i=this.chartContainer;switch(i.x=void 0,i.y=void 0,t.x=void 0,t.y=void 0,t.position){case"left":e.layout="horizontal",b.isNumber(t.width)||(t.width=200),t.toBack();break;case"right":e.layout="horizontal",b.isNumber(t.width)||(t.width=200),t.toFront();break;case"top":e.layout="vertical",t.maxWidth=void 0,t.width=Object(d.c)(100),t.toBack();break;case"bottom":e.layout="vertical",t.maxWidth=void 0,t.width=Object(d.c)(100),t.toFront()}}},e.prototype.feedLegend=function(){},e.prototype.processTitle=function(t){var e=t.newValue;return e.parent=this,e.toBack(),e.shouldClone=!1,e.align="center",e.uidAttr(),e},e.prototype.updateReaderTitleReferences=function(){if(this.titles.length){var t=[];m.each(this.titles.iterator(),function(e){t.push(e.uid)}),this.setSVGAttribute({"aria-labelledby":t.join(" ")})}else this.removeSVGAttribute("aria-labelledby")},Object.defineProperty(e.prototype,"legend",{get:function(){return this._legend.get()},set:function(t){this.setLegend(t)},enumerable:!0,configurable:!0}),e.prototype.setLegend=function(t){var e=this;this._legend.get()!==t&&(t?(t.parent=this.chartAndLegendContainer,this._legend.set(t,t.events.on("propertychanged",function(t){"position"!=t.property&&"width"!=t.property||e.fixLayout()},void 0,!1))):this._legend.reset(),this.feedLegend())},e.prototype.processConfig=function(e){e&&b.hasValue(e.legend)&&!b.hasValue(e.legend.type)&&(e.legend.type="Legend"),t.prototype.processConfig.call(this,e)},e.prototype.copyFrom=function(e){this.titles.copyFrom(e.titles),e.legend&&(this.legend=e.legend.clone(),this.legend.removeChildren()),t.prototype.copyFrom.call(this,e)},Object.defineProperty(e.prototype,"dragGrip",{get:function(){var t=this;if(!this._dragGrip){var e=this.tooltipContainer.createChild(g);e.align="right",e.valign="middle",e.hide(0),e.events.on("down",function(e){e.touch&&(t.interactionsEnabled=!1)}),e.events.on("up",function(e){t.interactionsEnabled=!0}),this.events.on("down",function(t){t.touch&&e.show()}),this._dragGrip=e}return this._dragGrip},set:function(t){this._dragGrip=t},enumerable:!0,configurable:!0}),e}(o.a);r.b.registeredClasses.Chart=x,v.c.push({relevant:v.b.widthXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return t.pixelPaddingLeft>10&&(i.properties.paddingLeft=10),t.pixelPaddingRight>10&&(i.properties.paddingRight=10),i}return null}}),v.c.push({relevant:v.b.heightXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return t.pixelPaddingTop>10&&(i.properties.paddingTop=10),t.pixelPaddingBottom>10&&(i.properties.paddingBottom=10),i}return null}}),v.c.push({relevant:v.b.widthXXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return i.properties.paddingLeft=0,i.properties.paddingRight=0,i}return null}}),v.c.push({relevant:v.b.heightXXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return i.properties.paddingTop=0,i.properties.paddingBottom=0,i}return null}})},VYrJ:function(t,e,i){var n=i("OB1/")("keys"),r=i("7bL/");t.exports=function(t){return n[t]||(n[t]=r(t))}},Vk33:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("FzPm"),o=i("aCit"),s=i("hGwe"),a=i("Gg2j"),u=i("v9UT"),l=i("aFzC"),h=function(t){function e(){var e=t.call(this)||this;return e.className="WavedCircle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.fill=void 0,e.fillOpacity=0,e.tension=.8,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t="",e=this.pixelRadius;if(e>0){var i=this.getPoints(e);t=s.moveTo(i[0])+new l.b(this.tension,this.tension).smooth(i)}var n=this.pixelInnerRadius;n>0&&((i=this.getPoints(n)).reverse(),t+=s.moveTo(i[0])+new l.b(this.tension,this.tension).smooth(i));this.path=t},e.prototype.getPoints=function(t){for(var e=t*Math.PI*2,i=this.waveHeight/2,n=e/Math.round(e/this.waveLength),r=n/2,o=[],s=e/n,u=0;u<=s;u++){var l=u*n/e*360,h=(u*n+r)/e*360;o.push({x:(t-i)*a.cos(l),y:(t-i)*a.sin(l)}),o.push({x:(t+i)*a.cos(h),y:(t+i)*a.sin(h)})}return o.pop(),o},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return u.relativeToValue(this.innerRadius,a.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.WavedCircle=h},Vng0:function(t,e,i){var n=i("hjwn"),r=i("Wbjh");t.exports=i("gD3S")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},Vs7R:function(t,e,i){"use strict";i.d(e,"b",function(){return A}),i.d(e,"a",function(){return L});var n=i("m4/l"),r=i("ux7t"),o=i("kQxV"),s=i("Tjl+"),a=i("x79X"),u=i("+qIf"),l=i("vMqJ"),h=i("hD5A"),c=i("1yyj"),p=i("P7v+"),d=i("C6dT"),f=i("ZLF9"),g=i("sxA1"),y=i("CuFa"),m=i("8ZqG"),b=i("zhwk"),v=i("qCRI"),_=i("Q4nc"),x=i("aCit"),P=i("CTEm"),w=i("7XB+"),O=i("akNo"),S=i("MipW"),T=i("P/bD"),C=i("GAaQ"),k=i("v9UT"),M=i("Gg2j"),j=i("ScGY"),I=i("hJ5i"),V=i("Qkdp"),D=i("Mtpk"),E=i("Wglt"),F=i("Rpw0"),R=i("tjMS"),A=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset"],L=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.events=new o.a(e),e.adapter=new a.a(e),e._bindings={},e._isTemplate=!1,e._inited=!1,e._ready=!1,e.isHiding=!1,e._isHidden=!1,e.isShowing=!1,e.isStandaloneInstance=!1,e._isActive=!1,e._mask=new h.d,e._positionPrecision=3,e._language=new h.d,e._exporting=new h.d,e._exportable=!0,e._bbox={x:0,y:0,width:0,height:0},e.invalid=!1,e.positionInvalid=!1,e.propertyFields={},e.applyOnClones=!1,e.maxLeft=0,e.maxRight=0,e.maxTop=0,e.maxBottom=0,e._isDragged=!1,e._isResized=!1,e._disabled=!1,e._internalDisabled=!1,e._updateDisabled=!1,e._internalDefaultsApplied=!1,e.rollOutDelay=0,e.isBaseSprite=!1,e.shouldClone=!0,e.appeared=!1,e.ex=0,e.ey=0,e.dragWhileResize=!1,e.className="Sprite",k.used(e.uid),e.group=e.paper.addGroup("g"),e.setPropertyValue("scale",1),e.setPropertyValue("rotation",0),e.setPropertyValue("align","none"),e.setPropertyValue("valign","none"),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("visible",!0),e.setPropertyValue("tooltipPosition","fixed"),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e.setPropertyValue("marginTop",0),e.setPropertyValue("marginBottom",0),e.setPropertyValue("marginLeft",0),e.setPropertyValue("marginRight",0),e.setPropertyValue("dx",0),e.setPropertyValue("dy",0),e.setPropertyValue("paddingTop",0),e.setPropertyValue("paddingBottom",0),e.setPropertyValue("paddingRight",0),e.setPropertyValue("paddingLeft",0),e.setPropertyValue("togglable",!1),e.setPropertyValue("hidden",!1),e.setPropertyValue("urlTarget","_self"),e._prevMeasuredWidth=0,e._prevMeasuredHeight=0,e._measuredWidth=0,e._measuredHeight=0,e._isMeasured=!0,e.invalidate(),e.applyTheme(),e._disposers.push(e.events),e._disposers.push(e.group),e._disposers.push(e._mask),e._disposers.push(e._language),e._disposers.push(e._exporting),e._disposers.push(new h.b(function(){V.each(e._bindings,function(t,e){e.dispose()})})),e.setPropertyValue("interactionsEnabled",!0),e}return n.c(e,t),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),_.a.autoSetClassName&&this.setClassName()},e.prototype.getCurrentThemes=function(){var t=this._themes;if(t)return t;var e=this.parent;return e?e.getCurrentThemes():x.b.themes},e.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},e.prototype.invalidate=function(){this.disabled||this._isTemplate||this.invalid||(this.invalid=!0,x.b.addToInvalidSprites(this),F.b.requestFrame())},e.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,x.b.removeFromInvalidSprites(this),this.afterDraw()},e.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,x.b.addToInvalidPositions(this),F.b.requestFrame())},e.prototype.validatePosition=function(){var t=this.pixelX,e=this.pixelY,i=this.dx,n=this.dy,r=t+i,o=e+n;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var s=this.measure(),a=this.group.transformString;this.group.moveTo({x:r,y:o}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(a!=this.group.transformString||s)&&(null==a?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged")),t+i==r&&e+n==o&&(x.b.removeFromInvalidPositions(this),this.positionInvalid=!1);var u=this._maskRectangle;u&&this._clipElement.moveTo({x:u.x-t,y:u.y-e})},e.prototype.beforeDraw=function(){},e.prototype.draw=function(){},e.prototype.afterDraw=function(){if((this.isMeasured||"none"!==this.horizontalCenter||"none"!==this.verticalCenter)&&this.measureElement(),this._inited)this.dispatch("validated");else{try{for(var t=n.g(this.adapter.keys()),e=t.next();!e.done;e=t.next()){var i=e.value;switch(i){case"mask":case"fill":case"opacity":case"fillOpacity":case"stroke":case"strokeOpacity":case"strokeWidth":case"shapeRendering":case"strokeDasharray":case"strokeDashoffset":case"strokeLinecap":case"strokeLinejoin":case"textDecoration":case"fontSize":case"fontFamily":case"fontWeight":this[i]=this[i]}}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(r)throw r.error}}this.applyFilters(),this.visible=this.visible,this.interactionsEnabled=this.getPropertyValue("interactionsEnabled"),this._inited=!0,this.showOnInit||(this.appeared=!0),this.hidden&&this.hide(0),this.applyMask(),this.dispatch("validated"),this.dispatch("inited"),this.dispatchReady()}var r,o},e.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},e.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},e.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.validatePosition(),this.updateFilterScale()},e.prototype.updateFilterScale=function(){var t=this;E.each(this.filters.iterator(),function(e){e.scale=t.globalScale})},e.prototype.removeFromInvalids=function(){x.b.removeFromInvalidSprites(this),x.b.removeFromInvalidPositions(this)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.events.copyFrom(e.events),this.isMeasured=e.isMeasured,this.states.copyFrom(e.states),e.filters.length>0&&e.filters.each(function(t){i.filters.push(t.clone())}),this.adapter.copyFrom(e.adapter),e._interaction&&this.interactions.copyFrom(e.interactions),e._plugins&&this.plugins.copyFrom(e.plugins),this.configField=e.configField,this.applyOnClones=e.applyOnClones,this.disabled=e.disabled,this.virtualParent=e.virtualParent,this.exportable=e.exportable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):this.tooltip=e.tooltip.clone()),this._showSystemTooltip=e.showSystemTooltip,k.copyProperties(e.propertyFields,this.propertyFields),k.copyProperties(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone())},e.prototype.dispose=function(){if(!this.isDisposed()){if(this.dispatchImmediately("beforedisposed"),this.isBaseSprite){if(this.htmlContainer)for(;this.htmlContainer.childNodes.length>0;)this.htmlContainer.removeChild(this.htmlContainer.firstChild);this.isBaseSprite=!1}if(t.prototype.dispose.call(this),this.adapter.clear(),this.applyOnClones&&this._clones)for(var e=this._clones.length-1;e>=0;e--){this._clones.getIndex(e).dispose()}this._svgContainer&&this._svgContainer.dispose(),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0),this._urlDisposer&&this._urlDisposer.dispose(),this.removeFromInvalids(),this.element&&this.element.dispose(),this.group&&this.group.dispose(),this._numberFormatter&&this._numberFormatter.dispose(),this._focusFilter&&this._focusFilter.dispose();var i=this.stroke;!i||i instanceof m.a||!i.dispose||i.dispose();var n=this.fill;if(!n||n instanceof m.a||!n.dispose||n.dispose(),D.hasValue(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var r=this._filters.getIndex(0);r.dispose(),this._filters.removeValue(r)}}},Object.defineProperty(e.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(t){t=D.toBoolean(t),this._isTemplate!=t&&(this._isTemplate=t,this instanceof d.a&&E.each(this.children.iterator(),function(e){e.isTemplate=t}),t?(this.parent=this.parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showSystemTooltip",{get:function(){return D.hasValue(this._showSystemTooltip)?this._showSystemTooltip:!!this.parent&&this.parent.showSystemTooltip},set:function(t){t=D.toBoolean(t),this._showSystemTooltip=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topParent",{get:function(){return this._topParent?this._topParent:this.parent?this.parent.topParent:void 0},set:function(t){this._topParent=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(!this._isTemplate){k.used(this.paper);var e=this._parent;e!=t&&(e&&e.children.removeValue(this),this._parent=t,t?(this.topParent=t.topParent,t.isTemplate&&(this.isTemplate=!0),this.baseId=t.baseId,t.children.push(this),this._tooltip&&!this._tooltipContainer&&(this._tooltip.parent=t.tooltipContainer),this._dataItem||(this.dataItem=t.dataItem)):this.topParent=void 0)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(t){this._virtualParent=t},enumerable:!0,configurable:!0}),e.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var t=this.fill;t&&t.element&&this.paper.appendDef(t.element);var e=this.stroke;if(e&&e.element&&this.paper.appendDef(e.element),this.fillModifier&&this.fill instanceof m.a){var i=this.fillModifier.modify(this.fill);i&&i.element&&this.paper.appendDef(i.element)}if(this.strokeModifier&&this.stroke instanceof m.a){var n=this.strokeModifier.modify(this.stroke);n&&n.element&&this.paper.appendDef(n.element)}this._clipPath&&this.paper.appendDef(this._clipPath),!1===this._exportable&&(this.exportable=!1)},Object.defineProperty(e.prototype,"map",{get:function(){var t=this.topParent;return t?t.map:(this._map||(this._map=new u.a),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){if(this._id!=t){if(this._id=t,this.map.hasKey(t))throw Error("Duplicate id ("+t+") used on multiple objects.");this.map.setKey(t,this),_.a.autoSetClassName&&this.setClassName()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:this.parent?this.parent.paper:Object(p.b)()},set:function(t){this.setPaper(t)},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(t){return this._paper!=t&&(this._paper=t,this.appendDefs(),!0)},Object.defineProperty(e.prototype,"htmlContainer",{get:function(){return this._htmlContainer?this._htmlContainer:this.parent?this.parent.htmlContainer:void 0},set:function(t){this._htmlContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleElement",{get:function(){return this._titleElement||(this._titleElement=this.paper.add("title"),this.group.add(this._titleElement)),this._titleElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"descriptionElement",{get:function(){return this._descriptionElement||(this._descriptionElement=this.paper.add("desc"),this.group.add(this._descriptionElement)),this._descriptionElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filters",{get:function(){return this._filters||(this._filters=new l.b,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new l.c(this._filters))),this._filters},enumerable:!0,configurable:!0}),e.prototype.setSVGAttributes=function(){this.fill=this.fill,this.opacity=this.opacity,this.fillOpacity=this.fillOpacity,this.stroke=this.stroke,this.strokeOpacity=this.strokeOpacity,this.shapeRendering=this.shapeRendering,this.strokeDasharray=this.strokeDasharray,this.strokeDashoffset=this.strokeDashoffset,this.strokeLinecap=this.strokeLinecap,this.strokeLinejoin=this.strokeLinejoin,this.focusable=this.focusable,this.tabindex=this.tabindex,this.role=this.role},e.prototype.setSVGAttribute=function(t){this.group.attr(t)},e.prototype.removeSVGAttribute=function(t){this.group.removeAttr(t)},e.prototype.setClassName=function(){var t=this.className,e=_.a.classNamePrefix;this.element&&this.element.addClass(e+t),this.group.addClass(e+t+"-group"),D.hasValue(this.id)&&this.group.addClass(e+this.id)},e.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},e.prototype.updateClipPath=function(){var t=this._clipElement;t&&t.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},e.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var t=x.b.getUniqueId();this._clipPath.attr({id:t}),this.group.attr({"clip-path":'url("'+k.getBaseURI()+t+'")'})}},e.prototype.applyMask=function(){var t=this.mask;if(this._clipPath&&t)if(t instanceof d.a){this._clipElement.attr({width:M.max(0,t.pixelWidth),height:M.max(0,t.pixelHeight)});var e=k.spritePointToSprite({x:t.pixelX,y:t.pixelY},t.parent,this);this._clipPath.x=e.x,this._clipPath.y=e.y}else t.element&&t.element!=this._clipElement&&(this._clipElement=t.element,this._clipPath.add(this._clipElement)),this._clipPath.scale=t.scale,this._clipPath.x=t.pixelX,this._clipPath.y=t.pixelY,this._clipPath.rotation=t.rotation},e.prototype.applyFilters=function(){var t=this;if(this._filters&&this._filters.length>0){var e=100,i=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var n="filter-"+this.uid;this.filterElement.attr({id:n}),E.each(this.filters.iterator(),function(n){n.sprite=t,n.paper=t.paper,n.appendPrimitives(t.filterElement),n.width>e&&(e=n.width),n.height>i&&(i=n.height),n.scale=t.globalScale});var r=e+"%",o=i+"%";this.filterElement.attr({width:r,height:o,x:-(e-100)/2+"%",y:-(i-100)/2+"%"}),this.group.attr({filter:'url("'+k.getBaseURI()+n+'")'})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},e.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},e.prototype.setElement=function(t){this.element=t,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this.removeElement(),this._element=t,this.group.add(t),this.invalid||this.validate(),_.a.autoSetClassName&&this.setClassName()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"svgContainer",{get:function(){return this._svgContainer?this._svgContainer:this.parent?this.parent.svgContainer:void 0},set:function(t){this._svgContainer=t},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){if(this.element)if(this.definedBBox)this._bbox=this.definedBBox;else{var t=this.element.getBBox();this._bbox={x:t.x,y:t.y,width:t.width,height:t.height}}},e.prototype.updateCenter=function(){if(this.element){var t=this.element.transformString,e=this.bbox,i=0,n=0,r=e.x,o=e.y,s=e.width,a=e.height,u=this.pixelPaddingLeft,l=this.pixelPaddingRight,h=this.pixelPaddingTop,c=this.pixelPaddingBottom,p=M.max(s+u+l,this.pixelWidth),d=M.max(a+h+c,this.pixelHeight),f=e.x,g=e.x+p,y=e.y,m=e.y+d,b=this.horizontalCenter,v=this.verticalCenter;switch(b){case"none":i=r+u;break;case"left":i=u;break;case"middle":i=u-(s+l+u)/2;break;case"right":i=-l-s}switch(v){case"none":n=o+h;break;case"top":n=h;break;case"middle":n=h-(a+c+h)/2;break;case"bottom":n=-c-a}this._measuredHeight=d,this._measuredWidth=p;var _=M.round(i-r,this._positionPrecision,!0),x=M.round(n-o,this._positionPrecision,!0);this.ex=_-u,this.ey=x-h,this.maxLeft=f+_-u,this.maxRight=g+_-u,this.maxTop=y+x-h,this.maxBottom=m+x-h,this.pixelPerfect&&(_-=.5,x-=.5),this.element.moveTo({x:_,y:x}),t!=this.element.transformString&&this.dispatchImmediately("transformed")}},e.prototype.measure=function(){this.updateCenter();var t=this._measuredWidth,e=this._measuredHeight,i=this.maxLeft,n=this.maxRight,r=this.maxTop,o=this.maxBottom;this._measuredWidthSelf=t,this._measuredHeightSelf=e;var s=this._positionPrecision;if(0!==this.rotation||1!==this.scale){this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth);var a=this.paper.svg,u=a.createSVGMatrix(),l=this.rotation;u.a=M.cos(l)*this.scale,u.c=-M.sin(l)*this.scale,u.e=0,u.b=M.sin(l)*this.scale,u.d=M.cos(l)*this.scale,u.f=0;var h=a.createSVGPoint();h.x=i,h.y=r;var c=a.createSVGPoint();c.x=n,c.y=r;var p=a.createSVGPoint();p.x=n,p.y=o;var d=a.createSVGPoint();d.x=i,d.y=o;var f=h.matrixTransform(u),g=c.matrixTransform(u),y=p.matrixTransform(u),m=d.matrixTransform(u);i=Math.min(f.x,g.x,y.x,m.x),n=Math.max(f.x,g.x,y.x,m.x),r=Math.min(f.y,g.y,y.y,m.y),t=n-i,e=(o=Math.max(f.y,g.y,y.y,m.y))-r,this.maxLeft=M.round(i,s,!0),this.maxRight=M.round(n,s,!0),this.maxTop=M.round(r,s,!0),this.maxBottom=M.round(o,s,!0)}return this._measuredWidth=M.round(t,s,!0),this._measuredHeight=M.round(e,s,!0),(this._measuredWidth!=this._prevMeasuredWidth||this._measuredHeight!=this._prevMeasuredHeight)&&(this._prevMeasuredHeight=this._measuredHeight,this._prevMeasuredWidth=this._measuredWidth,this.dispatch("sizechanged"),this.isHover&&this.tooltip&&this.tooltip.visible&&(D.hasValue(this.tooltipText)||D.hasValue(this.tooltipHTML))&&this.updateTooltipPosition(),!0)},e.prototype.insertBefore=function(t){var e=this.parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i),e.sortChildren())}return this},e.prototype.insertAfter=function(t){var e=this.parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i+1),e.sortChildren())}return this},e.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},e.prototype.getRelativeX=function(t){return t instanceof R.a?t.value:this.parent?t/this.parent.innerWidth:0},e.prototype.getRelativeY=function(t){return t instanceof R.a?t.value:this.parent?t/this.parent.innerHeight:0},e.prototype.getPixelX=function(t){var e=0;if(D.isNumber(t))e=t;else if(t instanceof R.a){var i=t.value;this.parent&&(e=M.round(this.parent.innerWidth*i,this._positionPrecision,!0))}return e},e.prototype.getPixelY=function(t){var e=0;if(D.isNumber(t))e=t;else if(t instanceof R.a){var i=t.value;this.parent&&(e=M.round(this.parent.innerHeight*i,this._positionPrecision,!0))}return e},e.prototype.moveTo=function(t,e,i,n){this.isDragged&&!n||(t&&(D.isNumber(t.x)&&this.setPropertyValue("x",t.x),D.isNumber(t.y)&&this.setPropertyValue("y",t.y)),D.isNumber(e)&&(this.rotation=e),D.isNumber(i)&&(this.scale=i),this.invalidatePosition())},Object.defineProperty(e.prototype,"mask",{get:function(){return this.adapter.apply("mask",this._mask.get())},set:function(t){var e=this;this._mask.get()!==t&&(t?(this.createClipPath(),t instanceof d.a?this._clipElement=this.paper.add("rect"):(t.isMeasured=!1,t.element&&(this._clipElement=t.element)),this._clipElement&&this._clipPath.add(this._clipElement),this._mask.set(t,new h.c([t.events.on("maxsizechanged",function(){e.inited&&e.applyMask()},void 0,!1),t.events.on("validated",this.applyMask,this,!1),t.events.on("positionchanged",this.applyMask,this,!1)])),this.applyMask()):(this._mask.reset(),this.group.removeAttr("clip-path"),this.removeClipPath()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskRectangle",{get:function(){return this._maskRectangle},set:function(t){t?(this.createClipPath(),this._clipElement||(this._clipElement=this.paper.add("rect"),this._clipPath.add(this._clipElement)),this._clipElement.attr({width:t.width,height:t.height})):(this.removeClipPath(),this._clipElement=void 0),this._maskRectangle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(t){(t=D.toBoolean(t))||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=t&&(this._isMeasured=t,this.invalidatePosition())},enumerable:!0,configurable:!0}),e.prototype.hitTest=function(t){this.invalid&&this.validate(),t.invalid&&t.validate();var e=this.pixelX,i=this.pixelY,n=e+this.measuredWidth,r=i+this.measuredHeight,o=t.pixelX,s=t.pixelY,a=o+t.measuredWidth,u=s+t.measuredHeight;return!(o>n||a<e||s>r||u<i)},Object.defineProperty(e.prototype,"inited",{get:function(){return this._inited},enumerable:!0,configurable:!0}),e.prototype.isReady=function(){return this._ready},Object.defineProperty(e.prototype,"states",{get:function(){if(!this._states){var t=new r.a;this._states=new u.c(t),this._disposers.push(this._states.events.on("insertKey",this.processState,this,!1)),this._disposers.push(this._states.events.on("setKey",this.processState,this,!1)),this._disposers.push(new u.b(this._states)),this._disposers.push(t)}return this._states},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenState",{get:function(){if(!this.states.getKey("hidden")){var t=this.states.create("hidden");t.properties.opacity=0,t.properties.visible=!1}return this.states.getKey("hidden")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultState",{get:function(){this.states.getKey("default")||(this.states.create("default").properties.opacity=1);return this.states.getKey("default")},enumerable:!0,configurable:!0}),e.prototype.processState=function(t){var e=t.newValue;if(e.sprite=this,e.name=t.key,(this.states.hasKey("hover")||D.hasValue(this.tooltipHTML)||D.hasValue(this.tooltipText))&&(this.hoverable=!0),this.states.hasKey("down")&&(this.clickable=!0),this.states.hasKey("focus")&&(this.focusable=!0),this.applyOnClones)for(var i=this.clones.values,n=i.length,r=0;r<n;++r){var o=i[r];o.isDisposed()||o.states.setKey(e.name,e)}},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new c.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),e.prototype.getSvgPoint=function(t){try{var e=this.htmlContainer.getBoundingClientRect();return{x:t.x-e.left,y:t.y-e.top}}catch(e){return t}},e.prototype.animate=function(t,e,i){return new c.a(this,t,e,i).start()},e.prototype.setState=function(t,e,i){var n;if(t instanceof r.a)this.states.setKey(t.name,t),n=t;else if(!(n=this.states.getKey(t)))return;if("hover"==n.name){if(this.isHidden)return;this.isHover=!0}return"hidden"==n.name?this.isHiding=!0:this.visible||this.setVisibility(n.properties.visible||this.defaultState.properties.visible),"active"==n.name&&(this.isActive=!0),D.isNumber(e)||(e=n.transitionDuration),D.hasValue(i)||(i=n.transitionEasing),this.transitTo(n,e,i)},e.prototype.applyCurrentState=function(t){var e=this.setState(this.defaultState,t);return this.isHover&&(e=this.setState("hover",t)),this.isDown&&this.interactions.downPointers.length&&(e=this.setState("down",t)),this.isFocused=this.isFocused,this.isActive&&(e=this.setState("active",t),this.isHover&&this.states.hasKey("hoverActive")&&(e=this.setState("hoverActive",t))),e},e.prototype.transitTo=function(t,e,i){var n,r=this,o=[],s=t.allValues;if(V.each(s,function(t,e){var i=r[t];if(e!=i&&void 0==r.defaultState.properties[t]&&(r.defaultState.properties[t]=i),D.hasValue(e)){var n={from:i,to:e,property:t};o.push(n)}}),o.length>0&&((n=this.animate(o,e,i))&&!n.isFinished()?this._disposers.push(n.events.on("animationended",function(){r.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),t.filters.length>0){var a=[];E.each(t.filters.iterator(),function(t){var n=t.clone();a.push(n);var o=[];E.each(r.filters.iterator(),function(t){t.className==n.className&&(E.contains(r.defaultState.filters.iterator(),function(t){return t.className===n.className})||r.defaultState.filters.push(t),V.each(n.properties,function(e,i){var n=t.properties[e];n!=i&&o.push({property:e,from:n,to:i})}))}),n.animate(o,e,i)}),this.filters.clear(),this.filters.pushAll(a)}return n},e.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(e.prototype,"isHover",{get:function(){return!!this.isInteractive()&&this.interactions.isHover},set:function(t){(t=D.toBoolean(t))!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=t,t?this.handleOver():this.handleOut())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isResized",{get:function(){return this._isResized},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return!!this.isInteractive()&&this.interactions.isDown},set:function(t){t=D.toBoolean(t),this.isInteractive()&&this.isDown!=t&&(this.interactions.isDown=t,t?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return!!this.isInteractive()&&this.interactions.isFocused},set:function(t){t=D.toBoolean(t),this.focusable&&this.isFocused!=t&&this.isInteractive()&&(this.interactions.isFocused=t,!0===t?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this.setActive(t)},enumerable:!0,configurable:!0}),e.prototype.setActive=function(t){t=D.toBoolean(t),this._isActive!==t&&(this._isActive=t,t&&this.states.hasKey("active")?(this.setState("active"),this.isHover&&this.states.hasKey("hoverActive")&&this.setState("hoverActive")):this.applyCurrentState(),this.dispatchImmediately("toggled"))},Object.defineProperty(e.prototype,"disabled",{get:function(){var t=this.getPropertyValue("disabled");return D.hasValue(t)?t:this.virtualParent?this.virtualParent.disabled:!!this.parent&&this.parent.disabled},set:function(t){this.setDisabled(t)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(t){if(t=D.toBoolean(t),this.getPropertyValue("disabled")!=t){if(this.setPropertyValue("disabled",t,!0),t)this.parent=this.parent,this.removeFromInvalids(),this.group.attr({display:"none"}),this.dispatch("disabled");else{if(this.parent){var e=this.parent.element;e.hasChild(this.group)||e.add(this.group)}this instanceof d.a?this.deepInvalidate():this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),F.b.requestFrame(),!0}return!1},Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._internalDisabled},set:function(t){this._internalDisabled!=t&&(this._internalDisabled=t,this._updateDisabled=!0,this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this.parent?this.parent.numberFormatter:(this._numberFormatter=new P.a,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(t){this._numberFormatter=t,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this.parent?this.parent.dateFormatter:(this._dateFormatter=new w.a,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(t){this._dateFormatter=t,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this.parent?this.parent.durationFormatter:(this._durationFormatter=new O.a,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(t){this._durationFormatter=t,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this._language.get();return t||(this.virtualParent?this.virtualParent.language:this.parent?this.parent.language:(t=new T.a,this.language=t,t))},set:function(t){var e=this;this._language.get()!==t&&this._language.set(t,t.events.on("localechanged",function(t){e.numberFormatter&&(e.numberFormatter.language=e.language),e.dateFormatter&&(e.dateFormatter.language=e.language),e.durationFormatter&&(e.durationFormatter.language=e.language),e instanceof d.a&&e.deepInvalidate()}))},enumerable:!0,configurable:!0}),e.prototype.populateString=function(t,e){if(D.hasValue(t)){t=D.castString(t);var i=(t=Object(S.b)().escape(t)).match(/\{([^}]+)\}/g),n=void 0;if(i)for(n=0;n<i.length;n++){var r=i[n].replace(/\{([^}]+)\}/,"$1"),o=this.getTagValue(r,"",e);D.hasValue(o)||(o=""),t=t.split(i[n]).join(o)}t=Object(S.b)().unescape(t)}else t="";return this.adapter.apply("populateString",t)},e.prototype.getTagValue=function(t,e,i){var n;D.hasValue(i)||(i=this.dataItem);for(var r,o=[],s=/([^.]+)\(([^)]*)\)|([^.]+)/g;null!==(r=s.exec(t));)if(r[3])o.push({prop:r[3]});else{var a=[];if(""!=k.trim(r[2]))for(var u=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,l=void 0;null!==(l=u.exec(r[2]));)a.push(l[1]||l[2]||l[3]);o.push({method:r[1],params:a})}if(i){n=this.getTagValueFromObject(o,i.values),D.hasValue(n)&&!D.isObject(n)||(n=this.getTagValueFromObject(o,i));var h=i.dataContext;!D.hasValue(n)&&h&&(n=this.getTagValueFromObject(o,i.dataContext),!D.hasValue(n)&&h.dataContext&&(n=this.getTagValueFromObject(o,h.dataContext))),!D.hasValue(n)&&i.component&&i.component.dataItem!==i&&(n=i.component.getTagValue(t,e))}return D.hasValue(n)||(n=this.getTagValueFromObject(o,this.populateStringFrom||this)),!D.hasValue(n)&&this.parent&&(n=this.parent.getTagValue(t,e)),n},e.prototype.getTagValueFromObject=function(t,e,i){for(var n=e,r=!1,o=0,s=t.length;o<s;o++){var a=t[o];if(a.prop){if(n=n[a.prop],!D.hasValue(n))return}else switch(a.method){case"formatNumber":var u=k.anyToNumber(n);D.hasValue(u)&&(n=this.numberFormatter.format(u,i||a.params[0]||void 0),r=!0);break;case"formatDate":var l=void 0;if(l=D.isString(n)?this.dateFormatter.parse(n):k.anyToDate(n),!D.isDate(l)||D.isNaN(l.getTime()))return;D.hasValue(l)&&(n=this.dateFormatter.format(l,i||a.params[0]||void 0),r=!0);break;case"formatDuration":var h=k.anyToNumber(n);D.hasValue(h)&&(n=this.durationFormatter.format(h,i||a.params[0]||void 0,a.params[1]||void 0),r=!0);break;case"urlEncode":case"encodeURIComponent":n=encodeURIComponent(n);break;default:n[a.method]&&n[a.method].apply(this,a.params)}}if(!r){var c=[{method:"",params:i}];if(D.hasValue(i)){var p=k.getFormat(i);p===j.c?c[0].method="formatNumber":p===j.a?c[0].method="formatDate":p===j.b&&(c[0].method="formatDuration")}else D.isNumber(n)?(c[0].method="formatNumber",c[0].params=""):D.isDate(n)&&(c[0].method="formatDate",c[0].params="");c[0].method&&(n=this.getTagValueFromObject(c,n))}return n},Object.defineProperty(e.prototype,"dataItem",{get:function(){if(!this._dataItem){if(this.virtualParent)return this.virtualParent.dataItem;if(this.parent)return this.parent.dataItem}return this._dataItem},set:function(t){this.setDataItem(t)},enumerable:!0,configurable:!0}),e.prototype.setDataItem=function(t){var e=this;if(this._dataItem!=t){this._dataItem=t,this.configField&&t.dataContext&&(this.config=t.dataContext[this.configField]);var i=t.dataContext;i&&V.each(this.propertyFields,function(t,n){D.hasValue(i[n])&&(e[t]=i[n])}),this.invalidate()}},e.prototype.getPropertyValue=function(t){var e=this.properties[t];return this._isTemplate||(e=this.adapter.apply(t,e)),e},e.prototype.setColorProperty=function(t,e,i){var n=this.properties[t];return!(e instanceof m.a&&n instanceof m.a&&e.hex==n.hex)&&this.setPropertyValue(t,e,i)},e.prototype.setPercentProperty=function(t,e,i,n,r,o){if(e=D.toNumberOrPercent(e),D.isNumber(e))return e=M.round(e,r,o),this.setPropertyValue(t,e,i,n);var s=this.properties[t];return!(e instanceof R.a&&s instanceof R.a&&e.value==s.value)&&this.setPropertyValue(t,e,i,n)},e.prototype.setPropertyValue=function(t,e,i,n){if(this.properties[t]!==e&&!this.isDisposed()){if(this.properties[t]=e,this.events.isEnabled("propertychanged")){var r={type:"propertychanged",target:this,property:t};this.events.dispatchImmediately("propertychanged",r)}if(i&&this.invalidate(),n&&this.invalidatePosition(),this.applyOnClones)for(var o=this.clones.values,s=o.length,a=0;a<s;++a){var u=o[a];u.isDisposed()||(u[t]=e)}return!0}return!1},e.prototype.bind=function(t,e,i,n){var r=this;void 0===i&&(i=t),D.hasValue(this._bindings[t])&&this._bindings[t].dispose(),this[t]=e[i],this._bindings[t]=e.events.on("propertychanged",function(o){if(o.property===i){var s=e[i];n&&(s=n(s)),r[t]=s}})},e.prototype.observe=function(t,e,i,n){var r=this;return new h.c(I.map(I.toArray(t),function(t){return r.events.on("propertychanged",function(n){n.property===t&&e.call(i,n)},i,n)}))},e.prototype.applyAccessibility=function(){var t=this.readerTitle,e=this.readerDescription,i=this.role,n=this.readerHidden,r=this.readerChecked,o=this.readerControls,s=this.readerLive,a=[],u=[],l=this.readerLabelledBy;l&&a.push(l);var h=this.readerDescribedBy;if(h&&u.push(h),!t||e||this.showSystemTooltip){if(t){var c=this.titleElement,p=this.uid+"-title";c.node.textContent!=t&&(c.node.textContent=t,c.attr({id:p})),a.push(p)}else this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0);if(e){var d=this.descriptionElement,f=this.uid+"-description";d.node.textContent!=e&&(d.node.textContent=e,d.attr({id:f})),a.push(f)}else this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0)}else this.setSVGAttribute({"aria-label":t}),this.removeSVGAttribute("aria-description"),this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0),this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0);a.length&&this.setSVGAttribute({"aria-labelledby":a.join(" ")}),u.length&&this.setSVGAttribute({"aria-describedby":u.join(" ")}),i?this.setSVGAttribute({role:i}):this.removeSVGAttribute("role"),n?this.setSVGAttribute({"aria-hidden":"true"}):this.removeSVGAttribute("aria-hidden"),r?this.setSVGAttribute({"aria-checked":"true"}):!1===r?this.setSVGAttribute({"aria-checked":"false"}):this.removeSVGAttribute("aria-checked"),o?this.setSVGAttribute({"aria-controls":o}):this.removeSVGAttribute("aria-controls"),s?this.setSVGAttribute({"aria-live":s}):this.removeSVGAttribute("aria-live")},Object.defineProperty(e.prototype,"readerTitle",{get:function(){return this.getPropertyValue("readerTitle")},set:function(t){t=D.toText(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescription",{get:function(){return this.getPropertyValue("readerDescription")},set:function(t){t=D.toText(t),this.setPropertyValue("readerDescription",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this.getPropertyValue("role")},set:function(t){t=D.toText(t),this.setPropertyValue("role",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerHidden",{get:function(){return this.getPropertyValue("readerHidden")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("readerHidden",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerChecked",{get:function(){return this.getPropertyValue("readerChecked")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("readerChecked",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerControls",{get:function(){return this.getPropertyValue("readerControls")},set:function(t){t=D.toText(t),this.setPropertyValue("readerControls",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLive",{get:function(){return this.getPropertyValue("readerLive")},set:function(t){t=D.toText(t),this.setPropertyValue("readerLive",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLabelledBy",{get:function(){return this.getPropertyValue("readerLabelledBy")},set:function(t){t=D.toText(t),this.setPropertyValue("readerLabelledBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescribedBy",{get:function(){return this.getPropertyValue("readerDescribedBy")},set:function(t){t=D.toText(t),this.setPropertyValue("readerDescribedBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){if(!this.interactions.keyboardOptions){if(this.virtualParent)return this.virtualParent.keyboardOptions;if(this.parent)return this.parent.keyboardOptions}return this.interactions.keyboardOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interactions",{get:function(){if(!this._interaction){var t=Object(b.b)().getInteraction(this.dom);this._interaction=t,this._interaction.clickable=this.clickable,this._interaction.hoverable=this.hoverable,this._interaction.trackable=this.trackable,this._interaction.draggable=this.draggable,this._interaction.swipeable=this.swipeable,this._interaction.resizable=this.resizable,this._interaction.wheelable=this.wheelable,this._interaction.contextMenuDisabled=this.contextMenuDisabled,this._interaction.inert=this.inert,this._interaction.sprite=this,this._disposers.push(this._interaction)}return this._interaction},enumerable:!0,configurable:!0}),e.prototype.isInteractive=function(){return!!this._interaction},Object.defineProperty(e.prototype,"focusable",{get:function(){return this.getPropertyValue("focusable")},set:function(t){var e=this;t=D.toBoolean(t),this.setPropertyValue("focusable",t)&&(t||this.isInteractive())&&(this.interactions.focusable=t,t?this.setSVGAttribute({focusable:t}):this.removeSVGAttribute("focusable"),this.interactions.setEventDisposer("sprite-focusable",t,function(){return new h.c([e.events.on("blur",e.handleBlur,e,!1),e.events.on("focus",e.handleFocus,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleFocus=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!0),this.focusFilter&&this.filters.push(this.focusFilter),this.hoverOnFocus&&(this.isHover=!0,this.handleOver()))},e.prototype.handleBlur=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!1),this.focusFilter&&this.filters.removeValue(this.focusFilter),this.hoverOnFocus&&(this.isHover=!1,this.handleOut()))},Object.defineProperty(e.prototype,"focusFilter",{get:function(){var t=this._focusFilter;return t||(this.virtualParent?this.virtualParent.focusFilter:this.parent?this.parent.focusFilter:void 0)},set:function(t){this._focusFilter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOnFocus",{get:function(){return this.getPropertyValue("hoverOnFocus")},set:function(t){t!==this.hoverOnFocus&&this.setPropertyValue("hoverOnFocus",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){var t=this._tabindex;return null!=t?t:this.virtualParent?this.virtualParent.tabindex:this.parent?this.parent.tabindex:void 0},set:function(t){t=D.toNumber(t),this.setPropertyValue("tabindex",t)&&D.isNumber(t)&&(this.interactions.tabindex=t,this.setSVGAttribute({tabindex:t}),this.focusable=t>-1||void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return!this.interactions.inertiaOptions&&this.parent?this.parent.inertiaOptions:this.interactions.inertiaOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this.getPropertyValue("draggable")},set:function(t){var e=this;t=D.toBoolean(t),this.setPropertyValue("draggable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.draggable=t,this.interactions.setEventDisposer("sprite-draggable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("dragstart",e.handleDragStart,e,!1),e.events.on("drag",e.handleDragMove,e,!1),e.events.on("dragstop",e.handleDragStop,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleDragStart=function(t){this.interactions.isTouchProtected&&t.touch||(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this._isDragged=!0,this.hideTooltip(0))},e.prototype.dragStart=function(t){this._isDragged=!0,Object(b.b)().dragStart(this.interactions,t)},e.prototype.handleDragStop=function(t){this.interactions.isTouchProtected&&t.touch||(this._isDragged=!1,this.showTooltip(),this.interactions.originalPosition=void 0)},e.prototype.dragStop=function(t){this._isDragged=!1,Object(b.b)().dragStop(this.interactions,t)},e.prototype.handleDragMove=function(t){if(!this.interactions.isTouchProtected||!t.touch){var e=this.interactions.originalPosition;if(e&&this._isDragged){var i=this.parent.globalScale*this.svgContainer.cssScale;this.moveTo({x:e.x+t.shift.x/i,y:e.y+t.shift.y/i},void 0,void 0,!0)}}},Object.defineProperty(e.prototype,"inert",{get:function(){return this.getPropertyValue("inert")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("inert",t)&&(t||this.isInteractive())&&(this.interactions.inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){if(!this.interactions.hoverOptions){if(this.virtualParent)return this.virtualParent.hoverOptions;if(this.parent)return this.parent.hoverOptions}return this.interactions.hoverOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this.getPropertyValue("hoverable")},set:function(t){var e=this;t=D.toBoolean(t),this.setPropertyValue("hoverable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.hoverable=t,this.interactions.setEventDisposer("sprite-hoverable",t,function(){return new h.c([e.events.on("over",e.handleOver,e,!1),e.events.on("out",e.handleOut,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleOver=function(t){if(this._outTimeout&&this._outTimeout.dispose(),this.isHover){this.states.hasKey("hover")&&(this.isHidden||this.applyCurrentState());var e=void 0;t&&t.pointer&&(e=k.documentPointToSvg(t.pointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale)),this.showTooltip(e)}else this.hideTooltip(),!this.isHidden&&this.states.hasKey("hover")&&this.applyCurrentState()},e.prototype.handleOut=function(t){var e=this;this.tooltip&&this.tooltip.targetSprite==this&&this.tooltip.keepTargetHover?this._outTimeout=this.setTimeout(function(){e.tooltip.isHover||(e.hideTooltip(),e._outTimeout=e.setTimeout(e.handleOutReal.bind(e),e.rollOutDelay))},10):(this.hideTooltip(),this._outTimeout=this.setTimeout(this.handleOutReal.bind(this),this.rollOutDelay))},e.prototype.handleOutReal=function(){this.isHidden||this.isHiding||!this.states.hasKey("hover")||this.applyCurrentState()},Object.defineProperty(e.prototype,"hitOptions",{get:function(){if(!this.interactions.hitOptions){if(this.virtualParent)return this.virtualParent.hitOptions;if(this.parent)return this.parent.hitOptions}return this.interactions.hitOptions},enumerable:!0,configurable:!0}),e.prototype.handleDown=function(t){1===this.interactions.downPointers.length&&(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this.interactions.originalAngle=this.rotation,this.interactions.originalScale=this.scale,this.states.hasKey("down")&&this.setState("down"))},e.prototype.handleUp=function(t){this._isResized=!1,this.states.hasKey("down")&&this.applyCurrentState()},Object.defineProperty(e.prototype,"clickable",{get:function(){return this.getPropertyValue("clickable")},set:function(t){var e=this;t=D.toBoolean(t),this.setPropertyValue("clickable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.clickable=t,this.interactions.setEventDisposer("sprite-clickable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("up",e.handleUp,e,!1)])}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglable",{get:function(){return this.getPropertyValue("togglable")},set:function(t){var e=this;t=D.toBoolean(t),this.setPropertyValue("togglable",t)&&(t||this.isInteractive())&&this.interactions.setEventDisposer("sprite-togglable",t,function(){return e.events.on("hit",e.handleToggle,e,!1)})},enumerable:!0,configurable:!0}),e.prototype.handleToggle=function(t){this.isActive=!this.isActive},Object.defineProperty(e.prototype,"contextMenuDisabled",{get:function(){return this.getPropertyValue("contextMenuDisabled")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("contextMenuDisabled",t)&&(this.interactions.contextMenuDisabled=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.getPropertyValue("url")},set:function(t){this.setPropertyValue("url",t)&&(this._urlDisposer&&this._urlDisposer.dispose(),k.isNotEmpty(t)&&(this._urlDisposer=this.events.on("hit",this.urlHandler,this,!1),this.clickable=!0,this.cursorOverStyle=v.a.pointer))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseId",{get:function(){return!this._baseId&&this.parent&&(this.baseId=this.parent.baseId),this._baseId},set:function(t){this.setBaseId(t)},enumerable:!0,configurable:!0}),e.prototype.setBaseId=function(t){t!=this._baseId&&(this.invalid&&(this.invalid=!1,x.b.removeFromInvalidSprites(this),this.invalidate()),this._baseId=t)},Object.defineProperty(e.prototype,"baseSprite",{get:function(){return this.isBaseSprite?this:this.parent?this.parent.baseSprite:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"urlTarget",{get:function(){return this.getPropertyValue("urlTarget")},set:function(t){this.setPropertyValue("urlTarget",t)},enumerable:!0,configurable:!0}),e.prototype.urlHandler=function(t){if(k.isNotEmpty(this.url)){var e=this.populateString(this.url);"_self"===this.urlTarget?window.location.href=e:window.open(e,this.urlTarget)}},Object.defineProperty(e.prototype,"swipeOptions",{get:function(){if(!this.interactions.swipeOptions){if(this.virtualParent)return this.virtualParent.swipeOptions;if(this.parent)return this.parent.swipeOptions}return this.interactions.swipeOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this.getPropertyValue("swipeable")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("swipeable",t)&&(this.applyCursorStyle(),(t||this.isInteractive())&&(this.interactions.swipeable=t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this.getPropertyValue("trackable")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("trackable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.trackable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this.getPropertyValue("wheelable")},set:function(t){this.setPropertyValue("wheelable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.wheelable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this.getPropertyValue("resizable")},set:function(t){var e=this;t=D.toBoolean(t),this.setPropertyValue("resizable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.resizable=t,this.interactions.setEventDisposer("sprite-resizable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("resize",e.handleResize,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleResize=function(t){if((!this.interactions.isTouchProtected||!t.touch)&&(this._isResized=!0,this.scale=this.interactions.originalScale*t.scale,this.validatePosition(),this.draggable||this.dragWhileResize)){this._isDragged=!1;var e=k.documentPointToSvg(t.point1,this.htmlContainer,this.svgContainer.cssScale),i=k.documentPointToSvg(t.point2,this.htmlContainer,this.svgContainer.cssScale),n=M.getMidPoint(e,i),r=k.documentPointToSprite(t.startPoint1,this.parent),o=k.documentPointToSprite(t.startPoint2,this.parent),s=this.interactions.originalPosition,a=this.interactions.originalScale;if(s){var u={x:(r.x-s.x)/a,y:(r.y-s.y)/a},l={x:(o.x-s.x)/a,y:(o.y-s.y)/a},h=M.getMidPoint(u,l),c=k.svgPointToSprite(n,this.parent);this.moveTo({x:c.x-h.x*this.scale,y:c.y-h.y*this.scale},void 0,void 0,!0)}}},Object.defineProperty(e.prototype,"cursorOptions",{get:function(){if(!this.interactions.cursorOptions){if(this.virtualParent)return this.virtualParent.cursorOptions;if(this.parent)return this.parent.cursorOptions}return this.interactions.cursorOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOverStyle",{set:function(t){this.cursorOptions.overStyle||(this.interactions.cursorOptions={defaultStyle:this.cursorOptions.defaultStyle}),this.cursorOptions.overStyle=t,Object(b.b)().applyCursorOverStyle(this.interactions)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorDownStyle",{set:function(t){this.cursorOptions.downStyle=t},enumerable:!0,configurable:!0}),e.prototype.applyCursorStyle=function(){},Object.defineProperty(e.prototype,"interactionsEnabled",{get:function(){return!1!==this.getPropertyValue("interactionsEnabled")&&(this.virtualParent?this.virtualParent.interactionsEnabled:!this.parent||this.parent.interactionsEnabled)},set:function(t){if(t=D.toBoolean(t),this.setPropertyValue("interactionsEnabled",t)){var e=null;t?this.group.node.style.pointerEvents="":e="none",this.group.node.style.pointerEvents=e}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exporting",{get:function(){return this.getExporting()},set:function(t){this._exporting.set(t,t)},enumerable:!0,configurable:!0}),e.prototype.getExporting=function(){var t=this._exporting.get();return t||(!this.isStandaloneInstance&&this.parent?this.parent.exporting:((t=new C.a(this.svgContainer.SVGContainer)).sprite=this,t.language=this.language,t.dateFormatter=this.dateFormatter,t.durationFormatter=this.durationFormatter,this._exporting.set(t,t),t))},Object.defineProperty(e.prototype,"exportable",{get:function(){return this._exportable},set:function(t){var e=this.svgContainer;this._exportable=t,e&&(t?I.remove(e.nonExportableSprites,this):-1==I.indexOf(e.nonExportableSprites,this)&&e.nonExportableSprites.push(this))},enumerable:!0,configurable:!0}),e.prototype.modalPrefix=function(t){return t=_.a.classNamePrefix+t},Object.defineProperty(e.prototype,"modal",{get:function(){var t=this.svgContainer;if(t){var e=t.modal;return e.adapter.has("classPrefix",this.modalPrefix)||e.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openModal=function(t,e){var i=this.svgContainer;if(i)return i.openModal(t,e)},e.prototype.closeModal=function(){var t=this.svgContainer;t&&t.closeModal()},Object.defineProperty(e.prototype,"popups",{get:function(){var t=this.svgContainer;if(t){var e=t.popups;return e.template.sprite=this,e.template.adapter.has("classPrefix",this.modalPrefix)||e.template.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openPopup=function(t,e){var i=this.svgContainer;if(i)return i.openPopup(t,e)},e.prototype.closeAllPopups=function(){var t=this.svgContainer;t&&t.closeAllPopups()},Object.defineProperty(e.prototype,"x",{get:function(){return this.getPropertyValue("x")},set:function(t){this.isDragged||this.setPercentProperty("x",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelX",{get:function(){return this.adapter.apply("pixelX",M.fitToRange(this.getPixelX(this.x),this.minX,this.maxX))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeX",{get:function(){return this.adapter.apply("relativeX",this.getRelativeX(this.x))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minX",{get:function(){return this.getPropertyValue("minX")},set:function(t){D.isNumber(t)&&(t=M.round(t,this._positionPrecision,!0),this.setPropertyValue("minX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxX",{get:function(){return this.getPropertyValue("maxX")},set:function(t){D.isNumber(t)&&(t=M.round(t,this._positionPrecision,!0),this.setPropertyValue("maxX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.getPropertyValue("y")},set:function(t){this.isDragged||this.setPercentProperty("y",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelY",{get:function(){return this.adapter.apply("pixelY",M.fitToRange(this.getPixelY(this.y),this.minY,this.maxY))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeY",{get:function(){return this.adapter.apply("relativeY",this.getRelativeX(this.y))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minY",{get:function(){return this.getPropertyValue("minY")},set:function(t){D.isNumber(t)&&(t=M.round(t,this._positionPrecision,!0),this.setPropertyValue("minY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxY",{get:function(){return this.getPropertyValue("maxY")},set:function(t){D.isNumber(t)&&(t=M.round(t,this._positionPrecision,!0),this.setPropertyValue("maxY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.getPropertyValue("dx")},set:function(t){D.isNumber(t)&&(t=M.round(t,this._positionPrecision,!0),this.setPropertyValue("dx",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.getPropertyValue("dy")},set:function(t){D.isNumber(t)&&(t=M.round(t,this._positionPrecision,!0),this.setPropertyValue("dy",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.getPropertyValue("rotation")},set:function(t){t=D.toNumber(t),D.isNumber(t)||(t=0),this.setPropertyValue("rotation",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.getPropertyValue("align")},set:function(t){t=D.toText(t),this.setPropertyValue("align",t)&&this.parent&&this.parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valign",{get:function(){return this.getPropertyValue("valign")},set:function(t){t=D.toText(t),this.setPropertyValue("valign",t)&&this.parent&&this.parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalCenter",{get:function(){return this.getPropertyValue("horizontalCenter")},set:function(t){t=D.toText(t),this.setPropertyValue("horizontalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalCenter",{get:function(){return this.getPropertyValue("verticalCenter")},set:function(t){t=D.toText(t),this.setPropertyValue("verticalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){var t=this.getPropertyValue("maxWidth");return!D.isNumber(t)&&this.parent?this.parent.maxWidth:t},set:function(t){this.setMaxWidth(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxWidth=function(t){var e=this.maxWidth,i=this.maxHeight;if(this.setPropertyValue("maxWidth",t)){D.isNumber(this.relativeWidth)&&this.invalidate();var n={type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i};this.dispatchImmediately("maxsizechanged",n)}},Object.defineProperty(e.prototype,"maxHeight",{get:function(){var t=this.getPropertyValue("maxHeight");return!D.isNumber(t)&&this.parent?this.parent.maxHeight:t},set:function(t){this.setMaxHeight(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxHeight=function(t){var e=this.maxWidth,i=this.maxHeight;if(this.setPropertyValue("maxHeight",t)){D.isNumber(this.relativeHeight)&&this.invalidate();var n={type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i};this.dispatchImmediately("maxsizechanged",n)}},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.getPropertyValue("width")},set:function(t){this.setPercentProperty("width",t,!0,!1,this._positionPrecision,!0)&&(this.percentWidth=void 0,this.relativeWidth=void 0,t instanceof R.a?(this.percentWidth=t.percent,D.isNumber(this._pixelWidth)&&(this.maxWidth=void 0),this._pixelWidth=void 0):(this._pixelWidth=Number(t),this.maxWidth=this._pixelWidth),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.getPropertyValue("height")},set:function(t){this.setPercentProperty("height",t,!0,!1,this._positionPrecision,!0)&&(this.percentHeight=void 0,this._relativeHeight=void 0,t instanceof R.a?(this.percentHeight=t.percent,D.isNumber(this._pixelHeight)&&(this.maxHeight=void 0),this._pixelHeight=void 0):(this._pixelHeight=Number(t),this.maxHeight=this._pixelHeight),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelWidth",{get:function(){var t;t=D.isNumber(this.percentWidth)?this.maxWidth:D.isNumber(this._pixelWidth)?this._pixelWidth:0;var e=this.minWidth;return null!=e&&t<e&&(t=e),this.adapter.apply("pixelWidth",M.round(t,this._positionPrecision,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelHeight",{get:function(){var t;t=D.isNumber(this.percentHeight)?this.maxHeight:D.isNumber(this._pixelHeight)?this._pixelHeight:0;var e=this.minHeight;return null!=e&&t<e&&(t=e),this.adapter.apply("pixelHeight",M.round(t,this._positionPrecision,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeWidth",{get:function(){var t=this._relativeWidth;if(D.isNumber(t))return this.adapter.apply("relativeWidth",t)},set:function(t){this._relativeWidth!=t&&(this._relativeWidth=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeHeight",{get:function(){var t=this._relativeHeight;if(D.isNumber(t))return this.adapter.apply("relativeHeight",t)},set:function(t){this._relativeHeight!=t&&(this._relativeHeight=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredWidth",{get:function(){return this.disabled||this.__disabled?0:this.adapter.apply("measuredWidth",this._measuredWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredHeight",{get:function(){return this.disabled||this.__disabled?0:this.adapter.apply("measuredHeight",this._measuredHeight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerWidth",{get:function(){return this.adapter.apply("outerWidth",this.pixelWidth+this.pixelMarginRight+this.pixelMarginLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerHeight",{get:function(){return this.adapter.apply("outerHeight",this.pixelHeight+this.pixelMarginTop+this.pixelMarginBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){return this.adapter.apply("innerWidth",Math.max(0,this.pixelWidth-this.pixelPaddingRight-this.pixelPaddingLeft))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerHeight",{get:function(){return this.adapter.apply("innerHeight",Math.max(0,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"globalScale",{get:function(){var t=this.scale;return this.parent&&(t*=this.parent.globalScale),this.adapter.apply("globalScale",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.getPropertyValue("scale")},set:function(t){(t=D.toNumber(t))<0&&(t=0),t!=this.getPropertyValue("scale")&&(this.setPropertyValue("scale",t,!1,!0),this.handleGlobalScale())},enumerable:!0,configurable:!0}),e.prototype.margin=function(t,e,i,n){return this.marginTop=t,this.marginRight=e,this.marginBottom=i,this.marginLeft=n,this},Object.defineProperty(e.prototype,"marginLeft",{get:function(){return this.getPropertyValue("marginLeft")},set:function(t){this.setPercentProperty("marginLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginRight",{get:function(){return this.getPropertyValue("marginRight")},set:function(t){this.setPercentProperty("marginRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginTop",{get:function(){return this.getPropertyValue("marginTop")},set:function(t){this.setPercentProperty("marginTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginBottom",{get:function(){return this.getPropertyValue("marginBottom")},set:function(t){this.setPercentProperty("marginBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginRight",{get:function(){return this.adapter.apply("pixelMarginRight",this.getPixelX(this.marginRight))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginRight",{get:function(){return this.adapter.apply("relativeMarginRight",this.getRelativeX(this.marginRight))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginLeft",{get:function(){return this.adapter.apply("pixelMarginLeft",this.getPixelX(this.marginLeft))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginLeft",{get:function(){return this.adapter.apply("relativeMarginLeft",this.getRelativeX(this.marginLeft))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginTop",{get:function(){return this.adapter.apply("pixelMarginTop",this.getPixelY(this.marginTop))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginTop",{get:function(){return this.adapter.apply("relativeMarginTop",this.getRelativeY(this.marginTop))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginBottom",{get:function(){return this.adapter.apply("pixelMarginBottom",this.getPixelY(this.marginBottom))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginBottom",{get:function(){return this.adapter.apply("relativeMarginBottom",this.getRelativeY(this.marginBottom))},enumerable:!0,configurable:!0}),e.prototype.padding=function(t,e,i,n){return this.paddingTop=t,this.paddingRight=e,this.paddingBottom=i,this.paddingLeft=n,this},Object.defineProperty(e.prototype,"paddingLeft",{get:function(){return this.getPropertyValue("paddingLeft")},set:function(t){this.setPercentProperty("paddingLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingRight",{get:function(){return this.getPropertyValue("paddingRight")},set:function(t){this.setPercentProperty("paddingRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingTop",{get:function(){return this.getPropertyValue("paddingTop")},set:function(t){this.setPercentProperty("paddingTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingBottom",{get:function(){return this.getPropertyValue("paddingBottom")},set:function(t){this.setPercentProperty("paddingBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingRight",{get:function(){return this.getPixelX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingRight",{get:function(){return this.getRelativeX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingLeft",{get:function(){return this.getPixelX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingLeft",{get:function(){return this.getRelativeX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingTop",{get:function(){return this.getPixelY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingTop",{get:function(){return this.getRelativeY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingBottom",{get:function(){return this.getPixelY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingBottom",{get:function(){return this.getRelativeY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPath(t)},enumerable:!0,configurable:!0}),e.prototype.setPath=function(t){return!!this.setPropertyValue("path",t)&&(this.element&&this.element instanceof SVGPathElement||(this.element=this.paper.add("path")),this.element.attr({d:t}),this.invalidatePosition(),this.inited||this.events.once("inited",this.validatePosition,this,!1),!0)},Object.defineProperty(e.prototype,"fillModifier",{get:function(){return this.getPropertyValue("fillModifier")},set:function(t){this.setPropertyValue("fillModifier",t)&&this.setFill(this.fill)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeModifier",{get:function(){return this.getPropertyValue("strokeModifier")},set:function(t){this.setPropertyValue("strokeModifier",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.getPropertyValue("fillOpacity")},set:function(t){t=M.toNumberRange(t,0,1),this.setPropertyValue("fillOpacity",t)&&this.setSVGAttribute({"fill-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.getPropertyValue("fill")},set:function(t){this.setFill(t)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(t){if(D.isObject(t)||(t=Object(m.e)(t)),this.setColorProperty("fill",t)||this.fillModifier)if(t instanceof m.a&&this.fillModifier&&(t=this.fillModifier.modify(t)),this.realFill=t,t instanceof m.a)this.setSVGAttribute({fill:t.toString()});else if(D.hasValue(t)){if(t instanceof f.a||t instanceof g.a||t instanceof y.a){var e=t;e.paper=this.paper,this.setSVGAttribute({fill:'url("'+k.getBaseURI()+e.id+'")'})}}else this.removeSVGAttribute("fill")},Object.defineProperty(e.prototype,"opacity",{get:function(){return this.getPropertyValue("opacity")},set:function(t){t=M.toNumberRange(t,0,1),this.setPropertyValue("opacity",t)&&this.setSVGAttribute({opacity:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.getPropertyValue("stroke")},set:function(t){this.setStroke(t)},enumerable:!0,configurable:!0}),e.prototype.setStroke=function(t){if(D.isObject(t)||(t=Object(m.e)(t)),this.setColorProperty("stroke",t)||this.strokeModifier)if(t instanceof m.a&&this.strokeModifier&&(t=this.strokeModifier.modify(t)),this.realStroke=t,t instanceof m.a)"none"==t.hex?this.removeSVGAttribute("stroke"):this.setSVGAttribute({stroke:t.toString()});else if(D.hasValue(t)){if(t instanceof f.a||t instanceof g.a||t instanceof y.a){var e=t;e.paper=this.paper,this.setSVGAttribute({stroke:'url("'+k.getBaseURI()+e.id+'")'})}}else this.removeSVGAttribute("stroke")},Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.getPropertyValue("strokeOpacity")},set:function(t){t=M.toNumberRange(t,0,1),this.setPropertyValue("strokeOpacity",t)&&this.setSVGAttribute({"stroke-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScalingStroke",{get:function(){return this.getPropertyValue("nonScalingStroke")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("nonScalingStroke",t)&&(this.strokeWidth=this.strokeWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this.getPropertyValue("nonScaling")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("nonScaling",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.getPropertyValue("strokeWidth")},set:function(t){t=D.toNumber(t),this.setPropertyValue("strokeWidth",t,!0),this.nonScalingStroke&&(D.isNumber(t)||(t=1),t/=this.globalScale),this.setSVGAttribute({"stroke-width":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.getPropertyValue("strokeDasharray")},set:function(t){t=D.toText(t),this.setPropertyValue("strokeDasharray",t)&&this.setSVGAttribute({"stroke-dasharray":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDashoffset",{get:function(){return this.getPropertyValue("strokeDashoffset")},set:function(t){t=D.toNumber(t),this.setPropertyValue("strokeDashoffset",t)&&this.setSVGAttribute({"stroke-dashoffset":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeLinecap",{get:function(){return this.getPropertyValue("strokeLinecap")},set:function(t){this.setPropertyValue("strokeLinecap",t)&&this.setSVGAttribute({"stroke-linecap":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeLinejoin",{get:function(){return this.getPropertyValue("strokeLinejoin")},set:function(t){this.setPropertyValue("strokeLinejoin",t)&&this.setSVGAttribute({"stroke-linejoin":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.getPropertyValue("shapeRendering")},set:function(t){t=D.toText(t),this.setPropertyValue("shapeRendering",t)&&this.setSVGAttribute({"shape-rendering":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPerfect",{get:function(){return this.getPropertyValue("pixelPerfect")},set:function(t){t=D.toBoolean(t),this._positionPrecision=t?0:3,this.setPropertyValue("pixelPerfect",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rtl",{get:function(){return D.hasValue(this._rtl)?this._rtl:this.virtualParent?this.virtualParent.rtl:this.parent?this.parent.rtl:(this.rtl=!1,this.rtl)},set:function(t){t=D.toBoolean(t),this._rtl=t},enumerable:!0,configurable:!0}),e.prototype.show=function(t){return this.showReal(t)},e.prototype.showReal=function(t){var e,i=this,n=this.defaultState.properties;if(!this.disabled&&(this.isHidden||!this.visible||this.isHiding||null!=n.opacity&&this.opacity<n.opacity&&!this.isShowing)&&!this.isDisposed()){this.invalid&&this.validate(),this.positionInvalid&&this.validatePosition(),D.isNumber(t)||(t=this.defaultState.transitionDuration),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this._showHideDisposer&&this.removeDispose(this._showHideDisposer),this._isHidden=!1,this.isHiding=!1,this.isShowing=!0,(e=this.applyCurrentState(t))&&!e.isFinished()?(this._showHideDisposer=e.events.on("animationended",function(){i.isShowing=!1}),this._disposers.push(this._showHideDisposer)):this.isShowing=!1;var r=this.defaultState.properties.visible;D.hasValue(r)||(r=!0),this.visible=r,this.readerHidden=!1,this.dispatchImmediately("shown")}return e},e.prototype.hide=function(t){return this.hideReal(t)},e.prototype.hideReal=function(t){var e,i=this;if(!this.isHiding&&this.visible&&!this.isDisposed()){this.hideTooltip(0),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this.isShowing=!1,this._showHideDisposer&&this.removeDispose(this._showHideDisposer);var n=this.hiddenState;n?(e=this.setState(n,t,void 0))&&!e.isFinished()?(this._hideAnimation=e,this._showHideDisposer=e.events.on("animationended",function(){i.isHiding=!1,i._isHidden=!0},this),this._disposers.push(this._showHideDisposer),this._disposers.push(e)):(this.isHiding=!1,this._isHidden=!0):(this.visible=!1,this.isHiding=!1,this._isHidden=!0),this.readerHidden=!0,this.dispatchImmediately("hidden"),this.invalidate()}return D.isNumber(t)||(t=this.hiddenState.transitionDuration),e},Object.defineProperty(e.prototype,"visible",{get:function(){return this.getVisibility()},set:function(t){t=D.toBoolean(t),this.setVisibility(t)},enumerable:!0,configurable:!0}),e.prototype.getVisibility=function(){var t=this.getPropertyValue("visible");return D.hasValue(t)||(t=!0),t},e.prototype.setVisibility=function(t){if(this.setPropertyValue("visible",t)&&(t?this.group.removeAttr("visibility"):this.group.attr({visibility:"hidden"}),this.events.isEnabled("visibilitychanged"))){var e={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",e)}},Object.defineProperty(e.prototype,"zIndex",{get:function(){return this.getPropertyValue("zIndex")},set:function(t){t=D.toNumber(t),this.setPropertyValue("zIndex",t)&&this.dispatch("zIndexChanged")},enumerable:!0,configurable:!0}),e.prototype.toFront=function(){var t=this.parent;t&&t.children.indexOf(this)!=t.children.length-1&&(t.children.moveValue(this,t.children.length-1),this.dispatch("zIndexChanged"))},e.prototype.toBack=function(){var t=this.parent;t&&0!=t.children.indexOf(this)&&(t.children.moveValue(this,0),this.dispatch("zIndexChanged"))},Object.defineProperty(e.prototype,"tooltip",{get:function(){return this._tooltip?this._tooltip:this.virtualParent?this.virtualParent.tooltip:this.parent?this.parent.tooltip:void 0},set:function(t){this._tooltip&&this.removeDispose(this._tooltip),this._tooltip=t,t&&(t.parent=this.tooltipContainer)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDataItem",{get:function(){var t=this._tooltipDataItem;return t||this.dataItem},set:function(t){this._tooltipDataItem=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipColorSource",{get:function(){return this._tooltipColorSource},set:function(t){this._tooltipColorSource=t},enumerable:!0,configurable:!0}),e.prototype.showTooltip=function(t){for(var e=this;void 0!=e;){if(!e.visible||e.disabled||e.__disabled)return;e=e.parent}if(D.hasValue(this.tooltipText)||D.hasValue(this.tooltipHTML)){var i=this.tooltip,n=this.tooltipDataItem;if(i){i.targetSprite=this;var r=this,o=this.tooltipColorSource;if((i.getStrokeFromObject||i.getFillFromObject)&&o&&(o.isTemplate?n&&I.eachContinue(n.sprites,function(t){return t.clonedFrom!=o||(r=t,!1)}):r=o),i.getStrokeFromObject){for(var s=this.stroke,a=r;void 0!=a.parent&&(void 0==(s=a.stroke)&&(a=a.parent),void 0==s););s instanceof m.a?i.background.animate({property:"stroke",to:s},i.animationDuration):i.background.stroke=s}if(i.dataItem=n,i.label.populateStringFrom=this,i.getFillFromObject){var u=this.fill;for(a=r;void 0!=a.parent;)if(void 0==(u=a.fill)||u instanceof m.a&&void 0==u.rgb)a=a.parent;else if(void 0!=u)break;void 0==u&&(u=Object(m.c)("#000000")),u instanceof m.a&&i.visible?i.background.animate({property:"fill",to:u},i.animationDuration):i.background.fill=u,i.autoTextColor&&u instanceof m.a&&(i.label.fill=u.alternative)}var l="";if(this.tooltipHTML&&(i.html=this.tooltipHTML,l=this.tooltipHTML),this.tooltipText&&(i.text=this.tooltipText,l=this.tooltipText),this.updateTooltipPosition(t)){if(i.readerDescribedBy=this.uidAttr(),i.label.invalid&&i.label.validate(),void 0!=l&&""!=l&&""!=i.label.currentText){i&&!i.parent&&(i.parent=this.tooltipContainer);var h=i.defaultState.transitionDuration;return h<=0&&(h=1),i.show(h),!0}}else this.hideTooltip(0)}}return!1},e.prototype.updateTooltipPosition=function(t){var e=this;if("pointer"!=this.tooltipPosition){var i=k.spritePointToSvg({x:this.tooltipX,y:this.tooltipY},this);return this.pointTooltipTo(i)}if(this._interactionDisposer&&this._interactionDisposer.dispose(),this._interactionDisposer=Object(b.b)().body.events.on("track",function(t){return e.pointTooltipTo(k.documentPointToSvg(t.point,e.svgContainer.SVGContainer,e.svgContainer.cssScale),!0)}),t)return this.pointTooltipTo(t,!0)},e.prototype.pointTooltipTo=function(t,e){var i=this.tooltip;return!(!i||!M.isInRectangle(t,{x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight}))&&(i.pointTo(t,e),!0)},e.prototype.hideTooltip=function(t){var e=this.tooltip;e&&(e.targetSprite==this&&(e.targetSprite=void 0),e.hide(t),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0))},Object.defineProperty(e.prototype,"tooltipHTML",{get:function(){return this.getPropertyValue("tooltipHTML")},set:function(t){t=D.toText(t),this.hoverable=!0,this.setPropertyValue("tooltipHTML",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipText",{get:function(){return this.getPropertyValue("tooltipText")},set:function(t){(t=D.toText(t))&&(this.hoverable=!0),this.setPropertyValue("tooltipText",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipContainer",{get:function(){return this._tooltipContainer?this._tooltipContainer:this.parent?this.parent.tooltipContainer:void 0},set:function(t){this._tooltipContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipX",{get:function(){return this.getTooltipX()},set:function(t){t=D.toNumber(t),this.setPropertyValue("tooltipX",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipPosition",{get:function(){return this.getPropertyValue("tooltipPosition")},set:function(t){this.setPropertyValue("tooltipPosition",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipY",{get:function(){return this.getTooltipY()},set:function(t){t=D.toNumber(t),this.setPropertyValue("tooltipY",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");return D.isNumber(t)||(t=this.maxLeft+this.measuredWidth/2-this.pixelPaddingLeft-this.ex),t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");return D.isNumber(t)||(t=this.maxTop+this.measuredHeight/2-this.pixelPaddingTop-this.ey),t},e.prototype.raiseCriticalError=function(t){this.svgContainer&&(this.modal.content=this.adapter.apply("criticalError",t).message,this.modal.closable=!1,this.modal.open(),this.disabled=!0),_.a.verbose&&console.log(t)},e.prototype.processConfig=function(e){e&&(D.hasValue(e.tooltipColorSource)&&D.isString(e.tooltipColorSource)&&this.map.hasKey(e.tooltipColorSource)&&(e.tooltipColorSource=this.map.getKey(e.tooltipColorSource)),D.hasValue(e.cursorOverStyle)&&D.isString(e.cursorOverStyle)&&(e.cursorOverStyle=this.getCursorStyle(e.cursorOverStyle)),D.hasValue(e.cursorDowntyle)&&D.isString(e.cursorDowntyle)&&(e.cursorDowntyle=this.getCursorStyle(e.cursorDowntyle)),D.hasValue(e.cursorOptions)&&(D.hasValue(e.cursorOptions.overStyle)&&D.isString(e.cursorOptions.overStyle)&&(e.cursorOptions.overStyle=this.getCursorStyle(e.cursorOptions.overStyle)),D.hasValue(e.cursorOptions.downStyle)&&D.isString(e.cursorOptions.downStyle)&&(e.cursorOptions.downStyle=this.getCursorStyle(e.cursorOptions.downStyle)))),t.prototype.processConfig.call(this,e)},e.prototype.getCursorStyle=function(t){switch(t){case"grab":return v.a.grab;case"grabbing":return v.a.grabbing;case"pointer":return v.a.pointer;case"horizontalResize":return v.a.horizontalResize;case"verticalResize":return v.a.verticalResize;default:return v.a.default}},e.prototype.configOrder=function(e,i){return e==i?0:"tooltipColorSource"==e?1:"tooltipColorSource"==i?-1:t.prototype.configOrder.call(this,e,i)},Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._isHidden?this._isHidden:!!this._parent&&this._parent.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showOnInit",{get:function(){return this.getPropertyValue("showOnInit")},set:function(t){t=D.toBoolean(t),this.setShowOnInit(t)},enumerable:!0,configurable:!0}),e.prototype.setShowOnInit=function(t){this.setPropertyValue("showOnInit",t)&&(this.isTemplate||(!t||this.inited||this.hidden?this._showOnInitDisposer&&this._showOnInitDisposer.dispose():(this._showOnInitDisposer=new h.c([x.b.events.once("enterframe",this.hideInitially,this),this.events.once("beforevalidated",this.hideInitially,this,!1),this.events.on("inited",this.appear,this,!1)]),this._disposers.push(this._showOnInitDisposer))))},e.prototype.hideInitially=function(){this.isDisposed()||(this.appeared=!1,this.inited||this.hide(0))},e.prototype.appear=function(){var t=this;if(this.appeared=!1,this.hidden||this.isHidden||this.hide(0),this.hidden)this.appeared=!0;else{var e=this.show();e&&!e.isFinished()?e.events.on("animationended",function(){t.appeared=!0}):this.appeared=!0}},Object.defineProperty(e.prototype,"hidden",{get:function(){return this.getPropertyValue("hidden")},set:function(t){t=D.toBoolean(t),this.setPropertyValue("hidden",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this._bbox},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"plugins",{get:function(){var t=this;return this._plugins||(this._plugins=new l.b,this._disposers.push(this._plugins.events.on("inserted",function(e){e.newValue.target=t,e.newValue.init()})),this._disposers.push(new l.c(this._plugins))),this._plugins},enumerable:!0,configurable:!0}),e.prototype._systemUpdate=function(t){this.validate()},e.prototype._systemCheckIfValidate=function(){return!0},e.prototype._systemValidatePositions=function(){this.validatePosition()},e.prototype._systemValidateLayouts=function(){},e}(s.b);x.b.registeredClasses.Sprite=L},W0fk:function(t,e,i){var n=i("DvJ+");t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},W8Sc:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("UsNi"),o=i("x79X"),s=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e.className="Modal",e.showCurtain=!0,e.draggable=!1,e}return n.c(e,t),e}(r.a)},WXwQ:function(t,e,i){var n=i("Gb1H"),r=i("hcxM"),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},WYhe:function(t,e,i){"use strict";i.d(e,"a",function(){return r}),i.d(e,"b",function(){return o});var n=i("Mtpk"),r=function(){function t(){}return t.prototype.getEventKey=function(t){var e;switch(t.keyCode||t.which){case 38:e="up";break;case 40:e="down";break;case 37:e="left";break;case 39:e="right";break;case 13:e="enter";break;case 27:e="esc";break;case 36:e="home";break;case 35:e="end";break;case 9:e="tab";break;case 17:e="ctrl";break;case 18:e="alt";break;case 16:e="shift";break;case 32:e="space";break;case 36:e="home";break;case 35:e="end";break;case 33:e="pgup";break;case 34:e="pgdn";break;case 45:e="ins";break;case 46:e="del";break;case 107:e="plus";break;case 109:e="minus";break;default:e="other"}return e},t.prototype.isKey=function(t,e){var i=this.getEventKey(t);return n.isString(e)&&(e=[e]),-1!==e.indexOf(i)},t.prototype.shiftKey=function(t){return t.shiftKey},t.prototype.ctrlKey=function(t){return t.ctrlKey},t.prototype.altKey=function(t){return t.altKey},t.prototype.metaKey=function(t){return t.metaKey},t}(),o=new r},Wbjh:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Wglt:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fromArray=r,e.length=function(t){var e=0;return t(function(t){return++e,!0}),e},e.toArray=o,e.eachContinue=function(t,e){t(e)},e.each=function(t,e){t(function(t){return e(t),!0})},e.sort=function(t,e){return r(o(t).sort(e))},e.map=function(t,e){return function(i){return t(function(t){return i(e(t))})}},e.filter=function(t,e){return function(i){return t(function(t){return!e(t)||i(t)})}},e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){for(var i=!0,n=function(t){return i=e(t)},r=t.length,o=0;o<r&&(t[o](n),i);++o);}},e.flatten=function(t){return function(e){var i=!0,n=function(t){return i=e(t)};t(function(t){return t(n),i})}},e.indexed=function(t){return function(e){var i=0;t(function(t){return e([i++,t])})}},e.findIndex=function(t,e){var i=!1,n=0;return t(function(t){return e(t)?(i=!0,!1):(++n,!0)}),i?n:-1},e.find=function(t,e){var i;return t(function(t){return!e(t)||(i=t,!1)}),i},e.findMap=function(t,e){var i;return t(function(t){var n=e(t);return null===n||(i=n,!1)}),i},e.contains=function(t,e){var i=!1;return t(function(t){return!e(t)||(i=!0,!1)}),i},e.foldl=s,e.min=function(t){return s(t,null,a)},e.max=function(t){return s(t,null,u)},e.join=function(t,e){void 0===e&&(e="");var i=!0,n="";return t(function(t){return i?i=!1:n+=e,n+=t,!0}),n},i.d(e,"ListIterator",function(){return l});var n=i("hJ5i");function r(t){return function(e){for(var i=t.length,n=0;n<i&&e(t[n]);++n);}}function o(t){var e=[];return t(function(t){return e.push(t),!0}),e}function s(t,e,i){return t(function(t){return e=i(e,t),!0}),e}function a(t,e){return null==t||e<t?e:t}function u(t,e){return null==t||e>t?e:t}var l=function(){function t(t,e){this.createNewItems=!1,this.list=t,this._create=e,this.reset()}return t.prototype.reset=function(){this._listCopy=o(this.list.iterator())},t.prototype.clear=function(){this._listCopy.length=0},t.prototype.getFirst=function(){return this.returnItem(0)},t.prototype.getLast=function(){return this.returnItem(this._listCopy.length-1)},t.prototype.find=function(t){var e=n.findIndex(this._listCopy,t);if(-1!==e){var i=this._listCopy[e];return n.remove(this._listCopy,i),i}return this.getLast()},t.prototype.removeItem=function(t){return n.remove(this._listCopy,t)},t.prototype.returnItem=function(t){if(t>=0&&t<this._listCopy.length){var e=this._listCopy[t];return n.remove(this._listCopy,e),e}if(this.createNewItems)return this._create()},t.prototype.iterator=function(){return r(this._listCopy)},t}()},WtL7:function(t,e,i){var n=i("hpnp");t.exports=function(t,e){var i=[];return n(t,!1,i.push,i,e),i}},X3ZK:function(t,e,i){i("3mH9")("Map")},XQMn:function(t,e,i){var n=i("Gb1H"),r=i("aPa3");n(n.S+n.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},"XUg+":function(t,e,i){var n=i("Gb1H");n(n.S+n.F*!i("gD3S"),"Object",{defineProperty:i("hjwn").f})},XYQ1:function(t,e,i){var n=i("Gb1H");n(n.S+n.F*!i("gD3S"),"Object",{defineProperties:i("p3CN")})},Xf1i:function(t,e,i){var n=i("Gb1H"),r=i("eh+x"),o=i("kg8J");n(n.S,"Math",{fscale:function(t,e,i,n,s){return o(r(t,e,i,n,s))}})},Xt8l:function(t,e,i){"use strict";i("Mvcd")("italics",function(t){return function(){return t(this,"i","","")}})},Y9w3:function(t,e,i){"use strict";i.d(e,"a",function(){return x});var n=i("m4/l"),r=i("C6dT"),o=i("vMqJ"),s=i("VGgz"),a=i("+qIf"),u=i("hD5A"),l=i("EjGA"),h=i("TGuK"),c=i("Rpw0"),p=i("A6AV"),d=i("aCit"),f=i("Gg2j"),g=i("hJ5i"),y=i("0FpR"),m=i("v9UT"),b=i("Wglt"),v=i("Qkdp"),_=i("Mtpk"),x=function(t){function e(){var e=t.call(this)||this;return e.dataFields={},e._dataSources={},e._parseDataFrom=0,e._dataDisposers=[],e._start=0,e._end=1,e.skipRangeEvent=!1,e.rangeChangeDuration=0,e.rangeChangeEasing=y.cubicOut,e.parsingStepDuration=50,e.dataInvalid=!1,e.rawDataInvalid=!1,e.dataRangeInvalid=!1,e.dataItemsInvalid=!1,e.interpolationDuration=0,e.interpolationEasing=y.cubicOut,e.sequencedInterpolation=!0,e.sequencedInterpolationDelay=0,e.dataValidationProgress=0,e._addAllDataItems=!0,e.className="Component",e.minZoomCount=1,e._dataItems=new s.b(e.createDataItem()),e._dataItems.events.on("inserted",e.handleDataItemAdded,e,!1),e._dataItems.events.on("removed",e.handleDataItemRemoved,e,!1),e._disposers.push(new o.c(e._dataItems)),e._disposers.push(e._dataItems.template),e.invalidateData(),e.dataUsers.events.on("inserted",e.handleDataUserAdded,e,!1),e._disposers.push(new u.c(e._dataDisposers)),e._start=0,e._end=1,e.maxZoomDeclination=1,e.applyTheme(),e}return n.c(e,t),e.prototype.createDataItem=function(){return new p.a},e.prototype.handleDataUserAdded=function(t){t.newValue.dataProvider=this},e.prototype.handleDataItemValueChange=function(t,e){this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemWorkingValueChange=function(t,e){},e.prototype.handleDataItemWorkingLocationChange=function(t,e){},e.prototype.handleDataItemCalculatedValueChange=function(t,e){},e.prototype.handleDataItemPropertyChange=function(t,e){},e.prototype.processDataItem=function(t,e){var i=this;if(t){e||(e={}),t.dataContext=e;var n=!1;v.each(this.dataFields,function(r,a){var u=r,l=e[a];if(i.adapter.isEnabled("dataContextValue")&&(l=i.adapter.apply("dataContextValue",{field:u,value:l,dataItem:t}).value),t.hasChildren[u]){if(_.hasValue(l)){n=!0;var h=i.createDataItem();h.copyFrom(i.dataItems.template);var c=new s.b(h);c.events.on("inserted",i.handleDataItemAdded,i,!1),c.events.on("removed",i.handleDataItemRemoved,i,!1),i._dataDisposers.push(new o.c(c));for(var p=l.length,d=0;d<p;d++){var f=l[d],g=c.create();g.parent=t,i.processDataItem(g,f)}t[u]=c}}else _.hasValue(l)&&(n=!0,t[u]=l)}),v.each(this.propertyFields,function(i,r){var o=i,s=e[r];_.hasValue(s)&&(n=!0,t.setProperty(o,s))}),this._addAllDataItems||n||this.dataItems.remove(t)}},e.prototype.updateDataItem=function(t){var e=this;if(t){var i=t.dataContext;v.each(this.dataFields,function(n,r){var o=n,s=i[r];if(s=e.adapter.apply("dataContextValue",{field:o,value:s,dataItem:t}).value,t.hasChildren[o]){if(s){var a=t[o];b.each(a.iterator(),function(t){e.updateDataItem(t)})}}else _.hasValue(s)&&(t[o]=s)}),v.each(this.propertyFields,function(e,n){var r=e,o=i[n];_.hasValue(o)&&t.setProperty(r,o)})}},e.prototype.validateDataElements=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){var i=this.dataItems.getIndex(e);i&&this.validateDataElement(i)}},e.prototype.validate=function(){this.validateDataElements(),t.prototype.validate.call(this)},e.prototype.validateDataElement=function(t){},e.prototype.addData=function(t,e){var i=this;if(!this.dataInvalid&&this.inited&&(this._parseDataFrom=this.data.length),t instanceof Array?g.each(t,function(t){i.data.push(t)}):this.data.push(t),this.inited)this.removeData(e);else if(_.isNumber(e))for(;e>0;)this.data.shift(),e--;this.invalidateData()},e.prototype.removeData=function(t){if(_.isNumber(t))for(;t>0;){var e=this.dataItems.getIndex(0);e&&this.dataItems.remove(e),this.dataUsers.each(function(t){var e=t.dataItems.getIndex(0);e&&t.dataItems.remove(e)}),this.data.shift(),this._parseDataFrom--,t--}},e.prototype.invalidateData=function(){this.disabled||this.isTemplate||(d.b.addToInvalidComponents(this),c.b.requestFrame(),this.dataInvalid=!0,b.each(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataUsers=function(){b.each(this.dataUsers.iterator(),function(t){t.invalidate()})},e.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(g.move(d.b.invalidDataItems,this),c.b.requestFrame(),this.dataItemsInvalid=!0,b.each(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,g.move(d.b.invalidDataRange,this),c.b.requestFrame())},e.prototype.validateDataRange=function(){g.remove(d.b.invalidDataRange,this),this.dataRangeInvalid=!1,this.startIndex==this._prevStartIndex&&this.endIndex==this._prevEndIndex||(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},e.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},e.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},e.prototype.appendDataItems=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){(i=this.dataItems.getIndex(e))&&(i.__disabled=!1)}for(e=0;e<this.startIndex;e++){(i=this.dataItems.getIndex(e)).__disabled=!0}for(e=this.endIndex;e<this.dataItems.length;e++){var i;(i=this.dataItems.getIndex(e)).__disabled=!0}},e.prototype.invalidateRawData=function(){this.disabled||this.isTemplate||(g.move(d.b.invalidRawDatas,this),c.b.requestFrame(),this.rawDataInvalid=!0,b.each(this.dataUsers.iterator(),function(t){t.invalidateRawData()}))},e.prototype.validateRawData=function(){var t=this;g.remove(d.b.invalidRawDatas,this),b.each(this.dataItems.iterator(),function(e){e&&t.updateDataItem(e)})},e.prototype.disposeData=function(){this.inited&&(g.each(this._dataDisposers,function(t){t.dispose()}),b.each(this.dataUsers.iterator(),function(t){t.disposeData()}),this._dataDisposers.length=0,this._startIndex=void 0,this._endIndex=void 0,this.dataItems.clear(),this.dataItems.template.clones.clear())},e.prototype.getDataItem=function(t){return this.dataItems.create()},e.prototype.validateData=function(){if(this.dispatchImmediately("beforedatavalidated"),this.dataInvalid=!1,d.b.removeFromInvalidComponents(this),this.dataValidationProgress=0,this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.dataFields.data&&this.dataItem){var t=this.dataItem.dataContext;this._data=t[this.dataFields.data]}if(0===this._parseDataFrom&&this.data.length>0&&this.disposeData(),this.data.length>0){var e=this.preloader;b.each(this.dataUsers.iterator(),function(t){t._startIndex=void 0,t._endIndex=void 0});for(var i=0,n=Date.now(),r=this._parseDataFrom,o=this.data.length,s=function(){var t=a.data[r],o=a.getDataItem(t);if((a.processDataItem(o,t),a.dataUsers.each(function(e){if(0==e.data.length){var i=e.getDataItem(t);e.processDataItem(i,t)}}),100==++i)&&(i=0,Date.now()-n>a.parsingStepDuration&&r<a.data.length-10))return a._parseDataFrom=r+1,e&&(r/a.data.length>.5&&!e.visible||(e.progress=r/a.data.length)),a.dataValidationProgress=r/a.data.length,r=a.data.length,a.invalidateData(),{value:void 0}},a=this;r<o;r++){var u=s();if("object"==typeof u)return u.value}e&&(e.progress=1),this.dataUsers.each(function(t){t.hidden&&t.hide(0)})}this.dataValidationProgress=1,this._parseDataFrom=0,this.invalidateDataItems(),this._internalDefaultsApplied||this.applyInternalDefaults(),this.dispatch("datavalidated")},e.prototype.validateDataItems=function(){g.remove(d.b.invalidDataItems,this),this.dataItemsInvalid=!1,this.invalidateDataRange(),this.invalidate(),this.dispatch("dataitemsvalidated")},Object.defineProperty(e.prototype,"data",{get:function(){return this._data||(this._data=[]),this.adapter.apply("data",this._data)},set:function(t){this.setData(t)},enumerable:!0,configurable:!0}),e.prototype.setData=function(t){this._parseDataFrom=0,this.disposeData(),this._data=t,t&&t.length>0&&this.invalidateData()},e.prototype.getDataSource=function(t){var e=this;return _.hasValue(this._dataSources[t])||(this._dataSources[t]=new l.a,this._dataSources[t].component=this,this.setDataSourceEvents(this._dataSources[t],t),this._dataSources[t].adapter.add("dateFields",function(t){return e.dataSourceDateFields(t)}),this._dataSources[t].adapter.add("numberFields",function(t){return e.dataSourceNumberFields(t)}),this.events.on("inited",function(){e.loadData(t)},this,!1)),this._dataSources[t]},Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(t){var e=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=t,this._dataSources.data.component=this,this.events.on("inited",function(){e.loadData("data")},this,!1),this.setDataSourceEvents(t,"data")},enumerable:!0,configurable:!0}),e.prototype.loadData=function(t){this._dataSources[t].load()},e.prototype.dataSourceDateFields=function(t){return t},e.prototype.dataSourceNumberFields=function(t){return t},e.prototype.populateDataSourceFields=function(t,e,i){return g.each(i,function(i){e[i]&&-1===g.indexOf(t,e[i])&&t.push(e[i])}),t},e.prototype.setDataSourceEvents=function(t,e){var i=this;t.events.on("started",function(t){var e=i.preloader;e&&(e.progress=0)},void 0,!1),t.events.on("loadstarted",function(t){var e=i.preloader;e&&(e.progress=.25)},void 0,!1),t.events.on("loadended",function(t){var e=i.preloader;e&&(e.progress=.5)},void 0,!1),t.events.on("parseended",function(t){var e=i.preloader;e&&(e.progress=.75)},void 0,!1),t.events.on("ended",function(t){var e=i.preloader;e&&(e.progress=1)},void 0,!1),t.events.on("error",function(t){var e=i.preloader;e&&(e.progress=1),i.openModal(t.message)},void 0,!1),e&&t.events.on("done",function(n){var r=i.preloader;r&&(r.progress=1),"data"!=e||_.isArray(n.data)||(n.data=[n.data]),t.incremental&&"data"==e&&i.data.length?i.addData(n.data,t.keepCount?n.data.length:0):i[e]=n.data})},Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new h.a,this._responsive.component=this),this._responsive},set:function(t){this._responsive=t,this._responsive.component=this},enumerable:!0,configurable:!0}),e.prototype.zoom=function(t,e,i,n){var r=this;void 0===e&&(e=!1),void 0===i&&(i=!1);var o=t.start,s=t.end,a=t.priority;if(_.isNumber(n)||(n=this.maxZoomDeclination),!_.isNumber(o)||!_.isNumber(s))return{start:this.start,end:this.end};if(this._finalStart!=o||this._finalEnd!=s){var u=this.maxZoomFactor/this.minZoomCount;if("start"==a?(1/(s-o)>u&&(s=o+1/u),s>1&&s-o<1/u&&(o=s-1/u)):(1/(s-o)>u&&(o=s-1/u),o<0&&s-o<1/u&&(s=o+1/u)),o<-n&&(o=-n),1/(s-o)>u&&(s=o+1/u),s>1+n&&(s=1+n),1/(s-o)>u&&(o=s-1/u),this._finalEnd=s,this._finalStart=o,this.skipRangeEvent=e,this.rangeChangeDuration>0&&!i){var l=this.rangeChangeAnimation;if(l&&l.progress<1){var h=l.animationOptions;if(h.length>1&&h[0].to==o&&h[1].to==s)return{start:o,end:s}}this.dispatchImmediately("rangechangestarted"),this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),l=this.animate([{property:"start",to:o},{property:"end",to:s}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=l,l&&!l.isFinished()?l.events.on("animationended",function(){r.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=o,this.end=s}return{start:o,end:s}},e.prototype.zoomToIndexes=function(t,e,i,n){if(_.isNumber(t)&&_.isNumber(e)){var r=t/this.dataItems.length,o=e/this.dataItems.length;this.zoom({start:r,end:o},i,n)}},Object.defineProperty(e.prototype,"zoomFactor",{get:function(){return f.fitToRange(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(t){this.setPropertyValue("maxZoomFactor",t)&&(1==t&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(t){this.setPropertyValue("maxZoomDeclination",t)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return _.isNumber(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(t){this._startIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),e.prototype.indexToPosition=function(t){return t/this.dataItems.length},Object.defineProperty(e.prototype,"endIndex",{get:function(){return _.isNumber(this._endIndex)||(this._endIndex=this.dataItems.length),this._endIndex},set:function(t){this._endIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){if(this._start!=t){this._start=t;var e=Math.max(0,Math.floor(this.dataItems.length*t)||0);this._startIndex=Math.min(e,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},set:function(t){this._end!=t&&(this._end=t,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*t)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),d.b.removeFromInvalidComponents(this),g.remove(d.b.invalidDataItems,this),g.remove(d.b.invalidDataRange,this),g.remove(d.b.invalidRawDatas,this)},Object.defineProperty(e.prototype,"dataItems",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),e.prototype._updateDataItemIndexes=function(t){for(var e=this.dataItems.values,i=e.length,n=t;n<i;++n)e[n]._index=n},e.prototype.handleDataItemAdded=function(t){t.newValue.component=this,this._updateDataItemIndexes(t.index),this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemRemoved=function(t){this._updateDataItemIndexes(t.index),this.dataItemsInvalid||this.invalidateDataItems()},Object.defineProperty(e.prototype,"dataMethods",{get:function(){return this._dataMethods||(this._dataMethods=new a.a),this._dataMethods},enumerable:!0,configurable:!0}),e.prototype.bindDataField=function(t,e){this.dataFields[t]=e,this.invalidateDataRange()},e.prototype.invalidateProcessedData=function(){this.resetProcessedRange(),this.invalidateDataRange()},e.prototype.resetProcessedRange=function(){this._prevEndIndex=null,this._prevStartIndex=null},Object.defineProperty(e.prototype,"dataUsers",{get:function(){var t=this;return this._dataUsers||(this._dataUsers=new o.b,this._disposers.push(new u.b(function(){b.each(t._dataUsers.iterator(),function(t){t.dispose()})}))),this._dataUsers},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dataFields=m.copyProperties(this.dataFields,{}),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.data=e.data,this.sequencedInterpolation=e.sequencedInterpolation,this.sequencedInterpolationDelay=e.sequencedInterpolationDelay,this.interpolationDuration=e.interpolationDuration,this.interpolationEasing=e.interpolationEasing},e.prototype.reinit=function(){this._inited=!1,this.deepInvalidate()},e.prototype.getExporting=function(){var e=t.prototype.getExporting.call(this);return e.adapter.has("data",this._exportData,null,this)||(e.adapter.add("data",this._exportData,null,this),this.events.on("datavalidated",function(t){e.menu&&e.menu.invalidate(),e.handleDataUpdated()})),e},e.prototype._exportData=function(t){return t.data=this.data,t},e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return i&&this.invalidateData(),i},e.prototype.setShowOnInit=function(e){e!=this.getPropertyValue("showOnInit")&&(!e||this.inited||this.hidden?this._showOnInitDisposer2&&this._showOnInitDisposer2.dispose():(this._showOnInitDisposer2=this.events.once("dataitemsvalidated",this.hideInitially,this,!1),this._disposers.push(this._showOnInitDisposer2))),t.prototype.setShowOnInit.call(this,e)},e.prototype.setBaseId=function(e){e!=this._baseId&&this.dataInvalid&&(this.dataInvalid=!1,d.b.removeFromInvalidComponents(this),this._baseId=e,this.invalidateData()),t.prototype.setBaseId.call(this,e)},Object.defineProperty(e.prototype,"minZoomCount",{get:function(){return this.getPropertyValue("minZoomCount")},set:function(t){this.setPropertyValue("minZoomCount",t)},enumerable:!0,configurable:!0}),e.prototype._systemCheckIfValidate=function(){return!(this.dataInvalid||this.dataProvider&&this.dataProvider.dataInvalid)},e}(r.a);d.b.registeredClasses.Component=x},YDsm:function(t,e,i){"use strict";var n=i("T9LF"),r=i("U3hN"),o=i("gD3S"),s=i("Gb1H"),a=i("wDk4"),u=i("kFp5").KEY,l=i("AEc5"),h=i("OB1/"),c=i("bPwn"),p=i("7bL/"),d=i("YEtG"),f=i("xxwE"),g=i("xdw4"),y=i("G0iN"),m=i("kHwJ"),b=i("snR7"),v=i("DvJ+"),_=i("EhJv"),x=i("W0fk"),P=i("Wbjh"),w=i("5+SK"),O=i("8rbL"),S=i("nHHr"),T=i("hjwn"),C=i("3BzE"),k=S.f,M=T.f,j=O.f,I=n.Symbol,V=n.JSON,D=V&&V.stringify,E=d("_hidden"),F=d("toPrimitive"),R={}.propertyIsEnumerable,A=h("symbol-registry"),L=h("symbols"),N=h("op-symbols"),B=Object.prototype,H="function"==typeof I,G=n.QObject,W=!G||!G.prototype||!G.prototype.findChild,U=o&&l(function(){return 7!=w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=k(B,e);n&&delete B[e],M(t,e,i),n&&t!==B&&M(B,e,n)}:M,z=function(t){var e=L[t]=w(I.prototype);return e._k=t,e},Y=H&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},X=function(t,e,i){return t===B&&X(N,e,i),b(t),e=x(e,!0),b(i),r(L,e)?(i.enumerable?(r(t,E)&&t[E][e]&&(t[E][e]=!1),i=w(i,{enumerable:P(0,!1)})):(r(t,E)||M(t,E,P(1,{})),t[E][e]=!0),U(t,e,i)):M(t,e,i)},K=function(t,e){b(t);for(var i,n=y(e=_(e)),r=0,o=n.length;o>r;)X(t,i=n[r++],e[i]);return t},J=function(t){var e=R.call(this,t=x(t,!0));return!(this===B&&r(L,t)&&!r(N,t))&&(!(e||!r(this,t)||!r(L,t)||r(this,E)&&this[E][t])||e)},Z=function(t,e){if(t=_(t),e=x(e,!0),t!==B||!r(L,e)||r(N,e)){var i=k(t,e);return!i||!r(L,e)||r(t,E)&&t[E][e]||(i.enumerable=!0),i}},q=function(t){for(var e,i=j(_(t)),n=[],o=0;i.length>o;)r(L,e=i[o++])||e==E||e==u||n.push(e);return n},Q=function(t){for(var e,i=t===B,n=j(i?N:_(t)),o=[],s=0;n.length>s;)!r(L,e=n[s++])||i&&!r(B,e)||o.push(L[e]);return o};H||(a((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(i){this===B&&e.call(N,i),r(this,E)&&r(this[E],t)&&(this[E][t]=!1),U(this,t,P(1,i))};return o&&W&&U(B,t,{configurable:!0,set:e}),z(t)}).prototype,"toString",function(){return this._k}),S.f=Z,T.f=X,i("rkh7").f=O.f=q,i("eBSV").f=J,i("pmYy").f=Q,o&&!i("pb4Y")&&a(B,"propertyIsEnumerable",J,!0),f.f=function(t){return z(d(t))}),s(s.G+s.W+s.F*!H,{Symbol:I});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)d($[tt++]);for(var et=C(d.store),it=0;et.length>it;)g(et[it++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return r(A,t+="")?A[t]:A[t]=I(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in A)if(A[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!H,"Object",{create:function(t,e){return void 0===e?w(t):K(w(t),e)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:q,getOwnPropertySymbols:Q}),V&&s(s.S+s.F*(!H||l(function(){var t=I();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=e=n[1],(v(e)||void 0!==t)&&!Y(t))return m(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!Y(e))return e}),n[1]=e,D.apply(V,n)}}),I.prototype[F]||i("Vng0")(I.prototype,F,I.prototype.valueOf),c(I,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},YEtG:function(t,e,i){var n=i("OB1/")("wks"),r=i("7bL/"),o=i("T9LF").Symbol,s="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=n},YF4K:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{DEG_PER_RAD:Math.PI/180})},YJIw:function(t,e,i){"use strict";if(i("gD3S")){var n=i("pb4Y"),r=i("T9LF"),o=i("AEc5"),s=i("Gb1H"),a=i("xSzy"),u=i("LNZc"),l=i("20m4"),h=i("ypVE"),c=i("Wbjh"),p=i("Vng0"),d=i("cA+3"),f=i("4BRe"),g=i("FmWr"),y=i("bytU"),m=i("UwWU"),b=i("W0fk"),v=i("U3hN"),_=i("MfZA"),x=i("DvJ+"),P=i("vJiZ"),w=i("a8UT"),O=i("5+SK"),S=i("K0ev"),T=i("rkh7").f,C=i("iOZG"),k=i("7bL/"),M=i("YEtG"),j=i("dstF"),I=i("mntN"),V=i("QXbb"),D=i("2/6D"),E=i("9BM3"),F=i("ID9o"),R=i("vdWU"),A=i("lgQj"),L=i("y2pX"),N=i("hjwn"),B=i("nHHr"),H=N.f,G=B.f,W=r.RangeError,U=r.TypeError,z=r.Uint8Array,Y=Array.prototype,X=u.ArrayBuffer,K=u.DataView,J=j(0),Z=j(2),q=j(3),Q=j(4),$=j(5),tt=j(6),et=I(!0),it=I(!1),nt=D.values,rt=D.keys,ot=D.entries,st=Y.lastIndexOf,at=Y.reduce,ut=Y.reduceRight,lt=Y.join,ht=Y.sort,ct=Y.slice,pt=Y.toString,dt=Y.toLocaleString,ft=M("iterator"),gt=M("toStringTag"),yt=k("typed_constructor"),mt=k("def_constructor"),bt=a.CONSTR,vt=a.TYPED,_t=a.VIEW,xt=j(1,function(t,e){return Tt(V(t,t[mt]),e)}),Pt=o(function(){return 1===new z(new Uint16Array([1]).buffer)[0]}),wt=!!z&&!!z.prototype.set&&o(function(){new z(1).set({})}),Ot=function(t,e){var i=f(t);if(i<0||i%e)throw W("Wrong offset!");return i},St=function(t){if(x(t)&&vt in t)return t;throw U(t+" is not a typed array!")},Tt=function(t,e){if(!(x(t)&&yt in t))throw U("It is not a typed array constructor!");return new t(e)},Ct=function(t,e){return kt(V(t,t[mt]),e)},kt=function(t,e){for(var i=0,n=e.length,r=Tt(t,n);n>i;)r[i]=e[i++];return r},Mt=function(t,e,i){H(t,e,{get:function(){return this._d[i]}})},jt=function(t){var e,i,n,r,o,s,a=P(t),u=arguments.length,h=u>1?arguments[1]:void 0,c=void 0!==h,p=C(a);if(void 0!=p&&!w(p)){for(s=p.call(a),n=[],e=0;!(o=s.next()).done;e++)n.push(o.value);a=n}for(c&&u>2&&(h=l(h,arguments[2],2)),e=0,i=g(a.length),r=Tt(this,i);i>e;e++)r[e]=c?h(a[e],e):a[e];return r},It=function(){for(var t=0,e=arguments.length,i=Tt(this,e);e>t;)i[t]=arguments[t++];return i},Vt=!!z&&o(function(){dt.call(new z(1))}),Dt=function(){return dt.apply(Vt?ct.call(St(this)):St(this),arguments)},Et={copyWithin:function(t,e){return L.call(St(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(St(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return A.apply(St(this),arguments)},filter:function(t){return Ct(this,Z(St(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return $(St(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(St(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(St(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return it(St(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(St(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(St(this),arguments)},lastIndexOf:function(t){return st.apply(St(this),arguments)},map:function(t){return xt(St(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(St(this),arguments)},reduceRight:function(t){return ut.apply(St(this),arguments)},reverse:function(){for(var t,e=St(this).length,i=Math.floor(e/2),n=0;n<i;)t=this[n],this[n++]=this[--e],this[e]=t;return this},some:function(t){return q(St(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ht.call(St(this),t)},subarray:function(t,e){var i=St(this),n=i.length,r=m(t,n);return new(V(i,i[mt]))(i.buffer,i.byteOffset+r*i.BYTES_PER_ELEMENT,g((void 0===e?n:m(e,n))-r))}},Ft=function(t,e){return Ct(this,ct.call(St(this),t,e))},Rt=function(t){St(this);var e=Ot(arguments[1],1),i=this.length,n=P(t),r=g(n.length),o=0;if(r+e>i)throw W("Wrong length!");for(;o<r;)this[e+o]=n[o++]},At={entries:function(){return ot.call(St(this))},keys:function(){return rt.call(St(this))},values:function(){return nt.call(St(this))}},Lt=function(t,e){return x(t)&&t[vt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Nt=function(t,e){return Lt(t,e=b(e,!0))?c(2,t[e]):G(t,e)},Bt=function(t,e,i){return!(Lt(t,e=b(e,!0))&&x(i)&&v(i,"value"))||v(i,"get")||v(i,"set")||i.configurable||v(i,"writable")&&!i.writable||v(i,"enumerable")&&!i.enumerable?H(t,e,i):(t[e]=i.value,t)};bt||(B.f=Nt,N.f=Bt),s(s.S+s.F*!bt,"Object",{getOwnPropertyDescriptor:Nt,defineProperty:Bt}),o(function(){pt.call({})})&&(pt=dt=function(){return lt.call(this)});var Ht=d({},Et);d(Ht,At),p(Ht,ft,At.values),d(Ht,{slice:Ft,set:Rt,constructor:function(){},toString:pt,toLocaleString:Dt}),Mt(Ht,"buffer","b"),Mt(Ht,"byteOffset","o"),Mt(Ht,"byteLength","l"),Mt(Ht,"length","e"),H(Ht,gt,{get:function(){return this[vt]}}),t.exports=function(t,e,i,u){var l=t+((u=!!u)?"Clamped":"")+"Array",c="get"+t,d="set"+t,f=r[l],m=f||{},b=f&&S(f),v=!f||!a.ABV,P={},w=f&&f.prototype,C=function(t,i){H(t,i,{get:function(){return function(t,i){var n=t._d;return n.v[c](i*e+n.o,Pt)}(this,i)},set:function(t){return function(t,i,n){var r=t._d;u&&(n=(n=Math.round(n))<0?0:n>255?255:255&n),r.v[d](i*e+r.o,n,Pt)}(this,i,t)},enumerable:!0})};v?(f=i(function(t,i,n,r){h(t,f,l,"_d");var o,s,a,u,c=0,d=0;if(x(i)){if(!(i instanceof X||"ArrayBuffer"==(u=_(i))||"SharedArrayBuffer"==u))return vt in i?kt(f,i):jt.call(f,i);o=i,d=Ot(n,e);var m=i.byteLength;if(void 0===r){if(m%e)throw W("Wrong length!");if((s=m-d)<0)throw W("Wrong length!")}else if((s=g(r)*e)+d>m)throw W("Wrong length!");a=s/e}else a=y(i),o=new X(s=a*e);for(p(t,"_d",{b:o,o:d,l:s,e:a,v:new K(o)});c<a;)C(t,c++)}),w=f.prototype=O(Ht),p(w,"constructor",f)):o(function(){f(1)})&&o(function(){new f(-1)})&&F(function(t){new f,new f(null),new f(1.5),new f(t)},!0)||(f=i(function(t,i,n,r){var o;return h(t,f,l),x(i)?i instanceof X||"ArrayBuffer"==(o=_(i))||"SharedArrayBuffer"==o?void 0!==r?new m(i,Ot(n,e),r):void 0!==n?new m(i,Ot(n,e)):new m(i):vt in i?kt(f,i):jt.call(f,i):new m(y(i))}),J(b!==Function.prototype?T(m).concat(T(b)):T(m),function(t){t in f||p(f,t,m[t])}),f.prototype=w,n||(w.constructor=f));var k=w[ft],M=!!k&&("values"==k.name||void 0==k.name),j=At.values;p(f,yt,!0),p(w,vt,l),p(w,_t,!0),p(w,mt,f),(u?new f(1)[gt]==l:gt in w)||H(w,gt,{get:function(){return l}}),P[l]=f,s(s.G+s.W+s.F*(f!=m),P),s(s.S,l,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*o(function(){m.of.call(f,1)}),l,{from:jt,of:It}),"BYTES_PER_ELEMENT"in w||p(w,"BYTES_PER_ELEMENT",e),s(s.P,l,Et),R(l),s(s.P+s.F*wt,l,{set:Rt}),s(s.P+s.F*!M,l,At),n||w.toString==pt||(w.toString=pt),s(s.P+s.F*o(function(){new f(1).slice()}),l,{slice:Ft}),s(s.P+s.F*(o(function(){return[1,2].toLocaleString()!=new f([1,2]).toLocaleString()})||!o(function(){w.toLocaleString.call([1,2])})),l,{toLocaleString:Dt}),E[l]=M?k:j,n||M||p(w,ft,j)}}else t.exports=function(){}},Ybtf:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("FzPm"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({rx:this.radius}),this.element.attr({ry:this.radiusY})},Object.defineProperty(e.prototype,"radiusY",{get:function(){return this.innerHeight/2},set:function(t){this.height=2*t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.innerWidth/2},set:function(t){this.width=2*t,this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Ellipse=s},YnyG:function(t,e,i){var n=i("Gb1H"),r=i("K0ev"),o=i("snR7");n(n.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},YotE:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("o0Lc"),o=i("hD5A"),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._domEvents={},e}return n.c(e,t),e.prototype._addDOMEvent=function(t,e,i,n){var r=this;if(!this._domEvents[t]){var s=function(t){i.call(n,e,t)};this.target.element.addEventListener(t,s,!1),this._domEvents[t]=new o.a(function(){delete r._domEvents[t],r.target.element.removeEventListener(t,s,!1)})}return this._domEvents[t].increment()},e.prototype._dispatchKeyboardEvent=function(t,e){this.target.events.isEnabled(t)&&this.target.events.dispatchImmediately(t,{type:t,target:this.target,event:e})},e.prototype._on=function(e,i,n,r,s,a){var u=t.prototype._on.call(this,e,i,n,r,s,a),l=[u.disposer];switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":case"out":this.target.hoverable=!0;break;case"focus":case"blur":case"focusin":case"focusout":this.target.focusable=!0;break;case"keydown":case"keyup":case"keypress":case"input":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this))}return u.disposer=new o.c(l),u},e}(r.b)},YxCF:function(t,e,i){"use strict";var n=i("oGmz")(!0);t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},ZLF9:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("Tjl+"),o=i("P7v+"),s=i("vMqJ"),a=i("1yyj"),u=i("aCit"),l=i("MIZb"),h=i("Wglt"),c=i("Qkdp"),p=i("Mtpk"),d=function(t){function e(){var e=t.call(this)||this;e._elements=new s.b,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new l.a;return e.backgroundFill=i.getFor("background"),e.backgroundOpacity=0,e.fillOpacity=1,e.fill=i.getFor("alternativeBackground"),e.stroke=i.getFor("alternativeBackground"),e.strokeOpacity=1,e.strokeWidth=1,e.shapeRendering="crispEdges",e.rotation=0,e.element=e.paper.addGroup("pattern"),e.id="pattern-"+u.b.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new s.c(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t=this,e=this.element;if(e){e.removeChildNodes();var i=this.paper.add("rect");i.attr({width:this.width,height:this.height,"shape-rendering":"crispEdges",fill:this.backgroundFill.hex,"fill-opacity":this.backgroundOpacity,stroke:this.backgroundFill.hex,"stroke-opacity":this.backgroundOpacity}),e.add(i),e.attr({x:this.x,y:this.y,width:this.width,height:this.height,stroke:this.stroke.hex,fill:this.fill.hex,"fill-opacity":this.fillOpacity,"stroke-opacity":this.strokeOpacity,"stroke-width":this.strokeWidth,"shape-rendering":this.shapeRendering,patternUnits:this.patternUnits}),h.each(this._elements.iterator(),function(e){e.rotation=t.rotation,t.element.add(e)})}},e.prototype.animate=function(t,e,i){return new a.a(this,t,e,i).start()},e.prototype.addElement=function(t){this._elements.push(t),this._disposers.push(t)},e.prototype.removeElement=function(t){this._elements.removeValue(t),this.removeDispose(t)},Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(t){this.properties.fillOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.properties.fill},set:function(t){this.properties.fill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(t){this.properties.backgroundFill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(t){this.properties.backgroundOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(t){this.properties.strokeOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(t){this.properties.shapeRendering=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(t){this.properties.rotation=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(t){this.properties.patternUnits=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.properties.x},set:function(t){this.properties.x=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.properties.y},set:function(t){this.properties.y=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),c.each(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e&&p.hasValue(e.elements)&&p.isArray(e.elements))for(var i=0,n=e.elements.length;i<n;i++){var o=e.elements[i];if(p.hasValue(o.type)){var s=this.createEntryInstance(o);s instanceof r.a&&(s.config=o),this.addElement(p.hasValue(o.typeProperty)?s[o.typeProperty]:s.element)}}t.prototype.processConfig.call(this,e)},e}(r.a);u.b.registeredClasses.Pattern=d},ZhuL:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("mIpt"),o=i("Qkdp"),s=i("Mtpk"),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="application/json",e.options={},e}return n.c(e,t),e.isJSON=function(t){try{return JSON.parse(t),!0}catch(t){return!1}},e.prototype.parse=function(t){var e,i=this;try{s.hasValue(JSON)&&(e=JSON.parse(t))}catch(t){return}var n=s.hasValue(this.options.emptyAs),r=this.parsableNumbers,a=this.parsableDates;if(Array.isArray(e)&&(r||a||n))for(var u=function(t,s){var u=e[t];o.each(u,function(t,e){n&&(u[t]=i.maybeToEmpty(u[t])),r&&(u[t]=i.maybeToNumber(t,u[t])),a&&(u[t]=i.maybeToDate(t,u[t]))})},l=0,h=e.length;l<h;l++)u(l);return e},e}(r.a)},Zisa:function(t,e,i){var n=i("Gb1H"),r=180/Math.PI;n(n.S,"Math",{degrees:function(t){return t*r}})},Zljy:function(t,e,i){var n=i("DvJ+");i("5lay")("isSealed",function(t){return function(e){return!n(e)||!!t&&t(e)}})},ZoDA:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Uslz"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisBreak",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.ValueAxisBreak=s},Ztji:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("EhJv"),o=i("4BRe"),s=i("FmWr"),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(u||!i("GQop")(a)),"Array",{lastIndexOf:function(t){if(u)return a.apply(this,arguments)||0;var e=r(this),i=s(e.length),n=i-1;for(arguments.length>1&&(n=Math.min(n,o(arguments[1]))),n<0&&(n=i+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}})},ZytL:function(t,e,i){i("6+x4")("Map")},a8UT:function(t,e,i){var n=i("9BM3"),r=i("YEtG")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[r]===t)}},aCit:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),i.d(e,"b",function(){return h});var n=i("o0Lc"),r=i("+qIf"),o=i("eCqC"),s=i("Mtpk"),a=i("wUYf"),u=i("hJ5i"),l=function(){function t(){this.events=new n.a,this.themes=[],this.loadedThemes={},this._uidCount=0,this.registeredClasses={},this._placeholders={},this.invalidSprites={},this.invalidDatas={},this.invalidRawDatas=[],this.invalidDataItems=[],this.invalidDataRange=[],this.invalidPositions={},this.invalidLayouts={},this.baseSprites=[],this.baseSpritesByUid={},this.uid=this.getUniqueId(),this.invalidSprites.noBase=[],this.invalidDatas.noBase=[],this.invalidLayouts.noBase=[],this.invalidPositions.noBase=[]}return t.prototype.getUniqueId=function(){var t=this._uidCount;return this._uidCount+=1,"id-"+t},Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new r.a),this._map},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){o.b.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),o.b.get(this.uid,t,e)},t.prototype.dispatch=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatch(t,{type:t,target:this})):this.events.dispatch(t,{type:t,target:this}))},t.prototype.dispatchImmediately=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},t.prototype.getPlaceholder=function(t){return s.hasValue(this._placeholders[t])?this._placeholders[t]:(this._placeholders[t]="__amcharts_"+t+"_"+a.random(8)+"__",this._placeholders[t])},t.prototype.addToInvalidComponents=function(t){t.baseId?u.move(this.invalidDatas[t.baseId],t):u.move(this.invalidDatas.noBase,t)},t.prototype.removeFromInvalidComponents=function(t){t.baseId&&u.remove(this.invalidDatas[t.baseId],t),u.remove(this.invalidDatas.noBase,t)},t.prototype.addToInvalidSprites=function(t){t.baseId?u.add(this.invalidSprites[t.baseId],t):u.add(this.invalidSprites.noBase,t)},t.prototype.removeFromInvalidSprites=function(t){t.baseId&&u.remove(this.invalidSprites[t.baseId],t),u.remove(this.invalidSprites.noBase,t)},t.prototype.addToInvalidPositions=function(t){t.baseId?u.add(this.invalidPositions[t.baseId],t):u.add(this.invalidPositions.noBase,t)},t.prototype.removeFromInvalidPositions=function(t){t.baseId&&u.remove(this.invalidPositions[t.baseId],t),u.remove(this.invalidPositions.noBase,t)},t.prototype.addToInvalidLayouts=function(t){t.baseId?u.add(this.invalidLayouts[t.baseId],t):u.add(this.invalidLayouts.noBase,t)},t.prototype.removeFromInvalidLayouts=function(t){t.baseId&&u.remove(this.invalidLayouts[t.baseId],t),u.remove(this.invalidLayouts.noBase,t)},t}(),h=new l},aFzC:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),e.c=function(t,e,i,o,l,h){var c=t.x,p=t.y,d=e.x,f=e.y,g=a.getDistance(t,e);h&&(i=g/Math.round(g/i));var y=n.b.getCache(s.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,o]));if(!y){if(g>0){var m=Math.atan2(f-p,d-c),b=Math.cos(m),v=Math.sin(m),_=i*b,x=i*v;if(i<=1||o<=1)y=r.lineTo(e);else{var P=Math.round(2*g/i),w=[],O=1;d<c&&(O*=-1),f<p&&(O*=-1);for(var S=0;S<=P;S++){var T=c+S*_/2+(O*=-1)*o/2*v,C=p+S*x/2-O*o/2*b;w.push({x:T,y:C})}y=new u(l,l).smooth(w)}}else y="";n.b.setCache(s.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,o]),y)}return y},i.d(e,"a",function(){return l});var n=i("aCit"),r=i("hGwe"),o=i("hJ5i"),s=i("v9UT"),a=i("Gg2j"),u=function(){function t(t,e){this._tensionX=t,this._tensionY=e}return t.prototype.smooth=function(t){var e=this._tensionX,i=this._tensionY;if(t.length<3||e>=1&&i>=1)return r.polyline(t);var n=t[0],o=t[t.length-1],s=!1;a.round(n.x,3)==a.round(o.x)&&a.round(n.y)==a.round(o.y)&&(s=!0);for(var u="",l=0,h=t.length-1;l<h;l++){var c=t[l-1],p=t[l],d=t[l+1],f=t[l+2];0===l?c=s?t[t.length-2]:t[l]:l==t.length-2&&(f=s?t[1]:t[l+1]);var g=a.getCubicControlPointA(c,p,d,f,e,i),y=a.getCubicControlPointB(c,p,d,f,e,i);u+=r.cubicCurveTo(d,g,y)}return u},t}();var l=function(){function t(t){this._closed=t.closed}return t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,s=NaN,a=NaN,u=NaN,l=NaN,h=NaN,c=NaN,p=NaN,d=NaN,f=0,g="",y=function(t,e){g+=r.cubicCurveTo({x:(i+4*n+t)/6,y:(l+4*h+e)/6},{x:(2*i+n)/3,y:(2*l+h)/3},{x:(i+2*n)/3,y:(l+2*h)/3})},m=function(t){var o=t.x,m=t.y;switch(f){case 0:f=1,e._closed?(s=o,c=m):g+=r.lineTo({x:o,y:m});break;case 1:f=2,e._closed&&(a=o,p=m);break;case 2:if(f=3,e._closed){u=o,d=m,g+=r.moveTo({x:(i+4*n+o)/6,y:(l+4*h+m)/6});break}g+=r.lineTo({x:(5*i+n)/6,y:(5*l+h)/6});default:y(o,m)}i=n,n=o,l=h,h=m};if(o.each(t,m),this._closed)switch(f){case 1:g+=r.moveTo({x:s,y:c}),g+=r.closePath();break;case 2:g+=r.moveTo({x:(s+2*a)/3,y:(c+2*p)/3}),g+=r.lineTo({x:(a+2*s)/3,y:(p+2*c)/3}),g+=r.closePath();break;case 3:m({x:s,y:c}),m({x:a,y:p}),m({x:u,y:d})}else{switch(f){case 3:y(n,h);case 2:g+=r.lineTo({x:n,y:h})}g+=r.closePath()}return g},t}()},aGXA:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("C6dT"),o=i("p9TX"),s=i("CnhP"),a=i("MIZb"),u=i("aCit"),l=function(t){function e(){var e=t.call(this)||this;e.className="Button",e.tooltipY=0,e.iconPosition="left",e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16);var i=new a.a,n=e.background;n.fill=i.getFor("secondaryButton"),n.stroke=i.getFor("secondaryButtonStroke"),n.fillOpacity=1,n.strokeOpacity=1,n.cornerRadius(3,3,3,3),e.label=new o.a,e.label.fill=i.getFor("secondaryButtonText");var r=n.states.create("hover");r.properties.fillOpacity=1,r.properties.fill=i.getFor("secondaryButtonHover");var s=n.states.create("down");return s.transitionDuration=100,s.properties.fill=i.getFor("secondaryButtonDown"),s.properties.fillOpacity=1,e.role="button",e.focusable=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"icon",{get:function(){return this.getPropertyValue("icon")},set:function(t){var e=this.getPropertyValue("icon");e&&(e.parent=void 0),t&&(this.setPropertyValue("icon",t),t.parent=this,t.interactionsEnabled=!1,this.iconPosition=this.iconPosition,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(t){this.setPropertyValue("iconPosition",t),this.icon&&("left"==t?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(t){this._label&&this.removeDispose(this._label),this._label=t,t&&(t.parent=this,t.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new s.a},e}(r.a);u.b.registeredClasses.Button=l},aHTY:function(t,e,i){"use strict";var n=i("snR7"),r=i("FmWr"),o=i("YxCF"),s=i("2i0j");i("7V6K")("match",1,function(t,e,i,a){return[function(i){var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=a(i,t,this);if(e.done)return e.value;var u=n(t),l=String(this);if(!u.global)return s(u,l);var h=u.unicode;u.lastIndex=0;for(var c,p=[],d=0;null!==(c=s(u,l));){var f=String(c[0]);p[d]=f,""===f&&(u.lastIndex=o(l,r(u.lastIndex),h)),d++}return 0===d?null:p}]})},aM7D:function(t,e,i){"use strict";i.d(e,"b",function(){return O}),i.d(e,"a",function(){return S});var n=i("m4/l"),r=i("Y9w3"),o=i("Vs7R"),s=i("vMqJ"),a=i("+qIf"),u=i("A6AV"),l=i("C6dT"),h=i("cxKZ"),c=i("TXRX"),p=i("uWmK"),d=i("Q4nc"),f=i("aCit"),g=i("8ZqG"),y=i("Wglt"),m=i("Gg2j"),b=i("0FpR"),v=i("v9UT"),_=i("Qkdp"),x=i("Mtpk"),P=i("hJ5i"),w=i("hxI2"),O=function(t){function e(){var e=t.call(this)||this;return e.bullets=new a.a,e.className="SeriesDataItem",e._disposers.push(new a.b(e.bullets)),e.values.value={},e.values.value={},e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){this.bullets.clear(),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),e}(u.a),S=function(t){function e(){var e=t.call(this)||this;e._ignoreMinMax=!1,e._showBullets=!0,e.legendSettings=new p.c,e._tmin=new a.a,e._tmax=new a.a,e._smin=new a.a,e._smax=new a.a,e.dataItemsByAxis=new a.a,e.skipFocusThreshold=20,e.calculatePercent=!1,e.autoDispose=!0,e.simplifiedProcessing=!1,e.className="Series",e.isMeasured=!1,e.layout="none",e.shouldClone=!1,e.setPropertyValue("hidden",!1),e.axisRanges=new s.b,e.axisRanges.events.on("inserted",e.processAxisRange,e,!1),e.minBulletDistance=0,e.mainContainer=e.createChild(l.a),e.mainContainer.shouldClone=!1,e.mainContainer.mask=e.createChild(o.a),e._disposers.push(e.mainContainer);var i=e.mainContainer.createChild(l.a);return e._shouldBeReady.push(i),i.shouldClone=!1,i.layout="none",i.virtualParent=e,e._disposers.push(i),e.bulletsContainer=i,e.tooltip=new h.a,e.tooltip.virtualParent=e,e._disposers.push(e.tooltip),e.hiddenState.transitionEasing=b.cubicIn,e.dataItem=e.createDataItem(),e._disposers.push(e.dataItem),e.dataItem.component=e,e.role="group",e.applyTheme(),e}return n.c(e,t),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),d.a.autoSetClassName&&this.bulletsContainer&&(this.bulletsContainer.className=this.className+"-bullets",this.bulletsContainer.setClassName())},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),x.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},e.prototype.createDataItem=function(){return new O},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){},e.prototype.processBullet=function(t){var e=t.newValue;e.isTemplate=!0,this.itemsFocusable()&&(e.focusable=!0)},e.prototype.removeBullet=function(t){var e=t.oldValue;this.dataItems.each(function(t){var i=t.bullets.getKey(e.uid);i&&i.dispose()}),this.invalidate()},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.processValues(!1)},e.prototype.getFirstValue=function(t,e){e>0&&e<this.dataItems.length-1&&e++;for(var i=e;i>=0;i--){var n=this.dataItems.getIndex(i).getActualWorkingValue(t);if(x.isNumber(n))return n}return null},e.prototype.rangeChangeUpdate=function(){t.prototype.rangeChangeUpdate.call(this),this.processValues(!0)},e.prototype.processValues=function(t){var e=this;if(!this.simplifiedProcessing){var i=this.dataItems,n={},r={},o={},s={},a={},u={},l={},h={},c=m.max(0,this._workingStartIndex);c=m.min(c,this.dataItems.length);var p=m.min(this._workingEndIndex,this.dataItems.length);if(x.isNumber(c)||(c=0),x.isNumber(p)||(p=this.dataItems.length),c>0){var d=i.getIndex(c-1);_.each(d.values,function(t,e){var i=d.getActualWorkingValue(t);x.isNumber(i)&&(l[t]=i)})}for(var f=function(t){var p=i.getIndex(t);_.each(p.values,function(t,i){var d=p.getActualWorkingValue(t);if(x.isNumber(d)){x.isNumber(n[t])||(n[t]=0),n[t]++,x.isNumber(r[t])||(r[t]=0),r[t]+=d,x.isNumber(a[t])||(a[t]=d),u[t]=d,x.isNumber(o[t])?o[t]>d&&(o[t]=d):o[t]=d,x.isNumber(s[t])?s[t]<d&&(s[t]=d):s[t]=d,x.isNumber(h[t])||(h[t]=e.getFirstValue(t,c)),p.setCalculatedValue(t,d-h[t],"change"),p.setCalculatedValue(t,(d-h[t])/h[t]*100,"changePercent");var f=l[t];x.isNumber(f)||(f=d),p.setCalculatedValue(t,d-f,"previousChange"),p.setCalculatedValue(t,(d-f)/f*100,"previousChangePercent"),l[t]=d}})},g=c;g<p;g++)f(g);if(this.calculatePercent){var y=function(t){var e=i.getIndex(t);_.each(e.values,function(t){var i=r[t],n=e.getActualWorkingValue(t);if(x.isNumber(n)&&i>0){n==i&&(i=e.values[t].value);var o=n/i*100;e.setCalculatedValue(t,o,"percent")}})};for(g=c;g<p;g++)y(g)}if(c>0){var b=i.getIndex(c-1);_.each(b.values,function(t){var e=b.values[t].value;b.setCalculatedValue(t,e-a[t],"change"),b.setCalculatedValue(t,(e-a[t])/a[t]*100,"changePercent")})}var v=this.dataItem;_.each(v.values,function(t){v.setCalculatedValue(t,r[t],"sum"),v.setCalculatedValue(t,r[t]/n[t],"average"),v.setCalculatedValue(t,a[t],"open"),v.setCalculatedValue(t,u[t],"close"),v.setCalculatedValue(t,o[t],"low"),v.setCalculatedValue(t,s[t],"high"),v.setCalculatedValue(t,n[t],"count")})}},e.prototype.validate=function(){y.each(this.axisRanges.iterator(),function(t){t.validate()}),t.prototype.validate.call(this);var e=this.bulletsContainer;if(e.fill=this.fill,e.stroke=this.stroke,e.x=this.pixelX,e.y=this.pixelY,this.bulletsContainer.children.length>0){for(var i=0;i<this.startIndex;i++){(n=this.dataItems.getIndex(i))&&n.bullets.each(function(t,e){e.__disabled=!0})}for(i=this.dataItems.length-1;i>this.endIndex;i--){var n;(n=this.dataItems.getIndex(i))&&n.bullets.each(function(t,e){e.__disabled=!0})}}this.updateTooltipBounds()},e.prototype.updateTooltipBounds=function(){this.topParent&&this.tooltip.setBounds({x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight})},e.prototype.shouldCreateBullet=function(t,e){return!0},e.prototype.validateDataElement=function(e){var i=this;t.prototype.validateDataElement.call(this,e),this._showBullets?(this.bulletsContainer.visible=!0,this.bullets.each(function(t){var n=e.bullets.getKey(t.uid);if(i.shouldCreateBullet(e,t)){n||((n=t.clone()).shouldClone=!1,e.addSprite(n),i.visible&&!i.isHiding||n.hide(0));var r=n.dataItem;if(r!=e){r&&r.bullets.setKey(t.uid,void 0);var o=i.itemReaderText;n instanceof c.a&&(o||(o="{"+n.xField+"}: {"+n.yField+"}"),n.isDynamic&&(e.events.on("workingvaluechanged",n.deepInvalidate,n,!1),i.dataItem.events.on("workingvaluechanged",n.deepInvalidate,n,!1)),n.deepInvalidate()),n.focusable&&(n.events.once("focus",function(t){n.readerTitle=i.populateString(o,n.dataItem)},void 0,!1),n.events.once("blur",function(t){n.readerTitle=""},void 0,!1)),n.hoverable&&(n.events.once("over",function(t){n.readerTitle=i.populateString(o,n.dataItem)},void 0,!1),n.events.once("out",function(t){n.readerTitle=""},void 0,!1))}n.parent=i.bulletsContainer,e.bullets.setKey(t.uid,n),n.maxWidth=e.itemWidth,n.maxHeight=e.itemHeight,n.__disabled=!1,i.positionBullet(n)}})):this.bulletsContainer.visible=!1},e.prototype.handleDataItemWorkingValueChange=function(t,e){this.dataRangeInvalid||this.invalidateProcessedData()},Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){this._ignoreMinMax=t,this.invalidateDataItems()},enumerable:!0,configurable:!0}),e.prototype.createMask=function(){},e.prototype.processAxisRange=function(t){this.rangesContainer||(this.rangesContainer=this.createChild(l.a),this.rangesContainer.shouldClone=!1,this.rangesContainer.isMeasured=!1);var e=t.newValue;e&&(e.contents.parent=this.rangesContainer,e.isRange=!0)},e.prototype.getAxisField=function(t){},e.prototype.showTooltipAtPosition=function(t,e){},Object.defineProperty(e.prototype,"minBulletDistance",{get:function(){return this.getPropertyValue("minBulletDistance")},set:function(t){this.setPropertyValue("minBulletDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new s.e(new c.a),this._bullets.template.virtualParent=this,this._bullets.events.on("inserted",this.processBullet,this,!1),this._bullets.events.on("removed",this.removeBullet,this,!1),this._disposers.push(new s.c(this._bullets)),this._disposers.push(this._bullets.template)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){},Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.getPropertyValue("hiddenInLegend")},set:function(t){this.setPropertyValue("hiddenInLegend",t)&&this.chart&&this.chart.feedLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(t){this.setPropertyValue("name",t),this.readerTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemReaderText",{get:function(){var t=this._itemReaderText;return t||(this.tooltipText?t=v.plainText(this.tooltipText):this.tooltipHTML&&(t=v.plainText(this.tooltipHTML))),this.adapter.apply("itemReaderText",t)},set:function(t){this._itemReaderText=t},enumerable:!0,configurable:!0}),e.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t){if(this.legendDataItem){var e=this.legendSettings,i=this.legendDataItem,n=i.label,r=i.valueLabel;t?(r&&(e.itemValueText&&(r.text=e.itemValueText),r.dataItem=t),n&&(e.itemLabelText&&(n.text=e.itemLabelText),n.dataItem=t)):(n&&((e.labelText||void 0!=e.itemLabelText)&&(n.text=e.labelText),n.dataItem=this.dataItem),r&&((e.valueText||void 0!=e.itemValueText)&&(r.text=e.valueText),r.dataItem=this.dataItem))}},e.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.simplifiedProcessing=e.simplifiedProcessing,t.prototype.copyFrom.call(this,e)},e.prototype.raiseCriticalError=function(t){this._chart.modal.content=this._chart.adapter.apply("criticalError",t).message,this._chart.modal.closable=!1,this._chart.modal.open(),this._chart.disabled=!0,d.a.verbose&&console.log(t)},e.prototype.applyFilters=function(){var e=this;t.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),y.each(this.filters.iterator(),function(t){e.bulletsContainer.filters.push(t.clone())})},Object.defineProperty(e.prototype,"heatRules",{get:function(){var t=this;return this._heatRules||(this._heatRules=new s.b,this._heatRules.events.on("inserted",function(e){var i=e.newValue,n=i.target;if(n){var r=i.dataField;x.hasValue(r)||(r="value");var s=i.min,a=i.max,u=t.dataItem,h=i.property,c=x.toNumber(i.minValue),p=x.toNumber(i.maxValue);x.isNumber(c)||x.isNumber(p)||t.dataItem.events.on("calculatedvaluechanged",function(e){e.property==r&&y.each(t.dataItems.iterator(),function(t){var e=!1;P.each(t.sprites,function(t){if(t.clonedFrom==n){var i=t;i[h]=i[h],e=!0}}),e||P.each(t.sprites,function(t){t instanceof l.a&&y.each(t.children.iterator(),function(t){if(t.className==n.className){var e=t;e[h]=e[h]}else t instanceof l.a&&t.deepInvalidate()})})})}),t.dataItems.template.events.on("workingvaluechanged",function(t){if(t.property==r){var e=t.target,i=!1;P.each(e.sprites,function(t){if(t.clonedFrom==n){var e=t;e[h]=e[h],i=!0}}),i||P.each(e.sprites,function(t){t instanceof l.a&&y.each(t.children.iterator(),function(t){if(t.className==n.className){var e=t;e[h]=e[h]}else t instanceof l.a&&t.deepInvalidate()})})}}),n.adapter.add(h,function(t,e,n){var l=x.toNumber(i.minValue),h=x.toNumber(i.maxValue);if(e instanceof o.a){var c=e.propertyFields[n];if(c&&e.dataItem){var p=e.dataItem.dataContext;if(p&&x.hasValue(p[c]))return t}}var d=e.dataItem;if((x.isNumber(l)||(l=u.values[r].low),x.isNumber(h)||(h=u.values[r].high),d)&&d.values[r]){var f=d.getActualWorkingValue(r);if(x.hasValue(s)&&x.hasValue(a)&&x.isNumber(l)&&x.isNumber(h)&&x.isNumber(f)){var y=(f-l)/(h-l);if(x.isNumber(f)&&!x.isNumber(y)&&(y=.5),x.isNumber(s))return s+(a-s)*y;if(s instanceof g.a)return new g.a(w.interpolate(s.rgb,a.rgb,y))}}return t})}})),this._heatRules},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i;if(e){if(x.hasValue(e.bullets)&&x.isArray(e.bullets))for(var n=0,r=e.bullets.length;n<r;n++){var o=e.bullets[n];x.hasValue(o.type)||(o.type="Bullet")}x.hasValue(e.heatRules)&&x.isArray(e.heatRules)&&(i=e.heatRules,delete e.heatRules)}if(t.prototype.processConfig.call(this,e),i){for(n=0,r=i.length;n<r;n++){var a=i[n],u=this;if(x.hasValue(a.target)&&x.isString(a.target))if(this.map.hasKey(a.target))u=this.map.getKey(a.target);else for(var l=a.target.split("."),h=0;h<l.length;h++)if(u instanceof s.b){var c=u.getIndex(x.toNumber(l[h]));u=c||u[l[h]]}else u=u[l[h]];a.target=u,x.hasValue(a.min)&&(a.min=this.maybeColorOrPercent(a.min)),x.hasValue(a.max)&&(a.max=this.maybeColorOrPercent(a.max))}t.prototype.processConfig.call(this,{heatRules:i})}},e.prototype.configOrder=function(e,i){return e==i?0:"heatRules"==e?1:"heatRules"==i?-1:t.prototype.configOrder.call(this,e,i)},e}(r.a);f.b.registeredClasses.Series=S,f.b.registeredClasses.SeriesDataItem=O},aPa3:function(t,e,i){var n=i("T9LF").parseFloat,r=i("nAZS").trim;t.exports=1/n(i("brDO")+"-0")!=-1/0?function(t){var e=r(String(t),3),i=n(e);return 0===i&&"-"==e.charAt(0)?-0:i}:n},aZcm:function(t,e,i){"use strict";var n=i("kHwJ"),r=i("DvJ+"),o=i("FmWr"),s=i("20m4"),a=i("YEtG")("isConcatSpreadable");t.exports=function t(e,i,u,l,h,c,p,d){for(var f,g,y=h,m=0,b=!!p&&s(p,d,3);m<l;){if(m in u){if(f=b?b(u[m],m,i):u[m],g=!1,r(f)&&(g=void 0!==(g=f[a])?!!g:n(f)),g&&c>0)y=t(e,i,f,o(f.length),y,c-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=f}y++}m++}return y}},aae5:function(t,e,i){var n=i("Gb1H");n(n.P,"String",{repeat:i("lhvN")})},akNo:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("P/bD"),o=i("Tjl+"),s=i("MipW"),a=i("aCit"),u=i("ScGY"),l=i("Qkdp"),h=i("v9UT"),c=i("Mtpk"),p=i("Gg2j"),d=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._baseUnit="second",e._outputFormat="svg",e._unitValues={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},e._unitAliases={Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"},e.className="DurationFormatter",e.applyTheme(),e}return n.c(e,t),e.prototype.format=function(t,e,i){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var n=i||this._baseUnit;void 0!==e&&""!==e||(e=c.hasValue(this.durationFormat)?this.durationFormat:this.getFormat(c.toNumber(t),null,n)),e=h.cleanFormat(e);var o,s=this.parseFormat(e,n),a=Number(t);o=a>this._negativeBase?s.positive:a<this._negativeBase?s.negative:s.zero;var u=this.applyFormat(a,o);return""!==o.color&&("svg"===this._outputFormat?u="<tspan fill='"+o.color+"'>"+u+"</tspan>":"html"===this._outputFormat&&(u="<span style='color: "+o.color+";'>"+u+"</span>")),u},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(n))return n;var r=e||this._baseUnit,o={positive:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1}},a=(t=t.replace("||",u.e)).split("|");return o.positive.source=a[0],void 0===a[2]?o.zero=o.positive:o.zero.source=a[2],void 0===a[1]?o.negative=o.positive:o.negative.source=a[1],l.each(o,function(t,e){if(!e.parsed)if(void 0===i.getCache(e.source)){var n,r=e.source;(n=e.source.match(/^\[([^\]]*)\]/))&&n.length&&""!==n[0]&&(r=e.source.substr(n[0].length),e.color=n[1]);for(var a=Object(s.b)().chunk(r,!0),l=0;l<a.length;l++){var h=a[l];if(h.text=h.text.replace(u.e,"|"),"value"===h.type){h.text.match(/[yYMdDwhHKkmsSn]+a/)&&(e.absolute=!0,h.text=h.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var p=h.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(p)for(var d=0;d<p.length;d++)c.hasValue(p[d])||(p[d]=i._unitAliases[p[d]]),e.parts.push(p[d]),h.text=h.text.replace(p[d],u.d)}e.template+=h.text}i.setCache(e.source,e),e.parsed=!0}else o[t]=i.getCache(e.source)}),this.setCache(t,o),o},e.prototype.applyFormat=function(t,e){var i=!e.absolute&&t<this._negativeBase;t=Math.abs(t);for(var n=this.toTimeStamp(t,e.baseUnit),r=e.template,o=0,s=e.parts.length;o<s;o++){var a=e.parts[o],l=this.toTimeUnit(a.substr(0,1)),c=a.length,p=Math.floor(n/this._unitValues[l]);r=r.replace(u.d,h.padString(p,c,"0")),n-=p*this._unitValues[l]}return i&&(r="-"+r),r},e.prototype.toTimeStamp=function(t,e){return t*this._unitValues[e]},e.prototype.toTimeUnit=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.getFormat=function(t,e,i){if(c.hasValue(this.durationFormat))return this.durationFormat;if(i||(i=this.baseUnit),c.hasValue(e)&&t!=e){t=Math.abs(t),e=Math.abs(e);var n=this.getValueUnit(p.max(t,e),i);return this.durationFormats[i][n]}var r=this.getValueUnit(t,i);return this.durationFormats[i][r]},e.prototype.getValueUnit=function(t,e){var i;e||(e=this.baseUnit);var n=this.getMilliseconds(t,e);return l.eachContinue(this._unitValues,function(t,r){if(t==e||i){if(n/r<=1)return i||(i=t),!1;i=t}return!0}),i},e.prototype.getMilliseconds=function(t,e){return e||(e=this.baseUnit),t*this._unitValues[e]},Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this._durationFormat},set:function(t){this._durationFormat!=t&&(this._durationFormat=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormats",{get:function(){return this._durationFormats||(this._durationFormats={millisecond:{millisecond:this.language.translate("_duration_millisecond"),second:this.language.translate("_duration_millisecond_second"),minute:this.language.translate("_duration_millisecond_minute"),hour:this.language.translate("_duration_millisecond_hour"),day:this.language.translate("_duration_millisecond_day"),week:this.language.translate("_duration_millisecond_week"),month:this.language.translate("_duration_millisecond_month"),year:this.language.translate("_duration_millisecond_year")},second:{second:this.language.translate("_duration_second"),minute:this.language.translate("_duration_second_minute"),hour:this.language.translate("_duration_second_hour"),day:this.language.translate("_duration_second_day"),week:this.language.translate("_duration_second_week"),month:this.language.translate("_duration_second_month"),year:this.language.translate("_duration_second_year")},minute:{minute:this.language.translate("_duration_minute"),hour:this.language.translate("_duration_minute_hour"),day:this.language.translate("_duration_minute_day"),week:this.language.translate("_duration_minute_week"),month:this.language.translate("_duration_minute_month"),year:this.language.translate("_duration_minute_year")},hour:{hour:this.language.translate("_duration_hour"),day:this.language.translate("_duration_hour_day"),week:this.language.translate("_duration_hour_week"),month:this.language.translate("_duration_hour_month"),year:this.language.translate("_duration_hour_year")},day:{day:this.language.translate("_duration_day"),week:this.language.translate("_duration_day_week"),month:this.language.translate("_duration_day_month"),year:this.language.translate("_duration_day_year")},week:{week:this.language.translate("_duration_week"),month:this.language.translate("_duration_week_month"),year:this.language.translate("_duration_week_year")},month:{month:this.language.translate("_duration_month"),year:this.language.translate("_duration_month_year")},year:{year:this.language.translate("_duration_year")}}),this._durationFormats},set:function(t){this._durationFormats=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(o.a);a.b.registeredClasses.DurationFormatter=d},bPwn:function(t,e,i){var n=i("hjwn").f,r=i("U3hN"),o=i("YEtG")("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},bcCe:function(t,e,i){i("YDsm"),i("9UcF"),i("XUg+"),i("XYQ1"),i("tzvs"),i("fRTO"),i("OWpl"),i("l3wE"),i("xDSx"),i("g2OP"),i("gmzR"),i("Pr7S"),i("Zljy"),i("8oRD"),i("GuW4"),i("e/xe"),i("0B2R"),i("/Oef"),i("fyXH"),i("E+Sg"),i("pvlQ"),i("1Vzv"),i("HyzE"),i("T3RA"),i("rutD"),i("3fx7"),i("gmIO"),i("7Va9"),i("5Les"),i("OKlB"),i("WXwQ"),i("mL9U"),i("B+tY"),i("XQMn"),i("iuHC"),i("5LIN"),i("Kmds"),i("QtEf"),i("57Qg"),i("tIuN"),i("uuf2"),i("Ijb/"),i("e8Y+"),i("/URX"),i("8tDI"),i("fL7J"),i("S9D9"),i("fTgz"),i("EOVy"),i("OxI3"),i("KfrQ"),i("p4R3"),i("iTz5"),i("yl71"),i("hLmE"),i("Kg3M"),i("l9Vx"),i("RC2a"),i("MrGI"),i("aae5"),i("UXfn"),i("xEZ5"),i("hIRz"),i("IGCA"),i("t3Ma"),i("eaU5"),i("RpVB"),i("8NlW"),i("Xt8l"),i("fi6C"),i("rTLi"),i("Ly/W"),i("8LiO"),i("0Czv"),i("LSPs"),i("7xho"),i("31Mu"),i("q+2p"),i("w1yl"),i("EVjk"),i("U1Gp"),i("MbWG"),i("5BRL"),i("gc4I"),i("xwvB"),i("ssJO"),i("ds6r"),i("8ujI"),i("Oko+"),i("3xrs"),i("/dMO"),i("LLsa"),i("QZG2"),i("Ztji"),i("nZH2"),i("lKl7"),i("f5kt"),i("F2Gx"),i("N/Yk"),i("2/6D"),i("LHMX"),i("zy/o"),i("jvLk"),i("jgQn"),i("aHTY"),i("rU+O"),i("qgJR"),i("4McO"),i("T3m9"),i("dLrC"),i("xCMl"),i("BYDm"),i("vaBr"),i("PXSi"),i("+gRV"),i("dS+R"),i("rU6r"),i("NSvu"),i("C2uA"),i("AiPC"),i("vH9k"),i("7DgU"),i("z9n7"),i("LGy/"),i("IcXr"),i("6PqY"),i("ch2R"),i("oVsg"),i("iYyY"),i("hLeK"),i("oAPj"),i("YnyG"),i("necU"),i("2OOH"),i("EMhK"),i("j2vi"),i("vsTS"),i("GqPQ"),i("0yJt"),i("icDv"),i("Gxer"),i("K2Eo"),i("VCCo"),i("B2g9"),i("of/x"),i("nEmP"),i("1lef"),i("LMet"),i("uc+e"),i("wdkS"),i("mOSd"),i("OuXI"),i("vDrc"),i("9MGJ"),i("Obr2"),i("EEf7"),i("6l3Y"),i("osLN"),i("ZytL"),i("T9+M"),i("d5pU"),i("MT+g"),i("X3ZK"),i("r7ZX"),i("tYpR"),i("68eo"),i("izpu"),i("UPxv"),i("0jav"),i("8aZA"),i("YF4K"),i("Zisa"),i("Xf1i"),i("l2gh"),i("l3rq"),i("Qgck"),i("3X+j"),i("ITVZ"),i("MsQa"),i("cm0w"),i("BTtL"),i("O8xK"),i("8LwG"),i("uqxK"),i("ma7z"),i("gJSe"),i("NKpi"),i("oMjf"),i("yBbu"),i("2Dqo"),i("L8kC"),i("FSsr"),i("fDnL"),i("vFXE"),i("ybeA"),i("/NC3"),i("6mHT"),t.exports=i("G5U1")},bdjS:function(t,e,i){"use strict";var n=i("3BzE"),r=i("pmYy"),o=i("eBSV"),s=i("vJiZ"),a=i("sHIJ"),u=Object.assign;t.exports=!u||i("AEc5")(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[i]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var i=s(t),u=arguments.length,l=1,h=r.f,c=o.f;u>l;)for(var p,d=a(arguments[l++]),f=h?n(d).concat(h(d)):n(d),g=f.length,y=0;g>y;)c.call(d,p=f[y++])&&(i[p]=d[p]);return i}:u},brDO:function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},bytU:function(t,e,i){var n=i("4BRe"),r=i("FmWr");t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=r(e);if(e!==i)throw RangeError("Wrong length!");return i}},"cA+3":function(t,e,i){var n=i("wDk4");t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},cOH5:function(t,e,i){"use strict";i.d(e,"a",function(){return r});var n=i("m4/l"),r=function(t){function e(e){return t.call(this,e)||this}return n.c(e,t),e.prototype.add=function(t){t&&this.node.appendChild(t.node)},e.prototype.addToBack=function(t){if(t){var e=this.node.childNodes[0];e?e!=t.node&&this.node.insertBefore(t.node,e):this.node.appendChild(t.node)}},e.prototype.removeElement=function(t){if(t)try{t.node&&t.node.parentNode==this.node&&this.node.removeChild(t.node)}catch(t){}},e.prototype.hasChild=function(t){for(var e=0;e<this.node.childNodes.length;e++)if(this.node.childNodes[e]==t.node)return!0;return!1},Object.defineProperty(e.prototype,"content",{get:function(){return this.node.innerHTML},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),e.prototype.removeChildren=function(){if(this.node.childNodes)for(;this.node.childNodes.length>0;){var t=this.node.firstChild;t&&t.parentNode&&t.parentNode.removeChild(t)}},e}(i("pzs1").a)},ch2R:function(t,e,i){var n=i("hjwn"),r=i("Gb1H"),o=i("snR7"),s=i("W0fk");r(r.S+r.F*i("AEc5")(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,i){o(t),e=s(e,!0),o(i);try{return n.f(t,e,i),!0}catch(t){return!1}}})},cm0w:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{umulh:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n,s=i>>>16,a=n>>>16,u=(s*o>>>0)+(r*o>>>16);return s*a+(u>>>16)+((r*a>>>0)+(65535&u)>>>16)}})},cxKZ:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("C6dT"),o=i("aCit"),s=i("MZQ8"),a=i("p9TX"),u=i("1yyj"),l=i("8ZqG"),h=i("VAFc"),c=i("Gg2j"),p=i("0FpR"),d=i("v9UT"),f=function(t){function e(){var e=t.call(this)||this;e._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},e._pointTo={x:0,y:0},e.fitPointerToBounds=!1,e._verticalOrientation="up",e.className="Tooltip",e.isMeasured=!1,e.getFillFromObject=!0,e.margin(5,5,5,5),e.defaultState.transitionDuration=1,e.hiddenState.transitionDuration=1;var i=e.background;i.interactionsEnabled=!1,i.fillOpacity=.9,i.strokeWidth=1,i.strokeOpacity=1,i.stroke=Object(l.c)("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10;var n=new h.a;n.dy=1,n.dx=1,n.opacity=.5,i.filters.push(n),e.autoTextColor=!0;var r=e.createChild(a.a);return r.shouldClone=!1,e.label=r,r.padding(7,12,4,12),r.interactionsEnabled=!1,r.horizontalCenter="middle",r.fill=Object(l.c)("#ffffff"),e._disposers.push(r),e.label.events.on("sizechanged",e.drawBackground,e),e.label.zIndex=1,e.pointerOrientation="vertical",e.animationDuration=0,e.animationEasing=p.cubicOut,e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return n.c(e,t),e.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(e.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(t){this.setPropertyValue("getStrokeFromObject",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")},set:function(t){this.setPropertyValue("autoTextColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepTargetHover",{get:function(){return this.getPropertyValue("keepTargetHover")},set:function(t){var e=this;this.setPropertyValue("keepTargetHover",t,!0)&&t&&(this.hoverable=!0,this.background.interactionsEnabled=!0,this._disposers.push(this.events.on("over",function(t){e.targetSprite&&e.targetSprite.hoverable&&(e.targetSprite.isHover=!0)})),this._disposers.push(this.events.on("out",function(t){e.targetSprite&&e.targetSprite.hoverable&&(e.targetSprite.isHover=!1)})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(t){this.setPropertyValue("getFillFromObject",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new s.a},Object.defineProperty(e.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(t){this.setPropertyValue("pointerOrientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.label.html},set:function(t){this.label.html!=t&&(this.label.html=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.label.text},set:function(t){this.label.text!=t&&(this.label.text=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.label;e.invalid&&e.validate();var i,n,r=this._pointTo.x,o=this._pointTo.y,s=this._boundingRect,a=e.measuredWidth,u=e.measuredHeight,l=this.background.pointerLength;if(a>s.width){d.spritePointToDocument({x:s.x,y:s.y},this.parent);var h=d.spritePointToDocument({x:s.x+s.width,y:s.y+s.height},this.parent),p=document.body.offsetWidth;d.used(document.body.offsetHeight),h.x>p/2?s.x=s.width-a:s.width=s.x+a}"horizontal"==this.pointerOrientation?(n=-u/2,i=r>s.x+s.width/2?-a/2-l:a/2+l):(i=c.fitToRange(0,s.x-r+a/2,s.x-r+s.width-a/2),o>s.y+u+l?(n=-u-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down")),n=c.fitToRange(n,s.y-o,s.y+s.height-u-o),e.x=i,e.y=n,this.drawBackground()},e.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},e.prototype.drawBackground=function(){var t=this.label,e=this.background,i=t.measuredWidth,n=t.measuredHeight,r=this._boundingRect,o=i,s=t.pixelX-i/2,a=n,u=t.pixelY,l=this._pointTo.x,h=this._pointTo.y,p=r.x-l,d=p+r.width,f=r.y-h,g=f+r.height;e.x=s,e.y=u,e.width=o,e.height=a,this.fitPointerToBounds?(e.pointerX=c.fitToRange(-e.x,p-e.x,d-e.x),e.pointerY=c.fitToRange(-e.y,f-e.y,g-e.y)):(e.pointerX=-e.x,e.pointerY=-e.y),e.validate()},e.prototype.pointTo=function(t,e){this._pointTo.x==t.x&&this._pointTo.y==t.y||(this._pointTo=t,this.invalidate(),!this.visible||e?(this.moveTo(this._pointTo),this._animation&&this._animation.kill()):0==this.pixelX&&0==this.pixelY?this.moveTo(this._pointTo):(this._animation&&this._animation.kill(),this._animation=new u.a(this,[{property:"x",to:t.x,from:this.pixelX},{property:"y",to:t.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},e.prototype.setBounds=function(t){var e=this._boundingRect;e.x==t.x&&e.y==t.y&&e.width==t.width&&e.height==t.height||(this._boundingRect=t,this.invalidate())},Object.defineProperty(e.prototype,"boundingContainer",{set:function(t){this._boundingContainer=t,t.events.on("sizechanged",this.updateBounds,this),t.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),e.prototype.updateBounds=function(){var t=this._boundingContainer,e=d.spriteRectToSvg({x:t.pixelX,y:t.pixelY,width:t.maxWidth,height:t.maxHeight},t);this.setBounds(e)},Object.defineProperty(e.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label)},e}(r.a);o.b.registeredClasses.Tooltip=f},d5pU:function(t,e,i){i("6+x4")("WeakMap")},dJEq:function(t,e,i){var n=i("MfZA"),r=i("WtL7");t.exports=function(t){return function(){if(n(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},dLrC:function(t,e,i){"use strict";var n=i("hgv4"),r=i("rFJX");t.exports=i("/Xnt")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return n.def(r(this,"Map"),0===t?0:t,e)}},n,!0)},"dS+R":function(t,e,i){i("YJIw")("Int8",1,function(t){return function(e,i,n){return t(this,e,i,n)}})},ds6r:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(1);n(n.P+n.F*!i("GQop")([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},dstF:function(t,e,i){var n=i("20m4"),r=i("sHIJ"),o=i("vJiZ"),s=i("FmWr"),a=i("L2Mu");t.exports=function(t,e){var i=1==t,u=2==t,l=3==t,h=4==t,c=6==t,p=5==t||c,d=e||a;return function(e,a,f){for(var g,y,m=o(e),b=r(m),v=n(a,f,3),_=s(b.length),x=0,P=i?d(e,_):u?d(e,0):void 0;_>x;x++)if((p||x in b)&&(y=v(g=b[x],x,m),t))if(i)P[x]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:P.push(g)}else if(h)return!1;return c?-1:l||h?h:P}}},"e/xe":function(t,e,i){var n=i("Gb1H");n(n.S,"Object",{is:i("DVvQ")})},e8Nv:function(t,e,i){"use strict";var n=i("hjwn"),r=i("Wbjh");t.exports=function(t,e,i){e in t?n.f(t,e,r(0,i)):t[e]=i}},"e8Y+":function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{fround:i("kg8J")})},eAid:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("8ZqG"),a=i("MIZb"),u=function(t){function e(){var e=t.call(this)||this;e.className="AxisLine",e.element=e.paper.add("path");var i=new a.a;return e.stroke=i.getFor("grid"),e.strokeOpacity=.15,e.pixelPerfect=!0,e.fill=Object(s.c)(),e.applyTheme(),e.interactionsEnabled=!1,e}return n.c(e,t),e}(r.a);o.b.registeredClasses.AxisLine=u},eBSV:function(t,e){e.f={}.propertyIsEnumerable},eCqC:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return s});var n=i("+qIf"),r=i("Mtpk"),o=function(){function t(){this._storage=new n.a,this.ttl=1e3}return t.prototype.set=function(t,e,i,o){var s=this._storage.insertKeyIfEmpty(t,function(){return new n.a}),a={touched:(new Date).getTime(),ttl:r.isNumber(o)?o:this.ttl,value:i};s.setKey(e,a)},t.prototype.get=function(t,e,i){if(void 0===i&&(i=void 0),this._storage.hasKey(t)){var n=this._storage.getKey(t);if(n.hasKey(e)){var r=n.getKey(e);return r.ttl&&r.touched+r.ttl<(new Date).getTime()&&(r.expired=!0),r.expired?(n.removeKey(e),i):r.value}return i}return i},t.prototype.clear=function(t){t?this._storage.removeKey(t):this._storage.clear()},t}(),s=new o},eN1s:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("qzbU"),o=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="AxisTick",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1,e.pixelPerfect=!0,e.strokeOpacity=0,e.length=5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.b.registeredClasses.AxisTick=s},eaU5:function(t,e,i){"use strict";i("Mvcd")("fixed",function(t){return function(){return t(this,"tt","","")}})},"eh+x":function(t,e){t.exports=Math.scale||function(t,e,i,n,r){return 0===arguments.length||t!=t||e!=e||i!=i||n!=n||r!=r?NaN:t===1/0||t===-1/0?t:(t-e)*(r-n)/(i-e)+n}},f5kt:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("M/YL")("find")},fDnL:function(t,e,i){var n=i("Gb1H"),r=i("RzG0")(),o=i("T9LF").process,s="process"==i("DVYA")(o);n(n.G,{asap:function(t){var e=s&&o.domain;r(e?e.bind(t):t)}})},fL7J:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},fRTO:function(t,e,i){var n=i("vJiZ"),r=i("K0ev");i("5lay")("getPrototypeOf",function(){return function(t){return r(n(t))}})},fTgz:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},fi6C:function(t,e,i){"use strict";i("Mvcd")("link",function(t){return function(e){return t(this,"a","href",e)}})},fyXH:function(t,e,i){var n=i("Gb1H");n(n.P,"Function",{bind:i("lLkc")})},g2OP:function(t,e,i){var n=i("DvJ+"),r=i("kFp5").onFreeze;i("5lay")("seal",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},gD3S:function(t,e,i){t.exports=!i("AEc5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},gJSe:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=i("K0ev"),s=n.has,a=n.get,u=n.key,l=function(t,e,i){if(s(t,e,i))return a(t,e,i);var n=o(e);return null!==n?l(t,n,i):void 0};n.exp({getMetadata:function(t,e){return l(t,r(e),arguments.length<3?void 0:u(arguments[2]))}})},gc4I:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("Ax3V"),o=i("DVYA"),s=i("UwWU"),a=i("FmWr"),u=[].slice;n(n.P+n.F*i("AEc5")(function(){r&&u.call(r)}),"Array",{slice:function(t,e){var i=a(this.length),n=o(this);if(e=void 0===e?i:e,"Array"==n)return u.call(this,t,e);for(var r=s(t,i),l=s(e,i),h=a(l-r),c=new Array(h),p=0;p<h;p++)c[p]="String"==n?this.charAt(r+p):this[r+p];return c}})},gmIO:function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},gmzR:function(t,e,i){var n=i("DvJ+"),r=i("kFp5").onFreeze;i("5lay")("preventExtensions",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},hD5A:function(t,e,i){"use strict";i.d(e,"b",function(){return s}),i.d(e,"c",function(){return a}),i.d(e,"d",function(){return u}),i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("hJ5i"),o=i("Mtpk"),s=function(){function t(t){this._disposed=!1,this._dispose=t}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._dispose())},t}(),a=function(t){function e(e){return t.call(this,function(){r.each(e,function(t){t.dispose()})})||this}return n.c(e,t),e}(s),u=function(t){function e(){var e=t.call(this,function(){o.hasValue(e._disposer)&&(e._disposer.dispose(),e._disposer=void 0)})||this;return e}return n.c(e,t),e.prototype.get=function(){return this._value},e.prototype.set=function(t,e){o.hasValue(this._disposer)&&this._disposer.dispose(),this._disposer=e,this._value=t},e.prototype.reset=function(){this.set(void 0,void 0)},e}(s),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._counter=0,e}return n.c(e,t),e.prototype.increment=function(){var t=this;return++this._counter,new s(function(){--t._counter,0===t._counter&&t.dispose()})},e}(s)},hGwe:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polyline=function(t){var e=u(t[0]),i={x:0,y:0},o=s.a.minPolylineStep;r.isNumber(o)||(o=.5);for(var a=0,l=t.length;a<l;a++){var h=t[a];n.getDistance(h,i)>o&&(e+=u(h),i=h)}return e},e.moveTo=a,e.lineTo=u,e.quadraticCurveTo=function(t,e){return" Q"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)},e.cubicCurveTo=function(t,e,i){return" C"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(i.x,4)+","+n.round(i.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)},e.closePath=l,e.arcTo=h,e.arc=function(t,e,i,o,s,l,p){if(0==e)return"";r.isNumber(o)||(o=0);if(0==i&&o<=0)return"";if(i<o){var d=i;i=o,o=d,r.isNumber(s)&&(s=s/o*i)}360==(e=n.min(e,360))&&(l=0,p=0);var f=t+e,g=n.sin(n.min(e,45)/2);s=r.isNumber(s)?s:i,l=l||0,p=r.isNumber(p)?p:l;var y=s/i*o,m=s/i*l,b=s/i*p;l=n.fitToRange(l,0,(i-o)/2),m=n.fitToRange(m,0,(s-y)/2),p=n.fitToRange(p,0,(i-o)/2),b=n.fitToRange(b,0,(s-y)/2),l=n.round(n.fitToRange(l,0,i*g),4),m=n.round(n.fitToRange(m,0,s*g),4),p=n.round(n.fitToRange(p,0,o*g),4),b=n.round(n.fitToRange(b,0,y*g),4);var v=Math.asin(l/i/2)*n.DEGREES*2,_=Math.asin(m/s/2)*n.DEGREES*2;o<p&&(o=p);y<b&&(y=b);var x=Math.asin(p/o/2)*n.DEGREES*2,P=Math.asin(b/y/2)*n.DEGREES*2;r.isNumber(x)||(x=0);r.isNumber(P)||(P=0);var w=t+e/2,O={x:n.round(n.cos(w)*o,4),y:n.sin(w)*y},S={x:n.cos(t)*(o+p),y:n.sin(t)*(y+b)},T={x:n.cos(t)*(i-l),y:n.sin(t)*(s-m)},C={x:n.cos(f)*(i-l),y:n.sin(f)*(s-m)},k={x:n.cos(f)*(o+p),y:n.sin(f)*(y+b)},M={x:n.cos(t+v)*i,y:n.sin(t+_)*s},j={x:n.cos(f-x)*o,y:n.sin(f-P)*y};p+=p*n.sin(x/2),b+=b*n.sin(P/2),x>(f-t)/2&&(j=O);var I="";360==e?I=a(T):(I=a(S),I+=u(T),I+=c(M,l,m,!0));I+=h(t+v,e-2*v,i,s),r.isNumber(o)&&0!=o?(360==e&&0==l?I+=a(k):(I+=c(C,l,m,!0),I+=u(k),I+=c(j,p,b,!0)),I+=h(f-x,-(e-2*x),o,y),(e<360||l>0)&&(I+=c(S,p,b,!0)),I+=u(S)):(I+=c(C,l,m,!0),e<360&&(I+=u(S)));return I},e.arcToPoint=c,e.rectangle=function(t,e,i,n){r.isNumber(i)||(i=0);r.isNumber(n)||(n=0);return a({x:i,y:n})+u({x:i+t,y:n})+u({x:i+t,y:n+e})+u({x:i,y:n+e})+" Z"},e.rectToPath=function(t,e){var i=",",n=" L";return e?"M"+t.x+i+t.y+n+t.x+i+(t.y+t.height)+n+(t.x+t.width)+i+(t.y+t.height)+n+(t.x+t.width)+i+t.y+n+t.x+i+t.y:"M"+t.x+i+t.y+n+(t.x+t.width)+i+t.y+n+(t.x+t.width)+i+(t.y+t.height)+n+t.x+i+(t.y+t.height)+n+t.x+i+t.y},e.pathToPoints=function(t,e){var i=Object(o.b)().add("path").node;if(i.setAttribute("d",t),i.getPointAtLength&&i.getTotalLength){for(var n=i.getTotalLength(),r=[],s=0;s<e;s++){var a=i.getPointAtLength(s/e*n);r.push({x:a.x,y:a.y})}return r}i.remove()},e.spiralPoints=function(t,e,i,r,o,s,a){var u=o+.01,l=0,h=[];for(;u<i;){var c=s;c/2>u&&(c=2*u);var p=(l+=2*Math.asin(c/2/u))*n.DEGREES,d={x:t+u*Math.cos(l),y:e+u*r/i*Math.sin(l)};h.push(d),u=o+p/360*a}return h},e.pointsToPath=function(t){var e=a(t[0]);if(t&&t.length>0)for(var i=1;i<t.length;i++)e+=u(t[i]);return e};var n=i("Gg2j"),r=i("Mtpk"),o=i("P7v+"),s=i("Q4nc");function a(t){return" M"+n.round(t.x,4)+","+n.round(t.y,4)+" "}function u(t){return" L"+n.round(t.x,4)+","+n.round(t.y,4)+" "}function l(){return" Z"}function h(t,e,i,o){if(0==e)return"";r.isNumber(o)||(o=i);var s="",a=",",l=Math.ceil(Math.abs(e)/180),h=1;e<0&&(h=0);var c=0,p=0,d=-n.cos(t)*i,f=-n.sin(t)*o;if(e<.5&&i>3e3){var g=t+e;return u({x:m=n.round(n.cos(g)*i,4),y:b=n.round(n.sin(g)*o,4)})}for(var y=0;y<l;y++){var m,b;g=t+e/l*(y+1);s+=" a"+i+a+o+a+0+a+0+a+h+a+(m=n.round(n.cos(g)*i+d-c,4))+a+(b=n.round(n.sin(g)*o+f-p,4)),c=m,p=b}return s}function c(t,e,i,r,o,s){if(0==e)return"";var a=",";return" A"+e+a+i+a+(s=s||0)+a+ +(o=Boolean(o))+a+ +(r=Boolean(r))+a+n.round(t.x,4)+a+n.round(t.y,4)}},hIRz:function(t,e,i){"use strict";i("Mvcd")("big",function(t){return function(){return t(this,"big","","")}})},hJ5i:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.indexOf=o,e.any=function(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n]))return!0;return!1},e.map=function(t,e){for(var i=t.length,n=new Array(i),r=0;r<i;++r)n[r]=e(t[r],r);return n},e.each=function(t,e){for(var i=t.length,n=0;n<i;++n)e(t[n],n)},e.eachReverse=function(t,e){var i=t.length;for(;i--;)e(t[i],i)},e.eachContinue=function(t,e){for(var i=t.length,n=0;n<i&&e(t[n],n);++n);},e.shiftLeft=function(t,e){for(var i=t.length,n=e;n<i;++n)t[n-e]=t[n];t.length=i-e},e.last=function(t){var e=t.length;return e?t[e-1]:void 0},e.first=function(t){return t[0]},e.insert=s,e.setIndex=function(t,e,i){a(t,e),s(t,e,i)},e.pushAll=function(t,e){for(var i=e.length,n=0;n<i;++n)t.push(e[n])},e.remove=a,e.move=function(t,e,i){var n=o(t,e);-1!==n&&l(t,n);null==i?t.push(e):u(t,i,e)},e.add=function(t,e,i){r.isNumber(i)?0===i?t.unshift(e):t.splice(i,0,e):t.push(e)},e.replace=function(t,e,i){var n=t.indexOf(e);-1!==n&&t.splice(n,1);r.isNumber(i)?t.splice(i,0,e):t.push(e)},e.toArray=function(t){return Array.isArray(t)?t:[t]},e.has=function(t,e){return-1!==o(t,e)},e.copy=function(t){for(var e=t.length,i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i},e.slice=function(t,e,i){void 0===i&&(i=t.length);for(var n=new Array(i-e),r=e;r<i;++r)n[r-e]=t[r];return n},e.insertIndex=u,e.removeIndex=l,e.getSortedIndex=function(t,e,i){var n=0,r=t.length,o=!1;for(;n<r;){var s=n+r>>1,a=e(i,t[s]);a<0?r=s:0===a?(o=!0,n=s+1):n=s+1}return{found:o,index:o?n-1:n}},e.findIndex=h,e.find=function(t,e){var i=h(t,e);if(-1!==i)return t[i]},e.shuffle=function(t){var e,i,n=t.length;for(;0!==n;)i=Math.floor(Math.random()*n),e=t[n-=1],t[n]=t[i],t[i]=e};var n=i("Gg2j"),r=i("Mtpk");function o(t,e){for(var i=t.length,n=0;n<i;++n)if(t[n]===e)return n;return-1}function s(t,e,i){i=n.fitToRange(i,0,t.length),t.splice(i,0,e)}function a(t,e){var i=!1,n=t.indexOf(e);if(-1!==n){i=!0,t.splice(n,1);for(var r=t.length;n<r;)t[n]===e?(t.splice(n,1),--r):++n}return i}function u(t,e,i){t.splice(e,0,i)}function l(t,e){t.splice(e,1)}function h(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n],n))return n;return-1}},hLeK:function(t,e,i){var n=i("nHHr"),r=i("K0ev"),o=i("U3hN"),s=i("Gb1H"),a=i("DvJ+"),u=i("snR7");s(s.S,"Reflect",{get:function t(e,i){var s,l,h=arguments.length<3?e:arguments[2];return u(e)===h?e[i]:(s=n.f(e,i))?o(s,"value")?s.value:void 0!==s.get?s.get.call(h):void 0:a(l=r(e))?t(l,i,h):void 0}})},hLmE:function(t,e,i){"use strict";i("nAZS")("trim",function(t){return function(){return t(this,3)}})},hcxM:function(t,e,i){var n=i("DvJ+"),r=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&r(t)===t}},heQh:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},hgv4:function(t,e,i){"use strict";var n=i("hjwn").f,r=i("5+SK"),o=i("cA+3"),s=i("20m4"),a=i("ypVE"),u=i("hpnp"),l=i("Uobz"),h=i("36h5"),c=i("vdWU"),p=i("gD3S"),d=i("kFp5").fastKey,f=i("rFJX"),g=p?"_s":"size",y=function(t,e){var i,n=d(e);if("F"!==n)return t._i[n];for(i=t._f;i;i=i.n)if(i.k==e)return i};t.exports={getConstructor:function(t,e,i,l){var h=t(function(t,n){a(t,h,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=n&&u(n,i,t[l],t)});return o(h.prototype,{clear:function(){for(var t=f(this,e),i=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete i[n.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var i=f(this,e),n=y(i,t);if(n){var r=n.n,o=n.p;delete i._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),i._f==n&&(i._f=r),i._l==n&&(i._l=o),i[g]--}return!!n},forEach:function(t){f(this,e);for(var i,n=s(t,arguments.length>1?arguments[1]:void 0,3);i=i?i.n:this._f;)for(n(i.v,i.k,this);i&&i.r;)i=i.p},has:function(t){return!!y(f(this,e),t)}}),p&&n(h.prototype,"size",{get:function(){return f(this,e)[g]}}),h},def:function(t,e,i){var n,r,o=y(t,e);return o?o.v=i:(t._l=o={i:r=d(e,!0),k:e,v:i,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[g]++,"F"!==r&&(t._i[r]=o)),t},getEntry:y,setStrong:function(t,e,i){l(t,e,function(t,i){this._t=f(t,e),this._k=i,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?h(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,h(1))},i?"entries":"values",!i,!0),c(e)}}},hjwn:function(t,e,i){var n=i("snR7"),r=i("HW78"),o=i("W0fk"),s=Object.defineProperty;e.f=i("gD3S")?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return s(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},hpNl:function(t,e,i){"use strict";i.d(e,"a",function(){return r});var n=i("8ZqG"),r=function(){function t(){}return t.opacity=1,t.strokeOpacity=1,t.strokeWidth=1,t.fillOpacity=1,t.fill=Object(n.c)("#000000"),t.stroke=Object(n.c)("#000000"),t.focusable=void 0,t.tabindex=0,t}()},hpnp:function(t,e,i){var n=i("20m4"),r=i("sNEp"),o=i("a8UT"),s=i("snR7"),a=i("FmWr"),u=i("iOZG"),l={},h={};(e=t.exports=function(t,e,i,c,p){var d,f,g,y,m=p?function(){return t}:u(t),b=n(i,c,e?2:1),v=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=a(t.length);d>v;v++)if((y=e?b(s(f=t[v])[0],f[1]):b(t[v]))===l||y===h)return y}else for(g=m.call(t);!(f=g.next()).done;)if((y=r(g,b,f.value,e))===l||y===h)return y}).BREAK=l,e.RETURN=h},hxI2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rgb=function(t,e){var i;o[t]?i=o[t]:"#"===t.charAt(0)?i=s(t):t.match(/^rgba?\(/)&&(i=a(t));i||(i={r:0,g:0,b:0,a:1});r.hasValue(e)&&(i.a=e);return i},e.hexToRgb=s,e.rgbaToRgb=a,e.rgbToHex=function(t){return"#"+u(t.r.toString(16))+u(t.g.toString(16))+u(t.b.toString(16))},e.rgbToRGBA=function(t){return r.hasValue(t.a)&&1!==t.a?"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb("+t.r+","+t.g+","+t.b+")"},e.pad2=u,e.interpolate=function(t,e,i){return i=n.fitToRange(i,0,1),t?e?{r:t.r+Math.round((e.r-t.r)*i),g:t.g+Math.round((e.g-t.g)*i),b:t.b+Math.round((e.b-t.b)*i),a:(t.a||1)+Math.round(((e.a||1)-(t.a||1))*i)}:t:e||t},e.lighten=function(t,e){return t?{r:Math.max(0,Math.min(255,t.r+l(t.r,e))),g:Math.max(0,Math.min(255,t.g+l(t.g,e))),b:Math.max(0,Math.min(255,t.b+l(t.b,e))),a:t.a}:t},e.getLightnessStep=l,e.brighten=function(t,e){if(t){var i=Math.min(Math.max(t.r,t.g,t.b),230),n=l(i,e);return{r:Math.max(0,Math.min(255,Math.round(t.r+n))),g:Math.max(0,Math.min(255,Math.round(t.g+n))),b:Math.max(0,Math.min(255,Math.round(t.b+n))),a:t.a}}return t},e.getBrightnessStep=function(t,e){return Math.round(255*e)},e.saturate=function(t,e){if(null==t||1==e)return t;var i=c(t);return i.s=e,h(i)},e.hslToRgb=h,e.rgbToHsl=c,e.rgbToHsv=function(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),s=0,a=0,u=r,l=r-o;if(a=0==r?0:l/r,r==o)s=0;else{switch(r){case e:s=(i-n)/l+(i<n?6:0);break;case i:s=(n-e)/l+2;break;case n:s=(e-i)/l+4}s/=6}return{h:s,s:a,v:u}},e.hsvToRgb=function(t){var e=0,i=0,n=0,r=t.h,o=t.s,s=t.v,a=Math.floor(6*r),u=6*r-a,l=s*(1-o),h=s*(1-u*o),c=s*(1-(1-u)*o);switch(a%6){case 0:e=s,i=c,n=l;break;case 1:e=h,i=s,n=l;break;case 2:e=l,i=s,n=c;break;case 3:e=l,i=h,n=s;break;case 4:e=c,i=l,n=s;break;case 5:e=s,i=l,n=h}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}},e.isLight=function(t){return(299*t.r+587*t.g+114*t.b)/1e3>=128};var n=i("Gg2j"),r=i("Mtpk"),o={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgrey:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},grey:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgrey:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function s(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n){return e+e+i+i+n+n});var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:void 0}function a(t){var e=(t=t.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(!(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return;return{r:parseInt(e[1]),g:parseInt(e[2]),b:parseInt(e[3]),a:parseFloat(e[4])}}function u(t){return 1==t.length?"0"+t:""+t}function l(t,e){var i=e>0?255-t:t;return Math.round(i*e)}function h(t){var e,i,n,r=t.h,o=t.s,s=t.l;if(0==o)e=i=n=s;else{var a=function(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},u=s<.5?s*(1+o):s+o-s*o,l=2*s-u;e=a(l,u,r+1/3),i=a(l,u,r),n=a(l,u,r-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function c(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),s=0,a=0,u=(r+o)/2;if(r===o)s=a=0;else{var l=r-o;switch(a=u>.5?l/(2-r-o):l/(r+o),r){case e:s=(i-n)/l+(i<n?6:0);break;case i:s=(n-e)/l+2;break;case n:s=(e-i)/l+4}s/=6}return{h:s,s:a,l:u}}},iAlL:function(t,e,i){var n=i("3BzE"),r=i("EhJv"),o=i("eBSV").f;t.exports=function(t){return function(e){for(var i,s=r(e),a=n(s),u=a.length,l=0,h=[];u>l;)o.call(s,i=a[l++])&&h.push(t?[i,s[i]]:s[i]);return h}}},iOZG:function(t,e,i){var n=i("MfZA"),r=i("YEtG")("iterator"),o=i("9BM3");t.exports=i("G5U1").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[n(t)]}},iTz5:function(t,e,i){var n=i("Gb1H"),r=i("UwWU"),o=String.fromCharCode,s=String.fromCodePoint;n(n.S+n.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,i=[],n=arguments.length,s=0;n>s;){if(e=+arguments[s++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");i.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return i.join("")}})},iYyY:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("snR7"),o=function(t){this._t=r(t),this._i=0;var e,i=this._k=[];for(e in t)i.push(e)};i("Cekr")(o,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),n(n.S,"Reflect",{enumerate:function(t){return new o(t)}})},icDv:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("aZcm"),o=i("vJiZ"),s=i("FmWr"),a=i("DbOM"),u=i("L2Mu");n(n.P,"Array",{flatMap:function(t){var e,i,n=o(this);return a(t),e=s(n.length),i=u(n,0),r(i,n,n,e,0,1,t,arguments[1]),i}}),i("M/YL")("flatMap")},iuHC:function(t,e,i){var n=i("Gb1H"),r=i("17ao");n(n.S+n.F*(Number.parseInt!=r),"Number",{parseInt:r})},izpu:function(t,e,i){var n=i("Gb1H");n(n.G,{global:i("T9LF")})},j2vi:function(t,e,i){var n=i("Gb1H"),r=i("snR7"),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},jfaP:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("8ZqG"),s=i("aCit"),a=i("hGwe"),u=i("Gg2j"),l=function(t){function e(){var e=t.call(this)||this;return e._distance=0,e.className="Polyline",e.element=e.paper.add("path"),e.shapeRendering="auto",e.fill=Object(o.c)(),e.strokeOpacity=1,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){for(var e="",i=0,n=t.length;i<n;i++){var r=t[i];if(r.length>0){e+=a.moveTo(r[0]);for(var o=1;o<r.length;o++){var s=r[o];e+=a.lineTo(s),this._distance+=u.getDistance(r[o-1],s)}}}this.path=e}this._realSegments=t},Object.defineProperty(e.prototype,"segments",{get:function(){return this.getPropertyValue("segments")},set:function(t){this.setPropertyValue("segments",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distance",{get:function(){return this._distance},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=0;t<0&&(t=Math.abs(t),e=180);var i=this._realSegments;if(i){for(var n=this.distance,r=0,o=0,s=0,a=void 0,l=void 0,h=0;h<i.length;h++){var c=i[h];if(c.length>1){for(var p=1;p<c.length;p++)if(a=c[p-1],l=c[p],o=r/n,s=(r+=u.getDistance(a,l))/n,o<=t&&s>t){h=i.length;break}}else 1==c.length&&(a=c[0],l=c[0],o=0,s=1)}if(a&&l){var d=(t-o)/(s-o),f=u.getMidPoint(a,l,d);return{x:f.x,y:f.y,angle:e+u.getAngle(a,l)}}}return{x:0,y:0,angle:0}},e}(r.a);s.b.registeredClasses.Polyline=l},jgQn:function(t,e,i){i("gD3S")&&"g"!=/./g.flags&&i("hjwn").f(RegExp.prototype,"flags",{configurable:!0,get:i("x2K9")})},jvLk:function(t,e,i){"use strict";i("jgQn");var n=i("snR7"),r=i("x2K9"),o=i("gD3S"),s=/./.toString,a=function(t){i("wDk4")(RegExp.prototype,"toString",t,!0)};i("AEc5")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},k6kv:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("Meme"),o=i("ND2/"),s=i("w4m0"),a=i("aCit"),u=i("tjMS"),l=i("Gg2j"),h=i("hGwe"),c=i("v9UT"),p=i("Mtpk"),d=i("TGuK"),f=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererX",e.minGridDistance=120,e.opposite=!1,e.rotation=0,e.width=Object(u.c)(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return n.c(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="vertical"},e.prototype.updateGridContainer=function(){var t=this.axis;if(t){var e=this.gridContainer;e.x=t.pixelX,e.width=t.pixelWidth}},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){e.width instanceof u.a||(e.width=Object(u.c)(100)),c.used(this.line);var i=e.title;i.rotation=0,i.align="center",this.opposite?(this.line.toFront(),i.toBack()):(i.toFront(),this.line.toBack())}},e.prototype.updateTooltip=function(){if(this.axis){var t=this.line.pixelX,e=this.line.pixelY,i=this.axisLength,n=1e3;this.opposite?this.inside||(e=-1e3,n=1e3):this.inside&&(e=-1e3,n=1e3),this.axis.updateTooltip("vertical",{x:t,y:e,width:i,height:n})}},e.prototype.updateLabelElement=function(t,e,i,n){p.hasValue(n)||(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);t.isMeasured=!t.inside;var o,s=0;this.opposite?(t.inside?(o="top","bottom"==t.valign&&(s=this.gridContainer.maxHeight,o="bottom")):o="bottom",r.y=s):(t.inside?(o="bottom","top"==t.valign&&(s=-this.gridContainer.maxHeight,o="top")):o="top",r.y+=s),0==t.rotation&&(t.verticalCenter=o),this.positionItem(t,r),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredWidth-t.pixelPaddingRight-t.pixelPaddingLeft||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){return{x:this.positionToCoordinate(t),y:0}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.x)},e.prototype.getPositionRangePath=function(t,e){var i=l.fitToRange(this.positionToCoordinate(t),0,this.axisLength),n=l.fitToRange(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),o=this.getHeight(),s=Math.min(i,n);return h.rectToPath({x:s,y:0,width:r,height:o},!0)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,o=e.startPoint,s=e.endPoint,a=e.pixelMarginLeft,u=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;o.x=l.fitToRange(o.x,-1,this.pixelWidth+1),s.x=l.fitToRange(s.x,-1,this.pixelWidth+1),o.x==s.x&&(o.x<0||o.x>this.pixelWidth)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,i.y=a,i.width=0,i.height=u,n.y=a,n.width=0,n.height=u,r.height=u,r.width=Math.abs(s.x-o.x),r.y=a,r.x=o.x},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:this.getHeight()}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e),r=t.length;n.y=c.spritePointToSprite({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.opposite?r*=t.inside?1:-1:r*=t.inside?-1:1,t.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:r}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=h.moveTo({x:0,y:0})+h.lineTo({x:this.axisLength,y:0})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getHeight(),n=this.pixelWidth,r=this.baseGrid,o=e.basePoint.x;if(o<0||o>n)r.hide(0);else{var s=c.spritePointToSprite({x:0,y:0},this.gridContainer,r.parent).y;r.path=h.moveTo({x:0,y:0})+h.lineTo({x:0,y:i}),r.moveTo({x:o,y:s}),r.show(0)}},e.prototype.createBreakSprites=function(t){t.startLine=new o.a,t.endLine=new o.a;var e=new s.a;e.setWavedSides(!1,!0,!1,!0),t.fillShape=e},e.prototype.toAxisPosition=function(t){var e=t,i=this.axis,n=i.parent;return i&&n?(e-i.pixelX/n.innerWidth)/(i.pixelWidth/n.innerWidth):t},e}(r.a);a.b.registeredClasses.AxisRendererX=f,d.c.push({relevant:d.b.heightXS,state:function(t,e){if(t instanceof f){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),d.c.push({relevant:d.b.heightXXS,state:function(t,e){if(t instanceof f){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},kFp5:function(t,e,i){var n=i("7bL/")("meta"),r=i("DvJ+"),o=i("U3hN"),s=i("hjwn").f,a=0,u=Object.isExtensible||function(){return!0},l=!i("AEc5")(function(){return u(Object.preventExtensions({}))}),h=function(t){s(t,n,{value:{i:"O"+ ++a,w:{}}})},c=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!u(t))return"F";if(!e)return"E";h(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!u(t))return!0;if(!e)return!1;h(t)}return t[n].w},onFreeze:function(t){return l&&c.NEED&&u(t)&&!o(t,n)&&h(t),t}}},kHwJ:function(t,e,i){var n=i("DVYA");t.exports=Array.isArray||function(t){return"Array"==n(t)}},kJ6f:function(t,e,i){"use strict";var n=i("snR7"),r=i("W0fk");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(n(this),"number"!=t)}},kQxV:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("+qIf"),o=i("o0Lc"),s=i("hD5A"),a=i("v9UT"),u=i("Qkdp"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._interactionEvents=new r.a,e}return n.c(e,t),e.prototype._dispatchSpriteEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._dispatchSpritePointEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target,spritePoint:a.documentPointToSprite(t.point,this.target),svgPoint:this.target.getSvgPoint(t.point)});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._addInteractionObjectEvent=function(t,e,i,n){var r=this;return this._interactionEvents.insertKeyIfEmpty(t,function(){var o=r.target.interactions.events.on(t,e,i,n);return new s.a(function(){r._interactionEvents.removeKey(t),o.dispose()})}).increment()},e.prototype._on=function(e,i,n,r,o,a){var u=t.prototype._on.call(this,e,i,n,r,o,a),l=[u.disposer];switch(i){case"hit":case"track":case"doublehit":case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":l.push(this._addInteractionObjectEvent(i,this._dispatchSpritePointEvent,this,o));break;case"rightclick":case"down":case"up":case"drag":case"dragstart":case"dragstop":case"over":case"out":case"swipe":case"swipeleft":case"swiperight":case"resize":case"focus":case"blur":case"toggled":l.push(this._addInteractionObjectEvent(i,this._dispatchSpriteEvent,this,o))}switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"toggled":this.target.togglable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":this.target.hoverable=!0;case"out":this.target.hoverable=!0;break;case"focus":case"blur":this.target.focusable=!0}return u.disposer=new s.c(l),u},e}(o.b)},kcsd:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},kg8J:function(t,e,i){var n=i("sxbc"),r=Math.pow,o=r(2,-52),s=r(2,-23),a=r(2,127)*(2-s),u=r(2,-126);t.exports=Math.fround||function(t){var e,i,r=Math.abs(t),l=n(t);return r<u?l*function(t){return t+1/o-1/o}(r/u/s)*u*s:(i=(e=(1+s/o)*r)-(e-r))>a||i!=i?l*(1/0):l*i}},l2gh:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{iaddh:function(t,e,i,n){var r=t>>>0,o=i>>>0;return(e>>>0)+(n>>>0)+((r&o|(r|o)&~(r+o>>>0))>>>31)|0}})},l3rq:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{isubh:function(t,e,i,n){var r=t>>>0,o=i>>>0;return(e>>>0)-(n>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},l3wE:function(t,e,i){i("5lay")("getOwnPropertyNames",function(){return i("8rbL").f})},l9Vx:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("oGmz")(!1);n(n.P,"String",{codePointAt:function(t){return r(this,t)}})},lKl7:function(t,e,i){var n=i("Gb1H");n(n.P,"Array",{fill:i("lgQj")}),i("M/YL")("fill")},lLkc:function(t,e,i){"use strict";var n=i("DbOM"),r=i("DvJ+"),o=i("yOPk"),s=[].slice,a={};t.exports=Function.bind||function(t){var e=n(this),i=s.call(arguments,1),u=function(){var n=i.concat(s.call(arguments));return this instanceof u?function(t,e,i){if(!(e in a)){for(var n=[],r=0;r<e;r++)n[r]="a["+r+"]";a[e]=Function("F,a","return new F("+n.join(",")+")")}return a[e](t,i)}(e,n.length,n):o(e,n,t)};return r(e.prototype)&&(u.prototype=e.prototype),u}},lgQj:function(t,e,i){"use strict";var n=i("vJiZ"),r=i("UwWU"),o=i("FmWr");t.exports=function(t){for(var e=n(this),i=o(e.length),s=arguments.length,a=r(s>1?arguments[1]:void 0,i),u=s>2?arguments[2]:void 0,l=void 0===u?i:r(u,i);l>a;)e[a++]=t;return e}},lhvN:function(t,e,i){"use strict";var n=i("4BRe"),r=i("kcsd");t.exports=function(t){var e=String(r(this)),i="",o=n(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(i+=e);return i}},"m4/l":function(t,e,i){"use strict";e.c=function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},i.d(e,"a",function(){return r}),e.b=function(t,e,i,n){return new(i||(i=Promise))(function(r,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){t.done?r(t.value):new i(function(e){e(t.value)}).then(s,a)}u((n=n.apply(t,e||[])).next())})},e.d=function(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},e.g=o,e.e=s,e.f=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t};var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};var r=function(){return(r=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function o(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}}function s(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}},mIpt:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("7XB+"),r=i("v9UT"),o=i("Mtpk"),s=function(){function t(){}return t.prototype.parse=function(t){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(t,e){return-1!==this.options.numberFields.indexOf(t)?r.anyToNumber(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(t,e){return-1!==this.options.dateFields.indexOf(t)?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(t){return o.hasValue(t)&&""!=t||!o.hasValue(this.options.emptyAs)?t:this.options.emptyAs},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new n.a,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),t}()},mL9U:function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},mOSd:function(t,e,i){var n=i("Gb1H"),r=i("iAlL")(!1);n(n.S,"Object",{values:function(t){return r(t)}})},ma7z:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.key,s=n.map,a=n.store;n.exp({deleteMetadata:function(t,e){var i=arguments.length<3?void 0:o(arguments[2]),n=s(r(e),i,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var u=a.get(e);return u.delete(i),!!u.size||a.delete(e)}})},mntN:function(t,e,i){var n=i("EhJv"),r=i("FmWr"),o=i("UwWU");t.exports=function(t){return function(e,i,s){var a,u=n(e),l=r(u.length),h=o(s,l);if(t&&i!=i){for(;l>h;)if((a=u[h++])!=a)return!0}else for(;l>h;h++)if((t||h in u)&&u[h]===i)return t||h||0;return!t&&-1}}},nAZS:function(t,e,i){var n=i("Gb1H"),r=i("kcsd"),o=i("AEc5"),s=i("brDO"),a="["+s+"]",u=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),h=function(t,e,i){var r={},a=o(function(){return!!s[t]()||"​"!="​"[t]()}),u=r[t]=a?e(c):s[t];i&&(r[i]=u),n(n.P+n.F*a,"String",r)},c=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=h},nEmP:function(t,e,i){"use strict";i("nAZS")("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},nHHr:function(t,e,i){var n=i("eBSV"),r=i("Wbjh"),o=i("EhJv"),s=i("W0fk"),a=i("U3hN"),u=i("HW78"),l=Object.getOwnPropertyDescriptor;e.f=i("gD3S")?l:function(t,e){if(t=o(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(a(t,e))return r(!n.f.call(t,e),t[e])}},nPzZ:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("Inf5"),o=i("Vs7R"),s=i("Gg2j"),a=i("hGwe"),u=i("Mtpk"),l=i("8ZqG"),h=i("CuFa"),c=i("sxA1"),p=i("C84C"),d=function(t){function e(){var e=t.call(this)||this;e.className="Slice3D",e.layout="none";var i=e.createChild(o.a);e.edge=i,i.shouldClone=!1,i.isMeasured=!1,i.toBack(),e.angle=30,e.depth=20;var n=e.createChild(o.a);e.sideA=n,n.shouldClone=!1,n.isMeasured=!1;var r=e.createChild(o.a);return e.sideB=r,r.shouldClone=!1,r.isMeasured=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.setFill=function(e){var i;if(t.prototype.setFill.call(this,e),e instanceof l.a)i=e.hex;else if(e instanceof c.a||e instanceof h.a)i=e.stops.getIndex(0).color.hex;else{var n=new p.a;n.lightness=-.25,this.edge.filters.push(n),this.sideA.filters.push(n.clone()),this.sideB.filters.push(n.clone())}if(i){var r=Object(l.c)(i).lighten(-.25);this.edge.fill=r,this.sideA.fill=r,this.sideB.fill=r,this.edge.stroke=r,this.sideA.stroke=r,this.sideB.stroke=r}},e.prototype.draw=function(){if(this.cornerRadius=0,this.innerCornerRadius=0,t.prototype.draw.call(this),0!==this.arc&&this.radius>0&&this.depth>0){this.sideB.show(0),this.sideA.show(0),this.edge.show(0);for(var e=this.startAngle,i=this.arc,n=this.pixelInnerRadius||0,r=this.radiusY||0,o=this.radius,u=e+i,l=r/o*n,h={x:s.cos(e)*n,y:s.sin(e)*l},c={x:s.cos(e)*o,y:s.sin(e)*r},p={x:s.cos(u)*o,y:s.sin(u)*r},d={x:s.cos(u)*n,y:s.sin(u)*l},f=this.depth,g={x:h.x,y:h.y-f},y={x:c.x,y:c.y-f},m={x:p.x,y:p.y-f},b={x:d.x,y:d.y-f},v="",_=Math.ceil(i/5),x=i/_,P=e,w=y,O=0;O<_;O++)if((P+=x)>0&&P<180){v+=a.moveTo(w);var S={x:s.cos(P)*o,y:s.sin(P)*r-f};v+=a.lineTo({x:w.x,y:w.y+f}),v+=a.arcToPoint({x:S.x,y:S.y+f},o,r,!0),v+=a.lineTo(S),v+=a.arcToPoint(w,o,r),v+="z",w=S}else{v+=a.moveTo(w);S={x:s.cos(P)*o,y:s.sin(P)*r-f};v+=a.arcToPoint(S,o,r,!0),v+=a.lineTo({x:S.x,y:S.y+f}),v+=a.arcToPoint({x:w.x,y:w.y+f},o,r),v+=a.lineTo(w),v+="z",w=S}w=g,P=e;for(O=0;O<_;O++)if((P+=x)>0&&P<180){v+=a.moveTo(w);S={x:s.cos(P)*n,y:s.sin(P)*l-f};v+=a.lineTo({x:w.x,y:w.y+f}),v+=a.arcToPoint({x:S.x,y:S.y+f},n,l,!0),v+=a.lineTo(S),v+=a.arcToPoint(w,n,l),v+="z",w=S}else{v+=a.moveTo(w);S={x:s.cos(P)*n,y:s.sin(P)*l-f};v+=a.arcToPoint(S,n,l,!0),v+=a.lineTo({x:S.x,y:S.y+f}),v+=a.arcToPoint({x:w.x,y:w.y+f},n,l),v+=a.lineTo(w),v+="z",w=S}this.edge.path=v,this.sideA.path=a.moveTo(h)+a.lineTo(c)+a.lineTo(y)+a.lineTo(g)+a.closePath(),this.sideB.path=a.moveTo(p)+a.lineTo(d)+a.lineTo(b)+a.lineTo(m)+a.closePath(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront(),this.slice.dy=-f}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){var t=this.getPropertyValue("angle");return u.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return u.isNumber(t)||(t=this.radius-this.radius*this.angle/90),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},e}(r.a)},nZH2:function(t,e,i){var n=i("Gb1H");n(n.P,"Array",{copyWithin:i("y2pX")}),i("M/YL")("copyWithin")},ncT3:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("C6dT"),o=i("Vs7R"),s=i("Ybtf"),a=i("/e9j"),u=i("tjMS"),l=i("Qkdp"),h=i("hGwe"),c=function(t){function e(){var e=t.call(this)||this;return e.className="Cone",e.angle=30,e.radius=Object(u.c)(100),e.topRadius=Object(u.c)(100),e.top=e.createChild(s.a),e.top.shouldClone=!1,e.bottom=e.createChild(s.a),e.bottom.shouldClone=!1,e.body=e.createChild(o.a),e.body.shouldClone=!1,e.body.setElement(e.paper.add("path")),e.layout="none",e.bodyFillModifier=new a.a,e.bodyFillModifier.lightnesses=[0,-.25,0],e.body.fillModifier=e.bodyFillModifier,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),l.copyProperties(this,this.top,o.b),l.copyProperties(this,this.bottom,o.b),l.copyProperties(this,this.body,o.b);var e,i,n,r=this.innerWidth,s=this.innerHeight,a=this.bottom,u=this.top,c=this.angle;"horizontal"==this.orientation?(e=s/2,a.y=s/2,u.y=s/2,u.x=r,i=(90-c)/90,n=0,this.bodyFillModifier.gradient.rotation=90):(i=0,n=(90-c)/90,e=r/2,a.y=s,a.x=r/2,u.x=r/2,this.bodyFillModifier.gradient.rotation=0);var p,d=this.radius.value*e,f=this.topRadius.value*e;a.radius=d-d*i,a.radiusY=d-d*n,u.radius=f-f*i,u.radiusY=f-f*n,p="horizontal"==this.orientation?h.moveTo({x:0,y:s/2-a.radiusY})+h.arcTo(-90,-180,a.radius,a.radiusY)+h.lineTo({x:r,y:s/2+u.radiusY})+h.arcTo(90,180,u.radius,u.radiusY)+h.closePath():h.moveTo({x:r/2-u.radius,y:0})+h.arcTo(180,-180,u.radius,u.radiusY)+h.lineTo({x:r/2+a.radius,y:s})+h.arcTo(0,180,a.radius,a.radiusY)+h.closePath(),this.body.path=p},Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRadius",{get:function(){return this.getPropertyValue("topRadius")},set:function(t){this.setPropertyValue("topRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},necU:function(t,e,i){var n=i("Gb1H");n(n.S,"Reflect",{has:function(t,e){return e in t}})},o0Lc:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return l});var n=i("m4/l"),r=i("hD5A"),o=i("hJ5i"),s=i("/9XX"),a=i("Mtpk"),u=function(){function t(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{o.each(t,function(t){t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}},t.prototype.hasListeners=function(){return 0!==this._listeners.length},t.prototype.hasListenersByType=function(t){return o.any(this._listeners,function(e){return(null===e.type||e.type===t)&&!e.killed})},t.prototype.enable=function(){this._enabled=!0},t.prototype.disable=function(){this._enabled=!1},t.prototype.enableType=function(t){delete this._disabled[t]},t.prototype.disableType=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._removeListener=function(t){if(0===this._iterating){var e=this._listeners.indexOf(t);if(-1===e)throw new Error("Invalid state: could not remove listener");this._listeners.splice(e,1)}else this._killed.push(t)},t.prototype._removeExistingListener=function(t,e,i,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(function(r){r.once!==t||r.type!==e||null!=i&&r.callback!==i||r.context!==n||r.disposer.dispose()})},t.prototype.isEnabled=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(t)&&null==this._disabled[t]},t.prototype.has=function(t,e,i){return-1!==o.findIndex(this._listeners,function(n){return!0!==n.once&&n.type===t&&(null==e||n.callback===e)&&n.context===i})},t.prototype._shouldDispatch=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[t];return a.isNumber(e)?(e<=1?delete this._disabled[t]:--this._disabled[t],!1):this._enabled},t.prototype._eachListener=function(t){var e=this;++this._iterating;try{o.each(this._listeners,t)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(o.each(this._killed,function(t){e._removeListener(t)}),this._killed.length=0)}},t.prototype.dispatchImmediately=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||i.dispatch(t,e)})},t.prototype.dispatch=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||s.e(function(){i.killed||i.dispatch(t,e)})})},t.prototype._on=function(t,e,i,n,o,s){var a=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(t,e,i,n);var u={type:e,callback:i,context:n,shouldClone:o,dispatch:s,killed:!1,once:t,disposer:new r.b(function(){u.killed=!0,a._removeListener(u)})};return this._listeners.push(u),u},t.prototype.onAll=function(t,e,i){return void 0===i&&(i=!0),this._on(!1,null,t,e,i,function(i,n){return t.call(e,i,n)}).disposer},t.prototype.on=function(t,e,i,n){return void 0===n&&(n=!0),this._on(!1,t,e,i,n,function(t,n){return e.call(i,n)}).disposer},t.prototype.once=function(t,e,i,n){void 0===n&&(n=!0);var r=this._on(!0,t,e,i,n,function(t,n){r.disposer.dispose(),e.call(i,n)});return r.disposer},t.prototype.off=function(t,e,i){this._removeExistingListener(!1,t,e,i)},t.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,function(t){!t.killed&&t.shouldClone&&(null===t.type?e.onAll(t.callback,t.context):t.once?e.once(t.type,t.callback,t.context):e.on(t.type,t.callback,t.context))})},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i.target=e,i}return n.c(e,t),e.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,function(i){i.context!==t.target&&!i.killed&&i.shouldClone&&(null===i.type?e.onAll(i.callback,i.context):i.once?e.once(i.type,i.callback,i.context):e.on(i.type,i.callback,i.context))})},e}(u)},oAPj:function(t,e,i){var n=i("nHHr"),r=i("Gb1H"),o=i("snR7");r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},oC3T:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Tjl+"),o=i("1yyj"),s=i("Gg2j"),a=i("0FpR"),u=i("Mtpk"),l=function(t){function e(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=a.cubicOut,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}return n.c(e,t),e.prototype.morphToPolygon=function(t,e,i){var n=this.morphable.currentPoints;if(n&&t){this.sortPoints(n),this.sortPoints(t),this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(t,n),this._morphToPointsReal=this.normalizePoints(n,t),this.morphable.currentPoints=this._morphFromPointsReal;var r=new o.a(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(r),r.start(),r}},e.prototype.normalizePoints=function(t,e){for(var i=0,n=t.length;i<n;i++){var r=t[i][0],o=t[i][1],a=u.getValue(s.getBBox(r)),l=a.x+a.width,h=a.y+a.height;if(e[i]||(e[i]=[]),r&&!e[i][0]&&(e[i][0]=[{x:l,y:h},{x:l,y:h}]),e[i][0]){e[i][0]=this.addPoints(e[i][0],r.length);for(var c=1/0,p=0,d=0;d<e[i][0].length;d++){var f=s.getDistance(e[i][0][d],r[0]);f<c&&(p=d,c=f)}var g=e[i][0].slice(0,p),y=e[i][0].slice(p);e[i][0]=y.concat(g)}o&&(e[i][1]||(e[i][1]=[{x:l,y:h},{x:l,y:h}]),e[i][1]=this.addPoints(e[i][1],o.length))}return e},e.prototype.sortPoints=function(t){t.sort(function(t,e){var i=u.getValue(s.getBBox(t[0])),n=u.getValue(s.getBBox(e[0]));return i.width*i.height>n.width*n.height?-1:1});for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i][0];r&&e.push(u.getValue(s.getBBox(r)))}return s.getCommonRectangle(e)},e.prototype.morphToCircle=function(t,e,i){var n=this.morphable.points,r=this.sortPoints(n);this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing);for(var a=0,l=n.length;a<l;a++){var h=n[a][0],c=n[a][1];if(this._morphFromPointsReal[a]=[],this._morphToPointsReal[a]=[],h){var p=h,d=h,f=u.getValue(s.getBBox(d));this.morphToSingle&&(f=u.getValue(r));var g=f.x+f.width/2,y=f.y+f.height/2,m=t;u.isNumber(m)||(m=Math.min(f.width/2,f.height/2)),p=[];var b=s.getAngle({x:g,y:y},h[0]),v=100;h.length>v&&(v=h.length);for(var _=360/((v=(d=this.addPoints(h,v)).length)-1),x=0;x<v;x++){var P=_*x+b,w={x:g+m*s.cos(P),y:y+m*s.sin(P)};p[x]=w}if(c&&c.length>0)for(var O=0,S=c.length;O<S;O++)p.push({x:g,y:y});this._morphFromPointsReal[a][0]=d,this._morphToPointsReal[a][0]=p}}this.morphable.currentPoints=this._morphFromPointsReal;var T=new o.a(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(T),T.start(),T},e.prototype.addPoints=function(t,e){for(var i=Math.round(e/t.length),n=[],r=0,o=t.length;r<o;r++){var s=t[r],a=void 0;a=r==t.length-1?t[0]:t[r+1],n.push(s);for(var u=1;u<i;u++){var l=u/i,h={x:s.x+(a.x-s.x)*l,y:s.y+(a.y-s.y)*l};n.push(h)}n.length+t.length-r==e&&(i=0)}if(n.length<e&&t.length>0){var c=t[t.length-1];for(u=n.length;u<e;u++)n.push({x:c.x,y:c.y})}return n},e.prototype.morphToRectangle=function(t,e,i,n){var r=this.morphable.points;this.sortPoints(r),this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(i)||(i=this.morphDuration),u.hasValue(n)||(n=this.morphEasing);for(var s=0,a=r.length;s<a;s++){var l=r[s][0],h=r[s][1];if(this._morphFromPointsReal[s]=[],this._morphToPointsReal[s]=[],l){var c=l,p=l,d=this._bboxes[s];this.morphToSingle;var f=d.x,g=d.y,y=t,m=e;if(u.isNumber(y)||(y=d.width),u.isNumber(m)||(m=d.height),c=[{x:f,y:g},{x:f+y,y:g},{x:f+y,y:g+m},{x:f,y:g+m}],c=this.addPoints(c,l.length),l.length<4)for(var b=l.length;b<4;b++)c.push({x:l[b].x,y:l[b].y});if(h&&h.length>0)for(var v=d.x+d.width/2,_=d.y+d.height/2,x=0,P=h.length;x<P;x++)c.push({x:v,y:_});this._morphFromPointsReal[s][0]=p,this._morphToPointsReal[s][0]=c}}this.morphable.currentPoints=this._morphFromPointsReal;var w=new o.a(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(w),w.start(),w},Object.defineProperty(e.prototype,"morphProgress",{get:function(){return this._morphProgress},set:function(t){this._morphProgress=t;var e=[];if(null!=t){var i=this._morphFromPointsReal,n=this._morphToPointsReal;if(null!=i&&null!=n)for(var r=0,o=i.length;r<o;r++){var s=[];e.push(s);var a=i[r][0],u=i[r][1],l=n[r][0],h=n[r][1];if(a&&a.length>0&&l&&l.length>0){for(var c=[],p=0,d=a.length;p<d;p++){var f=a[p],g=l[p],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};c.push(y)}s[0]=c}if(u&&u.length>0&&h&&h.length>0){for(var m=[],b=0,v=u.length;b<v;b++){f=u[b],g=h[b],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};m.push(y)}s[1]=m}}}this.morphable.currentPoints=e},enumerable:!0,configurable:!0}),e.prototype.morphBack=function(t,e){this._morphToPointsReal=this._morphFromPointsReal,this._morphFromPointsReal=this.morphable.currentPoints,u.hasValue(t)||(t=this.morphDuration),u.hasValue(e)||(e=this.morphEasing);var i=new o.a(this,{property:"morphProgress",from:0,to:1},t,e);return this._disposers.push(i),i.start(),i},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new o.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),e}(r.a)},oGmz:function(t,e,i){var n=i("4BRe"),r=i("kcsd");t.exports=function(t){return function(e,i){var o,s,a=String(r(e)),u=n(i),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u))<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536}}},oMjf:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.get,s=n.key;n.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:s(arguments[2]))}})},oVsg:function(t,e,i){var n=i("Gb1H"),r=i("nHHr").f,o=i("snR7");n(n.S,"Reflect",{deleteProperty:function(t,e){var i=r(o(t),e);return!(i&&!i.configurable)&&delete t[e]}})},"of/x":function(t,e,i){"use strict";i("nAZS")("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},ohjg:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),o=i("P7v+"),s=i("1yyj"),a=i("vMqJ"),u=i("Qkdp"),l=i("Wglt"),h=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new a.b,e.filterPrimitives.events.on("inserted",function(t){e._disposers.push(t.newValue)}),e.width=120,e.height=120,e.applyTheme(),e}return n.c(e,t),e.prototype.appendPrimitives=function(t){l.each(this.filterPrimitives.iterator(),function(e){t.add(e)})},e.prototype.animate=function(t,e,i){return new s.a(this,t,e,i).start()},Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),u.each(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new s.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale=t,this.updateScale()},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){},Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(t){this._nonScaling=t,t||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{set:function(t){this.setSprite(t)},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(t){this._sprite&&this._sprite!=t&&this._sprite.filters.removeValue(this),this._sprite=t},e}(r.a)},osLN:function(t,e,i){var n=i("Gb1H");n(n.P+n.R,"Set",{toJSON:i("dJEq")("Set")})},p3CN:function(t,e,i){var n=i("hjwn"),r=i("snR7"),o=i("3BzE");t.exports=i("gD3S")?Object.defineProperties:function(t,e){r(t);for(var i,s=o(e),a=s.length,u=0;a>u;)n.f(t,i=s[u++],e[i]);return t}},p4R3:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},p9TX:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("C6dT"),o=i("aCit"),s=i("MipW"),a=i("hD5A"),u=i("MIZb"),l=i("Gg2j"),h=i("v9UT"),c=i("Mtpk"),p=i("58Sn"),d=i("TGuK"),f=function(t){function e(){var e=t.call(this)||this;return e.isOversized=!1,e.className="Label",e.fill=(new u.a).getFor("text"),e.wrap=!1,e.truncate=!1,e.fullWords=!0,e.ellipsis="...",e.textAlign="start",e.textValign="top",e.layout="absolute",e.adapter.add("readerTitle",function(t){return t||(t=e.populateString(h.plainText(h.isNotEmpty(e.html)?e.html:e.text))),t}),e.events.on("maxsizechanged",function(){e.inited&&e.handleMaxSize()},e,!1),e.events.once("validated",e.handleValidate,e,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.validatePosition()},e.prototype.setPaper=function(e){var i=t.prototype.setPaper.call(this,e);return i&&this.hardInvalidate(),i},e.prototype.handleValidate=function(){!this.currentText&&!this.text||0!=this.bbox.width&&0!=this.bbox.height||o.b.events.once("exitframe",this.hardInvalidate,this)},e.prototype.handleMaxSize=function(){this.bbox.width>this.availableWidth||this.bbox.width<this.availableWidth&&(this.isOversized||this.truncate)||this.bbox.height>this.availableHeight||this.bbox.height<this.availableHeight&&this.isOversized?this.invalidate():this.alignSVGText()},e.prototype.arrange=function(){},e.prototype.updateCurrentText=function(){var t,e;h.isNotEmpty(this.html)&&this.paper.supportsForeignObject()?(t="html",e=this.html):(t="svg",e=this.text),c.hasValue(e)&&""!==e&&(e=this.populateString(e,this.dataItem));var i=(e="html"==t?this.adapter.apply("htmlOutput",e):this.adapter.apply("textOutput",e))!=this.currentText||t!=this._currentFormat;return this.currentText=e,this._currentFormat=t,i},e.prototype.hardInvalidate=function(){this._prevStatus="",this.invalidate()},e.prototype.getLineBBox=function(t){t.bbox=t.element.getBBox()},e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.bbox.width,i=this.bbox.height,n=this.topParent;if(!n||n.maxWidth&&n.maxHeight){var r=l.max(this.availableWidth-this.pixelPaddingLeft-this.pixelPaddingRight,0),o=l.max(this.availableHeight-this.pixelPaddingTop-this.pixelPaddingBottom,0),a=o+","+r+this.wrap+this.truncate+this.fullWords+this.rtl+this.ellipsis;if(this.updateCurrentText()||!this.inited||this._prevStatus!=a){this._measuredWidth=0,this._measuredHeight=0,this.isOversized=!1;var u=this._currentFormat,p=this.currentText;if(c.hasValue(p)&&""!=p){var d=p.split("\n");this._prevStatus=a,this.textAlign=this.textAlign;var f=this.group.getAttr("display");if("none"==f&&this.group.removeAttr("display"),this.textPathElement&&this.textPathElement.removeChildren(),"svg"===u){this.element.removeAttr("display");var g=this.element;this.resetBBox();for(var y=0,m="",b=0;b<d.length;b++){var v=d[b];if(""!=v){var _=Object(s.b)().chunk(v,null,this.ignoreFormatting),x=0,P=!0,w=!1,O=this.getLineInfo(b);O?O.element.textContent="":(O={element:this.getSVGLineElement("",0),complex:!1},g.add(O.element)),O.element.removeAttr("display"),O.element.removeChildren(),this.textPathElement&&O.element.add(this.textPathElement);for(var S=0;S<_.length;S++){S&&(O.complex=!0);var T=_[S];if("format"===T.type)m=T.text;else{if(w)continue;O.text=T.text,O.style=Object(s.b)().translateStyleShortcuts(m);var C=this.getSvgElement(O.text,O.style);if(this.textPathElement?this.textPathElement.add(C):O.element.add(C),this.getLineBBox(O),O.bbox.width=Math.ceil(O.bbox.width),x<O.bbox.height&&(x=O.bbox.height),(this.wrap||this.truncate)&&O.bbox.width>r){this.isOversized=!0;var k=O.element.textContent,M=O.bbox.width/k.length,j=l.min(Math.ceil((O.bbox.width-r)/M),k.length);if(this.truncate){var I=!1,V=O.element.node;if(V&&V.childNodes)for(var D=O.element.node.childNodes.length-1;D>=0;D--){var E=O.element.node.childNodes[D];if(I&&O.bbox.width<=r&&(E.textContent+=" "+this.ellipsis,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),O.bbox.width<=r))break;I=!1;var F=E.textContent;for(k=O.element.textContent,j=l.min(Math.ceil((O.bbox.width-r)/M),k.length);O.bbox.width>r&&j<=k.length&&j>0;){(L=l.max(F.length-j-this.ellipsis.length,1))<=1&&(j=0,D>0&&(I=!0,O.element.node.removeChild(E))),(F=h.truncateWithEllipsis(F,L,this.ellipsis,this.fullWords,this.rtl)).length>L&&this.fullWords&&(F=h.truncateWithEllipsis(F,L,this.ellipsis,!1,this.rtl)),E.textContent=F,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),j=Math.ceil(1.1*j)}w=!0}}else{if(O.element.node){for(var R=O.element.node.lastChild,A=void 0;O.bbox.width>r&&j<=k.length&&j>0;){var L=l.max(T.text.length-j,1);P?A=h.splitTextByCharCount(T.text,L,!0,this.rtl):((A=h.splitTextByCharCount(T.text,L,!0,this.rtl))[0].length>L||1===L)&&(O.element.node.removeChild(R),j=0),j>0&&(R.textContent=Object(s.b)().cleanUp(h.trim(A.shift()))),O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),j=Math.ceil(1.1*j)}if(A.length>0){var N="";c.hasValue(A)&&(this.rtl?N+=A.join("")+m:N+=m+A.join(""));for(var B=S+1;B<_.length;B++)N+=_[B].text;d.splice(b+1,0,N)}w=!0}}}this.bbox.width<O.bbox.width&&(this.bbox.width=O.bbox.width),this.bbox.height=y+x,this.textPathElement?O.element.attr({dy:-this.paddingBottom.toString()}):O.element.attr({x:"0",y:y+x,dy:l.round(-.27*x,3).toString()}),P=!1}}var H=O.element.node;if(H)(R=H.lastChild)&&(R.textContent=this.rtl?h.ltrim(R.textContent):h.rtrim(R.textContent));y+=x,this.addLineInfo(O,b)}else{var G=this.getSVGLineElement("",0);G.add(this.getSvgElement(".",Object(s.b)().translateStyleShortcuts(m))),g.add(G);var W=Math.ceil(G.getBBox().height);W>0&&(y+=W),g.removeElement(G)}}this.hideOversized&&(this.availableWidth<this.bbox.width||this.availableHeight<this.bbox.height?(this.element.attr({display:"none"}),this.isOversized=!0):(this.element.removeAttr("display"),this.isOversized=!1)),this._measuredWidth=l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.alignSVGText(),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,i==this._measuredHeight&&e==this._measuredWidth||this.dispatch("transformed"),this.hideUnused(d.length)}else{this.element.removeAttr("display"),this.resetBBox(),(g=this.element).removeChildren();var U=this.paper.foreignObject();g.add(U);var z=this.getHTMLLineElement(p);U.node.appendChild(z),z.style.display="inline-block";var Y=z.clientWidth,X=z.clientHeight;z.style.display="block",this._bbox={x:0,y:0,width:Y,height:X},U.attr({width:Y,height:X}),this._measuredWidth=l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(z.style.overflow="hidden"),(Y>r||X>o)&&(this.isOversized=!0)}this.setStyles(),this.updateCenter(),this.updateBackground(),"none"==f&&this.group.attr({display:"none"}),this.pathElement&&this.paper.appendDef(this.pathElement)}else this.element.attr({display:"none"})}}else n.events.once("maxsizechanged",this.hardInvalidate,this,!1)},e.prototype.alignSVGText=function(){var t=this.element,e=t.node.children||t.node.childNodes;if(e&&(!e||0!=e.length)){var i=this._measuredWidth,n=this._measuredHeight;h.used(this.pixelPaddingLeft),h.used(this.pixelPaddingRight),h.used(this.pixelPaddingTop),h.used(this.pixelPaddingBottom);for(var r=e.length-1;r>=0;r--){var o=e[r];if(o.setAttribute("text-anchor",this.textAlign),this.textPathElement)o.removeAttribute("x"),o.removeAttribute("y");else{switch(this.textAlign){case"middle":o.setAttribute("x",(i/2).toString()+"px");break;case"end":this.rtl||o.setAttribute("x",i.toString());break;default:this.rtl?o.setAttribute("x",i.toString()):o.removeAttribute("text-anchor")}var s=c.toNumber(o.getAttribute("y"));switch(this.textValign){case"middle":o.setAttribute("y",(s+(n-this.bbox.height)/2).toString());break;case"bottom":o.setAttribute("y",(s+n-this.bbox.height).toString());break;default:o.setAttribute("y",s.toString())}}}}},e.prototype.getSVGLineElement=function(t,e){var i=this.paper.addGroup("text");return i.textContent=t,i.attr({x:"0"}),c.hasValue(e)&&i.attr({y:e.toString()}),(this.truncate||this.wrap)&&i.attr({overflow:"hidden"}),this.rtl&&i.attr({direction:"rtl"}),i},e.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},e.prototype.getHTMLLineElement=function(t){var e=document.createElement("div");switch(e.innerHTML=t,this.textAlign){case"middle":e.style.textAlign="center";break;case"end":e.style.textAlign="right"}return this.wrap?e.style.wordWrap="break-word":e.style.whiteSpace="nowrap",this.rtl&&(e.style.direction="rtl"),c.hasValue(this.fill)&&(e.style.color=this.fill.toString()),e},e.prototype.setStyles=function(){var t=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?t.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(t.removeStyle("webkitUserSelect"),t.removeStyle("msUserSelect"))},e.prototype.hideUnused=function(t){this.initLineCache();var e=this.getCache("lineInfo");if(e.length>=t)for(var i=t;i<e.length;i++){var n=e[i];n&&n.element&&n.element.attr({display:"none"})}},Object.defineProperty(e.prototype,"text",{get:function(){return this.getPropertyValue("text")},set:function(t){this.setPropertyValue("text",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPropertyValue("path",t,!0)&&(this.pathElement&&this.pathElement.dispose(),this.textPathElement&&this.textPathElement.dispose(),this.pathElement=this.paper.add("path"),this.pathElement.attr({d:t}),this.pathElement.attr({id:"text-path-"+this.uid}),this._disposers.push(this.pathElement),this.textPathElement=this.paper.addGroup("textPath"),this.textPathElement.attrNS(p.d,"xlink:href","#text-path-"+this.uid),this._disposers.push(this.textPathElement),this.hardInvalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationOnPath",{get:function(){return this.getPropertyValue("locationOnPath")},set:function(t){this.setPropertyValue("locationOnPath",t),this.textPathElement&&this.textPathElement.attr({startOffset:100*t+"%"})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrap",{get:function(){return this.getPropertyValue("wrap")},set:function(t){this.resetBBox(),this.setPropertyValue("wrap",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truncate",{get:function(){return this.getPropertyValue("truncate")},set:function(t){this.resetBBox(),this.setPropertyValue("truncate",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWords",{get:function(){return this.getPropertyValue("fullWords")},set:function(t){this.setPropertyValue("fullWords",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ellipsis",{get:function(){return this.getPropertyValue("ellipsis")},set:function(t){this.setPropertyValue("ellipsis",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this.getPropertyValue("selectable")},set:function(t){this.setPropertyValue("selectable",t,!0),this.setStyles()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textAlign",{get:function(){return this.getPropertyValue("textAlign")},set:function(t){this.setPropertyValue("textAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textValign",{get:function(){return this.getPropertyValue("textValign")},set:function(t){this.setPropertyValue("textValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.getPropertyValue("html")},set:function(t){this.setPropertyValue("html",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideOversized",{get:function(){return this.getPropertyValue("hideOversized")},set:function(t){this.setPropertyValue("hideOversized",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreFormatting",{get:function(){return this.getPropertyValue("ignoreFormatting")},set:function(t){this.setPropertyValue("ignoreFormatting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},e.prototype.getLineInfo=function(t){this.initLineCache();var e=this.getCache("lineInfo");return e.length>t?e[t]:void 0},e.prototype.addLineInfo=function(t,e){this.initLineCache(),this.getCache("lineInfo")[e]=t},e.prototype.initLineCache=function(){c.hasValue(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},e.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new a.c([e.events.on("valuechanged",this.invalidate,this,!1),e.events.on("workingvaluechanged",this.invalidate,this,!1),e.events.on("calculatedvaluechanged",this.invalidate,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),t.prototype.setDataItem.call(this,e)},Object.defineProperty(e.prototype,"availableWidth",{get:function(){return c.hasValue(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableHeight",{get:function(){return c.hasValue(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),e.prototype.getSvgElement=function(t,e){var i=this.paper.add("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.deepInvalidate=function(){t.prototype.deepInvalidate.call(this),this.hardInvalidate()},e}(r.a);o.b.registeredClasses.Label=f,d.c.push({relevant:d.b.heightXS,state:function(t,e){if(t instanceof f&&t.parent&&t.parent.isBaseSprite){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},pR7v:function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i("m4/l"),r=i("AAkI"),o=i("OXm9"),s=i("hD5A"),a=i("aCit"),u=i("ZoDA"),l=i("Gg2j"),h=i("Wglt"),c=i("Qkdp"),p=i("Mtpk"),d=i("v9UT"),f=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisDataItem",e.values.value={},e.values.endValue={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.values.endValue.value},set:function(t){this.setValue("endValue",t)},enumerable:!0,configurable:!0}),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;return e._stepDecimalPlaces=0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e._deltaMinMax=1,e.calculateTotals=!1,e.className="ValueAxis",e.axisFieldName="value",e.setPropertyValue("maxZoomFactor",1e3),e.setPropertyValue("extraMin",0),e.setPropertyValue("extraMax",0),e.setPropertyValue("strictMinMax",!1),e.setPropertyValue("maxPrecision",Number.MAX_VALUE),e.keepSelection=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component;t.axisFill.disabled||(l.round(e/i.step/2,5)==Math.round(e/i.step/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1)},e.prototype.createDataItem=function(){return new f},e.prototype.createAxisBreak=function(){return new u.a},e.prototype.dataChangeUpdate=function(){this.keepSelection?(0!=this._start&&this.dispatchImmediately("startchanged"),1!=this._end&&this.dispatchImmediately("endchanged")):(this._start=0,this._end=1),this._maxZoomed=this._maxDefined,this._minZoomed=this._minDefined,this._maxAdjusted=this._maxDefined,this._minAdjusted=this._minDefined},e.prototype.processSeriesDataItems=function(){if(this.calculateTotals){var t=this.series.getIndex(0),e=t.startIndex;if(t.dataItems.length>0){e>0&&e--;var i=t.endIndex;i<t.dataItems.length&&i++;for(var n=function(t){var e={};h.each(r.series.iterator(),function(i){var n=i.dataItems.getIndex(t);n&&c.each(n.values,function(t){var i=n.values[t].workingValue;p.isNumber(i)&&(p.isNumber(e[t])?e[t]+=Math.abs(i):e[t]=Math.abs(i))})}),h.each(r.series.iterator(),function(i){var n=i.dataItems.getIndex(t);n&&c.each(n.values,function(t){var i=n.values[t].workingValue;p.isNumber(i)&&(n.setCalculatedValue(t,e[t],"total"),n.setCalculatedValue(t,100*i/e[t],"totalPercent"))})})},r=this,o=e;o<i;++o)n(o)}}},e.prototype.validate=function(){this.axisLength<=0||(t.prototype.validate.call(this),this.getMinMax(),this.fixAxisBreaks(),this.calculateZoom(),this.validateAxisElements(),this.validateAxisRanges(),this.validateBreaks(),this.hideUnusedDataItems(),this.renderer.invalidateLayout())},e.prototype.calculateZoom=function(){if(p.isNumber(this.min)&&p.isNumber(this.max)){var t=this.positionToValue(this.start),e=this.positionToValue(this.end),i=this.adjustDifference(t,e),n=this.adjustMinMax(t,e,i,this._gridCount,!0);t=n.min,e=n.max,this._adjustedStart=l.round((t-this.min)/(this.max-this.min),5),this._adjustedEnd=l.round((e-this.min)/(this.max-this.min),5),this._step=n.step,this._stepDecimalPlaces=d.decimalPlaces(this._step),this._minZoomed==t&&this._maxZoomed==e||(this._minZoomed=t,this._maxZoomed=e,this.dispatchImmediately("selectionextremeschanged"))}else this._adjustedStart=this.start,this._adjustedEnd=this.end},e.prototype.validateAxisElements=function(){var t=this;if(p.isNumber(this.max)&&p.isNumber(this.min)){var e=this.minZoomed-2*this._step;if(this.logarithmic)Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E):0==(e=Math.floor(this.minZoomed/this._step)*this._step)&&(e=this.minZoomed);else e=Math.floor(e/this._step)*this._step;var i=this._maxZoomed+this._step;this.resetIterators();for(var n=this._dataItemsIterator,r=0;e<=i;){if(!this.isInBreak(e)){var o=n.find(function(t){return t.value===e});o.__disabled&&(o.__disabled=!1),this.appendDataItem(o),o.axisBreak=void 0,o.value!=e&&(o.value=e,o.text=this.formatLabel(e),o.label&&o.label.invalid&&o.label.validate(),o.value>this.min&&o.value<this.max&&o.label&&(o.label.measuredWidth>this.ghostLabel.measuredWidth||o.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=o.label.text)),this.validateDataElement(o)}if(r++,this.logarithmic)Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E+r):e+=this._step;else e+=this._step}var s=this.axisBreaks,a=this.renderer;h.each(s.iterator(),function(e){if(e.breakSize>0&&l.getDistance(e.startPoint,e.endPoint)>a.minGridDistance)for(var i=e.adjustedMin;i<=e.adjustedMax;){if(i>=e.adjustedStartValue&&i<=e.adjustedEndValue){var r=n.find(function(t){return t.value===i});r.__disabled&&(r.__disabled=!1),t.appendDataItem(r),r.axisBreak=e,r.value!=i&&(r.value=i,r.text=t.formatLabel(i),r.label&&r.label.invalid&&r.label.validate()),t.validateDataElement(r)}i+=e.adjustedStep}})}},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=this.renderer,n=e.value,r=e.endValue,o=this.valueToPosition(n);e.position=o;var s=o,a=this.valueToPosition(n+this._step);p.isNumber(r)&&(a=s=this.valueToPosition(r)),e.point=i.positionToPoint(o);var u=e.tick;u&&!u.disabled&&i.updateTickElement(u,o,s);var l=e.grid;l&&!l.disabled&&i.updateGridElement(l,o,s);var h=e.label;h&&!h.disabled&&i.updateLabelElement(h,o,s);var c=e.axisFill;c&&!c.disabled&&(i.updateFillElement(c,o,a),e.isRange||this.fillRule(e));var d=e.mask;d&&i.updateFillElement(d,o,a)},e.prototype.formatLabel=function(t){return this.numberFormatter.format(t)},Object.defineProperty(e.prototype,"basePoint",{get:function(){var t=this._baseValue,e=this.valueToPosition(t);return this.renderer.positionToPoint(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseValue",{get:function(){return this.logarithmic?this.min:this._baseValue},set:function(t){this._baseValue=t,this.invalidateLayout()},enumerable:!0,configurable:!0}),e.prototype.anyToPosition=function(t){return this.valueToPosition(t)},e.prototype.valueToPoint=function(t){var e=this.valueToPosition(t),i=this.renderer.positionToPoint(e),n=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:n}},e.prototype.anyToPoint=function(t){return this.valueToPoint(t)},e.prototype.valueToPosition=function(t){if(p.isNumber(t)){var e=this.min,i=this.max;if(p.isNumber(e)&&p.isNumber(i)){var n=this._difference,r=this.axisBreaks;r.length>0&&h.eachContinue(r.iterator(),function(n){var r=n.adjustedStartValue,o=n.adjustedEndValue;if(p.isNumber(r)&&p.isNumber(o)){if(t<r)return!1;if(l.intersect({start:r,end:o},{start:e,end:i})){r=Math.max(r,e),o=Math.min(o,i);var s=n.breakSize;t>o?e+=(o-r)*(1-s):t<r||(t=r+(t-r)*s)}}return!0});return this.logarithmic?(Math.log(t)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)/(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E):(t-e)/n}}return 0},e.prototype.positionToValue=function(t){t=l.round(t,10);var e=this.min,i=this.max;if(p.isNumber(e)&&p.isNumber(i)){var n=i-e,r=this.axisBreaks,o=null;return r.length>0&&h.eachContinue(r.iterator(),function(r){var s=r.startPosition,a=r.endPosition,u=r.adjustedStartValue,h=r.adjustedEndValue;if(p.isNumber(u)&&p.isNumber(h)){if(u>i)return!1;if(l.intersect({start:u,end:h},{start:e,end:i})){u=l.max(u,e),h=l.min(h,i);var c=r.breakSize;if(n-=(h-u)*(1-c),t>a)e+=(h-u)*(1-c);else if(!(t<s))return o=u+(t-s)/(a-s)*(h-u),!1}return!0}}),p.isNumber(o)||(o=this.logarithmic?Math.pow(Math.E,(t*(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)+Math.log(this.min)*Math.LOG10E)/Math.LOG10E):t*n+e),o}},e.prototype.xToValue=function(t){return this.positionToValue(this.pointToPosition({x:t,y:0}))},e.prototype.yToValue=function(t){return this.positionToValue(this.pointToPosition({x:0,y:t}))},e.prototype.pointToPosition=function(t){return this.renderer instanceof o.a?1-this.renderer.pointToPosition(t):this.renderer.pointToPosition(t)},e.prototype.getMinMax=function(){var t=this;this.updateGridCount();var e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;if(p.isNumber(this._minDefined)&&p.isNumber(this._maxDefined)||h.each(this.series.iterator(),function(n){if(!n.ignoreMinMax){var r=n.min(t);p.isNumber(r)&&r<e&&(e=r);var o=n.max(t);p.isNumber(o)&&o>i&&(i=o)}}),this.logarithmic&&e<=0)throw Error("Logarithmic value axis can not have vales <= 0.");if(0==e&&0==i&&(i=.9,e=-.9),p.isNumber(this._minDefined)&&(e=this._minDefined),p.isNumber(this._maxDefined)&&(i=this._maxDefined),p.isNumber(e)&&p.isNumber(i)){this._minReal=e,this._maxReal=i,e==Number.POSITIVE_INFINITY&&(e=void 0),i==Number.NEGATIVE_INFINITY&&(i=void 0);var n=this.adjustDifference(e,i);e=this.fixMin(e),i=this.fixMax(i),e==i&&(e-=this._deltaMinMax,i+=this._deltaMinMax),e-=(i-e)*this.extraMin,i+=(i-e)*this.extraMax;var r=this.strictMinMax;p.isNumber(this._maxDefined)&&(r=!0);var o=this.adjustMinMax(e,i,n,this._gridCount,r);if(e=o.min,n=(i=o.max)-e,o=this.adjustMinMax(e,i,i-e,this._gridCount,!0),e=o.min,i=o.max,this.strictMinMax&&(e=p.isNumber(this._minDefined)?this._minDefined:this._minReal,i=p.isNumber(this._maxDefined)?this._maxDefined:this._maxReal,e==i&&(e-=this._deltaMinMax,i+=this._deltaMinMax)),(this._minAdjusted!=e||this._maxAdjusted!=i)&&p.isNumber(e)&&p.isNumber(i)){var s=this._minMaxAnimation;if(this._extremesChanged&&p.isNumber(this._minAdjusted)&&p.isNumber(this._maxAdjusted)&&this.inited){if(s&&!s.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._finalMin=e,this._finalMax=i,(s=this.animate([{property:"_minAdjusted",from:this._minAdjusted,to:e},{property:"_maxAdjusted",from:this._maxAdjusted,to:i}],this.rangeChangeDuration))&&!s.isFinished()?(s.events.on("animationprogress",this.validateDataItems,this),s.events.on("animationended",function(){t.validateDataItems(),t.series.each(function(t){t.validate()}),t.handleSelectionExtremesChange()}),this._minMaxAnimation=s):this.series.each(function(t){t.validate()}),this.validateDataItems(),this.dispatchImmediately("extremeschanged"),this.handleSelectionExtremesChange()}else{if(s&&!s.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._minAdjusted=e,this._maxAdjusted=i,this._finalMin=e,this._finalMax=i,this.invalidateDataItems(),this.dispatchImmediately("extremeschanged")}}this._extremesChanged=!1,this._difference=this.adjustDifference(e,i)}},e.prototype.fixMin=function(t){return t},e.prototype.fixMax=function(t){return t},e.prototype.adjustMinMax=function(t,e,i,n,r){n<=1&&(n=1),n=Math.round(n);var o=t,s=e;0===i&&(i=Math.abs(e));var a=Math.log(Math.abs(i))*Math.LOG10E,u=Math.pow(10,Math.floor(a)),h=u/=10;r&&(h=0),this.logarithmic?(t<=0&&(t=this.baseValue),t==1/0&&(t=1),e==-1/0&&(e=10),t=Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E)),e=Math.pow(10,Math.ceil(Math.log(Math.abs(e))*Math.LOG10E))):(r?(t=Math.floor(t/u)*u,e=Math.ceil(e/u)*u):(t=Math.ceil(t/u)*u-h,e=Math.floor(e/u)*u+h),t<0&&o>=0&&(t=0),e>0&&s<=0&&(e=0)),a=Math.log(Math.abs(i))*Math.LOG10E,u=Math.pow(10,Math.floor(a)),u/=10;var c=Math.ceil(i/n/u)*u,p=Math.pow(10,Math.floor(Math.log(Math.abs(c))*Math.LOG10E)),d=Math.ceil(c/p);d>5?d=10:d<=5&&d>2&&(d=5),c=Math.ceil(c/(p*d))*p*d,this.maxPrecision<Number.MAX_VALUE&&c!=l.ceil(c,this.maxPrecision)&&(c=l.ceil(c,this.maxPrecision));var f=0;if(p<1&&(f=Math.round(Math.abs(Math.log(Math.abs(p))*Math.LOG10E))+1,c=l.round(c,f)),!this.logarithmic){var g=Math.floor(t/c);t=l.round(c*g,f);var y=void 0;(y=r?Math.floor(e/c):Math.ceil(e/c))==g&&y++,(e=l.round(c*y,f))<s&&(e+=c),t>o&&(t-=c)}return{min:t,max:e,step:c}},Object.defineProperty(e.prototype,"min",{get:function(){var t=this._minAdjusted;return p.isNumber(t)||(t=this._minDefined),t},set:function(t){this._minDefined!=t&&(this._minDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMin",{get:function(){return this.getPropertyValue("extraMin")},set:function(t){this.setPropertyValue("extraMin",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMax",{get:function(){return this.getPropertyValue("extraMax")},set:function(t){this.setPropertyValue("extraMax",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){var t=this._maxAdjusted;return p.isNumber(t)||(t=this._maxDefined),t},set:function(t){this._maxDefined!=t&&(this._maxDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.registerSeries=function(e){return new s.c([t.prototype.registerSeries.call(this,e),e.events.on("extremeschanged",this.handleExtremesChange,this,!1),e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1),this.events.on("extremeschanged",e.invalidate,e,!1)])},e.prototype.handleSelectionExtremesChange=function(){var t,e,i=this,n=!0;if(h.each(this.series.iterator(),function(r){if(!r.ignoreMinMax&&!r.isHidden){r.visible&&!r.isHiding&&(n=!1);var o=r.selectionMin(i),s=r.selectionMax(i);p.isNumber(o)&&(!p.isNumber(t)||o<t)&&(t=o),p.isNumber(s)&&(!p.isNumber(e)||s>e)&&(e=s)}}),p.isNumber(this._minDefined)?t=this.strictMinMax?this._minDefined:this.min:this.strictMinMax&&(t=this._minReal),p.isNumber(this._maxDefined)?e=this.strictMinMax?this._maxDefined:this.max:this.strictMinMax&&(e=this._maxReal),t==e){t-=1,e+=1;var r=this.adjustMinMax(t,e,0,this._gridCount,this.strictMinMax);t=r.min,e=r.max}var o=this.adjustDifference(t,e),s=this.adjustMinMax(t,e,o,this._gridCount);t=s.min,e=s.max,t-=(e-t)*this.extraMin,e+=(e-t)*this.extraMax,t=l.fitToRange(t,this.min,this.max),e=l.fitToRange(e,this.min,this.max),o=this.adjustDifference(t,e),s=this.adjustMinMax(t,e,o,this._gridCount,!0),t=s.min,e=s.max,this.strictMinMax&&(t=l.max(t,this._minDefined),e=l.min(e,this._maxDefined));var a=this.valueToPosition(t),u=this.valueToPosition(e);n&&(a=0,u=1),this.zoom({start:a,end:u},!1,!1,0)},Object.defineProperty(e.prototype,"strictMinMax",{get:function(){return this.getPropertyValue("strictMinMax")},set:function(t){this.setPropertyValue("strictMinMax",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logarithmic",{get:function(){return this.getPropertyValue("logarithmic")},set:function(t){this.setPropertyValue("logarithmic",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepSelection",{get:function(){return this.getPropertyValue("keepSelection")},set:function(t){this.setPropertyValue("keepSelection",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPrecision",{get:function(){return this.getPropertyValue("maxPrecision")},set:function(t){this.setPropertyValue("maxPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.handleExtremesChange=function(){if(this._extremesChanged=!0,this.getMinMax(),this.ghostLabel){var t=this.min,e=this.max,i=0;i=p.isNumber(t)&&p.isNumber(e)&&t.toString().length>e.toString().length?t:e,this.ghostLabel.text=this.formatLabel(i)}},e.prototype.getX=function(t,e,i,n){var r=t.getWorkingValue(e);p.hasValue(n)||(n="valueX");var o=t.getValue(n,"stack");return p.isNumber(r)||(r=this.baseValue,this.logarithmic&&o>0&&(r=0)),this.renderer.positionToPoint(this.valueToPosition(r+o)).x},e.prototype.getY=function(t,e,i,n){var r=t.getWorkingValue(e);p.hasValue(n)||(n="valueY");var o=t.getValue(n,"stack");return p.isNumber(r)||(r=this.baseValue,this.logarithmic&&o>0&&(r=0)),this.renderer.positionToPoint(this.valueToPosition(r+o)).y},e.prototype.getAngle=function(t,e,i,n){var r=t.getWorkingValue(e),o=t.getValue(n,"stack");return p.isNumber(r)||(r=this.baseValue),this.positionToAngle(this.valueToPosition(r+o))},e.prototype.getAnyRangePath=function(t,e,i){var n=this.valueToPosition(t),r=this.valueToPosition(e);return this.getPositionRangePath(n,r)},e.prototype.getTooltipText=function(t){var e=l.round(this.positionToValue(t),this._stepDecimalPlaces);return this.adapter.apply("getTooltipText",this.tooltip.numberFormatter.format(e))},e.prototype.zoomToValues=function(t,e,i,n){var r=(t-this.min)/(this.max-this.min),o=(e-this.min)/(this.max-this.min);this.zoom({start:r,end:o},i,n)},Object.defineProperty(e.prototype,"minZoomed",{get:function(){return l.max(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomed",{get:function(){return l.min(this.max,this._maxZoomed)},enumerable:!0,configurable:!0}),e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this.axisBreaks;i.length>0&&i.each(function(t){var i=t.adjustedStartValue,n=t.adjustedEndValue,r=n-i,o=Math.ceil(r*t.breakSize)*e._gridCount/(e.max-e.min),s=e.adjustMinMax(i,n,r,o,!0);t.adjustedStep=s.step,t.adjustedMin=s.min,t.adjustedMax=s.max}),this._difference=this.adjustDifference(this.min,this.max)},e.prototype.getPositionLabel=function(t){var e=this.positionToValue(t);return this.numberFormatter.format(e)},e.prototype.showTooltipAt=function(t){this.showTooltipAtPosition(this.valueToPosition(t))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.min=e.min,this.max=e.max,this.calculateTotals=e.calculateTotals,this._baseValue=e.baseValue},e}(r.a);a.b.registeredClasses.ValueAxis=g,a.b.registeredClasses.ValueAxisDataItem=f},pb4Y:function(t,e){t.exports=!1},pmYy:function(t,e){e.f=Object.getOwnPropertySymbols},pvlQ:function(t,e,i){"use strict";var n=i("DvJ+"),r=i("K0ev"),o=i("YEtG")("hasInstance"),s=Function.prototype;o in s||i("hjwn").f(s,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},pzs1:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("58Sn"),r=i("Qkdp"),o=i("Mtpk"),s=function(){function t(t){this._isDisposed=!1,this._x=0,this._y=0,this._rotation=0,this._scale=1,this.node="string"==typeof t?document.createElementNS(n.a,t):t}return t.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(t.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),t.prototype.transform=function(){var t="translate("+this._x+","+this._y+")";1!=this._scale&&(t+=(t?" ":"")+"scale("+this._scale+")"),0!=this._rotation&&(t+=(t?" ":"")+"rotate("+this._rotation+")"),this._transformString=t,this.node.setAttribute("transform",t)},t.prototype.getBBox=function(){var t={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var e=this.node.getBBox();t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height}catch(t){}return t},t.prototype.moveTo=function(t){if(t){var e=t.x,i=t.y;this._x==e&&this._y==i||(this._x=e,this._y=i,this.transform())}},Object.defineProperty(t.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(t){this.node.textContent=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!=t&&(this._x=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!=t&&(this._y=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!=t&&(this._rotation=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale!=t&&(this._scale=t,this.transform())},enumerable:!0,configurable:!0}),t.prototype.removeAttr=function(t){this.node.removeAttribute(t)},t.prototype.attr=function(t){var e=this;return r.each(t,function(t,i){o.hasValue(i)?e.node.setAttribute(t,i):e.node.removeAttribute(t)}),this},t.prototype.getAttr=function(t){return this.node.getAttribute(t)},t.prototype.attrNS=function(t,e,i){return this.node.setAttributeNS(t,e,i),this},t.prototype.getAttrNS=function(t,e){return this.node.getAttributeNS(t,e)},t.prototype.removeStyle=function(t){delete this.node.style[t]},t.prototype.getStyle=function(t){return this.node.style[t]},t.prototype.addStyle=function(t){var e=this;return r.each(t,function(t,i){o.hasValue(i)?e.node.style[t]=i:e.removeStyle(t)}),this},t.prototype.addClass=function(t){n.f(this.node,t)},t.prototype.removeClass=function(t){n.s(this.node,t)},t.prototype.setClass=function(t){this.node.setAttribute("class",t)},t.prototype.removeChildNodes=function(){for(;this.node.childNodes.length>0;)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}()},"q+2p":function(t,e,i){var n=Date.prototype,r=n.toString,o=n.getTime;new Date(NaN)+""!="Invalid Date"&&i("wDk4")(n,"toString",function(){var t=o.call(this);return t==t?r.call(this):"Invalid Date"})},qCRI:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){}return t.grab=[{property:"cursor",value:"move"},{property:"cursor",value:"grab"},{property:"cursor",value:"-moz-grab"},{property:"cursor",value:"-webkit-grab"}],t.grabbing=[{property:"cursor",value:"move"},{property:"cursor",value:"grabbing"},{property:"cursor",value:"-moz-grabbing"},{property:"cursor",value:"-webkit-grabbing"}],t.pointer=[{property:"cursor",value:"pointer"}],t.default=[{property:"cursor",value:"default"}],t.horizontalResize=[{property:"cursor",value:"ew-resize"}],t.verticalResize=[{property:"cursor",value:"ns-resize"}],t}()},qJno:function(t,e,i){"use strict";var n=i("m4/l"),r=i("58Sn"),o=i("MIZb"),s=i("+qIf"),a=i("hD5A"),u=new s.a,l=i("x79X"),h=i("vMqJ"),c=i("zhwk"),p=i("P/bD"),d=i("/IEW"),f=i("WYhe"),g=i("v9UT"),y=i("Wglt"),m=i("Mtpk");i.d(e,"a",function(){return b});var b=function(t){function e(){var e=t.call(this)||this;return e.adapter=new l.a(e),e.closeDelay=1e3,e.closeOnClick=!0,e._language=new a.d,e._menuTag="ul",e._itemTag="li",e._labelTag="a",e._classPrefix="amexport",e._defaultStyles=!0,e._align="right",e._verticalAlign="top",e._tabindex=0,e._ignoreNextClose=!1,e._items=[{label:"...",menu:[{label:"Image",menu:[{type:"png",label:"PNG"},{type:"jpg",label:"JPG"},{type:"gif",label:"GIF"},{type:"svg",label:"SVG"},{type:"pdf",label:"PDF"}]},{label:"Data",menu:[{type:"json",label:"JSON"},{type:"csv",label:"CSV"},{type:"xlsx",label:"XLSX"}]},{label:"Print",type:"print"}]}],e.className="ExportMenu",e._disposers.push(e._language),e.invalidate(),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){this.draw(),t.prototype.validate.call(this)},e.prototype.draw=function(){var t=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),m.getValue(this._container).appendChild(this._element),this._items=this.adapter.apply("items",{items:this._items}).items;for(var e=this._items.length,i=0;i<e;i++)this.drawBranch(this._element,this._items[i],0);this._element=this.adapter.apply("menuElement",{menuElement:this._element}).menuElement,this._disposers.push(Object(c.b)().body.events.on("down",function(e){e.pointer.touch||(t._ignoreNextClose=!1),t.close()})),this._disposers.push(Object(c.b)().body.events.on("keyup",function(e){var i=f.b.getEventKey(e.event);switch(i){case"esc":t.close();break;case"up":case"down":case"left":case"right":t.moveSelection(i)}})),this.defaultStyles&&this.loadDefaultCSS()},e.prototype.drawBranch=function(t,e,i){var n=this;if(!0!==(e=this.adapter.apply("branch",{branch:e,level:i}).branch).unsupported){e.ascendants||(e.ascendants=new h.b);var r=e.type,o=this.createItemElement(i,r),s=this.createLabelElement(i,r);s.innerHTML=e.label?this.language.translate(e.label):"";var a=this.getReaderLabel(e,s.innerHTML);s.setAttribute("aria-label",a),o.appendChild(s),e.interactions=Object(c.b)().getInteraction(s),this.typeClickable(r)&&(e.interactions.events.on("hit",function(t){if(n.events.isEnabled("hit")){var i={type:"hit",event:t.event,target:n,branch:e};n.events.dispatchImmediately("hit",i)}}),e.interactions.events.on("keyup",function(t){if(f.b.isKey(t.event,"enter")&&n.events.isEnabled("enter")){var i={type:"enter",event:t.event,target:n,branch:e};n.events.dispatchImmediately("enter",i)}}));var u=this.getSubMenu(e);null!=u&&(e.interactions.events.on("keyup",function(t){f.b.isKey(t.event,"enter")&&(n.selectBranch(u[0]),n.setFocus(u[0]))}),e.interactions.events.on("hit",function(t){n.selectBranch(e)})),e.interactions.events.on("over",function(t){if(t.pointer.touch&&(n._ignoreNextClose=!0),n.selectBranch(e),n.events.isEnabled("over")){var i={type:"over",event:t.event,target:n,branch:e};n.events.dispatchImmediately("over",i)}}),e.interactions.events.on("out",function(t){if(t.pointer.touch||n.delayUnselectBranch(e),n.events.isEnabled("out")){var i={type:"out",event:t.event,target:n,branch:e};n.events.dispatchImmediately("out",i)}}),e.interactions.events.on("focus",function(t){n.selectBranch(e)}),e.interactions.events.on("blur",function(t){n.delayUnselectBranch(e)});var l=i+1;if(e.menu){for(var p=this.createMenuElement(l),d=e.menu.length,g=0;g<d;g++){var y=new h.b;e.menu[g].ascendants=y,e.ascendants.length&&y.copyFrom(e.ascendants),y.push(e),this.drawBranch(p,e.menu[g],l)}if(""==p.innerHTML)return;o.appendChild(p)}t.appendChild(o)}},e.prototype.createMenuElement=function(t){var e=document.createElement(this.menuTag);return e.className=this.getMenuItemClass(t),0===t&&e.setAttribute("role","menu"),e},e.prototype.getMenuItemClass=function(t){var e=this.classPrefix+"-menu "+this.classPrefix+"-menu-level-"+t;return 0===t&&(e+=" "+this.classPrefix+"-menu-root "+this.classPrefix+"-"+this.align+" "+this.classPrefix+"-"+this.verticalAlign),this.adapter.apply("menuClass",{className:e,level:t}).className},e.prototype.createItemElement=function(t,e){var i=document.createElement(this.itemTag),n=this.classPrefix+"-item "+this.classPrefix+"-item-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return i.className=this.adapter.apply("itemClass",{className:n,level:t,type:e}).className,i},e.prototype.createLabelElement=function(t,e){var i=document.createElement(this.labelTag),n=this.classPrefix+"-label "+this.classPrefix+"-label-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(n+=" "+this.classPrefix+"-clickable"),i.className=this.adapter.apply("labelClass",{className:n,level:t,type:e}).className,i.setAttribute("tabindex",this.tabindex.toString()),i.setAttribute("role","menuitem"),i},e.prototype.dispose=function(){this._disposed||(t.prototype.dispose.call(this),this._element&&this._element.parentNode&&this._element.parentNode.removeChild(this._element))},e.prototype.typeClickable=function(t){return m.hasValue(t)},e.prototype.hasSubMenu=function(t){return!(!t.menu||!t.menu.length)},e.prototype.getSubMenu=function(t){if(t.menu&&t.menu.length)return t.menu},e.prototype.getReaderLabel=function(t,e){return e=g.stripTags(e),this.hasSubMenu(t)?e+=" ["+this.language.translate("Click, tap or press ENTER to open")+"]":"print"==t.type?e=this.language.translate("Click, tap or press ENTER to print."):this.typeClickable(t.type)&&(e=this.language.translate("Click, tap or press ENTER to export as %1.",void 0,e)),this.adapter.apply("rederLabel",{label:e,branch:t}).label},Object.defineProperty(e.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(t){this._items=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tag",{set:function(t){this._menuTag=t,this._itemTag="ul"==t?"li":"div",this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuTag",{get:function(){return this.adapter.apply("menuTag",{tag:this._menuTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemTag",{get:function(){return this.adapter.apply("itemTag",{tag:this._itemTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelTag",{get:function(){return this.adapter.apply("labelTag",{tag:this._labelTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",{align:this._align}).align},set:function(t){this._align=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",{verticalAlign:this._verticalAlign}).verticalAlign},set:function(t){this._verticalAlign=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",{classPrefix:this._classPrefix}).classPrefix},set:function(t){this._classPrefix=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",{defaultStyles:this._defaultStyles}).defaultStyles},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t,t&&this.loadDefaultCSS()),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){this._disposers.push(function(t){var e=t||"amexport",i=new o.a;return u.insertKeyIfEmpty(e,function(){var t=new a.c([new r.c("."+e+"-menu-level-0",{position:"absolute",top:"5px",right:"5px"}),new r.c("."+e+"-menu-level-0."+e+"-left",{right:"auto",left:"5px"}),new r.c("."+e+"-menu-level-0."+e+"-right",{right:"5px",left:"auto"}),new r.c("."+e+"-menu-level-0."+e+"-top",{top:"5px",bottom:"auto"}),new r.c("."+e+"-menu-level-0."+e+"-bottom",{top:"auto",bottom:"5px"}),new r.c("."+e+"-item."+e+"-item-level-0",{opacity:"0.3",width:"30px",height:"30px",transition:"all 100ms ease-in-out"}),new r.c("div:hover ."+e+"-item."+e+"-item-level-0, ."+e+"-item."+e+"-item-level-0.active",{opacity:"0.9"}),new r.c("."+e+"-item."+e+"-item-level-0 > a",{padding:"0","text-align":"center"}),new r.c("."+e+"-item."+e+"-item-level-0:before",{display:"block"}),new r.c("."+e+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":i.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:i.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new r.c("."+e+"-left ."+e+"-item",{margin:"1px 0 0 1px"}),new r.c("."+e+"-item:hover, ."+e+"-item.active",{background:i.getFor("secondaryButtonHover").hex,color:i.getFor("secondaryButtonText").hex}),new r.c("."+e+"-item > ."+e+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new r.c("."+e+"-left ."+e+"-item > ."+e+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new r.c("."+e+"-right ."+e+"-item > ."+e+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new r.c("."+e+"-top ."+e+"-item > ."+e+"-menu",{top:"-1px",bottom:"auto"}),new r.c("."+e+"-bottom ."+e+"-item > ."+e+"-menu",{top:"auto",bottom:"0"}),new r.c("."+e+"-item > ."+e+"-menu",{display:"none"}),new r.c("."+e+"-item:hover > ."+e+"-menu, ."+e+"-item.active > ."+e+"-menu",{display:"block"}),new r.c("."+e+"-item:hover > ."+e+"-menu > ."+e+"-item, ."+e+"-item.active > ."+e+"-menu > ."+e+"-item",{opacity:"1"}),new r.c("."+e+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new r.c("."+e+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new r.c("."+e+"-clickable",{cursor:"pointer"})]);return new a.a(function(){u.removeKey(e),t.dispose()})}).increment()}(this.classPrefix)),this._element&&(this._element.style.display="")},Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.adapter.apply("tabindex",{tabindex:this._tabindex}).tabindex},set:function(t){this._tabindex=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this,e=this._language.get();return null==e&&(e=new p.a,this._language.set(e,e.events.on("localechanged",function(e){t.invalidate()}))),e},set:function(t){var e=this;this._language.set(t,t.events.on("localechanged",function(t){e.invalidate()})),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.close=function(){var t=this;if(this._ignoreNextClose)this._ignoreNextClose=!1;else{if(this.closeOnClick&&(this._element.style.pointerEvents="none",setTimeout(function(){t._element.style.pointerEvents="auto"},100)),this._currentSelection&&(this.setBlur(this._currentSelection),this._currentSelection=void 0),this._element)for(var e=this._element.getElementsByClassName("active"),i=e.length-1;i>=0;i--)e[i]&&r.s(e[i],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},e.prototype.selectBranch=function(t){var e=this;if(t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.f(t.interactions.element.parentElement,"active"),this._currentSelection&&this._currentSelection!==t&&this._currentSelection.ascendants&&y.each(y.concat(y.fromArray([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(i){t.ascendants.contains(i)||t===i||e.unselectBranch(i,!0)}),y.each(t.ascendants.iterator(),function(t){t.closeTimeout&&(e.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.f(t.interactions.element.parentElement,"active")}),this._currentSelection=t,this.events.isEnabled("branchselected")){var i={type:"branchselected",target:this,branch:t};this.events.dispatchImmediately("branchselected",i)}},e.prototype.unselectBranch=function(t,e){if(r.s(t.interactions.element.parentElement,"active"),this._currentSelection==t&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected")){var i={type:"branchunselected",target:this,branch:t};this.events.dispatchImmediately("branchunselected",i)}},e.prototype.delayUnselectBranch=function(t,e){var i=this;t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),t.closeTimeout=this.setTimeout(function(){i.unselectBranch(t,e)},this.closeDelay),!0!==e&&t.ascendants&&y.each(t.ascendants.iterator(),function(t){i.delayUnselectBranch(t,!0)})},e.prototype.moveSelection=function(t){if(this._currentSelection){var e;if("up"==t)e=this.getPrevSibling(this._currentSelection);else if("down"==t)e=this.getNextSibling(this._currentSelection);else if("left"==t&&"right"==this.align||"right"==t&&"left"==this.align){var i=this.getSubMenu(this._currentSelection);null!=i&&(e=i[0])}else("right"==t&&"right"==this.align||"left"==t&&"left"==this.align)&&(e=this.getParentItem(this._currentSelection));e&&e!==this._currentSelection&&(this.selectBranch(e),this.setFocus(e),this._currentSelection=e)}},e.prototype.getSiblings=function(t){var e=this.getParentItem(t);return e&&e.menu?e.menu:[]},e.prototype.getParentItem=function(t){return t.ascendants&&t.ascendants.length?t.ascendants.getIndex(t.ascendants.length-1):void 0},e.prototype.getNextSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)+1;return e[i=e.length==i?0:i].unsupported?this.getNextSibling(e[i]):e[i]}return t},e.prototype.getPrevSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)-1;return e[i=-1==i?e.length-1:i].unsupported?this.getPrevSibling(e[i]):e[i]}return t},e.prototype.setFocus=function(t){t.interactions&&t.interactions.element.focus()},e.prototype.setBlur=function(t){t.interactions&&t.interactions.element.blur()},e}(d.a)},qgJR:function(t,e,i){"use strict";var n=i("snR7"),r=i("DVvQ"),o=i("2i0j");i("7V6K")("search",1,function(t,e,i,s){return[function(i){var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=s(i,t,this);if(e.done)return e.value;var a=n(t),u=String(this),l=a.lastIndex;r(l,0)||(a.lastIndex=0);var h=o(a,u);return r(a.lastIndex,l)||(a.lastIndex=l),null===h?-1:h.index}]})},quKg:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("DXFp"),o=i("tjMS"),s=i("Puh1"),a=i("aCit"),u=i("Wglt"),l=i("v9UT"),h=i("Gg2j"),c=i("Mtpk"),p=function(t){function e(){var e=t.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),d=function(t){function e(){var e=t.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=Object(o.c)(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var i=e.seriesContainer;return i.isMeasured=!0,i.valign="middle",i.align="center",i.layout="absolute",i.width=void 0,i.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",e.updateRadius,e,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),c.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.updateRadius()},e.prototype.handleSeriesAdded=function(e){t.prototype.handleSeriesAdded.call(this,e),this._chartPixelRadius=void 0,this.updateSeriesAngles()},e.prototype.updateSeriesAngles=function(){var t=this;this.series.each(function(e){e.startAngle=t.startAngle,e.endAngle=t.endAngle,e.defaultState.properties.startAngle=t.startAngle,e.defaultState.properties.endAngle=t.endAngle})},e.prototype.updateRadius=function(){var t=this.chartContainer,e=h.getArcRect(this.startAngle,this.endAngle,1),i={x:0,y:0,width:0,height:0},n=this.innerRadius;n instanceof o.a&&(i=h.getArcRect(this.startAngle,this.endAngle,n.value)),e=h.getCommonRectangle([e,i]);var r=Math.min(t.innerWidth/e.width,t.innerHeight/e.height);c.isNumber(r)||(r=0);var s=l.relativeRadiusToValue(this.radius,r),a=l.relativeRadiusToValue(this.innerRadius,r),p=(s-a)/this.series.length;s==this._chartPixelRadius&&a==this._chartPixelInnerRadius||(this._chartPixelRadius=s,this._chartPixelInnerRadius=a,u.each(u.indexed(this.series.iterator()),function(t){var e=t[0],i=t[1],n=a+l.relativeRadiusToValue(i.radius,s-a),r=a+l.relativeRadiusToValue(i.innerRadius,s-a);c.isNumber(n)||(n=a+p*(e+1)),c.isNumber(r)||(r=a+p*e),i.pixelRadius=n,i.pixelInnerRadius=r}),this.seriesContainer.definedBBox={x:s*e.x,y:s*e.y,width:s*e.width,height:s*e.height},this.seriesContainer.invalidateLayout(),this.bulletsContainer.x=this.seriesContainer.x,this.bulletsContainer.y=this.seriesContainer.y)},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.PieChart=d,a.b.registeredClasses.PieChartDataItem=p},qzbU:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),s=i("MIZb"),a=function(t){function e(){var e=t.call(this)||this;e.className="Tick";var i=new s.a;return e.fillOpacity=0,e.length=6,e.strokeOpacity=.2,e.stroke=i.getFor("grid"),e.isMeasured=!1,e.nonScalingStroke=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.disabled?0:this.getPropertyValue("length")},set:function(t){this.setPropertyValue("length",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Tick=a},r7ZX:function(t,e,i){i("3mH9")("Set")},rFJX:function(t,e,i){var n=i("DvJ+");t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},rTLi:function(t,e,i){"use strict";i("Mvcd")("small",function(t){return function(){return t(this,"small","","")}})},"rU+O":function(t,e,i){"use strict";var n=i("snR7"),r=i("vJiZ"),o=i("FmWr"),s=i("4BRe"),a=i("YxCF"),u=i("2i0j"),l=Math.max,h=Math.min,c=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,f=function(t){return void 0===t?t:String(t)};i("7V6K")("replace",2,function(t,e,i,g){return[function(n,r){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,r):i.call(String(o),n,r)},function(t,e){var r=g(i,t,this,e);if(r.done)return r.value;var c=n(t),p=String(this),d="function"==typeof e;d||(e=String(e));var m=c.global;if(m){var b=c.unicode;c.lastIndex=0}for(var v=[];;){var _=u(c,p);if(null===_)break;if(v.push(_),!m)break;""===String(_[0])&&(c.lastIndex=a(p,o(c.lastIndex),b))}for(var x="",P=0,w=0;w<v.length;w++){_=v[w];for(var O=String(_[0]),S=l(h(s(_.index),p.length),0),T=[],C=1;C<_.length;C++)T.push(f(_[C]));var k=_.groups;if(d){var M=[O].concat(T,S,p);void 0!==k&&M.push(k);var j=String(e.apply(void 0,M))}else j=y(O,p,S,T,k,e);S>=P&&(x+=p.slice(P,S)+j,P=S+O.length)}return x+p.slice(P)}];function y(t,e,n,o,s,a){var u=n+t.length,l=o.length,h=d;return void 0!==s&&(s=r(s),h=p),i.call(a,h,function(i,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(u);case"<":a=s[r.slice(1,-1)];break;default:var h=+r;if(0===h)return r;if(h>l){var p=c(h/10);return 0===p?r:p<=l?void 0===o[p-1]?r.charAt(1):o[p-1]+r.charAt(1):r}a=o[h-1]}return void 0===a?"":a})}})},rU6r:function(t,e,i){i("YJIw")("Uint8",1,function(t){return function(e,i,n){return t(this,e,i,n)}})},rkh7:function(t,e,i){var n=i("ODWe"),r=i("heQh").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},rutD:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("4BRe"),o=i("GIxq"),s=i("lhvN"),a=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!",c=function(t,e){for(var i=-1,n=e;++i<6;)n+=t*l[i],l[i]=n%1e7,n=u(n/1e7)},p=function(t){for(var e=6,i=0;--e>=0;)i+=l[e],l[e]=u(i/t),i=i%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var i=String(l[t]);e=""===e?i:e+s.call("0",7-i.length)+i}return e},f=function(t,e,i){return 0===e?i:e%2==1?f(t,e-1,i*t):f(t*t,e/2,i)};n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i("AEc5")(function(){a.call({})})),"Number",{toFixed:function(t){var e,i,n,a,u=o(this,h),l=r(t),g="",y="0";if(l<0||l>20)throw RangeError(h);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(i=(e=function(t){for(var e=0,i=t;i>=4096;)e+=12,i/=4096;for(;i>=2;)e+=1,i/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),i*=4503599627370496,(e=52-e)>0){for(c(0,i),n=l;n>=7;)c(1e7,0),n-=7;for(c(f(10,n,1),0),n=e-1;n>=23;)p(1<<23),n-=23;p(1<<n),c(1,1),p(2),y=d()}else c(0,i),c(1<<-e,0),y=d()+s.call("0",l);return y=l>0?g+((a=y.length)<=l?"0."+s.call("0",l-a)+y:y.slice(0,a-l)+"."+y.slice(a-l)):g+y}})},sHIJ:function(t,e,i){var n=i("DVYA");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},sNEp:function(t,e,i){var n=i("snR7");t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},"sc+R":function(t,e,i){var n=i("DbOM"),r=i("vJiZ"),o=i("sHIJ"),s=i("FmWr");t.exports=function(t,e,i,a,u){n(e);var l=r(t),h=o(l),c=s(l.length),p=u?c-1:0,d=u?-1:1;if(i<2)for(;;){if(p in h){a=h[p],p+=d;break}if(p+=d,u?p<0:c<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:c>p;p+=d)p in h&&(a=e(a,h[p],p,l));return a}},snR7:function(t,e,i){var n=i("DvJ+");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},ssJO:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(0),o=i("GQop")([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},sxA1:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("Tjl+"),o=i("vMqJ"),s=i("P7v+"),a=i("aCit"),u=i("Wglt"),l=i("Gg2j"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.b,e._rotation=0,e.className="LinearGradient",e._stops.events.on("setIndex",e.validate,e),e._stops.events.on("inserted",e.validate,e),e.element=e.paper.addGroup("linearGradient"),e.id="gradient-"+a.b.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){var t=this,e=(this._rotation+90)*l.RADIANS,i=Math.round(50+50*Math.sin(e+Math.PI))+"%",n=Math.round(50+50*Math.cos(e))+"%",r=Math.round(50+50*Math.sin(e))+"%",o=Math.round(50+50*Math.cos(e+Math.PI))+"%",s=this.element;s.removeChildNodes(),s.attr({x1:i,x2:r,y1:n,y2:o}),u.each(u.indexed(this._stops.iterator()),function(e){var i=e[0],n=e[1],r=n.offset;h.isNumber(r)||(r=i/(t._stops.length-1));var o=t.paper.add("stop");h.hasValue(n.color)&&o.attr({"stop-color":n.color.toString()}),h.isNumber(n.opacity)&&o.attr({"stop-opacity":n.opacity}),h.isNumber(r)&&o.attr({offset:r}),s.add(o)})},e.prototype.clear=function(){this._stops.clear()},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,opacity:e,offset:i})},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(s.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.validate(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation=t,this.validate()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this._rotation=e.rotation},e}(r.a);a.b.registeredClasses.LinearGradient=c},sxbc:function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},t3Ma:function(t,e,i){"use strict";i("Mvcd")("bold",function(t){return function(){return t(this,"b","","")}})},tIuN:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},tYpR:function(t,e,i){i("3mH9")("WeakMap")},tjMS:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),e.c=function(t){return new n(t)},e.b=function(t){return t instanceof n};var n=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value/100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"percent",{get:function(){return this._value},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this._value+"%"},t}()},tzvs:function(t,e,i){var n=i("EhJv"),r=i("nHHr").f;i("5lay")("getOwnPropertyDescriptor",function(){return function(t,e){return r(n(t),e)}})},uWmK:function(t,e,i){"use strict";i.d(e,"b",function(){return x}),i.d(e,"c",function(){return P}),i.d(e,"a",function(){return w});var n=i("m4/l"),r=i("Y9w3"),o=i("A6AV"),s=i("vMqJ"),a=i("CnhP"),u=i("C6dT"),l=i("p9TX"),h=i("WYhe"),c=i("aCit"),p=i("zhwk"),d=i("tjMS"),f=i("MIZb"),g=i("v9UT"),y=i("Mtpk"),m=i("Vs7R"),b=i("hD5A"),v=i("qCRI"),_=i("TGuK"),x=function(t){function e(){var e=t.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this._label=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new b.b(function(){y.hasValue(t.component)&&t.component.labels.removeValue(e)}))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueLabel",{get:function(){var t=this;if(!this._valueLabel){var e=this.component.valueLabels.create();this._valueLabel=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new b.b(function(){y.hasValue(t.component)&&t.component.valueLabels.removeValue(e)}))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemContainer",{get:function(){var t=this;if(!this._itemContainer){var e=this.component,i=e.itemContainers.create();this._itemContainer=i,this.addSprite(i),this._disposers.push(i),i.togglable&&i.events.on("toggled",function(t){e.toggleDataItem(t.target.dataItem)},void 0,!1),i.events.on("focus",function(t){e.focusedItem=t.target.dataItem},void 0,!1),i.events.on("blur",function(t){e.focusedItem=void 0},void 0,!1),this._disposers.push(new b.b(function(){y.hasValue(t.component)&&t.component.itemContainers.removeValue(i)})),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var n=this.dataContext;(n instanceof o.a||n instanceof m.a)&&(i.addDisposer(n.events.on("visibilitychanged",function(t){i.readerChecked=t.visible,i.events.disableType("toggled"),i.isActive=!t.visible,i.events.enableType("toggled")},void 0,!1)),n.addDisposer(new b.b(function(){t.component&&t.component.dataItems.remove(t)})),n instanceof m.a&&(i.addDisposer(n.events.on("hidden",function(t){i.readerChecked=!1,i.events.disableType("toggled"),i.isActive=!0,i.events.enableType("toggled")},void 0,!1)),i.addDisposer(n.events.on("shown",function(t){i.readerChecked=!0,i.events.disableType("toggled"),i.isActive=!1,i.events.enableType("toggled")},void 0,!1))))}return this._itemContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker",{get:function(){var t=this;if(!this._marker){var e=this.component.markers.create();this._marker=e,e.parent=this.itemContainer,this.addSprite(e),this._disposers.push(e),this._disposers.push(new b.b(function(){y.hasValue(t.component)&&t.component.markers.removeValue(e)}))}return this._marker},enumerable:!0,configurable:!0}),e}(o.a),P=function(){return function(){this.createMarker=!0}}(),w=function(t){function e(){var e=t.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("contentAlign","center");var i=new u.a;i.applyOnClones=!0,i.padding(10,0,10,0),i.margin(0,10,0,0),i.layout="horizontal",i.clickable=!0,i.focusable=!0,i.role="switch",i.togglable=!0,i.cursorOverStyle=v.a.pointer,i.background.fillOpacity=0,e.itemContainers=new s.e(i),e._disposers.push(new s.c(e.itemContainers)),e._disposers.push(e.itemContainers.template),e._disposers.push(Object(p.b)().body.events.on("keyup",function(t){h.b.isKey(t.event,"enter")&&e.focusedItem&&e.toggleDataItem(e.focusedItem)},e));var n=new f.a,r=new u.a;r.width=23,r.height=23,r.interactionsEnabled=!1,r.applyOnClones=!0,r.setStateOnChildren=!0,r.background.fillOpacity=0,r.background.strokeOpacity=0,r.propertyFields.fill="fill",r.valign="middle";var o=n.getFor("disabledBackground");r.events.on("childadded",function(t){var e=t.newValue.states.create("active");e.properties.stroke=o,e.properties.fill=o}),e.markers=new s.e(r),e._disposers.push(new s.c(e.markers)),e._disposers.push(e.markers.template);var c=r.createChild(a.a);c.width=Object(d.c)(100),c.height=Object(d.c)(100),c.applyOnClones=!0,c.propertyFields.fill="fill",c.strokeOpacity=0;var g=new l.a;g.text="{name}",g.margin(0,5,0,5),g.valign="middle",g.applyOnClones=!0,g.states.create("active").properties.fill=n.getFor("disabledBackground"),e.labels=new s.e(g),e._disposers.push(new s.c(e.labels)),e._disposers.push(e.labels.template),g.interactionsEnabled=!1;var y=new l.a;return y.margin(0,5,0,0),y.valign="middle",y.width=50,y.align="right",y.textAlign="end",y.applyOnClones=!0,y.states.create("active").properties.fill=n.getFor("disabledBackground"),y.interactionsEnabled=!1,e.valueLabels=new s.e(y),e._disposers.push(new s.c(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",i.states.create("active"),i.setStateOnChildren=!0,e.role="group",e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},e.prototype.createDataItem=function(){return new x},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.itemContainer,n=e.marker;g.used(e.label);var r=e.valueLabel;i.parent=this,i.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var o=e.dataContext.legendSettings,s=e.dataContext;!s.createLegendMarker||this.useDefaultMarker&&s instanceof m.a||e.childrenCreated||(s.createLegendMarker(n),e.childrenCreated=!0),s.updateLegendValue&&s.updateLegendValue(),r.invalid&&r.validate(),""==r.currentText||void 0==r.currentText?r.__disabled=!0:r.__disabled=!1,!o||void 0==o.itemValueText&&void 0==o.valueText||(r.__disabled=!1);var a=e.dataContext.visible;void 0===a&&(a=!0),a=y.toBoolean(a),e.dataContext.visible=a,i.events.disableType("toggled"),i.isActive=!a,i.events.enableType("toggled")},Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){this.setPropertyValue("position",t)&&("left"==t||"right"==t?(this.margin(10,20,10,20),this.valign="middle",this.itemContainers.template.width=Object(d.c)(100),this.valueLabels.template.width=Object(d.c)(100),this.labels.template.truncate=!0,this.labels.template.fullWords=!1):(this.itemContainers.template.width=void 0,this.itemContainers.template.maxWidth=void 0,this.valueLabels.template.width=50,this.labels.template.truncate=!1,this.width=Object(d.c)(100)),this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultMarker",{get:function(){return this.getPropertyValue("useDefaultMarker")},set:function(t){this.setPropertyValue("useDefaultMarker",t,!0)},enumerable:!0,configurable:!0}),e.prototype.toggleDataItem=function(t){var e=t.dataContext;!e.visible||e.isHiding||e instanceof m.a&&e.isHidden?(t.color=t.colorOrig,t.itemContainer.isActive=!1,!0===e.hidden&&(e.hidden=!1),e.show?e.show():e.visible=!0):(t.itemContainer.isActive=!0,e.hide?e.hide():e.visible=!1,t.color=(new f.a).getFor("disabledBackground"))},Object.defineProperty(e.prototype,"preloader",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.handleDataItemPropertyChange=function(t,e){t.valueLabel.invalidate(),t.label.invalidate()},e}(r.a);c.b.registeredClasses.Legend=w,_.c.push({relevant:_.b.widthXS,state:function(t,e){if(t instanceof w&&("left"==t.position||"right"==t.position)){var i=t.states.create(e);return i.properties.position="bottom",i}return null}}),_.c.push({relevant:_.b.heightXS,state:function(t,e){if(t instanceof w&&("top"==t.position||"bottom"==t.position)){var i=t.states.create(e);return i.properties.position="right",i}return null}}),_.c.push({relevant:_.b.isXS,state:function(t,e){if(t instanceof w){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},ua0L:function(t,e,i){var n=i("DvJ+"),r=i("kHwJ"),o=i("YEtG")("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},"uc+e":function(t,e,i){i("xdw4")("observable")},uqxK:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.key,s=n.set;n.exp({defineMetadata:function(t,e,i,n){s(t,e,r(i),o(n))}})},uuf2:function(t,e,i){var n=i("Gb1H"),r=Math.exp;n(n.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},ux7t:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("Tjl+"),o=i("aCit"),s=i("x79X"),a=i("vMqJ"),u=i("8ZqG"),l=i("tjMS"),h=i("v9UT"),c=i("0FpR"),p=i("Qkdp"),d=i("Mtpk"),f=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.a(e),e.transitionDuration=0,e.transitionEasing=c.cubicOut,e.properties={},e.propertyFields={},e.filters=new a.b,e.isTemplate=!1,e.className="SpriteState",e._disposers.push(new a.c(e.filters)),e.adapter.events.on("inserted",function(t){e[t.newValue.key]=e[t.newValue.key]},void 0,!1),e.adapter.events.on("removed",function(t){e[t.newValue.key]=e[t.newValue.key]},void 0,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.getPropertyValue=function(t){var e=this.properties[t],i=this.sprite;if(i){var n=this.propertyFields[t];if(d.hasValue(n)&&i.dataItem&&(e=i.dataItem.dataContext[n]),d.hasValue(e))e=this.adapter.apply(t,e);else{var r=i.getPropertyValue(t);(e=this.adapter.apply(t,i.getPropertyValue(t)))==r&&(e=void 0)}}return e},e.prototype.copyFrom=function(t){t&&t!=this&&(this.transitionDuration=t.transitionDuration,this.transitionEasing=t.transitionEasing,h.copyProperties(t.properties,this.properties),h.copyProperties(t.propertyFields,this.propertyFields),this.filters.copyFrom(t.filters),this.adapter.copyFrom(t.adapter))},Object.defineProperty(e.prototype,"allValues",{get:function(){var t=this,e={};p.each(this.properties,function(i,n){e[i]=t.getPropertyValue(i)});var i=this.adapter.keys();p.each(i,function(i,n){var r=t.getPropertyValue(n);e[n]=r});var n=this.propertyFields;return p.each(n,function(i){var n=t.getPropertyValue(i);e[i]=n}),e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.properties={},this.filters.clear()},e.prototype.processConfig=function(e){d.hasValue(e)&&d.hasValue(e.properties)&&p.each(e.properties,function(t,i){d.isString(i)&&(i.match(/^[0-9.\-]+\%$/)?e.properties[t]=Object(l.c)(d.toNumber(i)):i.match(/^\#[0-9abcdef]{3,}$/i)&&(e.properties[t]=Object(u.e)(i)))}),t.prototype.processConfig.call(this,e)},e}(r.a);o.b.registeredClasses.SpriteState=f},v9UT:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.used=function(t){},e.copyProperties=function(t,e){return u.each(t,function(t,i){o.hasValue(i)&&(e[t]=i)}),e},e.stripHash=h,e.getBaseURI=function(){var t="#",e=document.baseURI;if(e){e=h(e);var i=h(location.href);e!==i&&(t=i+t)}return t},e.softCopyProperties=function(t,e){return u.each(t,function(t,i){o.hasValue(i)&&!o.hasValue(e[t])&&(e[t]=i)}),e},e.copy=function(t,e){return u.each(t,function(t,i){e[t]=i}),e},e.isNotEmpty=function(t){return o.hasValue(t)&&""!==t.toString()},e.relativeToValue=function(t,e){return o.isNumber(t)?t:null!=t&&o.isNumber(t.value)&&o.isNumber(e)?e*t.value:0},e.relativeRadiusToValue=function(t,e,i){var n;o.isNumber(t)?(n=t)<0&&(n=i?e+n:e-n):null!=t&&o.isNumber(t.value)&&(n=e*t.value);return n},e.valueToRelative=function(t,e){return t instanceof n.a?t.value:t/e},e.getPixelRatio=function(){return window.devicePixelRatio||1},e.camelToDashed=function(t){return t.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()},e.capitalize=function(t){var e=t.split("");return e[0]=e[0].toUpperCase(),e.join("")},e.stringify=function(t){return JSON.stringify(t)},e.escapeForRgex=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},e.splitTextByCharCount=c,e.truncateWithEllipsis=function(t,e,i,n,r){if(t.length<=e)return t;(e-=i.length)<1&&(e=1);return(c(t,e,n,r)[0]||"")+i},e.trim=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.rtrim=function(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")},e.ltrim=function(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")},e.reverseString=p,e.unquote=function(t){var e=t.trim();(e=t.replace(/^'(.*)'$/,"$1"))==t&&(e=t.replace(/^"(.*)"$/,"$1"));return e},e.padString=function(t,e,i){void 0===e&&(e=0);void 0===i&&(i="0");"string"!=typeof t&&(t=t.toString());return e>t.length?Array(e-t.length+1).join(i)+t:t},e.getFormat=function(t){if(void 0===t)return a.g;var e=(t=(t=(t=t.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);if(e)return e[1];if(t===a.c)return a.c;if(t===a.a)return a.a;if(t===a.b)return a.b;if(t.match(/[#0]/))return a.c;if(t.match(/[ymwdhnsqaxkzgtei]/))return a.a;return a.g},e.cleanFormat=function(t){return t.replace(/\/(date|number|duration)$/i,"")},e.stripTags=d,e.plainText=function(t){return t?d(t.replace(/[\n\r]+/g,". ")):t},e.numberToString=function(t){if(o.isNaN(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(0===t&&1/t==-1/0)return"-0";var e=t<0;t=Math.abs(t);var i,n=o.getValue(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),r=n[1],a=n[2]||"";if(null==n[3])i=""===a?r:r+"."+a;else{var u=+n[3];if(t<1){var l=u-1;i="0."+s.repeat("0",l)+r+a}else{var l=u-a.length;i=0===l?r+a:l<0?r+a.slice(0,l)+"."+a.slice(l):r+a+s.repeat("0",l)}}return e?"-"+i:i},e.anyToDate=function(t){if(o.isDate(t))return new Date(t);if(o.isNumber(t))return new Date(t);var e=Number(t);return o.isNumber(e)?new Date(e):new Date(t)},e.anyToNumber=function(t){if(o.isDate(t))return t.getTime();if(o.isNumber(t))return t;if(o.isString(t)){var e=Number(t);return o.isNumber(e)?e:void 0}},e.getYearDay=f,e.getWeek=g,e.getMonthWeek=function(t,e){void 0===e&&(e=!1);var i=g(new Date(t.getFullYear(),t.getMonth(),1),e),n=g(t,e);1==n&&(n=53);return n-i+1},e.getDayFromWeek=function(t,e,i,n){void 0===i&&(i=1);void 0===n&&(n=!1);var r=new Date(e,0,4,0,0,0,0);n&&r.setUTCFullYear(e);return 7*t+i-((r.getDay()||7)+3)},e.get12Hours=function(t,e){t>12?t-=12:0===t&&(t=12);return o.hasValue(e)?t+(e-1):t},e.getTimeZone=function(t,e,i,n){void 0===e&&(e=!1);void 0===i&&(i=!1);void 0===n&&(n=!1);if(n)return e?"Coordinated Universal Time":"UTC";var r=t.toLocaleString("UTC"),o=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);!1===i&&(o=o.replace(/ (standard|daylight|summer|winter) /i," "));return o},e.random=function(t,e){return Math.floor(Math.random()*e)+t},e.fitNumber=function(t,e,i){if(t>i)return i;if(t<e)return e;return t},e.fitNumberRelative=function(t,e,i){var n=i-e;t>i?t=e+(t-n*Math.floor(t/n)):t<e&&(t=e+(t-n*Math.floor(t/n)));return t},e.svgPointToSprite=y,e.spritePointToSvg=m,e.spritePointToSprite=function(t,e,i){return y(m(t,e),i)},e.svgRectToSprite=function(t,e){var i=y(t,e),n=y({x:t.x+t.width,y:t.y+t.height},e);return{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}},e.spriteRectToSvg=function(t,e){var i=m(t,e),n=m({x:t.x+t.width,y:t.y+t.height},e);return{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}},e.documentPointToSvg=b,e.svgPointToDocument=v,e.documentPointToSprite=function(t,e){if(e&&e.htmlContainer){var i=b(t,o.getValue(e.htmlContainer),e.svgContainer.cssScale);return y(i,e)}return t},e.spritePointToDocument=function(t,e){if(e&&e.htmlContainer){var i=m(t,e);return v(i,o.getValue(e.htmlContainer))}return t},e.width=function(t){return t.clientWidth},e.height=function(t){return t.clientHeight},e.decimalPlaces=function(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);if(!e)return 0;return Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0))},e.parseUrl=x,e.serializeUrl=P,e.joinUrl=function(t,e){var i=x(t),n=x(e);if(w(i))throw new Error("Left URL is not absolute");if(w(n)){if(""!==n.path)if("/"===n.path[0])i.path=n.path;else{var r=i.path.split(/\//),o=n.path.split(/\//);if(0===r.length?0!==o.length&&r.push(""):r.length>1&&r.pop(),l.pushAll(r,o),i.path=r.join("/"),""!==i.path&&"/"!==i.path[0])throw new Error("URL path must start with /")}return i.query=n.query,i.hash=n.hash,P(i)}return P(n)},e.isIE=function(){return!!window.MSInputMethodContext&&!!document.documentMode};var n=i("tjMS"),r=i("Gg2j"),o=i("Mtpk"),s=i("wUYf"),a=i("ScGY"),u=i("Qkdp"),l=i("hJ5i");function h(t){return/^[^#]*/.exec(t)[0]}function c(t,e,i,n){if(t.length<=e)return[t];var r=[];if(i)for(var o=-1,s=t.replace(/([,;:!?\\\/\.\s]+)/g,a.d+"$1"+a.d).split(a.d),u=0;u<s.length;u++){var l=s[u],h=l.length;if(0!==h){var c;if(h>e){if(n&&(l=p(l)),c=l.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(var d=0;d<c.length;d++)c[d]=p(c[d]);r=r.concat(c)}}else-1===o&&(r.push(""),o=0),r[o].length+h+1>e&&""!==r[o]&&(r.push(""),o++),r[o]+=l;o=r.length-1}}else if(c=t.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(d=0;d<c.length;d++)c[d]=p(c[d]);r=c}return 1==r.length&&i&&r[0].length>e&&(r=[]),r}function p(t){return t.split("").reverse().join("")}function d(t){return t?t.replace(/<[^>]*>/g,""):t}function f(t,e){void 0===e&&(e=!1);var i=new Date(t.getFullYear(),0,1,0,0,0,0);return Math.floor((t.getTime()-i.getTime())/864e5)+1}function g(t,e){void 0===e&&(e=!1);var i=f(t,e)-1,n=Math.floor((i-(t.getDay()||7)+10)/7);return 0===n?n=53:53===n&&(n=1),n}function y(t,e){var i=t.x,n=t.y,s=[];if(e){for(;o.hasValue(e.parent);)s.push(e),e=e.parent;s.reverse();for(var a=0;a<s.length;a++){var u=s[a],l=u.rotation,h=i-u.pixelX-u.ex,c=n-u.pixelY-u.ey;u.dx&&(i-=u.dx),u.dy&&(n-=u.dy),i=(r.cos(-l)*h-r.sin(-l)*c)/u.scale-u.pixelPaddingLeft,n=(r.cos(-l)*c+r.sin(-l)*h)/u.scale-u.pixelPaddingTop}}return{x:i,y:n}}function m(t,e){var i=t.x,n=t.y;if(e)for(;o.hasValue(e.parent);){var s=e.rotation;i+=e.pixelPaddingLeft+e.ex,n+=e.pixelPaddingTop+e.ey,e.dx&&(i+=e.dx),e.dy&&(n+=e.dy);var a=e.pixelX+(i*r.cos(s)-n*r.sin(s))*e.scale,u=e.pixelY+(i*r.sin(s)+n*r.cos(s))*e.scale;i=a,n=u,e=e.parent}return{x:i,y:n}}function b(t,e,i){try{var n=e.getBoundingClientRect();return o.isNumber(i)||(i=1),{x:(t.x-n.left)/i,y:(t.y-n.top)/i}}catch(e){return t}}function v(t,e){try{var i=e.getBoundingClientRect();return{x:t.x+i.left,y:t.y+i.top}}catch(e){return t}}var _=/^([a-zA-Z][a-zA-Z0-9\+\.\-]*:)?(?:(\/\/)([^\@]+\@)?([^\/\?\#\:]*)(\:[0-9]+)?)?([^\?\#]*)(\?[^\#]*)?(\#.*)?$/;function x(t){var e=_.exec(t);return{protocol:e&&e[1]||"",separator:e&&e[2]||"",authority:e&&e[3]||"",domain:e&&e[4]||"",port:e&&e[5]||"",path:e&&e[6]||"",query:e&&e[7]||"",hash:e&&e[8]||""}}function P(t){return t.protocol+t.separator+t.authority+t.domain+t.port+t.path+t.query+t.hash}function w(t){return""===t.protocol&&""===t.separator&&""===t.authority&&""===t.domain&&""===t.port}},vDrc:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("DbOM"),s=i("hjwn");i("gD3S")&&n(n.P+i("3/+B"),"Object",{__defineGetter__:function(t,e){s.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},vFXE:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("T9LF"),o=i("G5U1"),s=i("RzG0")(),a=i("YEtG")("observable"),u=i("DbOM"),l=i("snR7"),h=i("ypVE"),c=i("cA+3"),p=i("Vng0"),d=i("hpnp"),f=d.RETURN,g=function(t){return null==t?void 0:u(t)},y=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},b=function(t){m(t)||(t._o=void 0,y(t))},v=function(t,e){l(t),this._c=void 0,this._o=t,t=new _(this);try{var i=e(t),n=i;null!=i&&("function"==typeof i.unsubscribe?i=function(){n.unsubscribe()}:u(i),this._c=i)}catch(e){return void t.error(e)}m(this)&&y(this)};v.prototype=c({},{unsubscribe:function(){b(this)}});var _=function(t){this._s=t};_.prototype=c({},{next:function(t){var e=this._s;if(!m(e)){var i=e._o;try{var n=g(i.next);if(n)return n.call(i,t)}catch(t){try{b(e)}finally{throw t}}}},error:function(t){var e=this._s;if(m(e))throw t;var i=e._o;e._o=void 0;try{var n=g(i.error);if(!n)throw t;t=n.call(i,t)}catch(t){try{y(e)}finally{throw t}}return y(e),t},complete:function(t){var e=this._s;if(!m(e)){var i=e._o;e._o=void 0;try{var n=g(i.complete);t=n?n.call(i,t):void 0}catch(t){try{y(e)}finally{throw t}}return y(e),t}}});var x=function(t){h(this,x,"Observable","_f")._f=u(t)};c(x.prototype,{subscribe:function(t){return new v(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||r.Promise)(function(i,n){u(t);var r=e.subscribe({next:function(e){try{return t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:i})})}}),c(x,{from:function(t){var e="function"==typeof this?this:x,i=g(l(t)[a]);if(i){var n=l(i.call(t));return n.constructor===e?n:new e(function(t){return n.subscribe(t)})}return new e(function(e){var i=!1;return s(function(){if(!i){try{if(d(t,!1,function(t){if(e.next(t),i)return f})===f)return}catch(t){if(i)throw t;return void e.error(t)}e.complete()}}),function(){i=!0}})},of:function(){for(var t=0,e=arguments.length,i=new Array(e);t<e;)i[t]=arguments[t++];return new("function"==typeof this?this:x)(function(t){var e=!1;return s(function(){if(!e){for(var n=0;n<i.length;++n)if(t.next(i[n]),e)return;t.complete()}}),function(){e=!0}})}}),p(x.prototype,a,function(){return this}),n(n.G,{Observable:x}),i("vdWU")("Observable")},vH9k:function(t,e,i){i("YJIw")("Int32",4,function(t){return function(e,i,n){return t(this,e,i,n)}})},vJiZ:function(t,e,i){var n=i("kcsd");t.exports=function(t){return Object(n(t))}},vMqJ:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"d",function(){return l}),i.d(e,"c",function(){return h}),i.d(e,"b",function(){return p}),i.d(e,"e",function(){return d});var n=i("m4/l"),r=i("hD5A"),o=i("o0Lc"),s=i("hJ5i"),a=i("Wglt"),u=function(){function t(t,e,i){this._array=t,this._start=e,this._end=i}return t.prototype.iterator=function(){var t=this;return function(e){if(t._start!==t._end)if(t._start<t._end)for(var i=t._start;i<t._end&&e(t._array[i]);++i);else for(i=t._start-1;i>=t._end&&e(t._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(e,i){if(e<=i){if(this._start===this._end)return this;if(this._start<this._end){var n=i-e;return e=Math.max(this._start+e,this._start),i=Math.min(e+n,this._end),new t(this._array,e,i)}n=i-e;return e=Math.max(this._start-e,this._end),i=Math.max(e-n,this._end),new t(this._array,e,i)}throw new Error("Start index must be lower than end index")},t}(),l=function(t){function e(e,i,n){var r=t.call(this,[e.events.on("inserted",function(t){var i=t.newValue,n=r._getKey(i),o=0;a.eachContinue(e.iterator(),function(t){return t!==i&&(r._getKey(t)===n&&++o,!0)}),r._insert(i,n,o)},void 0,!1),e.events.on("removed",function(t){r._remove(t.oldValue)},void 0,!1)])||this;return r._keys=[],r._groups={},r._getKey=i,r._sort=n,a.each(e.iterator(),function(t){r._insert(t,i(t))}),r}return n.c(e,t),e.prototype._insert=function(t,e,i){if(null==this._groups[e]){this._groups[e]=[];var n=s.getSortedIndex(this._keys,this._sort,e),r=n.found,o=n.index;if(r)throw new Error("Key already exists: "+e);s.insertIndex(this._keys,o,e)}null==i?this._groups[e].push(t):s.insertIndex(this._groups[e],i,t)},e.prototype._remove=function(t){var e=this._getKey(t),i=this._groups[e];if(null!=i&&(s.remove(i,t),0===i.length)){delete this._groups[e];var n=s.getSortedIndex(this._keys,this._sort,e),r=n.found,o=n.index;if(!r)throw new Error("Key doesn't exist: "+e);s.removeIndex(this._keys,o)}},e.prototype.iterator=function(){var t=this;return a.flatten(a.map(a.fromArray(this._keys),function(e){return a.fromArray(t._groups[e])}))},e}(r.c),h=function(t){function e(e){var i=e.events.on("removed",function(t){t.oldValue.dispose()},void 0,!1);return t.call(this,function(){i.dispose(),a.each(e.iterator(),function(t){t.dispose()})})||this}return n.c(e,t),e}(r.b);function c(t,e){if(!(t>=0&&t<e))throw new Error("Index out of bounds: "+t)}var p=function(){function t(t){void 0===t&&(t=[]),this.events=new o.a,this._values=t}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype.contains=function(t){return-1!==this._values.indexOf(t)},t.prototype.removeValue=function(t){for(var e=0,i=this._values.length;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e},t.prototype.indexOf=function(t){return s.indexOf(this._values,t)},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.hasIndex=function(t){return t>=0&&t<this._values.length},t.prototype.getIndex=function(t){return this._values[t]},t.prototype.setIndex=function(t,e){c(t,this._values.length);var i=this._values[t];return i!==e&&(this._values[t]=e,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})),i},t.prototype.insertIndex=function(t,e){c(t,this._values.length+1),s.insertIndex(this._values,t,e),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})},t.prototype._sortQuicksort=function(t,e,i){if(t<e){var n=this._sortPartition(t,e,i);this._sortQuicksort(t,n,i),this._sortQuicksort(n+1,e,i)}},t.prototype._sortPartition=function(t,e,i){for(var n=this._values,r=n[t],o=t-1,s=e+1;;){do{++o}while(i(n[o],r)<0);do{--s}while(i(n[s],r)>0);if(o>=s)return s;this.swap(o,s)}},t.prototype.sort=function(t){this._sortQuicksort(0,this._values.length-1,t)},t.prototype.swap=function(t,e){var i=this._values.length;if(c(t,i),c(e,i),t!==e){var n=this._values[t],r=this._values[e];this._values[t]=r,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:n,newValue:r}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:r,newValue:n})}},t.prototype.removeIndex=function(t){c(t,this._values.length);var e=this._values[t];return s.removeIndex(this._values,t),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(t,e){var i=this.indexOf(t);if(-1!==i){var n=this._values[i];s.removeIndex(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}null==e?(e=this._values.length,this._values.push(t)):s.insertIndex(this._values,e,t),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),-1===i&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t})},t.prototype.push=function(t){var e=this._values.push(t)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t}),t},t.prototype.unshift=function(t){this.insertIndex(0,t)},t.prototype.pushAll=function(t){var e=this;s.each(t,function(t){e.push(t)})},t.prototype.copyFrom=function(t){this.pushAll(t._values)},t.prototype.pop=function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(t){var e=this,i=s.copy(this._values);this._values.length=0,s.each(t,function(t){e._values.push(t)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&s.each(i,function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})}),this.events.isEnabled("inserted")&&s.each(this._values,function(t){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:t})})},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return a.fromArray(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return n.d(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e<t?[4,this._values[e]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}})},t.prototype.each=function(t){s.each(this._values,t)},t.prototype.range=function(t,e){if(t<=e){var i=e-t;return t=Math.max(t,0),e=Math.min(t+i,this._values.length),new u(this._values,t,e)}throw new Error("Start index must be lower than end index")},t.prototype.backwards=function(){return new u(this._values,this._values.length,0)},t}(),d=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return n.c(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.each(t.iterator(),function(t){e.push(t.clone())})},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.push(e),e},e.prototype.clone=function(){for(var t=new e(this.template),i=this.values,n=i.length,r=0;r<n;++r)t.push(i[r].clone());return t},e}(p)},vSjZ:function(t,e,i){var n=i("T9LF").navigator;t.exports=n&&n.userAgent||""},vaBr:function(t,e,i){"use strict";var n=i("0YcW"),r=i("rFJX");i("/Xnt")("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(r(this,"WeakSet"),t,!0)}},n,!1,!0)},vbOF:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("YotE"),o=i("Tjl+"),s=i("vMqJ"),a=i("+qIf"),u=i("zhwk"),l=i("Mtpk"),h=function(t){function e(e){var i=t.call(this)||this;return i.events=new r.a(i),i.eventDisposers=new a.a,i.replacedStyles=new a.a,i._clickable=!1,i._contextMenuDisabled=!1,i._hoverable=!1,i._trackable=!1,i._draggable=!1,i._swipeable=!1,i._resizable=!1,i._wheelable=!1,i._inert=!1,i._isHover=!1,i._isHoverByTouch=!1,i._isDown=!1,i._isFocused=!1,i._isTouchProtected=!1,i._inertiaOptions=new a.a,i.inertias=new a.a,i._hitOptions={},i._hoverOptions={},i._swipeOptions={},i._keyboardOptions={},i._cursorOptions={defaultStyle:[{property:"cursor",value:"default"}]},i._element=e,i.className="InteractionObject",i._disposers.push(new a.b(i.inertias)),i._disposers.push(new a.b(i.eventDisposers)),i.applyTheme(),i}return n.c(e,t),Object.defineProperty(e.prototype,"isHover",{get:function(){return this._isHover},set:function(t){this.isHover!=t&&(this._isHover=t,t?Object(u.b)().overObjects.moveValue(this):Object(u.b)().overObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHoverByTouch",{get:function(){return this._isHoverByTouch},set:function(t){this.isHoverByTouch!=t&&(this._isHoverByTouch=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overPointers",{get:function(){return this._overPointers||(this._overPointers=new s.b),this._overPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return this._isDown},set:function(t){this.isDown!=t&&(this._isDown=t,t?Object(u.b)().downObjects.moveValue(this):Object(u.b)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new s.b),this._downPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused},set:function(t){this.isFocused!=t&&(this._isFocused=t,Object(u.b)().focusedObject=t?this:void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTouchProtected",{get:function(){return this._isTouchProtected},set:function(t){this._isTouchProtected!=t&&(this._isTouchProtected=t,t?Object(u.b)().unprepElement(this):(this.draggable||this.swipeable||this.trackable||this.resizable)&&Object(u.b)().prepElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clickable",{get:function(){return this._clickable},set:function(t){this._clickable!==t&&(this._clickable=t,Object(u.b)().processClickable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contextMenuDisabled",{get:function(){return this._contextMenuDisabled},set:function(t){this._contextMenuDisabled!==t&&(this._contextMenuDisabled=t,Object(u.b)().processContextMenu(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this._hoverable},set:function(t){this._hoverable!==t&&(this._hoverable=t,Object(u.b)().processHoverable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this._trackable},set:function(t){this._trackable!==t&&(this._trackable=t,Object(u.b)().processTrackable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(t){this._draggable!==t&&(this._draggable=t,Object(u.b)().processDraggable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this._swipeable},set:function(t){this._swipeable!==t&&(this._swipeable=t,Object(u.b)().processSwipeable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this._resizable},set:function(t){this._resizable!==t&&(this._resizable=t,Object(u.b)().processResizable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this._wheelable},set:function(t){this._wheelable!==t&&(this._wheelable=t,Object(u.b)().processWheelable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inert",{get:function(){return this._inert},set:function(t){this._inert!==t&&(this._inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusable",{get:function(){return this._focusable},set:function(t){this._focusable!==t&&(this._focusable=t,this._focusable&&-1==this.tabindex&&(this._tabindex=1),Object(u.b)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return l.getValueDefault(this._tabindex,-1)},set:function(t){this._tabindex!==t&&(this._tabindex=t,t>-1&&(this.focusable=!0),Object(u.b)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this._element=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(t){this._originalPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalScale",{get:function(){return l.getValueDefault(this._originalScale,1)},set:function(t){this._originalScale!==t&&(this._originalScale=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalAngle",{get:function(){return l.getValueDefault(this._originalAngle,0)},set:function(t){this._originalAngle!==t&&(this._originalAngle=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return this.sprite?this.sprite.adapter.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions},set:function(t){this._inertiaOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hitOptions",{get:function(){return this.sprite?this.sprite.adapter.apply("hitOptions",this._hitOptions):this._hitOptions},set:function(t){this._hitOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){return this.sprite?this.sprite.adapter.apply("hoverOptions",this._hoverOptions):this._hoverOptions},set:function(t){this._hoverOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeOptions",{get:function(){return this.sprite?this.sprite.adapter.apply("swipeOptions",this._swipeOptions):this._swipeOptions},set:function(t){this._swipeOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){return this.sprite?this.sprite.adapter.apply("keyboardOptions",this._keyboardOptions):this._keyboardOptions},set:function(t){this._keyboardOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOptions",{get:function(){return this.sprite?this.sprite.adapter.apply("cursorOptions",this._cursorOptions):this._cursorOptions},set:function(t){this._cursorOptions=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.inertiaOptions=e.inertiaOptions,this.hitOptions=e.hitOptions,this.hoverOptions=e.hoverOptions,this.swipeOptions=e.swipeOptions,this.keyboardOptions=e.keyboardOptions,this.cursorOptions=e.cursorOptions,this.contextMenuDisabled=e.contextMenuDisabled,Object(u.b)().applyCursorOverStyle(this)},e.prototype.setEventDisposer=function(t,e,i){var n=this.eventDisposers.getKey(t);e?null==n&&this.eventDisposers.setKey(t,i()):null!=n&&(n.dispose(),this.eventDisposers.removeKey(t))},e.prototype.dispose=function(){t.prototype.dispose.call(this);var e=Object(u.b)();e.overObjects.removeValue(this),e.downObjects.removeValue(this),e.trackedObjects.removeValue(this),e.transformedObjects.removeValue(this),this.isHover&&this.wheelable&&e.unlockWheel(),e.focusedObject===this&&(e.focusedObject=void 0)},e}(o.b)},vdWU:function(t,e,i){"use strict";var n=i("T9LF"),r=i("hjwn"),o=i("gD3S"),s=i("YEtG")("species");t.exports=function(t){var e=n[t];o&&e&&!e[s]&&r.f(e,s,{configurable:!0,get:function(){return this}})}},vsTS:function(t,e,i){var n=i("hjwn"),r=i("nHHr"),o=i("K0ev"),s=i("U3hN"),a=i("Gb1H"),u=i("Wbjh"),l=i("snR7"),h=i("DvJ+");a(a.S,"Reflect",{set:function t(e,i,a){var c,p,d=arguments.length<4?e:arguments[3],f=r.f(l(e),i);if(!f){if(h(p=o(e)))return t(p,i,a,d);f=u(0)}if(s(f,"value")){if(!1===f.writable||!h(d))return!1;if(c=r.f(d,i)){if(c.get||c.set||!1===c.writable)return!1;c.value=a,n.f(d,i,c)}else n.f(d,i,u(0,a));return!0}return void 0!==f.set&&(f.set.call(d,a),!0)}})},w1yl:function(t,e,i){var n=i("YEtG")("toPrimitive"),r=Date.prototype;n in r||i("Vng0")(r,n,i("kJ6f"))},w4m0:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("GtDR"),o=i("aFzC"),s=i("hGwe"),a=function(t){function e(){var e=t.call(this)||this;return e._twaved=!0,e._rwaved=!0,e._bwaved=!0,e._lwaved=!0,e.className="WavedRectangle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this._pixelHeight;if(e>0&&i>0){var n={x:0,y:0},r={x:e,y:0},a={x:e,y:i},u={x:0,y:i},l=this.waveLength,h=this.waveHeight,c="",p="",d="",f="";this._twaved&&(c=Object(o.c)(n,r,l,h,this.tension,!0)),this._rwaved&&(f=Object(o.c)(r,a,l,h,this.tension,!0)),this._bwaved&&(d=Object(o.c)(a,u,l,h,this.tension,!0)),this._rwaved&&(p=Object(o.c)(u,n,l,h,this.tension,!0)),this.path=s.moveTo(n)+c+s.lineTo(r)+f+s.lineTo(a)+d+s.lineTo(u)+p+"z"}},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.setWavedSides=function(t,e,i,n){this._twaved=t,this._lwaved=e,this._bwaved=i,this._rwaved=n},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a)},wDk4:function(t,e,i){var n=i("T9LF"),r=i("Vng0"),o=i("U3hN"),s=i("7bL/")("src"),a=Function.toString,u=(""+a).split("toString");i("G5U1").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,i,a){var l="function"==typeof i;l&&(o(i,"name")||r(i,"name",e)),t[e]!==i&&(l&&(o(i,s)||r(i,s,t[e]?""+t[e]:u.join(String(e)))),t===n?t[e]=i:a?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},wUYf:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.order=function(t,e){return t===e?0:t<e?-1:1},e.repeat=function(t,e){return new Array(e+1).join(t)},e.random=function(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}},wYgt:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},wdkS:function(t,e,i){var n=i("Gb1H"),r=i("+6ht"),o=i("EhJv"),s=i("nHHr"),a=i("e8Nv");n(n.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,i,n=o(t),u=s.f,l=r(n),h={},c=0;l.length>c;)void 0!==(i=u(n,e=l[c++]))&&a(h,e,i);return h}})},x2K9:function(t,e,i){"use strict";var n=i("snR7");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},x79X:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"c",function(){return h}),i.d(e,"a",function(){return c});var n=i("VGgz"),r=i("3Cxr"),o=i("MlsF"),s=i("Wglt"),a=i("hJ5i"),u=i("Mtpk"),l=function(){function t(){this._callbackId=0,this._callbacks=new n.c(function(t,e){return o.a(r.order(t.priority,e.priority),r.order(t.id,e.id))})}return t.prototype.addAll=function(t,e,i,n,r){void 0===n&&(n=0),this._callbacks.insert({id:++this._callbackId,key:e,callback:i,priority:n,scope:r,type:t})},t.prototype.isEnabled=function(t,e){return this._callbacks.length>0},t.prototype.applyAll=function(t,e,i){var n=this._callbacks.values,r=n.length;if(0==r)return i;for(var o=0;o<r;++o){var s=n[o];s.key===e&&t instanceof s.type&&(i=s.callback.call(s.scope,i,t,e))}return i},t}(),h=new l,c=function(){function t(t){this._callbackId=0,this._callbacks=new n.c(function(t,e){return o.a(r.order(t.priority,e.priority),r.order(t.id,e.id))}),this.object=t,this.events=this._callbacks.events}return t.prototype.add=function(t,e,i,n){void 0===i&&(i=0),this._callbacks.insert({id:++this._callbackId,key:t,callback:e,priority:i,scope:n})},t.prototype.has=function(t,e,i,n){return void 0===i&&(i=0),!1},t.prototype.remove=function(t,e){var i=this;a.each(s.toArray(this._callbacks.iterator()),function(n){n.key!==t||u.isNumber(e)&&e!==n.priority||i._callbacks.remove(n)})},t.prototype.isEnabled=function(t){return this._callbacks.length>0||h.isEnabled(this.object,t)},t.prototype.apply=function(t,e){var i=this._callbacks.values,n=i.length;if(n>0)for(var r=0;r<n;++r){var o=i[r];o.key===t&&(e=o.callback.call(o.scope,e,this.object,t))}return e=h.applyAll(this.object,t,e)},t.prototype.keys=function(){return s.toArray(s.map(this._callbacks.iterator(),function(t){return t.key}))},t.prototype.copyFrom=function(t){var e=this;s.each(t._callbacks.iterator(),function(t){e.add(t.key,t.callback,t.priority,t.scope)})},t.prototype.clear=function(){this._callbacks.clear()},t}()},xCMl:function(t,e,i){"use strict";var n=i("hgv4"),r=i("rFJX");t.exports=i("/Xnt")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(r(this,"Set"),t=0===t?0:t,t)}},n)},xDSx:function(t,e,i){var n=i("DvJ+"),r=i("kFp5").onFreeze;i("5lay")("freeze",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},xEZ5:function(t,e,i){"use strict";i("Mvcd")("anchor",function(t){return function(e){return t(this,"a","name",e)}})},xIv9:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("aGXA"),o=i("Vs7R"),s=i("MIZb"),a=i("aCit"),u=i("hGwe"),l=function(t){function e(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new o.a;i.element=e.paper.add("path");var n=u.moveTo({x:-2,y:-6});return n+=u.lineTo({x:-2,y:6}),n+=u.moveTo({x:2,y:-6}),n+=u.lineTo({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=(new s.a).getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"orientation",{set:function(t){var e=this.icon;e&&(e.rotation="horizontal"==t?0:-90)},enumerable:!0,configurable:!0}),e}(r.a);a.b.registeredClasses.ResizeButton=l},xSzy:function(t,e,i){for(var n,r=i("T9LF"),o=i("Vng0"),s=i("7bL/"),a=s("typed_array"),u=s("view"),l=!(!r.ArrayBuffer||!r.DataView),h=l,c=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(n=r[p[c++]])?(o(n.prototype,a,!0),o(n.prototype,u,!0)):h=!1;t.exports={ABV:l,CONSTR:h,TYPED:a,VIEW:u}},xdw4:function(t,e,i){var n=i("T9LF"),r=i("G5U1"),o=i("pb4Y"),s=i("xxwE"),a=i("hjwn").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},xgTw:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("jfaP"),o=i("aCit"),s=i("Gg2j"),a=i("hGwe"),u=function(t){function e(){var e=t.call(this)||this;return e.className="Polyspline",e.tensionX=.5,e.tensionY=.5,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments,e=this.tensionX,i=this.tensionY;if(t&&t.length>0){var n="";this._realSegments=[];for(var r=0,o=t.length;r<o;r++){var u=t[r],l=[];if(this._realSegments.push(l),u.length>0){n+=a.moveTo(u[0]);for(var h=0;h<u.length-1;h++){var c=u[h-1],p=u[h],d=u[h+1],f=u[h+2];0===h?c=u[h]:h==u.length-2&&(f=u[h+1]),f||(f=d);var g=s.getCubicControlPointA(c,p,d,f,e,i),y=s.getCubicControlPointB(c,p,d,f,e,i);n+=a.cubicCurveTo(d,g,y);var m=Math.ceil(s.getDistance(p,d))/2,b=p;if(m>0)for(var v=0;v<=m;v++){var _=s.getPointOnCubicCurve(p,d,g,y,v/m);l.push(_),this._distance+=s.getDistance(b,_),b=_}else l.push(c)}}}this.path=n}},Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);o.b.registeredClasses.Polyspline=u},xwvB:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("DbOM"),o=i("vJiZ"),s=i("AEc5"),a=[].sort,u=[1,2,3];n(n.P+n.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!i("GQop")(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),r(t))}})},xxwE:function(t,e,i){e.f=i("YEtG")},y2pX:function(t,e,i){"use strict";var n=i("vJiZ"),r=i("UwWU"),o=i("FmWr");t.exports=[].copyWithin||function(t,e){var i=n(this),s=o(i.length),a=r(t,s),u=r(e,s),l=arguments.length>2?arguments[2]:void 0,h=Math.min((void 0===l?s:r(l,s))-u,s-a),c=1;for(u<a&&a<u+h&&(c=-1,u+=h-1,a+=h-1);h-- >0;)u in i?i[a]=i[u]:delete i[a],a+=c,u+=c;return i}},yBbu:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.keys,s=n.key;n.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?void 0:s(arguments[1]))}})},yOPk:function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},ybeA:function(t,e,i){var n=i("T9LF"),r=i("Gb1H"),o=i("vSjZ"),s=[].slice,a=/MSIE .\./.test(o),u=function(t){return function(e,i){var n=arguments.length>2,r=!!n&&s.call(arguments,2);return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,i)}};r(r.G+r.B+r.F*a,{setTimeout:u(n.setTimeout),setInterval:u(n.setInterval)})},yl71:function(t,e,i){var n=i("Gb1H"),r=i("EhJv"),o=i("FmWr");n(n.S,"String",{raw:function(t){for(var e=r(t.raw),i=o(e.length),n=arguments.length,s=[],a=0;i>a;)s.push(String(e[a++])),a<n&&s.push(String(arguments[a]));return s.join("")}})},ypVE:function(t,e){t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},z9n7:function(t,e,i){i("YJIw")("Float32",4,function(t){return function(e,i,n){return t(this,e,i,n)}})},zAAN:function(t,e,i){var n=i("0Zt3"),r=i("kcsd");t.exports=function(t,e,i){if(n(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(r(t))}},zhwk:function(t,e,i){"use strict";i.d(e,"a",function(){return _}),e.b=P;var n=i("m4/l"),r=i("Tjl+"),o=i("vMqJ"),s=i("1yyj"),a=i("hD5A"),u=i("vbOF"),l=i("Oe1l"),h=i("+qIf"),c=i("0PyG"),p=i("58Sn"),d=i("WYhe"),f=i("Rpw0"),g=i("0FpR"),y=i("Gg2j"),m=i("Wglt"),b=i("Mtpk"),v=i("L91H"),_=function(t){function e(){var e=t.call(this)||this;e._globalEventsAdded=!1,e._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},e._usePointerEventsOnly=!1,e._useTouchEventsOnly=!1,e._addHoverEvents=!0,e._passiveSupported=!1,e._delayedEvents={out:[]},e.overObjects=new o.b,e.downObjects=new o.b,e.trackedObjects=new o.b,e.transformedObjects=new o.b,e.pointers=new h.a,e.inertiaOptions=new h.a,e.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},e.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},e.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},e.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},e.className="Interaction",e.body=e.getInteraction(document.body),e._disposers.push(e.body),window.hasOwnProperty("PointerEvent")?(e._pointerEvents.pointerdown="pointerdown",e._pointerEvents.pointerup="pointerup",e._pointerEvents.pointermove="pointermove",e._pointerEvents.pointercancel="pointercancel",e._pointerEvents.pointerover="pointerover",e._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")?(e._pointerEvents.pointerdown="MSPointerDown",e._pointerEvents.pointerup="MSPointerUp",e._pointerEvents.pointermove="MSPointerMove",e._pointerEvents.pointercancel="MSPointerUp",e._pointerEvents.pointerover="MSPointerOver",e._pointerEvents.pointerout="MSPointerOut"):"undefined"!=typeof matchMedia&&matchMedia("(pointer:fine)")?"ontouchstart"in window&&(e._addHoverEvents=!1):window.navigator.userAgent.match(/MSIE /)?e._usePointerEventsOnly=!0:e._useTouchEventsOnly=!0,"onwheel"in document.createElement("div")?e._pointerEvents.wheel="wheel":b.hasValue(document.onmousewheel)&&(e._pointerEvents.wheel="mousewheel"),e.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:g.polyOut3}),e.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:g.polyOut3});try{var i=e,n=Object.defineProperty({},"passive",{get:function(){i._passiveSupported=!0}});window.addEventListener("test",n,n),window.removeEventListener("test",n,n)}catch(t){e._passiveSupported=!1}return e.applyTheme(),e}return n.c(e,t),e.prototype.fullFF=function(){return window.navigator.userAgent.match(/Firefox/)&&!window.navigator.userAgent.match(/Android/)},e.prototype.debug=function(){},e.prototype.addGlobalEvents=function(){var t=this;this._globalEventsAdded||(this._useTouchEventsOnly||(this._disposers.push(Object(p.g)(document,this._pointerEvents.pointerdown,function(e){t.handleGlobalPointerDown(e)})),this._disposers.push(Object(p.g)(document,this._pointerEvents.pointermove,function(e){t.handleGlobalPointerMove(e)})),this._disposers.push(Object(p.g)(document,this._pointerEvents.pointerup,function(e){t.handleGlobalPointerUp(e)})),this._disposers.push(Object(p.g)(document,this._pointerEvents.pointercancel,function(e){t.handleGlobalPointerUp(e,!0)}))),this._usePointerEventsOnly||(this._disposers.push(Object(p.g)(document,"touchstart",function(e){t.handleGlobalTouchStart(e)})),this._disposers.push(Object(p.g)(document,"touchmove",function(e){t.handleGlobalTouchMove(e)})),this._disposers.push(Object(p.g)(document,"touchend",function(e){t.handleGlobalTouchEnd(e)}))),this._disposers.push(Object(p.g)(document,"keydown",function(e){t.handleGlobalKeyDown(e)})),this._disposers.push(Object(p.g)(document,"keyup",function(e){t.handleGlobalKeyUp(e)})),this._globalEventsAdded=!0)},e.prototype.processClickable=function(t){this.processTouchable(t)},e.prototype.processContextMenu=function(t){t.contextMenuDisabled?t.eventDisposers.hasKey("contextMenuDisabled")||t.eventDisposers.setKey("contextMenuDisabled",Object(p.g)(t.element,"contextmenu",function(t){t.preventDefault()})):t.eventDisposers.hasKey("contextMenuDisabled")&&t.eventDisposers.getKey("contextMenuDisabled").dispose()},e.prototype.processHoverable=function(t){var e=this;if(t.hoverable||t.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(t),!t.eventDisposers.hasKey("hoverable")&&this._addHoverEvents&&t.eventDisposers.setKey("hoverable",new a.c([Object(p.g)(t.element,this._pointerEvents.pointerout,function(i){return e.handlePointerOut(t,i)}),Object(p.g)(t.element,this._pointerEvents.pointerover,function(i){return e.handlePointerOver(t,i)})])),t.trackable;else{var i=t.eventDisposers.getKey("hoverable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("hoverable"))}this.processTouchable(t)},e.prototype.processMovable=function(t){(t.draggable||t.swipeable||t.trackable||t.resizable)&&(this.isGlobalElement(t)||t.isTouchProtected||this.prepElement(t),this.applyCursorOverStyle(t)),this.processTouchable(t)},e.prototype.processTrackable=function(t){this.processHoverable(t),this.processMovable(t),t.trackable?this.trackedObjects.moveValue(t):this.trackedObjects.removeValue(t)},e.prototype.processDraggable=function(t){this.processMovable(t)},e.prototype.processSwipeable=function(t){this.processMovable(t)},e.prototype.processResizable=function(t){this.processMovable(t)},e.prototype.processWheelable=function(t){var e=this;if(t.wheelable)t.eventDisposers.hasKey("wheelable")||t.eventDisposers.setKey("wheelable",new a.c([Object(p.g)(t.element,this._pointerEvents.wheel,function(i){return e.handleMouseWheel(t,i)},!!this._passiveSupported&&{passive:!1}),t.events.on("out",function(i){t.wheelable&&e.unlockWheel()}),t.events.on("over",function(i){t.wheelable&&e.lockWheel()})]));else{var i=t.eventDisposers.getKey("wheelable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("wheelable"))}},e.prototype.processFocusable=function(t){var e=this;if(!0===t.focusable&&t.tabindex>-1&&!this._useTouchEventsOnly)t.eventDisposers.hasKey("focusable")||t.eventDisposers.setKey("focusable",new a.c([Object(p.g)(t.element,"focus",function(i){return e.handleFocus(t,i)}),Object(p.g)(t.element,"blur",function(i){return e.handleBlur(t,i)}),Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handleFocusBlur(t,i)}),Object(p.g)(t.element,"touchstart",function(i){return e.handleFocusBlur(t,i)},!!this._passiveSupported&&{passive:!1})]));else{var i=t.eventDisposers.getKey("focusable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("focusable"))}},e.prototype.processTouchable=function(t){var e=this;if(t.clickable||t.hoverable||t.trackable||t.draggable||t.swipeable||t.resizable)this.addGlobalEvents(),t.eventDisposers.hasKey("touchable")||(this._useTouchEventsOnly||this._usePointerEventsOnly?this._useTouchEventsOnly?this._usePointerEventsOnly||t.eventDisposers.setKey("touchable",Object(p.g)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})):t.eventDisposers.setKey("touchable",Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)})):t.eventDisposers.setKey("touchable",new a.c([Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)}),Object(p.g)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})])));else{var i=t.eventDisposers.getKey("touchable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("touchable"))}},e.prototype.handleFocus=function(t,e){if(t.focusable){if(t.isFocused=!0,t.events.isEnabled("focus")&&!f.b.isPaused){var i={type:"focus",target:t,event:e};t.events.dispatchImmediately("focus",i)}}else e.preventDefault()},e.prototype.handleFocusBlur=function(t,e){!1!==t.focusable&&this.getHitOption(t,"noFocus")&&t.events.once("focus",function(){t.events.disableType("blur"),p.h(),t.sprite&&t.sprite.handleBlur(),t.events.enableType("blur")})},e.prototype.handleBlur=function(t,e){if(t.focusable){if(t.isFocused=!1,t.events.isEnabled("blur")&&!f.b.isPaused){var i={type:"blur",target:t,event:e};t.events.dispatchImmediately("blur",i)}}else e.preventDefault()},e.prototype.handleGlobalKeyDown=function(t){if(this.focusedObject)if(d.b.isKey(t,"esc"))p.h();else if(this.focusedObject.draggable&&d.b.isKey(t,["up","down","left","right"])){t.preventDefault();var e=this.focusedObject;if(e.eventDisposers.hasKey("interactionKeyboardObject"))return;var i=new l.a(e,t);switch(e.eventDisposers.setKey("interactionKeyboardObject",i),d.b.getEventKey(t)){case"up":i.directionY=-1;break;case"down":i.directionY=1;break;case"left":i.directionX=-1;break;case"right":i.directionX=1}}},e.prototype.handleGlobalKeyUp=function(t){if(this.focusedObject){var e=this.focusedObject.eventDisposers.getKey("interactionKeyboardObject");null!=e&&(t.preventDefault(),e.dispose(),this.focusedObject.eventDisposers.removeKey("interactionKeyboardObject"))}},e.prototype.handleGlobalPointerMove=function(t){var e=this.getPointer(t);if(e.point=this.getPointerPoint(t),this.events.isEnabled("track")&&!f.b.isPaused){var i={type:"track",target:this,event:t,pointer:e,touch:e.touch};this.events.dispatchImmediately("track",i)}this.addBreadCrumb(e,e.point),this.handleGlobalMove(e,t)},e.prototype.handleGlobalPointerDown=function(t){this.processDelayed();var e=this.getPointer(t);if(this.events.isEnabled("down")&&!f.b.isPaused){var i={type:"down",target:this,event:t,pointer:e,touch:e.touch};this.events.dispatchImmediately("down",i)}},e.prototype.preventTouchAction=function(t){t.defaultPrevented||t.preventDefault()},e.prototype.handleGlobalPointerUp=function(t,e){void 0===e&&(e=!1);var i=this.getPointer(t);if(this.events.isEnabled("up")&&!f.b.isPaused){var n={type:"up",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t,e)},e.prototype.handleGlobalTouchMove=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(i.point=this.getPointerPoint(t.changedTouches[e]),this.events.isEnabled("track")&&!f.b.isPaused){var n={type:"track",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("track",n)}this.addBreadCrumb(i,i.point),this.handleGlobalMove(i,t)}},e.prototype.handleGlobalTouchStart=function(t){this.processDelayed();for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(!this._usePointerEventsOnly&&this.events.isEnabled("down")&&!f.b.isPaused){var n={type:"down",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("down",n)}}},e.prototype.handleGlobalTouchEnd=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(this.events.isEnabled("up")&&!f.b.isPaused){var n={type:"up",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t)}},e.prototype.handlePointerDown=function(t,e){var i=this.getPointer(e);(i.touch||1==e.which||3==e.which)&&(i.button=e.which,this.resetPointer(i,e),this.handleDown(t,i,e))},e.prototype.handlePointerOver=function(t,e){var i=this.getPointer(e);this.handleOver(t,i,e)},e.prototype.handlePointerOut=function(t,e){var i=this.getPointer(e);this.handleOut(t,i,e)},e.prototype.handleMouseWheel=function(t,e){var i=this.getPointer(e);i.point=this.getPointerPoint(e);var n=0,r=0,o=1;if(1==e.deltaMode&&(o=50),!(e instanceof WheelEvent))throw new Error("Invalid event type");n=Math.round(-1*e.wheelDeltaX||e.deltaX)*o,r=Math.round(-1*e.wheelDeltaY||e.deltaY)*o,this.handleWheel(t,i,n,r,e)},e.prototype.handleTouchDown=function(t,e){for(var i=0;i<e.changedTouches.length;i++){var n=this.getPointer(e.changedTouches[i]);this.maybePreventDefault(t,e,n),this.resetPointer(n,e.changedTouches[i]),this.handleDown(t,n,e)}},e.prototype.handleHit=function(t,e,i){var n=v.getTime();if(t.lastHit&&t.lastHit>=n-this.getHitOption(t,"doubleHitTime")){if(n-t.lastHit<100)return;if(t.lastHit=void 0,t.lastHitPointer=void 0,t.events.isEnabled("doublehit")&&!f.b.isPaused){var r={type:"doublehit",target:t,point:e.point,event:i,touch:e.touch};t.events.dispatchImmediately("doublehit",r)}}else if(t.lastHit=n,t.lastHitPointer=e,3===e.button){if(t.events.isEnabled("rightclick")&&!f.b.isPaused){r={type:"rightclick",target:t,event:i};t.events.dispatchImmediately("rightclick",r)}}else if(t.events.isEnabled("hit")&&!f.b.isPaused){r={type:"hit",target:t,event:i,point:e.point,touch:e.touch};t.events.dispatchImmediately("hit",r)}},e.prototype.handleOver=function(t,e,i,n){if(void 0===n&&(n=!1),t.hoverable&&(this.processDelayed(),t.overPointers.moveValue(e),!t.isHover&&(t.isHover=!0,this.overObjects.moveValue(t),this.handleTrack(this.body,e,i,!0),t.events.isEnabled("over")&&!f.b.isPaused))){var r={type:"over",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("over",r)}},e.prototype.handleOut=function(t,e,i,n,r){var o=this;if(void 0===n&&(n=!1),void 0===r&&(r=!1),t.hoverable&&(t.overPointers.removeValue(e),t.isHover&&(!t.hasDelayedOut||r))){if(n&&t.overPointers.length)return;if(e.touch&&!r&&!this.old(e)){var s=this.getHoverOption(t,"touchOutBehavior");if("leave"==s)return this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:v.getTime()+500}),void(t.hasDelayedOut=!0);if("delay"==s&&this.getHoverOption(t,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:v.getTime()+500,timeout:this.setTimeout(function(){o.handleOut(t,e,i,!0)},this.getHoverOption(t,"touchOutDelay"))})}if(t.isHover=!1,this.overObjects.removeValue(t),t.events.isEnabled("out")&&!f.b.isPaused){var a={type:"out",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("out",a)}t.overPointers.clear(),t.hasDelayedOut=!1}},e.prototype.processDelayed=function(){for(var t;t=this._delayedEvents.out.pop();)t.timeout&&t.timeout.dispose(),this.handleOut(t.io,t.pointer,t.event,!1,!0)},e.prototype.handleDown=function(t,e,i){if(this.maybePreventDefault(t,i,e),t.inert&&this.stopInertia(t),this.handleOver(t,e,i,!0),t.downPointers.moveValue(e),this.applyCursorDownStyle(t,e),t.isDown||(!1!==t.focusable&&this.getHitOption(t,"noFocus")&&this.focusedObject&&p.h(),t.isDown=!0,this.downObjects.moveValue(t),t.draggable&&this.processDragStart(t,e,i),t.resizable&&this.processResizeStart(t,e,i)),t.events.isEnabled("down")&&!f.b.isPaused){var n={type:"down",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("down",n)}},e.prototype.handleGlobalUp=function(t,e,i){var n=this;void 0===i&&(i=!1),m.each(this.downObjects.backwards().iterator(),function(r){r&&r.downPointers.contains(t)&&n.handleUp(r,t,e,i)})},e.prototype.handleUp=function(t,e,i,n){if(void 0===n&&(n=!1),this.restoreCursorDownStyle(t,e),t.downPointers.removeValue(e),(e.touch||this._useTouchEventsOnly)&&this.handleOut(t,e,i,!0),t.isDown){if(0==t.downPointers.length&&(t.isDown=!1,this.downObjects.removeValue(t)),t.events.isEnabled("up")&&!f.b.isPaused){var r={type:"up",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("up",r)}n||(t.swipeable&&this.swiped(t,e)?this.handleSwipe(t,e,i):(t.clickable&&!this.moved(e,this.getHitOption(t,"hitTolerance"))&&this.handleHit(t,e,i),t.inert&&this.moved(e,this.getHitOption(t,"hitTolerance"))?this.handleInertia(t,e):t.draggable&&this.processDragStop(t,e,i),t.resizable&&this.processResizeStop(t,e,i)))}},e.prototype.maybePreventDefault=function(t,e,i){!b.hasValue(e)||!(t.draggable||t.swipeable||t.trackable||t.resizable)||this.isGlobalElement(t)||!1===e.cancelable||t.isTouchProtected&&i&&i.touch||e.preventDefault()},e.prototype.handleGlobalMove=function(t,e){var i=this;t.touch||m.each(this.overObjects.backwards().iterator(),function(n){if(n&&n.overPointers.contains(t)&&n.hoverable){var r=!1;n.element&&t.lastEvent&&p.i(n.element,t.lastEvent.target)||(r=!0),r&&i.handleOut(n,t,e,!0)}}),m.each(this.transformedObjects.backwards().iterator(),function(n){!n.downPointers.contains(t)||n.swipeable&&i.swiping(n,t)||!n.draggable&&!n.resizable||i.handleTransform(n,e)}),m.each(this.trackedObjects.backwards().iterator(),function(n){n.overPointers.contains(t)||i.handleTrack(n,t,e)})},e.prototype.handleTrack=function(t,e,i,n){if(void 0===n&&(n=!1),(n||this.moved(e,0))&&t.events.isEnabled("track")&&!f.b.isPaused){var r={type:"track",target:t,event:i,point:e.point,pointer:e,touch:e.touch};t.events.dispatchImmediately("track",r)}},e.prototype.handleSwipe=function(t,e,i){if(t.events.isEnabled("swipe")&&!f.b.isPaused){var n={type:"swipe",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swipe",n)}if(e.startPoint.x<e.point.x){if(t.events.isEnabled("swiperight")&&!f.b.isPaused){n={type:"swiperight",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swiperight",n)}}else if(t.events.isEnabled("swipeleft")&&!f.b.isPaused){n={type:"swipeleft",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swipeleft",n)}},e.prototype.handleWheel=function(t,e,i,n,r){var o={x:i,y:n};t.events.isEnabled("wheel")&&!f.b.isPaused&&t.events.dispatchImmediately("wheel",{type:"wheel",target:t,event:r,point:e.point,shift:o}),i<0?t.events.isEnabled("wheelleft")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelleft",{type:"wheelleft",target:t,event:r,point:e.point,shift:o}):i>0?t.events.isEnabled("swiperight")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelright",{type:"wheelright",target:t,event:r,point:e.point,shift:o}):n<0?t.events.isEnabled("wheelup")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelup",{type:"wheelup",target:t,event:r,point:e.point,shift:o}):n>0&&t.events.isEnabled("wheeldown")&&!f.b.isPaused&&t.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:t,event:r,point:e.point,shift:o})},e.prototype.handleInertia=function(t,e){t.draggable&&0===t.downPointers.length&&this.handleMoveInertia(t,e),t.resizable&&t.downPointers.length>1&&this.handleResizeInertia(t,e)},e.prototype.handleMoveInertia=function(t,e){var i=t,n={x:e.point.x,y:e.point.y},r={x:e.startPoint.x,y:e.startPoint.y},o=new c.a(i,"move",n,r),a=this.getTrailPoint(e,v.getTime()-this.getInertiaOption(t,"move","time"));if(void 0!==a){var u=this.getInertiaOption(t,"move","factor"),l=[{to:e.point.x+(e.point.x-a.point.x)*u,property:"x"},{to:e.point.y+(e.point.y-a.point.y)*u,property:"y"}],h=new s.a(o,l,this.getInertiaOption(t,"move","duration"),this.getInertiaOption(t,"move","easing")).start();this._disposers.push(h.events.on("animationended",function(t){o.done()})),t.inertias.setKey("move",o)}else this.processDragStop(t,e,e.lastUpEvent)},e.prototype.handleResizeInertia=function(t,e){},e.prototype.handleTransform=function(t,e){var i,n,r,o=t.downPointers.getIndex(0),s=null,a=null;o&&(s=o.point,a=o.startPoint),r=n={x:t.originalPosition.x,y:t.originalPosition.y};for(var u=!0,l=1;l<t.downPointers.length;l++){var h=t.downPointers.getIndex(l);if(a.x!=h.startPoint.x&&a.y!=h.startPoint.y){u=!1,n=(i=h).point,r=i.startPoint;break}}var c=o&&this.moved(o,0);if(t.draggable&&o&&o.dragStartEvents&&o.dragStartEvents.length&&c&&t.events.isEnabled("dragstart")&&!f.b.isPaused&&t.events.dispatchImmediately("dragstart",o.dragStartEvents.shift()),u&&t.draggable)this.handleTransformMove(t,s,a,e,c,o.touch);else{var p=i&&this.moved(i,0);t.draggable&&t.resizable?(this.handleTransformMove(t,s,a,e,c&&p,o.touch),this.handleTransformResize(t,s,a,n,r,e,c&&p,o.touch)):(t.draggable&&this.handleTransformMove(t,s,a,e,c,o.touch),!t.resizable||u&&!e.ctrlKey||this.handleTransformResize(t,s,a,n,r,e,c&&p,o.touch))}},e.prototype.handleTransformMove=function(t,e,i,n,r,o){if(r&&t.events.isEnabled("drag")&&!f.b.isPaused){var s={type:"drag",target:t,event:n,shift:{x:e.x-i.x,y:e.y-i.y},startPoint:i,point:e,touch:o};t.events.dispatchImmediately("drag",s)}},e.prototype.handleTransformResize=function(t,e,i,n,r,o,s,a){if(t.events.isEnabled("resize")&&!f.b.isPaused){var u={type:"resize",target:t,event:o,scale:y.getScale(e,i,n,r),startPoint1:i,point1:e,startPoint2:r,point2:n,touch:a};t.events.dispatchImmediately("resize",u)}},e.prototype.processDragStart=function(t,e,i){this.transformedObjects.moveValue(t);var n={type:"dragstart",target:t,event:i,touch:!!e&&e.touch};e&&(e.dragTarget=t),e&&e.dragStartEvents?e.dragStartEvents.push(n):f.b.isPaused||t.dispatchImmediately("dragstart",n)},e.prototype.processDragStop=function(t,e,i){if(e||(e=this.getDragPointer(t)),e&&(e.dragTarget=void 0),this.transformedObjects.removeValue(t),(!e||this.moved(e,0))&&t.events.isEnabled("dragstop")&&!f.b.isPaused){var n={type:"dragstop",target:t,touch:!!e&&e.touch};t.events.dispatchImmediately("dragstop",n)}},e.prototype.processResizeStart=function(t,e,i){this.transformedObjects.moveValue(t)},e.prototype.processResizeStop=function(t,e,i){this.transformedObjects.removeValue(t)},e.prototype.dragStart=function(t,e){e||(e=this.getDragPointer(t)),e&&this.handleDown(t,e,e.lastDownEvent)},e.prototype.dragStop=function(t,e){e||(e=this.getDragPointer(t)),e&&this.handleGlobalUp(e,e.lastUpEvent)},e.prototype.getDragPointer=function(t){return t?t.downPointers.getIndex(0):this.transformedObjects.length?this.getDragPointer(this.transformedObjects.getIndex(0)):void 0},e.prototype.getPointerId=function(t){return(b.hasValue(t.identifier)?""+t.identifier:b.hasValue(t.pointerId)?""+t.pointerId:"m").replace("-","")},e.prototype.getPointerPoint=function(t){return{x:t.clientX,y:t.clientY}},e.prototype.getPointer=function(t){var e,i=this.getPointerId(t),n=this.getPointerPoint(t);return this.pointers.hasKey(i)?(e=this.pointers.getKey(i)).touch=this.isPointerTouch(t):(e={id:i,touch:this.isPointerTouch(t),startPoint:n,startTime:v.getTime(),point:n,track:[],swipeCanceled:!1,dragStartEvents:[]},this.addBreadCrumb(e,n),this.pointers.setKey(i,e)),e.lastEvent=t,e},e.prototype.isPointerTouch=function(t){if("undefined"!=typeof Touch&&t instanceof Touch)return!0;if("undefined"!=typeof PointerEvent&&t instanceof PointerEvent&&b.hasValue(t.pointerType))switch(t.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(b.hasValue(t.type)&&t.type.match(/^mouse/))return!1;return!0},e.prototype.resetPointer=function(t,e){var i=this.getPointerPoint(e);t.startTime=v.getTime(),t.startPoint={x:i.x,y:i.y},t.point={x:i.x,y:i.y},t.track=[],t.swipeCanceled=!1},e.prototype.addBreadCrumb=function(t,e){t.track.push({timestamp:v.getTime(),point:e})},e.prototype.lockDocument=function(){this.prepElement(this.body)},e.prototype.unlockDocument=function(){0==this.transformedObjects.length&&this.restoreAllStyles(this.body)},e.prototype.lockElement=function(t){this.prepElement(t)},e.prototype.unlockElement=function(t){this.restoreAllStyles(t)},e.prototype.lockWheel=function(){window.addEventListener(this._pointerEvents.wheel,this.wheelLockEvent,!!this._passiveSupported&&{passive:!1})},e.prototype.unlockWheel=function(){window.removeEventListener(this._pointerEvents.wheel,this.wheelLockEvent)},e.prototype.isLocalElement=function(t,e,i){var n=this.getCache("local_pointer_"+t.id);if(b.hasValue(n))return n;var r=document.elementFromPoint(t.point.x,t.point.y),o=r&&(e===r||p.i(e,r));return this.setCache("local_pointer_"+t.id+"_"+i,o,100),o},e.prototype.wheelLockEvent=function(t){return t.preventDefault(),!1},e.prototype.prepElement=function(t){var e=t.element;if(e){for(var i=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],n=0;n<i.length;n++)i[n]in e.style&&this.setTemporaryStyle(t,i[n],"none");this.setTemporaryStyle(t,"tapHighlightColor","rgba(0, 0, 0, 0)")}},e.prototype.unprepElement=function(t){var e=t.element;if(e){for(var i=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],n=0;n<i.length;n++)i[n]in e.style&&this.restoreStyle(t,i[n]);this.restoreStyle(t,"tapHighlightColor")}},e.prototype.getHitOption=function(t,e){var i=t.hitOptions[e];return void 0===i&&(i=this.hitOptions[e]),i},e.prototype.getHoverOption=function(t,e){var i=t.hoverOptions[e];return void 0===i&&(i=this.hoverOptions[e]),i},e.prototype.getSwipeOption=function(t,e){var i=t.swipeOptions[e];return void 0===i&&(i=this.swipeOptions[e]),i},e.prototype.getKeyboardOption=function(t,e){var i=t.keyboardOptions[e];return void 0===i&&(i=this.keyboardOptions[e]),i},e.prototype.getInertiaOption=function(t,e,i){var n=t.inertiaOptions.getKey(e);return n&&b.hasValue(n[i])?n[i]:this.inertiaOptions.getKey(e)[i]},e.prototype.stopInertia=function(t){for(var e,i=["move","resize"],n=0;n<i.length;n++)if(e=i[n],t.inertias.hasKey(e)){var r=t.inertias.getKey(e);if(r){r.dispose();continue}}},e.prototype.swiping=function(t,e){var i=v.getTime();return!(e.swipeCanceled||!t.swipeable)&&(Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.swiped=function(t,e){var i=v.getTime();return!e.swipeCanceled&&(Math.abs(e.startPoint.x-e.point.x)>this.getSwipeOption(t,"horizontalThreshold")&&Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.applyCursorOverStyle=function(t){var e=t.cursorOptions;if(b.hasValue(e.overStyle))for(var i=0;i<e.overStyle.length;i++)p.t(t.element,e.overStyle[i].property,e.overStyle[i].value)},e.prototype.applyCursorDownStyle=function(t,e){if(!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&b.hasValue(i))for(var n=0;n<i.length;n++)this.setTemporaryStyle(this.body,i[n].property,i[n].value),this.setTemporaryStyle(t,i[n].property,i[n].value)}},e.prototype.restoreCursorDownStyle=function(t,e){if(!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&b.hasValue(i))for(var n=0;n<i.length;n++)this.restoreStyle(this.body,i[n].property),this.restoreStyle(t,i[n].property)}},e.prototype.setGlobalStyle=function(t){for(var e=P().body,i=b.isArray(t)?t:[t],n=0;n<i.length;n++)this.setTemporaryStyle(e,i[n].property,i[n].value)},e.prototype.restoreGlobalStyle=function(t){for(var e=P().body,i=b.isArray(t)?t:[t],n=0;n<i.length;n++)this.restoreStyle(e,i[n].property)},e.prototype.isGlobalElement=function(t){return document.body===t.element},e.prototype.moved=function(t,e,i){void 0===i&&(i=300);var n=this.getShift(t);return Math.abs(n.x)>e||Math.abs(n.y)>e},e.prototype.old=function(t,e){return void 0===e&&(e=300),v.getTime()-t.startTime>e},e.prototype.getShift=function(t){return{x:t.startPoint.x-t.point.x,y:t.startPoint.y-t.point.y}},e.prototype.getTrailPoint=function(t,e){for(var i,n=0;n<t.track.length;n++)if(t.track[n].timestamp>=e){i=t.track[n];break}return i},e.prototype.pointerExists=function(t,e){var i=!1;return t.each(function(t){t!=e&&(i=t.point.x==e.point.x&&t.point.y==e.point.y)}),i},e.prototype.getInteraction=function(t){return new u.a(t)},e.prototype.setTemporaryStyle=function(t,e,i){var n=t.element;b.hasValue(n.style[e])&&!t.replacedStyles.hasKey(e)&&t.replacedStyles.setKey(e,n.style[e]),p.t(n,e,i)},e.prototype.restoreStyle=function(t,e){t.replacedStyles.hasKey(e)?(t.element.style[e]=t.replacedStyles.getKey(e),t.replacedStyles.removeKey(e)):delete t.element.style[e]},e.prototype.restoreAllStyles=function(t){m.each(t.replacedStyles.iterator(),function(e){var i=e[0],n=e[1];t.element.style[i]=n,t.replacedStyles.removeKey(i)})},e.prototype.dispose=function(){this.isDisposed()||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},e.prototype.log=function(t,e,i){if(e.changedTouches)for(var n=0;n<e.changedTouches.length;n++)this.logTouch(t,e.type,e.changedTouches[n]);else{var r="";if(e.pointerType)switch(e.pointerType){case 2:r="touch";break;case 4:r="mouse";break;default:r=e.pointerType}else r="undefined"!=typeof TouchEvent&&e instanceof TouchEvent?"touch":e.type.match(/^mouse/)?"mouse":"???";var o="";o=b.hasValue(e.identifier)?e.identifier:b.hasValue(e.pointerId)?e.pointerId:"???",i?console.log(t+" ("+i.uid+")  "+e.type+"  "+r+"  "+o):console.log(t+"  "+e.type+"  "+r+"  "+o)}},e.prototype.logTouch=function(t,e,i){console.log(t+"  "+e+"  touch  "+i.identifier)},e}(r.b),x=null;function P(){return null==x&&(x=new _),x}},"zy/o":function(t,e,i){"use strict";var n=i("2Nze");i("Gb1H")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})}});
//# sourceMappingURL=core.js.map
/**
 * @license
 * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
 *
 * This sofware is provided under multiple licenses. Please see below for
 * links to appropriate usage.
 *
 * Free amCharts linkware license. Details and conditions:
 * https://github.com/amcharts/amcharts4/blob/master/LICENSE
 *
 * One of the amCharts commercial licenses. Details and pricing:
 * https://www.amcharts.com/online-store/
 * https://www.amcharts.com/online-store/licenses-explained/
 *
 * If in doubt, contact amCharts at contact@amcharts.com
 *
 * PLEASE DO NOT REMOVE THIS COPYRIGHT NOTICE.
 * @hidden
 */
am4internal_webpackJsonp(["689e"],{XFs4:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={};i.d(a,"GaugeChartDataItem",function(){return Pt}),i.d(a,"GaugeChart",function(){return At}),i.d(a,"RadarChartDataItem",function(){return ft}),i.d(a,"RadarChart",function(){return xt}),i.d(a,"XYChartDataItem",function(){return G}),i.d(a,"XYChart",function(){return q}),i.d(a,"SerialChartDataItem",function(){return r.b}),i.d(a,"SerialChart",function(){return r.a}),i.d(a,"PieChart3DDataItem",function(){return Vt}),i.d(a,"PieChart3D",function(){return St}),i.d(a,"PieChartDataItem",function(){return Ct.b}),i.d(a,"PieChart",function(){return Ct.a}),i.d(a,"SlicedChart",function(){return Ot}),i.d(a,"SlicedChartDataItem",function(){return Ft}),i.d(a,"FlowDiagramDataItem",function(){return zt}),i.d(a,"FlowDiagram",function(){return Ut}),i.d(a,"SankeyDiagramDataItem",function(){return Qt}),i.d(a,"SankeyDiagram",function(){return $t}),i.d(a,"ChordDiagramDataItem",function(){return ne}),i.d(a,"ChordDiagram",function(){return re}),i.d(a,"TreeMapDataItem",function(){return ce}),i.d(a,"TreeMap",function(){return de}),i.d(a,"XYChart3DDataItem",function(){return ve}),i.d(a,"XYChart3D",function(){return be}),i.d(a,"ChartDataItem",function(){return wt.b}),i.d(a,"Chart",function(){return wt.a}),i.d(a,"LegendDataItem",function(){return jt.b}),i.d(a,"Legend",function(){return jt.a}),i.d(a,"LegendSettings",function(){return jt.c}),i.d(a,"HeatLegend",function(){return Pe.a}),i.d(a,"SeriesDataItem",function(){return V.b}),i.d(a,"Series",function(){return V.a}),i.d(a,"XYSeriesDataItem",function(){return R}),i.d(a,"XYSeries",function(){return L}),i.d(a,"LineSeriesDataItem",function(){return it}),i.d(a,"LineSeries",function(){return at}),i.d(a,"LineSeriesSegment",function(){return J}),i.d(a,"CandlestickSeriesDataItem",function(){return Ce}),i.d(a,"CandlestickSeries",function(){return Ie}),i.d(a,"OHLCSeriesDataItem",function(){return De}),i.d(a,"OHLCSeries",function(){return Te}),i.d(a,"ColumnSeriesDataItem",function(){return oe}),i.d(a,"ColumnSeries",function(){return le}),i.d(a,"StepLineSeriesDataItem",function(){return Se}),i.d(a,"StepLineSeries",function(){return ke}),i.d(a,"RadarSeriesDataItem",function(){return nt}),i.d(a,"RadarSeries",function(){return rt}),i.d(a,"RadarColumnSeriesDataItem",function(){return Oe}),i.d(a,"RadarColumnSeries",function(){return we}),i.d(a,"PieSeriesDataItem",function(){return It.b}),i.d(a,"PieSeries",function(){return It.a}),i.d(a,"FunnelSeries",function(){return Ne}),i.d(a,"FunnelSeriesDataItem",function(){return je}),i.d(a,"PyramidSeries",function(){return We}),i.d(a,"PyramidSeriesDataItem",function(){return Me}),i.d(a,"PictorialStackedSeries",function(){return Ee}),i.d(a,"PictorialStackedSeriesDataItem",function(){return Be}),i.d(a,"PieTick",function(){return He.a}),i.d(a,"FunnelSlice",function(){return Le}),i.d(a,"PieSeries3DDataItem",function(){return Dt}),i.d(a,"PieSeries3D",function(){return Tt}),i.d(a,"TreeMapSeriesDataItem",function(){return he}),i.d(a,"TreeMapSeries",function(){return ue}),i.d(a,"ColumnSeries3DDataItem",function(){return fe}),i.d(a,"ColumnSeries3D",function(){return xe}),i.d(a,"ConeSeriesDataItem",function(){return Ke}),i.d(a,"ConeSeries",function(){return Ge}),i.d(a,"CurvedColumnSeries",function(){return Je}),i.d(a,"CurvedColumnSeriesDataItem",function(){return Ze}),i.d(a,"AxisDataItem",function(){return A.b}),i.d(a,"Axis",function(){return A.a}),i.d(a,"Grid",function(){return ct.a}),i.d(a,"AxisTick",function(){return Qe.a}),i.d(a,"AxisLabel",function(){return $e.a}),i.d(a,"AxisLine",function(){return ti.a}),i.d(a,"AxisFill",function(){return ht.a}),i.d(a,"AxisRenderer",function(){return lt.a}),i.d(a,"AxisBreak",function(){return C.a}),i.d(a,"ValueAxisDataItem",function(){return l.b}),i.d(a,"ValueAxis",function(){return l.a}),i.d(a,"CategoryAxisDataItem",function(){return D}),i.d(a,"CategoryAxis",function(){return T}),i.d(a,"CategoryAxisBreak",function(){return I}),i.d(a,"DateAxisDataItem",function(){return x}),i.d(a,"DateAxis",function(){return v}),i.d(a,"DurationAxisDataItem",function(){return ei}),i.d(a,"DurationAxis",function(){return ii}),i.d(a,"DateAxisBreak",function(){return d}),i.d(a,"ValueAxisBreak",function(){return u.a}),i.d(a,"AxisRendererX",function(){return b.a}),i.d(a,"AxisRendererY",function(){return P.a}),i.d(a,"AxisRendererRadial",function(){return mt}),i.d(a,"AxisLabelCircular",function(){return pt.a}),i.d(a,"AxisRendererCircular",function(){return yt}),i.d(a,"AxisFillCircular",function(){return ut}),i.d(a,"GridCircular",function(){return dt}),i.d(a,"AxisRendererX3D",function(){return pe}),i.d(a,"AxisRendererY3D",function(){return ye}),i.d(a,"Tick",function(){return Xe.a}),i.d(a,"Bullet",function(){return et.a}),i.d(a,"LabelBullet",function(){return Kt}),i.d(a,"CircleBullet",function(){return ai}),i.d(a,"ErrorBullet",function(){return ni}),i.d(a,"XYChartScrollbar",function(){return U}),i.d(a,"ClockHand",function(){return bt}),i.d(a,"FlowDiagramNode",function(){return Nt}),i.d(a,"FlowDiagramLink",function(){return Bt}),i.d(a,"SankeyNode",function(){return Gt}),i.d(a,"SankeyLink",function(){return Zt}),i.d(a,"ChordNode",function(){return ee}),i.d(a,"ChordLink",function(){return ae}),i.d(a,"NavigationBarDataItem",function(){return hi}),i.d(a,"NavigationBar",function(){return ui}),i.d(a,"Column",function(){return se}),i.d(a,"Candlestick",function(){return Ae}),i.d(a,"OHLC",function(){return _e}),i.d(a,"RadarColumn",function(){return Fe}),i.d(a,"Column3D",function(){return me}),i.d(a,"ConeColumn",function(){return Ue}),i.d(a,"CurvedColumn",function(){return qe}),i.d(a,"XYCursor",function(){return B}),i.d(a,"Cursor",function(){return N}),i.d(a,"RadarCursor",function(){return ot});var n=i("m4/l"),r=i("2I/e"),s=i("C6dT"),o=i("vMqJ"),l=i("pR7v"),h=i("+qIf"),u=i("ZoDA"),c=i("aCit"),d=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisBreak",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"startDate",{get:function(){return this.getPropertyValue("startDate")},set:function(t){this.setPropertyValue("startDate",t)&&(this.startValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.getPropertyValue("endDate")},set:function(t){this.setPropertyValue("endDate",t)&&(this.endValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),e}(u.a);c.b.registeredClasses.DateAxisBreak=d;var p=i("L91H"),y=i("Mtpk"),g=i("Wglt"),m=i("Gg2j"),f=i("Qkdp"),x=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisDataItem",e.applyTheme(),e.values.date={},e.values.endDate={},e}return n.c(e,t),Object.defineProperty(e.prototype,"date",{get:function(){return this.dates.date},set:function(t){this.setDate("date",t),this.value=t.getTime()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.dates.endDate},set:function(t){this.setDate("endDate",t),this.endValue=t.getTime()},enumerable:!0,configurable:!0}),e}(l.b),v=function(t){function e(){var e=t.call(this)||this;return e.gridIntervals=new o.b,e.dateFormats=new h.a,e.periodChangeDateFormats=new h.a,e._baseIntervalReal={timeUnit:"day",count:1},e._minDifference={},e.className="DateAxis",e.setPropertyValue("markUnitChange",!0),e.snapTooltip=!0,e.gridIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:5},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:50},{timeUnit:"millisecond",count:100},{timeUnit:"millisecond",count:500},{timeUnit:"second",count:1},{timeUnit:"second",count:5},{timeUnit:"second",count:10},{timeUnit:"second",count:30},{timeUnit:"minute",count:1},{timeUnit:"minute",count:5},{timeUnit:"minute",count:10},{timeUnit:"minute",count:15},{timeUnit:"minute",count:30},{timeUnit:"hour",count:1},{timeUnit:"hour",count:3},{timeUnit:"hour",count:6},{timeUnit:"hour",count:12},{timeUnit:"day",count:1},{timeUnit:"day",count:2},{timeUnit:"day",count:3},{timeUnit:"day",count:4},{timeUnit:"day",count:5},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"month",count:2},{timeUnit:"month",count:3},{timeUnit:"month",count:6},{timeUnit:"year",count:1},{timeUnit:"year",count:2},{timeUnit:"year",count:5},{timeUnit:"year",count:10},{timeUnit:"year",count:50},{timeUnit:"year",count:100},{timeUnit:"year",count:200},{timeUnit:"year",count:500},{timeUnit:"year",count:1e3},{timeUnit:"year",count:2e3},{timeUnit:"year",count:5e3},{timeUnit:"year",count:1e4},{timeUnit:"year",count:1e5}]),e.axisFieldName="date",e.applyTheme(),e}return n.c(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component,a=i._gridInterval,n=p.getDuration(a.timeUnit,a.count);Math.round((e-i.min)/n)/2==Math.round(Math.round((e-i.min)/n)/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.dateFormats.hasKey("millisecond")||this.dateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.dateFormats.hasKey("second")||this.dateFormats.setKey("second",this.language.translate("_date_second")),this.dateFormats.hasKey("minute")||this.dateFormats.setKey("minute",this.language.translate("_date_minute")),this.dateFormats.hasKey("hour")||this.dateFormats.setKey("hour",this.language.translate("_date_hour")),this.dateFormats.hasKey("day")||this.dateFormats.setKey("day",this.language.translate("_date_day")),this.dateFormats.hasKey("week")||this.dateFormats.setKey("week",this.language.translate("_date_day")),this.dateFormats.hasKey("month")||this.dateFormats.setKey("month",this.language.translate("_date_month")),this.dateFormats.hasKey("year")||this.dateFormats.setKey("year",this.language.translate("_date_year")),this.periodChangeDateFormats.hasKey("millisecond")||this.periodChangeDateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.periodChangeDateFormats.hasKey("second")||this.periodChangeDateFormats.setKey("second",this.language.translate("_date_second")),this.periodChangeDateFormats.hasKey("minute")||this.periodChangeDateFormats.setKey("minute",this.language.translate("_date_minute")),this.periodChangeDateFormats.hasKey("hour")||this.periodChangeDateFormats.setKey("hour",this.language.translate("_date_hour")),this.periodChangeDateFormats.hasKey("day")||this.periodChangeDateFormats.setKey("day",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("week")||this.periodChangeDateFormats.setKey("week",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("month")||this.periodChangeDateFormats.setKey("month",this.language.translate("_date_month")+" "+this.language.translate("_date_year"))},e.prototype.createDataItem=function(){return new x},e.prototype.createAxisBreak=function(){return new d},e.prototype.validateDataItems=function(){var e=this.start,i=this.end,a=(this.max-this.min)/this.baseDuration;t.prototype.validateDataItems.call(this),this.maxZoomFactor=(this.max-this.min)/this.baseDuration,this._deltaMinMax=this.baseDuration/2,e+=(i-e)*(1-a/((this.max-this.min)/this.baseDuration)),this.zoom({start:e,end:i},!1,!0)},e.prototype.handleSelectionExtremesChange=function(){},e.prototype.calculateZoom=function(){var e=this;t.prototype.calculateZoom.call(this);var i=this.chooseInterval(0,this.adjustDifference(this._minZoomed,this._maxZoomed),this._gridCount);p.getDuration(i.timeUnit,i.count)<this.baseDuration&&(i=n.a({},this.baseInterval)),this._gridInterval=i,this._gridDate=p.round(new Date(this.min),i.timeUnit,i.count,this.getFirstWeekDay(),this.dateFormatter.utc),this._nextGridUnit=p.getNextUnit(i.timeUnit),this._intervalDuration=p.getDuration(i.timeUnit,i.count);var a=Math.ceil(this._difference/this._intervalDuration);a=Math.max(-5,Math.floor(this.start*a)-3),p.add(this._gridDate,i.timeUnit,a*i.count,this.dateFormatter.utc),g.each(this.series.iterator(),function(t){if(t.baseAxis==e){var i=t.getAxisField(e),a=p.round(new Date(e._minZoomed),e.baseInterval.timeUnit,e.baseInterval.count).getTime(),n=a.toString(),r=t.dataItemsByAxis.getKey(e.uid).getKey(n),s=0;0!=e.start&&(s=r?(r=e.findFirst(r,a,i)).index:t.dataItems.findClosestIndex(e._minZoomed,function(t){return t[i]},"left"));var o=e.baseInterval,l=p.add(p.round(new Date(e._maxZoomed),o.timeUnit,o.count,e.getFirstWeekDay(),e.dateFormatter.utc),o.timeUnit,o.count,e.dateFormatter.utc).getTime(),h=l.toString(),u=t.dataItemsByAxis.getKey(e.uid).getKey(h),c=t.dataItems.length;1!=e.end&&(u?c=u.index:(l-=1,c=t.dataItems.findClosestIndex(l,function(t){return t[i]},"right")+1)),t.startIndex=s,t.endIndex=c}})},e.prototype.findFirst=function(t,e,i){var a=t.index;if(a>0){var n=t.component.dataItems.getIndex(a-1);return n[i].getTime()<e?t:this.findFirst(n,e,i)}return t},e.prototype.validateData=function(){t.prototype.validateData.call(this),y.isNumber(this.baseInterval.count)||(this.baseInterval.count=1)},Object.defineProperty(e.prototype,"minDifference",{get:function(){var t=this,e=Number.MAX_VALUE;return this.series.each(function(i){e>t._minDifference[i.uid]&&(e=t._minDifference[i.uid])}),e!=Number.MAX_VALUE&&0!=e||(e=p.getDuration("day")),e},enumerable:!0,configurable:!0}),e.prototype.seriesDataChangeUpdate=function(t){this._minDifference[t.uid]=Number.MAX_VALUE},e.prototype.postProcessSeriesDataItems=function(){var t=this;this.series.each(function(e){JSON.stringify(e._baseInterval[t.uid])!=JSON.stringify(t.baseInterval)&&(e.dataItems.each(function(e){t.postProcessSeriesDataItem(e)}),e._baseInterval[t.uid]=t.baseInterval)}),this.addEmptyUnitsBreaks()},e.prototype.postProcessSeriesDataItem=function(t){var e=this,i=this.baseInterval,a=t.component.dataItemsByAxis.getKey(this.uid);f.each(t.dates,function(n){var r=t.getDate(n).getTime(),s=p.round(new Date(r),i.timeUnit,i.count,e.getFirstWeekDay(),e.dateFormatter.utc).getTime(),o=p.add(new Date(s),i.timeUnit,i.count,e.dateFormatter.utc);t.setCalculatedValue(n,s,"open"),t.setCalculatedValue(n,o.getTime(),"close"),a.setKey(s.toString(),t)})},e.prototype.addEmptyUnitsBreaks=function(){var t=this;if(this.skipEmptyPeriods&&y.isNumber(this.min)&&y.isNumber(this.max)){var e=this.baseInterval.timeUnit,i=this.baseInterval.count;this.axisBreaks.clear();for(var a=p.round(new Date(this.min),e,i,this.getFirstWeekDay(),this.dateFormatter.utc),n=void 0,r=function(){p.add(a,e,i,s.dateFormatter.utc);var r=a.getTime(),o=r.toString();g.contains(s.series.iterator(),function(e){return!!e.dataItemsByAxis.getKey(t.uid).getKey(o)})?n&&(n.endDate=new Date(r-1),n=void 0):n||((n=s.axisBreaks.create()).startDate=new Date(r))},s=this;a.getTime()<this.max-this.baseDuration;)r()}},e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this.axisBreaks;i.length>0&&i.each(function(t){var i=Math.ceil(e._gridCount*(Math.min(e.end,t.endPosition)-Math.max(e.start,t.startPosition))/(e.end-e.start));t.gridInterval=e.chooseInterval(0,t.adjustedEndValue-t.adjustedStartValue,i);var a=p.round(new Date(t.adjustedStartValue),t.gridInterval.timeUnit,t.gridInterval.count,e.getFirstWeekDay(),e.dateFormatter.utc);a.getTime()>t.startDate.getTime()&&p.add(a,t.gridInterval.timeUnit,t.gridInterval.count,e.dateFormatter.utc),t.gridDate=a})},e.prototype.getFirstWeekDay=function(){return this.dateFormatter?this.dateFormatter.firstDayOfWeek:1},e.prototype.getGridDate=function(t,e){var i=this._gridInterval.timeUnit,a=this._gridInterval.count;p.round(t,i,1,this.getFirstWeekDay(),this.dateFormatter.utc);var n=t.getTime(),r=p.copy(t),s=p.add(r,i,e,this.dateFormatter.utc).getTime(),o=this.isInBreak(s);o&&(r=new Date(o.endDate.getTime()),p.round(r,i,a,this.getFirstWeekDay(),this.dateFormatter.utc),r.getTime()<o.endDate.getTime()&&p.add(r,i,a,this.dateFormatter.utc),s=r.getTime());var l=this.adjustDifference(n,s);return Math.round(l/p.getDuration(i))<a?this.getGridDate(t,e+a):r},e.prototype.getBreaklessDate=function(t,e,i){var a=new Date(t.endValue);p.round(a,e,i,this.getFirstWeekDay(),this.dateFormatter.utc),p.add(a,e,i,this.dateFormatter.utc);var n=a.getTime();return(t=this.isInBreak(n))?this.getBreaklessDate(t,e,i):a},e.prototype.validateAxisElements=function(){var t=this;if(y.isNumber(this.max)&&y.isNumber(this.min)){this.calculateZoom();var e=this._gridDate.getTime(),i=this._gridInterval.timeUnit,a=this._gridInterval.count,n=p.copy(this._gridDate),r=this._dataItemsIterator;this.resetIterators();for(var s=function(){var t=o.getGridDate(p.copy(n),a);e=t.getTime();var s=p.copy(t);s=p.add(s,i,a,o.dateFormatter.utc);var l=o.dateFormats.getKey(i);o.markUnitChange&&n&&p.checkChange(t,n,o._nextGridUnit,o.dateFormatter.utc)&&"year"!==i&&(l=o.periodChangeDateFormats.getKey(i));var h=o.dateFormatter.format(t,l),u=r.find(function(t){return t.text===h});u.__disabled&&(u.__disabled=!1),o.appendDataItem(u),u.axisBreak=void 0,u.date=t,u.endDate=s,u.text=h,n=t,o.validateDataElement(u)},o=this;e<=this._maxZoomed;)s();var l=this.renderer;g.each(this.axisBreaks.iterator(),function(e){if(e.breakSize>0){var i=e.gridInterval.timeUnit,a=e.gridInterval.count;if(m.getDistance(e.startPoint,e.endPoint)>4*l.minGridDistance)for(var n,s=e.gridDate.getTime(),o=0,h=function(){var l=p.copy(e.gridDate);if(s=p.add(l,i,a*o,t.dateFormatter.utc).getTime(),o++,s>e.adjustedStartValue&&s<e.adjustedEndValue){var h=p.copy(l);h=p.add(h,i,a,t.dateFormatter.utc);var u=t.dateFormats.getKey(i);t.markUnitChange&&n&&p.checkChange(l,n,t._nextGridUnit,t.dateFormatter.utc)&&"year"!==i&&(u=t.periodChangeDateFormats.getKey(i));var c=t.dateFormatter.format(l,u),d=r.find(function(t){return t.text===c});d.__disabled&&(d.__disabled=!1),t.appendDataItem(d),d.axisBreak=e,e.dataItems.moveValue(d),d.date=l,d.endDate=h,d.text=c,n=l,t.validateDataElement(d)}};s<=e.adjustedMax;)h()}})}},e.prototype.validateDataElement=function(t){if(y.isNumber(this.max)&&y.isNumber(this.min)){var e=this.renderer,i=t.value,a=t.endValue;y.isNumber(a)||(a=i);var n=this.valueToPosition(i),r=this.valueToPosition(a),s=r;!t.isRange&&this._gridInterval.count>this.baseInterval.count&&(r=n+(r-n)/(this._gridInterval.count/this.baseInterval.count)),t.position=n;var o=t.tick;o&&!o.disabled&&e.updateTickElement(o,n,r);var l=t.grid;l&&!l.disabled&&e.updateGridElement(l,n,r);var h=t.axisFill;h&&!h.disabled&&(e.updateFillElement(h,n,s),t.isRange||this.fillRule(t));var u=t.mask;u&&e.updateFillElement(u,n,r);var c=t.label;if(c&&!c.disabled){var d=c.location;0==d&&(d=1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||t.isRange?0:.5),e.updateLabelElement(c,n,r,d)}}},Object.defineProperty(e.prototype,"baseDuration",{get:function(){return p.getDuration(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),e.prototype.adjustMinMax=function(t,e){return{min:t,max:e,step:this.baseDuration}},e.prototype.fixMin=function(t){var e=p.round(new Date(t),this.baseInterval.timeUnit,this.baseInterval.count,this.getFirstWeekDay(),this.dateFormatter.utc).getTime();return e+(p.add(new Date(e),this.baseInterval.timeUnit,this.baseInterval.count,this.dateFormatter.utc).getTime()-e)*this.startLocation},e.prototype.fixMax=function(t){var e=p.round(new Date(t),this.baseInterval.timeUnit,this.baseInterval.count,this.getFirstWeekDay(),this.dateFormatter.utc).getTime();return e+(p.add(new Date(e),this.baseInterval.timeUnit,this.baseInterval.count,this.dateFormatter.utc).getTime()-e)*this.endLocation},e.prototype.chooseInterval=function(t,e,i){var a=this.gridIntervals,r=a.getIndex(t),s=p.getDuration(r.timeUnit,r.count),o=a.length-1;if(t>=o)return n.a({},a.getIndex(o));var l=Math.ceil(e/s);return e<s&&t>0?n.a({},a.getIndex(t-1)):l<=i?n.a({},a.getIndex(t)):t+1<a.length?this.chooseInterval(t+1,e,i):n.a({},a.getIndex(t))},e.prototype.formatLabel=function(t){return this.dateFormatter.format(t)},e.prototype.dateToPosition=function(t){return this.valueToPosition(t.getTime())},e.prototype.anyToPosition=function(t){return t instanceof Date?this.dateToPosition(t):this.valueToPosition(t)},e.prototype.dateToPoint=function(t){var e=this.dateToPosition(t),i=this.renderer.positionToPoint(e),a=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:a}},e.prototype.anyToPoint=function(t){return t instanceof Date?this.dateToPoint(t):this.valueToPoint(t)},e.prototype.positionToDate=function(t){return new Date(this.positionToValue(t))},e.prototype.getX=function(t,e,i){var a=this.getTimeByLocation(t,e,i);return y.isNumber(a)||(a=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(a)).x},e.prototype.getY=function(t,e,i){var a=this.getTimeByLocation(t,e,i),n=t.getValue("valueX","stack");return y.isNumber(a)||(a=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(a+n)).y},e.prototype.getAngle=function(t,e,i,a){var n=this.getTimeByLocation(t,e,i),r=t.getValue(a,"stack");return y.isNumber(n)||(n=this.baseValue),this.positionToAngle(this.valueToPosition(n+r))},e.prototype.getTimeByLocation=function(t,e,i){if(y.hasValue(e)){y.isNumber(i)||(i=t.workingLocations[e],y.isNumber(i)||(i=0));var a=t.values[e].open,n=t.values[e].close;return y.isNumber(a)&&y.isNumber(n)?a+(n-a)*i:void 0}},e.prototype.processSeriesDataItem=function(t,e){var i,a=t.component,n=t["date"+e];if(n){i=n.getTime();var r,s=t["openDate"+e],o=this._prevSeriesTime;if(s&&(r=s.getTime()),y.isNumber(r)){var l=Math.abs(i-r);this._minDifference[a.uid]>l&&(this._minDifference[a.uid]=l)}var h=i-o;h>0&&this._minDifference[a.uid]>h&&(this._minDifference[a.uid]=h),this._prevSeriesTime=i,a._baseInterval[this.uid]?this.postProcessSeriesDataItem(t):this._baseInterval&&(a._baseInterval[this.uid]=this._baseInterval,this.postProcessSeriesDataItem(t))}},e.prototype.updateAxisBySeries=function(){t.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this.minDifference,1);this.minDifference>=p.getDuration("day",27)&&"week"==e.timeUnit&&(e.timeUnit="month",e.count=1),this.minDifference>=p.getDuration("hour",23)&&"hour"==e.timeUnit&&(e.timeUnit="day",e.count=1),this.minDifference>=p.getDuration("week",1)-p.getDuration("hour",1)&&"day"==e.timeUnit&&(e.timeUnit="week",e.count=1),this.minDifference>=p.getDuration("year",1)-p.getDuration("day",1.01)&&"month"==e.timeUnit&&(e.timeUnit="year",e.count=1),this._baseIntervalReal=e},Object.defineProperty(e.prototype,"baseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(t){JSON.stringify(this._baseInterval)!=JSON.stringify(t)&&(this._baseInterval=t,this.invalidate(),this.postProcessSeriesDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(t){if(this.setPropertyValue("skipEmptyPeriods",t)&&this.invalidateData(),t){var e=this.axisBreaks.template;e.startLine.disabled=!0,e.endLine.disabled=!0,e.fillShape.disabled=!0,e.breakSize=0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(t){this.setPropertyValue("tooltipDateFormat",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(t){this.setPropertyValue("markUnitChange",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e,i=this.positionToDate(t);if(i=p.round(i,this.baseInterval.timeUnit,this.baseInterval.count,this.getFirstWeekDay(),this.dateFormatter.utc),y.hasValue(this.tooltipDateFormat))e=this.dateFormatter.format(i,this.tooltipDateFormat);else{var a=this.dateFormats.getKey(this.baseInterval.timeUnit);e=a?this.dateFormatter.format(i,a):this.getPositionLabel(t)}return this.adapter.apply("getTooltipText",e)},e.prototype.roundPosition=function(t,e){var i=this.baseInterval,a=i.timeUnit,n=i.count,r=this.positionToDate(t);if(p.round(r,a,n,this.getFirstWeekDay(),this.dateFormatter.utc),e>0&&p.add(r,a,e*n,this.dateFormatter.utc),this.isInBreak(r.getTime()))for(;r.getTime()<this.max&&(p.add(r,a,n,this.dateFormatter.utc),this.isInBreak(r.getTime())););return this.dateToPosition(r)},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getSeriesDataItem=function(t,e,i){var a,n=this.positionToValue(e),r=p.round(new Date(n),this.baseInterval.timeUnit,this.baseInterval.count,this.getFirstWeekDay(),this.dateFormatter.utc),s=t.dataItemsByAxis.getKey(this.uid).getKey(r.getTime().toString());!s&&i&&(a="Y"==this.axisLetter?"dateY":"dateX",s=t.dataItems.getIndex(t.dataItems.findClosestIndex(r.getTime(),function(t){return t[a].getTime()},"any")));return s},e.prototype.getPositionLabel=function(t){var e=this.positionToDate(t);return this.dateFormatter.format(e,this.getCurrentLabelFormat())},e.prototype.getCurrentLabelFormat=function(){return this.dateFormats.getKey(this._gridInterval?this._gridInterval.timeUnit:"day")},e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this);var e=this.renderer;e&&(e.ticks.template.location=0,e.grid.template.location=0,e.labels.template.location=0,e.baseGrid.disabled=!0)},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.zoomToDates=function(t,e,i,a){t=this.dateFormatter.parse(t),e=this.dateFormatter.parse(e),this.zoomToValues(t.getTime(),e.getTime(),i,a)},e.prototype.asIs=function(e){return"baseInterval"==e||t.prototype.asIs.call(this,e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.dateFormats=e.dateFormats,this.periodChangeDateFormats=e.periodChangeDateFormats,e._baseInterval&&(this.baseInterval=e.baseInterval)},e.prototype.showTooltipAtPosition=function(e,i){var a=this;if(i||(e=this.toAxisPosition(e)),this.snapTooltip){var n,r=p.round(this.positionToDate(e),this.baseInterval.timeUnit,1,this.getFirstWeekDay(),this.dateFormatter.utc).getTime();if(this.series.each(function(t){if(t.baseAxis==a){var i=a.getSeriesDataItem(t,e,!0);if(i){var s=void 0;t.xAxis==a&&(s=i.dateX),t.yAxis==a&&(s=i.dateY),n?Math.abs(n.getTime()-r)>Math.abs(s.getTime()-r)&&(n=s):n=s}}}),n){var s=n.getTime();n=p.round(new Date(s),this.baseInterval.timeUnit,this.baseInterval.count,this.getFirstWeekDay(),this.dateFormatter.utc),s=n.getTime(),n=new Date(n.getTime()+this.baseDuration*this.renderer.tooltipLocation),e=this.dateToPosition(n),this.series.each(function(t){var e=t.dataItemsByAxis.getKey(a.uid).getKey(s.toString()),i=t.showTooltipAtDataItem(e);i?a.chart._seriesPoints.push({series:t,point:i}):t.tooltipText&&t.hideTooltip()})}}t.prototype.showTooltipAtPosition.call(this,e,!0)},Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridInterval",{get:function(){return this._gridInterval},enumerable:!0,configurable:!0}),e.prototype.makeGap=function(t,e){var i=t.component;if(t&&e&&(!i.connect&&y.isNumber(i.autoGapCount)&&i.baseAxis==this&&t.dates["date"+this.axisLetter].getTime()-e.dates["date"+this.axisLetter].getTime()>i.autoGapCount*this.baseDuration))return!0;return!1},e}(l.a);c.b.registeredClasses.DateAxis=v,c.b.registeredClasses.DateAxisDataItem=x;var b=i("k6kv"),P=i("OXm9"),A=i("AAkI"),C=i("Uslz"),I=function(t){function e(){var e=t.call(this)||this;return e.className="CategoryAxisBreak",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(t){this.setPropertyValue("startCategory",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(t){this.setPropertyValue("endCategory",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startValue",{get:function(){var t=this.getPropertyValue("startCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){var t=this.getPropertyValue("endCategory");return t?this.axis.categoryToIndex(t):this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(C.a);c.b.registeredClasses.CategoryAxisBreak=I;var _=i("x79X"),D=function(t){function e(){var e=t.call(this)||this;return e.adapter=new _.a(e),e.seriesDataItems={},e.className="CategoryAxisDataItem",e.text="{category}",e.locations.category=0,e.locations.endCategory=1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"category",{get:function(){return this.adapter.isEnabled("category")?this.adapter.apply("category",this.properties.category):this.properties.category},set:function(t){this.setProperty("category",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(t){this.setProperty("endCategory",t)},enumerable:!0,configurable:!0}),e}(A.b),T=function(t){function e(){var e=t.call(this)||this;return e.dataItemsByCategory=new h.a,e.className="CategoryAxis",e.axisFieldName="category",e._lastDataItem=e.createDataItem(),e._lastDataItem.component=e,e._disposers.push(e._lastDataItem),e.applyTheme(),e}return n.c(e,t),e.prototype.createDataItem=function(){return new D},e.prototype.createAxisBreak=function(){return new I},e.prototype.processSeriesDataItem=function(e,i){t.prototype.processSeriesDataItem.call(this,e,i);var a=e["category"+this.axisLetter],n=this.dataItemsByCategory.getKey(a);if(n){var r=e.component.uid,s=n.seriesDataItems[r];s||(s=[],n.seriesDataItems[r]=s),s.push(e)}},e.prototype.validateDataRange=function(){var i=this;t.prototype.validateDataRange.call(this),g.each(this._series.iterator(),function(t){if(t.xAxis instanceof e&&t.yAxis instanceof e)t.invalidateDataRange();else{for(var a=i.positionToIndex(i.start),n=i.positionToIndex(i.end),r=t.uid,s=void 0,o=void 0,l=a;l<=n;l++){var h=i.dataItems.getIndex(l);if(h){var u=h.seriesDataItems[r];if(u)for(var c=0;c<u.length;c++){var d=u[c];if(d){var p=d.index;(!y.isNumber(s)||p<s)&&(s=p),(!y.isNumber(o)||p>o)&&(o=p)}}}}y.isNumber(s)?t.startIndex=s:t.start=i.start,y.isNumber(o)?t.endIndex=o+1:t.end=i.end,i.axisBreaks.length>0&&t.invalidateDataRange()}})},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this);var i=this.dataItems.length,a=m.fitToRange(Math.floor(this.start*i-1),0,i),n=m.fitToRange(Math.ceil(this.end*i),0,i);this.renderer.invalid&&this.renderer.validate();var r=this.renderer.axisLength/this.renderer.minGridDistance,s=Math.min(this.dataItems.length,Math.ceil((n-a)/r));if(this._startIndex=Math.floor(a/s)*s,this._endIndex=Math.ceil(this.end*i),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=s,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),a=m.max(0,this._startIndex-this._frequency),n=m.min(this.dataItems.length,this._endIndex+this._frequency);for(var o=0,l=0;l<a;l++){(u=this.dataItems.getIndex(l)).__disabled=!0}l=n;for(var h=this.dataItems.length;l<h;l++){(u=this.dataItems.getIndex(l)).__disabled=!0}for(l=a;l<n;l++)if(l<this.dataItems.length){var u=this.dataItems.getIndex(l);if(l/this._frequency==Math.round(l/this._frequency))this.isInBreak(l)||(this.appendDataItem(u),this.validateDataElement(u,o)),o++;else u.__disabled=!0}this.appendDataItem(this._lastDataItem),this.validateDataElement(this._lastDataItem,o+1,this.dataItems.length),this.axisBreaks.each(function(t){var i=t.adjustedStartValue,a=t.adjustedEndValue;if(m.intersect({start:i,end:a},{start:e._startIndex,end:e._endIndex}))for(var n=m.fitToRange(Math.ceil(e._frequency/t.breakSize),1,a-i),r=0,s=i;s<=a;s+=n){var o=e.dataItems.getIndex(s);e.appendDataItem(o),e.validateDataElement(o,r),r++}}),this.validateBreaks(),this.validateAxisRanges(),this.ghostLabel.invalidate(),this.renderer.invalidateLayout()}},e.prototype.validateDataElement=function(e,i,a){t.prototype.validateDataElement.call(this,e);var n=this.renderer;y.isNumber(a)||(a=this.categoryToIndex(e.category));var r=this.categoryToIndex(e.endCategory);y.isNumber(r)||(r=a);var s,o,l,h=this.indexToPosition(a,e.locations.category),u=this.indexToPosition(r,e.locations.endCategory);e.position=h,e.isRange&&(s=r,o=this.indexToPosition(a,e.locations.category),l=this.indexToPosition(s,e.locations.endCategory)),e.point=n.positionToPoint(h);var c=e.tick;c&&!c.disabled&&n.updateTickElement(c,h,u);var d=e.grid;d&&!d.disabled&&n.updateGridElement(d,h,u);var p=e.label;p&&!p.disabled&&(e.isRange&&void 0!=p.text||(e.text=e.text),n.updateLabelElement(p,h,u),(e.label.measuredWidth>this.ghostLabel.measuredWidth||e.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=e.label.currentText));var g=e.axisFill;g&&!g.disabled&&(e.isRange||(s=a+this._frequency,o=this.indexToPosition(a,g.location),l=this.indexToPosition(s,g.location)),n.updateFillElement(g,o,l),e.isRange||this.fillRule(e,i));var m=e.mask;m&&n.updateFillElement(m,o,l)},e.prototype.disposeData=function(){this.dataItemsByCategory.clear(),t.prototype.disposeData.call(this)},e.prototype.processDataItem=function(e,i){t.prototype.processDataItem.call(this,e,i),this.dataItemsByCategory.setKey(e.category,e)},e.prototype.getDataItem=function(t){var e=t[this.dataFields.category],i=this.dataItemsByCategory.getKey(e);return i||this.dataItems.create()},e.prototype.indexToPosition=function(t,e){y.isNumber(e)||(e=.5);var i=this.startIndex,a=this.endIndex,n=this.adjustDifference(i,a),r=this.startLocation;n-=r,n-=1-this.endLocation;var s=this.axisBreaks;return g.eachContinue(s.iterator(),function(e){var n=e.adjustedStartValue,r=e.adjustedEndValue;if(t<i)return!1;if(m.intersect({start:n,end:r},{start:i,end:a})){n=Math.max(i,n),r=Math.min(a,r);var s=e.breakSize;t>r?i+=(r-n)*(1-s):t<n||(t=n+(t-n)*s)}return!0}),m.round((t+e-r-i)/n,5)},e.prototype.categoryToPosition=function(t,e){var i=this.categoryToIndex(t);return this.indexToPosition(i,e)},e.prototype.categoryToPoint=function(t,e){var i=this.categoryToPosition(t,e),a=this.renderer.positionToPoint(i),n=this.renderer.positionToAngle(i);return{x:a.x,y:a.y,angle:n}},e.prototype.anyToPoint=function(t,e){return this.categoryToPoint(t,e)},e.prototype.anyToPosition=function(t,e){return this.categoryToPosition(t,e)},e.prototype.categoryToIndex=function(t){if(y.hasValue(t)){var e=this.dataItemsByCategory.getKey(t);if(e)return e.index}},e.prototype.zoomToCategories=function(t,e){this.zoomToIndexes(this.categoryToIndex(t),this.categoryToIndex(e)+1)},e.prototype.getAnyRangePath=function(t,e,i,a){var n=this.categoryToPosition(t,i),r=this.categoryToPosition(e,a);return this.getPositionRangePath(n,r)},e.prototype.roundPosition=function(t,e){var i=this.positionToIndex(t);return this.indexToPosition(i,e)},e.prototype.getFirstSeriesDataItem=function(t,e){for(var i=0;i<t.dataItems.length;i++){var a=t.dataItems.getIndex(i);if(t.xAxis==this&&a.categoryX==e)return a;if(t.yAxis==this&&a.categoryY==e)return a}},e.prototype.getLastSeriesDataItem=function(t,e){for(var i=t.dataItems.length-1;i>=0;i--){var a=t.dataItems.getIndex(i);if(t.xAxis==this&&a.categoryX==e)return a;if(t.yAxis==this&&a.categoryY==e)return a}},e.prototype.getSeriesDataItem=function(t,e,i){var a=this;if(y.isNumber(e)){var n=this.positionToIndex(e),r=this.dataItems.getIndex(n);if(r){var s,o=r.category,l=t.dataItems.getIndex(n);if(l){if(t.xAxis==this&&l.categoryX==o)return l;if(t.yAxis==this&&l.categoryY==o)return l}return t.dataItems.each(function(e){t.xAxis==a&&e.categoryX==o&&(s||(s=e),Math.abs(n-s.index)>Math.abs(n-e.index)&&(s=e)),t.yAxis==a&&e.categoryY==o&&(s||(s=e),Math.abs(n-s.index)>Math.abs(n-e.index)&&(s=e))}),s}}},e.prototype.getX=function(t,e,i){var a;return y.hasValue(e)&&(a=this.categoryToPosition(t.categories[e],i)),y.isNaN(a)?this.basePoint.x:this.renderer.positionToPoint(a).x},e.prototype.getY=function(t,e,i){var a;return y.hasValue(e)&&(a=this.categoryToPosition(t.categories[e],i)),y.isNaN(a)?this.basePoint.y:this.renderer.positionToPoint(a).y},e.prototype.getAngle=function(t,e,i,a){return this.positionToAngle(this.categoryToPosition(t.categories[e],i))},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getTooltipText=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return this.adapter.apply("getTooltipText",e.category)},e.prototype.positionToIndex=function(t){(t=m.round(t,10))<0&&(t=0);var e=this.startIndex,i=this.endIndex,a=i-e,n=this.axisBreaks,r=null;return g.eachContinue(n.iterator(),function(n){var s=n.startPosition,o=n.endPosition,l=n.adjustedStartValue,h=n.adjustedEndValue;l=m.max(l,e),h=m.min(h,i);var u=n.breakSize;if(a-=(h-l)*(1-u),t>o)e+=(h-l)*(1-u);else if(!(t<s)){var c=(t-s)/(o-s);return r=l+Math.round(c*(h-l)),!1}return!0}),y.isNumber(r)||(r=Math.floor(t*a+e)),r>=i&&r--,r},e.prototype.positionToCategory=function(t){return this.getPositionLabel(t)},e.prototype.getPositionLabel=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return e.category},Object.defineProperty(e.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this),this.renderer.baseGrid.disabled=!0},Object.defineProperty(e.prototype,"frequency",{get:function(){return this._frequency},enumerable:!0,configurable:!0}),e}(A.a);c.b.registeredClasses.CategoryAxis=T,c.b.registeredClasses.CategoryAxisDataItem=D;var V=i("aM7D"),S=i("Vs7R"),k=i("hD5A"),F=i("v9UT"),O=i("hJ5i"),w=i("hGwe"),R=function(t){function e(){var e=t.call(this)||this;return e.className="XYSeriesDataItem",e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(t){this.setDate("dateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(t){this.setDate("dateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(t){this.setCategory("categoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(t){this.setCategory("categoryY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(t){this.setValue("openValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(t){this.setValue("openValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(t){this.setDate("openDateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(t){this.setDate("openDateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(t){this.setProperty("openCategoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(t){this.setProperty("openCategoryY",t)},enumerable:!0,configurable:!0}),e.prototype.getMin=function(t,e,i){var a,n=this;return y.isNumber(i)||(i=0),O.each(t,function(t){var r;r=e?n.getWorkingValue(t):n.getValue(t),((r+=i)<a||!y.isNumber(a))&&(a=r)}),a},e.prototype.getMax=function(t,e,i){var a,n=this;return y.isNumber(i)||(i=0),O.each(t,function(t){var r;r=e?n.getWorkingValue(t):n.getValue(t),((r+=i)>a||!y.isNumber(a))&&(a=r)}),a},e}(V.b),L=function(t){function e(){var e=t.call(this)||this;return e._xAxis=new k.d,e._yAxis=new k.d,e._xValueFields=[],e._yValueFields=[],e._baseInterval={},e.className="XYSeries",e.isMeasured=!1,e.cursorTooltipEnabled=!0,e.cursorHoverEnabled=!0,e.mainContainer.mask=new S.a,e.mainContainer.mask.setElement(e.paper.add("path")),e.stacked=!1,e.snapTooltip=!1,e.tooltip.pointerOrientation="horizontal",e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()},void 0,!1),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},e.prototype.createDataItem=function(){return new R},e.prototype.dataChangeUpdate=function(){this._tmin.clear(),this._tmax.clear(),this._smin.clear(),this._smax.clear(),this.xAxis&&this.xAxis.seriesDataChangeUpdate(this),this.yAxis&&this.yAxis.seriesDataChangeUpdate(this)},e.prototype.validateData=function(){if(this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),t.prototype.validateData.call(this),this.updateItemReaderText(),!y.hasValue(this.dataFields[this._xField])||!y.hasValue(this.dataFields[this._yField]))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.')},e.prototype.processDataItem=function(e,i){try{t.prototype.processDataItem.call(this,e,i),e.events.disable(),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y"),e.events.enable(),this.setInitialWorkingValues(e)}catch(t){this._chart.raiseCriticalError(t)}},e.prototype.setInitialWorkingValues=function(t){},e.prototype.disposeData=function(){if(t.prototype.disposeData.call(this),this.xAxis){var e=this.dataItemsByAxis.getKey(this.xAxis.uid);e&&e.clear(),this.xAxis instanceof T&&this.clearCatAxis(this.xAxis)}if(this.yAxis){var i=this.dataItemsByAxis.getKey(this.yAxis.uid);i&&i.clear(),this.yAxis instanceof T&&this.clearCatAxis(this.yAxis)}},e.prototype.clearCatAxis=function(t){var e=this.uid;t.dataItems.each(function(t){t.seriesDataItems[e]&&(t.seriesDataItems[e]=[])})},e.prototype.defineFields=function(){var t=this.xAxis,e=this.yAxis,i=t.axisFieldName,a=i+"X",n="open"+F.capitalize(i)+"X",r=e.axisFieldName,s=r+"Y",o="open"+F.capitalize(r)+"Y";this._xField=a,this._yField=s,this.dataFields[n]&&(this._xOpenField=n),this.dataFields[o]&&(this._yOpenField=o),this.dataFields[o]||this.baseAxis!=this.yAxis||(this._yOpenField=s),this.dataFields[n]||this.baseAxis!=this.xAxis||(this._xOpenField=a),this.stacked&&this.baseAxis==this.xAxis&&(this._xOpenField=a),this.stacked&&this.baseAxis==this.yAxis&&(this._yOpenField=s),this.xAxis instanceof T&&this.yAxis instanceof T&&(this._yOpenField||(this._yOpenField=s)),this._xValueFields=[],this._yValueFields=[],this.addValueField(this.xAxis,this._xValueFields,this._xField),this.addValueField(this.xAxis,this._xValueFields,this._xOpenField),this.addValueField(this.yAxis,this._yValueFields,this._yField),this.addValueField(this.yAxis,this._yValueFields,this._yOpenField)},e.prototype.addValueField=function(t,e,i){t instanceof l.a&&y.hasValue(this.dataFields[i])&&-1==e.indexOf(i)&&e.push(i)},e.prototype.setCategoryAxisField=function(t,e){y.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.category)},e.prototype.setDateAxisField=function(t,e){y.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.date)},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.createMask()},e.prototype.createMask=function(){if(this.mainContainer.mask){var t=this.getMaskPath();g.each(this.axisRanges.iterator(),function(e){e.axisFill.fillPath&&(e.axisFill.validate(),t+=e.axisFill.fillPath)}),this.mainContainer.mask.path=t}},e.prototype.getMaskPath=function(){return w.rectToPath({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength})},e.prototype.getAxisField=function(t){return t==this.xAxis?this.xField:t==this.yAxis?this.yField:void 0},e.prototype.validateDataItems=function(){this.xAxis.updateAxisBySeries(),this.yAxis.updateAxisBySeries(),t.prototype.validateDataItems.call(this),this.xAxis.postProcessSeriesDataItems(),this.yAxis.postProcessSeriesDataItems()},e.prototype.validateDataRange=function(){this.xAxis.dataRangeInvalid&&this.xAxis.validateDataRange(),this.yAxis.dataRangeInvalid&&this.yAxis.validateDataRange(),t.prototype.validateDataRange.call(this)},e.prototype.validate=function(){this.xAxis.invalid&&this.xAxis.validate(),this.yAxis.invalid&&this.yAxis.validate(),this.y=this.yAxis.pixelY,this.x=this.xAxis.pixelX,this._showBullets=!0;var e=this.minBulletDistance;y.isNumber(e)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)<e&&(this._showBullets=!1),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"xAxis",{get:function(){if(this.chart){if(!this._xAxis.get()){var t=this.chart.xAxes.getIndex(0);if(!t)throw Error("There are no X axes on chart.");this.xAxis=t}return this._xAxis.get()}},set:function(t){var e=this._xAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._xAxis.dispose(),e.series.removeValue(this)),this._xAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new h.a),this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){if(this.chart){if(!this._yAxis.get()){var t=this.chart.yAxes.getIndex(0);if(!t)throw Error("There are no Y axes on chart.");this.yAxis=t}return this._yAxis.get()}},set:function(t){var e=this._yAxis.get();e!=t&&(e&&(this.dataItemsByAxis.removeKey(e.uid),this._yAxis.dispose(),e.series.removeValue(this)),this._yAxis.set(t,t.registerSeries(this)),this.dataItemsByAxis.setKey(t.uid,new h.a),this.invalidateData())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseAxis",{get:function(){return this._baseAxis||(this.yAxis instanceof v&&(this._baseAxis=this.yAxis),this.xAxis instanceof v&&(this._baseAxis=this.xAxis),this.yAxis instanceof T&&(this._baseAxis=this.yAxis),this.xAxis instanceof T&&(this._baseAxis=this.xAxis),this._baseAxis||(this._baseAxis=this.xAxis)),this._baseAxis},set:function(t){this._baseAxis!=t&&(this._baseAxis=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.processValues=function(e){t.prototype.processValues.call(this,e);var i=this.dataItems,a=1/0,n=-1/0,r=1/0,s=-1/0,o=this.startIndex,l=this.endIndex;e||(o=0,l=this.dataItems.length);for(var h=o;h<l;h++){var u=i.getIndex(h);this.getStackValue(u,e);var c=u.getValue("valueX","stack"),d=u.getValue("valueY","stack");a=m.min(u.getMin(this._xValueFields,e,c),a),r=m.min(u.getMin(this._yValueFields,e,d),r),n=m.max(u.getMax(this._xValueFields,e,c),n),s=m.max(u.getMax(this._yValueFields,e,d),s),this.stacked&&(this.baseAxis==this.xAxis&&(r=m.min(r,d)),this.baseAxis==this.yAxis&&(a=m.min(a,c)))}this.xAxis.processSeriesDataItems(),this.yAxis.processSeriesDataItems();var p=this.xAxis.uid,y=this.yAxis.uid;e||this._tmin.getKey(p)==a&&this._tmax.getKey(p)==n&&this._tmin.getKey(y)==r&&this._tmax.getKey(y)==s||(this._tmin.setKey(p,a),this._tmax.setKey(p,n),this._tmin.setKey(y,r),this._tmax.setKey(y,s),this.stackedSeries&&this.stackedSeries.processValues(!1),this.dispatchImmediately("extremeschanged")),this._smin.getKey(p)==a&&this._smax.getKey(p)==n&&this._smin.getKey(y)==r&&this._smax.getKey(y)==s||(this._smin.setKey(p,a),this._smax.setKey(p,n),this._smin.setKey(y,r),this._smax.setKey(y,s),(this.appeared||0!=this.start||1!=this.end)&&this.dispatchImmediately("selectionextremeschanged")),!e&&this.stacked&&this.processValues(!0)},e.prototype.hideTooltip=function(){t.prototype.hideTooltip.call(this),this.returnBulletDefaultState(),this._prevTooltipDataItem=void 0},e.prototype.showTooltipAtPosition=function(t,e){var i;if(this.visible&&!this.isHiding&&!this.isShowing){var a=this._xAxis.get(),n=this._yAxis.get();a==this.baseAxis&&(i=a.getSeriesDataItem(this,a.toAxisPosition(t),this.snapTooltip)),n==this.baseAxis&&(i=n.getSeriesDataItem(this,n.toAxisPosition(e),this.snapTooltip));var r=this.showTooltipAtDataItem(i);if(r)return r;if(!this.tooltipText)return}this.hideTooltip()},e.prototype.showTooltipAtDataItem=function(t){if(this.returnBulletDefaultState(t),t&&t.visible&&(this.updateLegendValue(t),this.cursorTooltipEnabled)){this.tooltipDataItem=t;var e=this.tooltipXField,i=this.tooltipYField;if(y.hasValue(t[e])&&y.hasValue(t[i])){var a=this.getPoint(t,e,i,t.locations[e],t.locations[i]);if(a){if(this.tooltipX=a.x,this.tooltipY=a.y,this._prevTooltipDataItem!=t&&(this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:t}),this._prevTooltipDataItem=t),this.cursorHoverEnabled)try{for(var r=n.g(t.sprites),s=r.next();!s.done;s=r.next()){var o=s.value;!o.parent.visible||o.isHidden||o.__disabled||o.disabled||o.isHiding||(o.isHover=!0)}}catch(t){l={error:t}}finally{try{s&&!s.done&&(h=r.return)&&h.call(r)}finally{if(l)throw l.error}}return this.showTooltip()?F.spritePointToSvg({x:a.x,y:a.y},this):void 0}}}var l,h},e.prototype.returnBulletDefaultState=function(t){if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=t)try{for(var e=n.g(this._prevTooltipDataItem.sprites),i=e.next();!i.done;i=e.next()){var a=i.value;a.isDisposed()?this._prevTooltipDataItem=void 0:a.isHover=!1}}catch(t){r={error:t}}finally{try{i&&!i.done&&(s=e.return)&&s.call(e)}finally{if(r)throw r.error}}var r,s},e.prototype.shouldCreateBullet=function(t,e){var i=e.xField;y.hasValue(i)||(i=this.xField);var a=e.yField;return y.hasValue(a)||(a=this.yField),!(this.xAxis instanceof l.a&&!t.hasValue([i])||this.yAxis instanceof l.a&&!t.hasValue([a]))},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem,a=e.xField;y.hasValue(a)||(a=this.xField);var n=e.yField;if(y.hasValue(n)||(n=this.yField),this.xAxis instanceof l.a&&!i.hasValue([a])||this.yAxis instanceof l.a&&!i.hasValue([n]))e.visible=!1;else{var r=this.getBulletLocationX(e,a),s=this.getBulletLocationY(e,n),o=this.getPoint(i,a,n,r,s);if(o){var h=o.x,u=o.y;if(y.isNumber(e.locationX)&&this.xOpenField!=this.xField)h-=(h-this.xAxis.getX(i,this.xOpenField))*e.locationX;if(y.isNumber(e.locationY)&&this.yOpenField!=this.yField)u-=(u-this.yAxis.getY(i,this.yOpenField))*e.locationY;e.moveTo({x:h,y:u}),e.visible=!0}else e.visible=!1}},e.prototype.getBulletLocationX=function(t,e){var i=t.locationX,a=t.dataItem;return y.isNumber(i)||(i=a.workingLocations[e]),i},e.prototype.getBulletLocationY=function(t,e){var i=t.locationY,a=t.dataItem;return y.isNumber(i)||(i=a.workingLocations[e]),i},Object.defineProperty(e.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(t){this.setPropertyValue("stacked",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i,a=this;this.xAxis instanceof l.a&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof l.a&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var n,r=this.startIndex,s=this.endIndex,o=0,h=this.defaultState.transitionDuration;y.isNumber(e)&&(h=e),g.each(g.indexed(this.dataItems.iterator()),function(t){var e=t[0],l=t[1];a.sequencedInterpolation&&h>0&&(o=a.sequencedInterpolationDelay*e+h*(e-r)/(s-r)),n=l.show(h,o,i)});var u=t.prototype.show.call(this,e);return n&&!n.isFinished()&&(u=n),u},e.prototype.hide=function(e){var i,a,n=this,r=this.xAxis;r instanceof l.a&&r!=this.baseAxis&&(i=this._xValueFields,a=this.stacked||r.minZoomed<0&&r.maxZoomed>0||this.stackedSeries?0:r.min);var s=this.yAxis;s instanceof l.a&&s!=this.baseAxis&&(i=this._yValueFields,a=this.stacked||s.minZoomed<0&&s.maxZoomed>0||this.stackedSeries?0:s.min);var o=this.startIndex,h=this.endIndex,u=this.hiddenState.transitionDuration;y.isNumber(e)&&(u=e);var c,d=0;g.each(g.indexed(this.dataItems.iterator()),function(t){var e=t[0],r=t[1];0==u?r.hide(0,0,a,i):(n.sequencedInterpolation&&u>0&&(d=n.sequencedInterpolationDelay*e+u*(e-o)/(h-o)),c=r.hide(u,d,a,i))});var p=t.prototype.hide.call(this,u);return p&&!p.isFinished()&&p.delay(d),c&&!c.isFinished()&&(p=c),this.validateDataElements(),p},e.prototype.handleDataItemWorkingValueChange=function(e,i){t.prototype.handleDataItemWorkingValueChange.call(this,e,i);var a=this.baseAxis.series;g.each(a.iterator(),function(t){t.stacked&&t.invalidateProcessedData()})},e.prototype.getStackValue=function(t,e){var i=this;if(this.stacked){var a,n=this.chart,r=n.series.indexOf(this);this.xAxis!=this.baseAxis&&this.xAxis instanceof l.a&&(a=this.xField),this.yAxis!=this.baseAxis&&this.yAxis instanceof l.a&&(a=this.yField),t.setCalculatedValue(a,0,"stack"),g.eachContinue(n.series.range(0,r).backwards().iterator(),function(n){if(n.xAxis==i.xAxis&&n.yAxis==i.yAxis){n.stackedSeries=i;var r=n.dataItems.getIndex(t.index);if(r&&r.hasValue(i._xValueFields)&&r.hasValue(i._yValueFields)){var s=t.getValue(a),o=void 0;if(o=e?r.getWorkingValue(a)+r.getValue(a,"stack"):r.getValue(a)+r.getValue(a,"stack"),s>=0&&o>=0||s<0&&o<0)return t.setCalculatedValue(a,o,"stack"),!1}else if(!n.stacked)return!1}return!0})}},Object.defineProperty(e.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(t){this._tooltipXField=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(t){this._tooltipYField=t},enumerable:!0,configurable:!0}),e.prototype.min=function(t){return this._tmin.getKey(t.uid)},e.prototype.max=function(t){return this._tmax.getKey(t.uid)},e.prototype.selectionMin=function(t){var e=this._smin.getKey(t.uid);return y.isNumber(e)||(e=this.min(t)),e},e.prototype.selectionMax=function(t){var e=this._smax.getKey(t.uid);return y.isNumber(e)||(e=this.max(t)),e},e.prototype.processConfig=function(e){if(e){if(y.hasValue(e.xAxis)&&y.isString(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.xAxis+'" found for `xAxis`.'),delete e.xAxis)),y.hasValue(e.yAxis)&&y.isString(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.yAxis+'" found for `yAxis`.'),delete e.yAxis)),y.hasValue(e.axisRanges)&&y.isArray(e.axisRanges))for(var i=0,a=e.axisRanges.length;i<a;i++){var n=e.axisRanges[i];y.hasValue(n.type)||(n.type="AxisDataItem"),y.hasValue(n.axis)&&y.isString(n.axis)&&this.map.hasKey(n.axis)?n.component=this.map.getKey(n.axis):y.hasValue(n.component)&&y.isString(n.component)&&this.map.hasKey(n.component)&&(n.component=this.map.getKey(n.component))}y.hasValue(e.dataFields)&&y.isObject(e.dataFields)||this.processingErrors.push("`dataFields` is not set for series ["+(this.name||"unnamed")+"]")}t.prototype.processConfig.call(this,e)},e.prototype.getPoint=function(t,e,i,a,n,r,s){var o=this.xAxis.getX(t,e,a),l=this.yAxis.getY(t,i,n);return{x:o=m.fitToRange(o,-2e4,2e4),y:l=m.fitToRange(l,-2e4,2e4)}},e.prototype.updateItemReaderText=function(){var t="";f.each(this.dataFields,function(e,i){t+="{"+e+"} "}),this.itemReaderText=t},Object.defineProperty(e.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(t){this.setPropertyValue("cursorTooltipEnabled",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorHoverEnabled",{get:function(){return this.getPropertyValue("cursorHoverEnabled")},set:function(t){this.setPropertyValue("cursorHoverEnabled",t)},enumerable:!0,configurable:!0}),e}(V.a);c.b.registeredClasses.XYSeries=L,c.b.registeredClasses.XYSeriesDataItem=R;var X=i("zhwk"),Y=i("tjMS"),j=i("qCRI"),N=function(t){function e(){var e=t.call(this)||this;e.point={x:0,y:0},e._stick="none",e.className="Cursor",e.width=Object(Y.c)(100),e.height=Object(Y.c)(100),e.shouldClone=!1,e.hide(0),e.trackable=!0,e.clickable=!0,e.isMeasured=!1;var i=Object(X.b)();return e._disposers.push(i.body.events.on("down",e.handleCursorDown,e)),e._disposers.push(i.body.events.on("up",e.handleCursorUp,e)),e._disposers.push(i.body.events.on("track",e.handleCursorMove,e)),e.applyTheme(),e}return n.c(e,t),e.prototype.handleCursorMove=function(t){if(!(!this.interactionsEnabled||this.interactions.isTouchProtected&&t.touch)){if(("zoom"==this._generalBehavior||"pan"==this._generalBehavior)&&this.downPoint||Object(X.b)().isLocalElement(t.pointer,this.paper.svg,this.uid)){var e=F.documentPointToSprite(t.pointer.point,this);return"hard"==this._stick&&this._stickPoint&&(e=this._stickPoint),"soft"==this._stick&&this._stickPoint&&(this.fitsToBounds(e)||(e=this._stickPoint)),this.triggerMove(e),e}this.isHidden&&this.isHiding||this.hide()}},e.prototype.hideReal=function(e){if("hard"!=this._stick&&"soft"!=this._stick||!this._stickPoint)return t.prototype.hideReal.call(this,e)},e.prototype.triggerMove=function(t,e){t.x=m.round(t.x,1),t.y=m.round(t.y,1),e&&(this._stick=e),"hard"!=e&&"soft"!=e||(this._stickPoint=t),this.triggerMoveReal(t)},e.prototype.triggerMoveReal=function(t){this.point.x==t.x&&this.point.y==t.y||(this.point=t,this.invalidatePosition(),this.fitsToBounds(t)?this.show(0):this.downPoint||this.hide(0),this.visible&&(this.getPositions(),this.dispatch("cursorpositionchanged")))},e.prototype.triggerDown=function(t){this.triggerDownReal(t)},e.prototype.triggerDownReal=function(t){switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomstarted");break;case"select":this.dispatchImmediately("selectstarted");break;case"pan":this.dispatchImmediately("panstarted"),Object(X.b)().setGlobalStyle(j.a.grabbing)}},e.prototype.triggerUp=function(t){this.triggerUpReal(t)},e.prototype.triggerUpReal=function(t){this.updatePoint(this.upPoint);var e=Object(X.b)();if(m.getDistance(this._upPointOrig,this._downPointOrig)>e.getHitOption(this.interactions,"hitTolerance")){switch(this._generalBehavior){case"zoom":this.dispatchImmediately("zoomended");break;case"select":this.dispatchImmediately("selectended");break;case"pan":this.dispatchImmediately("panended"),e.setGlobalStyle(j.a.default)}this.downPoint=void 0,this.updateSelection()}else this.dispatchImmediately("behaviorcanceled"),e.setGlobalStyle(j.a.default),this.downPoint=void 0},e.prototype.updateSelection=function(){},e.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},e.prototype.handleCursorDown=function(t){if(!(!this.interactionsEnabled||this.interactions.isTouchProtected&&t.touch)&&Object(X.b)().isLocalElement(t.pointer,this.paper.svg,this.uid)){var e=F.documentPointToSprite(t.pointer.point,this);this._downPointOrig={x:e.x,y:e.y},t.event.cancelable&&this.shouldPreventGestures(t.touch)&&this.fitsToBounds(e)&&t.event.preventDefault(),this.triggerMove(e),this.triggerDown(e)}},e.prototype.shouldPreventGestures=function(t){return!0},e.prototype.updatePoint=function(t){},e.prototype.handleCursorUp=function(t){if(this.interactionsEnabled&&(("zoom"==this._generalBehavior||"pan"==this._generalBehavior)&&this.downPoint||Object(X.b)().isLocalElement(t.pointer,this.paper.svg,this.uid))){var e=F.documentPointToSprite(t.pointer.point,this);this._upPointOrig={x:e.x,y:e.y},this.triggerMove(e),this.triggerUp(e)}},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t,y.hasValue(this._chart.plotContainer)&&Object(X.b)().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),e}(s.a);c.b.registeredClasses.Cursor=N;var M=i("8ZqG"),W=i("MIZb"),B=function(t){function e(){var e=t.call(this)||this;e._lineX=new k.d,e._lineY=new k.d,e._xAxis=new k.d,e._yAxis=new k.d,e.className="XYCursor",e.behavior="zoomX",e.maxPanOut=.1;var i=new W.a,a=e.createChild(S.a);a.shouldClone=!1,a.fillOpacity=.2,a.fill=i.getFor("alternativeBackground"),a.isMeasured=!1,a.interactionsEnabled=!1,e.selection=a,e._disposers.push(e.selection);var n=e.createChild(S.a);n.shouldClone=!1,n.stroke=i.getFor("grid"),n.fill=Object(M.c)(),n.strokeDasharray="3,3",n.isMeasured=!1,n.strokeOpacity=.4,n.interactionsEnabled=!1,n.y=0,e.lineX=n,e._disposers.push(e.lineX);var r=e.createChild(S.a);return r.shouldClone=!1,r.stroke=i.getFor("grid"),r.fill=Object(M.c)(),r.strokeDasharray="3,3",r.isMeasured=!1,r.strokeOpacity=.4,r.interactionsEnabled=!1,r.x=0,e.lineY=r,e._disposers.push(e.lineY),e.events.on("sizechanged",e.updateSize,e,!1),e._disposers.push(e._lineX),e._disposers.push(e._lineY),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.mask=e,e.applyTheme(),e}return n.c(e,t),e.prototype.updateSize=function(){this.lineX&&(this.lineX.path=w.moveTo({x:0,y:0})+w.lineTo({x:0,y:this.innerHeight})),this.lineY&&(this.lineY.path=w.moveTo({x:0,y:0})+w.lineTo({x:this.innerWidth,y:0}))},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point;this.lineX&&(e.x=this.lineX.pixelX),this.lineY&&(e.y=this.lineY.pixelY);var i=this.selection,a=Math.min(e.x,t.x),n=Math.min(e.y,t.y),r=m.round(Math.abs(t.x-e.x),this._positionPrecision),s=m.round(Math.abs(t.y-e.y),this._positionPrecision);switch(this.behavior){case"zoomX":n=0,s=this.pixelHeight;break;case"zoomY":a=0,r=this.pixelWidth;break;case"selectX":n=0,s=this.pixelHeight;break;case"selectY":a=0,r=this.pixelWidth}i.x=a,i.y=n,i.path=w.rectangle(r,s),i.validatePosition()}else this.selection.hide()}},e.prototype.fixPoint=function(t){return t.x=Math.max(0,t.x),t.y=Math.max(0,t.y),t.x=Math.min(this.pixelWidth,t.x),t.y=Math.min(this.pixelHeight,t.y),t},e.prototype.triggerMoveReal=function(e){t.prototype.triggerMoveReal.call(this,e),this.snapToSeries&&!this.snapToSeries.isHidden||this.updateLinePositions(e),this.downPoint&&m.getDistance(this.downPoint,e)>3&&"pan"==this._generalBehavior&&(this.getPanningRanges(),this.dispatch("panning"))},e.prototype.updateLinePositions=function(t){t=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=t.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=t.y),this.updateSelection()},e.prototype.triggerDownReal=function(e){if(this.visible&&!this.isHiding)if(this.fitsToBounds(e)){this.downPoint={x:e.x,y:e.y},this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var i=this.selection,a=this.downPoint.x,n=this.downPoint.y;this._usesSelection&&(i.x=a,i.y=n,i.path="",i.show()),t.prototype.triggerDownReal.call(this,e)}else this.downPoint=void 0;else this.downPoint=void 0},e.prototype.updatePoint=function(t){this.lineX&&(t.x=this.lineX.pixelX),this.lineY&&(t.y=this.lineY.pixelY)},e.prototype.triggerUpReal=function(e){m.getDistance(this._upPointOrig,this._downPointOrig)>Object(X.b)().getHitOption(this.interactions,"hitTolerance")?this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),this.getRanges(),"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide(),t.prototype.triggerUpReal.call(this,e)):(this.selection.hide(0),"pan"==this._generalBehavior&&Object(X.b)().setGlobalStyle(j.a.default));this.downPoint=void 0},e.prototype.getPanningRanges=function(){var t=m.round(this.downPoint.x/this.innerWidth,5),e=m.round(this.downPoint.y/this.innerHeight,5),i=t-m.round(this.point.x/this.innerWidth,5),a=-e+m.round(this.point.y/this.innerHeight,5);this.xRange={start:i,end:1+i},this.yRange={start:a,end:1+a},"panX"==this.behavior&&(this.yRange.start=0,this.yRange.end=1),"panY"==this.behavior&&(this.xRange.start=0,this.xRange.end=1)},e.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),F.used(this.selection);var t=m.round(this.downPoint.x/this.innerWidth,5),e=m.round(this.upPoint.x/this.innerWidth,5),i=m.round(this.downPoint.y/this.innerHeight,5),a=m.round(this.upPoint.y/this.innerHeight,5);this.xRange={start:m.min(t,e),end:m.max(t,e)},this.yRange={start:m.min(i,a),end:m.max(i,a)}},Object.defineProperty(e.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")},set:function(t){this.setPropertyValue("behavior",t,!0),this._usesSelection=!1,-1!=t.indexOf("zoom")&&(this._generalBehavior="zoom",this._usesSelection=!0),-1!=t.indexOf("select")&&(this._generalBehavior="select",this._usesSelection=!0),-1!=t.indexOf("pan")&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),e.prototype.shouldPreventGestures=function(t){return!(this.interactions.isTouchProtected&&t||"none"==this.behavior)},Object.defineProperty(e.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(t){this.setPropertyValue("fullWidthLineX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(t){this.setPropertyValue("fullWidthLineY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(t){this.setPropertyValue("maxPanOut",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(t){this._xAxis.get()!=t&&this._xAxis.set(t,new k.c([t.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(t){this._yAxis.get()!=t&&this._yAxis.set(t,new k.c([t.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this,!1)]))},enumerable:!0,configurable:!0}),e.prototype.handleXTooltipPosition=function(t){var e=this.xAxis.tooltip,i=F.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),a=i.x;if(this.lineX&&(this.lineX.x=a,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var n=this.xAxis.currentItemStartPoint,r=this.xAxis.currentItemEndPoint;if(n&&r){this.lineX.x=a;var s=r.x-n.x;this.lineX.path=w.rectangle(s,this.innerHeight,-s/2)}}},e.prototype.handleYTooltipPosition=function(t){var e=this.yAxis.tooltip,i=F.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),a=i.y;if(this.lineY&&(this.lineY.y=a,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var n=this.yAxis.currentItemStartPoint,r=this.yAxis.currentItemEndPoint;if(n&&r){this.lineY.y=a;var s=r.y-n.y;this.lineY.path=w.rectangle(this.innerWidth,s,0,-s/2)}}},Object.defineProperty(e.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineX.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.interactionsEnabled=!1,t.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineY.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.parent=this,t.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t,t&&(t.element=this.paper.add("path"),t.parent=this)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){e&&(y.hasValue(e.xAxis)&&y.isString(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.xAxis+'" found for `xAxis`'),delete e.xAxis)),y.hasValue(e.yAxis)&&y.isString(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.yAxis+'" found for `yAxis`'),delete e.yAxis)),y.hasValue(e.snapToSeries)&&y.isString(e.snapToSeries)&&(this.map.hasKey(e.snapToSeries)?e.snapToSeries=this.map.getKey(e.snapToSeries):(this.processingErrors.push('[XYCursor] No series with id "'+e.snapToSeries+'" found for `series`'),delete e.snapToSeries))),t.prototype.processConfig.call(this,e)},Object.defineProperty(e.prototype,"snapToSeries",{get:function(){return this.getPropertyValue("snapToSeries")},set:function(t){this.setPropertyValue("snapToSeries",t)&&(this._snapToDisposer&&this._snapToDisposer.dispose(),t&&(this._snapToDisposer=t.events.on("tooltipshownat",this.handleSnap,this,!1)))},enumerable:!0,configurable:!0}),e.prototype.handleSnap=function(){var t=this.snapToSeries,e=t.tooltipY,i=t.tooltipX;this.xAxis&&this.xAxis.renderer.opposite&&(e-=this.pixelHeight),this.point={x:i,y:e},this.getPositions();var a=i,n=e;i-=this.pixelWidth,this.yAxis&&this.yAxis.renderer.opposite&&(i+=this.pixelWidth);var r=t.tooltip,s=r.animationDuration,o=r.animationEasing;t.baseAxis==t.xAxis&&t.yAxis.showTooltipAtPosition(this.yPosition),t.baseAxis==t.yAxis&&t.xAxis.showTooltipAtPosition(this.xPosition),this.lineX.animate([{property:"y",to:e}],s,o),this.lineY.animate([{property:"x",to:i}],s,o),this.xAxis||this.lineX.animate([{property:"x",to:a}],s,o),this.yAxis||this.lineY.animate([{property:"y",to:n}],s,o)},e.prototype.dispose=function(){this.hide(0),t.prototype.dispose.call(this)},e}(N);c.b.registeredClasses.XYCursor=B;var E=i("BEgH"),H=i("ISWh"),z=i("85D4"),U=function(t){function e(){var e=t.call(this)||this;e._chart=new k.d,e.className="XYChartScrollbar";var i=new W.a;e.padding(0,0,0,0);var a=e.createChild(q);a.shouldClone=!1,a.margin(0,0,0,0),a.padding(0,0,0,0),a.interactionsEnabled=!1,e._scrollbarChart=a,e._disposers.push(e._scrollbarChart),e.minHeight=60,e.minWidth=60;var n=e.createChild(S.a);n.shouldClone=!1,n.setElement(e.paper.add("path")),n.fill=i.getFor("background"),n.fillOpacity=.8,n.interactionsEnabled=!1,n.isMeasured=!1,n.toBack(),e._unselectedOverlay=n,e._disposers.push(e._unselectedOverlay),a.toBack(),e.background.cornerRadius(0,0,0,0);var r=e.thumb.background;r.cornerRadius(0,0,0,0),r.fillOpacity=0,r.fill=i.getFor("background");var s=r.states.getKey("hover");s&&(s.properties.fillOpacity=.2);var o=r.states.getKey("down");return o&&(o.properties.fillOpacity=.4),e._disposers.push(e._chart),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new o.b,this._disposers.push(this._series.events.on("inserted",this.handleSeriesAdded,this,!1)),this._disposers.push(this._series.events.on("removed",this.handleSeriesRemoved,this,!1))),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=t.newValue,i=this.scrollbarChart;i.zoomOutButton.disabled=!0,this.chart=e.chart;var a=!0,n=!0;g.each(this.series.iterator(),function(t){t!=e&&(t.xAxis==e.xAxis&&(a=!1),t.yAxis==e.yAxis&&(n=!1))});var r=new W.a,s=e.clone();if(a){var o=e.xAxis.clone();i.xAxes.moveValue(o),o.title.disabled=!0,o.rangeChangeDuration=0,o.id=e.uid,(l=o.renderer).ticks.template.disabled=!0,l.inside=!0,l.labels.template.inside=!0,l.line.strokeOpacity=0,l.minLabelPosition=.02,l.maxLabelPosition=.98,l.line.disabled=!0,l.axisFills.template.disabled=!0,l.baseGrid.disabled=!0,l.grid.template.strokeOpacity=.05,l.minWidth=void 0,l.minHeight=void 0,l.padding(0,0,0,0),l.chart=i,l.margin(0,0,0,0),l.labels.template.fillOpacity=.5,s.xAxis=o}if(n){var l,h=e.yAxis.clone();i.yAxes.moveValue(h),h.title.disabled=!0,h.rangeChangeDuration=0,(l=h.renderer).ticks.template.disabled=!0,l.inside=!0,l.labels.template.inside=!0,l.line.strokeOpacity=0,l.minLabelPosition=.02,l.maxLabelPosition=.98,l.line.disabled=!0,l.axisFills.template.disabled=!0,l.grid.template.stroke=r.getFor("background"),l.baseGrid.disabled=!0,l.grid.template.strokeOpacity=.05,l.minWidth=void 0,l.minHeight=void 0,l.chart=i,l.padding(0,0,0,0),l.margin(0,0,0,0),l.labels.template.fillOpacity=.5,s.yAxis=h}s.rangeChangeDuration=0,s.interpolationDuration=0,s.defaultState.transitionDuration=0,s.showOnInit=!1,this._disposers.push(s.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(e.events.on("datavalidated",function(){s.data!=e.data&&(s.data=e.data)},void 0,!1)),s.defaultState.properties.visible=!0,s.filters.push(new z.a),i.series.push(s),this.updateByOrientation()},e.prototype.updateByOrientation=function(){var t=this;this._scrollbarChart&&(g.each(this._scrollbarChart.xAxes.iterator(),function(e){var i=e.renderer;"vertical"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}),g.each(this._scrollbarChart.yAxes.iterator(),function(e){var i=e.renderer;"horizontal"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}))},e.prototype.handleSeriesRemoved=function(t){t.oldValue.events.off("validated",this.zoomOutAxes,this)},Object.defineProperty(e.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.get()!==t&&(this._chart.set(t,t.events.on("datavalidated",this.handleDataChanged,this,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=t)},enumerable:!0,configurable:!0}),e.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data&&(this.scrollbarChart.data=this.chart.data)},e.prototype.zoomOutAxes=function(){var t=this.scrollbarChart;g.each(t.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),g.each(t.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},e.prototype.updateThumb=function(){if(t.prototype.updateThumb.call(this),this._unselectedOverlay){var e=this.thumb,i=e.pixelX||0,a=e.pixelY||0,n=e.pixelWidth||0,r=e.pixelHeight||0,s="";"horizontal"==this.orientation?(s=w.rectToPath({x:-1,y:0,width:i,height:r}),s+=w.rectToPath({x:i+n,y:0,width:(this.pixelWidth||0)-i-n,height:r})):(s=w.rectToPath({x:0,y:0,width:n,height:a}),s+=w.rectToPath({x:0,y:a+r,width:n,height:(this.pixelHeight||0)-a-r})),this._unselectedOverlay.path=s}},e.prototype.processConfig=function(e){if(e&&y.hasValue(e.series)&&y.isArray(e.series))for(var i=0,a=e.series.length;i<a;i++){var n=e.series[i];if(y.hasValue(n)&&y.isString(n)){if(!this.map.hasKey(n))throw Error("XYChartScrollbar error: Series with id `"+n+"` does not exist.");e.series[i]=this.map.getKey(n)}}t.prototype.processConfig.call(this,e)},e}(H.a);c.b.registeredClasses.XYChartScrollbar=U;var K=i("TGuK"),G=function(t){function e(){var e=t.call(this)||this;return e.className="XYChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),q=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=b.a,e._axisRendererY=P.a,e._seriesPoints=[],e.className="XYChart",e.maskBullets=!0,e.arrangeTooltips=!0;var i=e.chartContainer;i.layout="vertical",e.padding(15,15,15,15);var a=i.createChild(s.a);a.shouldClone=!1,a.layout="vertical",a.width=Object(Y.c)(100),a.zIndex=1,e.topAxesContainer=a;var n=i.createChild(s.a);n.shouldClone=!1,n.layout="horizontal",n.width=Object(Y.c)(100),n.height=Object(Y.c)(100),n.zIndex=0,e.yAxesAndPlotContainer=n;var r=i.createChild(s.a);r.shouldClone=!1,r.width=Object(Y.c)(100),r.layout="vertical",r.zIndex=1,e.bottomAxesContainer=r;var o=n.createChild(s.a);o.shouldClone=!1,o.layout="horizontal",o.height=Object(Y.c)(100),o.contentAlign="right",o.events.on("transformed",e.updateXAxesMargins,e,!1),o.zIndex=1,e.leftAxesContainer=o;var l=n.createChild(s.a);l.shouldClone=!1,l.height=Object(Y.c)(100),l.width=Object(Y.c)(100),l.background.fillOpacity=0,e.plotContainer=l,e.mouseWheelBehavior="none",e._cursorContainer=l;var h=n.createChild(s.a);h.shouldClone=!1,h.layout="horizontal",h.height=Object(Y.c)(100),h.zIndex=1,h.events.on("transformed",e.updateXAxesMargins,e,!1),e.rightAxesContainer=h,e.seriesContainer.parent=l,e.bulletsContainer.parent=l;var u=l.createChild(E.a);return u.shouldClone=!1,u.align="right",u.valign="top",u.zIndex=Number.MAX_SAFE_INTEGER,u.marginTop=5,u.marginRight=5,u.hide(0),e.zoomOutButton=u,e._bulletMask=e.plotContainer,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),this.zoomOutButton.exportable=!1,y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y chart"))},e.prototype.draw=function(){t.prototype.draw.call(this),this.seriesContainer.toFront(),this.bulletsContainer.toFront(),this.maskBullets&&(this.bulletsContainer.mask=this._bulletMask),this.updateSeriesLegend()},e.prototype.updatePlotElements=function(){g.each(this.series.iterator(),function(t){t.invalidate()})},e.prototype.validateData=function(){0==this._parseDataFrom&&(g.each(this.xAxes.iterator(),function(t){t.dataChangeUpdate()}),g.each(this.yAxes.iterator(),function(t){t.dataChangeUpdate()}),g.each(this.series.iterator(),function(t){t.dataChangeUpdate()})),t.prototype.validateData.call(this)},e.prototype.updateXAxesMargins=function(){var t=this.leftAxesContainer.measuredWidth,e=this.rightAxesContainer.measuredWidth,i=this.bottomAxesContainer;i.paddingLeft==t&&i.paddingRight==e||(i.paddingLeft=t,i.paddingRight=e);var a=this.topAxesContainer;a.paddingLeft==t&&a.paddingRight==e||(a.paddingLeft=t,a.paddingRight=e)},e.prototype.handleXAxisChange=function(t){this.updateXAxis(t.target)},e.prototype.handleYAxisChange=function(t){this.updateYAxis(t.target)},e.prototype.processXAxis=function(t){var e=t.newValue;e.chart=this,e.renderer||(e.renderer=new this._axisRendererX,e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleXAxisChange,this,!1)),e.axisLetter="X",e.events.on("startendchanged",this.handleXAxisRangeChange,this,!1),e.dataProvider=this,this.updateXAxis(e.renderer),this.processAxis(e)},e.prototype.processYAxis=function(t){var e=t.newValue;e.chart=this,e.renderer||(e.renderer=new this._axisRendererY,e.renderer.observe(["opposite","inside","inversed","minGridDistance"],this.handleYAxisChange,this,!1)),e.axisLetter="Y",e.events.on("startendchanged",this.handleYAxisRangeChange,this,!1),e.dataProvider=this,this.updateYAxis(e.renderer),this.processAxis(e)},e.prototype.handleXAxisRangeChange=function(){var t=this.getCommonAxisRange(this.xAxes);this.scrollbarX&&this.zoomAxes(this.xAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarX,t)},e.prototype.toggleZoomOutButton=function(){if(this.zoomOutButton){var t=!1;g.eachContinue(this.xAxes.iterator(),function(e){return 0==m.round(e.start,3)&&1==m.round(e.end,3)||(t=!0,!1)}),g.eachContinue(this.yAxes.iterator(),function(e){return 0==m.round(e.start,3)&&1==m.round(e.end,3)||(t=!0,!1)}),this.seriesAppeared||(t=!1),t?this.zoomOutButton.show():this.zoomOutButton.hide()}},e.prototype.seriesAppeared=function(){var t=!1;return g.each(this.series.iterator(),function(e){if(!e.appeared)return t=!1,!1}),t},e.prototype.handleYAxisRangeChange=function(){var t=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,t)},e.prototype.updateScrollbar=function(t,e){t&&(t.skipRangeEvents(),t.start=e.start,t.end=e.end)},e.prototype.getCommonAxisRange=function(t){var e,i;return g.each(t.iterator(),function(t){var a=t.start,n=t.end;t.renderer.inversed&&(a=1-t.end,n=1-t.start),(!y.isNumber(e)||a<e)&&(e=a),(!y.isNumber(i)||n>i)&&(i=n)}),{start:e,end:i}},e.prototype.updateXAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.topAxesContainer,e.toFront()):(e.parent=this.bottomAxesContainer,e.toBack()),e.renderer&&e.renderer.processRenderer()},e.prototype.updateYAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.rightAxesContainer,e.toBack()):(e.parent=this.leftAxesContainer,e.toFront()),e.renderer&&e.renderer.processRenderer()},e.prototype.processAxis=function(t){var e=this;t instanceof T&&this._dataUsers.moveValue(t);var i=t.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,t.addDisposer(new k.b(function(){e.dataUsers.removeValue(t)})),this.plotContainer.events.on("maxsizechanged",function(){e.inited&&(t.invalidateDataItems(),e.updateSeriesMasks())},t,!1)},e.prototype.updateSeriesMasks=function(){F.isIE()&&this.series.each(function(t){var e=t.mainContainer.mask;t.mainContainer.mask=void 0,t.mainContainer.mask=e})},Object.defineProperty(e.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new o.b,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1)),this._xAxes},enumerable:!0,configurable:!0}),e.prototype.handleAxisRemoval=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),e.autoDispose&&e.dispose()},Object.defineProperty(e.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new o.b,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1)),this._yAxes},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(e){try{t.prototype.handleSeriesAdded.call(this,e);var i=e.newValue;0!=this.xAxes.length&&0!=this.yAxes.length||(c.b.removeFromInvalidComponents(i),i.dataInvalid=!1),F.used(i.xAxis),F.used(i.yAxis),void 0==i.fill&&(i.fill=this.colors.next()),void 0==i.stroke&&(i.stroke=i.fill)}catch(t){this.raiseCriticalError(t)}},Object.defineProperty(e.prototype,"cursor",{get:function(){return this._cursor},set:function(t){this._cursor!=t&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=t,t&&(this._disposers.push(t),t.chart=this,t.shouldClone=!1,t.parent=this._cursorContainer,t.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,!1),t.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),t.events.on("zoomended",this.handleCursorZoomEnd,this,!1),t.events.on("panstarted",this.handleCursorPanStart,this,!1),t.events.on("panning",this.handleCursorPanning,this,!1),t.events.on("panended",this.handleCursorPanEnd,this,!1),t.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),t.events.on("hidden",this.handleHideCursor,this,!1),t.zIndex=Number.MAX_SAFE_INTEGER-1,this.tapToActivate&&this.setTapToActivate(this.tapToActivate)))},enumerable:!0,configurable:!0}),e.prototype.createCursor=function(){return new B},e.prototype.handleCursorPositionChange=function(){var t=this.cursor;if(t.visible&&!t.isHiding){var e=this.cursor.xPosition,i=this.cursor.yPosition;this.showSeriesTooltip({x:e,y:i});var a=void 0,n=t.snapToSeries;n&&(n.baseAxis==n.xAxis&&(a=n.yAxis),n.baseAxis==n.yAxis&&(a=n.xAxis)),this._seriesPoints=[],this.showAxisTooltip(this.xAxes,e,a),this.showAxisTooltip(this.yAxes,i,a),this.sortSeriesTooltips(this._seriesPoints)}},e.prototype.handleHideCursor=function(){this.hideObjectTooltip(this.xAxes),this.hideObjectTooltip(this.yAxes),this.hideObjectTooltip(this.series),this.updateSeriesLegend()},e.prototype.updateSeriesLegend=function(){g.each(this.series.iterator(),function(t){t.updateLegendValue()})},e.prototype.hideObjectTooltip=function(t){g.each(t.iterator(),function(t){t.hideTooltip(0)})},e.prototype.showSeriesTooltip=function(t){var e=this;if(t){var i=[];this.series.each(function(a){if(a.xAxis instanceof v&&a.xAxis.snapTooltip||a.yAxis instanceof v&&a.yAxis.snapTooltip);else{var n=a.showTooltipAtPosition(t.x,t.y);n&&(a.tooltip.setBounds({x:0,y:0,width:e.pixelWidth,height:e.pixelHeight}),i.push({series:a,point:n}))}}),this.arrangeTooltips&&this.sortSeriesTooltips(i)}else this.series.each(function(t){t.hideTooltip()})},e.prototype.sortSeriesTooltips=function(t){var e=F.spritePointToSvg({x:-.5,y:-.5},this.plotContainer),i=F.spritePointToSvg({x:this.plotContainer.pixelWidth+.5,y:this.plotContainer.pixelHeight+.5},this.plotContainer),a=0,n=[];O.each(t,function(t){var r=t.point;r&&m.isInRectangle(r,{x:e.x,y:e.y,width:i.x-e.x,height:i.y-e.y})&&(n.push({point:r,series:t.series}),a+=r.y)}),(t=n).sort(function(t,e){return t.point.y>e.point.y?1:t.point.y<e.point.y?-1:0});var r=a/t.length,s=F.svgPointToDocument({x:0,y:0},this.svgContainer.SVGContainer).y;if(t.length>0){var o=e.y,l=i.y;F.spritePointToDocument({x:0,y:o},this);var h=!1;if(r>o+(l-o)/2)for(var u=l,c=t.length-1;c>=0;c--){var d=(f=t[c].series).tooltip,p=t[c].point.y;if(d.setBounds({x:0,y:-s,width:this.pixelWidth,height:u+s}),d.invalid&&d.validate(),d.toBack(),(u=F.spritePointToSvg({x:0,y:d.label.pixelY-d.pixelY+p-d.pixelMarginTop},d).y)<-s){h=!0;break}}if(r<=o+(l-o)/2||h)for(var y=o,g=(c=0,t.length);c<g;c++){var f=t[c].series;p=t[c].point.y;(d=f.tooltip).setBounds({x:0,y:y,width:this.pixelWidth,height:l}),d.invalid&&d.validate(),d.toBack(),y=F.spritePointToSvg({x:0,y:d.label.pixelY+d.label.measuredHeight-d.pixelY+p+d.pixelMarginBottom},d).y}}},e.prototype.showAxisTooltip=function(t,e,i){var a=this;g.each(t.iterator(),function(t){t!=i&&(a.dataItems.length>0||t.dataItems.length>0)&&t.showTooltipAtPosition(e)})},e.prototype.getUpdatedRange=function(t,e){if(t){var i,a,n=t.renderer.inversed;t.renderer instanceof P.a&&(e=m.invertRange(e)),n?(m.invertRange(e),i=1-t.end,a=1-t.start):(i=t.start,a=t.end);var r=a-i;return{start:i+e.start*r,end:i+e.end*r}}},e.prototype.handleCursorZoomEnd=function(t){var e=this.cursor,i=e.behavior;if("zoomX"==i||"zoomXY"==i){var a=e.xRange;a&&this.xAxes.length>0&&((a=this.getUpdatedRange(this.xAxes.getIndex(0),a)).priority="start",this.zoomAxes(this.xAxes,a))}if("zoomY"==i||"zoomXY"==i){var n=e.yRange;n&&this.yAxes.length>0&&((n=this.getUpdatedRange(this.yAxes.getIndex(0),n)).priority="start",this.zoomAxes(this.yAxes,n))}this.handleHideCursor()},e.prototype.handleCursorPanStart=function(t){var e=this.xAxes.getIndex(0);e&&(this._panStartXRange={start:e.start,end:e.end});var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end})},e.prototype.handleCursorPanEnd=function(t){var e=this.cursor.behavior;if(this._panEndXRange&&("panX"==e||"panXY"==e)){var i=0;(a=this._panEndXRange).start<0&&(i=a.start),a.end>1&&(i=a.end-1),this.zoomAxes(this.xAxes,{start:a.start-i,end:a.end-i},!1,!0),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&("panY"==e||"panXY"==e)){var a;i=0;(a=this._panEndYRange).start<0&&(i=a.start),a.end>1&&(i=a.end-1),this.zoomAxes(this.yAxes,{start:a.start-i,end:a.end-i},!1,!0),this._panEndYRange=void 0,this._panStartYRange=void 0}},e.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},e.prototype.handleCursorPanning=function(t){var e=this.cursor,i=e.behavior,a=e.maxPanOut;if(this._panStartXRange&&("panX"==i||"panXY"==i)){var n=this._panStartXRange,r=e.xRange,s=this.getCommonAxisRange(this.xAxes),o=n.end-n.start,l=r.start*(s.end-s.start),h=Math.max(-a,l+n.start),u=Math.min(l+n.end,1+a);h<=0&&(u=h+o),u>=1&&(h=u-o);var c={start:h,end:u};this._panEndXRange=c,this.zoomAxes(this.xAxes,c,!1,!1,e.maxPanOut)}if(this._panStartYRange&&("panY"==i||"panXY"==i)){n=this._panStartYRange,r=e.yRange,s=this.getCommonAxisRange(this.yAxes),o=n.end-n.start,l=r.start*(s.end-s.start),h=Math.max(-a,l+n.start),u=Math.min(l+n.end,1+a);h<=0&&(u=h+o),u>=1&&(h=u-o);c={start:h,end:u};this._panEndYRange=c,this.zoomAxes(this.yAxes,c,!1,!1,e.maxPanOut)}this.handleHideCursor()},e.prototype.handleCursorZoomStart=function(t){},Object.defineProperty(e.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(t){var e=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=t,t&&(this._disposers.push(t),t.parent=this.topAxesContainer,t.shouldClone=!1,t.startGrip.exportable=!1,t.endGrip.exportable=!1,t.toBack(),t.orientation="horizontal",t.events.on("rangechanged",this.handleXScrollbarChange,this,!1),t.adapter.add("positionValue",function(t){var i=e.xAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(t){var e=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=t,t&&(this._disposers.push(t),t.parent=this.rightAxesContainer,t.startGrip.exportable=!1,t.shouldClone=!1,t.endGrip.exportable=!1,t.toFront(),t.orientation="vertical",t.events.on("rangechanged",this.handleYScrollbarChange,this,!1),t.adapter.add("positionValue",function(t){var i=e.yAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),e.prototype.handleXScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;1==i.end&&(i.priority="end"),0==i.start&&(i.priority="start"),i=this.zoomAxes(this.xAxes,i),e.fixRange(i)}},e.prototype.handleYScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;1==i.end&&(i.priority="end"),0==i.start&&(i.priority="start"),i=this.zoomAxes(this.yAxes,i),e.fixRange(i)}},e.prototype.zoomAxes=function(t,e,i,a,n){var r={start:0,end:1};return this.showSeriesTooltip(),this.dataInvalid||g.each(t.iterator(),function(t){t.renderer.inversed&&(e=m.invertRange(e)),t.hideTooltip(0),a&&(e.start=t.roundPosition(e.start+1e-4,0),e.end=t.roundPosition(e.end+1e-4,0));var s=t.zoom(e,i,i,n);t.renderer.inversed&&(s=m.invertRange(s)),r=s}),r},Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrangeTooltips",{get:function(){return this.getPropertyValue("arrangeTooltips")},set:function(t){this.setPropertyValue("arrangeTooltips",t,!0)},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){var e=this.plotContainer,i=F.documentPointToSvg(t.point,this.htmlContainer,this.svgContainer.cssScale),a=F.svgPointToSprite(i,e),n=t.shift.y,r=this.getCommonAxisRange(this.xAxes),s=this.getCommonAxisRange(this.yAxes),o=this.mouseWheelBehavior;if("panX"==o||"panXY"==o){var l=r.end-r.start,h=Math.max(-0,r.start+.05*n/100),u=Math.min(r.end+.05*n/100,1);h<=0&&(u=h+l),u>=1&&(h=u-l),this.zoomAxes(this.xAxes,{start:h,end:u})}if("panY"==o||"panXY"==o){n*=-1;var c=s.end-s.start,d=Math.max(-0,s.start+.05*n/100),p=Math.min(s.end+.05*n/100,1);d<=0&&(p=d+c),p>=1&&(d=p-c),this.zoomAxes(this.yAxes,{start:d,end:p})}if("zoomX"==o||"zoomXY"==o){var y=a.x/e.maxWidth;h=Math.max(-0,r.start-.05*n/100*y);h=Math.min(h,y);u=Math.min(r.end+.05*n/100*(1-y),1);u=Math.max(u,y),this.zoomAxes(this.xAxes,{start:h,end:u})}if("zoomY"==o||"zoomXY"==o){var g=a.y/e.maxHeight;d=Math.max(-0,s.start-.05*n/100*(1-g));d=Math.min(d,g);p=Math.min(s.end+.05*n/100*g,1);p=Math.max(p,g),this.zoomAxes(this.yAxes,{start:d,end:p})}},Object.defineProperty(e.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(t){this.setPropertyValue("mouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),e.prototype.dataSourceDateFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),g.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},e.prototype.dataSourceNumberFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),g.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},e.prototype.processConfig=function(e){if(e){var i=[],a=[];if(y.hasValue(e.xAxes)&&y.isArray(e.xAxes))for(var n=0,r=e.xAxes.length;n<r;n++){if(!e.xAxes[n].type)throw Error("[XYChart error] No type set for xAxes["+n+"].");y.hasValue(e.xAxes[n].axisRanges)&&(i.push({axisRanges:e.xAxes[n].axisRanges,index:n}),delete e.xAxes[n].axisRanges)}if(y.hasValue(e.yAxes)&&y.isArray(e.yAxes))for(n=0,r=e.yAxes.length;n<r;n++){if(!e.yAxes[n].type)throw Error("[XYChart error] No type set for yAxes["+n+"].");y.hasValue(e.yAxes[n].axisRanges)&&(a.push({axisRanges:e.yAxes[n].axisRanges,index:n}),delete e.yAxes[n].axisRanges)}if(y.hasValue(e.series)&&y.isArray(e.series))for(n=0,r=e.series.length;n<r;n++)e.series[n].type=e.series[n].type||"LineSeries";if(y.hasValue(e.cursor)&&!y.hasValue(e.cursor.type)&&(e.cursor.type="XYCursor"),y.hasValue(e.scrollbarX)&&!y.hasValue(e.scrollbarX.type)&&(e.scrollbarX.type="Scrollbar"),y.hasValue(e.scrollbarY)&&!y.hasValue(e.scrollbarY.type)&&(e.scrollbarY.type="Scrollbar"),t.prototype.processConfig.call(this,e),a.length)for(n=0,r=a.length;n<r;n++)this.yAxes.getIndex(a[n].index).config={axisRanges:a[n].axisRanges};if(i.length)for(n=0,r=i.length;n<r;n++)this.xAxes.getIndex(i[n].index).config={axisRanges:i[n].axisRanges}}},e.prototype.configOrder=function(e,i){return e==i?0:"scrollbarX"==e?1:"scrollbarX"==i?-1:"scrollbarY"==e?1:"scrollbarY"==i?-1:"cursor"==e?1:"cursor"==i?-1:"series"==e?1:"series"==i?-1:t.prototype.configOrder.call(this,e,i)},e.prototype.createSeries=function(){return new L},Object.defineProperty(e.prototype,"zoomOutButton",{get:function(){return this._zoomOutButton},set:function(t){var e=this;this._zoomOutButton=t,t&&t.events.on("hit",function(){e.zoomAxes(e.xAxes,{start:0,end:1}),e.zoomAxes(e.yAxes,{start:0,end:1})},void 0,!1)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;e.xAxes.each(function(t){i.xAxes.push(t.clone())}),e.yAxes.each(function(t){i.yAxes.push(t.clone())}),t.prototype.copyFrom.call(this,e),e.cursor&&(this.cursor=e.cursor.clone()),e.scrollbarX&&(this.scrollbarX=e.scrollbarX.clone()),e.scrollbarY&&(this.scrollbarY=e.scrollbarY.clone())},e.prototype.disposeData=function(){t.prototype.disposeData.call(this);var e=this.scrollbarX;e&&e instanceof U&&e.scrollbarChart.disposeData();var i=this.scrollbarY;i&&i instanceof U&&i.scrollbarChart.disposeData(),this.xAxes.each(function(t){t.disposeData()}),this.yAxes.each(function(t){t.disposeData()})},e.prototype.addData=function(e,i){t.prototype.addData.call(this,e,i),this.scrollbarX instanceof U&&this.scrollbarX.scrollbarChart.addData(e,i),this.scrollbarY instanceof U&&this.scrollbarY.scrollbarChart.addData(e,i)},e.prototype.setTapToActivate=function(e){t.prototype.setTapToActivate.call(this,e),this.cursor&&(this.cursor.interactions.isTouchProtected=e,this.plotContainer.interactions.isTouchProtected=e)},e.prototype.handleTapToActivate=function(){t.prototype.handleTapToActivate.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!1,this.plotContainer.interactions.isTouchProtected=!1)},e.prototype.handleTapToActivateDeactivation=function(){t.prototype.handleTapToActivateDeactivation.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!0,this.plotContainer.interactions.isTouchProtected=!0)},e}(r.a);c.b.registeredClasses.XYChart=q,K.c.push({relevant:K.b.maybeXS,state:function(t,e){if(t instanceof q&&t.scrollbarX){var i=t.states.create(e);return t.scrollbarX.states.create(e).properties.disabled=!0,i}return null}}),K.c.push({relevant:K.b.maybeXS,state:function(t,e){if(t instanceof q&&t.scrollbarY){var i=t.states.create(e);return t.scrollbarY.states.create(e).properties.disabled=!0,i}return null}});var Z=i("aFzC"),J=function(t){function e(){var e=t.call(this)||this;e.className="LineSeriesSegment",e.isMeasured=!1,e.interactionsEnabled=!1,e.layout="none";var i=e.createChild(S.a);e.fillSprite=i,i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1,e._disposers.push(i);var a=e.createChild(S.a);return e.strokeSprite=a,a.shouldClone=!1,a.fill=Object(M.c)(),a.setElement(e.paper.add("path")),a.isMeasured=!1,e._disposers.push(a),e}return n.c(e,t),e.prototype.drawSegment=function(t,e,i,a){if(!this.disabled)if(t.length>0&&e.length>0){var n=w.moveTo({x:t[0].x-.2,y:t[0].y-.2})+w.moveTo(t[0])+new Z.b(i,a).smooth(t);0==this.strokeOpacity||0==this.strokeSprite.strokeOpacity||(this.strokeSprite.path=n),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(n+=w.lineTo(e[0])+new Z.b(i,a).smooth(e),n+=w.lineTo(t[0]),n+=w.closePath(),this.fillSprite.path=n)}else this.fillSprite.path="",this.strokeSprite.path=""},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e);var i=this.strokeSprite;f.copyProperties(e,i.properties,S.b),i.events.copyFrom(e.strokeSprite.events),i.fillOpacity=0;var a=this.fillSprite;f.copyProperties(e,a.properties,S.b),a.events.copyFrom(e.fillSprite.events),a.strokeOpacity=0},e}(s.a);c.b.registeredClasses.LineSeriesSegment=J;var Q=i("PTiM"),$=i("p9TX"),tt=i("GtDR"),et=i("TXRX"),it=function(t){function e(){var e=t.call(this)||this;return e.className="LineSeriesDataItem",e}return n.c(e,t),e}(R),at=function(t){function e(){var e=t.call(this)||this;return e.minDistance=.5,e.segments=new o.e(e.createSegment()),e.segments.template.applyOnClones=!0,e._disposers.push(new o.c(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new g.ListIterator(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.autoGapCount=1.1,e.segmentsContainer=e.mainContainer.createChild(s.a),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},e.prototype.createSegment=function(){return new J},e.prototype.createDataItem=function(){return new it},e.prototype.setInitialWorkingValues=function(t){var e=this._yAxis.get(),i=this._xAxis.get();if(this.appeared&&this.visible){var a=this.dataItems.getIndex(t.index-1);if(t.component=this,this.baseAxis==i&&e instanceof l.a){var n=e.minZoomed;a&&(n=a.values.valueY.workingValue),t.setWorkingValue("valueY",n,0),t.setWorkingValue("valueY",t.values.valueY.value),i instanceof v&&(t.setWorkingLocation("dateX",t.locations.dateX-1,0),t.setWorkingLocation("dateX",t.locations.dateX))}if(this.baseAxis==e&&i instanceof l.a){var r=i.minZoomed;a&&(r=a.values.valueX.workingValue),t.setWorkingValue("valueX",r,0),t.setWorkingValue("valueX",t.values.valueX.value),e instanceof v&&(t.setWorkingLocation("dateY",t.locations.dateX-1,0),t.setWorkingLocation("dateY",t.locations.dateY))}}else this.baseAxis==i&&e instanceof l.a&&(i instanceof v&&t.setWorkingLocation("dateX",t.locations.dateX),i instanceof T&&t.setWorkingLocation("categoryX",t.locations.categoryX)),this.baseAxis==e&&i instanceof l.a&&(e instanceof v&&t.setWorkingLocation("dateY",t.locations.dateY),e instanceof T&&t.setWorkingLocation("categoryY",t.locations.categoryY))},e.prototype.updateLegendValue=function(e){t.prototype.updateLegendValue.call(this,e),e&&e.segment&&(this.tooltipColorSource=e.segment)},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this._segmentsIterator.reset(),this.openSegmentWrapper(this._adjustedStartIndex),g.each(this.axisRanges.iterator(),function(t){e.openSegmentWrapper(e._adjustedStartIndex,t)}),g.each(this._segmentsIterator.iterator(),function(t){t.__disabled=!0})},e.prototype.sliceData=function(){for(var t=this.startIndex,e=this.endIndex,i=this.startIndex-1;i>=0;i--){if((n=this.dataItems.getIndex(i))&&n.hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){t=i;break}}this._adjustedStartIndex=this.findAdjustedIndex(t,["stroke","strokeWidth","strokeDasharray","strokeOpacity","fill","fillOpacity","opacity"]);i=this.endIndex;for(var a=this.dataItems.length;i<a;i++){var n;if((n=this.dataItems.getIndex(i))&&n.hasValue(this._xValueFields)&&n.hasValue(this._yValueFields)){e=i+1;break}}this._workingStartIndex=t,this._workingEndIndex=e},e.prototype.findAdjustedIndex=function(t,e){var i=this,a=this.propertyFields,n=t;return O.each(e,function(e){if(y.hasValue(a[e]))for(var r=n;r>=0;r--){var s=i.dataItems.getIndex(r);if(y.hasValue(s.properties[e])){t>r&&(t=r);break}}}),t},e.prototype.openSegmentWrapper=function(t,e){var i={index:t,axisRange:e};do{i=this.openSegment(i.index,i.axisRange)}while(i)},e.prototype.openSegment=function(t,e){var i=!1,a=[];t=Math.min(t,this.dataItems.length);var n,r=Math.min(this._workingEndIndex,this.dataItems.length);this._workingEndIndex=Math.min(this._workingEndIndex,this.dataItems.length);var s=!1,o=this._segmentsIterator.getFirst();o.__disabled=!1,e?(o.parent=e.contents,f.copyProperties(e.contents,o,S.b)):(f.copyProperties(this,o,S.b),o.filters.clear(),o.parent=this.segmentsContainer);for(var l=t;l<r;l++){var h=this.dataItems.getIndex(l);if(h.segment=o,h.hasProperties&&(l==t?this.updateSegmentProperties(h.properties,o):s=this.updateSegmentProperties(h.properties,o,!0)),h.hasValue(this._xValueFields)&&h.hasValue(this._yValueFields))this.addPoints(a,h,this.xField,this.yField);else{if(l==t)continue;if(!this.connect){n=l;break}}if(n=l,this.baseAxis instanceof v){var u=this.dataItems.getIndex(l+1);if(u&&this.baseAxis.makeGap(u,h)){i=!0;break}}if(s)break}return this.closeSegment(o,a,t,n,e,i)},e.prototype.addPoints=function(t,e,i,a,n){var r=this.getPoint(e,i,a,e.workingLocations[i],e.workingLocations[a]);n||(e.point=r),t.push(r)},e.prototype.closeSegment=function(t,e,i,a,n,r){var s=[];if(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)for(var o=a;o>=i;o--){var l=this.dataItems.getIndex(o);l.hasValue(this._xValueFields)&&l.hasValue(this._yValueFields)&&this.addPoints(s,l,this.xOpenField,this.yOpenField,!0)}else{var h=this.baseAxis,u=e.length,c=this.xAxis,d=this.yAxis;u>0&&(h==c?(s.push({x:e[u-1].x,y:d.basePoint.y}),s.push({x:e[0].x,y:d.basePoint.y})):(s.push({x:c.basePoint.x,y:e[u-1].y}),s.push({x:c.basePoint.x,y:e[0].y})))}return this.drawSegment(t,e,s),r&&a++,a<this._workingEndIndex-1?{index:a,axisRange:n}:null},e.prototype.drawSegment=function(t,e,i){t.drawSegment(e,i,this.tensionX,this.tensionY)},e.prototype.updateSegmentProperties=function(t,e,i){var a=!1;return f.each(t,function(t,n){if(y.hasValue(n)){var r=e[t],s=void 0;r&&(s=r.toString?r.toString():r);var o=void 0;n&&(o=n.toString?n.toString():n),r==n||void 0!=s&&void 0!=o&&s==o||(i||(e[t]=n),a=!0)}}),a},Object.defineProperty(e.prototype,"connect",{get:function(){return this.getPropertyValue("connect")},set:function(t){this.setPropertyValue("connect",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=this,i=t.pixelWidth,a=t.pixelHeight;t.disposeChildren();var n=t.createChild(Q.a);if(n.shouldClone=!1,f.copyProperties(this,n,S.b),n.x2=i,n.y=a/2,n.visible=!0,this.fillOpacity>0){var r=t.createChild(tt.a);f.copyProperties(this,r,S.b),r.width=i,r.height=a,r.y=0,r.strokeOpacity=0,r.visible=!0,n.y=0}var o=t.dataItem;o.color=this.stroke,o.colorOrig=this.fill,g.eachContinue(this.bullets.iterator(),function(n){if(n instanceof et.a&&!n.copyToLegendMarker)return!1;var r=!1;if(n instanceof s.a&&g.each(n.children.iterator(),function(t){if(t instanceof $.a)return r=!0,!0}),!r){var o=n.clone();return o.parent=t,o.isMeasured=!0,o.tooltipText=void 0,o.x=i/2,e.fillOpacity>0?o.y=0:o.y=a/2,o.visible=!0,y.hasValue(o.fill)||(o.fill=e.fill),y.hasValue(o.stroke)||(o.stroke=e.stroke),!1}})},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.segments.clear()},Object.defineProperty(e.prototype,"autoGapCount",{get:function(){return this.getPropertyValue("autoGapCount")},set:function(t){this.setPropertyValue("autoGapCount",t,!0)},enumerable:!0,configurable:!0}),e}(L);c.b.registeredClasses.LineSeries=at,c.b.registeredClasses.LineSeriesDataItem=it;var nt=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeriesDataItem",e.setLocation("dateX",0,0),e.setLocation("dateY",0,0),e.setLocation("categoryX",0,0),e.setLocation("categoryY",0,0),e.applyTheme(),e}return n.c(e,t),e}(it),rt=function(t){function e(){var e=t.call(this)||this;return e.className="RadarSeries",e.connectEnds=!0,e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.createDataItem=function(){return new nt},e.prototype.getPoint=function(t,e,i,a,n,r,s){r||(r="valueX"),s||(s="valueY");var o=this.yAxis.getX(t,i,n,s),l=this.yAxis.getY(t,i,n,s),h=m.getDistance({x:o,y:l});0==h&&(h=1e-5);var u=this.xAxis.getAngle(t,e,a,r),c=this.chart.startAngle,d=this.chart.endAngle;return u<c||u>d?void 0:{x:h*m.cos(u),y:h*m.sin(u)}},e.prototype.addPoints=function(t,e,i,a,n){var r=this.getPoint(e,i,a,e.locations[i],e.locations[a]);r&&t.push(r)},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return w.arc(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e.prototype.drawSegment=function(e,i,a){var n=this.yAxis.renderer;this.connectEnds&&360==Math.abs(n.endAngle-n.startAngle)&&(this.dataFields[this._xOpenField]||this.dataFields[this._yOpenField]||this.stacked)&&(i.push(i[0]),a.length>0&&a.unshift(a[a.length-1])),t.prototype.drawSegment.call(this,e,i,a)},Object.defineProperty(e.prototype,"connectEnds",{get:function(){return this.getPropertyValue("connectEnds")},set:function(t){this.setPropertyValue("connectEnds",t,!0)},enumerable:!0,configurable:!0}),e}(at);c.b.registeredClasses.RadarSeries=rt,c.b.registeredClasses.RadarSeriesDataItem=nt;var st=i("FzPm"),ot=function(t){function e(){var e=t.call(this)||this;return e.className="RadarCursor",e.radius=Object(Y.c)(100),e.innerRadius=Object(Y.c)(0),e.applyTheme(),e.mask=void 0,e}return n.c(e,t),e.prototype.fitsToBounds=function(t){var e=m.getDistance(t);return e<this.truePixelRadius+1&&e>this.pixelInnerRadius-1},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.triggerMoveReal=function(e){this.xAxis&&(!this.xAxis||this.xAxis.cursorTooltipEnabled&&!this.xAxis.tooltip.disabled)||this.updateLineX(this.point),this.yAxis&&(!this.yAxis||this.yAxis.cursorTooltipEnabled&&!this.yAxis.tooltip.disabled)||this.updateLineY(this.point),this.updateSelection(),t.prototype.triggerMoveReal.call(this,e)},e.prototype.updateLineX=function(t){var e=this.pixelRadius,i=this.startAngle,a=this.endAngle,n=this.pixelInnerRadius;if(e>0&&y.isNumber(i)&&y.isNumber(a)&&y.isNumber(n)){var r=m.fitAngleToRange(m.getAngle(t),i,a),s=void 0;if(this.lineX&&this.lineX.visible){if(this.lineX.moveTo({x:0,y:0}),this.xAxis&&this.fullWidthLineX){var o=this.xAxis.currentItemStartPoint,l=this.xAxis.currentItemEndPoint;if(o&&l){var h=m.fitAngleToRange(m.getAngle(o),i,a),u=m.fitAngleToRange(m.getAngle(l),i,a)-h;i<a?u<0&&(u+=360):u>0&&(u-=360),r-=u/2,s=w.moveTo({x:n*m.cos(r),y:n*m.sin(r)})+w.lineTo({x:e*m.cos(r),y:e*m.sin(r)})+w.arcTo(r,u,e)+w.lineTo({x:n*m.cos(r+u),y:n*m.sin(r+u)})+w.arcTo(r+u,-u,n)}}s||(s=w.moveTo({x:n*m.cos(r),y:n*m.sin(r)})+w.lineTo({x:e*m.cos(r),y:e*m.sin(r)})),this.lineX.path=s}}},e.prototype.updateLineY=function(t){if(this.lineY&&this.lineY.visible){var e=this.startAngle,i=this.endAngle,a=this.truePixelRadius,n=m.fitToRange(m.getDistance(t),0,this.truePixelRadius);if(y.isNumber(n)&&y.isNumber(e)){this.lineY.moveTo({x:0,y:0});var r=void 0,s=i-e;if(this.yAxis&&this.fullWidthLineY){var o=this.yAxis.currentItemStartPoint,l=this.yAxis.currentItemEndPoint;if(o&&l){var h=m.fitToRange(m.getDistance(o),0,a);n=m.fitToRange(m.getDistance(l),0,a),r=w.moveTo({x:n*m.cos(e),y:n*m.sin(e)})+w.arcTo(e,s,n),r+=w.moveTo({x:h*m.cos(i),y:h*m.sin(i)})+w.arcTo(i,-s,h)}}r||(r=w.moveTo({x:n*m.cos(e),y:n*m.sin(e)})+w.arcTo(e,i-e,n)),this.lineY.path=r}}},e.prototype.updateSelection=function(){if(this._usesSelection){var t=this.downPoint;if(t){var e=this.point,i=this.pixelRadius,a=this.truePixelRadius,n=this.pixelInnerRadius,r=Math.min(this.startAngle,this.endAngle),s=Math.max(this.startAngle,this.endAngle),o=m.fitAngleToRange(m.getAngle(t),r,s),l=m.fitAngleToRange(m.getAngle(e),r,s),h=m.getDistance(t);if(h<a){var u=m.fitToRange(m.getDistance(e),0,a);this._prevAngle=l;var c=w.moveTo({x:0,y:0}),d=m.sin(o),p=m.cos(o),y=m.sin(l),g=m.cos(l),f=this.behavior;"zoomX"==f||"selectX"==f?c+=w.lineTo({x:i*p,y:i*d})+w.arcTo(o,l-o,i)+w.lineTo({x:n*g,y:n*y})+w.arcTo(l,o-l,n):"zoomY"==f||"selectY"==f?c=w.moveTo({x:u*m.cos(r),y:u*m.sin(r)})+w.arcTo(r,s-r,u)+w.lineTo({x:h*m.cos(s),y:h*m.sin(s)})+w.arcTo(s,r-s,h)+w.closePath():"zoomXY"==f&&(c=w.moveTo({x:u*m.cos(o),y:u*m.sin(o)})+w.arcTo(o,l-o,u)+w.lineTo({x:h*m.cos(l),y:h*m.sin(l)})+w.arcTo(l,o-l,h)+w.closePath()),this.selection.path=c}this.selection.moveTo({x:0,y:0})}}},e.prototype.getPositions=function(){if(this.chart){var t=this.pixelInnerRadius,e=this.truePixelRadius-t,i=this.startAngle,a=this.endAngle,n=(m.fitAngleToRange(m.getAngle(this.point),i,a)-i)/(a-i);this.xPosition=n,this.yPosition=m.fitToRange((m.getDistance(this.point)-t)/e,0,1)}},e.prototype.updatePoint=function(t){},e.prototype.handleXTooltipPosition=function(t){if(this.xAxis.cursorTooltipEnabled){var e=this.xAxis.tooltip;this.updateLineX(F.svgPointToSprite({x:e.pixelX,y:e.pixelY},this))}},e.prototype.handleYTooltipPosition=function(t){if(this.yAxis.cursorTooltipEnabled){var e=this.yAxis.tooltip;this.updateLineY(F.svgPointToSprite({x:e.pixelX,y:e.pixelY},this))}},e.prototype.updateLinePositions=function(t){},e.prototype.getRanges=function(){var t=this.downPoint;if(t){var e=this.upPoint;if(this.chart){var i=this.pixelRadius,a=this.startAngle,n=this.endAngle,r=m.fitAngleToRange(m.getAngle(t),this.startAngle,this.endAngle),s=m.fitAngleToRange(m.getAngle(e),this.startAngle,this.endAngle),o=m.fitToRange(m.getDistance(t),0,i),l=m.fitToRange(m.getDistance(e),0,i),h=0,u=1,c=0,d=1,p=this.behavior;if("zoomX"==p||"selectX"==p||"zoomXY"==p||"selectXY"==p){var y=n-a;h=m.round((r-a)/y,5),u=m.round((s-a)/y,5)}"zoomY"!=p&&"selectY"!=p&&"zoomXY"!=p&&"selectXY"!=p||(c=m.round(o/i,5),d=m.round(l/i,5)),this.xRange={start:Math.min(h,u),end:Math.max(h,u)},this.yRange={start:Math.min(c,d),end:Math.max(c,d)},"selectX"==this.behavior||"selectY"==this.behavior||"selectXY"==this.behavior||this.selection.hide()}}},e.prototype.updateSize=function(){},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return F.relativeRadiusToValue(this.radius,this.truePixelRadius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truePixelRadius",{get:function(){return F.relativeToValue(Object(Y.c)(100),m.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){var t=this.innerRadius;return t instanceof Y.a&&(t=Object(Y.c)(100*t.value*this.chart.innerRadiusModifyer)),F.relativeRadiusToValue(t,this.truePixelRadius)||0},enumerable:!0,configurable:!0}),e.prototype.fixPoint=function(t){return t},e}(B);c.b.registeredClasses.RadarCursor=ot;var lt=i("Meme"),ht=i("8EhG"),ut=function(t){function e(e){var i=t.call(this,e)||this;return i.className="AxisFillCircular",i.element=i.paper.add("path"),i.radius=Object(Y.c)(100),i.applyTheme(),i}return n.c(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.axis){var e=this.axis.renderer;this.fillPath=e.getPositionRangePath(this.startPosition,this.endPosition,this.radius,y.hasValue(this.innerRadius)?this.innerRadius:e.innerRadius,this.cornerRadius),this.path=this.fillPath}},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(ht.a);c.b.registeredClasses.AxisFillCircular=ut;var ct=i("AaJ4"),dt=function(t){function e(){var e=t.call(this)||this;return e.className="GridCircular",e.pixelPerfect=!1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e}(ct.a);c.b.registeredClasses.GridCircular=dt;var pt=i("IbTV"),yt=function(t){function e(){var e=t.call(this)||this;return e.pixelRadiusReal=0,e.layout="none",e.className="AxisRendererCircular",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.useChartAngles=!0,e.radius=Object(Y.c)(100),e.isMeasured=!1,e.grid.template.location=0,e.labels.template.location=0,e.labels.template.radius=15,e.ticks.template.location=0,e.ticks.template.pixelPerfect=!1,e.tooltipLocation=0,e.line.strokeOpacity=0,e.applyTheme(),e}return n.c(e,t),e.prototype.setAxis=function(e){var i=this;t.prototype.setAxis.call(this,e),e.isMeasured=!1;var a=e.tooltip;a.adapter.add("dx",function(t,e){var a=F.svgPointToSprite({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.cos(Math.atan2(a.y,a.x))-a.x}),a.adapter.add("dy",function(t,e){var a=F.svgPointToSprite({x:e.pixelX,y:e.pixelY},i);return i.pixelRadius*Math.sin(Math.atan2(a.y,a.x))-a.y})},e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return F.relativeRadiusToValue(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(t){this.setPropertyValue("useChartAngles",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return F.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=this.positionToCoordinate(t),i=this.startAngle+(this.endAngle-this.startAngle)*e/this.axisLength;return{x:this.pixelRadius*m.cos(i),y:this.pixelRadius*m.sin(i)}},e.prototype.positionToAngle=function(t){var e,i=this.axis,a=(this.endAngle-this.startAngle)/(i.end-i.start);return e=i.renderer.inversed?this.startAngle+(i.end-t)*a:this.startAngle+(t-i.start)*a,m.round(e,3)},e.prototype.updateAxisLine=function(){var t=this.pixelRadius,e=this.startAngle,i=this.endAngle-e;this.line.path=w.moveTo({x:t*m.cos(e),y:t*m.sin(e)})+w.arcTo(e,i,t,t)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=m.DEGREES*Math.atan2(a.y,a.x),r=F.relativeRadiusToValue(y.hasValue(t.radius)?t.radius:Object(Y.c)(100),this.pixelRadius),s=F.relativeRadiusToValue(t.innerRadius,this.pixelRadius);t.zIndex=0;var o=F.relativeRadiusToValue(y.isNumber(s)?s:this.innerRadius,this.pixelRadius,!0);t.path=w.moveTo({x:o*m.cos(n),y:o*m.sin(n)})+w.lineTo({x:r*m.cos(n),y:r*m.sin(n)})}this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=this.pixelRadius,r=m.DEGREES*Math.atan2(a.y,a.x),s=t.length;t.inside&&(s=-s),t.zIndex=1,t.path=w.moveTo({x:n*m.cos(r),y:n*m.sin(r)})+w.lineTo({x:(n+s)*m.cos(r),y:(n+s)*m.sin(r)})}this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i,a){y.hasValue(a)||(a=t.location),e+=(i-e)*a,t.fixPosition(this.positionToAngle(e),this.pixelRadius),t.zIndex=2,this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e,i,a,n){var r="";if(y.isNumber(t)&&y.isNumber(e)){y.hasValue(i)||(i=this.radius),t=m.max(t,this.axis.start),(e=m.min(e,this.axis.end))<t&&(e=t);var s=F.relativeRadiusToValue(i,this.pixelRadius),o=F.relativeRadiusToValue(a,this.pixelRadius,!0),l=this.positionToAngle(t),h=this.positionToAngle(e)-l;r=w.arc(l,h,s,o,s,n)}return r},e.prototype.createGrid=function(){return new dt},e.prototype.createFill=function(t){return new ut(t)},e.prototype.createLabel=function(){return new pt.a},e.prototype.pointToPosition=function(t){var e=m.fitAngleToRange(m.getAngle(t),this.startAngle,this.endAngle);return this.coordinateToPosition((e-this.startAngle)/360*this.axisLength)},e}(lt.a);c.b.registeredClasses.AxisRendererCircular=yt;var gt=i("Vk33"),mt=function(t){function e(){var e=t.call(this)||this;return e._chart=new k.d,e.pixelRadiusReal=0,e.className="AxisRendererRadial",e.isMeasured=!1,e.startAngle=-90,e.endAngle=270,e.minGridDistance=30,e.gridType="circles",e.axisAngle=-90,e.isMeasured=!1,e.layout="none",e.radius=Object(Y.c)(100),e.line.strokeOpacity=0,e.labels.template.horizontalCenter="middle",e._disposers.push(e._chart),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.pixelRadius-this.pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return F.relativeRadiusToValue(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!1,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return F.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=m.fitToRange(this.positionToCoordinate(t),0,1/0);return{x:e*m.cos(this.axisAngle),y:e*m.sin(this.axisAngle)}},e.prototype.updateAxisLine=function(){this.line.path=w.moveTo({x:this.pixelInnerRadius*m.cos(this.axisAngle),y:this.pixelInnerRadius*m.sin(this.axisAngle)})+w.lineTo({x:this.pixelRadius*m.cos(this.axisAngle),y:this.pixelRadius*m.sin(this.axisAngle)});var t=this.axis.title;t.valign="none",t.horizontalCenter="middle",t.verticalCenter="bottom",t.y=-this.axisLength/2;var e=90;this.opposite?this.inside||(e=-90):this.inside&&(e=-90),t.rotation=e},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a,n=this.positionToPoint(e),r=m.getDistance(n),s=this.startAngle,o=this.endAngle;if(y.isNumber(r)&&t.element){var l=this.chart,h=l.xAxes.getIndex(0),u=l.dataItems.length,c=l.series.getIndex(0);if("polygons"==this.gridType&&u>0&&c&&h&&h instanceof T){var d=h.renderer.grid.template.location,p=h.getAngle(c.dataItems.getIndex(0),"categoryX",d);a=w.moveTo({x:r*m.cos(p),y:r*m.sin(p)});for(var g=l.dataItems.length,f=1;f<g;f++)p=h.getAngle(c.dataItems.getIndex(f),"categoryX",d),a+=w.lineTo({x:r*m.cos(p),y:r*m.sin(p)});p=h.getAngle(c.dataItems.getIndex(g-1),"categoryX",h.renderer.cellEndLocation),a+=w.lineTo({x:r*m.cos(p),y:r*m.sin(p)})}else a=w.moveTo({x:r*m.cos(s),y:r*m.sin(s)})+w.arcTo(s,o-s,r,r);t.path=a}this.toggleVisibility(t,e,0,1)},e.prototype.updateLabelElement=function(t,e,i,a){y.hasValue(a)||(a=t.location),e+=(i-e)*a;var n=this.positionToPoint(e);this.positionItem(t,n),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBaseGridElement=function(){},e.prototype.fitsToBounds=function(t){return!0},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisAngle",{get:function(){return this.getPropertyValue("axisAngle")},set:function(t){this.setPropertyValue("axisAngle",m.normalizeAngle(t)),this.invalidateAxisItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridType",{get:function(){return this.chart.xAxes.getIndex(0)instanceof T?this.getPropertyValue("gridType"):"circles"},set:function(t){this.setPropertyValue("gridType",t,!0)},enumerable:!0,configurable:!0}),e.prototype.getPositionRangePath=function(t,e){var i,a=this.pixelInnerRadius,n=this.axisLength+a,r=m.fitToRange(this.positionToCoordinate(t),a,n),s=m.fitToRange(this.positionToCoordinate(e),a,n),o=this.startAngle,l=this.endAngle-o,h=this.chart,u=h.xAxes.getIndex(0),c=h.dataItems.length,d=h.series.getIndex(0);if("polygons"==this.gridType&&c>0&&d&&u&&u instanceof T){var p=u.renderer.grid.template.location,y=u.getAngle(d.dataItems.getIndex(0),"categoryX",p);i=w.moveTo({x:s*m.cos(y),y:s*m.sin(y)});for(var g=h.dataItems.length,f=1;f<g;f++)y=u.getAngle(d.dataItems.getIndex(f),"categoryX",p),i+=w.lineTo({x:s*m.cos(y),y:s*m.sin(y)});y=u.getAngle(d.dataItems.getIndex(g-1),"categoryX",u.renderer.cellEndLocation),i+=w.lineTo({x:s*m.cos(y),y:s*m.sin(y)}),i+=w.moveTo({x:r*m.cos(y),y:r*m.sin(y)});for(f=g-1;f>=0;f--)y=u.getAngle(d.dataItems.getIndex(f),"categoryX",p),i+=w.lineTo({x:r*m.cos(y),y:r*m.sin(y)})}else i=w.arc(o,l,s,r);return i},e.prototype.updateBreakElement=function(t){var e=t.startLine,i=t.endLine,a=t.fillShape,n=t.startPoint,r=t.endPoint;e.radius=Math.abs(n.y),i.radius=Math.abs(r.y),a.radius=Math.abs(r.y),a.innerRadius=Math.abs(n.y)},e.prototype.createBreakSprites=function(t){t.startLine=new gt.a,t.endLine=new gt.a,t.fillShape=new gt.a},e.prototype.updateTooltip=function(){if(this.axis){var t=this.axisAngle;t<0&&(t+=360);var e="vertical";(t>45&&t<135||t>225&&t<315)&&(e="horizontal"),this.axis.updateTooltip(e,{x:-4e3,y:-4e3,width:8e3,height:8e3})}},e.prototype.updateTickElement=function(t,e){var i=this.positionToPoint(e);if(t.element){var a=m.normalizeAngle(this.axisAngle+90);a/90!=Math.round(a/90)?t.pixelPerfect=!1:t.pixelPerfect=!0;var n=-t.length;t.inside&&(n*=-1),t.path=w.moveTo({x:0,y:0})+w.lineTo({x:n*m.cos(a),y:n*m.sin(a)})}this.positionItem(t,i),this.toggleVisibility(t,e,0,1)},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,a=i.axisFullLength,n=this.pixelInnerRadius;return e=i.renderer.inversed?(i.end-t)*a+n:(t-i.start)*a+n,m.round(e,1)},e.prototype.pointToPosition=function(t){var e=m.getDistance(t)-this.pixelInnerRadius;return this.coordinateToPosition(e)},e}(P.a);c.b.registeredClasses.AxisRendererRadial=mt;var ft=function(t){function e(){var e=t.call(this)||this;return e.className="RadarChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(G),xt=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=yt,e._axisRendererY=mt,e.innerRadiusModifyer=1,e.className="RadarChart",e.startAngle=-90,e.endAngle=270,e.radius=Object(Y.c)(80),e.innerRadius=0;var i=e.plotContainer.createChild(s.a);return i.shouldClone=!1,i.layout="absolute",i.align="center",i.valign="middle",e.seriesContainer.parent=i,e.radarContainer=i,e.bulletsContainer.parent=i,e._cursorContainer=i,e._bulletMask=i.createChild(st.a),e._bulletMask.shouldClone=!1,e._bulletMask.element=e.paper.add("path"),e._bulletMask.opacity=0,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Radar chart"))},e.prototype.processAxis=function(e){t.prototype.processAxis.call(this,e);var i=e.renderer;i.gridContainer.parent=i,i.breakContainer.parent=i,e.parent=this.radarContainer,i.toBack()},e.prototype.handleXAxisRangeChange=function(){t.prototype.handleXAxisRangeChange.call(this),g.each(this.yAxes.iterator(),function(t){t.invalidate()})},e.prototype.handleYAxisRangeChange=function(){t.prototype.handleYAxisRangeChange.call(this),g.each(this.xAxes.iterator(),function(t){t.invalidate()})},e.prototype.createCursor=function(){return new ot},e.prototype.processConfig=function(e){if(e&&(y.hasValue(e.cursor)&&!y.hasValue(e.cursor.type)&&(e.cursor.type="RadarCursor"),y.hasValue(e.series)&&y.isArray(e.series)))for(var i=0,a=e.series.length;i<a;i++)e.series[i].type=e.series[i].type||"RadarSeries";t.prototype.processConfig.call(this,e)},e.prototype.beforeDraw=function(){t.prototype.beforeDraw.call(this);var e=this.plotContainer,i=m.getArcRect(this.startAngle,this.endAngle,1),a={x:0,y:0,width:0,height:0},n=e.innerWidth/i.width,r=e.innerHeight/i.height,s=this.innerRadius;if(s instanceof Y.a){var o=s.value,l=Math.min(n,r);o=Math.max(l*o,l-Math.min(e.innerHeight,e.innerWidth))/l,a=m.getArcRect(this.startAngle,this.endAngle,o),this.innerRadiusModifyer=o/s.value,s=Object(Y.c)(100*o)}i=m.getCommonRectangle([i,a]);var h=Math.min(e.innerWidth/i.width,e.innerHeight/i.height),u=2*F.relativeRadiusToValue(this.radius,h)||0,c=u/2,d=this.startAngle,p=this.endAngle;this._pixelInnerRadius=F.relativeRadiusToValue(s,c),this._bulletMask.path=w.arc(d,p-d,c,this._pixelInnerRadius),g.each(this.xAxes.iterator(),function(t){t.renderer.useChartAngles&&(t.renderer.startAngle=d,t.renderer.endAngle=p),t.width=u,t.height=u,t.renderer.pixelRadiusReal=c,t.renderer.innerRadius=s}),g.each(this.yAxes.iterator(),function(t){t.renderer.startAngle=d,t.renderer.endAngle=p,t.width=u,t.height=u,t.renderer.pixelRadiusReal=c,t.renderer.innerRadius=s});var y=this.cursor;y&&(y.width=u,y.height=u,y.startAngle=d,y.endAngle=p),this.radarContainer.definedBBox={x:c*i.x,y:c*i.y,width:c*i.width,height:c*i.height},this.radarContainer.validatePosition()},e.prototype.createSeries=function(){return new rt},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.updateXAxis=function(t){t&&t.processRenderer()},e.prototype.updateYAxis=function(t){t&&t.processRenderer()},e}(q);c.b.registeredClasses.RadarChart=xt;var vt=i("DziZ"),bt=function(t){function e(){var e=t.call(this)||this;e._axis=new k.d,e.className="ClockHand";var i=new W.a;e.fill=i.getFor("alternativeBackground"),e.stroke=e.fill;var a=new st.a;a.radius=5,e.pin=a,e.isMeasured=!1,e.startWidth=5,e.endWidth=1,e.width=Object(Y.c)(100),e.height=Object(Y.c)(100),e.radius=Object(Y.c)(100),e.innerRadius=Object(Y.c)(0);var n=new vt.a;return e.hand=n,e._disposers.push(e._axis),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.hand;e.width=this.pixelWidth;var i=Math.max(this.startWidth,this.endWidth);if(e.height=i,e.leftSide=Object(Y.c)(this.startWidth/i*100),e.rightSide=Object(Y.c)(this.endWidth/i*100),this.axis){var a=this.axis.renderer,n=F.relativeRadiusToValue(this.innerRadius,a.pixelRadius),r=F.relativeRadiusToValue(this.radius,a.pixelRadius);e.x=n,e.y=-i/2,e.width=r-n}},Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin&&this.removeDispose(this._pin),t&&(this._pin=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hand",{get:function(){return this._hand},set:function(t){this._hand&&this.removeDispose(this._hand),t&&(this._hand=t,t.parent=this,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startWidth",{get:function(){return this.getPropertyValue("startWidth")},set:function(t){this.setPropertyValue("startWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endWidth",{get:function(){return this.getPropertyValue("endWidth")},set:function(t){this.setPropertyValue("endWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationDirection",{get:function(){return this.getPropertyValue("rotationDirection")},set:function(t){this.setPropertyValue("rotationDirection",t)},enumerable:!0,configurable:!0}),e.prototype.showValue=function(t,e,i){if(this._value=t,void 0!=t&&(y.isNumber(e)||(e=0),this.axis)){var a=this.axis.renderer.positionToAngle(this.axis.anyToPosition(t)),n=this.rotation;"clockWise"==this.rotationDirection&&a<n&&(this.rotation=n-360),"counterClockWise"==this.rotationDirection&&a>n&&(this.rotation=n+360),this.animate({property:"rotation",to:a},e,i)}},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this.showValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this.axis!=t&&this._axis.set(t,new k.c([t.events.on("datavalidated",this.updateValue,this,!1),t.events.on("datarangechanged",this.updateValue,this,!1),t.events.on("dataitemsvalidated",this.updateValue,this,!1),t.events.on("propertychanged",this.invalidate,this,!1)])),t){var e=t.chart;e&&(this.rotation=e.startAngle)}this.parent=t.renderer,this.zIndex=5},enumerable:!0,configurable:!0}),e.prototype.updateValue=function(){this.value=this.value},e.prototype.processConfig=function(e){e&&y.hasValue(e.axis)&&y.isString(e.axis)&&this.map.hasKey(e.axis)&&(e.axis=this.map.getKey(e.axis)),t.prototype.processConfig.call(this,e)},e}(s.a);c.b.registeredClasses.ClockHand=bt;var Pt=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(ft),At=function(t){function e(){var e=t.call(this)||this;return e.className="GaugeChart",e.startAngle=180,e.endAngle=360,e.hands=new o.e(new bt),e.hands.events.on("inserted",e.processHand,e,!1),e._disposers.push(new o.c(e.hands)),e._disposers.push(e.hands.template),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Gauge chart"))},e.prototype.processHand=function(t){var e=t.newValue;e.axis||(e.axis=this.xAxes.getIndex(0))},e}(xt);c.b.registeredClasses.GaugeChart=At;var Ct=i("quKg"),It=i("Puh1"),_t=i("nPzZ"),Dt=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3DDataItem",e.values.depthValue={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"depthValue",{get:function(){return this.values.depthValue.value},set:function(t){this.setValue("depthValue",t)},enumerable:!0,configurable:!0}),e}(It.b),Tt=function(t){function e(){var e=t.call(this)||this;return e.className="PieSeries3D",e.applyTheme(),e}return n.c(e,t),e.prototype.createDataItem=function(){return new Dt},e.prototype.createSlice=function(){return new _t.a},e.prototype.validateDataElement=function(e){var i=e.slice,a=this.depth;y.isNumber(a)||(a=this.chart.depth);var n=e.values.depthValue.percent;y.isNumber(n)||(n=100),i.depth=n*a/100;var r=this.angle;y.isNumber(r)||(r=this.chart.angle),i.angle=r,t.prototype.validateDataElement.call(this,e)},e.prototype.validate=function(){t.prototype.validate.call(this);for(var e=this._workingStartIndex;e<this._workingEndIndex;e++){var i=this.dataItems.getIndex(e).slice,a=i.startAngle;a>=-90&&a<90?i.toFront():a>=90&&i.toBack()}},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice;e.y=e.pixelY-i.depth},e}(It.a);c.b.registeredClasses.PieSeries3D=Tt,c.b.registeredClasses.PieSeries3DDataItem=Dt;var Vt=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3DDataItem",e.applyTheme(),e}return n.c(e,t),e}(Ct.b),St=function(t){function e(){var e=t.call(this)||this;return e.className="PieChart3D",e.depth=20,e.angle=10,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){t=m.fitToRange(t,0,90),this.setPropertyValue("angle",t)&&this.invalidateDataUsers()},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new Tt},e}(Ct.a);c.b.registeredClasses.PieChart3D=St;var kt=i("DXFp"),Ft=function(t){function e(){var e=t.call(this)||this;return e.className="SlicedChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(kt.b),Ot=function(t){function e(){var e=t.call(this)||this;return e.className="SlicedChart",e.seriesContainer.layout="horizontal",e.padding(15,15,15,15),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Sliced chart"))},e.prototype.validate=function(){t.prototype.validate.call(this)},e}(kt.a);c.b.registeredClasses.SlicedChart=Ot,c.b.registeredClasses.SlicedChartDataItem=Ft;var wt=i("VIOb"),Rt=i("wUYf"),Lt=i("MlsF"),Xt=i("3Cxr"),Yt=i("CnhP"),jt=i("uWmK"),Nt=function(t){function e(){var e=t.call(this)||this;return e.legendSettings=new jt.c,e.className="FlowDiagramNode",e.isMeasured=!1,new W.a,e.draggable=!0,e.inert=!0,e.setStateOnChildren=!0,e.events.on("positionchanged",e.invalidateLinks,e,!1),e.events.on("sizechanged",e.invalidateLinks,e,!1),e}return n.c(e,t),e.prototype.handleHit=function(t){this.isHidden||this.isHiding?this.show():this.hide()},e.prototype.show=function(e){var i=t.prototype.show.call(this,e);return this.outgoingDataItems.each(function(t){(!t.toNode||t.toNode&&!t.toNode.isHidden)&&t.setWorkingValue("value",t.getValue("value"),e)}),this.incomingDataItems.each(function(t){(!t.fromNode||t.fromNode&&!t.fromNode.isHidden)&&t.setWorkingValue("value",t.getValue("value"),e)}),i},e.prototype.hide=function(e){var i=t.prototype.hide.call(this,e);return this.outgoingDataItems.each(function(t){t.setWorkingValue("value",0,e)}),this.incomingDataItems.each(function(t){t.setWorkingValue("value",0,e)}),i},e.prototype.validate=function(){this.isDisposed()||(t.prototype.validate.call(this),this.invalidateLinks())},e.prototype.invalidateLinks=function(){var t=this;this.outgoingDataItems.each(function(e){var i=e.link;if("fromNode"==i.colorMode&&(i.fill=i.dataItem.fromNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var a=i.gradient.stops.getIndex(0);a&&(a.color=t.color,i.gradient.validate())}}),this.incomingDataItems.each(function(e){var i=e.link;if("toNode"==i.colorMode&&(i.fill=i.dataItem.toNode.color),"gradient"==i.colorMode){i.fill=i.gradient,i.stroke=i.gradient;var a=i.gradient.stops.getIndex(1);a&&(a.color=t.color,i.gradient.validate())}})},Object.defineProperty(e.prototype,"incomingDataItems",{get:function(){var t=this;if(!this._incomingDataItems){var e=new o.b;e.events.on("inserted",function(){"name"==t.chart.sortBy?t._incomingSorted=g.sort(t._incomingDataItems.iterator(),function(t,e){return Rt.order(t.fromName,e.fromName)}):"value"==t.chart.sortBy?t._incomingSorted=g.sort(t._incomingDataItems.iterator(),function(t,e){return Lt.b(Xt.order(t.value,e.value))}):t._incomingSorted=t._incomingDataItems.iterator()},void 0,!1),this._incomingDataItems=e}return this._incomingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outgoingDataItems",{get:function(){var t=this;if(!this._outgoingDataItems){var e=new o.b;e.events.on("inserted",function(){"name"==t.chart.sortBy?t._outgoingSorted=g.sort(t._outgoingDataItems.iterator(),function(t,e){return Rt.order(t.fromName,e.fromName)}):"value"==t.chart.sortBy?t._outgoingSorted=g.sort(t._outgoingDataItems.iterator(),function(t,e){return Lt.b(Xt.order(t.value,e.value))}):t._outgoingSorted=t._outgoingDataItems.iterator()},void 0,!1),this._outgoingDataItems=e}return this._outgoingDataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(t){this.setPropertyValue("name",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"total",{get:function(){return this.getPropertyValue("total")},set:function(t){this.setPropertyValue("total",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalIncoming",{get:function(){return this.getPropertyValue("totalIncoming")},set:function(t){this.setPropertyValue("totalIncoming",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalOutgoing",{get:function(){return this.getPropertyValue("totalOutgoing")},set:function(t){this.setPropertyValue("totalOutgoing",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.getPropertyValue("color")},set:function(t){this.setColorProperty("color",t),this._background&&(this._background.fill=t),this.fill=t},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a=t.createChild(Yt.a);a.shouldClone=!1,f.copyProperties(this,a,S.b),a.stroke=this.fill,a.copyFrom(this),a.padding(0,0,0,0),a.width=e,a.height=i;var n=t.dataItem;n.color=a.fill,n.colorOrig=a.fill},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e}(s.a);c.b.registeredClasses.FlowDiagramNode=Nt;var Mt=i("sxA1"),Wt=i("jfaP"),Bt=function(t){function e(){var e=t.call(this)||this;e.className="FlowDiagramLink";var i=new W.a;return e.maskBullets=!1,e.colorMode="fromNode",e.layout="none",e.isMeasured=!1,e.startAngle=0,e.endAngle=0,e.strokeOpacity=0,e.verticalCenter="none",e.horizontalCenter="none",e.tooltipText="{fromName}→{toName}:{value.value}",e.tooltipLocation=.5,e.link=e.createChild(S.a),e.link.shouldClone=!1,e.link.setElement(e.paper.add("path")),e.link.isMeasured=!1,e.fillOpacity=.2,e.fill=i.getFor("alternativeBackground"),e.applyTheme(),e}return n.c(e,t),e.prototype.positionBullets=function(){var t=this;g.each(this.bullets.iterator(),function(e){e.parent=t.bulletsContainer,e.maxWidth=t.maxWidth,e.maxHeight=t.maxHeight,t.positionBullet(e)})},Object.defineProperty(e.prototype,"bulletsContainer",{get:function(){if(!this._bulletsContainer){var t=this.createChild(s.a);t.shouldClone=!1,t.layout="none",this._bulletsContainer=t}return this._bulletsContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bulletsMask",{get:function(){if(!this._bulletsMask){var t=this.createChild(S.a);t.shouldClone=!1,t.setElement(this.paper.add("path")),t.isMeasured=!1,this._bulletsMask=t}return this._bulletsMask},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){var e=t.locationX;y.isNumber(e)||(e=t.locationY),y.isNumber(e)||(e=.5);var i=this.middleLine.positionToPoint(e);t.moveTo(i);var a,n=t.propertyFields.rotation;t.dataItem&&(a=t.dataItem.dataContext[n]);y.isNumber(a)||(a=i.angle),t.rotation=a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorMode",{get:function(){return this.getPropertyValue("colorMode")},set:function(t){if("gradient"==t){var e=this.fill;this.gradient.stops.clear(),e instanceof M.a&&(this.gradient.addColor(e),this.gradient.addColor(e)),this.fill=this.gradient,this.stroke=this.gradient}this.setPropertyValue("colorMode",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){t.prototype.setFill.call(this,e);var i=this._gradient;i&&e instanceof M.a&&(i.stops.clear(),i.addColor(e),i.addColor(e))},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bullets",{get:function(){var t=this;return this._bullets||(this._bullets=new o.e(new et.a),this._disposers.push(new o.c(this._bullets)),this._disposers.push(this._bullets.template),this._bullets.events.on("inserted",function(e){e.newValue.events.on("propertychanged",function(e){"locationX"!=e.property&&"locationY"!=e.property||t.positionBullet(e.target)},void 0,!1)},void 0,!1)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.bullets.copyFrom(e.bullets);var i=this.middleLine;i&&(i instanceof Q.a&&e.middleLine instanceof Q.a&&i.copyFrom(e.middleLine),i instanceof Wt.a&&e.middleLine instanceof Wt.a&&i.copyFrom(e.middleLine)),this.link.copyFrom(e.link)},e.prototype.getTooltipX=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).x},e.prototype.getTooltipY=function(){if(this.middleLine)return this.middleLine.positionToPoint(this.tooltipLocation).y},Object.defineProperty(e.prototype,"gradient",{get:function(){return this._gradient||(this._gradient=new Mt.a),this._gradient},enumerable:!0,configurable:!0}),e}(s.a);c.b.registeredClasses.FlowDiagramLink=Bt;var Et=i("/e9j"),Ht=i("DHte"),zt=function(t){function e(){var e=t.call(this)||this;return e.className="FlowDiagramDataItem",e.values.value={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"fromName",{get:function(){return this.properties.fromName},set:function(t){this.setProperty("fromName",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"toName",{get:function(){return this.properties.toName},set:function(t){this.setProperty("toName",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",Object(M.e)(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"link",{get:function(){var t=this;if(!this._link){var e=this.component.links.create();this._link=e,this.addSprite(e),this._disposers.push(new k.b(function(){t.component&&t.component.links.removeValue(e)}))}return this._link},enumerable:!0,configurable:!0}),e}(wt.b),Ut=function(t){function e(){var e=t.call(this)||this;e.colors=new Ht.a,e.className="FlowDiagram",e.nodePadding=20,e.sortBy="none",e.sequencedInterpolation=!0,e.colors.step=2,e.minNodeSize=.02;var i=e.chartContainer.createChild(s.a);i.shouldClone=!1,i.layout="none",i.isMeasured=!1,e.linksContainer=i;var a=e.chartContainer.createChild(s.a);return a.shouldClone=!1,a.layout="none",a.isMeasured=!1,e.nodesContainer=a,e.dataItem=e.createDataItem(),e.dataItem.component=e,e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.dataItem.dispose()},e.prototype.validateData=function(){var e=this;0==this._parseDataFrom&&this.nodes.clear(),this.sortNodes(),this.colors.reset(),t.prototype.validateData.call(this);var i,a,n=0,r=0;g.each(this.dataItems.iterator(),function(t){var s=t.fromName;s&&((o=e.nodes.getKey(s))||((o=e.nodes.create(s)).name=s,o.chart=e,o.dataItem=t),t.fromNode=o,t.fromNode.outgoingDataItems.push(t));var o,l=t.toName;l&&((o=e.nodes.getKey(l))||((o=e.nodes.create(l)).name=l,o.chart=e,o.dataItem=t),t.toNode=o,t.toNode.incomingDataItems.push(t));if(!t.fromNode){var h=new Et.a;h.opacities=[0,1],t.link.strokeModifier=h}if(!t.toNode){var u=new Et.a;u.opacities=[1,0],t.link.strokeModifier=u}var c=t.value;y.isNumber(c)&&(n+=c,r++,(i>c||!y.isNumber(i))&&(i=c),(a<c||!y.isNumber(a))&&(a=c))});var s="value";this.dataItem.setCalculatedValue(s,a,"high"),this.dataItem.setCalculatedValue(s,i,"low"),this.dataItem.setCalculatedValue(s,n,"sum"),this.dataItem.setCalculatedValue(s,n/r,"average"),this.dataItem.setCalculatedValue(s,r,"count"),g.each(this.nodes.iterator(),function(t){var i=t[1];i.fill instanceof M.a&&(i.color=i.fill),void 0==i.color&&(i.color=e.colors.next()),void 0!=i.dataItem.color&&(i.color=i.dataItem.color),i.dataItem.visible||i.hide(0),e.getNodeValue(i)}),this.sortNodes(),this.feedLegend()},e.prototype.handleDataItemWorkingValueChange=function(t,e){this.invalidate()},e.prototype.sortNodes=function(){"name"==this.sortBy?this._sorted=this.nodes.sortedIterator():"value"==this.sortBy?this._sorted=g.sort(this.nodes.iterator(),function(t,e){return Lt.b(Xt.order(t[1].total,e[1].total))}):this._sorted=this.nodes.iterator()},e.prototype.getNodeValue=function(t){var e=0,i=0;g.each(t.incomingDataItems.iterator(),function(t){var i=t.getWorkingValue("value");y.isNumber(i)&&(e+=i)}),g.each(t.outgoingDataItems.iterator(),function(t){var e=t.getWorkingValue("value");y.isNumber(e)&&(i+=e)}),t.total=e+i,t.totalIncoming=e,t.totalOutgoing=i},e.prototype.changeSorting=function(){this.sortNodes()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Flow diagram"))},e.prototype.createDataItem=function(){return new zt},Object.defineProperty(e.prototype,"nodePadding",{get:function(){return this.getPropertyValue("nodePadding")},set:function(t){this.setPropertyValue("nodePadding",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortBy",{get:function(){return this.getPropertyValue("sortBy")},set:function(t){this.setPropertyValue("sortBy",t),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minNodeSize",{get:function(){return this.getPropertyValue("minNodeSize")},set:function(t){this.setPropertyValue("minNodeSize",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nodes",{get:function(){if(!this._nodes){var t=this.createNode();t.events.on("hit",function(t){t.target.handleHit(t)}),this._nodes=new h.c(t),this._disposers.push(new h.b(this._nodes))}return this._nodes},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new Nt;return this._disposers.push(t),t},Object.defineProperty(e.prototype,"links",{get:function(){return this._links||(this._links=new o.e(this.createLink()),this._disposers.push(new o.c(this._links))),this._links},enumerable:!0,configurable:!0}),e.prototype.createLink=function(){var t=new Bt;return this._disposers.push(t),t},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];this.nodes.each(function(t,i){e.push(i)}),t.data=e,t.dataFields.name="name"}},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.nodes.clear()},e}(wt.a);c.b.registeredClasses.FlowDiagram=Ut;var Kt=function(t){function e(){var e=t.call(this)||this;e.className="LabelBullet";var i=e.createChild($.a);return i.shouldClone=!1,i.verticalCenter="middle",i.horizontalCenter="middle",i.truncate=!0,i.hideOversized=!1,i.maxWidth=500,i.maxHeight=500,i.stroke=Object(M.c)(),i.strokeOpacity=0,i.fill=(new W.a).getFor("text"),e.events.on("maxsizechanged",e.handleMaxSize,e,!1),e.label=i,e.applyTheme(),e}return n.c(e,t),e.prototype.handleMaxSize=function(){this.label.maxWidth=this.maxWidth,this.label.maxHeight=this.maxHeight},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label)},e}(et.a);c.b.registeredClasses.LabelBullet=Kt;var Gt=function(t){function e(){var e=t.call(this)||this;e.nextInCoord=0,e.nextOutCoord=0,e.className="SankeyNode",e.width=10,e.height=10;var i=e.createChild(Kt);i.shouldClone=!1,i.locationX=1,i.locationY=.5,i.label.text="{name}",i.width=150,i.height=150,i.label.horizontalCenter="left",i.label.padding(0,5,0,5),e.nameLabel=i;var a=e.createChild(Kt);a.shouldClone=!1,a.label.hideOversized=!1,a.locationX=.5,a.locationY=.5,a.width=150,a.height=150,a.label.horizontalCenter="middle",e.valueLabel=a;var n=e.hiddenState;return n.properties.fill=(new W.a).getFor("disabledBackground"),n.properties.opacity=.5,n.properties.visible=!0,e.background.hiddenState.copyFrom(n),e}return n.c(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this),this.nextInCoord=0,this.nextOutCoord=0;var i=this.chart;if(i){var a=i.orientation;this._incomingSorted&&g.each(this._incomingSorted,function(t){var n=t.link,r=t.getWorkingValue("value");if(y.isNumber(r)){n.parent=e.chart.linksContainer;var s=void 0,o=void 0,l=void 0;if("horizontal"==a?(s=e.pixelX+e.dx,o=e.nextInCoord+e.pixelY+e.dy,l=0):(o=e.pixelY+e.dy,s=e.nextInCoord+e.pixelX+e.dx,l=90),n.endX=s,n.endY=o,n.startAngle=l,n.endAngle=l,n.gradient.rotation=l,n.linkWidth=r*i.valueHeight,!t.fromNode){"horizontal"==a?(n.maxWidth=200,n.startX=e.pixelX+e.dx-n.maxWidth,n.startY=n.endY):(n.maxHeight=200,n.startX=n.endX,n.startY=e.pixelY+e.dy-n.maxHeight),F.used(n.gradient),n.fill=t.toNode.color;var h=n.gradient.stops.getIndex(0);h&&("gradient"==n.colorMode&&(h.color=e.color),h.opacity=0,n.fill=n.gradient,n.stroke=n.gradient,n.gradient.validate())}e.nextInCoord+=n.linkWidth}}),this._outgoingSorted&&g.each(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var n=t.getWorkingValue("value");if(y.isNumber(n)){var r=void 0,s=void 0,o=void 0;if("horizontal"==a?(o=0,r=e.pixelX+e.pixelWidth+e.dx-1,s=e.nextOutCoord+e.pixelY+e.dy):(o=90,r=e.nextOutCoord+e.pixelX+e.dx,s=e.pixelY+e.pixelHeight+e.dy-1),i.startX=r,i.startY=s,i.startAngle=o,i.endAngle=o,i.gradient.rotation=o,i.linkWidth=n*e.chart.valueHeight,!t.toNode){"horizontal"==a?(i.maxWidth=200,i.endX=e.pixelX+i.maxWidth+e.dx,i.endY=i.startY):(i.maxHeight=200,i.endX=i.startX,i.endY=e.pixelY+i.maxHeight+e.dy),i.opacity=e.opacity;var l=i.gradient.stops.getIndex(1);l&&("gradient"==i.colorMode&&(l.color=e.color),l.opacity=0,i.fill=i.gradient,i.stroke=i.gradient,i.gradient.validate())}e.nextOutCoord+=i.linkWidth}})}this.positionBullet(this.nameLabel),this.positionBullet(this.valueLabel)},e.prototype.positionBullet=function(t){t&&(t.x=this.measuredWidth*t.locationX,t.y=this.measuredHeight*t.locationY)},Object.defineProperty(e.prototype,"level",{get:function(){return this.getPropertyValue("level")},set:function(t){this.setPropertyValue("level",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.nameLabel.copyFrom(e.nameLabel),this.valueLabel.copyFrom(e.valueLabel)},e}(Nt);c.b.registeredClasses.SankeyNode=Gt;var qt=i("xgTw"),Zt=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyLink",new W.a,e.tension=.8,e.controlPointDistance=.2,e.startAngle=0,e.endAngle=0,e.linkWidth=0,e.startX=0,e.endX=0,e.startY=0,e.endY=0,e.middleLine=e.createChild(qt.a),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){if(t.prototype.validate.call(this),!this.isTemplate){var e=this.startX,i=this.startY,a=this.endX,n=this.endY;y.isNumber(a)||(a=e),y.isNumber(n)||(n=i);var r=this.startAngle,s=this.endAngle,o=this.linkWidth,l="",h=e,u=i,c=a,d=n,p=e+o*m.sin(r),g=a+o*m.sin(s),f=i+o*m.cos(r),x=n+o*m.cos(s),v=e+o/2*m.sin(r),b=a+o/2*m.sin(s),P=i+o/2*m.cos(r),A=n+o/2*m.cos(s);this.zIndex=this.zIndex||this.dataItem.index;var C=this.tension+(1-this.tension)*m.sin(r),I=this.tension+(1-this.tension)*m.cos(r);if(this.middleLine.tensionX=C,this.middleLine.tensionY=I,y.isNumber(o)&&y.isNumber(e)&&y.isNumber(a)&&y.isNumber(i)&&y.isNumber(n)){m.round(h,3)==m.round(c,3)&&(c+=.01),m.round(u,3)==m.round(d,3)&&(d+=.01),m.round(p,3)==m.round(g,3)&&(g+=.01),m.round(f,3)==m.round(x,3)&&(x+=.01);var _=Math.min(p,g,h,c),D=Math.min(f,x,u,d),T=Math.max(p,g,h,c),V=Math.max(f,x,u,d);this._bbox={x:_,y:D,width:T-_,height:V-D};var S=this.controlPointDistance,k=h+(c-h)*S*m.cos(r),F=u+(d-u)*S*m.sin(r),O=c-(c-h)*S*m.cos(s),R=d-(d-u)*S*m.sin(s),L=v+(b-v)*S*m.cos(r),X=P+(A-P)*S*m.sin(r),Y=b-(b-v)*S*m.cos(s),j=A-(A-P)*S*m.sin(s),N=m.getAngle({x:k,y:F},{x:O,y:R}),M=(o/m.cos(N)-o)/m.tan(N)*m.cos(r),W=(o/m.sin(N)-o)*m.tan(N)*m.sin(r),B=-M/2+p+(g-p)*S*m.cos(r),E=-W/2+f+(x-f)*S*m.sin(r),H=-M/2+g-(g-p)*S*m.cos(s),z=-W/2+x-(x-f)*S*m.sin(s);this.middleLine.segments=[[{x:v,y:P},{x:L,y:X},{x:Y,y:j},{x:b,y:A}]],k+=M/2,F+=W/2,O+=M/2,R+=W/2,l+=w.moveTo({x:h,y:u}),l+=new Z.b(C,I).smooth([{x:h,y:u},{x:k,y:F},{x:O,y:R},{x:c,y:d}]),l+=w.lineTo({x:g,y:x}),l+=new Z.b(C,I).smooth([{x:g,y:x},{x:H,y:z},{x:B,y:E},{x:p,y:f}]),l+=w.closePath()}this.link.path=l,this.maskBullets&&(this.bulletsMask.path=l,this.bulletsContainer.mask=this.bulletsMask),this.positionBullets()}},Object.defineProperty(e.prototype,"startX",{get:function(){return this.getPropertyValue("startX")},set:function(t){this.setPropertyValue("startX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endX",{get:function(){return this.getPropertyValue("endX")},set:function(t){this.setPropertyValue("endX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startY",{get:function(){return this.getPropertyValue("startY")},set:function(t){this.setPropertyValue("startY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endY",{get:function(){return this.getPropertyValue("endY")},set:function(t){this.setPropertyValue("endY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkWidth",{get:function(){return this.getPropertyValue("linkWidth")},set:function(t){this.setPropertyValue("linkWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t,!0)},enumerable:!0,configurable:!0}),e}(Bt);c.b.registeredClasses.SankeyLink=Zt;var Jt=i("1yyj"),Qt=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyDiagramDataItem",e.applyTheme(),e}return n.c(e,t),e}(zt),$t=function(t){function e(){var e=t.call(this)||this;return e.className="SankeyDiagram",e.orientation="horizontal",e.nodeAlign="middle",e.nodesContainer.width=Object(Y.c)(100),e.nodesContainer.height=Object(Y.c)(100),e.linksContainer.width=Object(Y.c)(100),e.linksContainer.height=Object(Y.c)(100),e.applyTheme(),e}return n.c(e,t),e.prototype.validateData=function(){var e=this;t.prototype.validateData.call(this),this._levelCount=0,this.nodes.each(function(t,i){i.level=e.getNodeLevel(i,0),e._levelCount=m.max(e._levelCount,i.level)})},e.prototype.getNodeLevel=function(t,e){var i=this,a=[e];return g.each(t.incomingDataItems.iterator(),function(t){t.fromNode&&a.push(i.getNodeLevel(t.fromNode,e+1))}),Math.max.apply(Math,n.f(a))},e.prototype.calculateValueHeight=function(){var t=this;this._levelSum={},this._levelNodesCount={},this.maxSum=0;var e,i,a=this.dataItem.values.value.sum;g.each(this._sorted,function(e){var i=e[1];t.getNodeValue(i)}),this.nodes.each(function(e,i){var n=i.level,r=Math.max(i.totalIncoming,i.totalOutgoing);r/a<t.minNodeSize&&(r=a*t.minNodeSize),y.isNumber(t._levelSum[n])?t._levelSum[n]+=r:t._levelSum[n]=r,y.isNumber(t._levelNodesCount[n])?t._levelNodesCount[n]++:t._levelNodesCount[n]=1}),e="horizontal"==this.orientation?this.chartContainer.maxHeight-1:this.chartContainer.maxWidth-1,f.each(this._levelSum,function(a,n){var r=n;n=n*e/(e-(t._levelNodesCount[a]-1)*t.nodePadding),t.maxSum<n&&(t.maxSum=r,i=y.toNumber(a))}),this._maxSumLevel=i;var n=this._levelNodesCount[this._maxSumLevel],r=(e-(n-1)*this.nodePadding)/this.maxSum;if(y.isNumber(this.valueHeight)){var s=void 0;try{s=this._heightAnimation.animationOptions[0].to}catch(t){}if(s!=r){var o=this.interpolationDuration;try{o=this.nodes.template.states.getKey("active").transitionDuration}catch(t){}this._heightAnimation=new Jt.a(this,{property:"valueHeight",from:this.valueHeight,to:r},o).start(),this._disposers.push(this._heightAnimation)}}else this.valueHeight=r},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this.calculateValueHeight();var i=this.nodesContainer,a={},n=this._levelNodesCount[this._maxSumLevel],r=this.dataItem.values.value.sum;g.each(this._sorted,function(t){var s,o,l,h=t[1],u=h.level,c=0,d=e._levelNodesCount[u];switch(e.nodeAlign){case"bottom":c=(e.maxSum-e._levelSum[u])*e.valueHeight-(d-n)*e.nodePadding;break;case"middle":c=(e.maxSum-e._levelSum[u])*e.valueHeight/2-(d-n)*e.nodePadding/2}h.parent=i;var p=Math.max(h.totalIncoming,h.totalOutgoing);if(p/r<e.minNodeSize&&(p=r*e.minNodeSize),"horizontal"==e.orientation){o=(s=(e.innerWidth-h.pixelWidth)/e._levelCount)*h.level,l=a[u]||c;var y=p*e.valueHeight;h.height=y,h.minX=o,h.maxX=o,a[u]=l+y+e.nodePadding}else{s=(e.innerHeight-h.pixelHeight)/e._levelCount,o=a[u]||c,l=s*h.level;var g=p*e.valueHeight;h.width=g,h.minY=l,h.maxY=l,a[u]=o+g+e.nodePadding}h.x=o,h.y=l})},e.prototype.showReal=function(e){var i=this;if(this.interpolationDuration>0){var a=this.nodesContainer,n=0;g.each(this.links.iterator(),function(t){t.hide(0)}),g.each(this._sorted,function(t){var e,r=t[1];"horizontal"==i.orientation?(r.dx=-(a.pixelWidth-r.pixelWidth)/i._levelCount,e="dx"):(r.dy=-(a.pixelHeight-r.pixelHeight)/i._levelCount,e="dy");var s=0,o=i.interpolationDuration;i.sequencedInterpolation&&(s=i.sequencedInterpolationDelay*n+o*n/g.length(i.nodes.iterator())),r.opacity=0,r.invalidateLinks(),r.animate([{property:"opacity",from:0,to:1},{property:e,to:0}],i.interpolationDuration,i.interpolationEasing).delay(s),g.each(r.outgoingDataItems.iterator(),function(t){var e=t.link.show(i.interpolationDuration);e&&!e.isFinished()&&e.delay(s)}),g.each(r.incomingDataItems.iterator(),function(t){if(!t.fromNode){var e=t.link.show(i.interpolationDuration);e&&!e.isFinished()&&e.delay(s)}}),n++})}return t.prototype.showReal.call(this)},e.prototype.changeSorting=function(){var t=this;this.sortNodes();var e={};g.each(this._sorted,function(i){var a,n,r=i[1],s=r.level,o=(t.maxSum-t._levelSum[s])*t.valueHeight/2;"horizontal"==t.orientation?(a="y",n=r.pixelHeight):(a="x",n=r.pixelWidth),r.animate({property:a,to:e[s]||o},t.interpolationDuration,t.interpolationEasing),e[s]=(e[s]||o)+n+t.nodePadding,r.invalidateLinks()})},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Sankey diagram"))},e.prototype.createDataItem=function(){return new Qt},Object.defineProperty(e.prototype,"nodeAlign",{get:function(){return this.getPropertyValue("nodeAlign")},set:function(t){this.setPropertyValue("nodeAlign",t),this.changeSorting()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.nodes.template.nameLabel;"vertical"==t?(this.nodes.template.width=void 0,e.label.horizontalCenter="middle",e.locationX=.5):(this.nodes.template.height=void 0,e.label.horizontalCenter="left",e.locationX=1)},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new Gt;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new Zt;return this._disposers.push(t),t},Object.defineProperty(e.prototype,"valueHeight",{get:function(){return this._valueHeight},set:function(t){t!=this._valueHeight&&(this._valueHeight=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this._sorted=this.nodes.iterator()},e}(Ut);c.b.registeredClasses.SankeyDiagram=$t;var te=i("Inf5"),ee=function(t){function e(){var e=t.call(this)||this;e.className="ChordNode";var i=e.createChild(pt.a);i.location=.5,i.radius=5,i.text="{name}",i.zIndex=1,i.shouldClone=!1,e.label=i,e.layout="none",e.events.on("positionchanged",e.updateRotation,e,!1),e.isMeasured=!1,e.slice=e.createChild(te.a),e.slice.isMeasured=!1;var a=e.hiddenState;return a.properties.fill=(new W.a).getFor("disabledBackground"),a.properties.opacity=.5,a.properties.visible=!0,e.setStateOnChildren=!1,e.slice.hiddenState.properties.visible=!0,e.adapter.add("tooltipX",function(t,e){return e.slice.ix*(e.slice.radius-(e.slice.radius-e.slice.pixelInnerRadius)/2)}),e.adapter.add("tooltipY",function(t,e){return e.slice.iy*(e.slice.radius-(e.slice.radius-e.slice.pixelInnerRadius)/2)}),e}return n.c(e,t),e.prototype.invalidateLinks=function(){var e=this;t.prototype.invalidateLinks.call(this);var i=this.label,a=this.slice,n=this.chart;if(n&&a){var r=this.total,s=a.arc,o=a.startAngle;this.children.each(function(t){if(t instanceof et.a){var e=t.locationX;y.isNumber(e)||(e=.5);var i=t.locationY;y.isNumber(i)||(i=1);var n=o+s*e,r=i*a.radius;t.x=r*m.cos(n),t.y=r*m.sin(n)}});var l=o+s*i.location,h=o+(1-r/this.adjustedTotal)*s*.5;y.isNaN(h)&&(h=o),i.fixPosition(l,a.radius),this.nextAngle=h,this._outgoingSorted&&g.each(this._outgoingSorted,function(t){var i=t.link;i.parent=e.chart.linksContainer;var r=t.getWorkingValue("value");if(y.isNumber(r)){if(n.nonRibbon){var l=i.percentWidth;y.isNumber(l)||(l=5),l/=100,i.startAngle=o+s/2-s/2*l,i.arc=s*l}else i.arc=r*n.valueAngle,i.startAngle=e.nextAngle,e.nextAngle+=i.arc;t.toNode||(i.endAngle=i.startAngle),i.radius=a.pixelInnerRadius}}),this._incomingSorted&&g.each(this._incomingSorted,function(t){var i=t.link;if(i.radius=a.pixelInnerRadius,n.nonRibbon){var r=i.percentWidth;y.isNumber(r)||(r=5),r/=100,i.endAngle=o+s/2-s/2*r,i.arc=s*r}else{i.endAngle=e.nextAngle;var l=t.getWorkingValue("value");y.isNumber(l)&&(i.arc=l*n.valueAngle,e.nextAngle+=i.arc)}t.fromNode||(i.startAngle=i.endAngle)})}},e.prototype.updateRotation=function(){var t=this.slice,e=this.trueStartAngle+t.arc/2,i=t.radius,a=i*m.cos(e),n=i*m.sin(e),r=m.getAngle({x:a+this.pixelX,y:n+this.pixelY});t.startAngle=this.trueStartAngle+(r-e),this.dx=-this.pixelX,this.dy=-this.pixelY},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),this.slice.copyFrom(e.slice)},e}(Nt);c.b.registeredClasses.ChordNode=ee;var ie=function(t){function e(){var e=t.call(this)||this;return e.className="QuadraticCurve",e.element=e.paper.add("path"),e.pixelPerfect=!1,e.fill=Object(M.c)(),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){if(y.isNumber(this.x1+this.x2+this.y1+this.y2+this.cpx+this.cpy)){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2},i={x:this.cpx,y:this.cpy},a=w.moveTo(t)+w.quadraticCurveTo(e,i);this.path=a}},Object.defineProperty(e.prototype,"cpx",{get:function(){return this.getPropertyValue("cpx")},set:function(t){this.setPropertyValue("cpx",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cpy",{get:function(){return this.getPropertyValue("cpy")},set:function(t){this.setPropertyValue("cpy",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.cpx,y:this.cpy},a={x:this.x2,y:this.y2},n=m.getPointOnQuadraticCurve(e,a,i,t),r=m.getPointOnQuadraticCurve(e,a,i,t+.001);return{x:n.x,y:n.y,angle:m.getAngle(n,r)}},e}(Q.a),ae=function(t){function e(){var e=t.call(this)||this;return e.className="ChordLink",e.middleLine=e.createChild(ie),e.middleLine.shouldClone=!1,e.middleLine.strokeOpacity=0,e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){if(t.prototype.validate.call(this),!this.isTemplate){var e=this.startAngle,i=this.endAngle,a=this.arc,n=this.radius,r=this.dataItem.fromNode,s=this.dataItem.toNode,o=0,l=0;r&&(o=r.pixelX+r.dx,l=r.pixelY+r.dy);var h=0,u=0;if(s&&(h=s.pixelX+s.dx,u=s.pixelY+s.dy),n>0){var c=n*m.cos(e)+o,d=n*m.sin(e)+l,p=n*m.cos(i)+h,y=n*m.sin(i)+u,g={x:0,y:0},f=w.moveTo({x:c,y:d});f+=w.arcTo(e,a,n),f+=w.quadraticCurveTo({x:p,y:y},g),f+=w.arcTo(i,a,n),f+=w.quadraticCurveTo({x:c,y:d},g),this.link.path=a>0?f:"",this.maskBullets&&(this.bulletsMask.path=f,this.bulletsContainer.mask=this.bulletsMask);var x=e+a/2,v=i+a/2,b=this.middleLine;b.x1=n*m.cos(x)+o,b.y1=n*m.sin(x)+l,b.x2=n*m.cos(v)+h,b.y2=n*m.sin(v)+u,b.cpx=0,b.cpy=0,b.stroke=this.fill,this.positionBullets()}}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),e}(Bt);c.b.registeredClasses.ChordLink=ae;var ne=function(t){function e(){var e=t.call(this)||this;return e.className="ChordDiagramDataItem",e.applyTheme(),e}return n.c(e,t),e}(zt),re=function(t){function e(){var e=t.call(this)||this;e.valueAngle=0,e.className="ChordDiagram",e.startAngle=-90,e.endAngle=270,e.radius=Object(Y.c)(80),e.innerRadius=-15,e.nodePadding=5;var i=e.chartContainer.createChild(s.a);return i.align="center",i.valign="middle",i.shouldClone=!1,i.layout="absolute",e.chordContainer=i,e.nodesContainer.parent=i,e.linksContainer.parent=i,e.chartContainer.events.on("maxsizechanged",e.invalidate,e,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){var e=this,i=this.chartContainer,a=this.endAngle,n=this.startAngle+this.nodePadding/2,r=m.getArcRect(this.startAngle,this.endAngle,1);r=m.getCommonRectangle([r,{x:0,y:0,width:0,height:0}]);var s=Math.min(i.innerWidth/r.width,i.innerHeight/r.height);y.isNumber(s)||(s=0);var o=F.relativeRadiusToValue(this.radius,s),l=F.relativeRadiusToValue(this.innerRadius,o,!0),h=this.dataItem.values.value.sum,u=0,c=0;g.each(this._sorted,function(t){var i=t[1];e.getNodeValue(i),u++;var a=i.total;i.total/h<e.minNodeSize&&(a=h*e.minNodeSize),c+=a}),this.valueAngle=(a-this.startAngle-this.nodePadding*u)/c,g.each(this._sorted,function(t){var i=t[1],r=i.slice;r.radius=o,r.innerRadius=l;var s,c=i.total;i.total/h<e.minNodeSize&&(c=h*e.minNodeSize),i.adjustedTotal=c,s=e.nonRibbon?(a-e.startAngle)/u-e.nodePadding:e.valueAngle*c,r.arc=s,r.startAngle=n,i.trueStartAngle=n,i.parent=e.nodesContainer,i.validate(),n+=s+e.nodePadding}),this.chordContainer.definedBBox={x:o*r.x,y:o*r.y,width:o*r.width,height:o*r.height},this.chordContainer.invalidateLayout(),t.prototype.validate.call(this)},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Chord diagram"))},e.prototype.createDataItem=function(){return new ne},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonRibbon",{get:function(){return this.getPropertyValue("nonRibbon")},set:function(t){this.setPropertyValue("nonRibbon",t,!0),this.links.template.middleLine.strokeOpacity=1,this.links.template.link.fillOpacity=0},enumerable:!0,configurable:!0}),e.prototype.createNode=function(){var t=new ee;return this._disposers.push(t),t},e.prototype.createLink=function(){var t=new ae;return this._disposers.push(t),t},e}(Ut);c.b.registeredClasses.ChordDiagram=re;var se=function(t){function e(){var e=t.call(this)||this;return e.className="Column",e.width=Object(Y.c)(80),e.height=Object(Y.c)(80),e.applyOnClones=!0,e.strokeOpacity=1,e.layout="none",e.createAssets(),e.events.on("childadded",e.handleKidAdded,e,!1),e}return n.c(e,t),e.prototype.handleKidAdded=function(){"none"==this.layout&&(this.layout="absolute")},e.prototype.createAssets=function(){this.column=this.createChild(Yt.a),this.column.shouldClone=!1,this.column.cornerRadius(0,0,0,0),this._disposers.push(this.column)},e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.column;e&&(e.width=m.min(this.pixelWidth,this.maxWidth),e.height=m.min(this.pixelHeight,this.maxHeight),e.invalid&&e.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column&&this.column.copyFrom(e.column)},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.column?{x:0,y:0,width:this.column.measuredWidth,height:this.column.measuredHeight}:{x:0,y:0,width:m.min(this.pixelWidth,this.maxWidth),height:m.min(this.pixelHeight,this.maxHeight)}},enumerable:!0,configurable:!0}),e}(s.a);c.b.registeredClasses.Column=se;var oe=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.locations.dateX=.5,e.locations.dateY=.5,e.locations.categoryX=.5,e.locations.categoryY=.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"column",{get:function(){return this._column},set:function(t){this.setColumn(t)},enumerable:!0,configurable:!0}),e.prototype.setColumn=function(t){var e=this;if(this._column&&t!=this._column&&O.remove(this.sprites,this._column),this._column=t,t){var i=t.dataItem;i&&i!=this&&(i.column=void 0),this.addSprite(t),this._disposers.push(new k.b(function(){e.component&&e.component.columns.removeValue(t)}))}},Object.defineProperty(e.prototype,"rangesColumns",{get:function(){return this._rangesColumns||(this._rangesColumns=new h.a),this._rangesColumns},enumerable:!0,configurable:!0}),e}(R),le=function(t){function e(){var e=t.call(this)||this;e._startLocation=0,e._endLocation=1,e.className="ColumnSeries",e.width=Object(Y.c)(100),e.height=Object(Y.c)(100),e.strokeOpacity=0,e.fillOpacity=1,e.clustered=!0;var i=e.mainContainer.createChild(s.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e._columnsContainer=i,e.columns.template.pixelPerfect=!1,e.tooltipColorSource=e.columns.template,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Column Series"))},e.prototype.createDataItem=function(){return new oe},e.prototype.validate=function(){var i=this,a=this.chart.series,n=0,r=0;g.each(a.iterator(),function(t){t instanceof e&&i.baseAxis==t.baseAxis&&((!t.stacked&&t.clustered||0===n)&&n++,t==i&&(r=n-1))});var s=this.baseAxis.renderer,o=s.cellStartLocation,l=s.cellEndLocation;this._startLocation=o+r/n*(l-o),this._endLocation=o+(r+1)/n*(l-o),t.prototype.validate.call(this);for(var h=0;h<this.startIndex;h++){var u=this.dataItems.getIndex(h);this.disableUnusedColumns(u)}for(h=this.dataItems.length-1;h>this.endIndex;h--){u=this.dataItems.getIndex(h);this.disableUnusedColumns(u)}},e.prototype.validateDataElement=function(e){this.validateDataElementReal(e),t.prototype.validateDataElement.call(this,e)},e.prototype.getStartLocation=function(t){var e=this._startLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xOpenField]-.5:e+=t.locations[this.yOpenField]-.5,e},e.prototype.handleDataItemWorkingValueChange=function(e,i){this.simplifiedProcessing?this.validateDataElement(e):t.prototype.handleDataItemWorkingValueChange.call(this,e,i)},e.prototype.getEndLocation=function(t){var e=this._endLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xField]-.5:e+=t.locations[this.yField]-.5,e},e.prototype.validateDataElementReal=function(t){var e,i,a,n,r=this,s=this.getStartLocation(t),o=this.getEndLocation(t),h=this.xField,u=this.xOpenField,c=this.yField,d=this.yOpenField,p=this.columns.template,x=p.percentWidth,v=p.percentHeight,b=p.pixelWidth,P=p.pixelHeight,A=p.maxWidth,C=p.maxHeight,I=p.pixelPaddingLeft,_=p.pixelPaddingRight,D=p.pixelPaddingTop,V=p.pixelPaddingBottom,k=!1;if(this.xAxis instanceof T&&this.yAxis instanceof T){if(!t.hasValue(this._xValueFields)||!t.hasValue(this._yValueFields))return;if(s=0,o=1,!y.isNaN(x))s+=R=m.round((o-s)*(1-x/100)/2,5),o-=R;if(e=this.xAxis.getX(t,u,s),i=this.xAxis.getX(t,h,o),y.isNaN(x))e+=R=(i-e-b)/2,i-=R;if(!y.isNaN(A))e+=R=(i-e-A)/2,i-=R;if(s=0,o=1,!y.isNaN(v))s+=R=m.round((1-v/100)/2,5),o-=R;if(a=this.yAxis.getY(t,d,s),n=this.yAxis.getY(t,c,o),y.isNaN(v))n+=R=(n-a-P)/2,a-=R;if(!y.isNaN(C))n+=R=(n-a-C)/2,a-=R;i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),a=this.fixVerticalCoordinate(a),n=this.fixVerticalCoordinate(n)}else if(this.baseAxis==this.xAxis){if(!t.hasValue(this._yValueFields))return;if(!y.isNaN(x))s+=R=m.round((o-s)*(1-x/100)/2,5),o-=R;if(e=this.xAxis.getX(t,u,s),i=this.xAxis.getX(t,h,o),y.isNaN(x))e+=R=(i-e-b)/2,i-=R;if(!y.isNaN(A))e+=R=(i-e-A)/2,i-=R;var F=t.locations[d],O=t.locations[c];this.yAxis instanceof l.a&&(F=0,O=0),n=this.yAxis.getY(t,d,F),a=this.yAxis.getY(t,c,O);var w=Math.ceil(this.yAxis.axisLength);(a<0&&n<0||a>w&&n>w)&&(k=!0),a=this.fixVerticalCoordinate(a),n=this.fixVerticalCoordinate(n),Math.abs(i-e)-I-_==0&&(k=!0)}else{if(!t.hasValue(this._xValueFields))return;var R;if(!y.isNaN(v))s+=R=m.round((o-s)*(1-v/100)/2,5),o-=R;if(a=this.yAxis.getY(t,d,s),n=this.yAxis.getY(t,c,o),y.isNaN(v))n-=R=(n-a-P)/2,a+=R;if(!y.isNaN(C))n-=R=(n-a-C)/2,a+=R;var L=t.locations[h],X=t.locations[u];this.xAxis instanceof l.a&&(L=0,X=0),i=this.xAxis.getX(t,h,L),e=this.xAxis.getX(t,u,X);w=Math.ceil(this.xAxis.axisLength);(i<0&&e<0||i>w&&e>w)&&(k=!0),i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),Math.abs(a-n)-D-V==0&&(k=!0)}var Y,j=Math.abs(i-e),N=Math.abs(n-a),M=Math.min(e,i),W=Math.min(a,n);k?this.disableUnusedColumns(t):(t.column?Y=t.column:(Y=this.columns.create(),f.copyProperties(this,Y,S.b),f.copyProperties(this.columns.template,Y,S.b),t.addSprite(Y),t.column=Y,this.itemsFocusable()?(Y.role="menuitem",Y.focusable=!0):(Y.role="listitem",Y.focusable=!1),Y.focusable&&(Y.events.once("focus",function(e){Y.readerTitle=r.populateString(r.itemReaderText,t)},void 0,!1),Y.events.once("blur",function(t){Y.readerTitle=""},void 0,!1)),Y.hoverable&&(Y.events.once("over",function(e){Y.readerTitle=r.populateString(r.itemReaderText,t)},void 0,!1),Y.events.once("out",function(t){Y.readerTitle=""},void 0,!1))),Y.width=j,Y.height=N,Y.x=M,Y.y=W,Y.realX=e,Y.realY=a,Y.realWidth=i-e,Y.realHeight=n-a,Y.parent=this.columnsContainer,Y.virtualParent=this,this.setColumnStates(Y),Y.invalid&&Y.validate(),Y.__disabled=!1,g.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i||(i=r.columns.create(),f.copyProperties(e.contents,i,S.b),t.addSprite(i),t.rangesColumns.setKey(e.uid,i)),i.parent=e.contents,i.width=j,i.height=N,i.x=M,i.y=W,r.setColumnStates(i),i.invalid&&i.validate(),i.__disabled=!1}));t.itemWidth=j,t.itemHeight=N},e.prototype.disableUnusedColumns=function(t){t&&(t.column&&(t.column.width=0,t.column.height=0,t.column.__disabled=!0),g.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)}))},e.prototype.setColumnStates=function(t){var e=t.dataItem;if(this.xAxis instanceof l.a||this.yAxis instanceof l.a){var i,a=void 0,n=void 0;this.baseAxis==this.yAxis?this.xOpenField&&this.xField&&(i=e.getValue(this.xOpenField),a=e.getValue(this.xField),n=e.getValue(this.xAxis.axisFieldName+"X","previousChange")):this.yOpenField&&this.yField&&(i=e.getValue(this.yOpenField),a=e.getValue(this.yField),n=e.getValue(this.yAxis.axisFieldName+"Y","previousChange")),a<i?(e.droppedFromOpen=!0,t.defaultState.copyFrom(this._dropFromOpenState),t.setState(this._dropFromOpenState,0)):(e.droppedFromOpen=!1,t.defaultState.copyFrom(this._riseFromOpenState),t.setState(this._riseFromOpenState,0)),n<0?(e.droppedFromPrevious=!0,t.defaultState.copyFrom(this._dropFromPreviousState),t.setState(this._dropFromPreviousState,0)):(e.droppedFromPrevious=!1,t.defaultState.copyFrom(this._riseFromPreviousState),t.setState(this._riseFromPreviousState,0))}},Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns||(this._columns=new o.e(this.createColumnTemplate()),this._disposers.push(new o.c(this._columns)),this._disposers.push(this._columns.template)),this._columns},enumerable:!0,configurable:!0}),e.prototype.createColumnTemplate=function(){return new se},Object.defineProperty(e.prototype,"clustered",{get:function(){return this.getPropertyValue("clustered")},set:function(t){this.setPropertyValue("clustered",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromOpenState",{get:function(){return this._dropFromOpenState||(this._dropFromOpenState=this.states.create("dropFromOpenState")),this._dropFromOpenState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropFromPreviousState",{get:function(){return this._dropFromPreviousState||(this._dropFromPreviousState=this.states.create("dropFromPreviousState")),this._dropFromPreviousState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromOpenState",{get:function(){return this._riseFromOpenState||(this._riseFromOpenState=this.states.create("riseFromOpenState")),this._riseFromOpenState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"riseFromPreviousState",{get:function(){return this._riseFromPreviousState||(this._riseFromPreviousState=this.states.create("riseFromPreviousState")),this._riseFromPreviousState},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(e){var i=this;if(t.prototype.updateLegendValue.call(this,e),this.legendDataItem){var a,n,r=this.legendDataItem.marker;e&&(a=e.droppedFromOpen?this._dropFromOpenState:this._riseFromOpenState,n=e.droppedFromPrevious?this._dropFromPreviousState:this._riseFromPreviousState),g.each(r.children.iterator(),function(t){e?(t.setState(n),t.setState(a)):(t.setState(i._riseFromPreviousState),t.setState(i._riseFromOpenState))})}},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a=t.createChild(Yt.a);a.shouldClone=!1,f.copyProperties(this,a,S.b),a.copyFrom(this.columns.template),a.padding(0,0,0,0),a.width=e,a.height=i;var n=t.dataItem;n.color=this.fill,n.colorOrig=this.fill},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.columns.template.copyFrom(e.columns.template)},e.prototype.getBulletLocationX=function(e,i){return this.baseAxis==this.xAxis?(this._startLocation+this._endLocation)/2:t.prototype.getBulletLocationX.call(this,e,i)},e.prototype.getBulletLocationY=function(e,i){return this.baseAxis==this.yAxis?(this._startLocation+this._endLocation)/2:t.prototype.getBulletLocationY.call(this,e,i)},e.prototype.fixVerticalCoordinate=function(t){var e=this.columns.template.pixelPaddingBottom,i=-this.columns.template.pixelPaddingTop,a=this.yAxis.axisLength+e;return m.fitToRange(t,i,a)},e.prototype.fixHorizontalCoordinate=function(t){var e=this.columns.template.pixelPaddingLeft,i=this.columns.template.pixelPaddingRight,a=-e,n=this.xAxis.axisLength+i;return m.fitToRange(t,a,n)},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.columns.clear()},e}(L);c.b.registeredClasses.ColumnSeries=le,c.b.registeredClasses.ColumnSeriesDataItem=oe;var he=function(t){function e(){var e=t.call(this)||this;return e.className="TreeMapSeriesDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"parentName",{get:function(){var t=this.treeMapDataItem;if(t&&t.parent)return t.parent.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){var t=this.treeMapDataItem;if(t)return t.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"treeMapDataItem",{get:function(){return this._dataContext},enumerable:!0,configurable:!0}),e}(oe),ue=function(t){function e(){var e=t.call(this)||this;e.className="TreeMapSeries",e.applyTheme(),e.fillOpacity=1,e.strokeOpacity=1,e.minBulletDistance=0,e.columns.template.tooltipText="{parentName} {name}: {value}",e.columns.template.configField="config";var i=new W.a;return e.stroke=i.getFor("background"),e.dataFields.openValueX="x0",e.dataFields.valueX="x1",e.dataFields.openValueY="y0",e.dataFields.valueY="y1",e.sequencedInterpolation=!1,e.showOnInit=!1,e.columns.template.pixelPerfect=!1,e}return n.c(e,t),e.prototype.processDataItem=function(e,i){i.seriesDataItem=e,t.prototype.processDataItem.call(this,e,i)},e.prototype.createDataItem=function(){return new he},e.prototype.show=function(e){var i=this.defaultState.transitionDuration;return y.isNumber(e)&&(i=e),this.dataItems.each(function(t){t.treeMapDataItem.setWorkingValue("value",t.treeMapDataItem.values.value.value)}),t.prototype.showReal.call(this,i)},e.prototype.hide=function(e){var i=this.defaultState.transitionDuration;y.isNumber(e)&&(i=e);var a=t.prototype.hideReal.call(this,i);return this.dataItems.each(function(t){t.treeMapDataItem.setWorkingValue("value",0)}),a},e.prototype.processValues=function(){},e.prototype.dataChangeUpdate=function(){},e.prototype.processConfig=function(e){e&&(y.hasValue(e.dataFields)&&y.isObject(e.dataFields)||(e.dataFields={})),t.prototype.processConfig.call(this,e)},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a=t.createChild(Yt.a);a.shouldClone=!1,f.copyProperties(this,a,S.b),a.padding(0,0,0,0),a.width=e,a.height=i;var n=t.dataItem;n.color=a.fill,n.colorOrig=a.fill},e}(le);c.b.registeredClasses.TreeMapSeries=ue,c.b.registeredClasses.TreeMapSeriesDataItem=he;var ce=function(t){function e(){var e=t.call(this)||this;return e.rows=[],e.className="TreeMapDataItem",e.values.value={},e.values.x0={},e.values.y0={},e.values.x1={},e.values.y1={},e.hasChildren.children=!0,e.applyTheme(),e}return n.c(e,t),e.prototype.getDuration=function(){return 0},Object.defineProperty(e.prototype,"value",{get:function(){var t=0;return this.children&&0!=this.children.length?g.each(this.children.iterator(),function(e){var i=e.value;y.isNumber(i)&&(t+=i)}):t=this.values.value.workingValue,t},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"percent",{get:function(){return this.parent?this.value/this.parent.value*100:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x0",{get:function(){return this.values.x0.value},set:function(t){this.setValue("x0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x1",{get:function(){return this.values.x1.value},set:function(t){this.setValue("x1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y0",{get:function(){return this.values.y0.value},set:function(t){this.setValue("y0",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.values.y1.value},set:function(t){this.setValue("y1",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.properties.children},set:function(t){this.setProperty("children",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"level",{get:function(){return this.parent?this.parent.level+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){var t=this.properties.color;return void 0==t&&this.parent&&(t=this.parent.color),void 0==t&&this.component&&(t=this.component.colors.getIndex(this.component.colors.step*this.index)),t},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){t!=this._series&&(this._series&&(this.component.series.removeValue(this._series),this._series.dispose()),this._series=t,this._disposers.push(t))},enumerable:!0,configurable:!0}),e}(G),de=function(t){function e(){var e=t.call(this)||this;e.layoutAlgorithm=e.squarify,e.zoomable=!0,e.className="TreeMap",e.maxLevels=2,e.currentLevel=0,e.colors=new Ht.a,e.sorting="descending";var i=e.xAxes.push(new l.a);i.title.disabled=!0,i.strictMinMax=!0;var a=i.renderer;a.inside=!0,a.labels.template.disabled=!0,a.ticks.template.disabled=!0,a.grid.template.disabled=!0,a.axisFills.template.disabled=!0,a.minGridDistance=100,a.line.disabled=!0,a.baseGrid.disabled=!0;var n=e.yAxes.push(new l.a);n.title.disabled=!0,n.strictMinMax=!0;var r=n.renderer;r.inside=!0,r.labels.template.disabled=!0,r.ticks.template.disabled=!0,r.grid.template.disabled=!0,r.axisFills.template.disabled=!0,r.minGridDistance=100,r.line.disabled=!0,r.baseGrid.disabled=!0,r.inversed=!0,e.xAxis=i,e.yAxis=n;var s=new ue;return e.seriesTemplates=new h.c(s),e._disposers.push(new h.b(e.seriesTemplates)),e._disposers.push(s),e.zoomOutButton.events.on("hit",function(){e.zoomToChartDataItem(e._homeDataItem)},void 0,!1),e.seriesTemplates.events.on("insertKey",function(t){t.newValue.isTemplate=!0},void 0,!1),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"navigationBar",{get:function(){return this._navigationBar},set:function(t){var e=this;this._navigationBar!=t&&(this._navigationBar=t,t.parent=this,t.toBack(),t.links.template.events.on("hit",function(t){var i=t.target.dataItem.dataContext;i.isDisposed()||(e.zoomToChartDataItem(i),e.createTreeSeries(i))},void 0,!0),this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.validateData=function(){this.series.clear(),this._tempSeries=[],t.prototype.validateData.call(this),this._homeDataItem&&this._homeDataItem.dispose();var e=this.dataItems.template.clone();this._homeDataItem=e,g.each(this.dataItems.iterator(),function(t){t.parent=e}),e.children=this.dataItems,e.x0=0,e.y0=0,e.name=this._homeText;var i=10*Math.round(1e3*this.pixelHeight/this.pixelWidth/10)||1e3;e.x1=1e3,e.y1=i,this.xAxis.min=0,this.xAxis.max=1e3,this.xAxis.getMinMax(),this.yAxis.min=0,this.yAxis.max=i,this.yAxis.getMinMax(),this.layoutItems(e),this.createTreeSeries(e)},e.prototype.layoutItems=function(t,e){if(t){var i=t.children;e||(e=this.sorting),"ascending"==e&&i.values.sort(function(t,e){return t.value-e.value}),"descending"==e&&i.values.sort(function(t,e){return e.value-t.value}),this._updateDataItemIndexes(0),this.layoutAlgorithm(t);for(var a=0,n=i.length;a<n;a++){var r=i.getIndex(a);r.children&&this.layoutItems(r)}}},e.prototype.createTreeSeries=function(t){var e=this;this._tempSeries=[];for(var i=[t],a=t.parent;void 0!=a;)this.initSeries(a),i.push(a),a=a.parent;i.reverse(),this.navigationBar&&(this.navigationBar.data=i),this.createTreeSeriesReal(t),O.each(this._tempSeries,function(t){-1==e.series.indexOf(t)&&e.series.push(t),t.zIndex=t.level})},e.prototype.createTreeSeriesReal=function(t){if(t.children&&t.level<this.currentLevel+this.maxLevels){this.initSeries(t);for(var e=0;e<t.children.length;e++){var i=t.children.getIndex(e);i.children&&this.createTreeSeriesReal(i)}}},e.prototype.setData=function(e){this.currentLevel=0,this.currentlyZoomed=void 0,this.xAxis.start=0,this.xAxis.end=1,this.yAxis.start=0,this.yAxis.end=1,t.prototype.setData.call(this,e)},e.prototype.seriesAppeared=function(){return!0},e.prototype.initSeries=function(t){var e=this;if(!t.series){var i=void 0,a=this.seriesTemplates.getKey(t.level.toString());(i=a?a.clone():this.series.create()).dataItem.dataContext=t,i.name=t.name,i.parentDataItem=t,t.series=i;var n=t.level;i.level=n;var r=t.dataContext;r&&(i.config=r.config),this.dataUsers.removeValue(i),i.data=t.children.values,i.fill=t.color,i.columnsContainer.hide(0),i.bulletsContainer.hide(0),i.columns.template.adapter.add("fill",function(t,e){var i=e.dataItem;if(i){var a=i.treeMapDataItem;if(a)return e.fill=a.color,e.adapter.remove("fill"),a.color}}),this.zoomable&&(t.level>this.currentLevel||t.children&&t.children.length>0)&&(i.columns.template.cursorOverStyle=j.a.pointer,this.zoomable&&i.columns.template.events.on("hit",function(i){var a=i.target.dataItem;t.level>e.currentLevel?e.zoomToChartDataItem(a.treeMapDataItem.parent):e.zoomToSeriesDataItem(a)},this,void 0))}this._tempSeries.push(t.series)},e.prototype.toggleBullets=function(t){var e=this;g.each(this.series.iterator(),function(i){-1==e._tempSeries.indexOf(i)?(i.columnsContainer.hide(),i.bulletsContainer.hide(t)):(i.columnsContainer.show(),i.bulletsContainer.show(t),i.level<e.currentLevel&&i.bulletsContainer.hide(t))})},e.prototype.zoomToSeriesDataItem=function(t){this.zoomToChartDataItem(t.treeMapDataItem)},e.prototype.zoomToChartDataItem=function(t){var e=this;if(t&&t.children){this.xAxis.zoomToValues(t.x0,t.x1),this.yAxis.zoomToValues(t.y0,t.y1),this.currentLevel=t.level,this.currentlyZoomed=t,this.createTreeSeries(t);var i=this.xAxis.rangeChangeAnimation||this.yAxis.rangeChangeAnimation;!i||i.isDisposed()||i.isFinished()?this.toggleBullets():(this._dataDisposers.push(i),i.events.once("animationended",function(){e.toggleBullets()}))}},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("TreeMap chart"))},e.prototype.createDataItem=function(){return new ce},Object.defineProperty(e.prototype,"maxLevels",{get:function(){return this.getPropertyValue("maxLevels")},set:function(t){this.setPropertyValue("maxLevels",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLevel",{get:function(){return this.getPropertyValue("currentLevel")},set:function(t){this.setPropertyValue("currentLevel",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sorting",{get:function(){return this.getPropertyValue("sorting")},set:function(t){this.setPropertyValue("sorting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new ue},Object.defineProperty(e.prototype,"homeText",{get:function(){return this._homeText},set:function(t){this._homeText=t,this._homeDataItem&&(this._homeDataItem.name=this._homeText)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e){if(y.hasValue(e.layoutAlgorithm)&&y.isString(e.layoutAlgorithm))switch(e.layoutAlgorithm){case"squarify":e.layoutAlgorithm=this.squarify;break;case"binaryTree":e.layoutAlgorithm=this.binaryTree;break;case"slice":e.layoutAlgorithm=this.slice;break;case"dice":e.layoutAlgorithm=this.dice;break;case"sliceDice":e.layoutAlgorithm=this.sliceDice;break;default:delete e.layoutAlgorithm}y.hasValue(e.navigationBar)&&!y.hasValue(e.navigationBar.type)&&(e.navigationBar.type="NavigationBar"),t.prototype.processConfig.call(this,e)}},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.layoutItems(this.currentlyZoomed)},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.layoutItems(this._homeDataItem),g.each(this.series.iterator(),function(t){t.validateRawData()}),this.zoomToChartDataItem(this._homeDataItem)},e.prototype.binaryTree=function(t){var e,i,a=t.children,n=a.length,r=new Array(n+1);for(r[0]=i=e=0;e<n;++e)r[e+1]=i+=a.getIndex(e).value;!function t(e,i,n,s,o,l,h){if(e>=i-1){var u=a.getIndex(e);return u.x0=s,u.y0=o,u.x1=l,void(u.y1=h)}var c=r[e],d=n/2+c,p=e+1,y=i-1;for(;p<y;){var g=p+y>>>1;r[g]<d?p=g+1:y=g}d-r[p-1]<r[p]-d&&e+1<p&&--p;var m=r[p]-c,f=n-m;if(l-s>h-o){var x=(s*f+l*m)/n;t(e,p,m,s,o,x,h),t(p,i,f,x,o,l,h)}else{var v=(o*f+h*m)/n;t(e,p,m,s,o,l,v),t(p,i,f,s,v,l,h)}}(0,n,t.value,t.x0,t.y0,t.x1,t.y1)},e.prototype.slice=function(t){for(var e,i=t.x0,a=t.x1,n=t.y0,r=t.y1,s=t.children,o=-1,l=s.length,h=t.value&&(r-n)/t.value;++o<l;)(e=s.getIndex(o)).x0=i,e.x1=a,e.y0=n,n+=e.value*h,e.y1=n},e.prototype.dice=function(t){for(var e,i=t.x0,a=t.x1,n=t.y0,r=t.y1,s=t.children,o=-1,l=s.length,h=t.value&&(a-i)/t.value;++o<l;)(e=s.getIndex(o)).y0=n,e.y1=r,e.x0=i,i+=e.value*h,e.x1=i},e.prototype.sliceDice=function(t){1&t.level?this.slice(t):this.dice(t)},e.prototype.squarify=function(t){for(var e,i,a,n,r,s,o,l,h,u,c=(1+Math.sqrt(5))/2,d=t.x0,p=t.x1,y=t.y0,g=t.y1,m=t.children,f=0,x=0,v=m.length,b=t.value;f<v;){i=p-d,a=g-y;do{n=m.getIndex(x++).value}while(!n&&x<v);for(r=s=n,u=n*n*(h=Math.max(a/i,i/a)/(b*c)),l=Math.max(s/u,u/r);x<v;++x){if(n+=e=m.getIndex(x).value,e<r&&(r=e),e>s&&(s=e),u=n*n*h,(o=Math.max(s/u,u/r))>l){n-=e;break}l=o}var P=this.dataItems.template.clone();P.value=n,P.dice=i<a,P.children=m.slice(f,x),P.x0=d,P.y0=y,P.x1=p,P.y1=g,P.dice?(P.y1=b?y+=a*n/b:g,this.dice(P)):(P.x1=b?d+=i*n/b:p,this.slice(P)),b-=n,f=x}},e.prototype.handleDataItemValueChange=function(t,e){"value"==e&&this.invalidateDataItems()},e.prototype.handleDataItemWorkingValueChange=function(t,e){"value"==e&&this.invalidateDataItems()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];g.each(this.series.iterator(),function(t){1==t.level&&(t.hiddenInLegend||e.push(t))}),t.dataFields.name="name",t.data=e}},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this._homeDataItem=void 0,this.series.clear(),this.navigationBar&&this.navigationBar.disposeData(),this.xAxis.disposeData(),this.yAxis.disposeData()},e}(q);c.b.registeredClasses.TreeMap=de;var pe=function(t){function e(){var e=t.call(this)||this;return e._chart=new k.d,e.className="AxisRendererX3D",e._disposers.push(e._chart),e.applyTheme(),e}return n.c(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=this.chart.dx3D||0,r=this.chart.dy3D||0,s=this.getHeight();t.path=w.moveTo({x:n,y:r})+w.lineTo({x:n,y:s+r})+w.lineTo({x:0,y:s})}this.positionItem(t,a),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.getHeight(),i=this.chart.dx3D||0,a=this.chart.dy3D||0;this.baseGrid.path=w.moveTo({x:i,y:a})+w.lineTo({x:i,y:e+a})+w.lineTo({x:0,y:e})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){"depth"!=t.property&&"angle"!=t.property||this.invalidate()},e}(b.a);c.b.registeredClasses.AxisRendererX3D=pe;var ye=function(t){function e(){var e=t.call(this)||this;return e._chart=new k.d,e.className="AxisRendererY3D",e._disposers.push(e._chart),e.applyTheme(),e}return n.c(e,t),e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var a=this.positionToPoint(e);if(t.element){var n=this.chart.dx3D||0,r=this.chart.dy3D||0,s=this.getWidth();t.path=w.moveTo({x:0,y:0})+w.lineTo({x:n,y:r})+w.lineTo({x:s+n,y:r})}this.positionItem(t,a),this.toggleVisibility(t,e,0,1)},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.chart.dx3D||0,i=this.chart.dy3D||0,a=this.getWidth();this.baseGrid.path=w.moveTo({x:0,y:0})+w.lineTo({x:a,y:0})+w.lineTo({x:a+e,y:i})},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){t&&this._chart.set(t,t.events.on("propertychanged",this.handle3DChanged,this,!1))},enumerable:!0,configurable:!0}),e.prototype.handle3DChanged=function(t){"depth"!=t.property&&"angle"!=t.property||this.invalidate()},e}(P.a),ge=i("Mr4Y"),me=function(t){function e(){var e=t.call(this)||this;return e.className="Column3D",e}return n.c(e,t),e.prototype.createAssets=function(){this.column3D=this.createChild(ge.a),this.column3D.shouldClone=!1,this.column3D.strokeOpacity=0,this.column=this.column3D},e.prototype.validate=function(){t.prototype.validate.call(this),this.column3D&&(this.column3D.width=this.pixelWidth,this.column3D.height=this.pixelHeight,this.column3D.invalid&&this.column3D.validate())},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.column3D&&this.column3D.copyFrom(e.column3D)},e.prototype.setFill=function(e){t.prototype.setFill.call(this,e),this.column.fill=e},e}(se);c.b.registeredClasses.Column3D=me;var fe=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3DDataItem",e.applyTheme(),e}return n.c(e,t),e}(oe),xe=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeries3D",e.columns.template.column3D.applyOnClones=!0,e.columns.template.hiddenState.properties.visible=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this.chart&&this.chart.columnsContainer?this.chart.columnsContainer:this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e),e.column&&(e.column.dx=this.dx,e.column.dy=this.dy)},e.prototype.validateDataElements=function(){t.prototype.validateDataElements.call(this),this.chart&&this.chart.invalidateLayout()},e.prototype.createColumnTemplate=function(){return new me},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0),this.columns.template.column3D.depth=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.columns.template.column3D.angle=t},enumerable:!0,configurable:!0}),e}(le);c.b.registeredClasses.ColumnSeries3D=xe,c.b.registeredClasses.ColumnSeries3DDataItem=fe;var ve=function(t){function e(){var e=t.call(this)||this;return e.className="XYChart3DDataItem",e.applyTheme(),e}return n.c(e,t),e}(G),be=function(t){function e(){var e=t.call(this)||this;e._axisRendererX=pe,e._axisRendererY=ye,e.className="XYChart3D",e.depth=30,e.angle=30;var i=e.seriesContainer.createChild(s.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e.columnsContainer=i,e.columnsContainer.mask=e.createChild(S.a),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t),this.fixLayout(),this.invalidateDataUsers()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx3D",{get:function(){return m.cos(this.angle)*this.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy3D",{get:function(){return-m.sin(this.angle)*this.depth},enumerable:!0,configurable:!0}),e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.fixColumns()},e.prototype.fixLayout=function(){this.chartContainer.marginTop=-this.dy3D,this.chartContainer.paddingRight=this.dx3D,this.scrollbarX&&(this.scrollbarX.dy=this.dy3D,this.scrollbarX.dx=this.dx3D),this.scrollbarY&&(this.scrollbarY.dy=this.dy3D,this.scrollbarY.dx=this.dx3D),this.fixColumns(),t.prototype.fixLayout.call(this)},e.prototype.fixColumns=function(){var t=this,e=1,i=0;g.each(this.series.iterator(),function(t){t instanceof xe&&(!t.clustered&&i>0&&e++,t.depthIndex=e-1,i++)});var a=0;g.each(this.series.iterator(),function(i){if(i instanceof xe){i.depth=t.depth/e,i.angle=t.angle,i.dx=t.depth/e*m.cos(t.angle)*i.depthIndex,i.dy=-t.depth/e*m.sin(t.angle)*i.depthIndex;var n=!1;(i.baseAxis==i.xAxis&&i.xAxis.renderer.inversed||i.baseAxis==i.yAxis&&i.yAxis.renderer.inversed)&&(n=!0);var r=1;i.columns.each(function(t){t.zIndex=n?1e3*(1e3-r)+a-100*i.depthIndex:1e3*r+a-100*i.depthIndex,r++}),a++}}),this.maskColumns()},e.prototype.processConfig=function(e){if(e&&y.hasValue(e.series)&&y.isArray(e.series))for(var i=0,a=e.series.length;i<a;i++)e.series[i].type=e.series[i].type||"ColumnSeries3D";t.prototype.processConfig.call(this,e)},e.prototype.maskColumns=function(){var t=this.plotContainer.pixelWidth,e=this.plotContainer.pixelHeight,i=this.dx3D,a=this.dy3D,n=w.moveTo({x:0,y:0})+w.lineTo({x:i,y:a})+w.lineTo({x:t+i,y:a})+w.lineTo({x:t+i,y:e+a})+w.lineTo({x:t,y:e})+w.lineTo({x:t,y:e})+w.lineTo({x:0,y:e})+w.closePath(),r=this.columnsContainer;r&&r.mask&&(r.mask.path=n)},e}(q);c.b.registeredClasses.XYChart3D=be;var Pe=i("2OXf"),Ae=function(t){function e(){var e=t.call(this)||this;return e.className="Candlestick",e.layout="none",e}return n.c(e,t),e.prototype.createAssets=function(){t.prototype.createAssets.call(this),this.lowLine=this.createChild(Q.a),this.lowLine.shouldClone=!1,this.highLine=this.createChild(Q.a),this.highLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.lowLine&&this.lowLine.copyFrom(e.lowLine),this.highLine&&this.highLine.copyFrom(e.highLine)},e}(se);c.b.registeredClasses.Candlestick=Ae;var Ce=function(t){function e(){var e=t.call(this)||this;return e.values.lowValueX={},e.values.lowValueY={},e.values.highValueX={},e.values.highValueY={},e.className="CandlestickSeriesDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"lowValueX",{get:function(){return this.values.lowValueX.value},set:function(t){this.setValue("lowValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lowValueY",{get:function(){return this.values.lowValueY.value},set:function(t){this.setValue("lowValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueX",{get:function(){return this.values.highValueX.value},set:function(t){this.setValue("highValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"highValueY",{get:function(){return this.values.highValueY.value},set:function(t){this.setValue("highValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeValueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),e}(oe),Ie=function(t){function e(){var e=t.call(this)||this;e.className="CandlestickSeries",e.strokeOpacity=1;var i=new W.a,a=i.getFor("positive"),n=i.getFor("negative");return e.dropFromOpenState.properties.fill=n,e.dropFromOpenState.properties.stroke=n,e.riseFromOpenState.properties.fill=a,e.riseFromOpenState.properties.stroke=a,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Candlestick Series"))},e.prototype.createDataItem=function(){return new Ce},e.prototype.validateDataElementReal=function(e){t.prototype.validateDataElementReal.call(this,e),this.validateCandlestick(e)},e.prototype.validateCandlestick=function(t){var e=t.column;if(e){var i=e.lowLine,a=e.highLine;if(this.baseAxis==this.xAxis){var n=e.pixelWidth/2;i.x=n,a.x=n;var r=t.getWorkingValue(this.yOpenField),s=t.getWorkingValue(this.yField),o=this.yAxis.getY(t,this.yOpenField),l=this.yAxis.getY(t,this.yField),h=this.yAxis.getY(t,this.yLowField),u=this.yAxis.getY(t,this.yHighField),c=e.pixelY;i.y1=h-c,a.y1=u-c,r<s?(i.y2=o-c,a.y2=l-c):(i.y2=l-c,a.y2=o-c)}if(this.baseAxis==this.yAxis){var d=e.pixelHeight/2;i.y=d,a.y=d;var p=t.getWorkingValue(this.xOpenField),y=t.getWorkingValue(this.xField),m=this.xAxis.getX(t,this.xOpenField),f=this.xAxis.getX(t,this.xField),x=this.xAxis.getX(t,this.xLowField),v=this.xAxis.getX(t,this.xHighField),b=e.pixelX;i.x1=x-b,a.x1=v-b,p<y?(i.x2=m-b,a.x2=f-b):(i.x2=f-b,a.x2=m-b)}g.each(this.axisRanges.iterator(),function(e){var n=t.rangesColumns.getKey(e.uid);if(n){var r=n.lowLine;r.x=i.x,r.y=i.y,r.x1=i.x1,r.x2=i.x2,r.y1=i.y1,r.y2=i.y2;var s=n.highLine;s.x=a.x,s.y=a.y,s.x1=a.x1,s.x2=a.x2,s.y1=a.y1,s.y2=a.y2}})}},Object.defineProperty(e.prototype,"xLowField",{get:function(){return this._xLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yLowField",{get:function(){return this._yLowField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xHighField",{get:function(){return this._xHighField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yHighField",{get:function(){return this._yHighField},enumerable:!0,configurable:!0}),e.prototype.defineFields=function(){if(t.prototype.defineFields.call(this),this.baseAxis==this.xAxis){var e=F.capitalize(this.yAxis.axisFieldName);this._yLowField="low"+e+"Y",this._yHighField="high"+e+"Y"}if(this.baseAxis==this.yAxis){var i=F.capitalize(this.xAxis.axisFieldName);this._xLowField="low"+i+"X",this._xHighField="high"+i+"X"}this.addValueField(this.xAxis,this._xValueFields,this._xLowField),this.addValueField(this.xAxis,this._xValueFields,this._xHighField),this.addValueField(this.yAxis,this._yValueFields,this._yLowField),this.addValueField(this.yAxis,this._yValueFields,this._yHighField)},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a,n,r=t.createChild(Ae);r.shouldClone=!1,r.copyFrom(this.columns.template);var s=r.lowLine,o=r.highLine;this.baseAxis==this.yAxis?(a=e/3,n=i,s.y=i/2,o.y=i/2,s.x2=e/3,o.x2=e/3,o.x=e/3*2,r.column.x=e/3):(a=e,n=i/3,s.x=e/2,o.x=e/2,s.y2=i/3,o.y2=i/3,o.y=i/3*2,r.column.y=i/3),r.width=a,r.height=n,f.copyProperties(this,t,S.b),f.copyProperties(this.columns.template,r,S.b),r.stroke=this.riseFromOpenState.properties.stroke,r.fill=r.stroke;var l=t.dataItem;l.color=r.fill,l.colorOrig=r.fill},e.prototype.createColumnTemplate=function(){return new Ae},e}(le);c.b.registeredClasses.CandlestickSeries=Ie,c.b.registeredClasses.CandlestickSeriesDataItem=Ce;var _e=function(t){function e(){var e=t.call(this)||this;return e.className="OHLC",e.layout="none",e}return n.c(e,t),e.prototype.createAssets=function(){this.openLine=this.createChild(Q.a),this.openLine.shouldClone=!1,this.highLowLine=this.createChild(Q.a),this.highLowLine.shouldClone=!1,this.closeLine=this.createChild(Q.a),this.closeLine.shouldClone=!1},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.openLine&&this.openLine.copyFrom(e.openLine),this.highLowLine&&this.highLowLine.copyFrom(e.highLowLine),this.closeLine&&this.closeLine.copyFrom(e.closeLine)},e}(Ae);c.b.registeredClasses.OHLC=_e;var De=function(t){function e(){var e=t.call(this)||this;return e.className="OHLCSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(Ce),Te=function(t){function e(){var e=t.call(this)||this;return e.className="OHLCSeries",e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("OHLC Series"))},e.prototype.createDataItem=function(){return new De},e.prototype.validateCandlestick=function(t){var e=t.column;if(e){var i=e.openLine,a=e.highLowLine,n=e.closeLine;if(this.baseAxis==this.xAxis){var r=e.pixelWidth/2;a.x=r,t.getWorkingValue(this.yOpenField),t.getWorkingValue(this.yField);var s=this.yAxis.getY(t,this.yOpenField),o=this.yAxis.getY(t,this.yField),l=this.yAxis.getY(t,this.yLowField),h=this.yAxis.getY(t,this.yHighField),u=e.pixelY;i.y1=s-u,i.y2=s-u,i.x1=0,i.x2=r,n.y1=o-u,n.y2=o-u,n.x1=r,n.x2=2*r,a.y1=h-u,a.y2=l-u}if(this.baseAxis==this.yAxis){var c=e.pixelHeight/2;a.y=c,t.getWorkingValue(this.xOpenField),t.getWorkingValue(this.xField);var d=this.xAxis.getX(t,this.xOpenField),p=this.xAxis.getX(t,this.xField),y=this.xAxis.getX(t,this.xLowField),m=this.xAxis.getX(t,this.xHighField),f=e.pixelX;i.x1=d-f,i.x2=d-f,i.y1=c,i.y2=2*c,n.x1=p-f,n.x2=p-f,n.y1=0,n.y2=c,a.x1=m-f,a.x2=y-f}g.each(this.axisRanges.iterator(),function(e){var r=t.rangesColumns.getKey(e.uid);if(r){var s=r.openLine;s.x=i.x,s.y=i.y,s.x1=i.x1,s.x2=i.x2,s.y1=i.y1,s.y2=i.y2;var o=r.closeLine;o.x=n.x,o.y=n.y,o.x1=n.x1,o.x2=n.x2,o.y1=n.y1,o.y2=n.y2;var l=r.highLowLine;l.x=a.x,l.y=a.y,l.x1=a.x1,l.x2=a.x2,l.y1=a.y1,l.y2=a.y2}})}},e.prototype.createLegendMarker=function(t){var e=t.pixelWidth,i=t.pixelHeight;t.removeChildren();var a,n,r=t.createChild(_e);r.shouldClone=!1,r.copyFrom(this.columns.template);var s=r.openLine,o=r.closeLine,l=r.highLowLine;this.baseAxis==this.yAxis?(a=e/3,n=i,l.y=i/2,l.x2=e,s.x=e/3*2,s.y2=i/2,o.x=e/3,o.y2=i,o.y1=i/2):(a=e,n=i/3,l.x=e/2,l.y2=i,s.y=i/3*2,s.x2=e/2,o.y=i/3,o.x2=e,o.x1=e/2),r.width=a,r.height=n,f.copyProperties(this,t,S.b),f.copyProperties(this.columns.template,r,S.b),r.stroke=this.riseFromOpenState.properties.stroke;var h=t.dataItem;h.color=r.stroke,h.colorOrig=r.stroke},e.prototype.createColumnTemplate=function(){return new _e},e}(Ie);c.b.registeredClasses.OHLCSeries=Te,c.b.registeredClasses.OHLCSeriesDataItem=De;var Ve=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesSegment",e}return n.c(e,t),e.prototype.drawSegment=function(t,e,i,a,n,r){if(t.length>0&&e.length>0)if(n){var s=w.moveTo(t[0]);if(t.length>0)for(var o=1;o<t.length;o++){var l=t[o];o/2==Math.round(o/2)?s+=w.moveTo(l):s+=w.lineTo(l)}this.strokeSprite.path=s,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(s=w.moveTo(t[0])+w.polyline(t),s+=w.lineTo(e[0])+w.polyline(e),s+=w.lineTo(t[0]),s+=w.closePath(),this.fillSprite.path=s)}else{s=w.moveTo(t[0])+w.polyline(t);this.strokeSprite.path=s,(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(s+=w.lineTo(e[0])+w.polyline(e),s+=w.lineTo(t[0]),s+=w.closePath(),this.fillSprite.path=s)}},e}(J);c.b.registeredClasses.StepLineSeriesSegment=Ve;var Se=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(it),ke=function(t){function e(){var e=t.call(this)||this;return e.className="StepLineSeries",e.applyTheme(),e.startLocation=0,e.endLocation=1,e}return n.c(e,t),e.prototype.createDataItem=function(){return new Se},e.prototype.addPoints=function(t,e,i,a,n){var r=this.startLocation,s=this.endLocation,o=this.xAxis.getX(e,i,r),l=this.yAxis.getY(e,a,r),h=this.xAxis.getX(e,i,s),u=this.yAxis.getY(e,a,s);if(o=m.fitToRange(o,-2e4,2e4),l=m.fitToRange(l,-2e4,2e4),h=m.fitToRange(h,-2e4,2e4),u=m.fitToRange(u,-2e4,2e4),!this.noRisers&&this.connect&&t.length>1){var c=t[t.length-1];this.baseAxis==this.xAxis&&(n?t.push({x:c.x,y:u}):t.push({x:o,y:c.y})),this.baseAxis==this.yAxis&&(n?t.push({x:h,y:c.y}):t.push({x:c.x,y:l}))}var d={x:o,y:l},p={x:h,y:u};n?t.push(p,d):t.push(d,p)},e.prototype.drawSegment=function(t,e,i){var a=!1;this.yAxis==this.baseAxis&&(a=!0),t.drawSegment(e,i,this.tensionX,this.tensionY,this.noRisers,a)},e.prototype.createSegment=function(){return new Ve},Object.defineProperty(e.prototype,"noRisers",{get:function(){return this.getPropertyValue("noRisers")},set:function(t){this.setPropertyValue("noRisers",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e}(at);c.b.registeredClasses.StepLineSeries=ke,c.b.registeredClasses.StepLineSeriesDataItem=Se;var Fe=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumn",e}return n.c(e,t),e.prototype.createAssets=function(){this.radarColumn=this.createChild(te.a),this.radarColumn.shouldClone=!1,this.radarColumn.strokeOpacity=void 0,this.column=this.radarColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.radarColumn&&this.radarColumn.copyFrom(e.radarColumn)},e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");return y.isNumber(t)||(t=this.radarColumn.tooltipX),t},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipX");return y.isNumber(t)||(t=this.radarColumn.tooltipY),t},e}(se);c.b.registeredClasses.RadarColumn=Fe;var Oe=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(oe),we=function(t){function e(){var e=t.call(this)||this;return e.className="RadarColumnSeries",e.applyTheme(),e}return n.c(e,t),e.prototype.createColumnTemplate=function(){return new Fe},e.prototype.validate=function(){this.chart.invalid&&this.chart.validate(),t.prototype.validate.call(this)},e.prototype.validateDataElementReal=function(t){var e,i,a,n,r=this,s=this.chart.startAngle,o=this.chart.endAngle,l=this.yField,h=this.yOpenField,u=this.xField,c=this.xOpenField,d=this.getStartLocation(t),p=this.getEndLocation(t),x=(o-s)/(this.dataItems.length*(this.end-this.start));s+=d*x,o-=(1-p)*x;var v=this.columns.template.percentWidth;y.isNaN(v)&&(v=100);var b=m.round((p-d)*(1-v/100)/2,5);if(d+=b,p-=b,this.baseAxis==this.xAxis?(a=m.getDistance({x:this.yAxis.getX(t,l,t.locations[l],"valueY"),y:this.yAxis.getY(t,l,t.locations[l],"valueY")}),n=m.getDistance({x:this.yAxis.getX(t,h,t.locations[h],"valueY"),y:this.yAxis.getY(t,h,t.locations[h],"valueY")}),e=this.xAxis.getAngle(t,c,d,"valueX"),i=this.xAxis.getAngle(t,u,p,"valueX")):(a=m.getDistance({x:this.yAxis.getX(t,l,d,"valueY"),y:this.yAxis.getY(t,l,d,"valueY")}),n=m.getDistance({x:this.yAxis.getX(t,h,p,"valueY"),y:this.yAxis.getY(t,h,p,"valueY")}),e=this.xAxis.getAngle(t,u,t.locations[u],"valueX"),i=this.xAxis.getAngle(t,c,t.locations[c],"valueX")),i<e){var P=i;i=e,e=P}e=m.fitToRange(e,s,o),i=m.fitToRange(i,s,o);var A=t.column;A||(A=this.columns.create(),t.column=A,f.forceCopyProperties(this.columns.template,A,S.b),t.addSprite(A),this.setColumnStates(A));var C=A.radarColumn;C.startAngle=e;var I=i-e;I>0?(C.arc=I,C.radius=a,C.innerRadius=n,A.__disabled=!1,A.parent=this.columnsContainer,g.each(this.axisRanges.iterator(),function(i){var s=t.rangesColumns.getKey(i.uid);s||(s=r.columns.create(),f.forceCopyProperties(r.columns.template,s,S.b),f.copyProperties(i.contents,s,S.b),s.dataItem&&O.remove(s.dataItem.sprites,s),t.addSprite(s),r.setColumnStates(s),t.rangesColumns.setKey(i.uid,s));var o=A.radarColumn;o.startAngle=e,o.arc=I,o.radius=a,o.innerRadius=n,o.invalid&&o.validate(),s.__disabled=!1,s.parent=r.columnsContainer})):this.disableUnusedColumns(t)},e.prototype.getPoint=function(t,e,i,a,n,r,s){r||(r="valueX"),s||(s="valueY");var o=this.yAxis.getX(t,i,n,s),l=this.yAxis.getY(t,i,n,s),h=m.getDistance({x:o,y:l});0==h&&(h=1e-5);var u=this.xAxis.getAngle(t,e,a,r);return{x:h*m.cos(u),y:h*m.sin(u)}},e.prototype.getMaskPath=function(){var t=this.yAxis.renderer;return w.arc(t.startAngle,t.endAngle-t.startAngle,t.pixelRadius,t.pixelInnerRadius)},e}(le);c.b.registeredClasses.RadarColumnSeries=we,c.b.registeredClasses.RadarColumnSeriesDataItem=Oe;var Re=i("AC2I"),Le=function(t){function e(){var e=t.call(this)||this;return e.slice=e.createChild(S.a),e.slice.shouldClone=!1,e.slice.setElement(e.paper.add("path")),e.slice.isMeasured=!1,e.orientation="vertical",e.bottomWidth=Object(Y.c)(100),e.topWidth=Object(Y.c)(100),e.isMeasured=!1,e.width=10,e.height=10,e.expandDistance=0,e.className="FunnelSlice",e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelPaddingTop,i=this.pixelPaddingBottom,a=this.pixelPaddingRight,n=this.pixelPaddingLeft,r=this.pixelWidth-a-n,s=this.pixelHeight-e-i,o=this.expandDistance,l="";if("vertical"==this.orientation){var h={x:(r-(f=F.relativeToValue(this.topWidth,r)))/2+n,y:e},u={x:(r+f)/2+n,y:e},c={x:(r+(x=F.relativeToValue(this.bottomWidth,r)))/2+n,y:e+s},d={x:(r-x)/2+n,y:e+s},p={x:u.x+(c.x-u.x)/2+o*s,y:u.y+.5*s},y={x:h.x+(d.x-h.x)/2-o*s,y:h.y+.5*s},g=w.lineTo(c),m="";0!=o&&(g=w.quadraticCurveTo(c,p),m=w.quadraticCurveTo(h,y)),l=w.moveTo(h)+w.lineTo(u)+g+w.lineTo(d)+m,this.tickPoint={x:u.x+(c.x-u.x)/2,y:u.y+(c.y-u.y)/2}}else{var f,x,v={x:n,y:(s-(f=F.relativeToValue(this.topWidth,s)))/2+e},b={x:n,y:(s+f)/2+e},P={x:n+r,y:(s-(x=F.relativeToValue(this.bottomWidth,s)))/2+e},A={x:n+r,y:(s+x)/2+e};p={y:v.y+(P.y-v.y)/2-o*r,x:v.x+.5*r},y={y:b.y+(A.y-b.y)/2+o*r,x:b.x+.5*r},g=w.lineTo(P),m="";0!=o&&(g=w.quadraticCurveTo(P,p),m=w.quadraticCurveTo(b,y)),l=w.moveTo(b)+w.lineTo(v)+g+w.lineTo(A)+m,this.tickPoint={y:b.y+(A.y-b.y)/2,x:b.x+(A.x-b.x)/2}}this.slice.path=l,this.invalidateLayout()},e.prototype.getPoint=function(t,e){var i=this.pixelPaddingTop,a=this.pixelPaddingBottom,n=this.pixelPaddingRight,r=this.pixelPaddingLeft,s=this.pixelWidth-n-r,o=this.pixelHeight-i-a;if("vertical"==this.orientation){var l={x:(s-(d=F.relativeToValue(this.topWidth,s)))/2+r,y:i},h={x:(s+d)/2+r,y:i},u={x:(s+(p=F.relativeToValue(this.bottomWidth,s)))/2+r,y:i+o},c=l.x+({x:(s-p)/2+r,y:i+o}.x-l.x)*e;return{x:c+(h.x+(u.x-h.x)*e-c)*t,y:h.y+(u.y-h.y)*e}}var d,p,y={x:r,y:(o-(d=F.relativeToValue(this.topWidth,o)))/2+i},g={x:r,y:(o+d)/2+i},m={x:r+s,y:(o-(p=F.relativeToValue(this.bottomWidth,o)))/2+i},f=y.y+(m.y-y.y)*t;return{y:f+(g.y+({x:r+s,y:(o+p)/2+i}.y-g.y)*t-f)*e,x:y.x+(m.x-y.x)*t}},Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(t){this.setPercentProperty("bottomWidth",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(t){this.setPercentProperty("topWidth",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandDistance",{get:function(){return this.getPropertyValue("expandDistance")},set:function(t){this.setPropertyValue("expandDistance",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slice&&this.slice.copyFrom(e.slice)},e}(s.a);c.b.registeredClasses.FunnelSlice=Le;var Xe=i("qzbU"),Ye=function(t){function e(){var e=t.call(this)||this;return e._label=new k.d,e._slice=new k.d,e.className="FunnelTick",e.element=e.paper.add("path"),e._disposers.push(e._label),e._disposers.push(e._slice),e.setPropertyValue("locationX",0),e.setPropertyValue("locationY",0),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=e.getPoint(this.locationX,this.locationY);if(i){var a=this.label,n=e.dataItem.component;if("vertical"==n.orientation){var r=a.pixelX,s=a.pixelY;n.labelsOpposite||(r+=a.maxRight);var o=F.spritePointToSprite(i,e,this.parent),l=F.spritePointToSprite({x:r,y:s},a.parent,this.parent);this.path=w.moveTo(o)+w.lineTo(l)}else{r=a.pixelX,s=a.pixelY;n.labelsOpposite||(s+=a.maxBottom);o=F.spritePointToSprite(i,e,this.parent),l=F.spritePointToSprite({x:r,y:s},a.parent,this.parent);this.path=w.moveTo(o)+w.lineTo(l)}}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new k.c([t.events.on("transformed",this.invalidate,this,!1),t.events.on("validated",this.invalidate,this,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){this.setPropertyValue("locationX",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){this.setPropertyValue("locationY",t,!1,!0)},enumerable:!0,configurable:!0}),e}(Xe.a);c.b.registeredClasses.FunnelTick=Ye;var je=function(t){function e(){var e=t.call(this)||this;return e.className="FunnelSeriesDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"sliceLink",{get:function(){var t=this;if(!this._sliceLink){var e=this.component.sliceLinks.create();this._sliceLink=e,this._disposers.push(e),e.parent=this.component.slicesContainer,this._disposers.push(new k.b(function(){t.component&&t.component.sliceLinks.removeValue(e)})),this.addSprite(e),e.visible=this.visible}return this._sliceLink},enumerable:!0,configurable:!0}),e}(Re.b),Ne=function(t){function e(){var e=t.call(this)||this;return e._nextY=0,e.className="FunnelSeries",e.orientation="vertical",e.width=Object(Y.c)(100),e.height=Object(Y.c)(100),e.slicesContainer.width=Object(Y.c)(100),e.slicesContainer.height=Object(Y.c)(100),e._disposers.push(e.slicesContainer.events.on("maxsizechanged",e.invalidateDataItems,e,!1)),e.labelsOpposite=!0,e.labelsContainer.layout="absolute",e.bottomRatio=0,e.applyTheme(),e}return n.c(e,t),e.prototype.createSlice=function(){return new Le},e.prototype.createTick=function(){return new Ye},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Funnel Series"))},e.prototype.createDataItem=function(){return new je},e.prototype.initSlice=function(t){t.isMeasured=!1,t.defaultState.properties.scale=1,t.observe("scale",this.handleSliceScale,this),t.observe(["dx","dy","x","y"],this.handleSliceMove,this),t.tooltipText="{category}: {value.percent.formatNumber('#.#')}% ({value.value})",t.states.create("hover").properties.expandDistance=.2},e.prototype.initLabel=function(e){t.prototype.initLabel.call(this,e),e.verticalCenter="middle",e.horizontalCenter="middle",e.isMeasured=!0,e.padding(5,5,5,5)},e.prototype.validate=function(){t.prototype.validate.call(this),this._nextY=0},e.prototype.validateDataElements=function(){var e=this.slicesContainer,i=this.labelsContainer,a=this.labels.template;this.alignLabels?(a.interactionsEnabled=!0,e.isMeasured=!0,i.isMeasured=!0):(a.interactionsEnabled=!1,e.isMeasured=!1,i.isMeasured=!1);var n=0,r=0;this.dataItems.each(function(t){y.hasValue(t.value)&&(r++,t.value>0?n+=t.getWorkingValue("value")/t.value:n+=1)}),this._total=1/r*n,this._count=r,t.prototype.validateDataElements.call(this),this.arrangeLabels()},e.prototype.getNextValue=function(t){var e=t.index,i=t.getWorkingValue("value");if(e<this.dataItems.length-1){var a=this.dataItems.getIndex(e+1);if(i=a.getWorkingValue("value"),!a.visible||a.isHiding)return this.getNextValue(a)}return i},e.prototype.formDataElement=function(){},e.prototype.validateDataElement=function(e){if(y.hasValue(e.value)){var i=e.slice;i.orientation=this.orientation;var a=e.sliceLink;a.orientation=this.orientation;var n=e.tick,r=e.label;n.slice=i,n.label=r,this.decorateSlice(e),a.fill=i.fill,e.index==this.dataItems.length-1&&(a.disabled=!0),t.prototype.validateDataElement.call(this,e)}},e.prototype.decorateSlice=function(t){var e=t.slice,i=t.sliceLink,a=t.label,n=t.tick,r=this.slicesContainer.innerWidth,s=this.slicesContainer.innerHeight,o=this.getNextValue(t),l=t.getWorkingValue("value"),h=this.bottomRatio,u=1;if(t.value>0&&(u=l/t.value),"vertical"==this.orientation){var c=i.pixelHeight*u;s+=c,e.topWidth=l/this.dataItem.values.value.high*r,e.bottomWidth=(l-(l-o)*h)/this.dataItem.values.value.high*r,i.topWidth=e.bottomWidth,i.bottomWidth=(l-(l-o))/this.dataItem.values.value.high*r,e.y=this._nextY,e.height=m.max(0,s/this._count*u/this._total-c),e.x=r/2,this.alignLabels?a.x=void 0:a.x=e.x,a.y=e.pixelY+e.pixelHeight*n.locationY,this._nextY+=e.pixelHeight+c,i.y=this._nextY-c,i.x=e.x}else{var d=i.pixelWidth*u;r+=d,e.topWidth=l/this.dataItem.values.value.high*s,e.bottomWidth=(l-(l-o)*h)/this.dataItem.values.value.high*s,i.topWidth=e.bottomWidth,i.bottomWidth=(l-(l-o))/this.dataItem.values.value.high*s,e.x=this._nextY,e.width=r/this._count*u*1/this._total-d,e.y=s/2,this.alignLabels?a.y=this.labelsContainer.measuredHeight:a.y=e.y,a.x=e.pixelX+e.pixelWidth*n.locationX,this._nextY+=e.pixelWidth+d,i.x=this._nextY-d,i.y=e.y}},e.prototype.arrangeLabels=function(){if(this.alignLabels){var t=this.labels.length;if(t>1){var e=this.labels.getIndex(t-1),i=e.pixelY,a=e.pixelX;if(t>1){for(var n=t-2;n>=0;n--){(r=this.labels.getIndex(n)).visible&&(r.invalid&&r.validate(),"vertical"==this.orientation?r.pixelY+r.measuredHeight>i&&(r.y=i-r.measuredHeight):r.pixelX+r.measuredWidth>a&&(r.x=a-r.measuredWidth),i=r.pixelY,a=r.pixelX)}i=0,a=0;for(n=0;n<t;n++){var r;(r=this.labels.getIndex(n)).visible&&(r.invalid&&r.validate(),"vertical"==this.orientation?r.pixelY<i&&(r.y=i):r.pixelX<a&&(r.x=a),i+=r.measuredHeight,a+=r.measuredWidth)}}}}},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,a=e.locationX;y.isNumber(a)||(a=.5);var n=e.locationY;y.isNumber(n)||(n=1),e.x=i.pixelX+i.measuredWidth*a,e.y=i.pixelY+i.measuredHeight*n},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&(this.labelsOpposite=this.labelsOpposite,this.invalidate(),"vertical"==t?(this.ticks.template.locationX=1,this.ticks.template.locationY=.5,this.labels.template.rotation=0,this.layout="horizontal"):(this.ticks.template.locationX=.5,this.ticks.template.locationY=1,this.labels.template.rotation=-90,this.layout="vertical"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomRatio",{get:function(){return this.getPropertyValue("bottomRatio")},set:function(t){this.setPropertyValue("bottomRatio",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sliceLinks",{get:function(){if(!this._sliceLinks){var t=new Le;t.applyOnClones=!0,t.fillOpacity=.5,t.expandDistance=-.3,t.hiddenState.properties.opacity=0,this._disposers.push(t),this._sliceLinks=new o.e(t),this._disposers.push(new o.c(this._sliceLinks))}return this._sliceLinks},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i=this,a=this.startIndex,n=this.endIndex,r=this.defaultState.transitionDuration;y.isNumber(e)&&(r=e);var s=0;return g.each(g.indexed(this.dataItems.iterator()),function(t){var e=t[0],o=t[1];i.sequencedInterpolation&&(s=i.sequencedInterpolationDelay*e+r*(e-a)/(n-a)),o.show(r,s,["value"])}),t.prototype.show.call(this,e)},e.prototype.hide=function(e){var i=this,a=["value"],n=this.startIndex,r=this.endIndex,s=0,o=this.hiddenState.transitionDuration;y.isNumber(e)&&(o=e),g.each(g.indexed(this.dataItems.iterator()),function(t){var e=t[0],l=t[1];i.sequencedInterpolation&&(s=i.sequencedInterpolationDelay*e+o*(e-n)/(r-n)),l.hide(o,s,0,a)});var l=t.prototype.hide.call(this,e);return l&&!l.isFinished()&&l.delay(s),l},e.prototype.setAlignLabels=function(e){t.prototype.setAlignLabels.call(this,e),this.ticks.template.disabled=!e;var i=this.labelsContainer;i&&(e?(i.height=void 0,i.width=void 0,i.margin(10,10,10,10)):(i.width=Object(Y.c)(100),i.height=Object(Y.c)(100))),this.labelsOpposite=this.labelsOpposite},Object.defineProperty(e.prototype,"labelsOpposite",{get:function(){return this.getPropertyValue("labelsOpposite")},set:function(t){this.setPropertyValue("labelsOpposite",t);var e=this.labels.template,i="none",a="none";this.alignLabels?t?(this.labelsContainer.toFront(),"vertical"==this.orientation?(this.ticks.template.locationX=1,e.horizontalCenter="left",i="right"):(this.ticks.template.locationY=1,e.horizontalCenter="right",a="bottom")):(this.labelsContainer.toBack(),"vertical"==this.orientation?(this.ticks.template.locationX=0,i="left"):(a="top",this.ticks.template.locationY=0)):"vertical"==this.orientation?i="center":a="middle",e.align=i,e.valign=a,this.validateLayout(),this.ticks.each(function(t){t.invalidate()}),this.invalidateDataItems()},enumerable:!0,configurable:!0}),e}(Re.a);c.b.registeredClasses.FunnelSeries=Ne,c.b.registeredClasses.FunnelSeriesDataItem=je;var Me=function(t){function e(){var e=t.call(this)||this;return e.className="PyramidSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(je),We=function(t){function e(){var e=t.call(this)||this;return e.className="PyramidSeries",e.topWidth=Object(Y.c)(0),e.bottomWidth=Object(Y.c)(100),e.pyramidHeight=Object(Y.c)(100),e.valueIs="area",e.sliceLinks.template.width=0,e.sliceLinks.template.height=0,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},e.prototype.createDataItem=function(){return new Me},e.prototype.validate=function(){t.prototype.validate.call(this),this._nextWidth=void 0},e.prototype.getNextValue=function(t){var e=t.index,i=t.getWorkingValue("value");e<this.dataItems.length-1&&(i=this.dataItems.getIndex(e+1).getWorkingValue("value"));return 0==i&&(i=1e-6),i},e.prototype.validateDataElements=function(){var e=this,i=this.slicesContainer.innerWidth,a=this.slicesContainer.innerHeight;if(this.dataItems.each(function(t){var n=t.getWorkingValue("value")/t.value,r=t.sliceLink;"vertical"==e.orientation?a-=r.pixelHeight*n:i-=r.pixelWidth*n}),this._pyramidHeight=F.relativeToValue(this.pyramidHeight,a),this._pyramidWidth=F.relativeToValue(this.pyramidHeight,i),"vertical"==this.orientation){var n=(a-this._pyramidHeight)/2;this.slicesContainer.y=n,this.labelsContainer.y=n,this.ticksContainer.y=n}else{var r=(i-this._pyramidWidth)/2;this.slicesContainer.x=r,this.labelsContainer.x=r,this.ticksContainer.x=r}t.prototype.validateDataElements.call(this)},e.prototype.decorateSlice=function(t){var e=this.dataItem.values.value.sum;if(0!=e){var i=t.slice,a=t.sliceLink,n=t.label,r=t.tick;this.getNextValue(t);var s=t.getWorkingValue("value");0==s&&(s=1e-6);var o=this._pyramidWidth,l=this._pyramidHeight,h=this.slicesContainer.innerWidth,u=this.slicesContainer.innerHeight,c=a.pixelWidth,d=a.pixelHeight;if("vertical"==this.orientation){var p=F.relativeToValue(this.topWidth,h);y.isNumber(this._nextWidth)||(this._nextWidth=p);var g=F.relativeToValue(this.bottomWidth,h),m=this._nextWidth,f=Math.atan2(l,p-g);0==(A=Math.tan(Math.PI/2-f))&&(A=1e-8);var x=void 0,v=void 0;if("area"==this.valueIs){var b=(p+g)/2*l*s/e,P=Math.abs(m*m-2*b*A);v=(2*b-(x=(m-Math.sqrt(P))/A)*m)/x}else{v=m-(x=l*s/this.dataItem.values.value.sum)*A}i.height=x,i.width=h,i.bottomWidth=v,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.y=this._nextY,this.alignLabels?n.x=0:n.x=h/2,n.y=i.pixelY+i.pixelHeight*r.locationY+i.dy,this._nextY+=i.pixelHeight+d*s/t.value,a.y=this._nextY-d,a.x=h/2}else{p=F.relativeToValue(this.topWidth,u);y.isNumber(this._nextWidth)||(this._nextWidth=p);var A;g=F.relativeToValue(this.bottomWidth,u),m=this._nextWidth,f=Math.atan2(o,p-g);0==(A=Math.tan(Math.PI/2-f))&&(A=1e-8);var C=void 0;v=void 0;if("area"==this.valueIs)v=(2*(b=(p+g)/2*o*s/this.dataItem.values.value.sum)-(C=(m-Math.sqrt(m*m-2*b*A))/A)*m)/C;else v=m-(C=o*s/this.dataItem.values.value.sum)*A;i.width=C,i.height=u,i.bottomWidth=v,i.topWidth=m,a.topWidth=i.bottomWidth,a.bottomWidth=i.bottomWidth,i.x=this._nextY,this.alignLabels?n.y=this.labelsContainer.measuredHeight:n.y=u/2,n.x=i.pixelX+i.pixelWidth*r.locationX+i.dx,this._nextY+=i.pixelWidth+c*s/t.value,a.x=this._nextY-c,a.y=u/2}this._nextWidth=i.bottomWidth}},Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.getPropertyValue("topWidth")},set:function(t){this.setPercentProperty("topWidth",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pyramidHeight",{get:function(){return this.getPropertyValue("pyramidHeight")},set:function(t){this.setPercentProperty("pyramidHeight",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.getPropertyValue("bottomWidth")},set:function(t){this.setPercentProperty("bottomWidth",t,!1,!1,10,!1)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueIs",{get:function(){return this.getPropertyValue("valueIs")},set:function(t){this.setPropertyValue("valueIs",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e}(Ne);c.b.registeredClasses.PyramidSeries=We,c.b.registeredClasses.PyramidSeriesDataItem=Me;var Be=function(t){function e(){var e=t.call(this)||this;return e.className="PictorialStackedSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(Me),Ee=function(t){function e(){var e=t.call(this)||this;return e.className="PictorialStackedSeries",e.topWidth=Object(Y.c)(100),e.bottomWidth=Object(Y.c)(100),e.valueIs="height",e.applyTheme(),e.startLocation=0,e.endLocation=1,e._maskSprite=e.slicesContainer.createChild(S.a),e._maskSprite.visible=!1,e._maskSprite.zIndex=100,e._maskSprite.shouldClone=!1,e}return n.c(e,t),e.prototype.validateDataElements=function(){var e=this.slicesContainer.maxWidth,i=this.slicesContainer.maxHeight,a=this._maskSprite,n=a.measuredWidth/a.scale,r=a.measuredHeight/a.scale,s=m.min(i/r,e/n);s==1/0&&(s=1),s=m.max(.001,s);var o=this.startLocation,l=this.endLocation,h=m.min(e,n*s),u=m.min(i,r*s);if(a.scale=s,"vertical"==this.orientation?(this.topWidth=h+4,this.bottomWidth=h+4,this.pyramidHeight=u*(l-o),a.x=e/2,a.y=u/2):(this.topWidth=u+4,this.bottomWidth=u+4,this.pyramidHeight=h*(l-o),a.valign="middle",a.x=h/2,a.y=i/2),a.verticalCenter="middle",a.horizontalCenter="middle",t.prototype.validateDataElements.call(this),"vertical"==this.orientation){var c=(i-u)/2;this.slicesContainer.y=c,this.labelsContainer.y=c,this.ticksContainer.y=c,this.slices.template.dy=o*u}else{var d=(e-h)/2;this.slicesContainer.x=d,this.labelsContainer.x=d,this.ticksContainer.x=d,this.slices.template.dx=o*h}this.slicesContainer.mask=this._maskSprite},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pyramid Series"))},e.prototype.createDataItem=function(){return new Be},Object.defineProperty(e.prototype,"maskSprite",{get:function(){return this._maskSprite},enumerable:!0,configurable:!0}),e.prototype.initSlice=function(e){t.prototype.initSlice.call(this,e);var i=e.states.getKey("hover");i&&(i.properties.expandDistance=0)},Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),e}(We);c.b.registeredClasses.PictorialStackedSeries=Ee,c.b.registeredClasses.PictorialStackedSeriesDataItem=Be;var He=i("BmDP"),ze=i("ncT3"),Ue=function(t){function e(){var e=t.call(this)||this;return e.className="ConeColumn",e}return n.c(e,t),e.prototype.createAssets=function(){this.coneColumn=this.createChild(ze.a),this.coneColumn.shouldClone=!1,this.column=this.coneColumn},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.coneColumn&&this.coneColumn.copyFrom(e.coneColumn)},e}(se);c.b.registeredClasses.ConeColumn=Ue;var Ke=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(oe),Ge=function(t){function e(){var e=t.call(this)||this;return e.className="ConeSeries",e.applyTheme(),e}return n.c(e,t),e.prototype.createColumnTemplate=function(){return new Ue},e.prototype.getMaskPath=function(){var t=0,e=0,i=this.columns.getIndex(0);if(i)return this.baseAxis==this.xAxis?e=i.coneColumn.bottom.radiusY+1:t=i.coneColumn.bottom.radiusY+1,w.rectToPath({x:-t,y:0,width:this.xAxis.axisLength+t,height:this.yAxis.axisLength+e})},e.prototype.validateDataElementReal=function(e){if(t.prototype.validateDataElementReal.call(this,e),e.column){var i=e.column.coneColumn;i.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical"}},e}(le);c.b.registeredClasses.ConeSeries=Ge,c.b.registeredClasses.ConeSeriesDataItem=Ke;var qe=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumn",e}return n.c(e,t),e.prototype.createAssets=function(){this.curvedColumn=this.createChild(S.a),this.curvedColumn.shouldClone=!1,this.setPropertyValue("tension",.7),this.width=Object(Y.c)(120),this.height=Object(Y.c)(120),this.column=this.curvedColumn},e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.realWidth,a=this.realHeight,n=this.realX-this.pixelX,r=this.realY-this.pixelY;F.used(this.width);var s=1,o=1;"vertical"==this.orientation?(s=this.tension,e=[{x:0,y:a+r},{x:i/2,y:r},{x:i,y:a+r}]):(o=this.tension,e=[{x:n,y:0},{x:n+i,y:a/2},{x:n,y:a}]);var l=w.moveTo(e[0])+new Z.b(s,o).smooth(e);this.column.path=l},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.curvedColumn&&this.curvedColumn.copyFrom(e.curvedColumn)},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(se);c.b.registeredClasses.CurvedColumn=qe;var Ze=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumnSeriesDataItem",e.applyTheme(),e}return n.c(e,t),e}(oe),Je=function(t){function e(){var e=t.call(this)||this;return e.className="CurvedColumnSeries",e.applyTheme(),e}return n.c(e,t),e.prototype.createColumnTemplate=function(){return new qe},e.prototype.validateDataElementReal=function(e){var i=e.column;i&&(e.column.curvedColumn.fill=e.column.fill,this.baseAxis==this.yAxis?i.orientation="horizontal":i.orientation="vertical");t.prototype.validateDataElementReal.call(this,e)},e}(le);c.b.registeredClasses.CurvedColumnSeries=Je,c.b.registeredClasses.CurvedColumnSeriesDataItem=Ze;var Qe=i("eN1s"),$e=i("TDx+"),ti=i("eAid"),ei=function(t){function e(){var e=t.call(this)||this;return e.className="DurationAxisDataItem",e.applyTheme(),e}return n.c(e,t),e}(l.b),ii=function(t){function e(){var e=t.call(this)||this;return e._baseUnit="second",e.className="DurationAxis",e.setPropertyValue("maxZoomFactor",1e6),e.applyTheme(),e}return n.c(e,t),e.prototype.formatLabel=function(t,e){return this.durationFormatter.format(t,e||this.axisDurationFormat)},e.prototype.adjustMinMax=function(e,i,a,r,s){var o,l,h,u=this.baseUnit;if(this.setPropertyValue("maxPrecision",0),"millisecond"==u||"second"==u||"minute"==u||"hour"==u){r<=1&&(r=1),r=Math.round(r);var c=e,d=i;0===a&&(a=Math.abs(i));var p,y=[60,30,20,15,10,2,1],g=1;"hour"==u&&(y=[24,12,6,4,2,1]);try{for(var f=n.g(y),x=f.next();!x.done;x=f.next()){var v=x.value;if(a/v>r){g=v;break}}}catch(t){l={error:t}}finally{try{x&&!x.done&&(h=f.return)&&h.call(f)}finally{if(l)throw l.error}}var b=Math.ceil((i-e)/g/r),P=Math.log(Math.abs(b))*Math.LOG10E,A=Math.pow(10,Math.floor(P))/10,C=b/A;p=g*(b=m.closest(y,C)*A),this.durationFormatter.getValueUnit(p,this.baseUnit),e=Math.floor(e/p)*p,i=Math.ceil(i/p)*p,s&&((e-=p)<0&&c>=0&&(e=0),(i+=p)>0&&d<=0&&(i=0)),o={min:e,max:i,step:p}}else o=t.prototype.adjustMinMax.call(this,e,i,a,r,s);return this.axisDurationFormat=this.durationFormatter.getFormat(o.step,o.max,this.baseUnit),o},Object.defineProperty(e.prototype,"tooltipDurationFormat",{get:function(){return this._tooltipDurationFormat},set:function(t){this._tooltipDurationFormat=t},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e=m.round(this.positionToValue(t),this._stepDecimalPlaces);return this.adapter.apply("getTooltipText",this.formatLabel(e,this.tooltipDurationFormat))},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit!=t&&(this._baseUnit=t,this.durationFormatter.baseUnit=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.baseUnit=e.baseUnit},e}(l.a);c.b.registeredClasses.DurationAxis=ii,c.b.registeredClasses.DurationAxisDataItem=ei;var ai=function(t){function e(){var e=t.call(this)||this;e.className="CircleBullet";var i=e.createChild(st.a);return i.shouldClone=!1,i.radius=5,i.isMeasured=!1,e.circle=i,e.applyTheme(),e}return n.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.circle.copyFrom(e.circle)},e}(et.a);c.b.registeredClasses.CircleBullet=ai;var ni=function(t){function e(){var e=t.call(this)||this;return e.className="ErrorBullet",e.errorLine=e.createChild(S.a),e.errorLine.shouldClone=!1,e.width=20,e.height=20,e.strokeOpacity=1,e.isDynamic=!0,e}return n.c(e,t),e.prototype.validatePosition=function(){t.prototype.validatePosition.call(this);var e=this.pixelWidth/2,i=this.pixelHeight/2;this.errorLine.path=w.moveTo({x:-e,y:-i})+w.lineTo({x:e,y:-i})+w.moveTo({x:0,y:-i})+w.lineTo({x:0,y:i})+w.moveTo({x:-e,y:i})+w.lineTo({x:e,y:i})},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.errorLine.copyFrom(e.errorLine)},e}(et.a);c.b.registeredClasses.ErrorBullet=ni;var ri=i("Y9w3"),si=i("A6AV"),oi=i("Trvg"),li=i("Rnbi"),hi=function(t){function e(){var e=t.call(this)||this;return e.className="NavigationBarDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this.properties.name},set:function(t){this.setProperty("name",t)},enumerable:!0,configurable:!0}),e}(si.a),ui=function(t){function e(){var e=t.call(this)||this;e.className="NavigationBar";var i=new W.a,a=new oi.a;a.valign="middle",a.paddingTop=8,a.paddingBottom=8,e.paddingBottom=2,e.links=new o.e(a),e._disposers.push(new o.c(e.links)),e._disposers.push(a),e._linksIterator=new g.ListIterator(e.links,function(){return e.links.create()}),e._linksIterator.createNewItems=!0;var n=new li.a;n.direction="right",n.width=8,n.height=12,n.fill=i.getFor("alternativeBackground"),n.fillOpacity=.5,n.valign="middle",n.marginLeft=10,n.marginRight=10,e.separators=new o.e(n),e._disposers.push(new o.c(e.separators)),e._disposers.push(n);var r=new oi.a;return e.activeLink=r,r.copyFrom(a),r.valign="middle",r.fontWeight="bold",e.width=Object(Y.c)(100),e.layout="grid",e.dataFields.name="name",e.applyTheme(),e}return n.c(e,t),e.prototype.validateDataElements=function(){this.removeChildren(),this._linksIterator.reset(),t.prototype.validateDataElements.call(this)},e.prototype.validateDataElement=function(e){var i;if(t.prototype.validateDataElement.call(this,e),e.index<this.dataItems.length-1){(i=this._linksIterator.getLast()).parent=this;var a=this.separators.create();a.parent=this,a.valign="middle"}else(i=this.activeLink).events.copyFrom(this.links.template.events),i.hide(0),i.show(),i.parent=this;i.dataItem=e,i.text=e.name,i.validate()},e}(ri.a);c.b.registeredClasses.NavigationBar=ui,c.b.registeredClasses.NavigationBarDataItem=hi,window.am4charts=a}},["XFs4"]);
//# sourceMappingURL=charts.js.map
/**
 * @license
 * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
 *
 * This sofware is provided under multiple licenses. Please see below for
 * links to appropriate usage.
 *
 * Free amCharts linkware license. Details and conditions:
 * https://github.com/amcharts/amcharts4/blob/master/LICENSE
 *
 * One of the amCharts commercial licenses. Details and pricing:
 * https://www.amcharts.com/online-store/
 * https://www.amcharts.com/online-store/licenses-explained/
 *
 * If in doubt, contact amCharts at contact@amcharts.com
 *
 * PLEASE DO NOT REMOVE THIS COPYRIGHT NOTICE.
 * @hidden
 */
am4internal_webpackJsonp(["ab45"],{lhmh:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("01H4"),n=function(t){Object(i.a)(t,"SpriteState")&&(t.transitionDuration=400),Object(i.a)(t,"Component")&&(t.rangeChangeDuration=700,t.interpolationDuration=700,t.sequencedInterpolation=!1,Object(i.a)(t,"SankeyDiagram")&&(t.sequencedInterpolation=!0),Object(i.a)(t,"FunnelSeries")&&(t.sequencedInterpolation=!0)),Object(i.a)(t,"Chart")&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),Object(i.a)(t,"Tooltip")&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),Object(i.a)(t,"Scrollbar")&&(t.animationDuration=700),Object(i.a)(t,"Series")&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),Object(i.a)(t,"MapSeries")&&(t.hiddenState.properties.opacity=0),Object(i.a)(t,"PercentSeries")&&(t.hiddenState.properties.opacity=0),Object(i.a)(t,"FunnelSlice")&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),Object(i.a)(t,"Slice")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),Object(i.a)(t,"Preloader")&&(t.hiddenState.transitionDuration=2e3),Object(i.a)(t,"Column")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),Object(i.a)(t,"Column3D")&&(t.hiddenState.properties.opacity=0)};window.am4themes_animated=n}},["lhmh"]);
//# sourceMappingURL=animated.js.map
if (!GC) {
    GC = {};
}

if (!GC.amCharts) {
    GC.amCharts = {};
}

function displayNameFromSymbol(symbol) {
    if (symbol == 'XAG') return 'Silver';
    if (symbol == 'XAU') return 'Gold';
    if (symbol == 'XPT') return 'Platinum';
    if (symbol == 'XPD') return 'Palladium';
    if (symbol == 'AG') return 'Silver';
    if (symbol == 'AU') return 'Gold';
    if (symbol == 'PT') return 'Platinum';
    if (symbol == 'PD') return 'Palladium';
}

GC.amCharts.loadSpotGuessFutureChart = function (am4core, metalSymbol, metalId) {
    //var last30DaysUrl = "/charts/get-last-30-days?symbol=";
    var spotGuessfutureChartUrl = "/charts/get-spot-guess-future?symbol=" + metalSymbol + "&metalId=" + metalId;
  
    var chart = am4core.create("jsSpotGuessFutureChartTarget", am4charts.XYChart);
    chart.paddingLeft = 0;
    chart.paddingRight = 0;

  

    chart.numberFormatter.numberFormat = '$#,###.00';
    chart.dateFormatter.inputDateFormat = 'yyyy-MM-dd HH:mm:ss';
    chart.dateFormatter.dateFormat = 'yyyy-MM-dd h:mm:ss a';

    //work around to fix amchart library bug when using "series.propertyFields.stroke = "color" before data loads (empty data)
    //TODO: update amchart library version which has a fix for this
    chart.data = [{ "price": 1952.80, "datetime": "2022-03-23 18:00:05", "strokecolor": "#7cb5ec" }];
    chart.dataSource.url = spotGuessfutureChartUrl;


    chart.dataSource.parser = new am4core.JSONParser();
    chart.dataSource.parser.options.emptyAs = 0;

    //date
    var dateAxis = chart.xAxes.push(new am4charts.DateAxis());
    dateAxis.tooltipDateFormat = "M/d/YYYY h:mm a";
    dateAxis.dateFormats.setKey("minute", "h:mm a");
    dateAxis.renderer.grid.template.disabled = true;
    dateAxis.renderer.grid.template.stroke.opacity = 0;
    if (window.innerWidth <= 500) {
        dateAxis.renderer.labels.template.inside = true;
        //dateAxis.renderer.labels.template.valign = "top";
    }
   
    //dateAxis.tooltip.disabled = true;
    dateAxis.tooltip.getFillFromObject = false;
    dateAxis.tooltip.background.stroke = am4core.color("#000");
    dateAxis.tooltip.background.fill = am4core.color('#fff');
    dateAxis.tooltip.background.fillOpacity = 0.9;



    //price
    var valueAxis = chart.yAxes.push(new am4charts.ValueAxis());
    valueAxis.tooltip.disabled = true;
    if (window.innerWidth > 500) {
        valueAxis.title.text = "Price";
    }

    //valueAxis.renderer.minWidth = 10;
    valueAxis.renderer.grid.template.stroke = am4core.color('#666666');
    valueAxis.renderer.inside = true;


    //line
    var series = chart.series.push(new am4charts.LineSeries());
    series.dataFields.dateX = "datetime";
    series.dataFields.valueY = "price";
    series.propertyFields.stroke = "strokecolor";
    series.propertyFields.fill = "fillcolor";
    series.fillOpacity = 0;
    //series.stroke = am4core.color('#7cb5ec');
    series.strokeWidth = 2;

    //line2
    var series2 = chart.series.push(new am4charts.LineSeries());
    series2.dataFields.dateX = "datetime";
    series2.dataFields.valueY = "price2";
    series2.propertyFields.stroke = "strokecolor2";
    series2.propertyFields.fill = "fillcolor2";
    series2.fillOpacity = 0.7;
    //series.stroke = am4core.color('#7cb5ec');
    series2.strokeWidth = 2;

    var bullet = series.bullets.push(new am4charts.CircleBullet());
    bullet.circle.strokeWidth = 2;
    bullet.circle.propertyFields.stroke = "bulletcolor";
    bullet.circle.propertyFields.fill = "bulletcolor";
    bullet.circle.propertyFields.disabled = "bulletdisabled";

    var bullet2 = series2.bullets.push(new am4charts.CircleBullet());
    bullet2.circle.strokeWidth = 2;
    bullet2.circle.propertyFields.stroke = "bulletcolor2";
    bullet2.circle.propertyFields.fill = "bulletcolor2";
    bullet2.circle.propertyFields.disabled = "bulletdisabled2";
  

    series.tooltip.getFillFromObject = false;
    series.tooltip.background.stroke = am4core.color("#7cb5ec");
    series.tooltip.background.fill = am4core.color('#fff');
    series.tooltip.background.fillOpacity = 0.8;
    series.tooltip.background.strokeWidth = 2;
    series.tooltipHTML = `<div class="gTooltip">
                            <span class="name"><strong>` + displayNameFromSymbol(metalSymbol) + ` Spot Price Prediction</strong> : {valueY}</span>
                          </div>`;
    series.tooltip.propertyFields.disabled = "bulletdisabled";

    //<span class="date">{dateX.formatDate("MMMM dd, yyyy")}</span>
    series2.tooltip.getFillFromObject = false;
    series2.tooltip.background.stroke = am4core.color("#7cb5ec");
    series2.tooltip.background.fill = am4core.color('#fff');
    series2.tooltip.background.fillOpacity = 0.8;
    series2.tooltip.background.strokeWidth = 2;
    series2.tooltipHTML = `<div class="gTooltip">
                            <span class="name"><strong>` + displayNameFromSymbol(metalSymbol) + ` Spot Price</strong> : {valueY}</span>
                          </div>`;
    series2.tooltip.propertyFields.disabled = "bulletdisabled2";

    series.showOnInit = false; //this will trigger valueAxis 'startendchanged' on page load

    chart.cursor = new am4charts.XYCursor();
    chart.cursor.lineY.opacity = 0;


    //valueAxis.events.on('startendchanged', function (ev) {
    //    var offset = (ev.target.maxZoomed - ev.target.minZoomed) / ev.target.maxZoomed
    //    applyNewGradient(offset);
    //})

    //chart.dataSource.events.on('done', function () {
    //        setTimeout(function () {
    //            dateAxis.zoomToDates(getMinZoomed(35), getMaxZoomed());
    //        }, 100);
    //});
  
    //function applyNewGradient(offset) {
    //    var gradient = new am4core.LinearGradient();
    //    gradient.addColor(am4core.color('#7cb5ec'), 1, 0);
    //    gradient.addColor(am4core.color('#fff'), 1, offset);
    //    gradient.rotation = 90;
    //    series.fill = gradient;
    //}

    //function getMinZoomed(numOfDays) {
    //    var min = new Date();
    //    min.setDate(getMaxZoomed().getDate() - numOfDays);

    //    return min;
    //}

    //function getMaxZoomed() {
    //    return new Date(dateAxis.maxZoomed);
    //}
  
}

GC.amCharts.loadHistoricalChart = function (am4core, metalSymbol, isMobile, dayRange) {
    var last24hoursUrl = "/charts/get-last-24-hours?symbol=";
    var last5DaysUrl =  "/charts/get-last-5-days?symbol=";
    var last30DaysUrl =  "/charts/get-last-30-days?symbol=";
    var last12MonthsUrl = '/charts/get-last-12-months?symbol=';
    var historicalUrl = '/charts/get-historical-lifetime?symbol=';

    var chart = am4core.create("jsHistoricalChartTarget", am4charts.XYChart);
    chart.paddingLeft = 0;
    chart.paddingRight = 0;

    chart.numberFormatter.numberFormat = '$#,###.00';
    chart.dateFormatter.inputDateFormat = 'yyyy-MM-dd HH:mm:ss';
    chart.dateFormatter.dateFormat = 'yyyy-MM-dd h:mm:ss a';

    //if (dayRange) {
        chart.dataSource.url = last12MonthsUrl + metalSymbol;
    //} else {
       // chart.dataSource.url = last24hoursUrl + metalSymbol;
    //}
   
    chart.dataSource.parser = new am4core.CSVParser();
    chart.dataSource.parser.options.useColumnNames = true;

    //date
    var dateAxis = chart.xAxes.push(new am4charts.DateAxis());
    dateAxis.tooltipDateFormat = "M/d/YYYY h:mm a";
    dateAxis.dateFormats.setKey("minute", "h:mm a");
    dateAxis.renderer.grid.template.disabled = true;
    dateAxis.renderer.grid.template.stroke.opacity = 0;
    //dateAxis.tooltip.disabled = true;
    dateAxis.tooltip.getFillFromObject = false;
    dateAxis.tooltip.background.stroke = am4core.color("#000");
    dateAxis.tooltip.background.fill = am4core.color('#fff');
    dateAxis.tooltip.background.fillOpacity=0.9;
   


    //price
    var valueAxis = chart.yAxes.push(new am4charts.ValueAxis());
    valueAxis.tooltip.disabled = true;
    if(!isMobile){
        valueAxis.title.text = "Price";
    }
   
    //valueAxis.renderer.minWidth = 10;
    valueAxis.renderer.grid.template.stroke = am4core.color('#666666');
    valueAxis.renderer.inside = true;


    //line
    var series = chart.series.push(new am4charts.LineSeries());
    series.dataFields.dateX = "datetime";
    series.dataFields.valueY = "price";
    series.fillOpacity = 0.7;
    series.stroke = am4core.color('#7cb5ec');
    series.strokeWidth = 2;
   
    series.tooltip.getFillFromObject = false;
    series.tooltip.background.stroke = am4core.color("#7cb5ec");
    series.tooltip.background.fill = am4core.color('#fff');
    series.tooltip.background.fillOpacity=0.8;
    series.tooltip.background.strokeWidth = 2;
    series.tooltipHTML = `<div class="gTooltip">
                            <span class="name"><strong>` + displayNameFromSymbol(metalSymbol) + `</strong> : {valueY}</span>
                          </div>`;
    //<span class="date">{dateX.formatDate("MMMM dd, yyyy")}</span>
    series.showOnInit = false; //this will trigger valueAxis 'startendchanged' on page load

    chart.cursor = new am4charts.XYCursor();
    chart.cursor.lineY.opacity = 0;

    var scrollbarX = new am4charts.XYChartScrollbar();
    scrollbarX.series.push(series);
    scrollbarX.scrollbarChart.xAxes.getIndex(0).minHeight = undefined;
    chart.scrollbarX = scrollbarX;
    chart.scrollbarX.parent = chart.bottomAxesContainer;
    chart.scrollbarX.scrollbarChart.series.getIndex(0).fillOpacity = 0.2;
    chart.scrollbarX.scrollbarChart.series.getIndex(0).filters.clear();
    //chart.scrollbarX.scrollbarChart.plotContainer.filters.clear();
    //chart.scrollbarX.parent = chart.BottomAxesContainer;
    //chart.scrollbarX = new am4charts.XYChartScrollbar();
    //
    //chart.scrollbarX.series.push(series);
    

    //chart.events.on("datavalidated", function () {
    //    dateAxis.zoom({ start: 0.86, end: 1 });
    //});

    //console.log(valueAxis);

    $('.jsHistoricalChart').on('click', '.jsPresetBtn', function () {
        var daysInRange = $(this).data('days-in-range');
        var historicalHasLoaded = $('#jsIsHistoricallyLoaded').val() == 'true';
        var currentRange = $('#jsCurrentRange').val();
        $('#jsCurrentRange').val(daysInRange);

        if (daysInRange == 0 && !historicalHasLoaded) {
            chart.dataSource.url = historicalUrl + metalSymbol;
            chart.dataSource.load();
            $('#jsIsHistoricallyLoaded').val(true);
            chart.zoomOutButton.dispatchImmediately('hit');

        }else if(daysInRange==1){
            chart.dataSource.url = last24hoursUrl + metalSymbol;
            chart.dataSource.load();

            chart.zoomOutButton.dispatchImmediately('hit');

        }else if(daysInRange==5){
            chart.dataSource.url = last5DaysUrl + metalSymbol;
            chart.dataSource.load();

            chart.zoomOutButton.dispatchImmediately('hit');

        }else if(daysInRange>5 && currentRange<=5 && currentRange!=0){
            chart.dataSource.url = last12MonthsUrl + metalSymbol;
            chart.dataSource.load();
           
        }else if(daysInRange>0){
            dateAxis.zoomToDates(getMinZoomed(daysInRange), getMaxZoomed());
        }
        else{
            chart.zoomOutButton.dispatchImmediately('hit');
        }


        if(daysInRange<=5 && daysInRange!=0){
            $('#jsIsHistoricallyLoaded').val(false);
        }


        $('.jsPresetBtn').removeClass('btn-secondary').addClass('btn-outline-dark');
        $(this).removeClass('btn-outline-dark').addClass('btn-secondary');
    });

    valueAxis.events.on('startendchanged', function(ev){
        var offset = (ev.target.maxZoomed - ev.target.minZoomed) / ev.target.maxZoomed
        applyNewGradient(offset);
    })

    //chart.events.on('ready', function(ev){
        //trigger zoom('startendchanged') on pageload to set gradient
        //valueAxis.zoomToValues(valueAxis.minZoomed, valueAxis.maxZoomed+0.01, false, false);
    //})

    chart.dataSource.events.on('done',function(){
        var currentRange = $('#jsCurrentRange').val();
        if(currentRange>5 && currentRange!=0){
            setTimeout(function () {
                dateAxis.zoomToDates(getMinZoomed(currentRange), getMaxZoomed());
            }, 100);
           
        }
    });

    function applyNewGradient(offset){
        var gradient = new am4core.LinearGradient();
        gradient.addColor(am4core.color('#7cb5ec'),1, 0);
        gradient.addColor(am4core.color('#fff'),1, offset);
        gradient.rotation = 90;
        series.fill = gradient;
    }

    function getMinZoomed(numOfDays) {
        var min = new Date();
        min.setDate(getMaxZoomed().getDate() - numOfDays);

        return min;
    }

    function getMaxZoomed() {
        return new Date(dateAxis.maxZoomed);
    }
};

GC.amCharts.loadBlogChart = function (am4core, source, metalSymbol, isMobile, dayRange) {
    var last5YearsUrl = source == "regular" ? '/charts/get-historical-lifetime?symbol=' : '/charts/get-london-fix-blog?symbol=';

    var chart = am4core.create("jsHistoricalChartTarget", am4charts.XYChart);
    chart.paddingLeft = 0;
    chart.paddingRight = 0;

    chart.numberFormatter.numberFormat = '$#,###.00';
    chart.dateFormatter.inputDateFormat = 'yyyy-MM-dd HH:mm:ss';
    chart.dateFormatter.dateFormat = 'yyyy-MM-dd h:mm:ss a';

    //if (dayRange) {
    chart.dataSource.url = last5YearsUrl + metalSymbol;
    //} else {
    // chart.dataSource.url = last24hoursUrl + metalSymbol;
    //}

    chart.dataSource.parser = new am4core.CSVParser();
    chart.dataSource.parser.options.useColumnNames = true;

    //date
    var dateAxis = chart.xAxes.push(new am4charts.DateAxis());
    dateAxis.tooltipDateFormat = "M/d/YYYY h:mm a";
    dateAxis.dateFormats.setKey("minute", "h:mm a");
    dateAxis.renderer.grid.template.disabled = true;
    dateAxis.renderer.grid.template.stroke.opacity = 0;
    //dateAxis.tooltip.disabled = true;
    dateAxis.tooltip.getFillFromObject = false;
    dateAxis.tooltip.background.stroke = am4core.color("#000");
    dateAxis.tooltip.background.fill = am4core.color('#fff');
    dateAxis.tooltip.background.fillOpacity = 0.9;



    //price
    var valueAxis = chart.yAxes.push(new am4charts.ValueAxis());
    valueAxis.tooltip.disabled = true;
    if (!isMobile) {
        valueAxis.title.text = "Price";
    }

    //valueAxis.renderer.minWidth = 10;
    valueAxis.renderer.grid.template.stroke = am4core.color('#666666');
    valueAxis.renderer.inside = true;


    //line
    var series = chart.series.push(new am4charts.LineSeries());
    series.dataFields.dateX = "datetime";
    series.dataFields.valueY = "price";
    series.fillOpacity = 0.7;
    series.stroke = am4core.color('#7cb5ec');
    series.strokeWidth = 2;

    series.tooltip.getFillFromObject = false;
    series.tooltip.background.stroke = am4core.color("#7cb5ec");
    series.tooltip.background.fill = am4core.color('#fff');
    series.tooltip.background.fillOpacity = 0.8;
    series.tooltip.background.strokeWidth = 2;
    series.tooltipHTML = `<div class="gTooltip">
                            <span class="name"><strong>` + displayNameFromSymbol(metalSymbol) + `</strong> : {valueY}</span>
                          </div>`;
    //<span class="date">{dateX.formatDate("MMMM dd, yyyy")}</span>
    series.showOnInit = false; //this will trigger valueAxis 'startendchanged' on page load

    chart.cursor = new am4charts.XYCursor();
    chart.cursor.lineY.opacity = 0;

    //var scrollbarX = new am4charts.XYChartScrollbar();
    //scrollbarX.series.push(series);
    //scrollbarX.scrollbarChart.xAxes.getIndex(0).minHeight = undefined;
    //chart.scrollbarX = scrollbarX;
    //chart.scrollbarX.parent = chart.bottomAxesContainer;
    //chart.scrollbarX.scrollbarChart.series.getIndex(0).fillOpacity = 0.2;
    //chart.scrollbarX.scrollbarChart.series.getIndex(0).filters.clear();
    //chart.scrollbarX.scrollbarChart.plotContainer.filters.clear();
    //chart.scrollbarX.parent = chart.BottomAxesContainer;
    //chart.scrollbarX = new am4charts.XYChartScrollbar();
    //
    //chart.scrollbarX.series.push(series);


    //chart.events.on("datavalidated", function () {
    //    dateAxis.zoom({ start: 0.86, end: 1 });
    //});

    //console.log(valueAxis);

  

    valueAxis.events.on('startendchanged', function (ev) {
        var offset = (ev.target.maxZoomed - ev.target.minZoomed) / ev.target.maxZoomed
        applyNewGradient(offset);
    })

    //chart.events.on('ready', function(ev){
    //trigger zoom('startendchanged') on pageload to set gradient
    //valueAxis.zoomToValues(valueAxis.minZoomed, valueAxis.maxZoomed+0.01, false, false);
    //})

    chart.dataSource.events.on('done', function () {
        var currentRange = $('#jsCurrentRange').val();
        if (currentRange > 5 && currentRange != 0) {
            setTimeout(function () {
                dateAxis.zoomToDates(getMinZoomed(currentRange), getMaxZoomed());
            }, 100);

        }
    });

    function applyNewGradient(offset) {
        var gradient = new am4core.LinearGradient();
        gradient.addColor(am4core.color('#7cb5ec'), 1, 0);
        gradient.addColor(am4core.color('#fff'), 1, offset);
        gradient.rotation = 90;
        series.fill = gradient;
    }

    function getMinZoomed(numOfDays) {
        var min = new Date();
        min.setDate(getMaxZoomed().getDate() - numOfDays);

        return min;
    }

    function getMaxZoomed() {
        return new Date(dateAxis.maxZoomed);
    }
};

GC.amCharts.load24HourChart = function (am4core, symbol) {
    var chart = am4core.create("js24HourChartTarget", am4charts.XYChart);
    chart.paddingRight = 20;

    chart.numberFormatter.numberFormat = '$#,###.00';
    chart.dateFormatter.inputDateFormat = 'yyyy-MM-dd HH:mm:ss';
    chart.dateFormatter.dateFormat = 'yyyy-MM-dd h:mm:ss a';

    chart.dataSource.url = "/charts/get-last-24-hours?symbol=" + symbol;
    chart.dataSource.parser = new am4core.CSVParser();
    chart.dataSource.parser.options.useColumnNames = true;

    chart.colors.list = [
        am4core.color('#eddb52')
    ];

    var dateAxis = chart.xAxes.push(new am4charts.DateAxis());
    dateAxis.baseInterval = {
        "timeUnit": "minute",
        "count": 1
    };

    //dateAxis.tooltipDateFormat = "M/d/YYYY h:mm a";
    dateAxis.dateFormats.setKey("minute", "h:mm a");
    dateAxis.renderer.grid.template.disabled = true;
    dateAxis.renderer.grid.template.stroke.opacity = 0;
    dateAxis.tooltip.disabled = true;

    var valueAxis = chart.yAxes.push(new am4charts.ValueAxis());
    //valueAxis.tooltip.disabled = true;
    valueAxis.title.text = "Price";
    valueAxis.renderer.grid.template.stroke = am4core.color('#c9c3c8');
    valueAxis.renderer.inside = true;


    var series = chart.series.push(new am4charts.LineSeries());
    series.dataFields.dateX = "datetime";
    series.dataFields.valueY = "price";
    series.fillOpacity = 0.5;
    series.stroke = am4core.color('#fdba3a');
    series.strokeWidth = 2;
    series.tooltipHTML = `<div class="gTooltip">
                            <span class="date">{dateX.formatDate("MMMM dd, yyyy h:mm a")}</span>
                            <span class="name"><strong>` + displayNameFromSymbol(symbol) + `</strong> - {valueY}</span>
                          </div>`;


    chart.cursor = new am4charts.XYCursor();
    chart.cursor.lineY.opacity = 0;
    //chart.scrollbarX = new am4charts.XYChartScrollbar();
    //chart.scrollbarX.series.push(series);

    chart.events.on("datavalidated", function () {
        dateAxis.zoom({ start: 0, end: 1 });
    });
};

GC.amCharts.load24HourChartMobile = function (am4core, symbol) {
    var chart = am4core.create("js24HourChartTarget", am4charts.XYChart);

    chart.numberFormatter.numberFormat = symbol === 'XAG' ? '$#,###.00' : '$#,###.';
    chart.dateFormatter.inputDateFormat = 'yyyy-MM-dd HH:mm:ss';
    chart.dateFormatter.dateFormat = 'MMMM dt, h:mm a';

    chart.dataSource.url = "/charts/get-last-24-hours?symbol=" + symbol;
    chart.dataSource.parser = new am4core.CSVParser();
    chart.dataSource.parser.options.useColumnNames = true; // use column names from csv file

    chart.colors.list = [
       am4core.color('#eddb52')
    ];

    chart.cursor = new am4charts.XYCursor();
    chart.cursor.lineY.opacity = 0;

    var dateAxis = chart.xAxes.push(new am4charts.DateAxis());
    dateAxis.baseInterval = { "timeUnit": "min", "count": 10 };
    dateAxis.tooltip.disabled = true; // don't show tooltip on the x axis
    dateAxis.dateFormats.setKey("hour", "h a");
    dateAxis.periodChangeDateFormats.setKey("hour", "MMMM dt"); // at midnight, show month and day instead of time
    dateAxis.renderer.grid.template.disabled = true; // don't show vertical grid lines
    dateAxis.renderer.maxGridDistance = 50;

    var valueAxis = chart.yAxes.push(new am4charts.ValueAxis());
    valueAxis.tooltip.disabled = true; // don't show tooltip on the y axis
    valueAxis.renderer.minGridDistance = 75; // min distance between grid lines in pixels
    valueAxis.renderer.inside = true; // show the key on the inside of graph to maximize graph length

    var series = chart.series.push(new am4charts.LineSeries());
    series.dataFields.dateX = "datetime";
    series.dataFields.valueY = "price";
    series.fillOpacity = 0.5;
    series.stroke = am4core.color('#fdba3a');
    series.strokeWidth = 2;
    series.tooltipHTML = `<div class="gTooltip">
                        <span class="date">{dateX.formatDate("MMMM dd, yyyy h:mm a")}</span>
                        <span class="name"><strong>` + displayNameFromSymbol(symbol) + `</strong> - {valueY}</span>
                      </div>`;

    chart.cursor = new am4charts.XYCursor();
    chart.cursor.lineY.opacity = 0;
};



'use strict';

document.addEventListener('DOMContentLoaded', function () {

    const accTitle = document.querySelectorAll('.faq__item_title');

    Array.prototype.forEach.call(accTitle, function (item) {
        const accDescr = item.nextElementSibling;

        //pre expand
        if (accDescr) {
            accDescr.style.maxHeight = accDescr.scrollHeight + "px";
            accDescr.classList.add('active');
        }
        item.classList.add('active');

        item.addEventListener('click', function () {
            if (item.classList.contains('active')) {
                accDescr.style.maxHeight = "0";
                accDescr.classList.remove('active');
                item.classList.remove('active');
            } else {
                accDescr.style.maxHeight = accDescr.scrollHeight + "px";
                accDescr.classList.add('active');
                item.classList.add('active');
            }
        });
    });

});
/*
     _ _      _       _
 ___| (_) ___| | __  (_)___
/ __| | |/ __| |/ /  | / __|
\__ \ | | (__|   < _ | \__ \
|___/_|_|\___|_|\_(_)/ |___/
                   |__/

 Version: 1.8.0
  Author: Ken Wheeler
 Website: http://kenwheeler.github.io
    Docs: http://kenwheeler.github.io/slick
    Repo: http://github.com/kenwheeler/slick
  Issues: http://github.com/kenwheeler/slick/issues

 */
/* global window, document, define, jQuery, setInterval, clearInterval */
; (function (factory) {
    'use strict';
    if (typeof define === 'function' && define.amd) {
        define(['jquery'], factory);
    } else if (typeof exports !== 'undefined') {
        module.exports = factory(require('jquery'));
    } else {
        factory(jQuery);
    }

}(function ($) {
    'use strict';
    var Slick = window.Slick || {};

    Slick = (function () {

        var instanceUid = 0;

        function Slick(element, settings) {

            var _ = this, dataSettings;

            _.defaults = {
                accessibility: true,
                adaptiveHeight: false,
                appendArrows: $(element),
                appendDots: $(element),
                arrows: true,
                asNavFor: null,
                prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',
                nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>',
                autoplay: false,
                autoplaySpeed: 3000,
                centerMode: false,
                centerPadding: '50px',
                cssEase: 'ease',
                customPaging: function (slider, i) {
                    return $('<button type="button" />').text(i + 1);
                },
                dots: false,
                dotsClass: 'slick-dots',
                draggable: true,
                easing: 'linear',
                edgeFriction: 0.35,
                fade: false,
                focusOnSelect: false,
                focusOnChange: false,
                infinite: true,
                initialSlide: 0,
                lazyLoad: 'ondemand',
                mobileFirst: false,
                pauseOnHover: true,
                pauseOnFocus: true,
                pauseOnDotsHover: false,
                respondTo: 'window',
                responsive: null,
                rows: 1,
                rtl: false,
                slide: '',
                slidesPerRow: 1,
                slidesToShow: 1,
                slidesToScroll: 1,
                speed: 500,
                swipe: true,
                swipeToSlide: false,
                touchMove: true,
                touchThreshold: 5,
                useCSS: true,
                useTransform: true,
                variableWidth: false,
                vertical: false,
                verticalSwiping: false,
                waitForAnimate: true,
                zIndex: 1000
            };

            _.initials = {
                animating: false,
                dragging: false,
                autoPlayTimer: null,
                currentDirection: 0,
                currentLeft: null,
                currentSlide: 0,
                direction: 1,
                $dots: null,
                listWidth: null,
                listHeight: null,
                loadIndex: 0,
                $nextArrow: null,
                $prevArrow: null,
                scrolling: false,
                slideCount: null,
                slideWidth: null,
                $slideTrack: null,
                $slides: null,
                sliding: false,
                slideOffset: 0,
                swipeLeft: null,
                swiping: false,
                $list: null,
                touchObject: {},
                transformsEnabled: false,
                unslicked: false
            };

            $.extend(_, _.initials);

            _.activeBreakpoint = null;
            _.animType = null;
            _.animProp = null;
            _.breakpoints = [];
            _.breakpointSettings = [];
            _.cssTransitions = false;
            _.focussed = false;
            _.interrupted = false;
            _.hidden = 'hidden';
            _.paused = true;
            _.positionProp = null;
            _.respondTo = null;
            _.rowCount = 1;
            _.shouldClick = true;
            _.$slider = $(element);
            _.$slidesCache = null;
            _.transformType = null;
            _.transitionType = null;
            _.visibilityChange = 'visibilitychange';
            _.windowWidth = 0;
            _.windowTimer = null;

            dataSettings = $(element).data('slick') || {};

            _.options = $.extend({}, _.defaults, settings, dataSettings);

            _.currentSlide = _.options.initialSlide;

            _.originalSettings = _.options;

            if (typeof document.mozHidden !== 'undefined') {
                _.hidden = 'mozHidden';
                _.visibilityChange = 'mozvisibilitychange';
            } else if (typeof document.webkitHidden !== 'undefined') {
                _.hidden = 'webkitHidden';
                _.visibilityChange = 'webkitvisibilitychange';
            }

            _.autoPlay = $.proxy(_.autoPlay, _);
            _.autoPlayClear = $.proxy(_.autoPlayClear, _);
            _.autoPlayIterator = $.proxy(_.autoPlayIterator, _);
            _.changeSlide = $.proxy(_.changeSlide, _);
            _.clickHandler = $.proxy(_.clickHandler, _);
            _.selectHandler = $.proxy(_.selectHandler, _);
            _.setPosition = $.proxy(_.setPosition, _);
            _.swipeHandler = $.proxy(_.swipeHandler, _);
            _.dragHandler = $.proxy(_.dragHandler, _);
            _.keyHandler = $.proxy(_.keyHandler, _);

            _.instanceUid = instanceUid++;

            // A simple way to check for HTML strings
            // Strict HTML recognition (must start with <)
            // Extracted from jQuery v1.11 source
            _.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/;


            _.registerBreakpoints();
            _.init(true);

        }

        return Slick;

    }());

    Slick.prototype.activateADA = function () {
        var _ = this;

        _.$slideTrack.find('.slick-active').attr({
            'aria-hidden': 'false'
        }).find('a, input, button, select').attr({
            'tabindex': '0'
        });

    };

    Slick.prototype.addSlide = Slick.prototype.slickAdd = function (markup, index, addBefore) {

        var _ = this;

        if (typeof (index) === 'boolean') {
            addBefore = index;
            index = null;
        } else if (index < 0 || (index >= _.slideCount)) {
            return false;
        }

        _.unload();

        if (typeof (index) === 'number') {
            if (index === 0 && _.$slides.length === 0) {
                $(markup).appendTo(_.$slideTrack);
            } else if (addBefore) {
                $(markup).insertBefore(_.$slides.eq(index));
            } else {
                $(markup).insertAfter(_.$slides.eq(index));
            }
        } else {
            if (addBefore === true) {
                $(markup).prependTo(_.$slideTrack);
            } else {
                $(markup).appendTo(_.$slideTrack);
            }
        }

        _.$slides = _.$slideTrack.children(this.options.slide);

        _.$slideTrack.children(this.options.slide).detach();

        _.$slideTrack.append(_.$slides);

        _.$slides.each(function (index, element) {
            $(element).attr('data-slick-index', index);
        });

        _.$slidesCache = _.$slides;

        _.reinit();

    };

    Slick.prototype.animateHeight = function () {
        var _ = this;
        if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
            var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
            _.$list.animate({
                height: targetHeight
            }, _.options.speed);
        }
    };

    Slick.prototype.animateSlide = function (targetLeft, callback) {

        var animProps = {},
            _ = this;

        _.animateHeight();

        if (_.options.rtl === true && _.options.vertical === false) {
            targetLeft = -targetLeft;
        }
        if (_.transformsEnabled === false) {
            if (_.options.vertical === false) {
                _.$slideTrack.animate({
                    left: targetLeft
                }, _.options.speed, _.options.easing, callback);
            } else {
                _.$slideTrack.animate({
                    top: targetLeft
                }, _.options.speed, _.options.easing, callback);
            }

        } else {

            if (_.cssTransitions === false) {
                if (_.options.rtl === true) {
                    _.currentLeft = -(_.currentLeft);
                }
                $({
                    animStart: _.currentLeft
                }).animate({
                    animStart: targetLeft
                }, {
                    duration: _.options.speed,
                    easing: _.options.easing,
                    step: function (now) {
                        now = Math.ceil(now);
                        if (_.options.vertical === false) {
                            animProps[_.animType] = 'translate(' +
                                now + 'px, 0px)';
                            _.$slideTrack.css(animProps);
                        } else {
                            animProps[_.animType] = 'translate(0px,' +
                                now + 'px)';
                            _.$slideTrack.css(animProps);
                        }
                    },
                    complete: function () {
                        if (callback) {
                            callback.call();
                        }
                    }
                });

            } else {

                _.applyTransition();
                targetLeft = Math.ceil(targetLeft);

                if (_.options.vertical === false) {
                    animProps[_.animType] = 'translate3d(' + targetLeft + 'px, 0px, 0px)';
                } else {
                    animProps[_.animType] = 'translate3d(0px,' + targetLeft + 'px, 0px)';
                }
                _.$slideTrack.css(animProps);

                if (callback) {
                    setTimeout(function () {

                        _.disableTransition();

                        callback.call();
                    }, _.options.speed);
                }

            }

        }

    };

    Slick.prototype.getNavTarget = function () {

        var _ = this,
            asNavFor = _.options.asNavFor;

        if (asNavFor && asNavFor !== null) {
            asNavFor = $(asNavFor).not(_.$slider);
        }

        return asNavFor;

    };

    Slick.prototype.asNavFor = function (index) {

        var _ = this,
            asNavFor = _.getNavTarget();

        if (asNavFor !== null && typeof asNavFor === 'object') {
            asNavFor.each(function () {
                var target = $(this).slick('getSlick');
                if (!target.unslicked) {
                    target.slideHandler(index, true);
                }
            });
        }

    };

    Slick.prototype.applyTransition = function (slide) {

        var _ = this,
            transition = {};

        if (_.options.fade === false) {
            transition[_.transitionType] = _.transformType + ' ' + _.options.speed + 'ms ' + _.options.cssEase;
        } else {
            transition[_.transitionType] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssEase;
        }

        if (_.options.fade === false) {
            _.$slideTrack.css(transition);
        } else {
            _.$slides.eq(slide).css(transition);
        }

    };

    Slick.prototype.autoPlay = function () {

        var _ = this;

        _.autoPlayClear();

        if (_.slideCount > _.options.slidesToShow) {
            _.autoPlayTimer = setInterval(_.autoPlayIterator, _.options.autoplaySpeed);
        }

    };

    Slick.prototype.autoPlayClear = function () {

        var _ = this;

        if (_.autoPlayTimer) {
            clearInterval(_.autoPlayTimer);
        }

    };

    Slick.prototype.autoPlayIterator = function () {

        var _ = this,
            slideTo = _.currentSlide + _.options.slidesToScroll;

        if (!_.paused && !_.interrupted && !_.focussed) {

            if (_.options.infinite === false) {

                if (_.direction === 1 && (_.currentSlide + 1) === (_.slideCount - 1)) {
                    _.direction = 0;
                }

                else if (_.direction === 0) {

                    slideTo = _.currentSlide - _.options.slidesToScroll;

                    if (_.currentSlide - 1 === 0) {
                        _.direction = 1;
                    }

                }

            }

            _.slideHandler(slideTo);

        }

    };

    Slick.prototype.buildArrows = function () {

        var _ = this;

        if (_.options.arrows === true) {

            _.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow');
            _.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow');

            if (_.slideCount > _.options.slidesToShow) {

                _.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
                _.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');

                if (_.htmlExpr.test(_.options.prevArrow)) {
                    _.$prevArrow.prependTo(_.options.appendArrows);
                }

                if (_.htmlExpr.test(_.options.nextArrow)) {
                    _.$nextArrow.appendTo(_.options.appendArrows);
                }

                if (_.options.infinite !== true) {
                    _.$prevArrow
                        .addClass('slick-disabled')
                        .attr('aria-disabled', 'true');
                }

            } else {

                _.$prevArrow.add(_.$nextArrow)

                    .addClass('slick-hidden')
                    .attr({
                        'aria-disabled': 'true',
                        'tabindex': '-1'
                    });

            }

        }

    };

    Slick.prototype.buildDots = function () {

        var _ = this,
            i, dot;

        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {

            _.$slider.addClass('slick-dotted');

            dot = $('<ul />').addClass(_.options.dotsClass);

            for (i = 0; i <= _.getDotCount() ; i += 1) {
                dot.append($('<li />').append(_.options.customPaging.call(this, _, i)));
            }

            _.$dots = dot.appendTo(_.options.appendDots);

            _.$dots.find('li').first().addClass('slick-active');

        }

    };

    Slick.prototype.buildOut = function () {

        var _ = this;

        _.$slides =
            _.$slider
                .children(_.options.slide + ':not(.slick-cloned)')
                .addClass('slick-slide');

        _.slideCount = _.$slides.length;

        _.$slides.each(function (index, element) {
            $(element)
                .attr('data-slick-index', index)
                .data('originalStyling', $(element).attr('style') || '');
        });

        _.$slider.addClass('slick-slider');

        _.$slideTrack = (_.slideCount === 0) ?
            $('<div class="slick-track"/>').appendTo(_.$slider) :
            _.$slides.wrapAll('<div class="slick-track"/>').parent();

        _.$list = _.$slideTrack.wrap(
            '<div class="slick-list"/>').parent();
        _.$slideTrack.css('opacity', 0);

        if (_.options.centerMode === true || _.options.swipeToSlide === true) {
            _.options.slidesToScroll = 1;
        }

        $('img[data-lazy]', _.$slider).not('[src]').addClass('slick-loading');

        _.setupInfinite();

        _.buildArrows();

        _.buildDots();

        _.updateDots();


        _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);

        if (_.options.draggable === true) {
            _.$list.addClass('draggable');
        }

    };

    Slick.prototype.buildRows = function () {

        var _ = this, a, b, c, newSlides, numOfSlides, originalSlides, slidesPerSection;

        newSlides = document.createDocumentFragment();
        originalSlides = _.$slider.children();

        if (_.options.rows > 0) {

            slidesPerSection = _.options.slidesPerRow * _.options.rows;
            numOfSlides = Math.ceil(
                originalSlides.length / slidesPerSection
            );

            for (a = 0; a < numOfSlides; a++) {
                var slide = document.createElement('div');
                for (b = 0; b < _.options.rows; b++) {
                    var row = document.createElement('div');
                    for (c = 0; c < _.options.slidesPerRow; c++) {
                        var target = (a * slidesPerSection + ((b * _.options.slidesPerRow) + c));
                        if (originalSlides.get(target)) {
                            row.appendChild(originalSlides.get(target));
                        }
                    }
                    slide.appendChild(row);
                }
                newSlides.appendChild(slide);
            }

            _.$slider.empty().append(newSlides);
            _.$slider.children().children().children()
                .css({
                    'width': (100 / _.options.slidesPerRow) + '%',
                    'display': 'inline-block'
                });

        }

    };

    Slick.prototype.checkResponsive = function (initial, forceUpdate) {

        var _ = this,
            breakpoint, targetBreakpoint, respondToWidth, triggerBreakpoint = false;
        var sliderWidth = _.$slider.width();
        var windowWidth = window.innerWidth || $(window).width();

        if (_.respondTo === 'window') {
            respondToWidth = windowWidth;
        } else if (_.respondTo === 'slider') {
            respondToWidth = sliderWidth;
        } else if (_.respondTo === 'min') {
            respondToWidth = Math.min(windowWidth, sliderWidth);
        }

        if (_.options.responsive &&
            _.options.responsive.length &&
            _.options.responsive !== null) {

            targetBreakpoint = null;

            for (breakpoint in _.breakpoints) {
                if (_.breakpoints.hasOwnProperty(breakpoint)) {
                    if (_.originalSettings.mobileFirst === false) {
                        if (respondToWidth < _.breakpoints[breakpoint]) {
                            targetBreakpoint = _.breakpoints[breakpoint];
                        }
                    } else {
                        if (respondToWidth > _.breakpoints[breakpoint]) {
                            targetBreakpoint = _.breakpoints[breakpoint];
                        }
                    }
                }
            }

            if (targetBreakpoint !== null) {
                if (_.activeBreakpoint !== null) {
                    if (targetBreakpoint !== _.activeBreakpoint || forceUpdate) {
                        _.activeBreakpoint =
                            targetBreakpoint;
                        if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
                            _.unslick(targetBreakpoint);
                        } else {
                            _.options = $.extend({}, _.originalSettings,
                                _.breakpointSettings[
                                    targetBreakpoint]);
                            if (initial === true) {
                                _.currentSlide = _.options.initialSlide;
                            }
                            _.refresh(initial);
                        }
                        triggerBreakpoint = targetBreakpoint;
                    }
                } else {
                    _.activeBreakpoint = targetBreakpoint;
                    if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
                        _.unslick(targetBreakpoint);
                    } else {
                        _.options = $.extend({}, _.originalSettings,
                            _.breakpointSettings[
                                targetBreakpoint]);
                        if (initial === true) {
                            _.currentSlide = _.options.initialSlide;
                        }
                        _.refresh(initial);
                    }
                    triggerBreakpoint = targetBreakpoint;
                }
            } else {
                if (_.activeBreakpoint !== null) {
                    _.activeBreakpoint = null;
                    _.options = _.originalSettings;
                    if (initial === true) {
                        _.currentSlide = _.options.initialSlide;
                    }
                    _.refresh(initial);
                    triggerBreakpoint = targetBreakpoint;
                }
            }

            // only trigger breakpoints during an actual break. not on initialize.
            if (!initial && triggerBreakpoint !== false) {
                _.$slider.trigger('breakpoint', [_, triggerBreakpoint]);
            }
        }

    };

    Slick.prototype.changeSlide = function (event, dontAnimate) {

        var _ = this,
            $target = $(event.currentTarget),
            indexOffset, slideOffset, unevenOffset;

        // If target is a link, prevent default action.
        if ($target.is('a')) {
            event.preventDefault();
        }

        // If target is not the <li> element (ie: a child), find the <li>.
        if (!$target.is('li')) {
            $target = $target.closest('li');
        }

        unevenOffset = (_.slideCount % _.options.slidesToScroll !== 0);
        indexOffset = unevenOffset ? 0 : (_.slideCount - _.currentSlide) % _.options.slidesToScroll;

        switch (event.data.message) {

            case 'previous':
                slideOffset = indexOffset === 0 ? _.options.slidesToScroll : _.options.slidesToShow - indexOffset;
                if (_.slideCount > _.options.slidesToShow) {
                    _.slideHandler(_.currentSlide - slideOffset, false, dontAnimate);
                }
                break;

            case 'next':
                slideOffset = indexOffset === 0 ? _.options.slidesToScroll : indexOffset;
                if (_.slideCount > _.options.slidesToShow) {
                    _.slideHandler(_.currentSlide + slideOffset, false, dontAnimate);
                }
                break;

            case 'index':
                var index = event.data.index === 0 ? 0 :
                    event.data.index || $target.index() * _.options.slidesToScroll;

                _.slideHandler(_.checkNavigable(index), false, dontAnimate);
                $target.children().trigger('focus');
                break;

            default:
                return;
        }

    };

    Slick.prototype.checkNavigable = function (index) {

        var _ = this,
            navigables, prevNavigable;

        navigables = _.getNavigableIndexes();
        prevNavigable = 0;
        if (index > navigables[navigables.length - 1]) {
            index = navigables[navigables.length - 1];
        } else {
            for (var n in navigables) {
                if (index < navigables[n]) {
                    index = prevNavigable;
                    break;
                }
                prevNavigable = navigables[n];
            }
        }

        return index;
    };

    Slick.prototype.cleanUpEvents = function () {

        var _ = this;

        if (_.options.dots && _.$dots !== null) {

            $('li', _.$dots)
                .off('click.slick', _.changeSlide)
                .off('mouseenter.slick', $.proxy(_.interrupt, _, true))
                .off('mouseleave.slick', $.proxy(_.interrupt, _, false));

            if (_.options.accessibility === true) {
                _.$dots.off('keydown.slick', _.keyHandler);
            }
        }

        _.$slider.off('focus.slick blur.slick');

        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
            _.$prevArrow && _.$prevArrow.off('click.slick', _.changeSlide);
            _.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide);

            if (_.options.accessibility === true) {
                _.$prevArrow && _.$prevArrow.off('keydown.slick', _.keyHandler);
                _.$nextArrow && _.$nextArrow.off('keydown.slick', _.keyHandler);
            }
        }

        _.$list.off('touchstart.slick mousedown.slick', _.swipeHandler);
        _.$list.off('touchmove.slick mousemove.slick', _.swipeHandler);
        _.$list.off('touchend.slick mouseup.slick', _.swipeHandler);
        _.$list.off('touchcancel.slick mouseleave.slick', _.swipeHandler);

        _.$list.off('click.slick', _.clickHandler);

        $(document).off(_.visibilityChange, _.visibility);

        _.cleanUpSlideEvents();

        if (_.options.accessibility === true) {
            _.$list.off('keydown.slick', _.keyHandler);
        }

        if (_.options.focusOnSelect === true) {
            $(_.$slideTrack).children().off('click.slick', _.selectHandler);
        }

        $(window).off('orientationchange.slick.slick-' + _.instanceUid, _.orientationChange);

        $(window).off('resize.slick.slick-' + _.instanceUid, _.resize);

        $('[draggable!=true]', _.$slideTrack).off('dragstart', _.preventDefault);

        $(window).off('load.slick.slick-' + _.instanceUid, _.setPosition);

    };

    Slick.prototype.cleanUpSlideEvents = function () {

        var _ = this;

        _.$list.off('mouseenter.slick', $.proxy(_.interrupt, _, true));
        _.$list.off('mouseleave.slick', $.proxy(_.interrupt, _, false));

    };

    Slick.prototype.cleanUpRows = function () {

        var _ = this, originalSlides;

        if (_.options.rows > 0) {
            originalSlides = _.$slides.children().children();
            originalSlides.removeAttr('style');
            _.$slider.empty().append(originalSlides);
        }

    };

    Slick.prototype.clickHandler = function (event) {

        var _ = this;

        if (_.shouldClick === false) {
            event.stopImmediatePropagation();
            event.stopPropagation();
            event.preventDefault();
        }

    };

    Slick.prototype.destroy = function (refresh) {

        var _ = this;

        _.autoPlayClear();

        _.touchObject = {};

        _.cleanUpEvents();

        $('.slick-cloned', _.$slider).detach();

        if (_.$dots) {
            _.$dots.remove();
        }

        if (_.$prevArrow && _.$prevArrow.length) {

            _.$prevArrow
                .removeClass('slick-disabled slick-arrow slick-hidden')
                .removeAttr('aria-hidden aria-disabled tabindex')
                .css('display', '');

            if (_.htmlExpr.test(_.options.prevArrow)) {
                _.$prevArrow.remove();
            }
        }

        if (_.$nextArrow && _.$nextArrow.length) {

            _.$nextArrow
                .removeClass('slick-disabled slick-arrow slick-hidden')
                .removeAttr('aria-hidden aria-disabled tabindex')
                .css('display', '');

            if (_.htmlExpr.test(_.options.nextArrow)) {
                _.$nextArrow.remove();
            }
        }


        if (_.$slides) {

            _.$slides
                .removeClass('slick-slide slick-active slick-center slick-visible slick-current')
                .removeAttr('aria-hidden')
                .removeAttr('data-slick-index')
                .each(function () {
                    $(this).attr('style', $(this).data('originalStyling'));
                });

            _.$slideTrack.children(this.options.slide).detach();

            _.$slideTrack.detach();

            _.$list.detach();

            _.$slider.append(_.$slides);
        }

        _.cleanUpRows();

        _.$slider.removeClass('slick-slider');
        _.$slider.removeClass('slick-initialized');
        _.$slider.removeClass('slick-dotted');

        _.unslicked = true;

        if (!refresh) {
            _.$slider.trigger('destroy', [_]);
        }

    };

    Slick.prototype.disableTransition = function (slide) {

        var _ = this,
            transition = {};

        transition[_.transitionType] = '';

        if (_.options.fade === false) {
            _.$slideTrack.css(transition);
        } else {
            _.$slides.eq(slide).css(transition);
        }

    };

    Slick.prototype.fadeSlide = function (slideIndex, callback) {

        var _ = this;

        if (_.cssTransitions === false) {

            _.$slides.eq(slideIndex).css({
                zIndex: _.options.zIndex
            });

            _.$slides.eq(slideIndex).animate({
                opacity: 1
            }, _.options.speed, _.options.easing, callback);

        } else {

            _.applyTransition(slideIndex);

            _.$slides.eq(slideIndex).css({
                opacity: 1,
                zIndex: _.options.zIndex
            });

            if (callback) {
                setTimeout(function () {

                    _.disableTransition(slideIndex);

                    callback.call();
                }, _.options.speed);
            }

        }

    };

    Slick.prototype.fadeSlideOut = function (slideIndex) {

        var _ = this;

        if (_.cssTransitions === false) {

            _.$slides.eq(slideIndex).animate({
                opacity: 0,
                zIndex: _.options.zIndex - 2
            }, _.options.speed, _.options.easing);

        } else {

            _.applyTransition(slideIndex);

            _.$slides.eq(slideIndex).css({
                opacity: 0,
                zIndex: _.options.zIndex - 2
            });

        }

    };

    Slick.prototype.filterSlides = Slick.prototype.slickFilter = function (filter) {

        var _ = this;

        if (filter !== null) {

            _.$slidesCache = _.$slides;

            _.unload();

            _.$slideTrack.children(this.options.slide).detach();

            _.$slidesCache.filter(filter).appendTo(_.$slideTrack);

            _.reinit();

        }

    };

    Slick.prototype.focusHandler = function () {

        var _ = this;

        _.$slider
            .off('focus.slick blur.slick')
            .on('focus.slick blur.slick', '*', function (event) {

                event.stopImmediatePropagation();
                var $sf = $(this);

                setTimeout(function () {

                    if (_.options.pauseOnFocus) {
                        _.focussed = $sf.is(':focus');
                        _.autoPlay();
                    }

                }, 0);

            });
    };

    Slick.prototype.getCurrent = Slick.prototype.slickCurrentSlide = function () {

        var _ = this;
        return _.currentSlide;

    };

    Slick.prototype.getDotCount = function () {

        var _ = this;

        var breakPoint = 0;
        var counter = 0;
        var pagerQty = 0;

        if (_.options.infinite === true) {
            if (_.slideCount <= _.options.slidesToShow) {
                ++pagerQty;
            } else {
                while (breakPoint < _.slideCount) {
                    ++pagerQty;
                    breakPoint = counter + _.options.slidesToScroll;
                    counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
                }
            }
        } else if (_.options.centerMode === true) {
            pagerQty = _.slideCount;
        } else if (!_.options.asNavFor) {
            pagerQty = 1 + Math.ceil((_.slideCount - _.options.slidesToShow) / _.options.slidesToScroll);
        } else {
            while (breakPoint < _.slideCount) {
                ++pagerQty;
                breakPoint = counter + _.options.slidesToScroll;
                counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
            }
        }

        return pagerQty - 1;

    };

    Slick.prototype.getLeft = function (slideIndex) {

        var _ = this,
            targetLeft,
            verticalHeight,
            verticalOffset = 0,
            targetSlide,
            coef;

        _.slideOffset = 0;
        verticalHeight = _.$slides.first().outerHeight(true);

        if (_.options.infinite === true) {
            if (_.slideCount > _.options.slidesToShow) {
                _.slideOffset = (_.slideWidth * _.options.slidesToShow) * -1;
                coef = -1

                if (_.options.vertical === true && _.options.centerMode === true) {
                    if (_.options.slidesToShow === 2) {
                        coef = -1.5;
                    } else if (_.options.slidesToShow === 1) {
                        coef = -2
                    }
                }
                verticalOffset = (verticalHeight * _.options.slidesToShow) * coef;
            }
            if (_.slideCount % _.options.slidesToScroll !== 0) {
                if (slideIndex + _.options.slidesToScroll > _.slideCount && _.slideCount > _.options.slidesToShow) {
                    if (slideIndex > _.slideCount) {
                        _.slideOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * _.slideWidth) * -1;
                        verticalOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * verticalHeight) * -1;
                    } else {
                        _.slideOffset = ((_.slideCount % _.options.slidesToScroll) * _.slideWidth) * -1;
                        verticalOffset = ((_.slideCount % _.options.slidesToScroll) * verticalHeight) * -1;
                    }
                }
            }
        } else {
            if (slideIndex + _.options.slidesToShow > _.slideCount) {
                _.slideOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * _.slideWidth;
                verticalOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * verticalHeight;
            }
        }

        if (_.slideCount <= _.options.slidesToShow) {
            _.slideOffset = 0;
            verticalOffset = 0;
        }

        if (_.options.centerMode === true && _.slideCount <= _.options.slidesToShow) {
            _.slideOffset = ((_.slideWidth * Math.floor(_.options.slidesToShow)) / 2) - ((_.slideWidth * _.slideCount) / 2);
        } else if (_.options.centerMode === true && _.options.infinite === true) {
            _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2) - _.slideWidth;
        } else if (_.options.centerMode === true) {
            _.slideOffset = 0;
            _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2);
        }

        if (_.options.vertical === false) {
            targetLeft = ((slideIndex * _.slideWidth) * -1) + _.slideOffset;
        } else {
            targetLeft = ((slideIndex * verticalHeight) * -1) + verticalOffset;
        }

        if (_.options.variableWidth === true) {

            if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
                targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
            } else {
                targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow);
            }

            if (_.options.rtl === true) {
                if (targetSlide[0]) {
                    targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
                } else {
                    targetLeft = 0;
                }
            } else {
                targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
            }

            if (_.options.centerMode === true) {
                if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
                    targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
                } else {
                    targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow + 1);
                }

                if (_.options.rtl === true) {
                    if (targetSlide[0]) {
                        targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
                    } else {
                        targetLeft = 0;
                    }
                } else {
                    targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
                }

                targetLeft += (_.$list.width() - targetSlide.outerWidth()) / 2;
            }
        }

        return targetLeft;

    };

    Slick.prototype.getOption = Slick.prototype.slickGetOption = function (option) {

        var _ = this;

        return _.options[option];

    };

    Slick.prototype.getNavigableIndexes = function () {

        var _ = this,
            breakPoint = 0,
            counter = 0,
            indexes = [],
            max;

        if (_.options.infinite === false) {
            max = _.slideCount;
        } else {
            breakPoint = _.options.slidesToScroll * -1;
            counter = _.options.slidesToScroll * -1;
            max = _.slideCount * 2;
        }

        while (breakPoint < max) {
            indexes.push(breakPoint);
            breakPoint = counter + _.options.slidesToScroll;
            counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
        }

        return indexes;

    };

    Slick.prototype.getSlick = function () {

        return this;

    };

    Slick.prototype.getSlideCount = function () {

        var _ = this,
            slidesTraversed, swipedSlide, centerOffset;

        centerOffset = _.options.centerMode === true ? _.slideWidth * Math.floor(_.options.slidesToShow / 2) : 0;

        if (_.options.swipeToSlide === true) {
            _.$slideTrack.find('.slick-slide').each(function (index, slide) {
                if (slide.offsetLeft - centerOffset + ($(slide).outerWidth() / 2) > (_.swipeLeft * -1)) {
                    swipedSlide = slide;
                    return false;
                }
            });

            slidesTraversed = Math.abs($(swipedSlide).attr('data-slick-index') - _.currentSlide) || 1;

            return slidesTraversed;

        } else {
            return _.options.slidesToScroll;
        }

    };

    Slick.prototype.goTo = Slick.prototype.slickGoTo = function (slide, dontAnimate) {

        var _ = this;

        _.changeSlide({
            data: {
                message: 'index',
                index: parseInt(slide)
            }
        }, dontAnimate);

    };

    Slick.prototype.init = function (creation) {

        var _ = this;

        if (!$(_.$slider).hasClass('slick-initialized')) {

            $(_.$slider).addClass('slick-initialized');

            _.buildRows();
            _.buildOut();
            _.setProps();
            _.startLoad();
            _.loadSlider();
            _.initializeEvents();
            _.updateArrows();
            _.updateDots();
            _.checkResponsive(true);
            _.focusHandler();

        }

        if (creation) {
            _.$slider.trigger('init', [_]);
        }

        if (_.options.accessibility === true) {
            _.initADA();
        }

        if (_.options.autoplay) {

            _.paused = false;
            _.autoPlay();

        }

    };

    Slick.prototype.initADA = function () {
        var _ = this,
                numDotGroups = Math.ceil(_.slideCount / _.options.slidesToShow),
                tabControlIndexes = _.getNavigableIndexes().filter(function (val) {
                    return (val >= 0) && (val < _.slideCount);
                });

        _.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({
            'aria-hidden': 'true',
            'tabindex': '-1'
        }).find('a, input, button, select').attr({
            'tabindex': '-1'
        });

        if (_.$dots !== null) {
            _.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function (i) {
                var slideControlIndex = tabControlIndexes.indexOf(i);

                $(this).attr({
                    'role': 'tabpanel',
                    'id': 'slick-slide' + _.instanceUid + i,
                    'tabindex': -1
                });

                if (slideControlIndex !== -1) {
                    var ariaButtonControl = 'slick-slide-control' + _.instanceUid + slideControlIndex
                    if ($('#' + ariaButtonControl).length) {
                        $(this).attr({
                            'aria-describedby': ariaButtonControl
                        });
                    }
                }
            });

            _.$dots.attr('role', 'tablist').find('li').each(function (i) {
                var mappedSlideIndex = tabControlIndexes[i];

                $(this).attr({
                    'role': 'presentation'
                });

                $(this).find('button').first().attr({
                    'role': 'tab',
                    'id': 'slick-slide-control' + _.instanceUid + i,
                    'aria-controls': 'slick-slide' + _.instanceUid + mappedSlideIndex,
                    'aria-label': (i + 1) + ' of ' + numDotGroups,
                    'aria-selected': null,
                    'tabindex': '-1'
                });

            }).eq(_.currentSlide).find('button').attr({
                'aria-selected': 'true',
                'tabindex': '0'
            }).end();
        }

        for (var i = _.currentSlide, max = i + _.options.slidesToShow; i < max; i++) {
            if (_.options.focusOnChange) {
                _.$slides.eq(i).attr({ 'tabindex': '0' });
            } else {
                _.$slides.eq(i).removeAttr('tabindex');
            }
        }

        _.activateADA();

    };

    Slick.prototype.initArrowEvents = function () {

        var _ = this;

        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
            _.$prevArrow
               .off('click.slick')
               .on('click.slick', {
                   message: 'previous'
               }, _.changeSlide);
            _.$nextArrow
               .off('click.slick')
               .on('click.slick', {
                   message: 'next'
               }, _.changeSlide);

            if (_.options.accessibility === true) {
                _.$prevArrow.on('keydown.slick', _.keyHandler);
                _.$nextArrow.on('keydown.slick', _.keyHandler);
            }
        }

    };

    Slick.prototype.initDotEvents = function () {

        var _ = this;

        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
            $('li', _.$dots).on('click.slick', {
                message: 'index'
            }, _.changeSlide);

            if (_.options.accessibility === true) {
                _.$dots.on('keydown.slick', _.keyHandler);
            }
        }

        if (_.options.dots === true && _.options.pauseOnDotsHover === true && _.slideCount > _.options.slidesToShow) {

            $('li', _.$dots)
                .on('mouseenter.slick', $.proxy(_.interrupt, _, true))
                .on('mouseleave.slick', $.proxy(_.interrupt, _, false));

        }

    };

    Slick.prototype.initSlideEvents = function () {

        var _ = this;

        if (_.options.pauseOnHover) {

            _.$list.on('mouseenter.slick', $.proxy(_.interrupt, _, true));
            _.$list.on('mouseleave.slick', $.proxy(_.interrupt, _, false));

        }

    };

    Slick.prototype.initializeEvents = function () {

        var _ = this;

        _.initArrowEvents();

        _.initDotEvents();
        _.initSlideEvents();

        _.$list.on('touchstart.slick mousedown.slick', {
            action: 'start'
        }, _.swipeHandler);
        _.$list.on('touchmove.slick mousemove.slick', {
            action: 'move'
        }, _.swipeHandler);
        _.$list.on('touchend.slick mouseup.slick', {
            action: 'end'
        }, _.swipeHandler);
        _.$list.on('touchcancel.slick mouseleave.slick', {
            action: 'end'
        }, _.swipeHandler);

        _.$list.on('click.slick', _.clickHandler);

        $(document).on(_.visibilityChange, $.proxy(_.visibility, _));

        if (_.options.accessibility === true) {
            _.$list.on('keydown.slick', _.keyHandler);
        }

        if (_.options.focusOnSelect === true) {
            $(_.$slideTrack).children().on('click.slick', _.selectHandler);
        }

        $(window).on('orientationchange.slick.slick-' + _.instanceUid, $.proxy(_.orientationChange, _));

        $(window).on('resize.slick.slick-' + _.instanceUid, $.proxy(_.resize, _));

        $('[draggable!=true]', _.$slideTrack).on('dragstart', _.preventDefault);

        $(window).on('load.slick.slick-' + _.instanceUid, _.setPosition);
        $(_.setPosition);

    };

    Slick.prototype.initUI = function () {

        var _ = this;

        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {

            _.$prevArrow.show();
            _.$nextArrow.show();

        }

        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {

            _.$dots.show();

        }

    };

    Slick.prototype.keyHandler = function (event) {

        var _ = this;
        //Dont slide if the cursor is inside the form fields and arrow keys are pressed
        if (!event.target.tagName.match('TEXTAREA|INPUT|SELECT')) {
            if (event.keyCode === 37 && _.options.accessibility === true) {
                _.changeSlide({
                    data: {
                        message: _.options.rtl === true ? 'next' : 'previous'
                    }
                });
            } else if (event.keyCode === 39 && _.options.accessibility === true) {
                _.changeSlide({
                    data: {
                        message: _.options.rtl === true ? 'previous' : 'next'
                    }
                });
            }
        }

    };

    Slick.prototype.lazyLoad = function () {

        var _ = this,
            loadRange, cloneRange, rangeStart, rangeEnd;

        function loadImages(imagesScope) {

            $('img[data-lazy]', imagesScope).each(function () {

                var image = $(this),
                    imageSource = $(this).attr('data-lazy'),
                    imageSrcSet = $(this).attr('data-srcset'),
                    imageSizes = $(this).attr('data-sizes') || _.$slider.attr('data-sizes'),
                    imageToLoad = document.createElement('img');

                imageToLoad.onload = function () {

                    image
                        .animate({ opacity: 0 }, 100, function () {

                            if (imageSrcSet) {
                                image
                                    .attr('srcset', imageSrcSet);

                                if (imageSizes) {
                                    image
                                        .attr('sizes', imageSizes);
                                }
                            }

                            image
                                .attr('src', imageSource)
                                .animate({ opacity: 1 }, 200, function () {
                                    image
                                        .removeAttr('data-lazy data-srcset data-sizes')
                                        .removeClass('slick-loading');
                                });
                            _.$slider.trigger('lazyLoaded', [_, image, imageSource]);
                        });

                };

                imageToLoad.onerror = function () {

                    image
                        .removeAttr('data-lazy')
                        .removeClass('slick-loading')
                        .addClass('slick-lazyload-error');

                    _.$slider.trigger('lazyLoadError', [_, image, imageSource]);

                };

                imageToLoad.src = imageSource;

            });

        }

        if (_.options.centerMode === true) {
            if (_.options.infinite === true) {
                rangeStart = _.currentSlide + (_.options.slidesToShow / 2 + 1);
                rangeEnd = rangeStart + _.options.slidesToShow + 2;
            } else {
                rangeStart = Math.max(0, _.currentSlide - (_.options.slidesToShow / 2 + 1));
                rangeEnd = 2 + (_.options.slidesToShow / 2 + 1) + _.currentSlide;
            }
        } else {
            rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide;
            rangeEnd = Math.ceil(rangeStart + _.options.slidesToShow);
            if (_.options.fade === true) {
                if (rangeStart > 0) rangeStart--;
                if (rangeEnd <= _.slideCount) rangeEnd++;
            }
        }

        loadRange = _.$slider.find('.slick-slide').slice(rangeStart, rangeEnd);

        if (_.options.lazyLoad === 'anticipated') {
            var prevSlide = rangeStart - 1,
                nextSlide = rangeEnd,
                $slides = _.$slider.find('.slick-slide');

            for (var i = 0; i < _.options.slidesToScroll; i++) {
                if (prevSlide < 0) prevSlide = _.slideCount - 1;
                loadRange = loadRange.add($slides.eq(prevSlide));
                loadRange = loadRange.add($slides.eq(nextSlide));
                prevSlide--;
                nextSlide++;
            }
        }

        loadImages(loadRange);

        if (_.slideCount <= _.options.slidesToShow) {
            cloneRange = _.$slider.find('.slick-slide');
            loadImages(cloneRange);
        } else
            if (_.currentSlide >= _.slideCount - _.options.slidesToShow) {
                cloneRange = _.$slider.find('.slick-cloned').slice(0, _.options.slidesToShow);
                loadImages(cloneRange);
            } else if (_.currentSlide === 0) {
                cloneRange = _.$slider.find('.slick-cloned').slice(_.options.slidesToShow * -1);
                loadImages(cloneRange);
            }

    };

    Slick.prototype.loadSlider = function () {

        var _ = this;

        _.setPosition();

        _.$slideTrack.css({
            opacity: 1
        });

        _.$slider.removeClass('slick-loading');

        _.initUI();

        if (_.options.lazyLoad === 'progressive') {
            _.progressiveLazyLoad();
        }

    };

    Slick.prototype.next = Slick.prototype.slickNext = function () {

        var _ = this;

        _.changeSlide({
            data: {
                message: 'next'
            }
        });

    };

    Slick.prototype.orientationChange = function () {

        var _ = this;

        _.checkResponsive();
        _.setPosition();

    };

    Slick.prototype.pause = Slick.prototype.slickPause = function () {

        var _ = this;

        _.autoPlayClear();
        _.paused = true;

    };

    Slick.prototype.play = Slick.prototype.slickPlay = function () {

        var _ = this;

        _.autoPlay();
        _.options.autoplay = true;
        _.paused = false;
        _.focussed = false;
        _.interrupted = false;

    };

    Slick.prototype.postSlide = function (index) {

        var _ = this;

        if (!_.unslicked) {

            _.$slider.trigger('afterChange', [_, index]);

            _.animating = false;

            if (_.slideCount > _.options.slidesToShow) {
                _.setPosition();
            }

            _.swipeLeft = null;

            if (_.options.autoplay) {
                _.autoPlay();
            }

            if (_.options.accessibility === true) {
                _.initADA();

                if (_.options.focusOnChange) {
                    var $currentSlide = $(_.$slides.get(_.currentSlide));
                    $currentSlide.attr('tabindex', 0).focus();
                }
            }

        }

    };

    Slick.prototype.prev = Slick.prototype.slickPrev = function () {

        var _ = this;

        _.changeSlide({
            data: {
                message: 'previous'
            }
        });

    };

    Slick.prototype.preventDefault = function (event) {

        event.preventDefault();

    };

    Slick.prototype.progressiveLazyLoad = function (tryCount) {

        tryCount = tryCount || 1;

        var _ = this,
            $imgsToLoad = $('img[data-lazy]', _.$slider),
            image,
            imageSource,
            imageSrcSet,
            imageSizes,
            imageToLoad;

        if ($imgsToLoad.length) {

            image = $imgsToLoad.first();
            imageSource = image.attr('data-lazy');
            imageSrcSet = image.attr('data-srcset');
            imageSizes = image.attr('data-sizes') || _.$slider.attr('data-sizes');
            imageToLoad = document.createElement('img');

            imageToLoad.onload = function () {

                if (imageSrcSet) {
                    image
                        .attr('srcset', imageSrcSet);

                    if (imageSizes) {
                        image
                            .attr('sizes', imageSizes);
                    }
                }

                image
                    .attr('src', imageSource)
                    .removeAttr('data-lazy data-srcset data-sizes')
                    .removeClass('slick-loading');

                if (_.options.adaptiveHeight === true) {
                    _.setPosition();
                }

                _.$slider.trigger('lazyLoaded', [_, image, imageSource]);
                _.progressiveLazyLoad();

            };

            imageToLoad.onerror = function () {

                if (tryCount < 3) {

                    /**
                     * try to load the image 3 times,
                     * leave a slight delay so we don't get
                     * servers blocking the request.
                     */
                    setTimeout(function () {
                        _.progressiveLazyLoad(tryCount + 1);
                    }, 500);

                } else {

                    image
                        .removeAttr('data-lazy')
                        .removeClass('slick-loading')
                        .addClass('slick-lazyload-error');

                    _.$slider.trigger('lazyLoadError', [_, image, imageSource]);

                    _.progressiveLazyLoad();

                }

            };

            imageToLoad.src = imageSource;

        } else {

            _.$slider.trigger('allImagesLoaded', [_]);

        }

    };

    Slick.prototype.refresh = function (initializing) {

        var _ = this, currentSlide, lastVisibleIndex;

        lastVisibleIndex = _.slideCount - _.options.slidesToShow;

        // in non-infinite sliders, we don't want to go past the
        // last visible index.
        if (!_.options.infinite && (_.currentSlide > lastVisibleIndex)) {
            _.currentSlide = lastVisibleIndex;
        }

        // if less slides than to show, go to start.
        if (_.slideCount <= _.options.slidesToShow) {
            _.currentSlide = 0;

        }

        currentSlide = _.currentSlide;

        _.destroy(true);

        $.extend(_, _.initials, { currentSlide: currentSlide });

        _.init();

        if (!initializing) {

            _.changeSlide({
                data: {
                    message: 'index',
                    index: currentSlide
                }
            }, false);

        }

    };

    Slick.prototype.registerBreakpoints = function () {

        var _ = this, breakpoint, currentBreakpoint, l,
            responsiveSettings = _.options.responsive || null;

        if ($.type(responsiveSettings) === 'array' && responsiveSettings.length) {

            _.respondTo = _.options.respondTo || 'window';

            for (breakpoint in responsiveSettings) {

                l = _.breakpoints.length - 1;

                if (responsiveSettings.hasOwnProperty(breakpoint)) {
                    currentBreakpoint = responsiveSettings[breakpoint].breakpoint;

                    // loop through the breakpoints and cut out any existing
                    // ones with the same breakpoint number, we don't want dupes.
                    while (l >= 0) {
                        if (_.breakpoints[l] && _.breakpoints[l] === currentBreakpoint) {
                            _.breakpoints.splice(l, 1);
                        }
                        l--;
                    }

                    _.breakpoints.push(currentBreakpoint);
                    _.breakpointSettings[currentBreakpoint] = responsiveSettings[breakpoint].settings;

                }

            }

            _.breakpoints.sort(function (a, b) {
                return (_.options.mobileFirst) ? a - b : b - a;
            });

        }

    };

    Slick.prototype.reinit = function () {

        var _ = this;

        _.$slides =
            _.$slideTrack
                .children(_.options.slide)
                .addClass('slick-slide');

        _.slideCount = _.$slides.length;

        if (_.currentSlide >= _.slideCount && _.currentSlide !== 0) {
            _.currentSlide = _.currentSlide - _.options.slidesToScroll;
        }

        if (_.slideCount <= _.options.slidesToShow) {
            _.currentSlide = 0;
        }

        _.registerBreakpoints();

        _.setProps();
        _.setupInfinite();
        _.buildArrows();
        _.updateArrows();
        _.initArrowEvents();
        _.buildDots();
        _.updateDots();
        _.initDotEvents();
        _.cleanUpSlideEvents();
        _.initSlideEvents();

        _.checkResponsive(false, true);

        if (_.options.focusOnSelect === true) {
            $(_.$slideTrack).children().on('click.slick', _.selectHandler);
        }

        _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);

        _.setPosition();
        _.focusHandler();

        _.paused = !_.options.autoplay;
        _.autoPlay();

        _.$slider.trigger('reInit', [_]);

    };

    Slick.prototype.resize = function () {

        var _ = this;

        if ($(window).width() !== _.windowWidth) {
            clearTimeout(_.windowDelay);
            _.windowDelay = window.setTimeout(function () {
                _.windowWidth = $(window).width();
                _.checkResponsive();
                if (!_.unslicked) { _.setPosition(); }
            }, 50);
        }
    };

    Slick.prototype.removeSlide = Slick.prototype.slickRemove = function (index, removeBefore, removeAll) {

        var _ = this;

        if (typeof (index) === 'boolean') {
            removeBefore = index;
            index = removeBefore === true ? 0 : _.slideCount - 1;
        } else {
            index = removeBefore === true ? --index : index;
        }

        if (_.slideCount < 1 || index < 0 || index > _.slideCount - 1) {
            return false;
        }

        _.unload();

        if (removeAll === true) {
            _.$slideTrack.children().remove();
        } else {
            _.$slideTrack.children(this.options.slide).eq(index).remove();
        }

        _.$slides = _.$slideTrack.children(this.options.slide);

        _.$slideTrack.children(this.options.slide).detach();

        _.$slideTrack.append(_.$slides);

        _.$slidesCache = _.$slides;

        _.reinit();

    };

    Slick.prototype.setCSS = function (position) {

        var _ = this,
            positionProps = {},
            x, y;

        if (_.options.rtl === true) {
            position = -position;
        }
        x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px';
        y = _.positionProp == 'top' ? Math.ceil(position) + 'px' : '0px';

        positionProps[_.positionProp] = position;

        if (_.transformsEnabled === false) {
            _.$slideTrack.css(positionProps);
        } else {
            positionProps = {};
            if (_.cssTransitions === false) {
                positionProps[_.animType] = 'translate(' + x + ', ' + y + ')';
                _.$slideTrack.css(positionProps);
            } else {
                positionProps[_.animType] = 'translate3d(' + x + ', ' + y + ', 0px)';
                _.$slideTrack.css(positionProps);
            }
        }

    };

    Slick.prototype.setDimensions = function () {

        var _ = this;

        if (_.options.vertical === false) {
            if (_.options.centerMode === true) {
                _.$list.css({
                    padding: ('0px ' + _.options.centerPadding)
                });
            }
        } else {
            _.$list.height(_.$slides.first().outerHeight(true) * _.options.slidesToShow);
            if (_.options.centerMode === true) {
                _.$list.css({
                    padding: (_.options.centerPadding + ' 0px')
                });
            }
        }

        _.listWidth = _.$list.width();
        _.listHeight = _.$list.height();


        if (_.options.vertical === false && _.options.variableWidth === false) {
            _.slideWidth = Math.ceil(_.listWidth / _.options.slidesToShow);
            _.$slideTrack.width(Math.ceil((_.slideWidth * _.$slideTrack.children('.slick-slide').length)));

        } else if (_.options.variableWidth === true) {
            _.$slideTrack.width(5000 * _.slideCount);
        } else {
            _.slideWidth = Math.ceil(_.listWidth);
            _.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(true) * _.$slideTrack.children('.slick-slide').length)));
        }

        var offset = _.$slides.first().outerWidth(true) - _.$slides.first().width();
        if (_.options.variableWidth === false) _.$slideTrack.children('.slick-slide').width(_.slideWidth - offset);

    };

    Slick.prototype.setFade = function () {

        var _ = this,
            targetLeft;

        _.$slides.each(function (index, element) {
            targetLeft = (_.slideWidth * index) * -1;
            if (_.options.rtl === true) {
                $(element).css({
                    position: 'relative',
                    right: targetLeft,
                    top: 0,
                    zIndex: _.options.zIndex - 2,
                    opacity: 0
                });
            } else {
                $(element).css({
                    position: 'relative',
                    left: targetLeft,
                    top: 0,
                    zIndex: _.options.zIndex - 2,
                    opacity: 0
                });
            }
        });

        _.$slides.eq(_.currentSlide).css({
            zIndex: _.options.zIndex - 1,
            opacity: 1
        });

    };

    Slick.prototype.setHeight = function () {

        var _ = this;

        if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
            var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
            _.$list.css('height', targetHeight);
        }

    };

    Slick.prototype.setOption =
    Slick.prototype.slickSetOption = function () {

        /**
         * accepts arguments in format of:
         *
         *  - for changing a single option's value:
         *     .slick("setOption", option, value, refresh )
         *
         *  - for changing a set of responsive options:
         *     .slick("setOption", 'responsive', [{}, ...], refresh )
         *
         *  - for updating multiple values at once (not responsive)
         *     .slick("setOption", { 'option': value, ... }, refresh )
         */

        var _ = this, l, item, option, value, refresh = false, type;

        if ($.type(arguments[0]) === 'object') {

            option = arguments[0];
            refresh = arguments[1];
            type = 'multiple';

        } else if ($.type(arguments[0]) === 'string') {

            option = arguments[0];
            value = arguments[1];
            refresh = arguments[2];

            if (arguments[0] === 'responsive' && $.type(arguments[1]) === 'array') {

                type = 'responsive';

            } else if (typeof arguments[1] !== 'undefined') {

                type = 'single';

            }

        }

        if (type === 'single') {

            _.options[option] = value;


        } else if (type === 'multiple') {

            $.each(option, function (opt, val) {

                _.options[opt] = val;

            });


        } else if (type === 'responsive') {

            for (item in value) {

                if ($.type(_.options.responsive) !== 'array') {

                    _.options.responsive = [value[item]];

                } else {

                    l = _.options.responsive.length - 1;

                    // loop through the responsive object and splice out duplicates.
                    while (l >= 0) {

                        if (_.options.responsive[l].breakpoint === value[item].breakpoint) {

                            _.options.responsive.splice(l, 1);

                        }

                        l--;

                    }

                    _.options.responsive.push(value[item]);

                }

            }

        }

        if (refresh) {

            _.unload();
            _.reinit();

        }

    };

    Slick.prototype.setPosition = function () {

        var _ = this;

        _.setDimensions();

        _.setHeight();

        if (_.options.fade === false) {
            _.setCSS(_.getLeft(_.currentSlide));
        } else {
            _.setFade();
        }

        _.$slider.trigger('setPosition', [_]);

    };

    Slick.prototype.setProps = function () {

        var _ = this,
            bodyStyle = document.body.style;

        _.positionProp = _.options.vertical === true ? 'top' : 'left';

        if (_.positionProp === 'top') {
            _.$slider.addClass('slick-vertical');
        } else {
            _.$slider.removeClass('slick-vertical');
        }

        if (bodyStyle.WebkitTransition !== undefined ||
            bodyStyle.MozTransition !== undefined ||
            bodyStyle.msTransition !== undefined) {
            if (_.options.useCSS === true) {
                _.cssTransitions = true;
            }
        }

        if (_.options.fade) {
            if (typeof _.options.zIndex === 'number') {
                if (_.options.zIndex < 3) {
                    _.options.zIndex = 3;
                }
            } else {
                _.options.zIndex = _.defaults.zIndex;
            }
        }

        if (bodyStyle.OTransform !== undefined) {
            _.animType = 'OTransform';
            _.transformType = '-o-transform';
            _.transitionType = 'OTransition';
            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
        }
        if (bodyStyle.MozTransform !== undefined) {
            _.animType = 'MozTransform';
            _.transformType = '-moz-transform';
            _.transitionType = 'MozTransition';
            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false;
        }
        if (bodyStyle.webkitTransform !== undefined) {
            _.animType = 'webkitTransform';
            _.transformType = '-webkit-transform';
            _.transitionType = 'webkitTransition';
            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
        }
        if (bodyStyle.msTransform !== undefined) {
            _.animType = 'msTransform';
            _.transformType = '-ms-transform';
            _.transitionType = 'msTransition';
            if (bodyStyle.msTransform === undefined) _.animType = false;
        }
        if (bodyStyle.transform !== undefined && _.animType !== false) {
            _.animType = 'transform';
            _.transformType = 'transform';
            _.transitionType = 'transition';
        }
        _.transformsEnabled = _.options.useTransform && (_.animType !== null && _.animType !== false);
    };


    Slick.prototype.setSlideClasses = function (index) {

        var _ = this,
            centerOffset, allSlides, indexOffset, remainder;

        allSlides = _.$slider
            .find('.slick-slide')
            .removeClass('slick-active slick-center slick-current')
            .attr('aria-hidden', 'true');

        _.$slides
            .eq(index)
            .addClass('slick-current');

        if (_.options.centerMode === true) {

            var evenCoef = _.options.slidesToShow % 2 === 0 ? 1 : 0;

            centerOffset = Math.floor(_.options.slidesToShow / 2);

            if (_.options.infinite === true) {

                if (index >= centerOffset && index <= (_.slideCount - 1) - centerOffset) {
                    _.$slides
                        .slice(index - centerOffset + evenCoef, index + centerOffset + 1)
                        .addClass('slick-active')
                        .attr('aria-hidden', 'false');

                } else {

                    indexOffset = _.options.slidesToShow + index;
                    allSlides
                        .slice(indexOffset - centerOffset + 1 + evenCoef, indexOffset + centerOffset + 2)
                        .addClass('slick-active')
                        .attr('aria-hidden', 'false');

                }

                if (index === 0) {

                    allSlides
                        .eq(allSlides.length - 1 - _.options.slidesToShow)
                        .addClass('slick-center');

                } else if (index === _.slideCount - 1) {

                    allSlides
                        .eq(_.options.slidesToShow)
                        .addClass('slick-center');

                }

            }

            _.$slides
                .eq(index)
                .addClass('slick-center');

        } else {

            if (index >= 0 && index <= (_.slideCount - _.options.slidesToShow)) {

                _.$slides
                    .slice(index, index + _.options.slidesToShow)
                    .addClass('slick-active')
                    .attr('aria-hidden', 'false');

            } else if (allSlides.length <= _.options.slidesToShow) {

                allSlides
                    .addClass('slick-active')
                    .attr('aria-hidden', 'false');

            } else {

                remainder = _.slideCount % _.options.slidesToShow;
                indexOffset = _.options.infinite === true ? _.options.slidesToShow + index : index;

                if (_.options.slidesToShow == _.options.slidesToScroll && (_.slideCount - index) < _.options.slidesToShow) {

                    allSlides
                        .slice(indexOffset - (_.options.slidesToShow - remainder), indexOffset + remainder)
                        .addClass('slick-active')
                        .attr('aria-hidden', 'false');

                } else {

                    allSlides
                        .slice(indexOffset, indexOffset + _.options.slidesToShow)
                        .addClass('slick-active')
                        .attr('aria-hidden', 'false');

                }

            }

        }

        if (_.options.lazyLoad === 'ondemand' || _.options.lazyLoad === 'anticipated') {
            _.lazyLoad();
        }
    };

    Slick.prototype.setupInfinite = function () {

        var _ = this,
            i, slideIndex, infiniteCount;

        if (_.options.fade === true) {
            _.options.centerMode = false;
        }

        if (_.options.infinite === true && _.options.fade === false) {

            slideIndex = null;

            if (_.slideCount > _.options.slidesToShow) {

                if (_.options.centerMode === true) {
                    infiniteCount = _.options.slidesToShow + 1;
                } else {
                    infiniteCount = _.options.slidesToShow;
                }

                for (i = _.slideCount; i > (_.slideCount -
                        infiniteCount) ; i -= 1) {
                    slideIndex = i - 1;
                    $(_.$slides[slideIndex]).clone(true).attr('id', '')
                        .attr('data-slick-index', slideIndex - _.slideCount)
                        .prependTo(_.$slideTrack).addClass('slick-cloned');
                }
                for (i = 0; i < infiniteCount + _.slideCount; i += 1) {
                    slideIndex = i;
                    $(_.$slides[slideIndex]).clone(true).attr('id', '')
                        .attr('data-slick-index', slideIndex + _.slideCount)
                        .appendTo(_.$slideTrack).addClass('slick-cloned');
                }
                _.$slideTrack.find('.slick-cloned').find('[id]').each(function () {
                    $(this).attr('id', '');
                });

            }

        }

    };

    Slick.prototype.interrupt = function (toggle) {

        var _ = this;

        if (!toggle) {
            _.autoPlay();
        }
        _.interrupted = toggle;

    };

    Slick.prototype.selectHandler = function (event) {

        var _ = this;

        var targetElement =
            $(event.target).is('.slick-slide') ?
                $(event.target) :
                $(event.target).parents('.slick-slide');

        var index = parseInt(targetElement.attr('data-slick-index'));

        if (!index) index = 0;

        if (_.slideCount <= _.options.slidesToShow) {

            _.slideHandler(index, false, true);
            return;

        }

        _.slideHandler(index);

    };

    Slick.prototype.slideHandler = function (index, sync, dontAnimate) {

        var targetSlide, animSlide, oldSlide, slideLeft, targetLeft = null,
            _ = this, navTarget;

        sync = sync || false;

        if (_.animating === true && _.options.waitForAnimate === true) {
            return;
        }

        if (_.options.fade === true && _.currentSlide === index) {
            return;
        }

        if (sync === false) {
            _.asNavFor(index);
        }

        targetSlide = index;
        targetLeft = _.getLeft(targetSlide);
        slideLeft = _.getLeft(_.currentSlide);

        _.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;

        if (_.options.infinite === false && _.options.centerMode === false && (index < 0 || index > _.getDotCount() * _.options.slidesToScroll)) {
            if (_.options.fade === false) {
                targetSlide = _.currentSlide;
                if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {
                    _.animateSlide(slideLeft, function () {
                        _.postSlide(targetSlide);
                    });
                } else {
                    _.postSlide(targetSlide);
                }
            }
            return;
        } else if (_.options.infinite === false && _.options.centerMode === true && (index < 0 || index > (_.slideCount - _.options.slidesToScroll))) {
            if (_.options.fade === false) {
                targetSlide = _.currentSlide;
                if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {
                    _.animateSlide(slideLeft, function () {
                        _.postSlide(targetSlide);
                    });
                } else {
                    _.postSlide(targetSlide);
                }
            }
            return;
        }

        if (_.options.autoplay) {
            clearInterval(_.autoPlayTimer);
        }

        if (targetSlide < 0) {
            if (_.slideCount % _.options.slidesToScroll !== 0) {
                animSlide = _.slideCount - (_.slideCount % _.options.slidesToScroll);
            } else {
                animSlide = _.slideCount + targetSlide;
            }
        } else if (targetSlide >= _.slideCount) {
            if (_.slideCount % _.options.slidesToScroll !== 0) {
                animSlide = 0;
            } else {
                animSlide = targetSlide - _.slideCount;
            }
        } else {
            animSlide = targetSlide;
        }

        _.animating = true;

        _.$slider.trigger('beforeChange', [_, _.currentSlide, animSlide]);

        oldSlide = _.currentSlide;
        _.currentSlide = animSlide;

        _.setSlideClasses(_.currentSlide);

        if (_.options.asNavFor) {

            navTarget = _.getNavTarget();
            navTarget = navTarget.slick('getSlick');

            if (navTarget.slideCount <= navTarget.options.slidesToShow) {
                navTarget.setSlideClasses(_.currentSlide);
            }

        }

        _.updateDots();
        _.updateArrows();

        if (_.options.fade === true) {
            if (dontAnimate !== true) {

                _.fadeSlideOut(oldSlide);

                _.fadeSlide(animSlide, function () {
                    _.postSlide(animSlide);
                });

            } else {
                _.postSlide(animSlide);
            }
            _.animateHeight();
            return;
        }

        if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {
            _.animateSlide(targetLeft, function () {
                _.postSlide(animSlide);
            });
        } else {
            _.postSlide(animSlide);
        }

    };

    Slick.prototype.startLoad = function () {

        var _ = this;

        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {

            _.$prevArrow.hide();
            _.$nextArrow.hide();

        }

        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {

            _.$dots.hide();

        }

        _.$slider.addClass('slick-loading');

    };

    Slick.prototype.swipeDirection = function () {

        var xDist, yDist, r, swipeAngle, _ = this;

        xDist = _.touchObject.startX - _.touchObject.curX;
        yDist = _.touchObject.startY - _.touchObject.curY;
        r = Math.atan2(yDist, xDist);

        swipeAngle = Math.round(r * 180 / Math.PI);
        if (swipeAngle < 0) {
            swipeAngle = 360 - Math.abs(swipeAngle);
        }

        if ((swipeAngle <= 45) && (swipeAngle >= 0)) {
            return (_.options.rtl === false ? 'left' : 'right');
        }
        if ((swipeAngle <= 360) && (swipeAngle >= 315)) {
            return (_.options.rtl === false ? 'left' : 'right');
        }
        if ((swipeAngle >= 135) && (swipeAngle <= 225)) {
            return (_.options.rtl === false ? 'right' : 'left');
        }
        if (_.options.verticalSwiping === true) {
            if ((swipeAngle >= 35) && (swipeAngle <= 135)) {
                return 'down';
            } else {
                return 'up';
            }
        }

        return 'vertical';

    };

    Slick.prototype.swipeEnd = function (event) {

        var _ = this,
            slideCount,
            direction;

        _.dragging = false;
        _.swiping = false;

        if (_.scrolling) {
            _.scrolling = false;
            return false;
        }

        _.interrupted = false;
        _.shouldClick = (_.touchObject.swipeLength > 10) ? false : true;

        if (_.touchObject.curX === undefined) {
            return false;
        }

        if (_.touchObject.edgeHit === true) {
            _.$slider.trigger('edge', [_, _.swipeDirection()]);
        }

        if (_.touchObject.swipeLength >= _.touchObject.minSwipe) {

            direction = _.swipeDirection();

            switch (direction) {

                case 'left':
                case 'down':

                    slideCount =
                        _.options.swipeToSlide ?
                            _.checkNavigable(_.currentSlide + _.getSlideCount()) :
                            _.currentSlide + _.getSlideCount();

                    _.currentDirection = 0;

                    break;

                case 'right':
                case 'up':

                    slideCount =
                        _.options.swipeToSlide ?
                            _.checkNavigable(_.currentSlide - _.getSlideCount()) :
                            _.currentSlide - _.getSlideCount();

                    _.currentDirection = 1;

                    break;

                default:


            }

            if (direction != 'vertical') {

                _.slideHandler(slideCount);
                _.touchObject = {};
                _.$slider.trigger('swipe', [_, direction]);

            }

        } else {

            if (_.touchObject.startX !== _.touchObject.curX) {

                _.slideHandler(_.currentSlide);
                _.touchObject = {};

            }

        }

    };

    Slick.prototype.swipeHandler = function (event) {

        var _ = this;

        if ((_.options.swipe === false) || ('ontouchend' in document && _.options.swipe === false)) {
            return;
        } else if (_.options.draggable === false && event.type.indexOf('mouse') !== -1) {
            return;
        }

        _.touchObject.fingerCount = event.originalEvent && event.originalEvent.touches !== undefined ?
            event.originalEvent.touches.length : 1;

        _.touchObject.minSwipe = _.listWidth / _.options
            .touchThreshold;

        if (_.options.verticalSwiping === true) {
            _.touchObject.minSwipe = _.listHeight / _.options
                .touchThreshold;
        }

        switch (event.data.action) {

            case 'start':
                _.swipeStart(event);
                break;

            case 'move':
                _.swipeMove(event);
                break;

            case 'end':
                _.swipeEnd(event);
                break;

        }

    };

    Slick.prototype.swipeMove = function (event) {

        var _ = this,
            edgeWasHit = false,
            curLeft, swipeDirection, swipeLength, positionOffset, touches, verticalSwipeLength;

        touches = event.originalEvent !== undefined ? event.originalEvent.touches : null;

        if (!_.dragging || _.scrolling || touches && touches.length !== 1) {
            return false;
        }

        curLeft = _.getLeft(_.currentSlide);

        _.touchObject.curX = touches !== undefined ? touches[0].pageX : event.clientX;
        _.touchObject.curY = touches !== undefined ? touches[0].pageY : event.clientY;

        _.touchObject.swipeLength = Math.round(Math.sqrt(
            Math.pow(_.touchObject.curX - _.touchObject.startX, 2)));

        verticalSwipeLength = Math.round(Math.sqrt(
            Math.pow(_.touchObject.curY - _.touchObject.startY, 2)));

        if (!_.options.verticalSwiping && !_.swiping && verticalSwipeLength > 4) {
            _.scrolling = true;
            return false;
        }

        if (_.options.verticalSwiping === true) {
            _.touchObject.swipeLength = verticalSwipeLength;
        }

        swipeDirection = _.swipeDirection();

        if (event.originalEvent !== undefined && _.touchObject.swipeLength > 4) {
            _.swiping = true;
            event.preventDefault();
        }

        positionOffset = (_.options.rtl === false ? 1 : -1) * (_.touchObject.curX > _.touchObject.startX ? 1 : -1);
        if (_.options.verticalSwiping === true) {
            positionOffset = _.touchObject.curY > _.touchObject.startY ? 1 : -1;
        }


        swipeLength = _.touchObject.swipeLength;

        _.touchObject.edgeHit = false;

        if (_.options.infinite === false) {
            if ((_.currentSlide === 0 && swipeDirection === 'right') || (_.currentSlide >= _.getDotCount() && swipeDirection === 'left')) {
                swipeLength = _.touchObject.swipeLength * _.options.edgeFriction;
                _.touchObject.edgeHit = true;
            }
        }

        if (_.options.vertical === false) {
            _.swipeLeft = curLeft + swipeLength * positionOffset;
        } else {
            _.swipeLeft = curLeft + (swipeLength * (_.$list.height() / _.listWidth)) * positionOffset;
        }
        if (_.options.verticalSwiping === true) {
            _.swipeLeft = curLeft + swipeLength * positionOffset;
        }

        if (_.options.fade === true || _.options.touchMove === false) {
            return false;
        }

        if (_.animating === true) {
            _.swipeLeft = null;
            return false;
        }

        _.setCSS(_.swipeLeft);

    };

    Slick.prototype.swipeStart = function (event) {

        var _ = this,
            touches;

        _.interrupted = true;

        if (_.touchObject.fingerCount !== 1 || _.slideCount <= _.options.slidesToShow) {
            _.touchObject = {};
            return false;
        }

        if (event.originalEvent !== undefined && event.originalEvent.touches !== undefined) {
            touches = event.originalEvent.touches[0];
        }

        _.touchObject.startX = _.touchObject.curX = touches !== undefined ? touches.pageX : event.clientX;
        _.touchObject.startY = _.touchObject.curY = touches !== undefined ? touches.pageY : event.clientY;

        _.dragging = true;

    };

    Slick.prototype.unfilterSlides = Slick.prototype.slickUnfilter = function () {

        var _ = this;

        if (_.$slidesCache !== null) {

            _.unload();

            _.$slideTrack.children(this.options.slide).detach();

            _.$slidesCache.appendTo(_.$slideTrack);

            _.reinit();

        }

    };

    Slick.prototype.unload = function () {

        var _ = this;

        $('.slick-cloned', _.$slider).remove();

        if (_.$dots) {
            _.$dots.remove();
        }

        if (_.$prevArrow && _.htmlExpr.test(_.options.prevArrow)) {
            _.$prevArrow.remove();
        }

        if (_.$nextArrow && _.htmlExpr.test(_.options.nextArrow)) {
            _.$nextArrow.remove();
        }

        _.$slides
            .removeClass('slick-slide slick-active slick-visible slick-current')
            .attr('aria-hidden', 'true')
            .css('width', '');

    };

    Slick.prototype.unslick = function (fromBreakpoint) {

        var _ = this;
        _.$slider.trigger('unslick', [_, fromBreakpoint]);
        _.destroy();

    };

    Slick.prototype.updateArrows = function () {

        var _ = this,
            centerOffset;

        centerOffset = Math.floor(_.options.slidesToShow / 2);

        if (_.options.arrows === true &&
            _.slideCount > _.options.slidesToShow &&
            !_.options.infinite) {

            _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
            _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');

            if (_.currentSlide === 0) {

                _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
                _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');

            } else if (_.currentSlide >= _.slideCount - _.options.slidesToShow && _.options.centerMode === false) {

                _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
                _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');

            } else if (_.currentSlide >= _.slideCount - 1 && _.options.centerMode === true) {

                _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
                _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');

            }

        }

    };

    Slick.prototype.updateDots = function () {

        var _ = this;

        if (_.$dots !== null) {

            _.$dots
                .find('li')
                    .removeClass('slick-active')
                    .end();

            _.$dots
                .find('li')
                .eq(Math.floor(_.currentSlide / _.options.slidesToScroll))
                .addClass('slick-active');

        }

    };

    Slick.prototype.visibility = function () {

        var _ = this;

        if (_.options.autoplay) {

            if (document[_.hidden]) {

                _.interrupted = true;

            } else {

                _.interrupted = false;

            }

        }

    };

    $.fn.slick = function () {
        var _ = this,
            opt = arguments[0],
            args = Array.prototype.slice.call(arguments, 1),
            l = _.length,
            i,
            ret;
        for (i = 0; i < l; i++) {
            if (typeof opt == 'object' || typeof opt == 'undefined')
                _[i].slick = new Slick(_[i], opt);
            else
                ret = _[i].slick[opt].apply(_[i].slick, args);
            if (typeof ret != 'undefined') return ret;
        }
        return _;
    };

}));

GC.productCarousel = function (container) {
    var productList = $(container).find('.jsProductCarousel');
    var prevArrow = $(container).find('.jsProductPrev');
    var nextArrow = $(container).find('.jsProductNext');

    var opt = {
        infinite: true,
        slidesToScroll: 2,
        slidesToShow: 4,
        prevArrow: $(prevArrow),
        nextArrow: $(nextArrow),
        responsive: [
            {
                breakpoint: 1200,
                settings: {
                    slidesToShow: 3
                }
            },
            {
                breakpoint: 576,
                settings: {
                    slidesToShow: 1,
                    slidesToScroll: 1
                }
            }
        ]
    };

    $(productList).slick(opt);

    $("img.lazy").lazyload();
};
