From f29ede1de56c007f4d4e0ebdd1199e2a0f406129 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 25 Jan 2021 06:24:08 +0000 Subject: [PATCH] deploy: 201d48848b947fa63d56329a5abe7a0f2ab778d6 --- .nojekyll | 0 css/app.b2d3002d.css | 1 + favicon.ico | Bin 0 -> 4286 bytes index.html | 1 + js/app.e1745cb1.js | 2 ++ js/app.e1745cb1.js.map | 1 + js/chunk-vendors.51b0acb6.js | 13 +++++++++++++ js/chunk-vendors.51b0acb6.js.map | 1 + 8 files changed, 19 insertions(+) create mode 100644 .nojekyll create mode 100644 css/app.b2d3002d.css create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 js/app.e1745cb1.js create mode 100644 js/app.e1745cb1.js.map create mode 100644 js/chunk-vendors.51b0acb6.js create mode 100644 js/chunk-vendors.51b0acb6.js.map diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/css/app.b2d3002d.css b/css/app.b2d3002d.css new file mode 100644 index 0000000..be57c66 --- /dev/null +++ b/css/app.b2d3002d.css @@ -0,0 +1 @@ +#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin-top:60px}nav{margin-bottom:25px}nav a{padding:5px 10px;text-decoration:none;margin:5px 2px;display:inline-block;background-color:#eee;border-radius:4px;font-family:Roboto,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:400;letter-spacing:.5px;font-size:15px;cursor:pointer}nav a:link,nav a:visited{color:#607d8b}.router-link-exact-active,nav a:hover{color:#fff!important;background-color:#607d8b}h1[data-v-49279343],h2[data-v-49279343]{font-weight:400}ul[data-v-49279343]{list-style-type:none;padding:0}li[data-v-49279343]{display:inline-block;margin:0 10px}a[data-v-49279343]{color:#42b983}h1[data-v-dac52604],h2[data-v-dac52604]{font-weight:400}ul[data-v-dac52604]{list-style-type:none;padding:0}li[data-v-dac52604]{display:inline-block;margin:0 10px}a[data-v-dac52604]{color:#42b983}h1[data-v-400600a9],h2[data-v-400600a9]{font-weight:400}ul[data-v-400600a9]{list-style-type:none;padding:0}li[data-v-400600a9]{display:inline-block;margin:0 10px}a[data-v-400600a9]{color:#42b983}h1[data-v-29190bea],h2[data-v-29190bea]{font-weight:400}ul[data-v-29190bea]{list-style-type:none;padding:0}li[data-v-29190bea]{display:inline-block;margin:0 10px}a[data-v-29190bea]{color:#42b983} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..df36fcfb72584e00488330b560ebcf34a41c64c2 GIT binary patch literal 4286 zcmds*O-Phc6o&64GDVCEQHxsW(p4>LW*W<827=Unuo8sGpRux(DN@jWP-e29Wl%wj zY84_aq9}^Am9-cWTD5GGEo#+5Fi2wX_P*bo+xO!)p*7B;iKlbFd(U~_d(U?#hLj56 zPhFkj-|A6~Qk#@g^#D^U0XT1cu=c-vu1+SElX9NR;kzAUV(q0|dl0|%h|dI$%VICy zJnu2^L*Te9JrJMGh%-P79CL0}dq92RGU6gI{v2~|)p}sG5x0U*z<8U;Ij*hB9z?ei z@g6Xq-pDoPl=MANPiR7%172VA%r)kevtV-_5H*QJKFmd;8yA$98zCxBZYXTNZ#QFk2(TX0;Y2dt&WitL#$96|gJY=3xX zpCoi|YNzgO3R`f@IiEeSmKrPSf#h#Qd<$%Ej^RIeeYfsxhPMOG`S`Pz8q``=511zm zAm)MX5AV^5xIWPyEu7u>qYs?pn$I4nL9J!=K=SGlKLXpE<5x+2cDTXq?brj?n6sp= zphe9;_JHf40^9~}9i08r{XM$7HB!`{Ys~TK0kx<}ZQng`UPvH*11|q7&l9?@FQz;8 zx!=3<4seY*%=OlbCbcae?5^V_}*K>Uo6ZWV8mTyE^B=DKy7-sdLYkR5Z?paTgK-zyIkKjIcpyO z{+uIt&YSa_$QnN_@t~L014dyK(fOOo+W*MIxbA6Ndgr=Y!f#Tokqv}n<7-9qfHkc3 z=>a|HWqcX8fzQCT=dqVbogRq!-S>H%yA{1w#2Pn;=e>JiEj7Hl;zdt-2f+j2%DeVD zsW0Ab)ZK@0cIW%W7z}H{&~yGhn~D;aiP4=;m-HCo`BEI+Kd6 z={Xwx{TKxD#iCLfl2vQGDitKtN>z|-AdCN|$jTFDg0m3O`WLD4_s#$S literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..a61a74e --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +vue-dashboard-2
\ No newline at end of file diff --git a/js/app.e1745cb1.js b/js/app.e1745cb1.js new file mode 100644 index 0000000..889f2cb --- /dev/null +++ b/js/app.e1745cb1.js @@ -0,0 +1,2 @@ +(function(t){function e(e){for(var r,c,u=e[0],l=e[1],i=e[2],f=0,p=[];f"})},6539:function(t,e,o){"use strict";o("41e4")},"7c9b":function(t,e,o){"use strict";o("a2d7")},"85ec":function(t,e,o){},"8f73":function(t,e,o){"use strict";o("2010")},a2d7:function(t,e,o){},fbf5:function(t,e){}}); +//# sourceMappingURL=app.e1745cb1.js.map \ No newline at end of file diff --git a/js/app.e1745cb1.js.map b/js/app.e1745cb1.js.map new file mode 100644 index 0000000..9a3e452 --- /dev/null +++ b/js/app.e1745cb1.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/simple.vue?4047","webpack:///./src/App.vue?7e02","webpack:///./src/components/dynamic.vue","webpack:///./src/App.vue?bf22","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/components/simple.vue?dd33","webpack:///src/components/simple.vue","webpack:///./src/components/simple.vue?5b51","webpack:///./src/components/simple.vue?2946","webpack:///./src/components/module.vue?b71d","webpack:///src/components/module.vue","webpack:///./src/components/module.vue?b29b","webpack:///./src/components/module.vue?6092","webpack:///./src/components/methods.vue?85eb","webpack:///src/components/methods.vue","webpack:///./src/components/methods.vue?7e26","webpack:///./src/components/methods.vue?d7b0","webpack:///./src/components/events.vue?ec5a","webpack:///src/components/events.vue","webpack:///./src/components/events.vue?adb5","webpack:///./src/components/events.vue?7c22","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/components/events.vue?167b","webpack:///./src/components/methods.vue?9028","webpack:///./src/components/module.vue?8fea"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","attrs","_v","staticRenderFns","component","chartData","components","zingchart","type","series","backgroundColor","options","currency","buttonZoomout","tooltip","text","borderColor","color","borderRadius","hoverState","buttonZoomin","title","subtitle","visible","mmpMarker","alpha","lineColor","label","fontSize","offsetY","palette","labels","cost","scaleX","item","scaleY","scaleY2","plot","crosshairX","plotLabel","scaleLabel","script","on","addPlot","ref","methods","$refs","chart","addplot","values","randomData","Array","from","count","map","Math","floor","random","chartCompleted","chartMouseOver","_s","output","message","console","log","e","Vue","use","Router","routes","path","Simple","Module","Dynamic","Methods","Events","config","productionTip","el","router","App","template"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU6B,QAGnC,IAAIC,EAASF,EAAiB5B,GAAY,CACzCK,EAAGL,EACH+B,GAAG,EACHF,QAAS,IAUV,OANAf,EAAQd,GAAUW,KAAKmB,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOC,GAAI,EAGJD,EAAOD,QAKfH,EAAoBM,EAAIlB,EAGxBY,EAAoBO,EAAIL,EAGxBF,EAAoBQ,EAAI,SAASL,EAASM,EAAMC,GAC3CV,EAAoBW,EAAER,EAASM,IAClC3B,OAAO8B,eAAeT,EAASM,EAAM,CAAEI,YAAY,EAAMC,IAAKJ,KAKhEV,EAAoBe,EAAI,SAASZ,GACX,qBAAXa,QAA0BA,OAAOC,aAC1CnC,OAAO8B,eAAeT,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DpC,OAAO8B,eAAeT,EAAS,aAAc,CAAEe,OAAO,KAQvDlB,EAAoBmB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQlB,EAAoBkB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKxC,OAAOyC,OAAO,MAGvB,GAFAvB,EAAoBe,EAAEO,GACtBxC,OAAO8B,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOlB,EAAoBQ,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRtB,EAAoB0B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAO,YACtC,WAA8B,OAAOA,GAEtC,OADAJ,EAAoBQ,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRV,EAAoBW,EAAI,SAASgB,EAAQC,GAAY,OAAO9C,OAAOC,UAAUC,eAAeC,KAAK0C,EAAQC,IAGzG5B,EAAoB6B,EAAI,kBAExB,IAAIC,EAAaC,OAAO,gBAAkBA,OAAO,iBAAmB,GAChEC,EAAmBF,EAAW3C,KAAKsC,KAAKK,GAC5CA,EAAW3C,KAAOf,EAClB0D,EAAaA,EAAWG,QACxB,IAAI,IAAItD,EAAI,EAAGA,EAAImD,EAAWjD,OAAQF,IAAKP,EAAqB0D,EAAWnD,IAC3E,IAAIU,EAAsB2C,EAI1BzC,EAAgBJ,KAAK,CAAC,EAAE,kBAEjBM,K,6ECvJT,W,oCCAA,W,gKCAI,EAAQ,E,YCARyC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,QAAQ,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAG,8BAA8BH,EAAG,MAAM,CAACA,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK,MAAM,CAACN,EAAIO,GAAG,YAAYH,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK,YAAY,CAACN,EAAIO,GAAG,kBAAkBH,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK,aAAa,CAACN,EAAIO,GAAG,aAAaH,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK,aAAa,CAACN,EAAIO,GAAG,aAAaH,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK,YAAY,CAACN,EAAIO,GAAG,aAAa,GAAGH,EAAG,gBAAgB,IACpgBI,EAAkB,GCctB,GACElC,KAAM,OChBsT,I,wBCQ1TmC,EAAY,eACd,EACAV,EACAS,GACA,EACA,KACA,KACA,MAIa,EAAAC,E,oBCnBX,EAAS,WAAa,IAAIT,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,KAAON,EAAIU,cAAc,IACtJ,EAAkB,G,iCCQtB,GACEC,WAAY,CACVC,UAAW,EAAf,GAEE1E,KAJF,WAKI,MAAO,CACLwE,UAAW,CACTG,KAAM,MACNC,OAAQ,CAChB,CACU,OAAV,2BCnBgV,ICQ5U,G,UAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QCnBX,EAAS,WAAa,IAAId,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,KAAON,EAAIU,cAAc,IACtJ,EAAkB,GCStB,G,UAAA,CACEC,WAAY,CACVC,UAAW,EAAf,GAEE1E,KAJF,WAKI,MAAO,CACLwE,UAAW,CACTG,KAAM,QACNE,gBAAiB,UACjBC,QAAS,CACPC,SAAU,IACVC,cAAe,CACbC,QAAS,CACPC,KAAM,qBAERL,gBAAiB,UACjBM,YAAa,OACbC,MAAO,OACPC,aAAc,GACdC,WAAY,CACVT,gBAAiB,SAGrBU,aAAc,CACZN,QAAS,CACPC,KAAM,mBAERL,gBAAiB,OACjBM,YAAa,OACbC,MAAO,OACPC,aAAc,GACdC,WAAY,CACVT,gBAAiB,SAGrBW,MAAO,CACLJ,MAAO,WAETK,SAAU,CACRC,SAAS,GAEXC,UAAW,CACTC,MAAO,IACPC,UAAW,OACXC,MAAO,CACLV,MAAO,OACPW,SAAU,GACVC,QAAS,KAGbC,QAAS,CAAC,UAAW,WACrBC,OAAQ,CACNC,KAAM,SAGVC,OAAQ,CACNC,KAAM,CACJN,SAAU,GACVX,MAAO,YAGXkB,OAAQ,CACND,KAAM,CACJjB,MAAO,SAGXmB,QAAS,CACPF,KAAM,CACJjB,MAAO,SAGXoB,KAAM,CACJzD,KAAM,UAER0D,WAAY,CACVC,UAAW,CACTtB,MAAO,OACPP,gBAAiB,QAEnB8B,WAAY,CACVvB,MAAO,YAGXR,OAAQ,CAChB,CACU,OAAV,CACA,eACA,qBACA,oBACA,qBACA,qBACA,qBACA,qBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,qBACA,sBACA,sBACA,sBACA,sBACA,sBACA,qBACA,sBACA,sBACA,sBACA,oBACA,sBACA,sBACA,qBACA,qBACA,sBACA,sBACA,sBACA,sBACA,sBACA,uBAEU,KAAV,UAEA,CACU,OAAV,CACA,eACA,qBACA,qBACA,qBACA,sBACA,sBACA,sBACA,qBACA,sBACA,oBACA,sBACA,sBACA,sBACA,sBACA,sBACA,qBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,qBACA,sBACA,sBACA,sBACA,qBACA,oBACA,qBACA,sBACA,sBACA,sBACA,uBACA,wBAEU,KAAV,iBCtLgV,ICQ5U,G,UAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QZlBXgC,EAAS,GAKT,EAAY,eACdA,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,QajBX,EAAS,WAAa,IAAI9C,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAAC2C,GAAG,CAAC,MAAQ9C,KAAK+C,UAAU,CAAChD,EAAIO,GAAG,aAAaH,EAAG,YAAY,CAAC6C,IAAI,QAAQ3C,MAAM,CAAC,KAAON,EAAIU,cAAc,IAC/N,EAAkB,GCStB,G,8BAAA,CACEC,WAAY,CACVC,UAAW,EAAf,GAEE1E,KAJF,WAKI,MAAO,CACLwE,UAAW,CACTG,KAAM,MACNC,OAAQ,CAChB,CACU,OAAV,0BAMEoC,QAAS,CACPF,QADJ,WAEM/C,KAAKkD,MAAMC,MAAMC,QAAQ,CACvBnH,KAAM,CACJoH,OAAQrD,KAAKsD,WAAW,IACxBnC,KAAM,kBAMZmC,WAXJ,SAWA,GACM,OAAOC,MAAMC,KAAK,IAAID,MAAME,IAAQC,KAAI,WACtC,OAAOC,KAAKC,MAAsB,GAAhBD,KAAKE,iBCvCkT,ICQ7U,G,UAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QCnBX,EAAS,WAAa,IAAI9D,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,YAAY,CAAC6C,IAAI,QAAQ3C,MAAM,CAAC,KAAON,EAAIU,WAAWqC,GAAG,CAAC,SAAW/C,EAAI+D,eAAe,eAAiB/D,EAAIgE,kBAAkB5D,EAAG,KAAK,CAACJ,EAAIO,GAAG,wBAAwBH,EAAG,KAAK,CAACJ,EAAIO,GAAG,mBAAmBH,EAAG,MAAM,CAACJ,EAAIO,GAAGP,EAAIiE,GAAGhE,KAAKiE,YAAY,IAC5V,EAAkB,GC8DtB,GACEvD,WAAY,CACVC,UAAW,EAAf,GAEE1E,KAJF,WAKI,MAAO,CACLgI,OAAQ,GACRxD,UAAW,CACTG,KAAM,MACNa,MAAO,CACLN,KAAM,sCAERN,OAAQ,CAChB,CACU,OAAV,0BAMEoC,QAAS,CACPa,eADJ,SACA,GACM,IAAN,oDACM9D,KAAKiE,QAAUC,EACfC,QAAQC,IAAIF,EAASG,IAGvBN,eAPJ,SAOA,GACM,IAAN,qCACM/D,KAAKiE,QAAUC,EACfC,QAAQC,IAAIF,EAASG,MC7FqT,I,iCCQ5U,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAMoB,oBAAX,KAAuB,IAAO,GAE1B,Q,QCbfC,OAAIC,IAAIC,QAEO,UAAIA,OAAO,CACxBC,OAAQ,CACN,CACEC,KAAM,IACNrG,KAAM,SACNmC,UAAWmE,GAEb,CACED,KAAM,UACNrG,KAAM,SACNmC,UAAWoE,GAEb,CACEF,KAAM,WACNrG,KAAM,UACNmC,UAAWqE,GAEb,CACEH,KAAM,WACNrG,KAAM,UACNmC,UAAWsE,GAEb,CACEJ,KAAM,UACNrG,KAAM,SACNmC,UAAWuE,MC/BjBT,OAAIU,OAAOC,eAAgB,EAG3B,IAAIX,OAAI,CACNY,GAAI,OACJC,SACAzE,WAAY,CAAE0E,OACdC,SAAU,Y,kCCbZ,W,oCCAA,W,6DCAA,W","file":"js/app.e1745cb1.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/vue-dashboard/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simple.vue?vue&type=style&index=0&id=49279343&scoped=true&lang=css&\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render, staticRenderFns\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('h1',[_vm._v(\"ZingChart Vue Playground\")]),_c('nav',[_c('router-link',{attrs:{\"to\":\"/\"}},[_vm._v(\"Simple\")]),_c('router-link',{attrs:{\"to\":\"/module\"}},[_vm._v(\"Module Chart\")]),_c('router-link',{attrs:{\"to\":\"/dynamic\"}},[_vm._v(\"Dynamic\")]),_c('router-link',{attrs:{\"to\":\"/methods\"}},[_vm._v(\"Methods\")]),_c('router-link',{attrs:{\"to\":\"/events\"}},[_vm._v(\"Events\")])],1),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=b36b41ca&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('zingchart',{attrs:{\"data\":_vm.chartData}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simple.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./simple.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./simple.vue?vue&type=template&id=49279343&scoped=true&\"\nimport script from \"./simple.vue?vue&type=script&lang=js&\"\nexport * from \"./simple.vue?vue&type=script&lang=js&\"\nimport style0 from \"./simple.vue?vue&type=style&index=0&id=49279343&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49279343\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('zingchart',{attrs:{\"data\":_vm.chartData}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./module.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./module.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./module.vue?vue&type=template&id=dac52604&scoped=true&\"\nimport script from \"./module.vue?vue&type=script&lang=js&\"\nexport * from \"./module.vue?vue&type=script&lang=js&\"\nimport style0 from \"./module.vue?vue&type=style&index=0&id=dac52604&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dac52604\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('button',{on:{\"click\":this.addPlot}},[_vm._v(\"AddPlot\")]),_c('zingchart',{ref:\"chart\",attrs:{\"data\":_vm.chartData}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./methods.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./methods.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./methods.vue?vue&type=template&id=400600a9&scoped=true&\"\nimport script from \"./methods.vue?vue&type=script&lang=js&\"\nexport * from \"./methods.vue?vue&type=script&lang=js&\"\nimport style0 from \"./methods.vue?vue&type=style&index=0&id=400600a9&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"400600a9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('zingchart',{ref:\"chart\",attrs:{\"data\":_vm.chartData},on:{\"complete\":_vm.chartCompleted,\"node_mouseover\":_vm.chartMouseOver}}),_c('h2',[_vm._v(\"Output from events\")]),_c('h3',[_vm._v(\"Events bound:\")]),_c('pre',[_vm._v(_vm._s(this.output))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import React, { Component } from 'react';\nimport 'zingchart/es6';\nimport ZingChart from 'zingchart-react';\n\nclass Methods extends Component {\n constructor(props) {\n super(props);\n this.state = {\n config: {\n type: 'bar',\n series: [{\n values: [4,5,3,4,5,3,5,4,11]\n }]\n }\n };\n this.chart = React.createRef();\n this.addPlot = this.addPlot.bind(this);\n\n }\n render() {\n return (\n
\n \n \n
\n );\n }\n addPlot() {\n this.chart.current.addplot({\n data: {\n values: randomData(10),\n text: \"My new plot\"\n }\n });\n }\n}\n\n// Random numbers from 0-100\nfunction randomData(count) {\n return Array.from(new Array(count)).map(() => {\n return Math.floor(Math.random() * 10);\n });\n}\n\nexport default Methods;\n\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./events.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./events.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./events.vue?vue&type=template&id=29190bea&scoped=true&\"\nimport script from \"./events.vue?vue&type=script&lang=js&\"\nexport * from \"./events.vue?vue&type=script&lang=js&\"\nimport style0 from \"./events.vue?vue&type=style&index=0&id=29190bea&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"29190bea\",\n null\n \n)\n\n/* custom blocks */\nimport block0 from \"./events.vue?vue&type=custom&index=0&blockType=div\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","import Vue from \"vue\";\nimport Router from \"vue-router\";\n\n// import all routes\nimport Simple from \"@/components/simple\";\nimport Module from \"@/components/module\";\nimport Dynamic from \"@/components/dynamic\";\nimport Methods from \"@/components/methods\";\nimport Events from \"@/components/events\";\n\nVue.use(Router);\n\nexport default new Router({\n routes: [\n {\n path: \"/\",\n name: \"simple\",\n component: Simple\n },\n {\n path: \"/module\",\n name: \"module\",\n component: Module\n },\n {\n path: \"/dynamic\",\n name: \"dynamic\",\n component: Dynamic\n },\n {\n path: \"/methods\",\n name: \"methods\",\n component: Methods\n },\n {\n path: \"/events\",\n name: \"events\",\n component: Events\n }\n ]\n});\n","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\n\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n components: { App },\n template: ''\n});\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./events.vue?vue&type=style&index=0&id=29190bea&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./methods.vue?vue&type=style&index=0&id=400600a9&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./module.vue?vue&type=style&index=0&id=dac52604&scoped=true&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.51b0acb6.js b/js/chunk-vendors.51b0acb6.js new file mode 100644 index 0000000..e397197 --- /dev/null +++ b/js/chunk-vendors.51b0acb6.js @@ -0,0 +1,13 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},"0366":function(e,t,n){var i=n("1c0b");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"06cf":function(e,t,n){var i=n("83ab"),r=n("d1e7"),a=n("5c6c"),o=n("fc6a"),l=n("c04e"),s=n("5135"),C=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=o(e),t=l(t,!0),C)try{return c(e,t)}catch(n){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),a=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1567:function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"chart"})},a=[],o=["about_hide","about_show","animation_end","animation_start","animation_step","beforedestroy","bugreport_hide","bugreport_show","click","complete","data_export","dataexport","dataload","dataparse","dataready","destroy","dimension_change","error","feed_clear","feed_interval_modify","feed_start","feed_stop","gcomplete","gload","gparse","guide_mousemove","guide_mouseout","guide_mouseout","heatmap.mousemove","history_back","history_forward","image_save","label_click","label_mousedown","label_mouseout","label_mouseover","label_mouseup","legend_hide","legend_item_click","legend_item_mousemove","legend_item_mouseout","legend_item_mouseout","legend_item_mouseover","legend_marker_click","legend_marker_click","legend_maximize","legend_minimize","legend_minimize_click","legend_pagination_click","legend_show","legend-drag_mousedown","lens_hide","lens_show","load","maps.zoom","menu_item_click","modify","modulesready","mousewheel","node_add","node_click","node_deselect","node_doubleclick","node_mousedown","node_mouseout","node_mouseover","node_mouseup","node_remove","node_select","node_set","objectsinit","objectsready","overscroll","plot_add","plot_click","plot_deselect","plot_doubleclick","plot_hide","plot_modify","plot_mouseout","plot_mouseover","plot_remove","plot_select","plot_show","postzoom","print","reload","render","resize","setdata","shape_click","shape_mousedown","shape_mouseout","shape_mouseover","shape_mouseup","source_hide","source_show","swipe","touchemove","touchend","touchstart","zingchart.plugins.selection-tool.mouseup","zingchart.plugins.selection-tool.selection","zoom"],l=["addgraph","addmenuitem","addnode","addnote","addobject","addplot","addrule","addscalevalue","appendseriesdata","appendseriesvalues","clearfeed","clearscroll","clearselection","clicknode","clicknode","closemodal","closemodal","destroy/zcdestroy","disable","downloadCSV","downloadRAW","downloadXLS","exitfullscreen","exportdata","exportimage","fullscreen","get3dview","getbubblesize","getcharttype","getdata","getgraphlength","getimagedata","getinterval","getnodelength","getnodevalue","getobjectinfo","getoriginaljson","getpage","getplotlength","getplotvalues","getrender","getrules","getscaleinfo","getscales","getselection","getseriesdata","getseriesdata","getseriesvalues","getversion","getxyinfo","goback","goforward","hideguide","hidemenu","hideplot/plothide","hidetooltip","legendmaximize","legendminimize","legendscroll","load","loadstorage","locktooltip","mapdata","mapdata","modify","modifyplot","openmodal","print","reload","removegraph","removenode","removenote","removeobject","removeplot","removerule","removescalevalue","repaintobjects","resize","saveasimage","set3dview","setcharttype","setdata","setguide","setinterval","setmode","setnodevalue","setpage","setscalevalues","setselection","setseriesdata","setseriesvalues","showhoverstate","showmenu","showplot/plotshow","showtooltip","startfeed","stopfeed","togglebugreport","toggledimension","togglelegend","toggleplot","togglesource","unbinddocument","unlocktooltip","update","updatenote","updateobject","updaterule","viewDataTable","zoomin","zoomout","zoomto","zoomtovalues"],s=["square","parallelogram","trapezoid","circle","diamond","triangle","ellipse","star5","star6","star7","star8","rpoly5","rpoly6","rpoly7","rpoly8","gear5","gear6","gear7","gear8","pie"],C={DEFAULT_WIDTH:"100%",DEFAULT_HEIGHT:480,DEFAULT_OUTPUT:"svg"};const{DEFAULT_WIDTH:c,DEFAULT_HEIGHT:A,DEFAULT_OUTPUT:u}=C;var p={EVENT_NAMES:o,METHOD_NAMES:l,MARKER_NAMES:s,DEFAULT_WIDTH:c,DEFAULT_HEIGHT:A,DEFAULT_OUTPUT:u};const{DEFAULT_WIDTH:h,DEFAULT_HEIGHT:Z,DEFAULT_OUTPUT:d,EVENT_NAMES:f,METHOD_NAMES:_}=p;window.ZCVUE||(window.ZCVUE={instances:{},count:0});var g={props:{data:{type:Object,required:!0},height:{type:[String,Number],default:Z},id:{type:[String],required:!1},output:{type:String,default:d},series:{type:Array,required:!1},theme:{type:Object,required:!1},width:{type:[String,Number],default:h},modules:{type:[String,Array],required:!1},forceRender:{type:String}},data(){return{chartId:null,instance:null,forceRenderOnChange:!1,EVENT_NAMES:f,METHOD_NAMES:_,renderObject:null}},destroyed(){delete window.ZCVUE.instances[this.chartId],window.zingchart.exec(this.chartId,"destroy")},computed:{chartData(){const e=this.$props.data;return this.$props.series&&(e["series"]=this.$props.series),e}},mounted(){this.render()},methods:{render(){this.forceRenderOnChange="undefined"!==typeof this.$props.forceRender,this.$el.style.width=this.$props.width,this.$el.style.height=this.$props.height,this.$props.id?this.chartId=this.$props.id:this.chartId="zingchart-vue-"+window.ZCVUE.count++,this.$refs.chart.setAttribute("id",this.chartId),this.renderObject={id:this.chartId,data:this.chartData,height:this.$props.height,width:this.$props.width,output:this.$props.output},this.$props.modules&&(this.renderObject.modules=this.$props.modules),this.$props.theme&&(this.renderObject.defaults=this.$props.theme),Object.keys(this.$listeners).forEach(e=>{this.EVENT_NAMES.includes(e)&&window.zingchart.bind(this.chartId,e,t=>{this.$listeners[e](t)})}),window.zingchart.render(this.renderObject),this.METHOD_NAMES.forEach(e=>{this[e]=t=>window.zingchart.exec(this.chartId,e,t)})},resize(){this.$el.style.width=this.$props.width,this.$el.style.height=this.$props.height,window.zingchart.exec(this.chartId,"resize",{height:this.$props.height,width:this.$props.width})}},watch:{data:function(){this.forceRenderOnChange?(this.renderObject.data=this.chartData,window.zingchart.render(this.renderObject)):window.zingchart.exec(this.chartId,"setdata",{data:this.chartData})},height:function(){this.resize()},series:function(){window.zingchart.exec(this.chartId,"setseriesdata",{data:this.chartData.series})},width:function(){this.resize()}}},v=g;function m(e,t,n,i,r,a,o,l){var s,C="function"===typeof e?e.options:e;if(t&&(C.render=t,C.staticRenderFns=n,C._compiled=!0),i&&(C.functional=!0),a&&(C._scopeId="data-v-"+a),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},C._ssrRegister=s):r&&(s=l?function(){r.call(this,(C.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(C.functional){C._injectStyles=s;var c=C.render;C.render=function(e,t){return s.call(t),c(e,t)}}else{var A=C.beforeCreate;C.beforeCreate=A?[].concat(A,s):[s]}return{exports:e,options:C}}var b=m(v,r,a,!1,null,null,null),B=b.exports;t["default"]=B}})["default"]},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var i=n("b622"),r=i("iterator"),a=!1;try{var o=0,l={next:function(){return{done:!!o++}},return:function(){a=!0}};l[r]=function(){return this},Array.from(l,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(s){}return n}},"1cdc":function(e,t,n){var i=n("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(i)},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var i=n("d039"),r=n("b622"),a=n("2d00"),o=r("species");e.exports=function(e){return a>=51||!i((function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,n){var i=n("825a"),r=n("e95a"),a=n("50c4"),o=n("0366"),l=n("35a1"),s=n("2a62"),C=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var c,A,u,p,h,Z,d,f=n&&n.that,_=!(!n||!n.AS_ENTRIES),g=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),m=o(t,f,1+_+v),b=function(e){return c&&s(c),new C(!0,e)},B=function(e){return _?(i(e),v?m(e[0],e[1],b):m(e[0],e[1])):v?m(e,b):m(e)};if(g)c=e;else{if(A=l(e),"function"!=typeof A)throw TypeError("Target is not iterable");if(r(A)){for(u=0,p=a(e.length);p>u;u++)if(h=B(e[u]),h&&h instanceof C)return h;return new C(!1)}c=A.call(e)}Z=c.next;while(!(d=Z.call(c)).done){try{h=B(d.value)}catch(D){throw s(c),D}if("object"==typeof h&&h&&h instanceof C)return h}return new C(!1)}},"23cb":function(e,t,n){var i=n("a691"),r=Math.max,a=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):a(n,t)}},"23e7":function(e,t,n){var i=n("da84"),r=n("06cf").f,a=n("9112"),o=n("6eeb"),l=n("ce4e"),s=n("e893"),C=n("94ca");e.exports=function(e,t){var n,c,A,u,p,h,Z=e.target,d=e.global,f=e.stat;if(c=d?i:f?i[Z]||l(Z,{}):(i[Z]||{}).prototype,c)for(A in t){if(p=t[A],e.noTargetGet?(h=r(c,A),u=h&&h.value):u=c[A],n=C(d?A:Z+(f?".":"#")+A,e.forced),!n&&void 0!==u){if(typeof p===typeof u)continue;s(p,u)}(e.sham||u&&u.sham)&&a(p,"sham",!0),o(c,A,p,e)}}},"241c":function(e,t,n){var i=n("ca84"),r=n("7839"),a=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},2626:function(e,t,n){"use strict";var i=n("d066"),r=n("9bf2"),a=n("b622"),o=n("83ab"),l=a("species");e.exports=function(e){var t=i(e),n=r.f;o&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},2877:function(e,t,n){"use strict";function i(e,t,n,i,r,a,o,l){var s,C="function"===typeof e?e.options:e;if(t&&(C.render=t,C.staticRenderFns=n,C._compiled=!0),i&&(C.functional=!0),a&&(C._scopeId="data-v-"+a),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},C._ssrRegister=s):r&&(s=l?function(){r.call(this,(C.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(C.functional){C._injectStyles=s;var c=C.render;C.render=function(e,t){return s.call(t),c(e,t)}}else{var A=C.beforeCreate;C.beforeCreate=A?[].concat(A,s):[s]}return{exports:e,options:C}}n.d(t,"a",(function(){return i}))},"2a62":function(e,t,n){var i=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return i(t.call(e)).value}},"2cf4":function(e,t,n){var i,r,a,o=n("da84"),l=n("d039"),s=n("0366"),C=n("1be4"),c=n("cc12"),A=n("1cdc"),u=n("605d"),p=o.location,h=o.setImmediate,Z=o.clearImmediate,d=o.process,f=o.MessageChannel,_=o.Dispatch,g=0,v={},m="onreadystatechange",b=function(e){if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},B=function(e){return function(){b(e)}},D=function(e){b(e.data)},E=function(e){o.postMessage(e+"",p.protocol+"//"+p.host)};h&&Z||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return v[++g]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},i(g),g},Z=function(e){delete v[e]},u?i=function(e){d.nextTick(B(e))}:_&&_.now?i=function(e){_.now(B(e))}:f&&!A?(r=new f,a=r.port2,r.port1.onmessage=D,i=s(a.postMessage,a,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&p&&"file:"!==p.protocol&&!l(E)?(i=E,o.addEventListener("message",D,!1)):i=m in c("script")?function(e){C.appendChild(c("script"))[m]=function(){C.removeChild(this),b(e)}}:function(e){setTimeout(B(e),0)}),e.exports={set:h,clear:Z}},"2d00":function(e,t,n){var i,r,a=n("da84"),o=n("342f"),l=a.process,s=l&&l.versions,C=s&&s.v8;C?(i=C.split("."),r=i[0]+i[1]):o&&(i=o.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=o.match(/Chrome\/(\d+)/),i&&(r=i[1]))),e.exports=r&&+r},"342f":function(e,t,n){var i=n("d066");e.exports=i("navigator","userAgent")||""},"35a1":function(e,t,n){var i=n("f5df"),r=n("3f8c"),a=n("b622"),o=a("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||r[i(e)]}},"37e8":function(e,t,n){var i=n("83ab"),r=n("9bf2"),a=n("825a"),o=n("df75");e.exports=i?Object.defineProperties:function(e,t){a(e);var n,i=o(t),l=i.length,s=0;while(l>s)r.f(e,n=i[s++],t[n]);return e}},"3bbe":function(e,t,n){var i=n("861d");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){"use strict";var i=n("6547").charAt,r=n("69f3"),a=n("7dd0"),o="String Iterator",l=r.set,s=r.getterFor(o);a(String,"String",(function(e){l(this,{type:o,string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"428f":function(e,t,n){var i=n("da84");e.exports=i},"44ad":function(e,t,n){var i=n("d039"),r=n("c6b6"),a="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var i=n("b622"),r=n("7c73"),a=n("9bf2"),o=i("unscopables"),l=Array.prototype;void 0==l[o]&&a.f(l,o,{configurable:!0,value:r(null)}),e.exports=function(e){l[o][e]=!0}},"44de":function(e,t,n){var i=n("da84");e.exports=function(e,t){var n=i.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},4840:function(e,t,n){var i=n("825a"),r=n("1c0b"),a=n("b622"),o=a("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||void 0==(n=i(a)[o])?t:r(n)}},4930:function(e,t,n){var i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},"4d64":function(e,t,n){var i=n("fc6a"),r=n("50c4"),a=n("23cb"),o=function(e){return function(t,n,o){var l,s=i(t),C=r(s.length),c=a(o,C);if(e&&n!=n){while(C>c)if(l=s[c++],l!=l)return!0}else for(;C>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},"4df4":function(e,t,n){"use strict";var i=n("0366"),r=n("7b0b"),a=n("9bdd"),o=n("e95a"),l=n("50c4"),s=n("8418"),C=n("35a1");e.exports=function(e){var t,n,c,A,u,p,h=r(e),Z="function"==typeof this?this:Array,d=arguments.length,f=d>1?arguments[1]:void 0,_=void 0!==f,g=C(h),v=0;if(_&&(f=i(f,d>2?arguments[2]:void 0,2)),void 0==g||Z==Array&&o(g))for(t=l(h.length),n=new Z(t);t>v;v++)p=_?f(h[v],v):h[v],s(n,v,p);else for(A=g.call(h),u=A.next,n=new Z;!(c=u.call(A)).done;v++)p=_?a(A,f,[c.value,v],!0):c.value,s(n,v,p);return n.length=v,n}},"50c4":function(e,t,n){var i=n("a691"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5692:function(e,t,n){var i=n("c430"),r=n("c6cd");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.2",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var i=n("d066"),r=n("241c"),a=n("7418"),o=n("825a");e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5d62":function(module,__webpack_exports__,__webpack_require__){"use strict";if("undefined"===typeof ZC){window.ZC={AV:function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n2048&&(ZC.cache.data={},ZC.cache.size=0)}},DEBUG:0,TS:{},MAX:Number.MAX_VALUE,IMG404:[],BLANK:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",TTLOCK:!1,REFRESH_TICK:{},ASYNC_TICK:[],COLORS:[],SEQ:0,LOGO_ABOUT:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAAA1CAYAAABBVQnbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu1JREFUeNrsXLFy4zYQBW9UR7wfSHh1iqMn6S3NxLXlLp3lL5D1ARlLkw+Q/QWiu3TW1Sqk65M5ukh9vPzAUV+gLMilDUMgAYigZUm7MzAliiDBxcPu2+XS3nq9ZiQkdaTF/3iet/UJ/vjr5wKFyz9//7dLKj0u4UboHamBpK54HEm2lgisTwgbH78ucBtDG+LnFKxSTOo9DkvU2rLvBFpH2hcKgFpCI9d2JELujMQNsd5CRFdVWKRU2G/syv7+hQWw6ePX6Nd/WELTcgScyGV0BiDqCG6wCyBa0rRQdEZC7sxaxri1ckNggRYKcr6A/ZlVA4tExPxYQAQubERqJBDtSu6hfYb2k0isoX2ztWoke06s6woRayLWJCQ5kkhIyBKR7FQIRCQEIpJjCPFn/xWR15D1fqTyEALRVtLBrU/qJhDZWB8OmFDaG8J+vk3JIhGITEQsUCtkgtslo4K1wwMRxPoBbAIXJ/Q8b3mQmpqvevD3VGFhuVV95PaXnbXTkr6h5M7j0mP3UDxMNo6g3TgCkSe5tiKb2QU3ttxD8PRRN7pFxkFxB+AYKc4hVyx04biDWGx1aqwPX+Yrbjmm0HqGPfwMbPPVOYIkPRA9yAZmYwG8Boi6gtnfJ1koXBeXhD1XGagDCN53vuoeksvabYi/ny5sogAHv4/xhhvK+c5UOj7E1Ts8BhC5zljv/8qbrzh3uZb2RgAeNY85a8dobWVLe40u8TgsEXDhEZJrHYnq46rTuS4XhK0nrW7uQmYw1lTTL5R4jFE/QQYK91VtUbjbmq8u4NNX2Q6zvNCuind1hPtMMot31k4MwB5iv0CylvaRXz6O3tO5VMGBLjozKUrDyVmw8szzFZwnEo5X1VA/RW9rdQ3KGBUxLYmGuHKG4nWk8aleqiz6XSFA5N/HuIgKZX6X7wuUGhlOxoME4FvoO1RGZ88uT6XPKAOuCgxm0aK6/8txLDPrukmci/EtDO54vP7th1HL0CpYAaiGnGtSDVnEBONJ4Xozi/Hx/Q9MX3bb2wCfKYByGWZhvt69T0pIeyF9/P1EAsGUPZcSM03/Hhx/UmnVcu533TixhgnyNRM0dgQgplGsPAkzYXwPzOzZnC7X81FBps0ln7DE4j7FFz7lhGSYWZ0CxLkF6pdEiin27WykHHILXKaLTuPRmQGAoidX8LoScOsD145xJQUVRD+2UJYM4scG7+Gly8ldqZxWOBc41UBB9q8UPEmcr54GRIXwBXn/ZDnzAMIzyhNVVTYKAAorAHTVgHL5pHOS+gEVkGqUcFnmWmB876F18Vzb5KmaijbjDAAiZ8k/jxVuWAXwZANAz5HirKR/mfBxXECbZeDYIpPe0riMsGKim8qBXMDEFy4hQv6tighD+C0usUJLOMetQOYTOFYVPe0KRHcl7nAGK98k8k0dUIKCXNemIq0SK1RF4LK8iEXIbCMzAUCi37flOJ8UUWGCoLNRctAQiBLrHioLkbvAIswP0CoHtcFcF0Sg6FEFgNIGAeSSg8RbWhZ5ctuW+ZZAmsQUXYwbyUHTR67kghQvnYMIk4k3OwKQS/Edgdh2omT9RRXE1hZAfaQYvmbx+MbWyNGzvXcSgKYaAL21h6hpRb5JFSiEliszxIjHVE6l798cAShQAChBIt7N8klnbQ/aCdvBK+hFUVqR7S1l8G8QQJznxCUvX/Zg/5005onWQnHXM18l0kq+wWjRZKI7TbgLtHD+i5CcR1RvRAp3VpUL4qt9AJMyMDznvcPkoxEZZ5uZ5iw9AWPm41ihhTB1TWPJIvdeJP3KZbrBr9wVnn20IMTBrkDka/iFDTf4/Mr3cMfUhWN83PYpfQ6W+epSuudpRmrP2rclZFf1zG7cIMfzS6zh9SuAyLfJE+2F8JpusDi3zMEzINF9Q/siKWwCkzRAy/coWIi+QrFO8i/SwpRBHeB1YixfuVRG1TmnSxwWyN0IJS7c9S8PojwWgDREblQFpIiZPi/iz8B4ZeKmmw8MwBobcSg7iaSoz3/isOXJyUK+sHpv2CQbwcaz686qLg7mNWoOJJY/9b5FpaWogBlGlnahdp7f+WBJjiPWRH11/mDXZPwp3r/La0dM88io1YD/LpR+r+FHY4MQWwxllcdiZClai09I7uPapDMHQ1dwFx3FORIcy11FYlHWRWKol0Tiavz8A+SAvgCcGK8xwwI50SqLlQK6OSmTLrrKU+m6yyJ/stcWCMb/sFaLLx3XKTmuZ31RzkdyTnL0khU17vrf7Tm4iT5TJ0kTXHlc2iUEmBe3vSco1APRIVgiH9rX9XbSJxgQiIob4WUh3y0BNCEIEIhUFmlqACbOoTo0/cSJtJZJwX8O959NvAUQkZDUkf8FGADBt38P1SQKxwAAAABJRU5ErkJggg==",IMAGES:{"zc.logo":"data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAA8CAYAAABbyDl1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACGZJREFUeNrsXF9oFEccno2XRE1SI9ZQLcY0oIW21miQKoi5UPtiK7m+1GKhuWDrg7Z4+lILihGF6oueUH2w2pwFxT71gtonWy9SUJDEmKK0CvGikGtjg4mJ5p9xOt8mt5ndm93bTfaS3DkfLGxu525nZ779/b7vN6MKpZRISDhBlhwCCafwTLcO/XchRDsvhtTzeR/5yasb/YqcJkkaSwzGoqS3sUE9Lyj3yhmS6Uki4yNN7PFftH+oRz1/o2iVTBMSKhQr9/Tj7zU0+uiGel5TWZcS4vAaRk1P7VGWotrU85wFi0nOwhLtmtQ4UtMkaJjEa20agaTGkZpGIlPS0/2OGzTacUP7++b9MOl61q6el5VUkbl5r2vXKt/Z5lqa6GmMaJ3ovBAinRfPjKajajJvo5+PNDI1Tbf0BMJcuX1C2LA5Wq/7m5HGtU7wZOAJBD0jiSLTk0SmRZqSolWkkmyzlZ4kpKaZMsttpXFkapKWe1waR0JqGolMT09yGUHCMWkkJGR6kpCkkZCkkZCkkZCkkZCQpJGQpJGQpJF4yUnj/aOD4pDDnRmYlAXLhs4BOdIy0ki8zEjZ2hPSkVmEqZiXSyJri+QCaCakp9pTZyfMoNovPssYMjT3DNPI4+ck/Oh5wrVCj0J88z3EvzDH9HlrWwe08awtzc2YcdEiTaSphVZu/3bCP3jl+HfEu/Jd3QAp9Q/Vm9CqRWkzcP7bffRMbChpuznstfMvyCHBN2fqno2RjVY2Phsbl/LZxDvXM+2fH/3WsoVJfz1EIiG6+G49I2399oJuNwtCxx4OksJshWZCNDEQnYqIMymkgYZJFxgJs5gFkEBxDikrmKF91jVE1ZTFR6L9rQOkZKZCrdKVtNxOQl6aiF5GGMoTpnpBNgm9PUvYd19RNtMz2WpU6h6VPIG7/dA4L48Qhg5heiRpTG6+20p2HvtBeK16w/sJeiZdgFxezwleaBUzwvA5n6UkuvPugJaqoIWSfS+jIo2dCfd9c1BIrIoVy0ho7y7t+6FLlyk7dG3KlpaSYGCr2sa7bTe1e02977rVJPCpz7R/4YZrNHz1GonGOsYcTkEe8W9YT3wVaxSr+wHBB4N651NqL6UGinMV9l0tQsFtOXVkcGK4H0uBwucLPhigzT0vSLT/hdDFeefOUPthvBZqH6TR0X6hDUge7hiiIZZWu5jebXg8rAr0aB9+O3FaQ+1D7HmGKf99x+mp7POvaHfv04TPly95g0ROHNJ1Ohr7lzTc/NP0t0TXQLRA8CQR3QPta0+fo5HjhzDhip7IB2j91evC++DzfVs2U6u+qO24SRzRMfZFbXj5bHUSrAAdVHa9l97qfWF6/5vv5VEjcQJ/91MI7WR9j/ZRanRwIAeIoYKRkpGDIoV2G3ita8dB5x7Z9xlp1NMsJ4S5de++kDDNP30/4XAMkpkRRnMq7BojiP4tPB82JYwmUk+fs20zVRLOz3bUd0w03sL4IbTwd/qIGWF4EW6s8yQjTBxox9eFBBGO1NxJJEzKhLAZYebk57lCGKDtnw7b7ZCKkHLUgU1CCHt6ZtigVWa4rgMwWSJhzUcfpDikDyayldG0pLWrmu9BRFOs6klob5ZW45EUUZQX6yB5pHyMBsrlJzRZbSkpafwHjpgSBqnCTeA3Q3t2qlpEDfssghz7uT7xrbnXCp2CyJSQLhe/VkTCh/dqKYwJd+o/eISInsEMhdnu61hMlkggN6/OV/iJamYE8hWNRD8+KogIo6YW9puMNDROzGSFyOjaAiWlkQaEOfPrb6aEMWqLiSKwqYrEI8ioMAdpTENupKklsc8frtf1C+dM8LpS7Z4I7AprPgKguBYXu2aA2LX7m8GlM1Nbp8FbLCKMyvrDe1wnjDqwgnUruDIzESuKHqLfGHWFU7qfp2SW8w0FVssOiETQKUzH2IviWO5wqfAoJA1cjCgtAHUsfaRrLcZ0QvWmQ9U4cadgB7DRvHtyc40JGgf2PG63RS7HplhPTZ0mTpiag0dNCcPCf8YVrowDijfYCZgY1Tkjuv4VdyIvc0P7TSIJNBKIDTKNl0jjRZaxQGZGmH1bNk87wkD0iop8dj4zWuY5HnHNxg54wlS45LyQfnjCwD3BzTBCKjggaCGCnURE10kz4jLEhMHywHTcJ4OqbsLbefqsrc8SNFyxXqh6G5/a0kBGIVqW7w5p+Ap13G5Pl60VY2tP23ebFtYgiNlhaxARkSaLYL51a4ixsAdxXPjBJ7RsSalmz60Khpy7UVCuj9tWhHxUY41VVkEK0U92kvZ2oddI5kTsGqJTF2nsDOx0A9KlKEXhWeC4cDh5LqMtRpUVxDFLH4WRJ7pV8R2LUrPCjXUn00gXG0zZ+JoRMu03lkd/qVNQN7LC0R1f2qsTFecq+wTEATmQruIHqrjYrMQX05bnZ7kWZUYd2Fikjw2p6RJOCmTFgUow+mUs6KHNRO7LazssfcSfmU/DGfGvEVBorFq3Wnhtx6Yqy9VxUZqqe0tfBMPEIF3FD+MaEpYHUNl1tWbF+sFPIO77cUufurMOB4iEfoGsPNDGag0qacrn1t345+ZXwTNiuycKjVg6UAnU1DK2x3Wc9SQUwZijotArVk4Kk4qU5mRF3NHLUJ5HzPoAy417o6+IBG7ZbjiyQo9iuVCa1v99GggSadJXi70rlyWQBc5wRfXX4xbsoje3ZGThb9LcDL8Sj2UF4xYKOxvCXXdPaalnYh0J2x5Cl4qgc/RaJXhS6LycpIqpftZkRJhMO572/1Ej7LVT54f1LOOmMYlxWO50RTCw1Zk7YE7L6XckMizSxLVN7alzJNmWTuwyDO3ZlZIVekmadI4858O0S5CuoGEkWSRpJKSmkUgX/C/AAC1LYqunMJ6bAAAAAElFTkSuQmCC"},hosted:!1,adapter:"",flash:null,canvas:null,svg:null,vml:null,move:!1,objmove:!1,compat:function(){ZC.flash=ZC.canvas=ZC.svg=ZC.vml=!1;var e=!!document.createElement("canvas").getContext,t=!1;e&&(t="function"==typeof document.createElement("canvas").getContext("2d").fillText),ZC.canvas=e&&t,ZC.svg=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");var n=document.body.appendChild(document.createElement("div")),i=document.createElement("zcv:shape");i.className="zcvml",i.setAttribute("id","vml_flag1"),i.setAttribute("adj",new Object),n.appendChild(i),i.style.behavior="url(#default#VML)",ZC.vml=!i||"object"==typeof i.adj,n.parentNode.removeChild(n);var r=!1;navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?r=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:document.all&&-1===navigator.appVersion.indexOf("Mac")&&(r=new Function('try { var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj) { xObj = null; return true; } } catch (e) { return false; }')()),ZC.flash=r?1:0},quirks:!(document.compatMode&&"CSS1Compat"===document.compatMode),ie67:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<8,ie678:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<9,mobile:/Mobile|BlackBerry|Opera Mini|PPC|Windows CE|Android/.test(navigator.userAgent),ipad:/iPad/.test(navigator.userAgent),iphone:/iPhone/.test(navigator.userAgent),websockets:"WebSocket"in window,webstorage:"sessionStorage"in window,RV:[],X5:[],DW:[0,0],ACR:null,_cp_:function(e,t,n,i,r,a){null===ZC._n_(n)&&(n=!0),null===ZC._n_(i)&&(i=!0),null===ZC._n_(r)&&(r=!1);var o=(a=a||[]).length;for(var l in e)if(0===o||o>0&&-1===ZC.AV(a,l))if(e[l]instanceof Array){if(i){(null===ZC._n_(t[l])||"override"!==l&&!r)&&(t[l]=[]);for(var s=0,C=e[l].length;s0&&-1===ZC.AV(n,o))){var l=o.substring(0,1);if("."!==l&&"#"!==l)if(e[o]instanceof Array)if(ZC.V1(o)!==o){for(e[ZC.V1(o)]=[],i=0,r=e[o].length;i=(e=e.charCodeAt(0)+13)?e:e-26)}))},ACI:function(e,t){var n=ZC.XM(ZC.ACC(e)),i=ZC.XM(ZC.A2K(t)),r=n.length;if(0===r)return"";for(var a,o,l=n[r-1],s=n[0],C=2654435769,c=Math.floor(6+52/r)*C;0!==c;){o=c>>>2&3;for(var A=r-1;A>0;A--)a=((l=n[A-1])>>>5^s<<2)+(s>>>3^l<<4)^(c^s)+(i[3&A^o]^l),s=n[A]-=a;a=((l=n[r-1])>>>5^s<<2)+(s>>>3^l<<4)^(c^s)+(i[3&A^o]^l),s=n[0]-=a,c-=C}return decodeURIComponent(ZC.ACA(ZC.A6H(n)))},AED:function(e,t){e=encodeURIComponent(e);var n=ZC.XM(ZC.A2K(e)),i=ZC.XM(ZC.A2K(t)),r=n.length;if(0===r)return"";1===r&&(n[r++]=0);for(var a,o,l=n[r-1],s=n[0],C=Math.floor(6+52/r),c=0;C-- >0;){o=(c+=2654435769)>>>2&3;for(var A=0;A>>5^(s=n[A+1])<<2)+(s>>>3^l<<4)^(c^s)+(i[3&A^o]^l),l=n[A]+=a;a=(l>>>5^(s=n[0])<<2)+(s>>>3^l<<4)^(c^s)+(i[3&A^o]^l),l=n[r-1]+=a}return ZC.ACB(ZC.A6H(n))},XM:function(e){for(var t=new Array(Math.ceil(e.length/4)),n=0;n>>8&255,e[n]>>>16&255,e[n]>>>24&255);return t},ACB:function(e){for(var t="",n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],i=0;i>4]+n[15&e[i]];return t},ACC:function(e){for(var t=[],n="0x"===e.substr(0,2)?2:0;nn?n:e},DS:function(e,t,n,i){return i?tt[0].length?-1:0},ZW:function(e){window.setTimeout(e,zingchart.TIMEOUT)},_fixed_:function(e,t){return t>=0&&t<=20?e.toFixed(t):""+e},_nfind_:function(e,t,n,i){var r=t.R[n].BU,a=t.R[i].BU;if(e==r)return n;if(e==a)return i;var o=ZC._i_((n+i)/2);if(!t.R[o]){for(;!t.R[o]&&on;)o--;if(o===n)return null}}var l=t.R[o].BU;return o!==n&&o!==i?e==l?o:e>l?ZC._nfind_(e,t,o,i):ZC._nfind_(e,t,n,o):e==l?o:null},_tx_:function(e){var t,n,i,r,a=[1,1,0,0];if(zingchart.DEV.LOOKUPCSSTRANSFORM&&!ZC.vml&&ZC.AK(e)){var o=ZC.AK(e);for(t="";o&&(""===t||"none"===t);)t=ZC.A4(o).css("transform")||"",o=o.parentNode;-1!==(n=t.indexOf("matrix("))&&(i=t.indexOf(")",n),r=t.substring(n+7,i-n).split(","),a=[ZC._f_(r[0]),ZC._f_(r[3]),ZC._f_(r[4]),ZC._f_(r[5])])}return a}},ZC.hasPassive=!1,ZC.SEC=1e3,ZC.MIN=60*ZC.SEC,ZC.HR=60*ZC.MIN,ZC.DAY=24*ZC.HR,ZC.MON=30*ZC.DAY,ZC.YR=365*ZC.DAY,ZC.MAPTX=0,window.JSON=window.JSON||{},JSON.stringify=JSON.stringify||function(e){var t=typeof e;if("object"!==t||null===e)return"string"===t&&(e='"'+e.replace("\\","\\\\").replace('"','"')+'"'),String(e);var n,i,r=[],a=e&&e.constructor===Array;for(n in e)"function"!=typeof e[n]&&("string"===(t=typeof(i=e[n]))?i='"'+i.replace("\\","\\\\").replace('"','\\"')+'"':"object"===t&&null!==i&&(i=JSON.stringify(i)),r.push((a?"":'"'+n+'":')+String(i)));return(a?"[":"{")+String(r)+(a?"]":"}")},JSON.parse=JSON.parse||function(L0){return""===L0&&(L0='""'),eval("("+L0+")")},ZC._=["background-color","angle-start","angle-end","graphid","line-width","values","-node-area zc-node-area","placement","slice","value","labels","series","decimals","thousands-separator","decimals-separator","-print-c","graphset","value-box","outer","width","height","size","-hover-c","enable-guide","zc-abs zc-layer","exponent-decimals","3d-aspect","x-angle","y-angle","z-angle",'" coords="',"undefined","~rgba(255,255,255,0)","~rgb(255,255,255)","-node-area ","-plotset-plot-","http://www.w3.org/2000/svg","http://www.w3.org/1999/xlink","skip_context_menu","skip_segment_tracking","skip_marker_tracking","skip_interactivity","use_fast_mode","use_fast_markers","use_single_canvas","If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT","mousedown","mousemove","mouseup","scale-x","scale-y","scale-v","preservezoom","toggle-action","enable-animation","enable-preview","margin-top","margin-right","margin-bottom","margin-left","border-color","border-width","Network error","URL Data loader","loader.gui.context-menu","-menu-item-exitfullscreen","transform-date-format","transform-date","bg-image-width","bg-image-height","hover-state","background-state","selected-state"];class ZCClass{}if(ZC.ABB=function(e){this.G=e,this.A9S=function(e,t){var n,i=this,r=i.B8.palette;if(null!==ZC._n_(t)&&null!==ZC._n_(r[t])&&(r=r[t]),null!==ZC._n_(r[e])){var a=r[e];return null===ZC._n_(a[2])&&(a[2]=ZC.AP.R0(a[1],10)),null===ZC._n_(a[3])&&(a[3]=ZC.AP.R0(a[1],10)),a}var o=["#00BAF2","#E80C60","#E2D51A","#9B26AF","#FB301E","#00AE4D","#20398B"];n=null!==ZC._n_(o[e-i.B8.palette.length])?o[e-i.B8.palette.length]:"#"+ZC.Y7.md5(e).substr(e%20,6);var l=ZC.AP.R0(n,10),s=ZC.AP.R0(n,20),C="#FFF";return i.B8.palette&&i.B8.palette[0]&&i.B8.palette[0][0]&&(C=i.B8.palette[0][0]),[C,n,l,s]},this.A4R=function(e){e&&ZC._cp_(e,this.B8,!0)},this.ABG=function(e){var t=this;null!==ZC._n_(t.O6[e])&&(ZC._todash_(t.O6[e]),ZC._cp_(t.O6[e],t.B8))},this.O6={},ZC._cp_(zingchart.THEMES,this.O6),this.O6.classic={palette:[["#fff","#6a921f","#a7da47","#89b92e"],["#fff","#007fa3","#00b0e1","#0392bb"],["#fff","#a62b02","#ef4810","#cc3300"],["#fff","#b79007","#f9c332","#da9b04"],["#fff","#563d02","#84680a","#6e4503"],["#fff","#0b32a0","#4d62b1","#1540a0"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#e1eaec #edf3f5",title:{"font-size":14,bold:1,color:"#fff","background-color":"#00bbf1 #05a0cd",padding:6},subtitle:{"font-size":11,bold:1,color:"#333","margin-top":30,padding:6},source:{"font-size":10,color:"#333",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:""},SCALE:{"font-size":11,"line-width":2,"line-color":"#3e6c7b",item:{flat:!0},"ref-line":{"line-width":1,"line-color":"#3e6c7b"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#2c4a59",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#3e6c7b"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#3e6c7b"},label:{color:"#2c4a59",flat:!0}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},legend:{"background-color":"#fff","border-width":1,alpha:.75,"border-alpha":.75,"border-color":"#666","shadow-distance":3,header:{padding:"4 6",color:"#fff","border-width":1,"border-color":"#3e6c7b","background-color":"#3e6c7b"},footer:{padding:"2 6","background-color":"#ccc","border-width":1,"border-color":"#666"},marker:{"border-color":"#333","border-width":1}},plot:{"value-box":{flat:!0},marker:{shadow:1,"line-width":1,"border-width":1},"hover-marker":{"line-width":1,"border-width":1}},guide:{"line-width":1,"line-color":"#999",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},area:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0}},hbullet:{plot:{"fill-angle":0,shadow:0}},scatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},hscatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},bubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},hbubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},pie:{plot:{"border-width":1}},nestedpie:{plot:{"border-width":1}},radar:{plot:{marker:{size:3},"hover-marker":{size:4}},"scale-k":{guide:{alpha:.5,"background-color":"#eee #ddd"}}},gauge:{"scale-r":{"background-color":"-1",guide:{alpha:.5,"background-color":"#eee #ddd"},item:{"offset-r":0},ring:{size:1,items:[{"background-color":"#999",alpha:.8},{"background-color":"#666",alpha:.8}]}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{guide:{alpha:.25,"background-color":"-1 #58595B"}},"scale-y-n":{guide:{alpha:.25,"background-color":"-1 #58595B"}},plot:{"border-width":1}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{label:{"font-angle":270}},"scale-x-n":{label:{"font-angle":90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{label:{"font-angle":0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},plot:{"border-width":1}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},"-":""},this.O6.light={palette:[["#fff","#29A2CC","#29A2CC","#1089B3"],["#fff","#D31E1E","#D31E1E","#BA0505"],["#fff","#7CA82B","#7CA82B","#638F12"],["#fff","#EF8535","#EF8535","#D66C1C"],["#fff","#A14BC9","#A14BC9","#8832B0"],["#fff","#A05F18","#A05F18","#874600"],["#fff","#265E96","#265E96","#0D457D"],["#fff","#6B7075","#6B7075","#52575C"],["#fff","#96C245","#96C245","#7CA82B"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#ffffff",title:{"font-size":21,bold:1,color:"#414042","background-color":"none",padding:6},subtitle:{"font-size":11,bold:1,color:"#414042","margin-top":30,padding:6},source:{"font-size":10,color:"#414042",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:"No Data","background-color":"#BBBBBB",alpha:.8},SCALE:{"font-size":11,"line-width":1,"line-color":"#8C8C8C",item:{"font-size":12,flat:!0,color:"#808285"},"ref-line":{"line-width":1,"line-color":"#D1D3D4"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#DCDCDC",alpha:1},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:5,placement:ZC._[18],"line-width":1,"line-color":"#8C8C8C"},"minor-tick":{visible:1,size:3,placement:ZC._[18],"line-width":1,"line-color":"#A7A9AC"},label:{color:"#414042",flat:!0}},"scale-x":{normalize:!0,guide:{visible:!1}},scroll:{bar:{"background-color":"#F0F1F1",margin:1},handle:{"background-color":"#A7A9AC","border-radius":6}},"scroll-x":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-xi":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-yi":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},preview:{"background-color":"#fff","border-width":1,"border-color":"#A7A9AC",live:!0,mask:{"background-color":"#999"},active:{alpha:0},handle:{width:11,"border-width":2,"border-radius":3,"line-color":"#C6C6C6","border-color":"#A7A9AC","background-color":"#F0F1F1"},"handle-top":{height:11},"handle-bottom":{height:11}},tooltip:{shadow:1,"shadow-angle":45,"shadow-distance":1,"shadow-alpha":.25,"border-width":1,"border-color":"#fff","border-alpha":1},zoom:{"preserve-zoom":1,"background-color":"#929497"},legend:{"background-color":"#fff","border-width":1,shadow:0,"shadow-alpha":.2,alpha:1,"border-alpha":1,"border-color":"#cccccc",header:{padding:"5 0 5 10",color:"#222222","background-color":"none","border-width":0,"border-top":"0px solid none","border-bottom":"1px solid #cccccc"},footer:{padding:"5 0 5 10","border-top":"1px solid #cccccc"},shader:{"background-color":"#F0F1F1","line-color":"#C6C6C6",margin:2,height:8,"line-width":2,"line-style":"dotted"},icon:{"line-color":"#C6C6C6","line-width":2,style:"small"},marker:{"border-color":"#fff","border-width":1},"page-on":{"background-color":"#929497"},"page-off":{"background-color":"#D1D2D3"},scroll:{bar:{"background-color":"none","margin-top":3,"margin-bottom":3},handle:{"background-color":"#D1D2D3","border-top":"none","border-right":"none","border-bottom":"none","border-left":"none","border-radius":6,width:12,height:12}}},plot:{"value-box":{flat:!0},marker:{shadow:0,"line-width":1,"border-width":1,"border-color":"#fff"},"hover-marker":{"line-width":1,"border-width":1},monotone:!0},guide:{"line-width":1,"line-color":"#8C8C8C",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"line-width":2,shadow:0,marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},area:{plot:{"line-width":2,shadow:0,"alpha-area":.25,"background-color-style":"solid",marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0},"scale-x":{guide:{visible:!0}}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0,goal:{"border-width":1,"border-color":"#fff",height:8}}},hbullet:{plot:{"fill-angle":0,shadow:0,goal:{"border-width":1,"border-color":"#fff",width:8}}},scatter:{plot:{"line-color":"%palatte-0","border-color":"%palatte-0",marker:{size:5},"hover-marker":{size:6}},"scale-x":{guide:{visible:!0}}},hscatter:{plot:{"line-color":"%palatte-0","border-color":"%palatte-0",marker:{size:4},"hover-marker":{size:5}},"scale-x":{guide:{visible:!0}}},bubble:{plot:{marker:{"border-width":1,"border-color":"#fff"},"hover-marker":{"border-width":1,"border-color":"#fff"}},"scale-x":{guide:{visible:!0}}},hbubble:{plot:{marker:{"border-width":1,"border-color":"#fff"},"hover-marker":{"border-width":1,"border-color":"#fff"}},"scale-x":{guide:{visible:!0}}},pie:{plot:{shadow:0,"border-width":1,"value-box":{placement:"in","font-size":16,text:"%node-percent-value%"}}},nestedpie:{plot:{"border-width":1}},radar:{plot:{shadow:0,"line-width":2,"background-color":"%palette-1","active-area":!0,marker:{size:4},"hover-marker":{size:5,"border-color":"#fff"}},"scale-k":{guide:{"line-width":1,"line-style":"solid","line-color":"#8C8C8C","line-segment-size":6,"line-gap-size":6,alpha:1,"background-color":"#fff #F7F8F8"},tick:{"line-color":"#8C8C8C","line-width":1,size:10}},"scale-r":{},"scale-v":{"ref-line":{"line-color":"#8C8C8C","line-width":1},tick:{"line-color":"#8C8C8C","line-width":1},guide:{"line-color":"#CDCDCD","line-width":1}}},gauge:{plot:{shadow:0},scale:{"size-factor":1},"scale-r":{aperture:270,tick:{size:11,"line-width":2},"background-color":-1,guide:{"background-color":"#fff"},ring:{size:8,"background-color":"#CDCDCD"},center:{size:20,"background-color":"#fff","border-width":6,"border-color":"#1089B3"}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-x":{visible:!1,guide:{visible:0}},"scale-y":{guide:{"background-color":"-1",alpha:1}},"scale-y-n":{guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{visible:!1,guide:{visible:0},label:{"font-angle":270}},"scale-x-n":{label:{"font-angle":90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-y":{guide:{"background-color":"-1",alpha:1},label:{"font-angle":0},item:{"text-align":"center"}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"},guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},range:{plot:{"background-color":"%palette-1",marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},venn:{plot:{"border-width":0,shadow:0,alpha:.75,"background-color":"%palette-1"}},root:{gui:{"context-menu":{visible:!0,width:"125px",padding:"5 0","background-color":"#595959","border-width":0,"border-color":"#595959",position:"left",button:{visible:ZC.mobile,alpha:0},gear:{"background-color":"#000",type:"hamburger",alpha:1},item:{"background-color":"#595959","text-align":"left",padding:"4 20 4 15","border-width":0,"border-color":"#595959","font-size":"12px",color:"#fff","hover-state":{"background-color":"#414141"}},separator:{"line-width":1,"line-color":"#969696"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},"-":""},this.O6.light.graph["crosshair-x"]=this.O6.light.graph["crosshair-y"]=this.O6.light.graph.guide,this.O6.dark={},ZC._cp_(this.O6.light,this.O6.dark,!0,!0),ZC._cp_({graph:{"background-color":"#221F1F",title:{color:"#fff"},subtitle:{color:"#fff"},source:{color:"#fff"},SCALE:{"line-color":"#D1D3D4",item:{color:"#D1D3D4"},"ref-line":{"line-color":"#D1D3D4"},guide:{"line-color":"#58595B"},"minor-guide":{"line-color":"#58595B"},tick:{"line-color":"#D1D3D4"},"minor-tick":{"line-color":"#D1D3D4"},label:{color:"#D1D3D4"}},scroll:{bar:{"background-color":"#6C6D70"},handle:{"background-color":"#A7A9AC"}},"scroll-x":{bar:{"border-top":"0px solid none","border-right":"2px solid #D1D3D4","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"},handle:{"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{"border-top":"2px solid #D1D3D4","border-right":"0px solid none","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"}},preview:{"background-color":"#221F1F"},tooltip:{"border-color":"#000"},legend:{"background-color":"#221F1F",header:{color:"#fff",shader:{"background-color":"#414042","line-color":"#676667"}},footer:{color:"#D1D3D4","background-color":"#414042","border-top":"0px solid none","border-right":"2px solid #A7A9AC","border-bottom":"2px solid #A7A9AC","border-left":"2px solid #A7A9AC"},shader:{"background-color":"#414042","line-color":"#676667"},icon:{"line-color":"#676667"},"page-status":{color:"#D1D3D4"},"page-on":{"background-color":"#D1D2D3"},"page-off":{"background-color":"#929497"},marker:{"border-color":"#000"},item:{color:"#D1D3D4"}},plot:{marker:{"border-color":"#221F1F"}},guide:{"line-color":"#D1D3D4","scale-label":{"background-color":"#929497"},"plot-label":{"background-color":"#221F1F",color:"#FFF","border-color":"#5a5a5a"}}},line:{plot:{"hover-marker":{"border-color":"#221F1F"}}},area:{plot:{"hover-marker":{"border-color":"#221F1F"}}},vbullet:{plot:{goal:{"border-color":"#221F1F"}}},hbullet:{plot:{goal:{"border-color":"#221F1F"}}},bubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},hbubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},pie:{plot:{"border-color":"#221F1F"}},radar:{plot:{"hover-marker":{"border-color":"#221F1F"}},"scale-k":{guide:{"line-color":"#58595B","background-color":"#221F1F #312F30"},tick:{"line-color":"#D1D3D4"}},"scale-v":{"ref-line":{"line-color":"#58595B"},tick:{"line-color":"#58595B"},guide:{"line-color":"#58595B"}}},gauge:{"scale-r":{guide:{"background-color":"#221F1F"},ring:{"background-color":"#57585B"}}},vfunnel:{SCALE:{guide:{"line-color":"#58595B"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},hfunnel:{SCALE:{guide:{"line-color":"#58595B"}},"scale-y":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},"scale-y-n":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},root:{gui:{"context-menu":{gear:{"background-color":"#FFF"}}}},"-":""},this.O6.dark,!0,!0),this.O6.dark.graph["crosshair-x"]=this.O6.dark.graph["crosshair-y"]=this.O6.dark.graph.guide,this.O6.mini={graph:{title:{width:"100%",padding:"1 2 2","font-size":10},subtitle:{width:"100%",padding:"1 2 2","margin-top":14,"font-size":9},plotarea:{width:"100%",height:"100%",margin:"18 4 4 4"},SCALE:{visible:0},tooltip:{shadow:0,"border-radius":7},legend:{visible:0},preview:{visible:0},guide:{"line-width":1,"line-color":"#ccc",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{"border-color":"#ccc","border-radius":5,padding:"3 6"}},plot:{shadow:0,"value-box":{visible:0},"hover-state":{visible:0},"hover-marker":{visible:0},"max-trackers":99999,"max-nodes":99999}},line:{plot:{"line-width":1,marker:{type:"none"}}},line3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},area:{plot:{"line-width":1,marker:{type:"none"}}},area3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},scatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},hscatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},bubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},hbubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},pie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},pie3d:{plotarea:{margin:"32 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":1}},nestedpie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},radar:{plotarea:{margin:"18 4 4 4"},plot:{"line-width":1,marker:{shadow:0,size:2}},scale:{"size-factor":.95}},vbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},hbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0,zoom:.9}},venn:{plotarea:{margin:"18 4 4 4"},plot:{"border-width":0}},gauge:{plotarea:{margin:"18 4 4 4"},plot:{indicator:[5]},SCALE:{visible:1},scale:{"size-factor":.9},"scale-r":{"background-color":"-1",aperture:270,tick:{visible:0},item:{visible:0},guide:{visible:0},ring:{size:6,"background-color":"#CDCDCD",items:[]},center:{"border-width":0,size:2,"background-color":"#fff"}}},vfunnel:{plotarea:{margin:"18 4 4 4"}},hfunnel:{plotarea:{margin:"18 4 4 4"}},vbullet:{plot:{"bar-space":.5,goal:{"border-width":0,height:4}}},hbullet:{plot:{"bar-space":.5,goal:{"border-width":0,width:4}}},range:{plot:{"line-width":1,marker:{visible:0},"hover-state":{visible:0}}},"-":""},this.O6.negative={palette:[["#000","#909090","#969696","#9c9c9c"],["#000","#a0a0a0","#a6a6a6","#acacac"],["#000","#b0b0b0","#b6b6b6","#bcbcbc"],["#000","#c0c0c0","#c6c6c6","#cccccc"],["#000","#d0d0d0","#d6d6d6","#dcdcdc"],["#000","#e0e0e0","#e6e6e6","#ececec"],["#000","#f0f0f0","#f6f6f6","#fcfcfc"]],graph:{"background-color":"#111",title:{color:"#fff"},subtitle:{color:"#333"},SCALE:{"font-size":11,"line-width":2,"line-color":"#ccc",guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#ccc"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#ccc"},label:{color:"#fff"},item:{color:"#fff"}}},radar:{"scale-k":{guide:{alpha:.5,"background-color":"#222 #333"}}},"-":""},this.O6.spark=this.O6.mini,this.B8={root:{gui:{behaviors:[{id:"PageScroll",enabled:"all"},{id:"ViewSource",enabled:"all"},{id:"BugReport",enabled:"none"},{id:"LogScale",enabled:"none"},{id:"LinScale",enabled:"none"},{id:"FullScreen",enabled:"none"},{id:"3D",enabled:"none"},{id:"ExportData",enabled:"none"},{id:"SaveAsImageJPG",enabled:"none"},{id:"DownloadCSV",enabled:ZC.ie678?"none":"all"},{id:"DownloadXLS",enabled:ZC.ie678?"none":"all"}],watermark:{type:1,position:"rb"},history:{margin:"10 auto auto 10",width:30,height:22,padding:4,item:{"background-color":"#369","border-width":1,"border-color":"#69c"},"item-off":{"background-color":"#eee","border-color":"#ddd"}},progress:{"background-color":"#fff",color:"#000"},"context-menu":{padding:0,"border-width":1,"border-color":"#000",button:{visible:ZC.mobile,margin:"5 auto auto 5",alpha:.8,"background-color":"#333 #999","border-radius":8,width:40,height:40},gear:{"background-color":"#fff #f6f6f6",type:"gear6",alpha:.8},item:{"background-color":"#36393D","text-align":"left",padding:"4 20 4 8","border-width":1,"border-color":"#000",color:"#fff","hover-state":{"background-color":"#0084AA"}},separator:{"line-width":1,"line-color":"#000000"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},palette:[],graph:{title:{width:"100%",bold:1,"font-size":13},subtitle:{width:"100%",bold:1,"font-size":11},scroll:{bar:{"background-color":"#e1eaec","border-color":"#ddd"},handle:{"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},"scroll-xi":{bar:{width:16},handle:{width:16}},"scroll-yi":{bar:{height:16},handle:{height:16}},preview:{width:"100%",height:50,margin:"auto 50 20 50","border-width":1,shadow:0,"background-color":"#f0f0f0","border-color":"#999",mask:{alpha:.5,"background-color":"#333"},active:{alpha:.1,"background-color":"#999"},handle:{width:9,height:16,"border-width":1,"line-width":1,"line-color":"#111","border-color":"#444","border-radius":2,"background-color":"#e6e6e6"},"handle-top":{width:16,height:9},"handle-bottom":{width:16,height:9}},"preview[yx]":{width:50,height:"100%",margin:"20 auto 50 20"},plotarea:{width:"100%",height:"100%",margin:"60 50 65 50"},"plotarea[preview]":{margin:"60 50 105 50"},SCALE:{"line-width":1,guide:{"line-width":1,"line-color":"#ddd"},tick:{size:6,"line-width":2},"minor-guide":{"line-width":1,"line-color":"#ddd"},"minor-tick":{size:4,"line-width":1},label:{bold:1,padding:6,flat:!0},item:{padding:2,"auto-align":!0,flat:!0},marker:{"line-width":1,"line-color":"#000","background-color":"#ccc"},"transform[date]":{item:{"font-size":10,padding:2,color:"#000","background-color":"#fff"}}},"SCALE[3d]":{"background-color":"#ccc"},"scale-y[default]":{label:{"font-angle":270},item:{"text-align":"right"}},"scale-y[opposite]":{label:{"font-angle":90},item:{"text-align":"left"}},plot:{error:{"line-width":1,"line-color":"#333",size:.5},"value-box":{flat:!0,text:"%v",bold:1,placement:"auto",shadow:1},"tooltip-text":"%v",shadow:1,"line-width":1,marker:{type:"square",shadow:1},"highlight-state":{shadow:!0,"shadow-blur":2,"shadow-distance":1,"shadow-alpha":.91}},tooltip:{shadow:1,padding:"4 8","shadow-distance":3,"offset-y":ZC.mobile?-40:-20},"tooltip[dynamic]":{padding:"4 8","offset-y":0},guide:{marker:{type:"circle"},"plot-label[single]":{text:'%plot-text: %node-value',padding:10,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"},"plot-label[multiple]":{text:'%plot-text: %node-value',padding:5,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"}},zoom:{"preserve-zoom":1,"border-width":0,"background-color":"#369",alpha:.25,label:{visible:!1,"background-color":"#fff","font-size":10,padding:2,"border-width":1,"border-color":"#999"}},arrow:{"border-width":1,"border-color":"#000","background-color":"#666",size:4},"legend[position]":{margin:10},legend:{"background-color":"#eee",alpha:1,shadow:1,margin:"10 10 auto auto",padding:"4 2 4 2",item:{"text-align":"left",margin:"2 6 2 4",padding:"2 4"},"item-off":{alpha:.25},marker:{shadow:0,size:6,"border-color":"#999","border-width":1},header:{"font-size":12,"text-align":"left",bold:1},footer:{"text-align":"left"},icon:{"line-color":"#000","line-width":1},"page-status":{color:"#000"},"page-on":{"background-color":"#f90"},"page-off":{"background-color":"#999"},scroll:{bar:{width:12,height:12,"background-color":"#e1eaec","border-color":"#ddd"},handle:{width:12,height:12,"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}}}},vbar:{plot:{"value-box":{placement:"top-out"}}},vbar3d:{plot:{"value-box":{placement:"top-out"}},"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},mixed3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},hbar:{"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x[default]":{label:{"font-angle":270}},"scale-x[opposite]":{label:{"font-angle":90}},plot:{"value-box":{placement:"top-out"}}},vline:{"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x[default]":{label:{"font-angle":270}},"scale-x[opposite]":{label:{"font-angle":90}}},varea:{plot:{"fill-angle":0},"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x[default]":{label:{"font-angle":270}},"scale-x[opposite]":{label:{"font-angle":90}}},hbar3d:{"scale-y":{label:{"font-angle":0}},"scale-x":{label:{"font-angle":270}},"scale-y-n":{label:{"font-angle":0}},"scale-x-n":{label:{"font-angle":90}},"3d-aspect":{depth:40,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0},plot:{"value-box":{placement:"top-out"}}},hbullet:{"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x":{label:{"font-angle":270}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x-n":{label:{"font-angle":90}}},line:{plot:{"line-width":4,marker:{type:"circle",size:4}}},area:{plot:{"line-width":4,marker:{type:"circle",size:4},"value-box":{placement:"top"}}},line3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0}}},area3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0},"value-box":{placement:"top"}}},scatter:{SCALE:{offset:10},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},poly:{SCALE:{offset:10},plot:{"alpha-area":.4,marker:{type:"none"},"value-box":{placement:"top"}}},hscatter:{SCALE:{offset:10},"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x":{label:{"font-angle":270}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x-n":{label:{"font-angle":90}},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},bubble:{SCALE:{offset:40},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hbubble:{SCALE:{offset:40},"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x":{label:{"font-angle":270}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x-n":{label:{"font-angle":90}},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hmixed:{"scale-y":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x":{label:{"font-angle":270}},"scale-y-n":{label:{"font-angle":0},item:{"text-align":"center"}},"scale-x-n":{label:{"font-angle":90}}},pie:{plotarea:{margin:"35 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},pie3d:{"3d-aspect":{"x-angle":38,"y-angle":0,"z-angle":0},plotarea:{margin:"25 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"linear","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},nestedpie:{plotarea:{margin:"40 5 15 5"},scale:{"size-factor":.8,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},text:"%t",visible:1}}},venn:{plotarea:{margin:"30 10 10 10"},plot:{alpha:.5,"border-width":4},scale:{"size-factor":.65,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}}},radar:{SCALE:{guide:{"line-width":1,"line-color":"#999","background-color":"-1"},tick:{"line-width":1},item:{"auto-align":!1}},scale:{visible:0,"size-factor":.7},"scale-k":{"ref-angle":270},plotarea:{margin:"40 5 5 5"},plot:{"line-width":4,aspect:"line",marker:{type:"circle"}}},gauge:{SCALE:{guide:{"border-width":1,"border-color":"#999","background-color":"-1"}},scale:{"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0},"size-factor":.7},"scale-r":{"ref-angle":270,"background-color":"#fff",guide:{"line-width":0},tick:{placement:"inner"},item:{"offset-r":"-45%"}},plot:{size:"85%"},plotarea:{margin:"40 5 5 5"}},stock:{plot:{"line-width":1,"border-width":1,"tooltip-text":"Open: $%open
High: $%high
Low: $%low
Close: $%close"}},range:{plot:{"line-width":2,"value-box":{text:"%node-min-value - %node-max-value"},"tooltip-text":"%node-min-value - %node-max-value"}},"-":""},this.PY=function(e,t){var n,i=this,r=!1;return null!==ZC._n_(n=i.B8.graph[e])&&null!==ZC._n_(n.enabled)&&(r=r||ZC._b_(n.enabled)),null!==ZC._n_(i.B8[t])&&null!==ZC._n_(n=i.B8[t][e])&&null!==ZC._n_(n.enabled)&&(r=r||ZC._b_(n.enabled)),r},this.load=function(e,t,n,i){var r,a,o,l=this;n=null===ZC._n_(n)||ZC._b_(n),i=null!==ZC._n_(i)&&ZC._b_(i),t instanceof Array||(t=new Array(t));var s=[],C="";for(a=0,o=t.length;a'}return ZC.Q.GG("rect",t.E7,t.IZ)+'class="'+e+'-label-area zc-label-area" id="'+t.K+"-area"+ZC._[30]+ZC._i_(t.iX+t.BJ+ZC.MAPTX)+","+ZC._i_(t.iY+t.BH+ZC.MAPTX)+","+ZC._i_(t.iX+t.BJ+t.I+ZC.MAPTX)+","+ZC._i_(t.iY+t.BH+t.F+ZC.MAPTX)+'" />'},N6:function(e){var t,n="",i=e.indexOf('id="');if(-1!==i){var r=e.indexOf('"',i+4);-1!==r&&(n=e.substring(i+4,r))}if(ZC.cache.data["area-score-"+n])return ZC.cache.data["area-score-"+n];var a=0;if(-1!==e.indexOf('shape="rect"')?(a+=1e4,5===(t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(e)).length&&(a+=(ZC._i_(t[3])-ZC._i_(t[1]))*(ZC._i_(t[4])-ZC._i_(t[2])))):-1!==e.indexOf('shape="circle"')?(a+=100,t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(e),null!==ZC._n_(t[3])&&(a+=ZC._i_(t[3])/10)):-1!==e.indexOf('shape="poly"')?-1!==e.indexOf("data-map")?a+=1e6:a+=1e3:a+=1,-1!==e.indexOf("data-z-sort")){var o=/data-z-sort=\"(\-*\d+)\"/.exec(e);o&&2===o.length&&(a*=ZC._i_(Math.pow(10,ZC._i_(o[1]))))}return""!==n&&ZC.cache.add("area-score-"+n,a),a},A56:function(e,t,n){for(var i=[],r=0,a=e.length;r=9&&(o=null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]?""+ZC._x_(o,t[ZC._[12]]):""+ZC._x_(o))}}else{var d=ZC.H3(ZC._a_(Number(o)))/Math.LN10;switch(ZC._a_(Number(o))){case 1e3:d=3;break;case 1e6:d=6;break;case 1e9:d=9}if(null!==ZC._n_(t["max-power"])&&(d=3*t["max-power"]),"KB"===s.toUpperCase())o=""+Number(o)/1024,r="KB";else if("MB"===s.toUpperCase())o=""+Number(o)/1048576,r="MB";else if("GB"===s.toUpperCase())o=""+Number(o)/1073741824,r="GB";else if("TB"===s.toUpperCase())o=""+Number(o)/1099511627776,r="TB";else if("PB"===s.toUpperCase())o=""+Number(o)/0x4000000000000,r="PB";else if(d>=0&&d<3)switch(s){default:o=o,r="";break;case"K":o=""+Number(o)/1e3,r="K";break;case"M":o=""+Number(o)/1e6,r="M";break;case"B":o=""+Number(o)/1e9,r="B"}else d>=3&&d<6&&""===s||"K"===s.toUpperCase()?(o=""+Number(o)/1e3,r="K"):d>=6&&d<9&&""===s||"M"===s.toUpperCase()?(o=""+Number(o)/1e6,r="M"):(d>=9&&""===s||"B"===s.toUpperCase())&&(o=""+Number(o)/1e9,r="B")}if(ZC.PK(o))if(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]])o=ZC._fixed_(Number(o),ZC.BQ(0,ZC._i_(t[ZC._[12]])));else{var f=o.split(".")[1]||"";-1!==t["max-decimals"]&&t["max-decimals"]0)for(var i=0;i=100)return"#000000";e=ZC.AP.G8(e),typeof t===ZC._[31]&&(t=10);var n=ZC.RA(e.substring(1,3)),i=ZC.RA(e.substring(3,5)),r=ZC.RA(e.substring(5,7)),a=ZC.AP.AD9(n,i,r);a[2]=t>0?Math.max(0,a[2]-a[2]*t/100):Math.min(1,a[2]-a[2]*t/100);var o=ZC.AP.AD7(a[0],a[1],a[2]);return o[0]=ZC._i_(o[0])<16?"0"+ZC.P2(o[0]):ZC.P2(o[0]),o[1]=ZC._i_(o[1])<16?"0"+ZC.P2(o[1]):ZC.P2(o[1]),o[2]=ZC._i_(o[2])<16?"0"+ZC.P2(o[2]):ZC.P2(o[2]),"#"+o[0]+o[1]+o[2]},R0:function(e,t){if(-1===e)return-1;if(t>=100)return"#ffffff";e=ZC.AP.G8(e),typeof t===ZC._[31]&&(t=10);var n=parseInt(e.substr(1,2),16),i=parseInt(e.substr(3,2),16),r=parseInt(e.substr(5,2),16);return"#"+(0|256+n+(256-n)*t/100).toString(16).substr(1)+(0|256+i+(256-i)*t/100).toString(16).substr(1)+(0|256+r+(256-r)*t/100).toString(16).substr(1)},_hex2rgb_:function(e,t){var n=parseInt(e.substr(1,2),16),i=parseInt(e.substr(3,2),16),r=parseInt(e.substr(5,2),16);return ZC._n_(t)?"rgb("+n+","+i+","+r+")":{r:n,g:i,b:r}},_rgb2hex_:function(e,t,n){return"#"+((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},A9Q:function(e,t,n){var i=ZC.AP._hex2rgb_(e);return(299*i.r+587*i.g+114*i.b)/1e3>=128?n:t},_colorAlpha_:function(e,t,n){e=ZC.AP.G8(e),t=ZC.AP.G8(t);var i=ZC.AP._hex2rgb_(e),r=ZC.AP._hex2rgb_(t),a={};for(var o in i)a[o]=Math.floor(n*i[o]+(1-n)*r[o]);return ZC.AP._rgb2hex_(a.r,a.g,a.b)},A43:function(){},AC0:function(){},gc:function(e,t){var n;for(n=0;n")}catch(l){t=document.createElement("iframe")}else t=document.createElement("iframe");t.id=e.id+"-iframe",t.style.visibility="hidden",e.appendChild(t);var n=null,i=t.contentWindow||t.contentDocument;if(!(n=i.document?i.document:i).body){var r=n.createElement("HTML");n.appendChild(r);var a=n.createElement("HEAD");r.appendChild(a);var o=n.createElement("BODY");r.appendChild(o)}return n},BX:function(e){var t;if(typeof ZC.TOUCHEVENTS===ZC._[31]){if(ZC.ie678)t=!1;else{t=!0;try{document.createEvent("TouchEvent")}catch(n){t=!1}}t&&!ZC.mobile&&(t=!1),t&&(t="ontouchstart"in document.documentElement),ZC.TOUCHEVENTS=t}else t=ZC.TOUCHEVENTS;if(t)switch(e){case"mouseover":case"mousedown":e="touchstart";break;case"mousemove":e="touchmove";break;case"mouseout":case"mouseup":e="touchend";break;case"click":e="touchstart"}return e},_sh_:function(e,t){var n,i,r,a=[],o=t.JZ,l=t.OO,s=t.PM,C=o-s/2;if(e.length>0){var c=0,A=0;for(0!==o&&(c=ZC._i_(C*ZC.EE(l)+s),A=ZC._i_(C*ZC.EN(l)+s)),n=0,i=e.length;n=4&&(l[2]=e[2],l[3]=e[3]),e.length>=6&&(l[4]=e[4],l[5]=e[5]),7===e.length&&(l[6]=e[6]),t){case"canvas":case"svg":var s,C;n.CY&&(s=C=n.B1%2==1?.5:0,ZC.A4.browser.msie&&ZC.quirks&&"svg"===t&&(s=n.B1%2==1?.5:0,C=n.B1%2==1?0:.5),l[0]=Math.round(l[0])-s,l[1]=Math.round(l[1])-C,4===l.length&&(l[2]=Math.round(l[2])-s,l[3]=Math.round(l[3])-C)),"svg"===t&&(l[0]=parseFloat(l[0].toFixed(4)),l[1]=parseFloat(l[1].toFixed(4)),4===l.length&&(l[2]=parseFloat(l[2].toFixed(4)),l[3]=parseFloat(l[3].toFixed(4)))),"canvas"!==t||i||typeof n.BJ!==ZC._[31]&&typeof n.BH!==ZC._[31]&&(l[0]+=n.BJ,l[1]+=n.BH,4===l.length&&(l[2]+=n.BJ,l[3]+=n.BH));break;case"vml":n.AA%360==0?(a=10,o=n.B1%2==1?0:a/2):(a=1,o=0),n.CY?(l[0]=a*ZC._i_(ZC._i_(a*l[0])/a)-o,l[1]=a*ZC._i_(ZC._i_(a*l[1])/a)-o,4!==l.length&&7!==l.length||(l[2]=a*ZC._i_(ZC._i_(a*l[2])/a)-o,l[3]=a*ZC._i_(ZC._i_(a*l[3])/a)-o),7===l.length&&(l[4]=a*ZC._i_(ZC._i_(a*l[4])/a)-o,l[5]=a*ZC._i_(ZC._i_(a*l[5])/a)-o)):(l[0]=ZC._i_(a*l[0]),l[1]=ZC._i_(a*l[1]),4!==l.length&&7!==l.length||(l[2]=ZC._i_(a*l[2]),l[3]=ZC._i_(a*l[3])),7===l.length&&(l[4]=ZC._i_(a*l[4]),l[5]=ZC._i_(a*l[5])))}return l},A3J:function(e,t,n,i,r){var a,o,l,s,C,c,A;if(n.R7&&(n.D["fast-vector-path"]=!0),!n.D["fast-vector-path"]){for(a=0,o=e.length;a=l[3]?.001:-.001),s=ZC.AO.BL(l[0],l[1],l[2],l[3]+d),C=ZC.AO.BL(l[0],l[1],l[2],l[4]-d),c="0 0",0===l[5]?l[4]-l[3]>360?(c="0 1",C[0]=s[0],C[1]=s[1]):c=l[4]-l[3]<=180?"0 1":"1 1":l[3]-l[4]>360?(c="0 0",C[0]=s[0],C[1]=s[1]):c=l[3]-l[4]<=180?"0 0":"1 0",p.push("a "+l[2]+","+l[2]+" 0 "+c+" "+(C[0]-s[0])+","+(C[1]-s[1]))}else"vml"===t&&(l[2]*=10,s=ZC.AO.BL(l[0],l[1],l[2],l[3]),C=ZC.AO.BL(l[0],l[1],l[2],l[4]),c=1===l[5]?"at":"wa",p.push(c+" "+ZC._i_(l[0]-l[2])+","+ZC._i_(l[1]-l[2])+","+ZC._i_(l[0]+l[2])+","+ZC._i_(l[1]+l[2])+" "+ZC._i_(s[0])+","+ZC._i_(s[1])+" "+ZC._i_(C[0])+","+ZC._i_(C[1])));else 7===l.length&&p.push(("svg"===t?"C ":"c ")+l[0]+" "+l[1]+" "+l[2]+" "+l[3]+" "+l[4]+" "+l[5])}else h=!0;return n.D["fast-vector-path"]||n.OF&&ZC.cache.add("path-points-"+A,p.join("#")),n.G&&o<=20&&i&&(n.G.D[n.K+"-bounds"]=u),p},MK:function(e,t){var n,i,r=e.originalEvent||e.originalEventZC;return t=ZC._i_(t||"0"),r&&r.touches?r.touches.length>0?(n=r.touches[t].pageX,i=r.touches[t].pageY):r.changedTouches.length>0&&(n=r.changedTouches[t].pageX,i=r.changedTouches[t].pageY):(n=e.pageX,i=e.pageY),[ZC._i_(n||"0"),ZC._i_(i||"0")]},F6:function(e,t,n){var i;return n=n||document,null!==ZC._n_(t)?n.createElementNS?i=n.createElementNS(t,e):(i=n.createElement(e)).setAttribute("xmlns",t):i=n.createElement(e),"zcv:"===e.substring(0,4)&&(i.className="zcvml"),i},ET:function(e){var t;e instanceof Array||(e=[e]);for(var n=0,i=e.length;n1024&&typeof e.innerHTML!==ZC._[31])return void(e.innerHTML="");if(s>0)for(var C=s-1;C>=0;C--)(""===o||0===e.childNodes[C].id.indexOf(o+"-"))&&e.removeChild(e.childNodes[C])}},E8:function(e,t){switch("string"==typeof e&&(e=ZC.AK(e)),t){case"canvas":return e.getContext("2d");case"svg":case"vml":return e}},K4:function(e,t){switch(t){case"svg":return ZC.Q.AC3(e);case"vml":case"canvas":return ZC.Q.I5(e)}},HH:function(e,t){switch(t){case"svg":return ZC.Q.AC3(e);case"vml":return ZC.Q.I5(e);case"canvas":return ZC.Q.ADB(e)}},AC3:function(e){var t;if(ZC.AK(e.id))return ZC.AK(e.id);var n=ZC.Q.F6("g",ZC._[36]);return null!==ZC._n_(t=e.id)&&n.setAttribute("id",t),null!==ZC._n_(t=e.cls)&&n.setAttribute("class",t),null!==ZC._n_(t=e.zidx)&&n.setAttribute("z-index",t),null!==ZC._n_(t=e["clip-path"])&&n.setAttribute("clip-path",t),e.after?e.p.insertBefore(n,e.after.nextSibling):e.p.appendChild(n),n},XY:function(e){var t;ZC.Q.ET(e.id);var n=ZC.Q.F6("clipPath",ZC._[36]);return n.id=e.id,null!==ZC._n_(e.cx)?((t=ZC.Q.F6("circle",ZC._[36])).id=e.id+"-shape",ZC.Q.G5(t,{cx:e.cx,cy:e.cy,r:e.r})):((t=ZC.Q.F6("polygon",ZC._[36])).id=e.id+"-shape",ZC.Q.G5(t,{points:e.path})),n.appendChild(t),n},ADB:function(e){var t;if(ZC.AK(e.id))return ZC.AK(e.id);var n=document.createElement("canvas"),i=n.style;if(null!==ZC._n_(t=e.id)&&(n.id=t),null!==ZC._n_(t=e.cls)&&(n.className=t),null!==ZC._n_(t=e.wh)){var r=(""+t).split("/");e[ZC._[19]]=r[0],e[ZC._[20]]=r[1]}if(null!==ZC._n_(t=e.tl)){var a=(""+t).split("/");e.top=a[0],e.left=a[1]}return n.width=e[ZC._[19]],n.height=e[ZC._[20]],null!==ZC._n_(t=e.left)&&(i.left=t+"px"),null!==ZC._n_(t=e.top)&&(i.top=t+"px"),null!==ZC._n_(t=e.display)&&(i.display=t),null!==ZC._n_(t=e.position)&&(i.position=t),null!==ZC._n_(t=e.zidx)&&(i.zIndex=t),e.p.appendChild(n),n},I5:function(e){var t,n,i,r,a,o;if(ZC.AK(e.id))return i=ZC.AK(e.id),null!==ZC._n_(t=e.wh)&&(a=(""+t).split("/"),i.style.width=a[0]+"px",i.style.height=a[1]+"px"),null!==ZC._n_(t=e.tl)&&(o=(""+t).split("/"),i.style.top=o[0]+"px",i.style.left=o[1]+"px"),i;(r=(i=document.createElement("div")).style).whiteSpace="nowrap",null!==ZC._n_(t=e.wh)&&(a=(""+t).split("/"),e[ZC._[19]]=a[0],e[ZC._[20]]=a[1]),null!==ZC._n_(t=e.tl)&&(o=(""+t).split("/"),e.top=o[0],e.left=o[1]),null!==ZC._n_(t=e.id)&&(i.id=t),null!==ZC._n_(t=e.cls)&&""!==t&&(i.className=t);for(var l=[["top","","px"],["left","","px"],[ZC._[19],"","px"],[ZC._[20],"","px"],"position","overflow",["float","cssFloat|styleFloat"],["zidx","zIndex"],"clip","display",["fontSize","","px"],"fontFamily","fontWeight","fontStyle","textDecoration","textAlign","verticalAlign","color","border","borderTop","borderRight","borderBottom","borderLeft","background","cursor",["margin","marginTop|marginRight|marginBottom|marginLeft","px"],["marginTop","","px"],["marginRight","","px"],["marginBottom","","px"],["marginLeft","","px"],["padding","paddingTop|paddingRight|paddingBottom|paddingLeft","px"],["paddingTop","","px"],["paddingRight","","px"],["paddingBottom","","px"],["paddingLeft","","px"],"lineHeight","filter"],s=null,C=null,c=null,A=0,u=l.length;A")&&ZC.A4(i).children().each((function(){null!==ZC._n_(s)&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=s)),null!==ZC._n_(C)&&(null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=C+"px")),null!==ZC._n_(c)&&(null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=c))}))),e.rtl&&(i.style.unicodeBidi="bidi-override",i.style.direction="rtl"),e.cursor&&"hand"===e.cursor&&(i.style.cursor="pointer"),i},WT:null,A4S:function(e,t,n,i,r,a,o){var l,s,C,c;null===ZC._n_(o)&&(o=!1);var A=!1;"[HTMLMODE]"===t.substring(0,10)&&(A=!0,t=t.substring(10)),c=e+"-text-ruler",-1!==e.indexOf("-fullscreen")&&(c="zc-text-ruler");var u="{{"+t+"}}"+n.replace(/[^a-z]/gi,"").toLowerCase()+i+a+r;if(ZC.cache.data["text-width-"+u]&&!o)return ZC.cache.data["text-width-"+u];if(ZC.cache.data["text-height-"+u]&&o)return ZC.cache.data["text-height-"+u];var p,h=t;return h=h.replace(/
/g,'
'),(p=ZC.AK(c))?(ZC.Q.WT&&ZC.Q.WT===e+n+i+a+r||(p.style.fontFamily=n,p.style.fontSize=i+"px",p.style.fontWeight=r,p.style.lineHeight=A?"130%":-1!==a?ZC._i_(a)+"px":"130%",ZC.Q.WT=e+n+i+a+r),p.innerHTML=h):(p=ZC.Q.I5({id:c,p:document.body,tl:"-9999/-9999",html:h,position:"absolute",fontFamily:n,fontSize:i,cls:"zc-text-ruler",fontWeight:r})).style.lineHeight=A?"130%":-1!==a?ZC._i_(a)+"px":"130%",-1===t.indexOf("<")||-1===t.indexOf(">")||A||ZC.A4(p).children().each((function(){"BR"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=n),null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=i+"px"),this.style.lineHeight=-1!==a?ZC._i_(a)+"px":"130%","B"!==this.tagName.toUpperCase()&&"STRONG"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=r)))})),(l=p.getBoundingClientRect())&&l.width>0?(s=l.width,o&&(C=l.height)):(s=ZC.mobile&&ZC.A4.browser.webkit?p.offsetWidth:ZC.A4(p).width(),o&&(C=ZC.mobile&&ZC.A4.browser.webkit?p.offsetHeight:ZC.A4(p).height())),o?(ZC.cache.add("text-height-"+u,C),C):(ZC.cache.add("text-width-"+u,s),s)}},!document.getElementsByClassName&&document.querySelectorAll&&(document.getElementsByClassName=function(e){return document.querySelectorAll("."+e)}),ZC.A4=function(e,t,n){var i,r,a,o,l=this;if(typeof n===ZC._[31]&&(n=!0),n)return new ZC.A4(e,t,!1);if(l.PC=[],l.QM=e,l.MP=t,l.length=0,l.MP=l.MP||document.getElementsByTagName("body")[0],"object"==typeof l.QM)l.PC=[l.QM];else if("string"==typeof l.QM)for(var s=l.QM.split(","),C=0;C")).length&&(A=!0,ZC.A4(i[0]).each((function(){var e=this;ZC.A4(i[1],this).each((function(){this.parentNode===e&&l.PC.push(this)}))}))),2===(i=c.split(" ")).length&&(A=!0,ZC.A4(i[0]).each((function(){ZC.A4(i[1],this).each((function(){l.PC.push(this)}))}))),!A)if("#"===c.substring(0,1))ZC.AK(c.substring(1))&&(l.PC=[ZC.AK(c.substring(1))]);else if("."===c.substring(0,1))if(document.getElementsByClassName){if(l.MP.getElementsByClassName)r=l.MP.getElementsByClassName(c.substring(1));else if(r=document.getElementsByClassName(c.substring(1)),l.MP!==document){var u=[];for(a=0,o=r.length;a1)for(var a=1;a1)for(var r=1;r=0;i--)n[i][0]!==a||t&&n[i][1]!==t||ZC.A4.EVENTS[e].splice(i,1);return this}}},ZC.A4._list_=function(e){for(var t=[],n=0;n=200&&s.status<300)&&l&&l(s.responseText,s.status,s,t),s.status>=400&&o&&o(s,s.status,s.statusText,t),s.onreadystatechange=new window.Function,s=null)}),window.ActiveXObject||(s.onerror=function(){o&&o(s,0,"",t)}),"POST"===n.toUpperCase()?(s.open("POST",t,r),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Content-type","application/x-www-form-urlencoded")):(""!==i&&(-1===t.indexOf("?")&&(t+="?"),t+="&"+i),s.open("GET",t,r)),a&&a(s);try{s.send(i),r||((C||s.status>=200&&s.status<300)&&l&&l(s.responseText,s.status,s,t),s.status>=400&&o&&o(s,s.status,s.statusText,t),s=null)}catch(A){C&&o&&(o(s,s.status,s.statusText,t),s.onreadystatechange=new window.Function,s=null)}}},ZC.AO={ACM:function(e,t){var n,i,r=zingchart.DEV.SPREADFACTOR,a=[],o=0;function l(e,t){-1===ZC.AV(e,t)&&e.push(t)}for(n=0;n1?e[n-2]:t,-1===s&&(s=a[o].min),a[o].min),l(a[o].items,n-1),l(a[o].items,n)):a[o]&&(a[o].max=e[n],a[o].max,o++);a[o]&&-1===a[o].max&&(a[o].max=360+t);var C=a.length;if(C>1&&a[C-1].max-a[0].min==360){for(i=0;i1&&(a[a.length-1].max=a[0].min+360),n=0;nt.x+t.width+n)&&!(t.x>e.x+e.width+n)&&!(e.y>t.y+t.height+n)&&!(t.y>e.y+e.height+n)},_boxoverlap2_:function(e,t,n){return n=n||1,!(e.iX>t.iX+t.I+n)&&!(t.iX>e.iX+e.I+n)&&!(e.iY>t.iY+t.F+n)&&!(t.iY>e.iY+e.F+n)},AG6:function(e,t){return e.iX>=t.iX&&e.iX<=t.iX+t.I&&e.iY>=t.iY&&e.iY<=t.iY+t.F&&e.iX+e.I>=t.iX&&e.iX+e.I<=t.iX+t.I&&e.iY+e.F>=t.iY&&e.iY+e.F<=t.iY+t.F},A6L:function(e,t,n){for(var i=Math.sqrt(e/Math.PI),r=Math.sqrt(t/Math.PI),a=Math.min(i,r),o=Math.max(i,r),l=ZC.MAX,s=0,C=a+o;C>o-a;C-=a/50){var c=a*a*Math.acos((C*C+a*a-o*o)/(2*C*a))+o*o*Math.acos((C*C+o*o-a*a)/(2*C*o))-.5*Math.sqrt((-C+a+o)*(C+a-o)*(C-a+o)*(C+a+o));Math.abs(c-n)t&&e[c-1]&&(Math.sqrt((e[c][0]-e[c-1][0])*(e[c][0]-e[c-1][0])+(e[c][1]-e[c-1][1])*(e[c][1]-e[c-1][1]))>t&&c-a>1&&(s+=Math.round(e[c-1][0]+C+i,10)+","+Math.round(e[c-1][1]+C+r,10)+","),o=e[c][0]+C+i,l=e[c][1]+C+r,a=c,s+=Math.round(o,10)+","+Math.round(l,10)+","));return s.substring(0,s.length-1)},ZN:function(e,t){if(null===ZC._n_(e)||e.length<2)return"";null===ZC._n_(t)&&(t=6,ZC.mobile&&(t+=10));var n,i,r,a,o,l=[];for(n=0,i=e.length;n0&&null!==ZC._n_(e[n])&&null!==ZC._n_(e[n-1])&&e[n].join("/")!==e[n-1].join("/")||null===ZC._n_(e[n]))&&l.push(e[n]);var s=[],C=[],c=!1;for(n=0,i=l.length;n=Z&&(o+=180),s.push(ZC.AO.BL(Z,d,t,a+90),ZC.AO.BL(Z,d,t,o),ZC.AO.BL(Z,d,t,a+270));else if(n===l.length-1)r=Math.atan((h-d)/(p-Z)),o=a=ZC.UB(r),p>=Z&&(o+=180),c?(C.push(ZC.AO.BL(Z,d,t,a+270),ZC.AO.BL(Z,d,t,o),ZC.AO.BL(Z,d,t,a+90)),c=!1):s.push(ZC.AO.BL(Z,d,t,a+270),ZC.AO.BL(Z,d,t,o),ZC.AO.BL(Z,d,t,a+90));else{var f=Math.atan((u-d)/(A-Z)),_=Math.atan((d-h)/(Z-p));o=ZC.UB((f+_)/2),s.push(ZC.AO.BL(Z,d,t,o+270)),A>=Z&&p>=Z?(s.push(ZC.AO.BL(Z,d,t,o+180)),s.push(ZC.AO.BL(Z,d,t,o+90)),C.push(ZC.AO.BL(Z,d,t,o)),c=!0):A<=Z&&p<=Z?(s.push(ZC.AO.BL(Z,d,t,o)),s.push(ZC.AO.BL(Z,d,t,o+90)),C.push(ZC.AO.BL(Z,d,t,o+180)),c=!0):C.push(ZC.AO.BL(Z,d,t,o+90))}}for(n=C.length-1;n>=0;n--)s.push(C[n]);return s},A2V:function(e,t){var n=0,i=0,r=[];switch(e+=""){case"horizontal":case"h":n=1,i=t;break;case"vertical":case"v":n=t,i=1;break;default:r=e.split("x"),null!==ZC._n_(r[0])&&ZC._i_(r[0])+""===r[0]&&(n=ZC._i_(r[0])),null!==ZC._n_(r[1])&&ZC._i_(r[1])+""===r[1]&&(i=ZC._i_(r[1])),0===i&&0===n?(n=Math.ceil(Math.sqrt(t)),i=Math.ceil(t/n)):(0===i&&(i=Math.ceil(t/n)),0===n&&(n=Math.ceil(t/i)))}return[n,i]},ABH:function(e,t){return.5*(2*t[1]+(-t[0]+t[2])*e+(2*t[0]-5*t[1]+4*t[2]-t[3])*e*e+(-t[0]+3*t[1]-3*t[2]+t[3])*e*e*e)},ABL:function(e,t){var n,i,r,a,o,l=e.length,s=[],C=[],c=[];for(n=0;nn))return t[r];o=r-1}}i=Math.max(0,o);var s=n-e[i],C=s*s;return t[i]+A[i]*s+h[i]*C+Z[i]*s*C}},YS:function(e,t,n,i){null===ZC._n_(i)&&(i=1/(n/t.length*4));var r,a,o=[];if(e)if((r=[].concat(t))[1]&&r[2]){r[0]=r[0]||r[1]||r[2]||r[3],r[1]=r[1]||r[2]||r[0]||r[3],r[2]=r[2]||r[3]||r[1]||r[0],r[3]=r[3]||r[2]||r[1]||r[0];var l=ZC.AO.ABL([0,1,2,3],r);for(a=1;a<=2;a+=i)o.push([a-1,l(a)])}else o.push([]);else for(var s=1;s>>4&15)+"0123456789abcdef".charAt(15&t);return n},ACO:function(e){for(var t,n,i="",r=-1,a=e.length;++r>>6&31,128|63&t):t<=65535?i+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(i+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return i},ACJ:function(e){var t,n=Array(e.length>>2);for(t=0;t>5]|=(255&e.charCodeAt(t/8))<>5]>>>n%32&255);return t},ACW:function(e,t){function n(e,t,n,i,r,a){return l((o=l(l(t,e),l(i,a)))<<(s=r)|o>>>32-s,n);var o,s}function i(e,t,i,r,a,o,l){return n(t&i|~t&r,e,t,a,o,l)}function r(e,t,i,r,a,o,l){return n(t&r|i&~r,e,t,a,o,l)}function a(e,t,i,r,a,o,l){return n(t^i^r,e,t,a,o,l)}function o(e,t,i,r,a,o,l){return n(i^(t|~r),e,t,a,o,l)}function l(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}e[t>>5]|=128<>>9<<4)]=t;for(var s=1732584193,C=-271733879,c=-1732584194,A=271733878,u=0,p=e.length;uzingchart.DEV.MAXPOOLSIZE?(zingchart.pool.data={},zingchart.pool.size=0):zingchart.pool.data[n]=r}return r},zingchart.i18n={},zingchart.THEMES={},zingchart.V3D=2,zingchart.QUOTEDVALUES=!1,zingchart.EDITSOURCE=1,zingchart.MODULESDEP={line:"xy",line3d:"3d,line",area:"xy",area3d:"3d,area",vline:"yx",varea:"yx",vbar:"xy",vbar3d:"3d,vbar",hbar:"yx",hbar3d:"3d,hbar",scatter:"xy",bubble:"xy",hscatter:"yx",hbubble:"yx",pie:"r",pie3d:"3d,pie",nestedpie:"r",gauge:"r",vbullet:"vbar",hbullet:"hbar",vfunnel:"xy",hfunnel:"yx",piano:"xy",radar:"r",range:"xy",vrange:"yx",stock:"xy,vbar",venn:"r"},zingchart.SKIP={EVENT:!1,ANIMATION:!1,LEGEND:!1,CSV:!1,PARSE3D:!1},zingchart.MODULESDIR=function(e){for(var t=0;t-1)return e[t].src.split("zingchart.min.js")[0]+"modules/";return"./modules/"}(document.getElementsByTagName("head")[0].childNodes),zingchart.DEV={DOMFRAGMENTS:1,SORTTOKENS:1,PLOTSTATS:1,RESOURCES:1,KEEPSOURCE:1,SPREADTYPE:0,SPREADFACTOR:10,IGNORESUBUNIT:0,DELAYEDTRACKERS:0,STACKINGLOGIC:-1,SMARTDATELABELS:0,GC:1,CACHECANVASTEXT:0,CHECKDECIMALS:0,CACHESELECTION:0,MEDIARULES:1,SKIPTRACKERS:0,PLOTSHLAYER:0,RESIZESPEED:250,DEBOUNCESPEED:250,LOCALSVGEXPORT:1,SKIPPROGRESS:0,SKIPCONTEXTMENU:0,COPYDATA:1,GUIDETIMEOUT:0,LOOKUPCSSTRANSFORM:0,MAPSONBOTTOM:0,MAXPOOLSIZE:1024,MINTRACKERDIFF:1.5},zingchart.CANVASTEXT=0,zingchart.ZINDEX=1,zingchart.CMZINDEX=9999,zingchart.FSZINDEX=9998,zingchart.FSID=null,zingchart.ZCOUTPUT=0,zingchart.ASYNC=0,zingchart.SORTTRACKERS=0,zingchart.TIMEOUT=0,zingchart.USERCSS={},zingchart.OBJECTMODE="normal",zingchart.SYNTAX="mixed",zingchart.THEME=null,zingchart.EXPORTURL=("file:"===document.location.protocol?"http:":document.location.protocol)+"//export.zingchart.com/",zingchart.AJAXEXPORT=!1,zingchart.TOUCHZOOM="normal",zingchart.DEFAULT={height:480,width:640},zingchart.FASTWIDTH=0,zingchart.FONTSIZE=11,zingchart.FONTFAMILY="Lucida Sans Unicode,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif",ZC.mobile&&(zingchart.FONTFAMILY="Lucida Sans,Helvetica,Arial,sans-serif"),zingchart.loadModules=function(e,t){for(var n=(""+e).split(","),i=0,r=n.length;i100){if(r>ZC.GESTURE.dist+50)ZC.GESTURE.type="pinch-in",zingchart.exec(ZC.GESTURE.id,"zoomin");else if(rZC.GESTURE.mp[0]+10?(o["x-"]=!0,o.xdist=ZC._a_(ZC.GESTURE.mp[0]-a[0])):a[0]ZC.GESTURE.mp[1]+10?(o["y+"]=!0,o.ydist=ZC._a_(ZC.GESTURE.mp[1]-a[1])):a[1]=i.P.iX&&a<=i.P.iX+i.P.I&&o>=i.P.iY&&o<=i.P.iY+i.P.F,touch:ZC.mobile}},typeof zingchart.SM===ZC._[31]&&(zingchart.SM=function(e){for(var t=0,n=zingchart.I4.length;t1)){var i=zingchart.XI(e);if(i){if("click"===e.type&&ZC.aMDXY&&(ZC._a_(ZC.aMDXY[0]-e.pageX)>2||ZC._a_(ZC.aMDXY[1]-e.pageY)>2))return;if(!zingchart.SKIP.EVENT){var r=zingchart.A12(e,i);r.target=zingchart.plugins.CLICK_TARGET||r.target,zingchart.plugins.CLICK_TARGET=null,ZC.mobile&&"touchend"===e.type&&(i.D["click-ts"]&&(new Date).getTime()-i.D["click-ts"]<500&&ZC.AP.C0("dblclick",i,r),i.D["click-ts"]=(new Date).getTime()),ZC.AP.C0("dblclick"===e.type?"dblclick":"click",i,r)}zingchart.SKIP.EVENT=!1,e.target.id!==i.K+"-menu-area"?i.hideCM():zingchart.Z6(e)}}},ZC.mobile?(ZC.A4(document).bind("touchmove",(function(){ZC.move=!0})),ZC.A4(document).bind("touchend",(function(){ZC.move=!1}))):(ZC.A4(document).bind("click",zingchart.SM),ZC.A4(document).bind("dblclick",zingchart.SM))),typeof zingchart.A3W===ZC._[31]&&(zingchart.A3W=function(e){e.touches.length>0&&(ZC.TOUCHEVENTS=!0)},ZC.A4(document).bind("touchstart",zingchart.A3W)),typeof zingchart.Z6===ZC._[31]&&(zingchart.Z6=function(e,t,n){if(!e||"IMG"===e.target.tagName.toUpperCase()||"AREA"===e.target.tagName.toUpperCase()||-1!==ZC.Q.TE(e.target).indexOf("zc-scroll")||-1!==e.target.id.indexOf("-legend-")||-1!==e.target.id.indexOf("-preview-")||zingchart.DEV.SKIPTRACKERS){var i,r,a,o,l,s;n=n||{};var C=null===ZC._n_(t)?zingchart.XI(e):zingchart.getLoader(t);if(C){if(-1!==ZC.AV(C.KX,ZC._[38]))return!1;if(null===ZC._n_(t)?(r=ZC.Q.MK(e),i=C.A2B(r[0],r[1])):i=null!==ZC._n_(n[ZC._[3]])?C.OI(n[ZC._[3]]):C.AH[0],!i)return!1;var c=ZC.A4("#"+C.K+"-top");null===ZC._n_(t)?(a=r[0]-c.offset().left,o=r[1]-c.offset().top):(a=C.I/2,o=C.F/2);var A={};e&&(A=zingchart.A12(e,C));var u=ZC.AP.C0("contextmenu",C,A,!0);if(!u&&typeof u!==ZC._[31]&&(!e&&!n["from-api"]||e&&e.target.id!==C.K+"-menu-area"))return e.preventDefault(),!1;var p=ZC._tx_(C.K);C.A16(i?i.L:-1,e);var h=-1;if(0!==zingchart.CMZINDEX)h=zingchart.CMZINDEX;else for(var Z=ZC.AK(C.K);-1===h&&null!==Z.parentNode;)"auto"!==(h=ZC._i_(ZC.A4(Z).css("zIndex")))&&""!==h&&null!==ZC._n_(h)||(h=-1),Z=Z.parentNode;h&&-1!==h&&null!==ZC._n_(h)||(h=1);var d=ZC.A4("#"+C.K+"-menu");if(d.css("zIndex",zingchart.ZINDEX+h+1),null===ZC._n_(t)){if(e.target.id===C.K+"-print-png"||e.target.id===C.K+"-print-jpeg")return!0;e.preventDefault()}if(!ZC.AK(C.K+"-menu"))return!1;a=c.offset().left,o=c.offset().top;var f=c.width(),_=c.height();null===ZC._n_(t)?(l=(r=ZC.Q.MK(e))[0]||ZC.DW[0],s=r[1]||ZC.DW[1]):(l=a+C.I/2,s=o+5);var g=!1;if(C.UF("goback",!1),C.O3>0&&(C.UF("goback",!0),g=!0),C.UF("goforward",!1),C.O3=a&&l<=a+f*p[0]&&s>=o&&s<=o+_*p[1]){ZC.A4(".zc-menu").each((function(){this.id!==C.K+"-menu"&&C.hideCM()})),C.T0=[l,s,null===ZC._n_(t)?e.target.id:t],d.css("opacity",0).show();var v,m,b=ZC._i_(d.css(ZC._[19]))+ZC._i_(d.css("paddingLeft"))+ZC._i_(d.css("paddingRight")),B=ZC._i_(d.css(ZC._[20]))+ZC._i_(d.css("paddingTop"))+ZC._i_(d.css("paddingBottom")),D=1,E=!1;if(C.o.gui&&C.o.gui["context-menu"]&&C.o.gui["context-menu"]&&(D=C.o.gui["context-menu"].alpha?C.o.gui["context-menu"].alpha:1,E=C.o.gui["context-menu"].docked),d.css("opacity",D).hide(),"classic"!==C.LS&&E){if(E){var y=C.B8.O6[C.LS].root.gui["context-menu"];ZC._cp_(C.o.gui["context-menu"],y),v="left"!==C.o.gui["context-menu"].position&&ZC._n_(C.o.gui["context-menu"].position)?c.offset().left+c.width()-b:c.offset().left}m=c.offset().top,d.css("left",ZC.BQ(1,v)+"px").css("top",ZC.BQ(1,m)+"px").css(ZC._[20],c.height()+"px").css("box-sizing","border-box").show(),d=ZC.A4("#"+C.K+"-menu"),E&&d.PC[0].scrollHeight>c.height()&&d.css("overflow-y","scroll")}else{if(null===ZC._n_(t)&&e.target.id===C.K+"-menu-area"){ZC.AK(C.K+"-menu").style.paddingTop=0;var K=ZC.A4("#"+C.K+"-menu-area").attr("coords").split(","),F=ZC._i_(K[3])-ZC._i_(K[1]);ZC.AK(C.K+"-menu").style.backgroundPosition=ZC._i_(K[0])>C.I/2?"100% 0% !important":"0% 0% !important",v=a+(ZC._i_(K[0])>C.I/2?ZC._i_(K[2])-b:ZC._i_(K[0])),m=o+(ZC._i_(K[1])>C.F/1.25?ZC._i_(K[3])-B-F:ZC._i_(K[3]))}else ZC.AK(C.K+"-menu").style.backgroundPosition="50% 0% !important",v=C.T0[0]-b/2,m=C.T0[1],B>C.F*p[1]?m=o:m-o+B>C.F*p[1]&&(m=ZC.BQ(m-B,C.F*p[1]-B)),va+C.I*p[0]&&(v=ZC.CX(a+C.I*p[0]-b/2,v-b/2));if(n.position)switch(n.position){case"top":break;case"top-left":v=v-(C.I*p[0]-b)/2+5;break;case"top-right":v=v+(C.I*p[0]-b)/2-5;break;case"bottom":m=m+(C.F*p[1]-B)-10;break;case"bottom-left":m=m+(C.F*p[1]-B)-10,v=v-(C.I*p[0]-b)/2+5;break;case"bottom-right":m=m+(C.F*p[1]-B)-10,v=v+(C.I*p[0]-b)/2-5;break;case"left":m=m+(C.F*p[1]-B)/2-5,v=v-(C.I*p[0]-b)/2+5;break;case"right":m=m+(C.F*p[1]-B)/2-5,v=v+(C.I*p[1]-b)/2-5}else null!==ZC._n_(n.x)&&null!==ZC._n_(n.y)&&(v=a+ZC._i_(n.x),m=o+ZC._i_(n.y));if(d.css("left",ZC.BQ(1,v)+"px").css("top",ZC.BQ(1,m)+"px").show(),ZC.ie67){var x=ZC.A4("#"+C.K+"-menu div").width()[0]||120;d.css(ZC._[19],x+"px")}}return C.AA5=!0,!1}}}},ZC.A4(document).bind("contextmenu",zingchart.Z6)),zingchart.AAT=function(e,t){if(zingchart.css)return zingchart.css.addRule?zingchart.css.addRule(e,t):zingchart.css.insertRule(e+"{"+t+"}",0)},zingchart.wh=function(e,t,n){"auto"===t&&(t="100%"),"auto"===n&&(n="100%");var i=[0,0];return-1===(""+t).indexOf("%")&&-1===(""+n).indexOf("%")||(i=e.wh()),[-1!==(""+t).indexOf("%")?i[0]*parseInt(t,10)/100:parseInt(t,10),-1!==(""+n).indexOf("%")?i[1]*parseInt(n,10)/100:parseInt(n,10)]},zingchart.J3={},zingchart.bind=function(e,t,n){e=e||"zingchart-global",zingchart.J3[e]||(zingchart.J3[e]={}),zingchart.J3[e][t]?zingchart.J3[e][t].push({fn:n}):zingchart.J3[e][t]=[{fn:n}]},zingchart.unbind=function(e,t,n){if(e=e||"zingchart-global",zingchart.J3[e]&&zingchart.J3[e][t])if(n){for(var i=0,r=zingchart.J3[e][t].length;i0&&(M.width()!==L||M.height()!==G)&&(e=h.M1||h.QY?zingchart.wh(M,""+M.width(),""+M.height()):zingchart.wh(M,h.FZ,h.MY))[0]>10&&e[1]>10){for(h.I=e[0],h.F=e[1],L=M.width(),G=M.height(),r=0,a=h.AH.length;r10&&G>10){for(-1!==(""+h.FZ).indexOf("%")?h.I=L*ZC.IQ(h.FZ):h.I=L,-1!==(""+h.MY).indexOf("%")?h.F=G*ZC.IQ(h.MY):h.F=G,r=0,a=h.AH.length;r%g:%i:%s %A
%q ms",second:"%d %M %Y
%g:%i:%s %A",minute:"%d %M %Y
%g:%i %A",hour:"%d %M %Y
%g %A",day:"%d %M %Y",month:"%M %Y",year:"%Y"},"days-short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"days-long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"months-long":["January","February","March","April","May","June","July","August","September","October","November","December"],"sync-wait":"Wait...","export-wait":"Exporting...","progress-wait-long":"Wait. Loading...","progress-wait-short":"Wait...","progress-wait-mini":"...","error-header":"An Error Has Occured","error-message":"Error Message:","error-close":"Close","bugreport-header":"Submit Bug Report","bugreport-senddata":"Send JSON Data","bugreport-sendcapture":"Send Graph Capture","bugreport-yourcomment":"Your Comment:","bugreport-jsondata":"JSON Data:","bugreport-youremail":"Your Email Address","bugreport-infoemail":"if you want to receive via email our reply to your problem","bugreport-emailmandatory":"Email address is mandatory...","bugreport-submit":"Submit","bugreport-cancel":"Cancel","bugreport-confirm":"Your bug report was sent.\n\nThank you!","about-close":"Close","viewsource-jsonsource":"Parsed JSON","viewsource-originalsource":"Original JSON","viewsource-close":"Close","viewsource-apply":"Apply","viewimage-close":"Close","legend-pagination":"Page %page% of %pages%"},ZC.HN=zingchart.i18n.en_us,zingchart.getLoader=function(e){for(var t=0;t0&&(ZC.AP.C0("history_back",A,A.FG()),A.O3--,zingchart.exec(A.K,"setdata",{data:A.QV[A.O3]}));break;case"goforward":A.IE&&A.O310&&m[1]>10)&&(A.I=m[0],A.F=m[1],null!==ZC._n_(i=n.layout)&&(A.o.layout=i),""===A.MI&&(A.D["from-api"]=!0,A.D[ZC._[53]]=!0,A.resize(_),A.FZ=g,A.MY=v,A.A37=!1));break;case"plothide":case"hideplot":(o=A.C7(n[ZC._[3]]))&&o.ZO(n,"hide");break;case"showguide":case"hideguide":ZC.DW[0]=ZC._n_(n.x)?n.x:ZC.DW[0],ZC.DW[1]=ZC._n_(n.y)?n.y:ZC.DW[1],(o=A.C7(n[ZC._[3]]))&&A.W1(o.K,"showguide"===t);break;case"showtooltip":case"hidetooltip":case"clicknode":if(o=A.C7(n[ZC._[3]])){var b=n.ev||{};(l=o.HT(n.plotindex,n.plotid))&&l.R.length&&!n.xy?(s=l.L,C=ZC._i_(n.nodeindex||"0"),b.targetid=o.K+ZC._[35]+s+"-node-"+C,b.update=!0):b.targetid=o.K+"-xy-"+ZC._i_(n.y||"0")+"-"+ZC._i_(n.x||"0"),"clicknode"===t?(b.which=0,o.TU(b)):o.A.A8&&("showtooltip"===t?o.A.A8.onmouseover(b,n.data):o.A.A8.hide())}break;case"locktooltip":ZC.TTLOCK=!0;break;case"unlocktooltip":ZC.TTLOCK=!1;break;case"showhoverstate":if(o=A.C7(n[ZC._[3]])){l=o.HT(n.plotindex,n.plotid),s=ZC._i_(l?l.L:0),C=ZC._i_(n.nodeindex||"0");var B=o.AZ.A5[s].FR(C);o.L8(),B.I2()}break;case"plotshow":case"showplot":(o=A.C7(n[ZC._[3]]))&&o.ZO(n,"show");break;case"togglesource":ZC.AK(A.K+"-viewsource")?ZC.Q.ET(A.K+"-viewsource"):A.A19();break;case"togglebugreport":ZC.AK(A.K+"-bugreport")?ZC.Q.ET(A.K+"-bugreport"):A.A2C();break;case"toggleabout":ZC.AK(A.K+"-about")?ZC.Q.ET([A.K+"-about",A.K+"-about-mask"]):A.A5V();break;case"toggleplot":(o=A.C7(n[ZC._[3]]))&&o.P8(n);break;case"getcharttype":return(o=A.C7(n[ZC._[3]]))?o.AF:null;case"showversion":case"getversion":return ZC.VERSION;case"get3dview":return(o=A.C7(n[ZC._[3]]))?o.EY:null;case"set3dview":(o=A.C7(n[ZC._[3]]))&&(null===ZC._n_(A.o[ZC._[16]][o.L][ZC._[26]])&&(A.o[ZC._[16]][o.L][ZC._[26]]={}),ZC._cp_(n,A.o[ZC._[16]][o.L][ZC._[26]]),null===ZC._n_(o.o[ZC._[26]])&&(o.o[ZC._[26]]={}),ZC._cp_(n,o.o[ZC._[26]]),zingchart.SKIP.PARSE3D=!0,o.autoFit(),o.JW(!0,!0),zingchart.SKIP.PARSE3D=!1);break;case"getpage":return A.LE;case"setpage":var D=0;null!==ZC._n_(i=n.page)&&(D=ZC._i_(i)),A.LE=D,ZC.ZW((function(){A.clear(),A.parse(),A.paint()}),!0);break;case"unbinddocument":ZC.A4(document).unbind(ZC.Q.BX(ZC._[48]),zingchart.MO).unbind(ZC.Q.BX(ZC._[47]),zingchart.MO).unbind(ZC.Q.BX(ZC._[49]),zingchart.MO).unbind("click",zingchart.SM).unbind("contextmenu",zingchart.Z6),A.D4&&A.D4.unbind()}for(zingchart.ABZ&&null!==(c=zingchart.ABZ(e,t,n))&&(i=c),zingchart.ABI&&null!==(c=zingchart.ABI(e,t,n))&&(i=c),zingchart.ABP&&null!==(c=zingchart.ABP(e,t,n))&&(i=c),zingchart.ABW&&null!==(c=zingchart.ABW(e,t,n))&&(i=c),zingchart.AB4&&null!==(c=zingchart.AB4(e,t,n))&&(i=c),zingchart.ABX&&null!==(c=zingchart.ABX(e,t,n))&&(i=c),r=0,a=zingchart.A9N.length;rb;C--)m[C]=m[C-1];m[b]=n[ZC._[9]]||"",K.o[ZC._[16]][r.L][f][ZC._[5]]=m}K.D.json=ZC.GX(JSON.stringify(K.o)),r.LK("on-change"),F&&(r.D["from-api"]=!0,r.JW(I,I))}break;case"removescalevalue":if(zingchart.SKIP.CSV=!0,r=K.C7(n[ZC._[3]])){for(f=n.scale||ZC._[50],_=0,g=r.BN.length;_b;C--)v[C]=v[C-1];if(v[b]=n[ZC._[9]],!q)for(_=0,g=r.BN.length;_b;C--)m[C]=m[C-1];m[b]=n[f+"-value"],K.o[ZC._[16]][r.L][f][ZC._[5]]=m}ZC.AP.C0("node_add",K,{id:K.K,graphid:r.K,plotindex:o.L,nodeindex:b,key:b,value:n[ZC._[9]],text:n[ZC._[9]]}),K.o[ZC._[16]][r.L][ZC._[11]][o.L][ZC._[5]]=r.o[ZC._[11]][o.L][ZC._[5]],K.D.json=ZC.GX(JSON.stringify(K.o)),r.LK("on-change"),F&&(r.D["from-api"]=!0,r.JW(I,I))}break;case"removenode":if(zingchart.SKIP.CSV=!0,(r=K.C7(n[ZC._[3]]))&&(o=r.HT(n.plotindex,n.plotid))){v=r.o[ZC._[11]][o.L][ZC._[5]],b=null===ZC._n_(n.nodeindex)?o.R.length-1:ZC._i_(n.nodeindex);var te=!0;if(null!==ZC._n_(n.nodekeyvalue))for(te=!1,_=0,g=o.R.length;_0&&null!==ZC._n_(B[C][0])&&B[C][0].length>1,Ce=!0;if(null!==ZC._n_(i=n.ignoreduplicates)&&(Ce=ZC._b_(i)),se){var ce=le.length;for(A=0,u=B[C].length;A=0;ue--){if(B[C][A][0]>le[ue][0]){le.push(B[C][A]),Ae=!0;break}if(B[C][A][0]===le[ue][0]){Ae=!0;break}}Ae&&Ce||le.push(B[C][A])}}else for(A=0,u=B[C].length;AB.length)for(_=B.length;_r.G.I&&(i=!1),null!==ZC._n_(n["max-width"])&&ZC._i_(n["max-width"])r.G.F&&(i=!1),null!==ZC._n_(n["max-height"])&&ZC._i_(n["max-height"])")}return""!==t?[t,ZC.Y7.md5(t)]:null}J0(){return!0}copy(e){var t=this;ZC._cp_(e.o,t.o),e.I9&&(t.I9=t.I9||{},ZC._cp_(e.I9,t.I9)),e.JC&&(t.JC=t.JC||{},ZC._cp_(e.JC,t.JC)),ZC._cp_(e.D,t.D),ZC._cp_(e.E4,t.E4)}}class D0 extends ACU{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;e&&e.G&&(t.G=e.G),t.K="",t.DI=null,t.AM=!0,t.A0="-1",t.AE="-1",t.GT="",t.HS="",t.W9=!0,t.D8="",t.MD="repeat",t.TK="50% 50%",t.XB="",t.KU=1,t.NR="linear",t.NJ=90,t.WP=0,t.WI=0,t.B1=0,t.B7="#000",t.GD="",t.EX=0,t.G9=0,t.AT=0,t.BV="#000",t.C5=1,t.O5=1,t.TG="butt",t.A0F="round",t.ME=!1,t.OO=45,t.JZ=2,t.TH=.75,t.S8="#999",t.PM=0,t.CY=!0,t.N5=!1,t.LC=!1,t.A2L=!1,t.OT=null,t.BG=""}getPMap(){var e=super.getPMap();return this.addPMap(e,"visible,backgroundColor1,backgroundColor2,gradientColors,gradientStops,backgroundImage,backgroundRepeat,backgroundPosition,backgroundFit,backgroundScale,fillType,fillAngle,fillOffsetX,fillOffsetY,lineWidth,lineColor,lineStyle,lineSegmentSize,lineGapSize,borderWidth,borderColor,borderAlpha,alpha,lineCap,shadow,shadowAngle,shadowDistance,shadowAlpha,shadowColor,shadowBlur,class,border","AM,A0,AE,GT,HS,D8,MD,TK,XB,KU,NR,NJ,WP,WI,B1,B7,GD,EX,G9,AT,BV,O5,C5,TG,ME,OO,JZ,TH,S8,PM,DI,BG"),e}copy(e){super.copy(e);for(var t="AM,A0,AE,GT,HS,D8,W9,MD,TK,XB,KU,NR,NJ,WP,WI,B1,B7,GD,EX,G9,AT,BV,O5,C5,TG,ME,OO,JZ,TH,S8,PM,CY,LC,DI,G,BG".split(","),n=0,i=t.length;n2&&null!==n[0]&&null!==n[n.length-1]&&n[0].join(",")===n[n.length-1].join(",")&&(t.TG="round");var u=t.G.AC;if("canvas"!==u||0!==t.B1&&"-1"!==t.B7){if(t.ME&&!i){t.C6=t.C6||t.Z;var p,h=ZC.Q._sh_(n,t);typeof t.A58!==ZC._[31]?p=t.A58:((p=new DU(t)).copy(t),p.K=t.K+"-sh",p.ME=!1,p.B1+=p.PM,p.B7=p.S8),p.C5=t.C5*p.TH,typeof t.ADF===ZC._[31]&&(t.A58=p),p.CY=!1,o=t.C6?ZC.Q.E8(t.C6,u):e,ZC.CR.setup(o,p),ZC.CR.paint(o,p,h,!1,1,a)}var Z=ZC._i_(t.EX||"0"),d=ZC._i_(t.G9||"0");"solid"===t.GD&&(Z=d=0);var f=n.length;typeof t.AA===ZC._[31]&&(t.AA=0),"canvas"===u&&(e.lineJoin=t.A0F,e.lineCap=t.TG,e.strokeStyle=ZC.AP.A3R(ZC.AP.G8(t.B7),i?t.O5:t.C5),e.lineWidth=t.B1,e.beginPath());var _=!1;if(-1!==ZC.AV(["svg","vml"],u))l=a?[]:ZC.Q.A3J(n,u,t,i);else{var g=!1;"dashdot"!==t.GD&&(g=e.setLineDash)&&e.setLineDash(0===Z||0===d?[]:[Z,d]);var v=0,m=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX];for(A=0;AZ){var X;v=0,X="dashdot"===t.GD?Math.floor(ZC._a_(I/((K+t.B1+d)/2))):Math.floor(ZC._a_(I/K));var w=Math.atan2(x,F),Y=Math.cos(w),M=Math.sin(w),L=B,G=D,P=Z;for(C=0;CZ?e.lineTo(L+Y*Z,G+M*Z):I>0&&e.lineTo(L+Y*I,G+M*I),e.moveTo(E,y)}else v=I}}else _=!0;t.G&&f<=6&&i&&(t.G.D[t.K+"-bounds"]=m)}switch(u){case"canvas":e.globalCompositeOperation=t.A1I,e.stroke();break;case"svg":case"vml":if(null===ZC._n_(t.o["top-state"])&&t.G.OF&&(!i||t.D.areanode)){if(c=t.D.areanode?t.A0+"-"+t.AE+"-"+t.D8+"-"+t.B1+"-"+t.GD+"-"+t.C5+"-"+t.BJ+"-"+t.BH:t.B7+"-"+t.B1+"-"+t.GD+"-"+t.C5+"-"+t.BJ+"-"+t.BH,null===ZC._n_(t.G.O1[r])){t.G.O1[r]={uid:c,ctx:e,path:l,style:t,filled:i};break}if(t.G.O1[r].uid===c&&t.G.O1[r].path.length<2e3){C=t.G.O1[r].path,l&&l[0]&&(C.length>0&&C[C.length-1].replace(/[A-Z]+/,"")===l[0].replace(/[A-Z]+/,"")&&(l[0]=""),t.G.O1[r].path=t.G.O1[r].path.concat(l));break}"svg"===u?ZC.CR.UD(t.G.O1[r].ctx,t.G.O1[r].style,t.G.O1[r].path.join(" "),t.G.O1[r].filled):ZC.CR.U1(t.G.O1[r].ctx,t.G.O1[r].style,t.G.O1[r].path.join(" "),t.G.O1[r].filled),t.G.O1[r]={uid:c,ctx:e,path:l,style:t,filled:i};break}"svg"===u?ZC.CR.UD(e,t,l.join(" "),i,a):ZC.CR.U1(e,t,l.join(" "),i)}if(null!==ZC._n_(t.o["top-state"])&&!t.YX&&!t.D["skip-top"]&&!t.WW){var N=new I0(t.A);N.copy(t),N.WW=!0,N.ME=!1,N.Z=t.Z,N.append(t.o["top-state"]),N.K=t.K+"-top",N.parse(),"svg"===u?ZC.CR.UD(e,N,l.join(" "),i,a):"vml"===u?ZC.CR.U1(e,N,l.join(" "),i):ZC.CR.paint(e,N,n,i,r,a)}}}},smooth:function(e,t,n){var i,r,a,o;ZC._n_(t)&&(t=!1),n=n||"h";var l=[],s=[];for(i=0,r=e.length;i0&&(u.stroke=t.B7,u["stroke-width"]=t.B1,u["stroke-opacity"]=i?t.O5:t.C5,"solid"===t.GD||0===t.EX&&0===t.G9||("dashdot"===t.GD?u["stroke-dasharray"]=[t.EX,t.G9,t.B1,t.G9].join(" "):u["stroke-dasharray"]=t.EX+","+t.G9)),a.id=d,""!==_&&(u.transform=_),t.o["fast-line"]&&t.B1>0?(a.setAttribute("stroke",u.stroke),a.setAttribute("stroke-width",u["stroke-width"]),a.setAttribute("stroke-opacity",u["stroke-opacity"]),a.setAttribute("d",n)):ZC.Q.G5(a,u),ZC.CR._append_(e,t,a),(!t.D.border||"all"===t.D.border)&&typeof t.D.imgfill!==ZC._[31])if("string"==typeof t.D.imgfill)ZC.AK(d+"-imgfill")||(f=r?ZC.Q.F6("rect",ZC._[36]):ZC.Q.F6("path",ZC._[36]),ZC.Q.G5(f,{id:d+"-imgfill",transform:_,fill:t.D.imgfill,"fill-opacity":t.C5}),r?ZC.Q.G5(f,{x:o,y:l,width:ZC.BQ(0,s),height:ZC.BQ(0,C),rx:c,ry:A}):ZC.Q.G5(f,{d:n}),ZC.CR._append_(e,t,f));else if(!ZC.AK(d+"-imgfill")){var v=t.D.imgfill,m=ZC.Q.F6("image",ZC._[36]);m.setAttributeNS?"zc."===t.D8.substring(0,3)?m.setAttributeNS(ZC._[37],"href",ZC.IMAGES[t.D8]):m.setAttributeNS(ZC._[37],"href",t.D8):"zc."===t.D8.substring(0,3)?m.setAttribute("src",ZC.IMAGES[t.D8]):m.setAttribute("src",t.D8),null!==ZC._n_(t.D["clip-path"])&&ZC.Q.G5(m,{"clip-path":"url(#"+t.D["clip-path"]+")"}),ZC.Q.G5(m,{id:d+"-imgfill",x:v[1],y:v[2],"fill-opacity":t.C5,width:t.D[ZC._[69]],height:t.D[ZC._[70]],preserveAspectRatio:"none"}),ZC.CR._append_(e,t,m)}}},U1:function(e,t,n,i){var r,a,o,l,s,C;i&&(n+=" x e");var c="";typeof t.K===ZC._[31]||""===t.K?typeof t.G!==ZC._[31]&&(c=t.G.GRAPHID+"-path-"+ZC.SEQ,ZC.SEQ++):c=t.K+"-path";var A=ZC.Q.F6("zcv:shape");A.style.position="absolute",A.style.rotation=t.AA,A.id=c;var u=ZC.Q.F6("zcv:path");if(u.v=n,u.setAttribute("VMLv",n),A.appendChild(u),0===t.B1)A.stroked=!1;else{var p=ZC.Q.F6("zcv:stroke");if(l=t.C5,typeof t.D.A8Z!==ZC._[31]&&(l=t.D.A8Z),typeof t.D.stroke!==ZC._[31])a=t.D.stroke.weight,o=t.D.stroke.color,l=t.D.stroke.opacity,s=t.D.stroke.dashstyle;else{switch(s="solid",t.GD){case"solid":s="solid";break;case"dotted":s="dot";break;case"dashed":s="dash";break;default:s=t.GD}"solid"!==s&&"0 0"!=(r=ZC.CX(6,t.EX*t.B1)+" "+ZC.CX(8,t.G9*t.B1))&&(s=r),a=t.B1,o=t.B7}ZC.Q.G5(p,{weight:a+"px",color:o,opacity:l,miterlimit:10,endcap:"flat",joinstyle:"round",dashstyle:s}),A.appendChild(p)}i&&typeof t.D.fill!==ZC._[31]&&-1!==t.D.fill?(A.filled=!0,A.appendChild(t.D.fill)):A.filled=!1,ZC.Q.G5(A,{coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.G.I+" "+t.G.F});var h=0,Z=0;if(t.AA%360!=0&&typeof t.D.cx!==ZC._[31]&&typeof t.D.cy!==ZC._[31]){var d=t.G.I/2-t.D.cx,f=t.G.F/2-t.D.cy,_=0===f?0:ZC.UB(Math.atan(d/f));t.D.cy>t.G.F/2&&(_+=180);var g=Math.sqrt(d*d+f*f);h=d-g*ZC.EN(_-t.AA),Z=f-g*ZC.EE(_-t.AA)}var v=0-h;null!==ZC._n_(t.BJ)&&(v+=t.BJ);var m=0-Z;if(null!==ZC._n_(t.BH)&&(m+=t.BH),A.style.left=v+"px",A.style.top=m+"px",e.appendChild(A),t.AA%360==0?(A.style.width="10px",A.style.height="10px"):(A.style.width=t.G.I+"px",A.style.height=t.G.F+"px"),("all"===t.D.border||typeof t.D.imgfill!==ZC._[31])&&typeof t.D.imgfill!==ZC._[31]){var b=t.D.imgfill;1===b.length?((A=ZC.Q.F6("zcv:shape")).style.position="absolute",A.style.rotation=t.AA,(u=ZC.Q.F6("zcv:path")).v=n,A.appendChild(u),A.appendChild(b[0]),A.stroked=!1,ZC.Q.G5(A,{id:c+"-imgfill",filled:!0,coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.G.I+" "+t.G.F}),A.style.left=v+"px",A.style.top=m+"px",e.appendChild(A),t.AA%360==0?(A.style.width="10px",A.style.height="10px"):(A.style.width=t.G.I+"px",A.style.height=t.G.F+"px")):3===b.length&&((C=ZC.Q.F6("img")).id=c+"-img","zc."===t.D8.substring(0,3)?C.src=ZC.IMAGES[t.D8]:C.src=t.D8,C.style.position="absolute",C.style.left=b[1]+"px",C.style.top=b[2]+"px",C.style.width=t.D[ZC._[69]]+"px",C.style.height=t.D[ZC._[70]]+"px",e.appendChild(C))}}};class DU extends D0{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;t.A=e,t.Z=null,t.C6=null,t.H6="",t.iX=-1,t.iY=-1,t.DP="poly",t.E=[],t.CZ=[0,0,0,0],t.AA=0,t.AI=0,t.L2=0,t.BJ=0,t.BH=0,t.A9R=0,t.DQ=0,t.B3=0,t.BI=360,t.CM=0,t.U0=!1,t.ADC=!1,t.A65=0,t.AB3="",t.OF=!1,t.AA9=1,t.JV=1,t.E7=null,t.FD=null,t.IZ="auto",t.KE=!1,t.A1I="source-over",t.R7=!1}getPMap(){var e=super.getPMap();return this.addPMap(e,"objectId,x,y,points,bounds,pieAngleStart,pieAngleEnd,pieSlice,url,target,offsetX,offsetY,offsetR,size,size2,angle,shape,flat,cursor","H6,iX,iY,E,CZ,B3,BI,CM,E7,FD,BJ,BH,DQ,AI,L2,AA,DP,KE,IZ"),e}build(){}copy(e){super.copy(e);var t,n,i=this,r="BJ,BH,DQ,AI,L2,AA,DP,KE,IZ".split(",");for(t=0,n=r.length;t0)for(i.E=[],t=0,n=e.E.length;t=1||e<0||zingchart.DEV.IGNORESUBUNIT)&&!n?"x"===t?a+parseFloat(e):o+parseFloat(e):e>=0&&e<1||n?"x"===t?(l=l||1,Math.round(a+l*e)):(s=s||1,Math.round(o+s*e)):void 0}locate(e){var t,n=this;if(n.U0)return-1!==(""+n.o.x).indexOf("lon")?n.iX=n.ll_(n.o.x,"x"):n.YQ("x","iX"),-1!==(""+n.o.y).indexOf("lat")?n.iY=n.ll_(n.o.y,"y"):n.YQ("y","iY"),void n.ZF();1===e?(null!==(t=ZC._n_(n.o.x))&&(n.iX=n.xy_(t,"x")),null!==(t=ZC._n_(n.o.y))&&(n.iY=n.xy_(t,"y")),-1===n.iX&&(n.iX=n.A.iX),-1===n.iY&&(n.iY=n.A.iY)):2===e&&(n.ZF(),n.I=n.CZ[2]-n.CZ[0],n.F=n.CZ[3]-n.CZ[1])}ZF(){var e,t=this,n=ZC.MAX,i=ZC.MAX,r=-ZC.MAX,a=-ZC.MAX;switch(t.DP){case"custom":n=0,i=0,r=0,a=0;break;case"circle":case"arc":case"pie":n=t.iX-t.AI,i=t.iY-t.AI,r=t.iX+t.AI,a=t.iY+t.AI;break;default:for(var o=0,l=t.E.length;o50&&(n=2),o>100&&(n=4),0===l?r%360!=a%360&&i.push([t.iX,t.iY]):i.push(ZC.AO.BL(t.iX,t.iY,l,r),ZC.AO.BL(t.iX,t.iY,(o+l)/2,r-.25*t.AT),ZC.AO.BL(t.iX,t.iY,o,r)),e=r;e<=a;e+=n)i.push(ZC.AO.BL(t.iX,t.iY,o,e));if(i.push(ZC.AO.BL(t.iX,t.iY,o,a)),i.push(ZC.AO.BL(t.iX,t.iY,(o+l)/2,a+.25*t.AT)),0===l)r%360!=a%360&&i.push([t.iX,t.iY]);else{for(i.push(ZC.AO.BL(t.iX,t.iY,l,a)),e=a;e>=r;e-=n)i.push(ZC.AO.BL(t.iX,t.iY,l,e));i.push(ZC.AO.BL(t.iX,t.iY,l,r))}return i.push([i[0][0],i[0][1]]),ZC.AO.Q6(i,Math.min(5,o/5),[t.BJ,t.BH])}if(0===t.AA||"rectangle"!==t.DP&&"rect"!==t.DP)return ZC.AO.Q6(t.E,Math.min(5,t.AI/5),[t.BJ,t.BH]);var s,C,c,A,u,p,h,Z,d=[];for(c=ZC._i_((t.CZ[0]+t.CZ[2])/2),A=ZC._i_((t.CZ[1]+t.CZ[3])/2),s=0,C=t.E.length;s-1&&p.push(ZC.AO.Q6(n,Math.min(5,C.AI/5),[C.BJ,C.BH])),n=[];if(0!==C.AA)for(i=ZC._i_((C.CZ[0]+C.CZ[2])/2),r=ZC._i_((C.CZ[1]+C.CZ[3])/2),e=0,t=n.length;e-1&&p.push(ZC.AO.Q6(n,Math.min(5,C.AI/5),[C.BJ,C.BH])),p}}parse(e){var t,n,i,r,a,o,l;null===ZC._n_(e)&&(e=!1),this.o.tween||e||super.parse();var s=this;if(!s.o.tween&&!e){s.assign_a([["map","A65"]]),"string"==typeof s.o.item&&s.assign_a([["item","AB3"]]),0!==s.A65&&(null===ZC._n_(s.o["map-item"])||s.o["map-item"])&&(s.o["map-item"]=!0,s.o["map-skip-z-sort"]=!0);var C=["offset-x","offset-y"];for(n=0;n<2;n++){var c=C[n],A="offset-x"===c?"lon":"lat";if(null!==(t=s.o[c])&&typeof t!==ZC._[31]&&-1!==(t=""+t).indexOf(A)){t=ZC._f_(t.replace(A,""));var u=zingchart.maps.maps[s.A65];u&&(t=zingchart.maps.translate(c.replace("offset-"),t,s.A.I,s.A.F,u._INFO_.bbox),s.o[c]=t)}}for(s.assign_a([["url","E7"],["target","FD"],["cursor","IZ"],["id","H6"],["angle","AA","i"],["static","KE","b"],["flat","KE","b"],[ZC._[1],"B3","f"],[ZC._[2],"BI","f"],[ZC._[8],"CM","i"],[ZC._[21],"AI","f"],["size-2","L2","f"],["fast-vector-path","R7","b"],["type","DP"],["points","E"],["offset-x","BJ"],["offset-y","BH"],["offset-z","A9R","i"],["offset-r","DQ","i"],["z-sort","AA9","i"],["z-index","JV","f"],["composite","A1I"]]),s.BJ=ZC.IQ(s.BJ,!0),s.BH=ZC.IQ(s.BH,!0),s.BJ>-1&&s.BJ<1&&typeof s.D["p-width"]!==ZC._[31]&&(s.BJ*=s.D["p-width"]),s.BH>-1&&s.BH<1&&typeof s.D["p-height"]!==ZC._[31]&&(s.BH*=s.D["p-height"]),s.AI=ZC.BQ(1,s.AI),s.L2=ZC.BQ(1,s.L2),null!==s.o["z-sort"]&&typeof s.o["z-sort"]!==ZC._[31]||(s.AA9=s.JV),"rectangle"!==s.DP&&"rect"!==s.DP||s.assign_a([[ZC._[19],"AI","f"],[ZC._[20],"L2","f"]]),s.A5J?(s.E=JSON.parse(JSON.stringify(s.FC)),s.A5J=!1):s.FC=JSON.parse(JSON.stringify(s.E)),n=0,i=s.E.length;n4?2:7-r),n=0+o;n<360+o;n+=a)s.E.push(ZC.AO.BL(s.iX,s.iY,.75*h,n),ZC.AO.BL(s.iX,s.iY,.75*l,n+a/2));s.E.push([s.E[0][0],s.E[0][1]]);break;case"rpoly3":case"rpoly4":case"rpoly5":case"rpoly6":case"rpoly7":case"rpoly8":case"rpoly9":for(s.E=[],h=s.AI,a=360/(r=ZC._i_(s.DP.replace("rpoly",""))),o=r%2==0?0:-90,null!==ZC._n_(s.o["angle-offset"])&&(o=ZC._i_(s.o["angle-offset"])),n=0+o;n<360+o;n+=a)s.E.push(ZC.AO.BL(s.iX,s.iY,h,n));s.E.push([s.E[0][0],s.E[0][1]]);break;case"gear3":case"gear4":case"gear5":case"gear6":case"gear7":case"gear8":case"gear9":for(s.E=[],h=2*s.AI,a=360/(2*(r=ZC._i_(s.DP.replace("gear","")))),l=.75*h,n=0+(o=r%2==0?0:-90);n<360+o;n+=2*a){var g=n+a/2;s.E.push(ZC.AO.BL(s.iX,s.iY,.75*h,g),ZC.AO.BL(s.iX,s.iY,.75*h,g+a),ZC.AO.BL(s.iX,s.iY,.75*l,g+a+0*a),ZC.AO.BL(s.iX,s.iY,.75*l,g+2*a-0*a))}s.E.push([s.E[0][0],s.E[0][1]]);break;case"hamburger":h*=2;var v=s.iX,m=s.iY-10;s.E=s.E.concat([[v-h/2,m-s.L2/2],[v+h/2,m-s.L2/2],[v+h/2,m+s.L2/2],[v-h/2,m+s.L2/2],[v-h/2,m-s.L2/2],null]),m+=5,s.E=s.E.concat([[v-h/2,m-s.L2/2],[v+h/2,m-s.L2/2],[v+h/2,m+s.L2/2],[v-h/2,m+s.L2/2],[v-h/2,m-s.L2/2],null]),m+=5,s.E=s.E.concat([[v-h/2,m-s.L2/2],[v+h/2,m-s.L2/2],[v+h/2,m+s.L2/2],[v-h/2,m+s.L2/2],[v-h/2,m-s.L2/2],null]);break;case"ellipse":for(s.CY=!1,s.E=[],n=0;n<=360;n+=5)s.E.push([s.iX+s.AI*ZC.EE(n),s.iY+s.L2*ZC.EN(n)]);s.E.push([s.E[0][0],s.E[0][1]]);break;case"arc":s.CY=!1,s.E=[ZC.AO.BL(s.iX,s.iY,s.AI,s.B3),[s.iX,s.iY,s.AI,s.B3,s.BI,0]];break;case"pie":for(var b=(s.o["pie-transform"]||"").split(/=|,/);s.B3<0||s.BI<0;)s.B3+=360,s.BI+=360;s.CY=!1;var B=!1;-1!==ZC.AV(["svg","vml"],s.G.AC)&&s.B3%360==s.BI%360&&(s.B3+=.05,s.BI-=.05,B=!0);var D,E,y,K,F,x=s.iX,I=s.iY,X=ZC._x_(s.B3,2),w=ZC._x_(s.BI,2),Y=ZC._x_((X+w)/2,2),M=h,L=s.CM,G=0===L&&X%360!=w%360&&!B;switch(s.E=[],"circle"!==b[0]&&(0===L?X%360==w%360||B||s.E.push([x,I]):s.E.push(ZC.AO.BL(x,I,L,X))),b[0]){case"flat":case"fold":s.E.push(ZC.AO.BL(x,I,M,X),ZC.AO.BL(x,I,M-("fold"===b[0]?ZC._i_(b[1]):0),w)),G||s.E.push(ZC.AO.BL(x,I,L,w));break;case"callout":s.E.push(ZC.AO.BL(x,I,M,X),[x,I,M,X,w,0]),G||(D=1.5*ZC._i_(b[1])*360/(2*Math.PI*M),s.E.push(ZC.AO.BL(x,I,M,w),ZC.AO.BL(x,I,L,w),[x,I,L,w,Y+D,1],ZC.AO.BL(x,I,L-ZC._i_(b[1]),Y),ZC.AO.BL(x,I,L,Y-D),[x,I,L,Y-D,X,1]));break;case"flow":D=ZC._i_(b[1]),K=ZC.AO.BL(x,I,(L+M)/2,X),99===D||-99===D?s.E.push([K[0],K[1],(M-L)/2,X+180,X,99===D?1:0]):s.E.push(ZC.AO.BL(x,I,(L+M)/2,X+D)),s.E.push(ZC.AO.BL(x,I,M,X),[x,I,M,X,w,0]),F=ZC.AO.BL(x,I,(L+M)/2,w),G?99===D||-99===D?s.E.push(ZC.AO.BL(x,I,M,w),[F[0],F[1],(M-L)/2,w,w+180,99===D?0:1]):s.E.push(ZC.AO.BL(x,I,(L+M)/2,w+D)):(99===D||-99===D?s.E.push([F[0],F[1],(M-L)/2,w,w+180,99===D?0:1]):s.E.push(ZC.AO.BL(x,I,(L+M)/2,w+D)),s.E.push(ZC.AO.BL(x,I,L,w),[x,I,L,w,X,1]));break;case"circle":var P=ZC._f_(b[1]||"1"),N=(5+ZC._a_(w-X)%360*50/360)*P;y=w%360==X%360||B?[x,I]:ZC.AO.BL(x,I,(M+L)/2,(X+w)/2),s.E.push(ZC.AO.BL(y[0],y[1],N,0),[y[0],y[1],N,0,360,0]);break;case"bite":D=ZC._i_(b[1]),E=ZC._i_(2*M*ZC.EN(D/2)),y=ZC.AO.BL(x,I,M,X),s.E.push(ZC.AO.BL(x,I,M-E,X),[y[0],y[1],E,X+180,X+90+(90-(180-D)/2),1],[x,I,M,X+D,w,0]),G||s.E.push(ZC.AO.BL(x,I,L,w),[x,I,L,w,X,1]);break;case"droplet":for(var k=M,O=1,R=0;M*O+R>=k;)O=ZC._x_(O-.02,2),E=ZC._i_(M*O/ZC.EE((w-X)/2)),R=ZC._i_(M*O*Math.tan(ZC.TA((w-X)/2)));y=ZC.AO.BL(x,I,E,Y),s.E.push(ZC.AO.BL(x,I,M*O,X),[y[0],y[1],R,Y-(360-(180-(w-X)))/2,Y+(360-(180-(w-X)))/2,0]),G||s.E.push(ZC.AO.BL(x,I,L,w),[x,I,L,w,X,1]);break;default:s.E.push(ZC.AO.BL(x,I,M,X),[x,I,M,X,w,0]),0===L?X%360==w%360||B||s.E.push([x,I]):s.E.push(ZC.AO.BL(x,I,M,w),ZC.AO.BL(x,I,L,w),[x,I,L,w,X,1])}s.E.push([s.E[0][0],s.E[0][1]])}}s.locate(2)}paint(){var e=this;if("none"!==e.DP&&("custom"===e.DP||"circle"===e.DP||"arc"===e.DP||0!==e.E.length)){var t,n,i={x:"iX",y:"iY",width:"I",height:"F",size:"AI"};if(e.o["bottom-state"]&&!e.YX&&!e.WW&&!e.bIsBottom){var r=new DU(e.A);for(t in r.copy(e),r.bIsBottom=!0,r.ME=!1,r.Z=e.Z,r.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY}),r.append(e.o["bottom-state"]),r.K=e.K+"-bottom",r.parse(),n=!1,i)null===ZC._n_(r.o[t])||-1===(""+r.o[t]).indexOf("+")&&-1===(""+r.o[t]).indexOf("-")||(r.o[t]=r[i[t]]=e[i[t]]+ZC._i_(r.o[t]),n=!0);n&&r.parse(),r.paint()}var a=e.G.AC;switch(e.ME&&e.C6&&e.A2H(),a){case"canvas":e.WX();break;case"svg":e.UD();break;case"vml":e.U1()}if(e.o["top-state"]&&!e.YX&&!e.WW&&!e.bIsBottom){var o=new DU(e.A);for(t in o.copy(e),o.WW=!0,o.ME=!1,o.Z=e.Z,o.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY}),o.append(e.o["top-state"]),o.K=e.K+"-top",o.parse(),n=!1,i)null===ZC._n_(o.o[t])||-1===(""+o.o[t]).indexOf("+")&&-1===(""+o.o[t]).indexOf("-")||(o.o[t]=o[i[t]]=e[i[t]]+ZC._i_(o.o[t]),n=!0);n&&o.parse(),o.paint()}}}A2H(){var e,t=this,n=new DU(t.A);n.K=t.K+"-sh",n.copy(t),n.OF=t.OF,n.Z=t.C6,n.ME=!1,n.YX=!0,n.A0=n.AE=n.S8,n.GT=n.HS="",n.D8="",n.GD="solid",n.BV=n.S8,n.B1=0,n.C5=n.TH*t.C5,n.K=t.K+"-sh";var i=(t.JZ-t.PM)*ZC.EE(t.OO)+t.PM,r=(t.JZ-t.PM)*ZC.EN(t.OO)+t.PM;if(n.iX=t.iX+parseInt(i,10),n.iY=t.iY+parseInt(r,10),n.AI=t.AI+t.PM,t.E.length>0){e=[];for(var a=0,o=t.E.length;a0||"arc"===s.DP&&s.B1>0)&&C.stroke(),C.closePath();break;case"plus":case"cross":case"line":case"ic_line":s.B1>0&&(ZC.CR.setup(C,s),s.o.spline?(s.CY=!1,s.R7=!0,ZC.CR.paint(C,s,ZC.CR.smooth(s.E,!1,s.o.direction||"h"))):ZC.CR.paint(C,s,s.E));break;default:if(s.AT>0){var D=s.B7,E=s.B1;s.B7=s.BV,s.B1=s.AT,s.KO(),ZC.CR.setup(C,s),ZC.CR.paint(C,s,s.E,!0),s.B7=D,s.B1=E,s.KO()}C.closePath()}C.restore()}XP(e){var t=this,n=e.info,i=n.image,r=!0;switch(t.MD){default:r=!0;break;case"no-repeat":case"false":case!1:r=!1}var a=t.D8;0===i.src.indexOf("data:")&&(a=i.src),i.width*=t.KU,i.height*=t.KU;var o=""===t.K?"pattern-"+ZC.SEQ++:t.K+"-pattern";ZC.Q.ET(o);var l=ZC.Q.F6("image",ZC._[36]);l.setAttributeNS?l.setAttributeNS(ZC._[37],"href",a):l.setAttribute("src",a),ZC.Q.G5(l,{id:o+"-image",preserveAspectRatio:"none",width:t.D[ZC._[69]],height:t.D[ZC._[70]]});var s=i.width,C=i.height;if(!r){var c,A;s=C=1,t.I>0&&t.F>0?(c=t.I,A=t.F):(c=t.CZ[2]-t.CZ[0],A=t.CZ[3]-t.CZ[1]);var u=ZC._i_(c*n.cx),p=ZC._i_(A*n.cy);if("pie"===t.DP){s=t.G?t.G.I:t.A.I,C=t.G?t.G.F:t.A.F;var h=t.AA+t.B3+(t.BI-t.B3)*n.hPos,Z=ZC.AO.BL(t.iX,t.iY,t.CM+(t.AI-t.CM)*n.vPos,h);u=Z[0]-i.width/2,p=Z[1]-i.height/2}t.D["pattern-image-id"]=o+"-image",t.D["pattern-tx"]=u,t.D["pattern-ty"]=p,ZC.Q.G5(l,{transform:"translate("+u+","+p+")"})}var d=ZC.Q.F6("pattern",ZC._[36]);ZC.Q.G5(d,{x:r?e.x:0,y:r?e.y:0,width:s,height:C,id:o,patternUnits:r||"pie"===t.DP?"userSpaceOnUse":"objectBoundingBox"}),t.G.KH.childNodes[0].appendChild(d),d.appendChild(l),t.D.imgfill="url(#"+o+")"}TO(e){null!==e&&typeof e!==ZC._[31]||(e=!1);var t,n,i=this;if(i.A0!==i.AE||""!==i.GT&&""!==i.HS){var r=""===i.K?"gradient-"+ZC.SEQ++:i.K+"-gradient";(i.U0||e&&!ZC.AK(r))&&(e=!1),ZC.A4.browser.msie&&9===ZC._i_(ZC.A4.browser.version)&&(e=!1),ZC.AK(r)&&!e&&ZC.Q.ET(r);var a=i.SG(i.NR);if("radial"===i.NR?(t=e?ZC.AK(r):ZC.Q.F6("radialGradient",ZC._[36]),ZC.Q.G5(t,{cx:ZC._i_(a.cx),cy:ZC._i_(a.cy),r:ZC._i_(a.r),fx:ZC._i_(a.cx),fy:ZC._i_(a.cy)})):"linear"===i.NR&&(t=e?ZC.AK(r):ZC.Q.F6("linearGradient",ZC._[36]),ZC.Q.G5(t,{x1:ZC._i_(a.x1),x2:ZC._i_(a.x2),y1:ZC._i_(a.y1),y2:ZC._i_(a.y2)})),!e){if(ZC.Q.G5(t,{id:r,gradientUnits:"userSpaceOnUse"}),i.G.KH.childNodes[0].appendChild(t),""!==i.GT&&""!==i.HS)for(var o=i.GT.split(/\s+|;/),l=i.HS.split(/\s+|;/),s=0,C=o.length;s6){for(var n="",i=0,r=t.length;i0&&e.indexOf("#")>=0)?(c=ZC.Q.F6("svg",ZC._[36]),ZC.Q.G5(c,{viewBox:"0 0 8 8",fill:o.D.fill}),a=ZC.Q.F6("use",ZC._[36])):a=ZC.Q.F6("image",ZC._[36]),a.setAttributeNS?a.setAttributeNS(ZC._[37],"href",e):a.setAttribute("src",e);var A=o.o[ZC._[19]]?o.o[ZC._[19]]:i.width,u=o.o[ZC._[20]]?o.o[ZC._[20]]:i.height;i.width=A,i.height=u,C?ZC.Q.G5(c,{id:o.K+"-image",x:o.iX-i.width/2+o.BJ,y:o.iY-i.height/2+o.BH,width:i.width,height:i.height}):ZC.Q.G5(a,{id:o.K+"-image",x:o.iX-i.width/2+o.BJ,y:o.iY-i.height/2+o.BH,width:i.width,height:i.height}),C?(c.appendChild(a),l.appendChild(c)):l.appendChild(a)}break;case"circle":if(!ZC.AK(o.K+"-circle")&&(r=ZC.Q.F6("circle",ZC._[36]),-1!==o.D.fill?ZC.Q.G5(r,{fill:o.D.fill,"fill-opacity":o.C5}):ZC.Q.G5(r,{fill:"none"}),o.DI&&""!==o.DI&&ZC.Q.G5(r,{class:o.DI}),ZC.Q.G5(r,{id:o.K+"-circle",cx:o.iX+o.BJ,cy:o.iY+o.BH,r:o.AI}),o.AT>0&&(ZC.Q.G5(r,{stroke:o.BV,"stroke-width":o.AT,"stroke-opacity":o.O5}),o.KO(o.AT),"solid"===o.GD||0===o.EX&&0===o.G9||ZC.Q.G5(r,{"stroke-dasharray":"dashdot"===o.GD?[o.EX,o.G9,o.B1,o.G9].join(" "):[o.EX,o.G9].join(",")})),o.G&&o.G.G1?(o.G.G1[l.id]||(o.G.G1[l.id]=document.createDocumentFragment()),o.G.G1[l.id].appendChild(r)):l.appendChild(r),typeof o.D.imgfill!==ZC._[31]))if("string"==typeof o.D.imgfill)r=ZC.Q.F6("circle",ZC._[36]),ZC.Q.G5(r,{id:o.K+"-imgfill",fill:o.D.imgfill,"fill-opacity":o.C5,cx:o.iX+o.BJ,cy:o.iY+o.BH,r:o.AI,"stroke-width":0}),o.G&&o.G.G1?o.G.G1[l.id].appendChild(r):l.appendChild(r);else{var p=o.D.imgfill;(a=ZC.Q.F6("image",ZC._[36])).setAttributeNS&&a.setAttributeNS(ZC._[37],"href",o.D8),o.D["clip-path"]&&ZC.Q.G5(a,{"clip-path":"url(#"+o.D["clip-path"]+(ZC.A4.browser.webkit?"-shape":"")+")"}),ZC.Q.G5(a,{id:o.K+"-imgfill",x:p[1],y:p[2],width:p[0].width,height:p[0].height}),l.appendChild(a)}break;case"plus":case"cross":case"line":case"ic_line":case"arc":o.B1>0&&(ZC.CR.setup(l,o),o.o.spline?(o.CY=!1,o.R7=!0,ZC.CR.paint(l,o,ZC.CR.smooth(o.E,!1,o.o.direction||"h"))):ZC.CR.paint(l,o,o.E));break;default:var h=o.B7,Z=o.B1;o.B7=o.BV,o.B1=o.AT,o.KO(),ZC.CR.setup(l,o),ZC.CR.paint(l,o,o.E,!0,0),o.B7=h,o.B1=Z,o.KO()}}TN(e,t){null!==t&&typeof t!==ZC._[31]||(t=!1);var n,i=this;if(i.A0!==i.AE||""!==i.GT&&""!==i.HS){var r=""===i.K?"gradient-"+ZC.SEQ++:i.K+"-gradient";if(t&&!ZC.AK(r)&&(t=!1),ZC.AK(r)&&!t&&ZC.A4(r).remove(),n=t?ZC.AK(r):ZC.Q.F6("zcv:fill"),t&&(e=ZC.A4("#"+r).attr("focusposition")),""!==i.GT&&""!==i.HS){for(var a=i.GT.split(/\s+|;/),o=i.HS.split(/\s+|;/),l="",s="",C="",c=0,A=a.length;c0||o.B1>0?r.appendChild(A):r.stroked=!1,r.style.left=o.iX+o.BJ-o.AI+"px",r.style.top=o.iY+o.BH-o.AI+"px",r.style.width=2*o.AI+"px",r.style.height=2*o.AI+"px","arc"===o.DP&&ZC.Q.G5(r,{startangle:o.BI+90,endangle:o.B3+90}),l.appendChild(r),s&&typeof o.D.imgfill!==ZC._[31])){var u=o.D.imgfill;1===u.length?((r=ZC.Q.F6("zcv:oval")).id=o.K+"-imgfill",r.style.position="absolute",l.appendChild(r),r.appendChild(u[0]),r.style.left=o.iX+o.BJ-o.AI+"px",r.style.top=o.iY+o.BH-o.AI+"px",r.style.width=2*o.AI+"px",r.style.height=2*o.AI+"px",r.stroked=!1,"arc"===o.DP&&ZC.Q.G5(r,{startangle:o.BI+90,endangle:o.B3+90})):3===u.length&&((a=ZC.Q.F6("img")).id=o.K+"-img",a.src=o.D8,a.style.position="absolute",a.style.left=u[1]+"px",a.style.top=u[2]+"px",1!==o.KU&&(a.width*=o.KU,a.height*=o.KU,a.style.width=a.width+"px",a.style.height=a.height+"px"),l.appendChild(a))}break;case"plus":case"cross":case"line":case"ic_line":o.B1>0&&(ZC.CR.setup(l,o),o.o.spline?(o.CY=!1,o.R7=!0,ZC.CR.paint(l,o,ZC.CR.smooth(o.E,!1,o.o.direction||"h"))):ZC.CR.paint(l,o,o.E));break;default:var p=o.B7,h=o.B1;o.B7=o.BV,o.B1=o.AT,o.KO(),ZC.CR.setup(l,o),ZC.CR.paint(l,o,o.E,!0,0),o.B7=p,o.B1=h,o.KO()}}}class I0 extends DU{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;t.DP="box",t.I=0,t.F=0,t.A96="",t.E6=-1,t.E5=-1,t.DN=-1,t.DT=-1,t.F5=0,t.FS=0,t.F2=0,t.FF=0,t.A83=!1,t.KV=!1,t.ER="bottom",t.EU=0,t.MB=0,t.HA=8,t.G6=8,t.YA=[1,1],t.DL=null,t.OU=null,t.QD=!1,t.N5=!0,t.Q8="",t.OP="",t.NZ="",t.PI="",t.X2="tl",t.FE=!1}getPMap(){var e=super.getPMap();return this.addPMap(e,"width,height,borderRadiusTopLeft,borderRadiusTopRight,borderRadiusBottomRight,borderRadiusBottomLeft,callout,calloutType,calloutPosition,calloutHook,calloutWidth,calloutHeight,calloutOffset,calloutExtension,position,borderTop,borderRight,borderBottom,borderLeft,rectShortcut","I,F,F5,FS,F2,FF,KV,ER,DL,HA,G6,EU,MB,A96,Q8,OP,NZ,PI,FE"),e}build(){}wh_(e,t,n){var i=this;if(t=t||"w",ZC._f_(e)+""!=e+"")return-1!==(e+="").indexOf("%")?i.wh_(ZC._f_(e.replace("%",""))/100,t,!0):-1!==e.indexOf("px")?i.wh_(ZC._f_(e.replace("px","")),t):i.wh_(ZC._f_(e),t);var r=typeof i.D["p-width"]!==ZC._[31]?i.D["p-width"]:i.A.I,a=typeof i.D["p-height"]!==ZC._[31]?i.D["p-height"]:i.A.F;return(e=ZC._a_(e))>1&&!n?ZC._i_(e):e<=1||n?"w"===t?ZC._i_(r*e):ZC._i_(a*e):void 0}m_(e,t,n,i,r){var a,o,l=this;if(n=n||0,i=i||0,t=t||"all",r=r||"n","all"===t){var s=String(e).split(/\s+|;|,/);return 1===s.length?[l.m_(s[0],"tb",n,i,r),l.m_(s[0],"lr",n,i,r),l.m_(s[0],"tb",n,i,r),l.m_(s[0],"lr",n,i,r)]:2===s.length?[l.m_(s[0],"tb",n,i,r),l.m_(s[1],"lr",n,i,r),l.m_(s[0],"tb",n,i,r),l.m_(s[1],"lr",n,i,r)]:3===s.length?[l.m_(s[0],"tb",n,i,r),l.m_(s[1],"lr",n,i,r),l.m_(s[2],"tb",n,i,r),l.m_(s[1],"lr",n,i,r)]:[l.m_(s[0],"tb",n,i,r),l.m_(s[1],"lr",n,i,r),l.m_(s[2],"tb",n,i,r),l.m_(s[3],"lr",n,i,r)]}return e+""=="auto"?-2:e+""=="dynamic"&&"y"===r?"dynamic":ZC._f_(e)+""!=e+""?-1!==(e+="").indexOf("%")?l.m_(ZC._f_(e.replace("%",""))/100,t):-1!==e.indexOf("px")?l.m_(ZC._f_(e.replace("px","")),t):l.m_(ZC._f_(e),t):((l.A||typeof l.D["p-width"]!==ZC._[31])&&(a=typeof l.D["p-width"]!==ZC._[31]?l.D["p-width"]:l.A.I),(l.A||typeof l.D["p-height"]!==ZC._[31])&&(o=typeof l.D["p-height"]!==ZC._[31]?l.D["p-height"]:l.A.F),(e=ZC._a_(e))>=1?ZC._i_(e):e<1?"lr"===t?ZC._i_((l.A?a:n)*e):ZC._i_((l.A?o:i)*e):void 0)}copy(e){super.copy(e);for(var t="I,F,E6,DN,DT,E5,F5,FS,F2,FF,KV,ER,DL,YA,HA,G6,EU,MB,A96,Q8,OP,NZ,PI,FE".split(","),n=0,i=t.length;n1&&!v?ZC._i_(b):-2===h&&-2===u?ZC._i_(C*b):-2===h&&-2!==u?ZC._i_((C-u)*b):-2!==h&&-2===u?ZC._i_((C-h)*b):ZC._i_((C-h-u)*b),-1!==o.iX?(o.DT=o.iX-l,o.E5=l+C-o.DT-o.I):-2===h&&-2===u?(o.DT=o.E5=(C-o.I)/2,o.iX=l+o.DT):-2===h&&-2!==u?(o.E5=u,o.DT=C-o.E5-o.I,o.iX=l+o.DT):(o.DT=h,o.iX=l+o.DT,o.E5=o instanceof DR?u:C-o.DT-o.I)}else-1!==o.iX?(o.DT=o.iX-l,o.E5=-2===u?0:u,o.I=C-o.DT-o.E5):-2===h&&-2===u?(o.DT=o.E5=0,o.iX=l+o.DT,o.I=C-o.DT-o.E5):-2===h&&-2!==u?(o.E5=u,o.DT=0,o.iX=l+o.DT,o.I=C-o.DT-o.E5):-2!==h&&-2===u?(o.DT=h,o.E5=o instanceof DR?u:0,o.iX=l+o.DT,o.I=C-o.DT-o.E5):(o.DT=h,o.E5=u,o.iX=l+o.DT,o.I=C-o.DT-o.E5);if(null!==(t=ZC._n_(o.o[ZC._[20]]))){var B=ZC._p_(t);v=-1!==(""+t).indexOf("%"),o.F=B>1&&!v?ZC._i_(B):-2===A&&-2===p?ZC._i_(c*B):-2===A&&-2!==p?ZC._i_((c-p)*B):-2!==A&&-2===p?ZC._i_((c-A)*B):ZC._i_((c-A-p)*B),-1!==o.iY?(o.E6=o.iY-s,o.DN=s+c-o.E6-o.F):-2===A&&-2===p?(o.E6=o.DN=(c-o.F)/2,o.iY=s+o.E6):-2===A&&-2!==p?(o.DN=p,o.E6=c-o.DN-o.F,o.iY=s+o.E6):(o.E6=A,o.iY=s+o.E6,o.DN=o instanceof DR?p:c-o.E6-o.F)}else-1!==o.iY?(o.E6=o.iY-s,o.DN=-2===p?0:p,o.F=c-o.E6-o.DN):-2===A&&-2===A?(o.E6=o.E6=0,o.iY=s+o.E6,o.F=c-o.E6-o.DN):-2===A&&-2!==p?(o.DN=p,o.E6=0,o.iY=s+o.E6,o.F=c-o.E6-o.DN):-2===A&&-2!==p?(o.E6=A,o.DN=o instanceof DR?p:0,o.iY=s+o.E6,o.F=c-o.E6-o.DN):(o.E6=A,o.DN=p,o.iY=s+o.E6,o.F=c-o.E6-o.DN);if(null!==(t=ZC._n_(o.o.position))){if(o.A&&typeof o.A.iX!==ZC._[31]&&typeof o.A.iY!==ZC._[31]&&typeof o.A.I!==ZC._[31]&&typeof o.A.F!==ZC._[31]){switch(i=0,r=0,(a=String(t).split(/\s+/))[0]){case"left":i=0;break;case"right":i=1;break;case"center":i=.5;break;default:(i=ZC.IQ(a[0]))>1&&(i/=o.A.I)}switch(a[1]){case"top":r=0;break;case"bottom":r=1;break;case"middle":r=.5;break;default:(r=ZC.IQ(a[1]))>1&&(r/=o.A.F)}}o.D["position-info"]=[i,r],o.iX=o.A.iX+ZC._i_(i*(o.A.I-o.I-m[1]-m[3]))+m[3],o.iY=o.A.iY+ZC._i_(r*(o.A.F-o.F-m[0]-m[2]))+m[0]}o.CZ=[o.iX,o.iY,o.iX+o.I,o.iY+o.F]}}}parse(){super.parse();var e,t=this;if(!t.o.tween){if(t.assign_a([["anchor","X2"],["rect-shortcut","FE","b"],["center-ref","A83","b"],["callout","KV","b"],["callout-type","ACT"],["callout-position","ER"],["callout-hook","DL"],["callout-ratio","YA"],["callout-width","HA","i"],["callout-height","G6","i"],["callout-offset","EU","i"],["callout-extension","MB","i"],["border-top","Q8"],["border-right","OP"],["border-bottom","NZ"],["border-left","PI"]]),null!==(e=ZC._n_(t.o["border-radius"]))){var n=String(e).split(/\s+|;|,/);2===n.length?(t.F5=t.FS=ZC._i_(n[0]),t.F2=t.FF=ZC._i_(n[1])):4===n.length?(t.F5=ZC._i_(n[0]),t.FS=ZC._i_(n[1]),t.F2=ZC._i_(n[2]),t.FF=ZC._i_(n[3])):t.F5=t.FS=t.F2=t.FF=ZC._i_(n[0])}null!==ZC._n_(t.o["callout-tip"])&&(t.OU=new DU(t.A)),t.assign_a([["border-radius-top-left","F5","i"],["border-radius-top-right","FS","i"],["border-radius-bottom-right","F2","i"],["border-radius-bottom-left","FF","i"]])}}UW(e){var t=e.split(/\s/);return t[0]=ZC._i_(t[0]),t[2]=ZC.AP.G8(t[2]),t}paint(){var e=this;if(null!==e.DL&&!(e.DL instanceof Array)&&"zcgraph"===e.A.OJ){var t=e.A.OM(e.DL);e.DL=[t[0],t[1]],e.DL[0]-=e.BJ,e.DL[1]-=e.BH}if(e.A83&&(e.iX-=e.I/2,e.iY-=e.F/2),"-1"!==e.BV&&0!==e.AT||e.Q8+e.OP+e.NZ+e.PI!==""||"-1"!==e.A0||"-1"!==e.AE||""!==e.D8||""!==e.GT||""!==e.HS){var n=e.G.AC;e.ME&&e.C6&&e.A2H();var i,r={x:"iX",y:"iY",width:"I",height:"F"};if(e.o["bottom-state"]&&!e.YX&&!e.bIsBottom&&!e.WW){var a=new I0(e.A);for(i in a.copy(e),a.bIsBottom=!0,a.ME=!1,a.Z=e.Z,a.X2=e.X2,a.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY,width:e.I,height:e.F}),a.append(e.o["bottom-state"]),a.K=e.K+"-bottom",a.parse(),a.setAnchor(),r)null===ZC._n_(a.o[i])||-1===(""+a.o[i]).indexOf("+")&&-1===(""+a.o[i]).indexOf("-")||(a[r[i]]=e[r[i]]+ZC._i_(a.o[i]));a.paint()}if(e.Q8+e.OP+e.NZ+e.PI===""){switch(n){case"canvas":e.WX();break;case"svg":e.UD();break;case"vml":e.U1()}if(e.KV&&e.OU){var o,l;if(e.DL&&2===e.DL.length?(o=e.DL[0],l=e.DL[1]):e.D.cp&&(o=e.D.cp[0],l=e.D.cp[1]),e.OU.Z=e.OU.C6=e.Z,e.OU.copy(e),e.OU.append(e.o["callout-tip"]),e.OU.K=e.K+"-callout-tip",e.OU.o.x=o,e.OU.o.y=l,e.D.cm){var s=e.D.cm[0],C=e.D.cm[1],c=Math.atan2(ZC._i_(C)-ZC._i_(l),ZC._i_(s)-ZC._i_(o));isNaN(c)&&(c=0),null===ZC._n_(e.OU.o.angle)&&(e.OU.o.angle=ZC.UB(c))}e.OU.parse(),e.OU.paint()}}else{var A=e.AT,u=e.BV,p=e.GD;switch(e.AT=0,n){case"canvas":e.WX();break;case"svg":e.UD();break;case"vml":e.U1()}e.AT=A;var h=e.A0,Z=e.AE;e.A0=e.AE="-1";for(var d,f=["top","right","bottom","left"],_=["Q8","OP","NZ","PI"],g=0;g=n.F?ZC._a_(ZC.EN(n.NJ))>.5?n.F/2:n.I/2:ZC._a_(ZC.EE(n.NJ))>.5?n.I/2:n.F/2)*ZC.EE(n.NJ),u=t*ZC.EN(n.NJ);return{x1:a-A,y1:o-u,x2:a+A,y2:o+u}}}TX(e){var t,n=this;typeof e===ZC._[31]&&(e="all");var i,r,a=n.iX,o=n.iY;n.E=[],i=r=n.AT/2;var l=1;switch(n.G.AC){case"vml":l=2,n.AT%2==1&&(i=ZC._i_((n.AT-1)/2),r=ZC._i_((n.AT+1)/2))}var s=null,C=ZC._x_(a+i,2),c=ZC._x_(a-r,2),A=ZC._x_(o+i,2),u=ZC._x_(o-r,2),p=n.DL&&2===n.DL.length,h=ZC._i_(n.EU*(n.I-n.HA)/100),Z=ZC._i_(n.EU*(n.F-n.G6)/100),d=0!==n.F5||0!==n.FS||0!==n.F2||0!==n.FF,f=n.YA[0],_=n.YA[1];switch(n.ER){case"top":n.D.cm=[n.iX+n.I/2+h,n.iY];break;case"bottom":n.D.cm=[n.iX+n.I/2+h,n.iY+n.F];break;case"left":n.D.cm=[n.iX,n.iY+n.F/2+Z];break;case"right":n.D.cm=[n.iX+n.I,n.iY+n.F/2+Z]}if(d){var g,v=ZC.CX(n.I/2,n.F/2);"top"!==e&&"all"!==e||(0!==n.F5?(g=n.I/2>=n.F5&&n.F/2>=n.F5?ZC._a_(n.F5):v,n.E.push([C,A+g]),n.F5>0&&n.E.push([C,A,C+l*g,A]),n.E.push([C+g,A])):n.E.push([C,A]),n.KV&&"top"===n.ER&&(n.E.push([C+n.I/2-f*n.HA/2-n.AT/2+h,A]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[C+n.I/2-n.AT/2+h,A-n.G6],n.E.push(s)),n.MB>0&&(t=n.E[n.E.length-1],n.E.push([t[0],t[1]-n.MB*(n.G6>0?1:-1)]),n.E.push([t[0],t[1]])),n.E.push([C+n.I/2-n.AT/2+_*n.HA/2+h,A])),"top"===e&&(0!==n.FS?(g=n.I/2>=n.FS&&n.F/2>=n.FS?ZC._a_(n.FS):v,n.E.push([c+n.I-g,A])):n.E.push([c+n.I,A]))),"right"!==e&&"all"!==e||(0!==n.FS?(g=n.I/2>=n.FS&&n.F/2>=n.FS?ZC._a_(n.FS):v,n.E.push([c+n.I-g,A]),n.FS>0?n.E.push([c+n.I,A,c+n.I,A+l*g]):n.E.push([c+n.I,A+g])):n.E.push([c+n.I,A]),n.KV&&"right"===n.ER&&(n.E.push([c+n.I,A+n.F/2-f*n.G6/2-n.AT/2+Z]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[c+n.I+n.HA,A+n.F/2-n.AT/2+Z],n.E.push(s)),n.E.push([c+n.I,A+n.F/2+_*n.G6/2-n.AT/2+Z])),"right"===e&&(0!==n.F2?(g=n.I/2>=n.F2&&n.F/2>=n.F2?ZC._a_(n.F2):v,n.E.push([c+n.I,u+n.F-g])):n.E.push([c+n.I,u+n.F]))),"bottom"!==e&&"all"!==e||(0!==n.F2?(g=n.I/2>=n.F2&&n.F/2>=n.F2?ZC._a_(n.F2):v,n.E.push([c+n.I,u+n.F-g]),n.F2>0?n.E.push([c+n.I,u+n.F,c+n.I-l*g,u+n.F]):n.E.push([c+n.I-g,u+n.F])):n.E.push([c+n.I,u+n.F]),n.KV&&"bottom"===n.ER&&(n.E.push([c+n.I/2+f*n.HA/2+n.AT/2+h,u+n.F]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[c+n.I/2+n.AT/2+h,u+n.F+n.G6],n.E.push(s)),n.MB>0&&(t=n.E[n.E.length-1],n.E.push([t[0],t[1]+n.MB*(n.G6>0?1:-1)]),n.E.push([t[0],t[1]])),n.E.push([c+n.I/2-_*n.HA/2+n.AT/2+h,u+n.F])),"bottom"===e&&(0!==n.FF?(g=n.I/2>=n.FF&&n.F/2>=n.FF?ZC._a_(n.FF):v,n.E.push([C+g,u+n.F])):n.E.push([C,u+n.F]))),"left"!==e&&"all"!==e||(0!==n.FF?(g=n.I/2>=n.FF&&n.F/2>=n.FF?ZC._a_(n.FF):v,n.E.push([C+g,u+n.F]),n.FF>0?n.E.push([C,u+n.F,C,u+n.F-l*g]):n.E.push([C,u+n.F-g])):n.E.push([C,u+n.F]),n.KV&&"left"===n.ER&&(n.E.push([C,u+n.F/2+f*n.G6/2+n.AT/2+Z]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[C-n.HA,u+n.F/2+n.AT/2+Z],n.E.push(s)),n.E.push([C,u+n.F/2-_*n.G6/2+n.AT/2+Z])),0!==n.F5?(g=n.I/2>=n.F5&&n.F/2>=n.F5?ZC._a_(n.F5):v,n.E.push([C,A+g])):(n.E.push([C,A]),n.E.push([C+.1,A])))}else"top"!==e&&"all"!==e||(n.E.push([C,A]),n.KV&&"top"===n.ER&&(n.E.push([C+n.I/2-f*n.HA/2-n.AT/2+h,A]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[C+n.I/2-n.AT/2+h,A-n.G6],n.E.push(s)),n.MB>0&&(t=n.E[n.E.length-1],n.E.push([t[0],t[1]-n.MB*(n.G6>0?1:-1)]),n.E.push([t[0],t[1]])),n.E.push([C+n.I/2+_*n.HA/2-n.AT/2+h,A])),"top"===e&&n.E.push([c+n.I,A])),"right"!==e&&"all"!==e||(n.E.push([c+n.I,A]),n.KV&&"right"===n.ER&&(n.E.push([c+n.I,A+n.F/2-n.AT/2-f*n.G6/2+Z]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[c+n.I+n.HA,A+n.F/2-n.AT/2+Z],n.E.push(s)),n.E.push([c+n.I,A+n.F/2-n.AT/2+_*n.G6/2+Z])),"right"===e&&n.E.push([c+n.I,u+n.F])),"bottom"!==e&&"all"!==e||(n.E.push([c+n.I,u+n.F]),n.KV&&"bottom"===n.ER&&(n.E.push([c+n.I/2+f*n.HA/2+n.AT/2+h,u+n.F]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[c+n.I/2+n.AT/2+h,u+n.F+n.G6],n.E.push(s)),n.MB>0&&(t=n.E[n.E.length-1],n.E.push([t[0],t[1]+n.MB*(n.G6>0?1:-1)]),n.E.push([t[0],t[1]])),n.E.push([c+n.I/2-_*n.HA/2+n.AT/2+h,u+n.F])),"bottom"===e&&n.E.push([C,u+n.F])),"left"!==e&&"all"!==e||(n.E.push([C,u+n.F]),n.KV&&"left"===n.ER&&(n.E.push([C,u+n.F/2+n.AT/2+f*n.G6/2+Z]),p?n.E.push([n.DL[0],n.DL[1]]):(s=[C-n.HA,u+n.F/2+n.AT/2+Z],n.E.push(s)),n.E.push([C,u+n.F/2+n.AT/2-_*n.G6/2+Z])),n.E.push([C,A]),n.E.push([C+.1,A]));s&&(n.D.cp=s)}WX(e){e=e||"all";var t,n,i,r=this,a=r.Z.getContext("2d");a.save(),a.globalCompositeOperation=r.A1I;var o=r.iX,l=r.iY,s=r.WF(),C=s.bc,c=s.bgc1,A=s.bgc2;if("all"===e)if(c!==A||""!==r.GT&&""!==r.HS){var u=r.SG(r.NR);"radial"===r.NR?t=a.createRadialGradient(u.cx,u.cy,1,u.cx,u.cy,u.r):"linear"===r.NR&&(u.x1=isNaN(u.x1)?0:u.x1,u.x2=isNaN(u.x2)?0:u.x2,u.y1=isNaN(u.y1)?0:u.y1,u.y2=isNaN(u.y2)?0:u.y2,t=a.createLinearGradient(u.x1,u.y1,u.x2,u.y2)),""!==r.GT&&""!==r.HS?r.V5(t):(t.addColorStop(0,c),t.addColorStop(1,A)),a.fillStyle=t}else""!==r.D8&&-1!==ZC.AV(["repeat","true",!0],r.MD)&&"-1"===r.A0&&"-1"===r.AE&&(c="rgba(255,255,255,0)"),a.fillStyle=c;a.strokeStyle=C,a.lineWidth=r.AT,a.translate(r.BJ,r.BH),0!==r.AA&&(a.translate(o+r.I/2,l+r.F/2),a.rotate(ZC.TA(r.AA)),a.translate(-(o+r.I/2),-(l+r.F/2))),a.beginPath(),r.TX(e);var p=r.F5+r.FS+r.F2+r.FF!==0;i=r.B1,r.B1=r.AT;var h=r.GD;if(r.GD="",r.KO(),ZC.CR.contour(a,r,r.E),r.B1=i,r.GD=h,r.KO(),"all"===e)if(""!==r.D8&&-1===ZC.AV(ZC.IMG404,r.D8)){a.fill(),a.save(),a.clip();var Z=a.globalAlpha;a.globalAlpha=r.C5;var d=r.Q1(),f=d.image;switch(r.MD){default:a.translate(r.iX,r.iY),n=a.createPattern(f,"repeat"),a.fillStyle=n,a.fill(),a.translate(-d.x,-d.y);break;case"no-repeat":case"false":case!1:a.drawImage(f,d.x-r.BJ,d.y-r.BH,r.D[ZC._[69]],r.D[ZC._[70]])}a.globalAlpha=Z,a.restore()}else a.fill();if(r.AT>0){var _=r.B7;i=r.B1,r.B7=r.BV,r.B1=r.AT,r.KO(),ZC.CR.setup(a,r),r.TG=p?"round":"square",r.EX+r.G9>0&&(r.TG="butt"),r.A0F=p?"round":"miter",r.D["skip-top"]=!0,r.D.border=e,ZC.CR.paint(a,r,r.E,!0),r.B7=_,r.B1=i,r.KO()}a.closePath(),a.restore()}UD(e){e=e||"all";var t=this,n=t.Z;t.D.fill=-1;var i=!1;if("all"===e){if(""!==t.D8&&-1===ZC.AV(ZC.IMG404,t.D8)){var r=t.Q1();t.XP({info:r,x:t.iX,y:t.iY}),i=!0}t.TO()}if(t.TX(e),i&&"repeat"!==t.MD&&(t.ZF(),t.KV)){var a=0,o=0;t.CZ[1]0&&(t.TG="butt"),t.A0F=l?"round":"miter";var c=!1;ZC.A4.browser.msie||!t.FE||t.KV||""!==t.Q8||""!==t.OP||""!==t.NZ||""!==t.PI||0!==t.F5||0!==t.FS||0!==t.F2||0!==t.FF||(c=!0),t.D["skip-top"]=!0,t.D.border=e,ZC.CR.paint(n,t,t.E,!0,null,c),t.B7=s,t.B1=C,t.KO()}U1(e){e=e||"all";var t=this,n=t.Z;if("all"===e){var i=ZC.Q.F6("zcv:fill");if(""!==t.D8&&-1===ZC.AV(ZC.IMG404,t.D8)){var r=t.Q1(),a=r.image;switch(t.MD){default:i.type="tile",i.src=t.D8,ZC.Q.G5(i,{position:r.cx+","+r.cy,opacity:t.C5,"o:opacity2":t.C5}),t.D.imgfill=[i];break;case"no-repeat":case"false":case!1:t.D.imgfill=[a,r.x,r.y]}}t.TN("0.5,0.5")}var o=ZC.Q.F6("zcv:stroke");switch(o.weight=t.AT+"px",o.color=t.BV,o.opacity=t.C5,t.GD){case"solid":o.dashstyle="solid";break;case"dotted":o.dashstyle="dot";break;case"dashed":o.dashstyle="dash"}t.D.stroke=o,t.TX(e);var l=t.F5+t.FS+t.F2+t.FF!==0;t.D.cx=t.iX+t.I/2,t.D.cy=t.iY+t.F/2;var s=t.B7,C=t.B1;t.B7=t.BV,t.B1=t.AT,t.KO(),ZC.CR.setup(n,t),t.TG=l?"round":"square",t.EX+t.G9>0&&(t.TG="butt"),t.A0F=l?"round":"miter",t.D.border=e,ZC.CR.paint(n,t,t.E,"all"===e),t.B7=s,t.B1=C,t.KO()}}class R5 extends DU{constructor(e){super(e);var t=this;t.X1=null,t.BD=null,t.M=null,t.SZ=null,t.A8=null,t.KE=!1,t.OF=!1,t.L4=!1,t.A6S=!1}parse(){var e,t=this;t.BD=zingchart.pool.getInstance("box"===t.X1.type?"I0":"DU",t.A,t.K+"-shape",t.X1.tween),t.BD.append(t.X1),t.BD.iX=t.iX,t.BD.iY=t.iY,t.BD.K=t.K+"-gshape",t.BD.OF=t.OF,t.A6S||null===ZC._n_(e=t.BD.o.points)||(t.BD.o.points=ZC.AP.A56(e,t.A.iX,t.A.iY),t.A6S=!0),t.BD.parse(),null!==ZC._n_(e=t.BD.o.label)&&null!==ZC._n_(e.text)&&""!==e.text&&(typeof e.visible===ZC._[31]||ZC._b_(e.visible))&&(t.M=zingchart.pool.getInstance("DR",t,t.A.K+"-shape-label-"+t.H6,ZC.objmove),ZC.objmove||t.M.append(e)),null!==ZC._n_(e=t.BD.o["static"])&&(t.KE=ZC._b_(e)),null!==ZC._n_(e=t.BD.o.flat)&&(t.KE=ZC._b_(e)),null!==ZC._n_(e=t.BD.o.dynamic)&&(t.L4=ZC._b_(e)),null!==ZC._n_(e=t.BD.o.connector)&&(t.SZ=new DU(t),t.SZ.append(e),t.SZ.parse())}paint(){var e,t=this;if(t.BD.Z=t.Z,t.BD.C6=t.C6,t.BD.locate(2),t.BD.WW=!1,"box"===t.BD.o.type&&(t.iX-=t.BD.I/2,t.iY-=t.BD.F/2,t.BD.iX-=t.BD.I/2,t.BD.iY-=t.BD.F/2),t.BD.paint(),t.M){if(t.M.Z=t.M.C6=t.Z,t.M.IU=ZC.AK(t.A.A.K+"-text"),t.M.K=t.A.K+"-shape-label-"+t.H6,t.M.GN=t.A.K+"-shape-label zc-shape-label",t.M.o.anchor=t.M.o.anchor||"c",!t.X1["map-item"])switch(t.DP){default:t.M.x=t.iX,t.M.y=t.iY;break;case"line":case"poly":case"rect":case"rectangle":t.M.o.x=ZC._i_((t.BD.CZ[0]+t.BD.CZ[2])/2),t.M.o.y=ZC._i_((t.BD.CZ[1]+t.BD.CZ[3])/2)}if(ZC.objmove||t.M.parse(),t.M.iX=t.M.iX+t.BD.BJ,t.M.iY=t.M.iY+t.BD.BH,t.M.AM){if(t.SZ&&t.SZ.E.length>0){if(!ZC.AK(t.A.K+"-objects-front")){var n=t.A.A.I+"/"+t.A.A.F;ZC.Q.K4({cls:"zc-abs",wh:n,id:t.A.K+"-objects-front",p:ZC.AK(t.A.A.K+"-objects-front")},t.A.A.AC),ZC.Q.HH({cls:ZC._[24],id:t.A.K+"-objects-front-c",p:ZC.AK(t.A.K+"-objects-front"),wh:n},t.A.A.AC)}var i=t.SZ.E,r=t.SZ.o.anchor||"",a=i[i.length-1];switch(r){case"l":t.M.iX=a[0]+t.BD.BJ,t.M.iY=a[1]-t.M.F/2+t.BD.BH;break;case"r":t.M.iX=a[0]-t.M.I+t.BD.BJ,t.M.iY=a[1]-t.M.F/2+t.BD.BH;break;case"t":t.M.iX=a[0]-t.M.I/2+t.BD.BJ,t.M.iY=a[1]+t.BD.BH;break;case"b":t.M.iX=a[0]-t.M.I/2+t.BD.BJ,t.M.iY=a[1]-t.M.F+t.BD.BH;break;default:t.M.iX=a[0]-t.M.I/2+t.BD.BJ,t.M.iY=a[1]-t.M.F/2+t.BD.BH}e=ZC.Q.E8(ZC.AK(t.A.K+"-objects-front-c"),t.A.G.AC),ZC.CR.setup(e,t.SZ),ZC.CR.paint(e,t.SZ,i)}if(t.M.WW=!1,t.X1["map-item"]&&(t.M.GN=t.A.K+"-mapshape-label zc-mapshape-label",t.M.iXt.A.iX+t.A.I||t.M.iYt.A.iY+t.A.F))return;t.M.paint(),t.D["print-canvas"]?t.M.EB(ZC.AK(t.D["print-canvas"])):t.M.EB()}}}}class DR extends I0{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;t.IU=null,t.GN="",t.AR=null,t.OG="center",t.K3="middle",t.DH=zingchart.FONTSIZE,t.GF=zingchart.FONTFAMILY,t.C1="#000",t.A9O=!1,t.NA=!1,t.QZ=!1,t.KD="none",t.sFontWeight="normal",t.YW=0,t.FM=2,t.FN=2,t.FT=2,t.EO=2,t.A91=!1,t.A2S=!1,t.FJ=-1,t.KS=0,t.NW=0,t.OX=ZC.MAX,t.bRTL=!1,t.A22=!0,t.XE=zingchart.FASTWIDTH,t.A6R=1.65,t.VL=1,t.WR=!1,t.A8=null,t.VR=!1,t.A63=!1}getPMap(){var e=super.getPMap();return this.addPMap(e,"textAlign,verticalAlign,fontSize,fontFamily,color,bold,fontWeight,italic,underline,textDecoration,paddingTop,paddingRight,paddingBottom,paddingLeft,text","OG,K3,DH,GF,C1,A9O,sFontWeight,NA,QZ,KD,FM,FN,FT,EO,AR"),e}copy(e){super.copy(e);for(var t="OG,K3,DH,GF,C1,A9O,sFontWeight,NA,KD,QZ,FM,FN,FT,EO,AR".split(","),n=0,i=t.length;n]+)>)/gi,"").length*t.DH/(t.A6R*(t.isBold(t.sFontWeight)?.87:1)*(t.NA?.95:1));var n="";return typeof t.o["html-mode"]!==ZC._[31]&&ZC._b_(t.o["html-mode"])&&(n="[HTMLMODE]"),ZC.Q.A4S(this.G.K,n+e,this.GF,this.DH,this.sFontWeight,this.FJ)}parse(){this.I=this.F=this.NW=this.KS=0,super.parse();var e,t,n,i,r,a=this;if(!a.o.tween){if(a.YQ("text","AR"),null!==ZC._n_(a.AR)&&(a.AR=""+a.AR,a.AR=a.F0(a.AR),a.AR=a.AR.replace(/\n/g,"
").replace(/\\n/g,"
"),"svg"===a.G.AC&&(a.AR=a.AR.replace(/ /g," "))),a.assign_a([["overlap","A22","b"],["fast-width","XE","b"],["max-width","OX","i"],["line-height","FJ","i"],["width-ratio","A6R","f"],["wrap-text","A2S","b"],["clip-text","A91","b"],["bold","A9O","b"],["italic","NA","b"],["underline","QZ","b"],["text-decoration","KD"],["rtl","bRTL","b"],["text-align","OG"],["align","OG"],["vertical-align","K3"],["font-size","DH","f"],["max-chars","YW","i"],["font-family","GF"],["font-angle","AA","i"],["color","C1","c"],["font-color","C1","c"],["text-alpha","VL","f",0,1],["lock-rotation","VR","b"]]),a.DH=ZC.BQ(1,a.DH),null===ZC._n_(a.o["text-alpha"])&&(a.VL=a.C5),a.A9O&&(a.sFontWeight="bold"),null!==(e=ZC._n_(a.o["font-weight"]))&&(a.sFontWeight=e),null===ZC._n_(a.o["text-decoration"])&&(a.KD=a.QZ?"underline":"none"),null!==(e=ZC._n_(a.o["font-style"]))&&(a.NA="italic"===e||"oblique"===e),null!==(e=ZC._n_(a.o.padding))){var o=String(e).split(/\s+|;|,/);t=1===o.length?[ZC._i_(o[0]),ZC._i_(o[0]),ZC._i_(o[0]),ZC._i_(o[0])]:2===o.length?[ZC._i_(o[0]),ZC._i_(o[1]),ZC._i_(o[0]),ZC._i_(o[1])]:3===o.length?[ZC._i_(o[0]),ZC._i_(o[1]),ZC._i_(o[2]),ZC._i_(o[0])]:[ZC._i_(o[0]),ZC._i_(o[1]),ZC._i_(o[2]),ZC._i_(o[3])],a.FM=t[0],a.FN=t[1],a.FT=t[2],a.EO=t[3]}if(a.assign_a([["padding-top","FM","i"],["padding-right","FN","i"],["padding-bottom","FT","i"],["padding-left","EO","i"]]),a.AR){a.YW>0&&a.AR.length>a.YW&&(a.AR=a.AR.substring(0,a.YW)+"...");var l=a.AR.split(/
||
|\n/),s="";for(typeof a.o["html-mode"]!==ZC._[31]&&ZC._b_(a.o["html-mode"])&&(l=[a.AR],s="[HTMLMODE]"),l.length,a.KS=ZC.Q.A4S(this.G.K,s+a.AR,this.GF,this.DH,this.sFontWeight,this.FJ,!0)+a.FM+a.FT,n=0,i=l.length;na.I&&!a.D.wrapped&&a.I>2*a.DH){var C,c="",A=0,u=a.AR.replace(/
/gi," [##] ").split(/\s|
/),p=[];for(n=0,i=u.length;n.9*a.I){var h=Math.ceil(C/a.I*.9),Z=Math.ceil(u[n].length/h);for(r=0;r",A=0):(A+=C=1+a.cwidth(p[n]+" "))>.9*a.I?(n>0&&(c+="
"),c+=p[n]+" ",A=C):c+=p[n]+" ");c=(c=c.replace(/

/g,"
").replace(/

/g,"
")).replace(/(.+?)
$/g,"$1");var d=a.o.text;a.o.text=c,a.D.wrapped=!0,a.parse(),a.o.text=d,a.D.wrapped=!1}if("canvas"!==a.G.AC&&(a.AR=a.AR.replace(/</g,"<").replace(/>/g,">")),!(null!==ZC._n_(a.o[ZC._[19]])&&null!==ZC._n_(a.o[ZC._[20]])||null===ZC._n_(a.o.position)&&null===ZC._n_(a.o.margin)&&null===ZC._n_(a.o[ZC._[57]])&&null===ZC._n_(a.o[ZC._[58]])&&null===ZC._n_(a.o[ZC._[59]])&&null===ZC._n_(a.o[ZC._[60]]))){a.iX=-1,a.iY=-1;var f=a.o[ZC._[19]],_=a.o[ZC._[20]];null===ZC._n_(f)&&(a.o[ZC._[19]]=a.I),null===ZC._n_(_)&&(a.o[ZC._[20]]=a.F),a.locate(),a.o[ZC._[19]]=f,a.o[ZC._[20]]=_}if(typeof a.o["html-mode"]===ZC._[31]||!a.o["html-mode"]){var g=Math.ceil((a.NW-a.EO-a.FN)/a.DH);g>0&&(a.AR=a.AR.replace(/
/g,new Array(g).join("—")))}}a.setAnchor()}paint(){var e,t,n,i,r,a,o,l,s,C,c,A=this;if(!A.WR&&!A.A22){var u=!0;null!==ZC._n_(A.o.flexible)&&(u=ZC._b_(A.o.flexible));var p,h,Z={x:A.iX+A.EO-1,y:A.iY+A.FM-1,width:A.I-A.EO-A.FN+2,height:A.F-A.FM-A.FT+2,type:A.D.lbltype||""},d=[[0,0]];for(u&&(d=[[0,0],[0,2],[0,-4],[0,4],[0,-8],[3,0],[-6,0],[5,0],[-10,0]]),h=0;h||
|\n/)),g&&!v&&"svg"===f&&"0"===_&&(_="0html");var S=A.IU?A.IU:A.Z.parentNode;switch(f+_){case"canvas0":case"vml0":case"svg0html":if(i=1,!g)switch(A.K3){case"middle":i+=(A.F-A.KS)/2;break;case"bottom":i+=A.F-A.KS}if(o=ZC.Q.I5({id:A.K,cls:A.GN,tl:ZC._x_(A.iY+A.BH)+"/"+ZC._x_(A.iX+A.BJ),wh:A.I+"/"+A.F,position:"absolute",padding:0,margin:0,overflow:g?"visible":"hidden",textAlign:A.OG}),g&&(v||f+_!=="svg0html"||(S=ZC.AK(A.G.K+"-top")),S.appendChild(o)),ZC.Q.I5({id:A.K+"-t",cls:""!==A.GN?A.GN+"-t":"",p:o,width:A.I-A.EO-A.FN,height:g?null:A.KS-A.FM-A.FT,tl:i+"/0",html:A.AR+"",position:"absolute",whiteSpace:"nowrap",opacity:A.VL,color:A.C1,fontWeight:A.sFontWeight,fontStyle:A.NA?"oblique":"normal",textDecoration:A.KD,fontSize:A.DH,fontFamily:A.GF,marginTop:A.FM,marginRight:A.FN,marginBottom:A.FT,marginLeft:A.EO,verticalAlign:A.K3,textAlign:A.OG,lineHeight:-1===A.FJ?"125%":A.FJ+"px",rtl:A.bRTL,padding:0}),A.D["css-display"]&&(o.style.display=A.D["css-display"],A.D["css-display"]=null),v&&A.G&&A.G.A8&&!A.o[ZC._[19]]&&!A.o[ZC._[20]]){var z=ZC.A4("#"+A.K+"-t");"canvas"===f&&(ZC.AK(A.G.K+"-tooltip-c").width=z.width()+A.EO+A.FN,ZC.AK(A.G.K+"-tooltip-c").height=z.height()+A.FM+A.FT),A.G.A8.clear(),A.I=z.width()+A.EO+A.FN,A.F=z.height()+A.FM+A.FT,A.paint()}break;case"canvas":var Q=!1;if(ZC.A4.browser.opera&&A.AA%90==0&&0!==A.AA&&(A.AA+=.5,Q=!0),e=A.Z.getContext("2d"),zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache||(ZC.CanvasCache={})),!zingchart.DEV.CACHECANVASTEXT||zingchart.DEV.CACHECANVASTEXT&&!ZC.CanvasCache[A.K]){for(zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache[A.K]=document.createElement("canvas"),ZC.CanvasCache[A.K].width=A.NW,ZC.CanvasCache[A.K].height=A.KS),m=-1===A.FJ?0:ZC._x_(A.FJ-1.25*A.DH)/2,r=0,a=H.length;r/gi,"").replace(/<\/.+?>/gi,""),n=0,i=0,A.OG){case"center":n+=(A.I-t)/2;break;case"right":n+=A.I-t}switch(A.K3){case"middle":i+=(A.F-A.KS)/2;break;case"bottom":i+=A.F-A.KS}if(D=0,b!==B){for(;y=/<(.+?)>(.*?)<\/(.+?)>/.exec(b);){switch(K="",F="",(C=/(.+?)style=(.+?)(\'|")(.*?)/.exec(y[1]))&&(F=C[2].replace(/\'|"/g,"")),y[3]){case"b":case"strong":K="font-weight:bold";break;case"i":case"em":K="font-style:italic";break;case"u":K="text-decoration:underline"}I='[[span style="'+(""===K?"":K+";")+F+'"]]'+y[2]+"[[/span]]",b=b.replace(y[0],I)}for(X=!1,k=0,O=(y=(b=b.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(//g,"[[*]]")).split("[[*]]")).length;k(.+?)<\/(.+?)>/.exec(y[k]))for(E=c[2],R=0,T=(x=c[1].replace(/\'|"/g,"").split(/;|:/)).length;R||
/gi,"\n").replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");ZC.Q.G5(re,{on:!0,string:ae}),ZC.Q.PT(re,{color:l,fontWeight:A.sFontWeight,fontStyle:A.NA?"oblique":"normal",textDecoration:A.KD,fontSize:A.DH+"px",fontFamily:A.GF,"v-text-align":A.OG}),V.appendChild(re),e.appendChild(V);break;case"svg":case"svg0":var oe=A.iX+A.EO+A.BJ,le=A.iY+A.FM+A.BH;if(o=ZC.Q.F6("text",ZC._[36]),ZC.Q.G5(o,{x:ZC._x_(oe),y:ZC._x_(le),id:A.K,class:A.GN,opacity:A.VL}),A.D["css-display"]&&(o.style.display=A.D["css-display"],A.D["css-display"]=null),A.bRTL&&ZC.Q.G5(o,{"text-anchor":ZC.A4.browser.msie?"":"end","writing-mode":"rl",direction:"rtl","unicode-bidi":"bidi-override"}),A.A91&&(A.G.KH.appendChild(ZC.Q.XY({id:A.K+"-clip",path:[[A.iX+A.EO+A.AT+A.BJ,A.iY+A.FM+A.AT+A.BH].join(","),[A.iX+A.I-A.FN-A.AT+A.BJ,A.iY+A.FM+A.AT+A.BH].join(","),[A.iX+A.I-A.FN-A.AT+A.BJ,A.iY+A.F-A.FT-A.AT+A.BH].join(","),[A.iX+A.EO+A.AT+A.BJ,A.iY+A.F-A.FT-A.AT+A.BH].join(","),[A.iX+A.EO+A.AT+A.BJ,A.iY+A.FM+A.AT+A.BH].join(",")].join(" ")})),ZC.Q.G5(o,{"clip-path":"url(#"+A.K+"-clip)"})),A.AA%360!=0&&o.setAttribute("transform","rotate("+A.AA+" "+(oe+(A.I-A.EO-A.FN)/2)+" "+(le+(A.F-A.FM-A.FT)/2)+")"),g&&S.appendChild(o),g){ZC.Q.ET(A.K+"-float");var se=ZC.Q.F6("div");ZC.Q.PT(se,{position:"absolute",left:0,top:0,width:A.I-A.EO-A.FN+"px",height:A.F-A.FM-A.FT+"px",color:A.C1,fontSize:A.DH+"px",fontFamily:A.GF,fontWeight:A.sFontWeight,textDecoration:A.KD,textAlign:A.OG,fontStyle:A.NA?"italic":"normal"}),se.id=A.K+"-float",se.className="zc-style zc-html-mode",se.innerHTML=H[0],1===A.o["z-index"]?ZC.AK(A.G.K+"-top").append(se):ZC.AK(A.G.K+"-top").insertBefore(se,ZC.AK(A.G.K+"-img")),v&&A.G&&A.G.A8&&(A.o[ZC._[19]]||A.o[ZC._[20]]||(A.G.A8.clear(),se.style.width="",se.style.height="",A.I=ZC.A4(se).width()+A.EO+A.FN,A.F=ZC.A4(se).height()+A.FM+A.FT,A.paint()))}else for(m=-1===A.FJ?0:ZC._x_(A.FJ-1.25*A.DH)/2,r=0,a=H.length;r/gi,"").replace(/<\/.+?>/gi,""),n=0,i=A.DH,A.OG){case"center":n=(A.I-t)/2;break;case"right":n=A.I-t}switch(A.K3){case"middle":i+=(A.F-A.KS)/2;break;case"bottom":i+=A.F-A.KS}if(D=0,b!==B){for(;y=/<(.+?)>(.*?)<\/(.+?)>/.exec(b);){switch(K="",F="",(C=/(.+?)style=(.+?)(\'|")(.*?)/.exec(y[1]))&&(F=C[2].replace(/\'|"/g,"")),y[3]){case"b":case"strong":K="font-weight:bold";break;case"i":case"em":K="font-style:italic";break;case"u":K="text-decoration:underline"}I='[[span style="'+(""===K?"":K+";")+F+'"]]'+y[2]+"[[/span]]",b=b.replace(y[0],I)}for(X=!1,k=0,O=(y=(b=b.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(//g,"[[*]]")).split("[[*]]")).length;k(.+?)<\/(.+?)>/.exec(y[k]))for(E=c[2],R=0,T=(x=c[1].replace(/\'|"/g,"").split(/;|:/)).length;R")?Ce.innerText=E:Ce.innerHTML=E,E=Ce.innerText||Ce.textContent,Ce=null,s.textContent=E,o.appendChild(s),X=Y,D++}}else A.bRTL&&ZC.A4.browser.msie&&(n+=t-A.EO-A.FN),s=ZC.Q.F6("tspan",ZC._[36]),ZC.Q.G5(s,{x:ZC._x_(oe+n),y:ZC._x_(le+i),color:A.C1,fill:A.C1,dy:ZC._x_(m)}),ZC.Q.PT(s,{fontWeight:A.sFontWeight,fontStyle:A.NA?"oblique":"normal",textDecoration:A.KD,fontSize:A.DH+"px",fontFamily:A.GF,dominantBaseline:"auto"}),s.textContent=B,o.appendChild(s),m+=-1===A.FJ?1.25*A.DH:A.FJ}}g||!A.WR&&o&&S&&(A.G.G1?(-1!==ZC.Q.TE(S).indexOf("zc-text")&&null===ZC._n_(A.G.G1[S.id])&&(A.G.G1[S.id]=document.createDocumentFragment()),A.G.G1[S.id]?A.G.G1[S.id].appendChild(o):S.appendChild(o)):S.appendChild(o))}}paintCANVASText(e){var t,n=this,i=e.idx,r=e.ctx,a=e.i,o=e.fw,l=e.fs,s=e.ff,C=e.c,c=e.dx,A=e.dy,u=e.t;if(r.save(),r.globalAlpha=n.VL,t=(a?"italic":"normal")+" normal "+o+" "+l+"px "+s,r.font=t,r.fillStyle=C,r.textAlign="left",r.textBaseline="alphabetic",r.translate(n.iX+n.BJ,n.iY+n.BH),0!==n.AA&&(r.translate(n.I/2,n.F/2),r.rotate(ZC.TA(n.AA)),r.translate(-n.I/2,-n.F/2)),r.translate(n.EO,n.FM+l),r.translate(c,A),r.fillText(u,0,0),zingchart.DEV.CACHECANVASTEXT){var p=ZC.CanvasCache[n.K].getContext("2d");p.font=t,p.fillStyle=C,p.textAlign="left",p.textBaseline="alphabetic",p.fillText(u,n.EO,n.FM+l+1.25*i*l)}r.restore()}EB(e){var t=this;if(ZC.canvas&&"canvas"===t.G.AC&&(e||(e=ZC.AK(t.G.K+"-textprint-c")),!zingchart.CANVASTEXT&&t.AA%360==0)){var n=t.Z;t.Z=e,t.WR=!0;var i=t.G.AC;t.G.AC="canvas",t.paint(),t.WR=!1,t.G.AC=i,t.Z=n}}}class RW extends I0{constructor(e){super(e);var t=this;t.CH="json",t.O9={graphset:!0,graph:!0,"objects-bottom":!0,"objects-top":!0,maps:!0,plotarea:!0,plots:!0,guide:!0,static:!0,"value-box":!0},t.A1O=!1,t.A1N="en_us",t.R2=null,t.JO="",t.UT=!1,t.S9={},t.N8="",t.ADJ={},t.R4="",t.EV="",t.MG={},t.HV=null,t.AH=[],t.LS="",t.A8=null,t.HE=null,t.D4=null,t.B8=new ZC.ABB(t),t.R6="",t.MW=null,t.O1=[null,null,null,null],t.OF=!1,t.NO="x",t.KE=!1,t.TZ=!1,t.ABY=!1,t.A4I=!1,t.GP=!1,t.AAO={},t.OA=null,t.R8={},t.M1=!1,t.QY=!1,t.AD5=null,t.T0=[],t.N={},t.N4=null,t.DE=null,t.V9=0,t.A2Q=0,t.A5O=1,t.MN=null,t.SL="",t.AB7="F*nStrlng4Cu$tOmLlc9nc9!",t.MI="",t.A1Q={},t.A0S=!1,t.AC="",t.KH=null,t.A09=!1,t.R3=["",""],t.LE=0,t.KX=[],t.A8C=0,t.A8E=0,t.AA5=!1,t.A2E="",t.A7D=!0,t.IE=null,t.QV=[],t.O3=0,t.AB5=!1,t.SP={},t.A28=!1,t.G1=zingchart.DEV.DOMFRAGMENTS?{}:null,t.A37=!1,t.T1=[]}clearLabelBoxes(e){var t=this;if(e)for(var n=t.T1.length-1;n>=0;n--)t.T1[n].type===e&&t.T1.splice(n,1);else t.T1=[]}usc(){return-1!==ZC.AV(this.KX,ZC._[44])}mc(e){return e=e||"",ZC.AK(this.K+"-main-c"+(""===e?e:"-"+e))}hideCM(){var e;(e=ZC.AK(this.K+"-menu"))&&(e.style.display="none"),this.AA5=!1}XX(){for(var e=this,t=e.O1.length,n=0;n1?H[e.L]:H[0];t.id||(t.id=e.o.id||""),s.o[ZC._[16]][e.L]=t,s.PO((function(){s.parse(JN),s.AH[e.L].paint()}))}}}))}))}VT(DJ){var s=this,H,i,A7,j,JE;for(null===ZC._n_(DJ[ZC._[16]])&&(DJ={graphset:[DJ]}),1===DJ[ZC._[16]].length&&null===ZC._n_(DJ[ZC._[16]][0])&&(DJ[ZC._[16]]=[{type:"null"}]),i=0,A7=DJ[ZC._[16]].length;i=0;r--)for(o=0;o0){for(var E=0,y=0,K=ZC._i_((u-(m+1)*l.A8C)/m),F=ZC._i_((p-(v+1)*l.A8E)/v),x=["x","y",ZC._[19],ZC._[20]],I=0;I=J8.length){for(var e in window.clearInterval(C3),s.AAB(s.o),LQ)if(0!==e.indexOf("data:")&&-1===ZC.AV(s.D["safe-images"],e))try{var t=document.createElement("canvas");t.width=LQ[e].width,t.height=LQ[e].height,t.getContext("2d").drawImage(LQ[e],0,0);var n=t.toDataURL("image/png");LQ[e].onload=null,LQ[e].onerror=null,LQ[e].src=n,ZC.cache.data[e]=LQ[e]}catch(i){}window.setTimeout((function(){zingchart.YI[s.K]&&JF()}),1)}else A3B(++A1U)}),20);A3B(A1U)}else zingchart.YI[s.K]&&JF()}else zingchart.YI[s.K]&&JF();function A3B(i){if(!(i>=J8.length)){var EV,MM,KJ=J8[i][0],A0V=J8[i][1];if("url:"===KJ.substring(0,4)){var R4=KJ.substring(4);s.R8["url:"+R4]="[]";try{EV=["query-string"===s.N8?"zcrandom="+Math.random():""].join("&"),ZC.A4.ajax({type:"GET",url:R4,beforeSend:function(e){s.S9.data||"http-headers"!==s.N8||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EV,error:function(e,t,n,i){return s.NI({name:ZC._[63],message:"Resource not found ("+i+")"},ZC._[64]),!1},success:function(e,t,n,i){s.R8["url:"+i]=e,V9++}})}catch(JH){return s.NI(JH,ZC._[64]),!1}}else if("javascript:"===KJ.substring(0,11))if("zc.ext.load"===s.R8[KJ]){s.R8[KJ]="[]";var DZ=ZC.AP.AAR(KJ.substring(11)),O={id:s.K,resource:KJ,callback:function(e){s.R8[KJ]=e,V9++}},A0J=DZ[0];O.arguments=DZ[1];try{var A3D=eval(A0J).call(s,O);null!==ZC._n_(A3D)&&A3D&&(s.R8[KJ]=A3D,V9++)}catch(JH){return s.NI(JH,"JavaScript data loader"),!1}}else V9++;else"image"===A0V?(LQ[KJ]=new Image,LQ[KJ].crossOrigin="anonymous",LQ[KJ].onload=function(){V9++},LQ[KJ].onerror=function(){var e=ZC._b_(s.o.strict);if(ZC.IMG404.push(KJ),e)return s.NI({name:ZC._[63],message:"Resource not found ("+this.src+")"},"Resource loader (image)"),!1;this.src=ZC.BLANK,V9++},LQ[KJ].src=KJ,ZC.cache.data[KJ]=LQ[KJ]):"css"===A0V?(EV=["query-string"===s.N8?"zcrandom="+Math.random():""].join("&"),ZC.A4.ajax({type:"GET",url:KJ,beforeSend:function(e){s.S9.css||"http-headers"!==s.N8||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EV,error:function(e,t,n){return s.NI(n,"Resource loader"),!1},success:function(e){for(var t={},n=e.match(/[a-zA-Z0-9\.\#\-](.+?)\{((.|\s)+?)\}/gi),i=0,r=n.length;idiv").width(a.I).height(a.F)}for("canvas"===a.AC&&((t=ZC.AK(a.K+"-main-c"))&&(t.width=a.I,t.height=a.F),(t=ZC.AK(a.K+"-main-c-top"))&&(t.width=a.I,t.height=a.F),ZC.A4("#"+a.K+"-objects-bottom canvas, #"+a.K+"-objects-top canvas, #"+a.K+"-tools canvas").each((function(){this.width=a.I,this.height=a.F}))),"vml"===a.AC&&ZC.A4("#"+a.K+"-objects-bottom div, #"+a.K+"-objects-top div, #"+a.K+"-tools div").each((function(){this.style.width=a.I+"px",this.style.height=a.F+"px"})),a.parse(),n=0,i=a.AH.length;n100&&(new Date).getTime()-ZC.swipe.ts<1e3){var i=e.FG();i.direction=n[0]>ZC.swipe.xy[0]?"right":"left",ZC.AP.C0("swipe",e,i)}ZC.swipe=null}e.AA5||ZC.move||zingchart.SM(t),e.P3(t)},ZC.A4("#"+e.K+"-img").bind("touchstart",e.AEZ).bind("touchmove",e.P3).bind("touchend",e.AEO),ZC.A4("#"+e.K+"-menu-area").live("touchstart",e.AEZ)),e.zc_loader_mousewheel=function(t){var n=e.FG();n.ev=t,ZC.AP.C0("mousewheel",e,n)},ZC.A4("#"+e.K+"-img").bind("mousewheel",e.zc_loader_mousewheel),ZC.A4("#"+e.K+"-map").bind("mousewheel",e.zc_loader_mousewheel),e.A2U=function(t){27===t.keyCode&&e.QY&&(e.A8U||e.A9P())},ZC.A4(document).bind("keyup",e.A2U),e.A9P=function(){ZC.A4("#"+e.K+ZC._[66]).die("click",e.A9P),ZC.FSSTATUS=null,ZC.Q.ET(e.K+"-data-table"),e.destroy(),zingchart.FSID&&ZC.AK(zingchart.FSID)&&(ZC.AK(zingchart.FSID).style.display="none")},ZC.A4("#"+e.K+ZC._[66]).live("click",e.A9P)):ZC.mobile&&(e.zc_loader_touchstart_static=function(e){return e.preventDefault(),zingchart.SM(e),!1},ZC.A4("#"+e.K+"-img").bind("touchstart",e.zc_loader_touchstart_static)),null!==e.HV){var h=ZC._i_(e.HV.interval);h=h>=50?h:1e3*h,window.setTimeout((function(){e.MQ(),e.load()}),h)}e.MI="",ZC.TS[e.K]=(new Date).getTime()-ZC.TS[e.K],e.D["fire-complete"]&&(ZC.AP.C0("complete",e,e.FG()),e.D["fire-complete"]=null),e.D["fire-load"]&&(ZC.AP.C0("load",e,e.FG()),e.D["fire-load"]=null)}togglePreviewMasks(e){for(var t=this,n=0;nPowered by ZingChart',a){case"br":Z=t.F-l,d=t.I-s;break;case"bl":Z=t.F-l,d=6;break;case"tr":Z=2,d=t.I-s;break;case"tl":Z=2,d=6}null!==ZC._n_(e=ZC.AK(t.K+"-top"))&&ZC.Q.I5({cls:ZC.ie67?"-ie67":"",p:e,id:t.K+"-license-text",tl:Z+"/"+d,wh:s+"/"+(l-C),color:ZC.ie67?1===r?"#369":"#fff":"",padding:C,opacity:c,position:"absolute",cursor:"pointer",fontFamily:zingchart.FONTFAMILY,html:o},t.AC)}_unbind_(){var e=this;ZC.A4("#"+e.K+"-menu").die(ZC._[47],e.TW),ZC.A4("."+e.K+"-menu-item").die(ZC._[47],e.TW),ZC.A4("."+e.K+"-menu-item").die("click touchend",e.AGC).die("mouseover",e.AG0).die("mouseout",e.AG5),e.D["menu-item-events"]=!1,null!==e.HE&&e.HE.unbind(),null!==e.D4&&e.D4.unbind(),ZC.mobile&&(ZC.A4("#"+e.K+"-img").unbind("touchstart",e.AEZ).unbind("touchmove",e.P3).unbind("touchend",e.AEO),ZC.A4("#"+e.K+"-menu-area").die("touchstart",e.AEZ),ZC.A4("#"+e.K+"-img").unbind("touchstart",e.zc_loader_touchstart_static)),ZC.A4("#"+e.K+"-img").unbind("mousewheel",e.zc_loader_mousewheel),ZC.A4("#"+e.K+"-map").unbind("mousewheel",e.zc_loader_mousewheel),ZC.A4(document).unbind("keyup",e.A2U),ZC.A4("#"+e.K+ZC._[66]).die("click",e.A9P)}UF(e,t,n){typeof n===ZC._[31]&&(n=!1);var i=ZC.AK("zc-menu-"+(n?"sep":"item")+"-"+e);i&&(i.style.display=t?"block":"none")}A16(LN,ev){if(!zingchart.DEV.SKIPCONTEXTMENU){var s=this,H,i,A7,j,JE;typeof LN===ZC._[31]&&(LN=-1);var DE={};ZC._cp_(s.DE,DE),-1!==LN&&s.o[ZC._[16]][LN]&&ZC._cp_(s.o[ZC._[16]][LN].gui,DE,null,null,!0),ZC.A4("#"+s.K+"-menu").remove();var S3=[];for(typeof ZC.AN===ZC._[31]&&S3.push({id:"3D",enabled:"none"},{id:"SwitchTo3D",enabled:"none"},{id:"SwitchTo2D",enabled:"none"}),i=DE.behaviors.length-1;i>0;i--)for(var sBId=DE.behaviors[i].id,ii=i-1;ii>=0;ii--)DE.behaviors[ii].id===sBId&&DE.behaviors.splice(ii,1);if(null!==ZC._n_(H=DE.behaviors))for(i=0,A7=H.length;iZC._i_(t.order||"0")})),s.N4=new DR(s);var A1L=s.LS.split(/\s+|;|,/),E0,LM,UN,ABN,GU;for(i=0,A7=A1L.length;i'}}}E0=new DR(s),s.B8.load(E0.o,ZC._[65]+".item"),JM&&null!==ZC._n_(H=JM.item)&&E0.append(H),ZC.mobile&&(s.B8.load(E0.o,ZC._[65]+"[mobile].item"),OQ&&null!==ZC._n_(H=OQ.item)&&E0.append(H)),E0.XE=!0,E0.parse(),LM=new DR(s),LM.copy(E0),s.B8.load(LM.o,ZC._[65]+".item.hover-state"),JM&&null!==ZC._n_(JM.item)&&null!==ZC._n_(H=JM.item[ZC._[71]])&&LM.append(H),ZC.mobile&&(s.B8.load(LM.o,ZC._[65]+"[mobile].item.hover-state"),OQ&&null!==ZC._n_(OQ.item)&&null!==ZC._n_(H=OQ.item[ZC._[71]])&&LM.append(H)),LM.XE=!0,LM.parse(),UN={},JM&&null!==ZC._n_(JM.separator)&&(UN=JM.separator);var JX=[],EK=null;if(ABN=null!==ZC._n_(s.N4.o.empty)&&ZC._b_(s.N4.o.empty),ZC.mobile&&(EK=G4("PageScroll"),"none"!==EK.enabled&&(null===s.DE||null===ZC._n_(s.DE["page-scroll"])||s.DE["page-scroll"]?JX.push(GW("disablepagescroll",EK.text)):JX.push(GW("enablepagescroll",EK.text)),JX.push(JD("pagescroll")))),EK=G4("Reload"),"none"!==EK.enabled&&(JX.push(GW("reload",EK.text)),JX.push(JD("reload"))),typeof ZC.A8W!==ZC._[31]){EK=G4("SaveAsImage"),"none"!==EK.enabled&&(EK=G4("SaveAsImagePNG"),"none"!==EK.enabled&&JX.push(GW("viewaspng",EK.text?EK.text:null)),EK=G4("SaveAsImageJPG"),"none"!==EK.enabled&&JX.push(GW("viewasjpg",EK.text?EK.text:null)),JX.push(JD("export")));var TQ=["DownloadPDF","DownloadSVG","DownloadCSV","DownloadXLS","ViewDataTable","ExportData","Print"],A6O=0,A2N=0;for(i=0;i0&&JX.push(JD(TQ[A2N].toLowerCase()))}if(-1!==LN){var GP=!1;for(j=0,JE=s.AH[LN].BN.length;j0&&JX.push(JD("tools")),EK=G4("FullScreen"),"none"===EK.enabled||s.M1||(s.QY?(EK=G4("ExitFullScreen"),JX.push(GW("exitfullscreen",EK.text)),JX.push(JD("exitfullscreen"))):(JX.push(GW("fullscreen",EK.text)),JX.push(JD("fullscreen")))),s.IE&&(EK=G4("GoBack"),"none"!==EK.enabled&&JX.push(GW("goback",EK.text)),EK=G4("GoForward"),"none"!==EK.enabled&&JX.push(GW("goforward",EK.text)),JX.push(JD("history"))),JX.length>0&&-1!==JX[JX.length-1].indexOf("zc-menu-sep")&&JX.splice(JX.length-1,1),s.A2A={},-1!==LN&&JM&&null!==ZC._n_(B6=JM["custom-items"]))for(JX.length>0&&JX.push(JD("custom")),i=0,A7=B6.length;i '}function GW(e,t,n){t=t||ZC.HN["menu-"+e];var i=typeof n!==ZC._[31]&&n?" zc-custom-menu-item "+s.K+"-custom-menu-item":"";return'
'+t+"
"}function A38(e,t,n){var i=typeof n!==ZC._[31]&&n?" zc-custom-menu-header "+s.K+"-custom-menu-header":"";return'
'+t+"
"}function G4(e){if(ABN)return{enabled:"none"};for(var t=0,n=S3.length;t60?(C=60,p=ZC.HN["progress-wait-short"]):l<60&&(C=20,p=ZC.HN["progress-wait-mini"]),p=i.D.customprogresstext||p;var Z=ZC.Q.I5({id:i.K+"-progress",p:document.body,tl:o+"/"+a,width:l-2*A.AT,height:s-2*A.AT,position:"absolute",opacity:.8,border:A.AT+"px solid "+A.BV,background:u});ZC.Q.I5({id:i.K+"-progress-text",p:Z,width:C,html:p,textAlign:"center",marginLeft:ZC._i_((l-C)/2),marginTop:ZC._i_(s/2+c),fontFamily:zingchart.FONTFAMILY,fontSize:zingchart.FONTSIZE,color:A.C1,fontWeight:"bold"})}}}Y8(){var e=this;ZC.Q.ET(e.K+"-dummy"),e.D.hideprogresslogo||(e.A09=!1,ZC.Q.ET([e.K+"-progress-text",e.K+"-progress"]))}A0G(e,t){var n,i,r=this;n=null!==ZC._n_(i=e[ZC._[16]])?i:[e];var a=e.layout||"",o=ZC.AO.A2V(a,n.length),l=n[t],s=r.I/o[1],C=r.F/o[0],c=Math.floor(t/o[1]),A=t%o[1]*s,u=c*C;l&&(null!==ZC._n_(i=l.x)&&(A=ZC._p_(i))<=1&&(A=ZC._i_(A*r.I)),null!==ZC._n_(i=l.y)&&(u=ZC._p_(i))<=1&&(u=ZC._i_(u*r.F)),null!==ZC._n_(i=l[ZC._[19]])&&(s=ZC._p_(i))<=1&&(s=ZC._i_(s*r.I)),null!==ZC._n_(i=l[ZC._[20]])&&(C=ZC._p_(i))<=1&&(C=ZC._i_(C*r.F)));var p=[0,0,0,0];return l.plotarea&&null!==ZC._n_(l.plotarea.margin)&&(p=new I0(null).m_(l.plotarea.margin,"all",s,C)),{graph:{x:ZC._i_(A),y:ZC._i_(u),width:ZC._i_(s),height:ZC._i_(C),index:t},plotarea:{x:p[3],y:p[0],width:s-p[1]-p[3],height:C-p[0]-p[2]}}}JW(){var e=this;null===ZC._n_(e.o[ZC._[16]])&&(e.o={graphset:[e.o]}),e.MQ(),zingchart.A29(e,e.A25(),(function(){e.o=ZC.AP.C0("dataparse",e,e.FG(),e.o),zingchart.YI[e.K]&&e.PO((function(){e.parse(),e.paint()}))}))}render(){var e=this;!function(){function t(){""!==e.R6||null!==e.MW?e.A4R():e.load()}e.UT||e.A4U(),e.MQ(null,!0),zingchart.TIMEOUT>0?ZC.ZW(t):t()}()}W7(e){var t=this;null===ZC._n_(t.A3X)&&(t.A3X=(new Date).getTime(),t.ABF=window.setTimeout((function(){null!==ZC._n_(t.A3X)&&(t.A3X=null,zingchart.Z6(e))}),1500))}FG(){var e,t=this,n=0,i=0;return n=typeof t.T0[0]!==ZC._[31]?t.T0[0]-n:0,i=typeof t.T0[1]!==ZC._[31]?t.T0[1]-i:0,e=t.LS?t.LS:"light",{id:t.K,width:t.I,height:t.F,output:t.AC,x:n,y:i,targetid:t.T0[2],theme:e}}A81(e){e=e||{},null!==ZC._n_(e.resource)&&(this.R8[e.resource]=e.data||"[]",this.V9++)}A4T(){}A3T(){}A3H(){}PH(){}A57(e,t){var n=this;if(e=e||{},null!==ZC._n_(e[ZC._[3]])){var i=n.OI(e[ZC._[3]]);null!==i&&i.clear()}else n.clear(null,null,t);KB&&KB.GUIDES&&(KB.GUIDES[n.K]=null)}A3P(e){e=e||ZC.HN["sync-wait"];var t=this;if(null===ZC.AK(t.K+"-blocker")){ZC.Q.I5({cls:"zc-abs zc-style zc-blocker",id:t.K+"-blocker",p:ZC.AK(t.K+"-top"),wh:t.I+"/"+t.F,opacity:.75}),ZC.Q.I5({cls:"zc-blocker-msg",id:t.K+"-blocker-t",p:ZC.AK(t.K+"-blocker"),html:e});var n=ZC.A4("#"+t.K+"-blocker-t");n.css("top",t.F/2-n.height()/2+"px").css("left",t.I/2-n.width()/2+"px")}}A0T(){ZC.Q.ET(this.K+"-blocker")}A5V(){var e=this;ZC.AP.C0("about_show",e,e.FG()),ZC.Q.I5({cls:"zc-abs",id:e.K+"-about-mask",p:ZC.AK(e.K+"-top"),wh:e.I+"/"+e.F,background:"#ccc",opacity:.75});var t=ZC.CX(320,e.I),n=ZC.CX(215,e.F),i=ZC.BQ(0,(e.I-t)/2),r=ZC.BQ(0,(e.F-n)/2),a=ZC.Q.I5({cls:"zc-about zc-style",id:e.K+"-about",p:ZC.AK(e.K+"-top"),tl:r+"/"+i,wh:t-(ZC.quirks?0:10)+"/"+(n-(ZC.quirks?0:10))}),o="";""!==e.SL&&(o="Custom Built for
"+e.SL),a.innerHTML='
©2009-'+(new Date).getFullYear()+'
'+ZC.HN["about-close"]+'
 
Build '+ZC.VERSION+" ["+e.AC+"]
"+o+"
",ZC.A4("#"+e.K+"-about-close").bind("click",(function(){ZC.AP.C0("about_hide",e,e.FG()),ZC.Q.ET([e.K+"-about",e.K+"-about-mask"])}))}NI(e,t){var n=this;if(ZC.AP.A8J("error",n))ZC.AP.C0("error",n,{id:n.K,error:e,section:t,json:n.D.json||n.D.rawsource});else{var i="";i+="object"==typeof e?e.name+":"+e.message+"\n\n":e+"\n\n",null!==ZC._n_(t)&&(i+="Section:"+t+"\n\n"),i+="JSON data:\n\n"+n.D.json+"\n\n",n.Y8(),null===ZC.AK(n.K+"-top")&&n.A7Q(),ZC.Q.I5({cls:"zc-abs zc-error zc-style",id:n.K+"-error",p:ZC.AK(n.K+"-top"),wh:n.I-(ZC.quirks?0:10)+"/"+(n.F-(ZC.quirks?0:10))}).innerHTML='
'+ZC.HN["error-header"]+'
'+ZC.HN["error-message"]+'
',ZC.A4("#"+n.K+"-error-message").val(ZC.GX(i)),ZC.A4("#"+n.K+"-error-close").bind("click",(function(){ZC.Q.ET(n.K+"-error")}))}}A19(){}A2C(){}A17(){var e=this,t=document.createElement("div");t.id="zc-fullscreen",t.style.zIndex=zingchart.FSZINDEX,t.style.overflow="hidden";var n,i,r=document.body,a=!1;for(zingchart.FSID&&ZC.AK(zingchart.FSID)&&(a=!0,(r=ZC.AK(zingchart.FSID)).style.display="block"),r.appendChild(t),ZC.FSSTATUS={},n=0,i=e.AH.length;n=0;n--)if(A[n].generated)A.splice(n,1);else{if(null!==ZC._n_(A[n].shapes))for(C=A[n].shapes.length-1;C>=0;C--)A[n].shapes[C].generated&&A[n].shapes.splice(C,1);if(null!==ZC._n_(A[n][ZC._[10]]))for(C=A[n][ZC._[10]].length-1;C>=0;C--)A[n][ZC._[10]][C].generated&&A[n][ZC._[10]].splice(C,1)}a||window.scroll(0,0),zingchart.render({id:"zc-fullscreen",output:e.AC,width:ZC.A4(a?r:window).width(),height:ZC.A4(a?r:window).height(),fullscreenmode:!0,theme:e.LS,modules:e.A2E,data:c,defaults:e.MW,defaultsurl:e.R6})}W3(e,t){var n,i,r,a=this,o=0,l=!1;for(n=0,i=a.AH.length;n0?t.AH[0]:null}bind(e,t){zingchart.bind(this.K,e,t)}unbind(e,t){zingchart.unbind(this.K,e,t)}exec(e,t){return zingchart.exec(this.K,e,t)}gc(){for(var e=0,t=this.AH.length;e1?(h=Math.round(h),Z=Math.round(Z)):(h=Math.floor(h),Z=Math.ceil(Z))),(h=ZC.BQ(u.FW,h))<(Z=ZC.CX(u.H1,Z))&&(e["ymin"+l]=h,e["ymax"+l]=Z)}}s.PH(e)}},RW.prototype.A3H=function(e){var t,n,i,r,a,o=this;for(e=e||{},n=null!==ZC._n_(e[ZC._[3]])?o.OI(e[ZC._[3]]):o.AH[0],e.action="https://github.com/viewall",i=0,r=n.BT("k").length;i/g,""),w:r.I,h:r.F,t:e,fn:o};if(ZC._cp_(t,A),zingchart.AJAXEXPORT&&"pdf"!==e&&"svg"!==e&&!a){var u="base64=1&";for(C in A)u+=C+"="+encodeURIComponent(A[C])+"&";ZC.A4.ajax({type:"post",url:zingchart.EXPORTURL,data:u,success:function(t,a,o){if(r.A0T(),n)i&&i(t,a,o);else{var s=document.createElement("img");s.src=t,s.id=r.K+"-print-"+e,l.appendChild(s)}}})}else{ZC.AK(r.K+"-export")&&ZC.Q.ET(r.K+"-export");var p=ZC.Q.I5({cls:"zc-abs zc-style",id:r.K+"-export",p:ZC.AK(r.K+"-top"),display:"none"}),h=(s=null!==ZC._n_(A.uid)&&null!==ZC._n_(A.page)?ZC.Q.ABT(ZC.AK(r.K+"-export")):document).createElement("FORM");for(C in h.action=zingchart.EXPORTURL,h.method="post",h.enctype="multipart/form-data",null!==ZC._n_(A.uid)&&null!==ZC._n_(A.page)?s.body.appendChild(h):p.appendChild(h),h.style.display="none",A){var Z=s.createElement("INPUT");Z.type="hidden",Z.name=C,Z.value=A[C],h.appendChild(Z)}h.submit(),h=null,null!==ZC._n_(A.uid)&&null!==ZC._n_(A.page)&&window.setTimeout((function(){ZC.A4("#"+r.K+"-export").remove()}),6e4),window.setTimeout((function(){r.A0T()}),1e3)}}},RW.prototype.W2=function(e){var t=this;e=e||"png";var n,i,r=[],a=document.createElement("canvas");for(a.width=t.I,a.height=t.F,n=0,i=t.AH.length;n',"","\x3c!--[if gte mso 9]>ZingCharttd{border:none;font-family:Calibri,sans-serif} .number{mso-number-format:"0.00";} .text{mso-number-format:"@";}',"","","",""),n=0,i=e.AH.length;n"),_.J5&&""!==_.J5.AR&&(f.push([_.J5.AR]),Z.push(""+_.J5.AR+"")),Z.push(""),Z.push("")),u=[],h=[];var B="Category",D=!1;for(b&&(b.FH&&"date"===b.FH.o.type&&(B="Date",D=!0),b.M&&b.M.AR&&(B=b.M.AR.replace(/\"|\'/g,""))),"csv"===t?u.push('"'+B+'"'):"raw"===t?h.push(B):"html"!==t&&"xls"!==t||u.push(""+B+""),r=0,a=g.length;r"+p+""),m.push(""));if("csv"===t?Z.push(u.join(",")):"raw"===t?f.push(h):"html"!==t&&"xls"!==t||Z.push(u.join("")),"html"!==t&&"xls"!==t||(Z.push(""),Z.push(""),Z.push("")),b){for(s=0,C=b.X.length;s"),"pie"!==_.AF&&"pie3d"!==_.AF&&"nestedpie"!==_.AF||b.X[y[c][0]]&&(y[c][0]=b.X[y[c][0]]),b.BY[y[c][0]]&&(y[c][0]=b.BY[y[c][0]]),b.X[y[c][0]]&&(y[c][0]=b.X[y[c][0]]),(K=_.A.FG()).row=c,K.col=0,K[ZC._[9]]=y[c][0],y[c][0]=ZC.AP.C0("dataexport",_.A,K,y[c][0],null),ZC._n_(y[c][1]))for(var F=0;F"+[].concat(y[c][0]).concat(y[c][1]).join("")+""),"html"!==t&&"xls"!==t||Z.push("")}}"html"!==t&&"xls"!==t||(Z.push(""),Z.push("")),i>1&&n 

"))}return"xls"===t&&Z.push("",""),"raw"===t?f:("csv"===t?d=Z.join("\n"):"html"!==t&&"xls"!==t||(d=Z.join("")),d)},zingchart.ABP=function(e,t,n){var i,r,a,o,l,s="",C="";function c(e){ZC.A4.ajax({type:"post",url:r,data:e,success:function(e,t,n){a&&a(e,t,n)}})}document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(n=n||{})&&(n=JSON.parse(n));var A=zingchart.getLoader(e);if(A)switch(t){case"getimagedata":if(o="png",null!==ZC._n_(i=n.format)&&(o=i),null!==ZC._n_(i=n.filetype)&&(o=i),"jpg"===o&&(o="jpeg"),zingchart.DEV.LOCALSVGEXPORT&&"svg"===A.AC&&("png"===o||"jpeg"===o)){A.togglePreviewMasks(!0);var u=ZC.AK(A.K+"-svg").parentNode.innerHTML,p=u.indexOf(">"),h=u.indexOf("");u=(u='[CSS]'+u.substring(p+1,h+6)).replace(//g,"");var Z=function(){var e,t=window.URL||window.webkitURL||window;e=t.createObjectURL&&window.Blob?t.createObjectURL(new window.Blob([u],{type:"image/svg+xml;charset-utf-16"})):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(u),A.togglePreviewMasks(!1);var i=new window.Image;i.crossOrigin="anonymous",i.src=e,i.onload=function(){var t=document.createElement("canvas"),r=t.getContext("2d");if(t.width=i.width,t.height=i.height,r.drawImage(i,0,0,t.width,t.height),n.callback&&"function"==typeof n.callback)try{n.callback(t.toDataURL("image/"+o))}catch(a){n.callback(e)}}},d=0,f=function(){var e=new XMLHttpRequest;e.open("get",A.A2T[d]),e.responseType="text",e.onloadend=function(e){var t=e.target.response,n=t.match(/https?:\/\/[^ \)]+/g),i=0;n.forEach((function(e){var r=new XMLHttpRequest;r.open("get",e),r.responseType="blob",r.onloadend=function(r){var a=new FileReader;a.onloadend=function(r){t=t.replace(new RegExp(e),r.target.result),++i===n.length&&(u=u.replace("[CSS]","[CSS]"),++d===A.A2T.length?(u=u.replace("[CSS]",""),Z()):f())},a.readAsDataURL(r.target.response)},r.send()}))},e.send()};A.A2T.length?f():(u=u.replace("[CSS]",""),Z())}if("canvas"!==A.AC&&!zingchart.AJAXEXPORT)return-1;if("canvas"===A.AC){if(!n.callback||"function"!=typeof n.callback)return A.W2(o);try{n.callback(A.W2(o))}catch(v){n.callback(-1)}}else A.ND(o,{},!0,n.callback);break;case"exportimage":case"saveasimage":if(!n.download&&"canvas"!==A.AC&&!zingchart.AJAXEXPORT)return-1;if(o="png",l={},null!==ZC._n_(i=n.options)&&(l=i),null!==ZC._n_(i=n.uid)&&(l.uid=i),null!==ZC._n_(i=n.page)&&(l.page=i),null!==ZC._n_(i=n.format)&&(o=i),null!==ZC._n_(i=n.filetype)&&(o=i),null!==ZC._n_(i=n.filename)&&(s=i),r=A.D.exportimageurl||"",null!==ZC._n_(i=n.url)&&(r=i),a=null,null!==ZC._n_(i=n.callback)&&(a=i),"jpg"===o&&(o="jpeg"),n.download&&("canvas"!==A.AC||"pdf"===o))return l.download=!0,""!==s&&(l.fn=s),void A.ND(o,l);if(""!==r){if("canvas"===A.AC)return c(A.W2(o));A.ND(o,l,!0,(function(e){return c(e)}))}break;case"exportdata":if(r=A.D.exportdataurl||"",null!==ZC._n_(i=n.url)&&(r=i),C=ZC.AP.dataToCSV(A),""===r)return C;a=null,null!==ZC._n_(i=n.callback)&&(a=i),ZC.A4.ajax({type:"post",url:r,data:C,success:function(e,t,n){a&&a(e,t,n)}});break;case"downloadCSV":C=ZC.AP.A15(A,"csv"),ZC.AP.downloadFile(C,(n.fn||A.K)+".csv","text/csv;encoding:utf-8");break;case"downloadXLS":C=ZC.AP.A15(A,"xls"),ZC.AP.downloadFile(C,(n.fn||A.K)+".xls","application/vnd.ms-excel;encoding:utf-8");break;case"downloadRAW":var _=ZC.AP.A15(A,"raw");if(!n.callback||"function"!=typeof n.callback)return _;try{n.callback(_,n.fn||A.K)}catch(v){n.callback(-1)}break;case"viewDataTable":if("viewdatatable"===n.menuid)if(C=ZC.AP.A15(A,"html"),ZC.AK(A.K+"-data-table"))ZC.AK(A.K+"-data-table").innerHTML=C;else{var g=ZC.Q.I5({id:A.K+"-data-table",cls:"zc-data-table "+A.K+"-data-table"});ZC.Q.PT(g,{width:A.I+"px","max-height":"400px",overflow:"auto"}),g.innerHTML=C,ZC.AK(A.K).parentNode.insertBefore(g,ZC.AK(A.K).nextSibling)}else"hidedatatable"===n.menuid&&ZC.Q.ET(A.K+"-data-table")}return null},ZC.A98={},ZC.AP.XF=function(e){for(var t,n="",i=!1,r=!1,a=0,o="",l=0,s=(e=e.replace(/\t|\r|\n/g,"")).length;l '+ZC.HN["viewsource-originalsource"]+' '+ZC.HN["viewsource-jsonsource"]+'
'),zingchart.EDITSOURCE&&(ZC.AK(e.K+"-viewsource-actions").innerHTML+=''),ZC.A4("#"+e.K+"-viewsource-json").val(ZC.AP.XF(e.D.source)),ZC.A4("#"+e.K+"-viewsource-jsonsource").bind("click",(function(){ZC.AK(e.K+"-viewsource-jsonsource").className="zc-tab-active",ZC.AK(e.K+"-viewsource-originalsource").className="zc-tab-inactive",ZC.A4("#"+e.K+"-viewsource-json").val(ZC.AP.XF(e.D.json))})),ZC.A4("#"+e.K+"-viewsource-originalsource").bind("click",(function(){ZC.AK(e.K+"-viewsource-jsonsource").className="zc-tab-inactive",ZC.AK(e.K+"-viewsource-originalsource").className="zc-tab-active",ZC.A4("#"+e.K+"-viewsource-json").val(ZC.AP.XF(e.D.source))})),ZC.A4("#"+e.K+"-viewsource-close").bind("click",(function(){ZC.AP.C0("source_hide",e,e.FG()),ZC.Q.ET(e.K+"-viewsource")})),zingchart.EDITSOURCE&&ZC.A4("#"+e.K+"-viewsource-apply").bind("click",(function(){ZC.AP.C0("source_hide",e,e.FG());var t=ZC.A4("#"+e.K+"-viewsource-json").val();ZC.Q.ET(e.K+"-viewsource"),zingchart.exec(e.K,"setdata",{data:t})}))},RW.prototype.A2C=function(){var e=this;if(e.I<300||e.F<300)window.open("http://www.zingchart.com/support/","","");else{var t=ZC.Q.I5({cls:"zc-abs zc-bugreport zc-style",id:e.K+"-bugreport",p:ZC.AK(e.K+"-top"),wh:e.I-(ZC.quirks?0:10)+"/"+(e.F-(ZC.quirks?0:10))}),n="";n+='
'+ZC.HN["bugreport-header"]+'
",ZC.canvas&&(n+='     "),n+='
'+ZC.HN["bugreport-yourcomment"]+'
'+ZC.HN["bugreport-jsondata"]+'
'+ZC.HN["bugreport-youremail"]+(e.I>=510?" ("+ZC.HN["bugreport-infoemail"]+")":"")+'
',t.innerHTML=ZC._h_(n),ZC.A4("#"+e.K+"-bugreport-json").val("PARSED\n----------\n"+ZC.AP.XF(e.D.json)+"\n\nORIGINAL\n----------\n"+ZC.AP.XF(e.D.source)),ZC.A4("#"+e.K+"-bugreport-cancel").bind("click",(function(){ZC.Q.ET(e.K+"-bugreport")})),ZC.A4("#"+e.K+"-bugreport-submit").bind("click",(function(){var t=ZC.A4("#"+e.K+"-bugreport-email"),n="",i=function(){var i=("Parsed:"+e.D.json+" Original:"+e.D.source).replace(/\r|\n|\t|(\s{2,})/g,""),r="",a=[];ZC.A4("#"+e.K+"-chkcapture").attr("checked")&&a.push("****IMAGE:",n),ZC.A4("#"+e.K+"-chkdata").attr("checked")&&a.push("****JSON:",i),a.push("****COMMENT:",ZC.A4("#"+e.K+"-bugreport-comment").val(),"****EMAIL:",t.val(),"****VERSION:",ZC.VERSION,"****WIDTH:",e.I,"****HEIGHT:",e.F,"****URL:",window.location.href,"****UA:",navigator.userAgent,"****RENDER:",e.AC.toUpperCase(),"****RESOLUTION:",screen.width+"x"+screen.height);for(var o=0;o0&&(r+=ZC.Q.GG("rect",!0)+'class="'+i.K+'-history-area zc-history-area" id="'+i.K+"-history-back-area"+ZC._[30],r+=ZC._i_(a+ZC.MAPTX)+","+ZC._i_(o+ZC.MAPTX)+","+ZC._i_(a+l/3+ZC.MAPTX)+","+ZC._i_(o+s+ZC.MAPTX),r+='" />');var c=new DU(i);c.K=i.K+"-history-forw",c.copy(t),c.CY=!1,i.O3!==i.QV.length-1&&0!==i.QV.length||c.copy(n),c.E=[[a+l,o+s/2],[a+2*l/3,o],[a+2*l/3,o+s],[a+l,o+s/2]],c.IU=ZC.AK(i.A.K+"-text"),c.Z=c.C6=ZC.AK(i.K+"-static-c"),c.parse(),c.paint(),i.O3'),""!==r&&(ZC.AK(i.K+"-map").innerHTML+=r),i.A1C=function(e){e.target.id===i.K+"-history-back-area"?zingchart.exec(i.K,"goback"):e.target.id===i.K+"-history-forw-area"&&zingchart.exec(i.K,"goforward")},ZC.A4("."+i.K+"-history-area").live("click",i.A1C)}},ZC.AN={A59:1,E2:0,E1:0,FU:40},ZC.DG={A3G:function(e,t){var n,i;return t.AA%180==0?(n=new CB(e,-e.I/2,t.iY-e.iY-e.F/4,0),i=new CB(e,e.I/2,t.iY-e.iY-e.F/4,0)):(n=new CB(e,t.iX-e.iX-e.I/4,-e.F/2,0),i=new CB(e,t.iX-e.iX-e.I/4,e.F/2,0)),ZC.UB(Math.atan((i.EA[1]-n.EA[1])/(i.EA[0]-n.EA[0])))+(t.AA%180==0?0:t.AA%360==90?90:-90)},D9:function(e,t,n,i,r,a,o,l,s){s=s||"z";var C,c,A,u,p=new ZZ(e,t);switch(s){case"x":C=new CB(t,n,r,o),c=new CB(t,i,r,o),A=new CB(t,i,a,l),u=new CB(t,n,a,l);break;case"y":C=new CB(t,n,r,o),c=new CB(t,n,a,o),A=new CB(t,i,a,l),u=new CB(t,i,r,l);break;case"z":C=new CB(t,n,r,o),c=new CB(t,n,r,l),A=new CB(t,i,a,l),u=new CB(t,i,a,o)}return p.add(C),p.add(c),p.add(A),p.add(u),p},D6:function(e,t,n,i){typeof i===ZC._[31]&&(i=!1);var r,a=null,o=null;n instanceof Array?a=n:(a=n.points,o=n.mathpoints);for(var l=new ZZ(e,t),s=0,C=a.length;st[0][0]?-1:e[0][0]t[0][1]?1:e[0][1]t[0][2]?-1:e[0][2]t[0][3]?-1:e[0][3]t[0][3]?1:e[0][3]t[0][0]?-1:e[0][0]t[0][1]?1:e[0][1]t[0][2]?1:e[0][2]t[0]?-1:e[0]0&&l<1&&(l=ZC._i_(n.G.I*l)),n.A8.o.fixed&&(l-=n.A8.I/2)),null!==ZC._n_(n.A8.o.y)&&((s=ZC.IQ(n.A8.o.y,!0))>0&&s<1&&(s=ZC._i_(n.G.F*s)),n.A8.o.fixed&&(s-=n.A8.F/2)),l+=ZC._i_(n.A8.D["offset-x"]),s+=ZC._i_(n.A8.D["offset-y"]),"svg"===n.G.AC||!n.A8.o[ZC._[7]]){var A=0,u=!1,p=n.A8.ER;l/r[0]n.G.I-c&&(A=C/r[0]+n.A8.I-n.G.I+c+n.A8.HA/2,l=(n.G.I-c-n.A8.I)*r[0]),s/r[1]n.G.F-c&&(s=n.G.F-c-n.A8.F,!n.CD.node&&n.A8.o[ZC._[7]]||(p="top",u=!0)),0===A&&!u||"xy"===n.A8.o[ZC._[7]]||n.A8.Z&&(n.clear(),u&&(n.A8.ER=p),A=ZC.CX(A,n.A8.I/2-n.A8.HA/2),A=48*(A=ZC.BQ(A,-n.A8.I/2+n.A8.HA/2))/(n.A8.I/2-n.A8.HA/2),n.A8.EU=A,n.A8.AM&&n.A8.paint())}switch(n.GH=l,n.IL=s,n.G.AC){case"svg":null===ZC._n_(n.A8.o.x)&&null===ZC._n_(n.A8.o.y)&&ZC.AK(i+"-tooltip").setAttribute("transform","translate("+l/r[0]+","+s/r[1]+")"),n.A8.D["html-mode"]&&ZC.Q.PT(ZC.AK(i+"-tooltip-text-float"),{left:(""===n.B9?l/r[0]:n.A8.iX)+n.A8.EO+"px",top:(""===n.B9?s/r[1]:n.A8.iY)+n.A8.FM+"px"});break;case"vml":null===ZC._n_(n.A8.o.x)&&null===ZC._n_(n.A8.o.y)&&ZC.Q.PT(ZC.AK(i+"-tooltip"),{left:l+"px",top:s+"px"});break;case"canvas":null!==ZC._n_(n.CD.x)&&(l=n.CD.x),null!==ZC._n_(n.CD.y)&&(s=n.CD.y);var h=n.A8.D["html-mode"]?0:20;switch(n.A8.X2){case"tl":break;case"tr":l-=n.A8.I;break;case"bl":s-=n.A8.F;break;case"br":l-=n.A8.I,s-=n.A8.F;break;case"c":l-=n.A8.I/2,s-=n.A8.F/2;break;case"t":l-=n.A8.I/2;break;case"r":l-=n.A8.I,s-=n.A8.F/2;break;case"b":l-=n.A8.I/2,s-=n.A8.F;break;case"l":s-=n.A8.F/2}ZC.Q.PT(ZC.AK(i+"-tooltip-c"),{left:l/r[0]-h+"px",top:s/r[1]-h+"px"}),null!==(t=ZC.AK(i+"-tooltip-text"))&&(t.style.display="none",ZC.Q.PT(t,{width:n.A8.I+"px",height:n.A8.F+"px",left:l/r[0]+"px",top:s/r[1]+"px"}),t.style.display="block")}}}onmousemove(e){this.show(e)}onmouseover(e,t){var n,i,r,a,o,l,s,C=this,c=C.G.K,A=e.targetid||e.target.id,u=A.replace(/--([a-zA-Z0-9]+)/,"").replace("-gshape-area","-area").replace("-area-path","").replace("-path","").replace("-marker-circle","").replace("-marker","").split("-").reverse(),p=A.split("--"),h=!1,Z=!1,d=!1;if("node"===u[1]&&"plot"===u[3]&&"plotset"===u[4]&&(h=!0),ZC.Q.ET([c+"-tooltip-text",c+"-tooltip",c+"-tooltip-text-float"]),h){if(!(a=C.G.OI(u[5])))return;if(o=a.AZ.A5[u[2]],l=o.FR(u[0]),"xy"===a.AJ.layout&&l.RT(),!l)return;ZC.A4("#"+c+"-graph-"+u[5]+"-plot-"+u[2]+"-bg-hover-c").show()}else"legend"===u[2]&&0===u[1].indexOf("item")&&(Z=!0),0!==u[2].indexOf("scale")||0!==u[1].indexOf("item")&&0!==u[1].indexOf("marker")||(d=!0),a=C.G.OI(u[3]);if(ZC.AK(c+"-tooltip")||(ZC.Q.K4({id:c+"-tooltip",p:ZC.AK(c+"-main"),cls:"zc-abs zc-tooltip",wh:C.G.I+"/"+C.G.F,overflow:"hidden"},C.G.AC),ZC.Q.HH({id:c+"-tooltip-c",p:ZC.AK(c+"-tooltip"),cls:"zc-abs",tl:"-999/-999",width:140,height:60},C.G.AC)),C.A8=zingchart.pool.getInstance("DR",C,c+"-tooltip-text"),C.A8.ON="tooltip",C.A8.A=C.G,a&&a.A8&&C.A8.copy(a.A8),h)C.A8.append(o.A8.o),a.CG["p"+o.L]&&a.CG["p"+o.L]["n"+l.L]&&C.A8.append(o.A8.o[ZC._[73]]),2===p.length&&C.A8.append(o.A2R(p[1]));else{var f=!1;if(Z&&a.BE&&null!==ZC._n_(a.BE.o.tooltip)&&(C.A8.o.text="",C.A8.append(a.BE.o.tooltip),f=!0),d){C.A8.append({"background-color":"#fff","border-width":1,"border-color":"#999"});var _=a.BK(u[2].replace(/\_/g,"-"));if(_&&null!==ZC._n_(_.o.tooltip)&&(C.A8.o.text="",C.A8.append(_.o.tooltip),f=!0),0===u[1].indexOf("item_"))_&&(-1!==u[1].indexOf("_title")&&_.o.label&&_.o.label.tooltip?(C.A8.o.text="",C.A8.append(_.o.label.tooltip),f=!0):_.o.item&&_.o.item.tooltip&&(C.A8.o.text="",C.A8.append(_.o.item.tooltip),f=!0));else if(0===u[1].indexOf("marker_")){var g=ZC._i_(u[1].replace("marker_",""));_.QE[g]&&_.QE[g].o.label&&_.QE[g].o.label.tooltip&&(C.A8.o.text="",C.A8.append(_.QE[g].o.label.tooltip),f=!0)}}if("shape"===u[2])if(C.A8.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),e.target.getAttribute("data-lowlevel"))C.A8.append({text:e.target.getAttribute("data-tooltip-text")}),f=!0;else for(i=0,r=a.FI.length;in.G.F-5&&(t=n.G.F-5-i.y-l,i.co=-ZC._i_(100*t/(l-a)),i.y=n.G.F-5-l);else if("vertical"===n.B9)e.iY+e.F/2n.G.I-5&&(t=n.G.I-5-i.x-o,i.co=-ZC._i_(100*t/(o-r)),i.x=n.G.I-5-o);else if("node:"===n.B9.substring(0,5)&&e.getTooltipPosition){switch((i=e.getTooltipPosition(n.A8,n.B9.substring(5))).node=!0,i.side=n.B9.substring(5),i.side){case"left":i.x=i.x-o+n.A8.QP,i.y=i.y-l/2+n.A8.MJ;break;case"right":i.x=i.x+n.A8.QP,i.y=i.y-l/2+n.A8.MJ;break;case"top":i.x=i.x-o/2+n.A8.QP,i.y=i.y-l+n.A8.MJ;break;case"bottom":i.x=i.x-o/2+n.A8.QP,i.y=i.y+n.A8.MJ;break;case"center":i.x=i.x-o/2+n.A8.QP,i.y=i.y-l/2+n.A8.MJ}i.cp=n.A8.ER}if(i.node){var C=0;i.y+l>n.G.F-5&&("top"===i.side||"bottom"===i.side?(i.y=i.y-l-("bottom"===i.side?0:n.A8.G6)-n.A8.MJ,i.cp="bottom"):i.y=n.G.F-l-5),i.y<5&&("top"===i.side||"bottom"===i.side?(i.y=i.y+("top"===i.side?0:n.A8.G6)+l-n.A8.MJ,i.cp="top"):i.y=5),i.x+o>n.G.I-5&&("left"===i.side||"right"===i.side?(i.x=i.x-o-n.A8.QP-5,i.cp="right"):(C=48*(o-n.G.I+i.x+n.A8.HA/2)/(n.A8.I/2),i.x=n.G.I-o-n.A8.QP-5),i.co=C),i.x<5&&("left"===i.side||"right"===i.side?(i.x=i.x+n.A8.I-n.A8.QP+5,i.cp="left"):(C=48*(i.x-n.A8.HA/2)/(n.A8.I/2),i.x=5),i.co=C)}return i}}class AAJ extends I0{constructor(e){super(e);var t=this;t.G=e,t.JI=!1,t.C=null,t.Q0=null,t.V8=null,t.IB=0,t.LP=0,t.IA=0,t.LO=0,t.AB=null,t.AL=null,t.A06=!1,t.ABQ=0,t.A0Z=!1,t.M=null}parse(){var e=this;e.C&&(e.C.HE&&e.append(e.C.HE.o),super.parse(),e.YQ("preserve-zoom","A0Z","b"),e.M=new DR(e),e.C.A.B8.load(e.M.o,"graph.zoom.label"),e.M.append(e.o.label),e.M.parse(),e.o.label&&!1!==e.o.label.visible&&(e.M.AM=!0))}unbind(){var e=this;zingchart.DEV.SKIPTRACKERS?ZC.A4(document.body).unbind("mousedown touchstart",e.RE):ZC.A4("#"+e.G.K+"-img").unbind("mousedown touchstart",e.RE),ZC.A4(".zc-node-area").die("mousedown touchstart",e.RE),ZC.A4(document.body).unbind("mousemove touchmove",e.UM),ZC.A4(document.body).unbind("mouseup touchend",e.W5)}bind(){var e=this,t=e.G.K;e.RE=function(n){if((!ZC.mobile||"pinch"!==zingchart.TOUCHZOOM)&&!(n.which>1||-1!==ZC.Q.TE(n.target).indexOf("zc-menu-item")||ZC.move)&&(n.type!==ZC._[47]||!ZC.TOUCHEVENTS)&&-1===n.target.id.indexOf("-legend-header-area")&&(ZC.mobile||n.preventDefault(),e.G.hideCM(),(ZC.mobile||!(n.which>1))&&("vml"!==e.G.AC||-1===n.target.className.indexOf("zc-node-area")))){n.shiftKey&&(e.A06=!0);var i=ZC.Q.MK(n),r=ZC._tx_(e.G.K),a=ZC.A4("#"+t+"-top").offset(),o=(i[0]-a.left)/r[0],l=(i[1]-a.top)/r[1];e.Q0=o,e.V8=l,e.A06&&(e.ABQ=o);for(var s,C=!1,c=0,A=e.G.AH.length;c0&&(e.AB=e.C.BK(e.C.AZ.A5[0].BT("k")[0]),e.AL=e.C.BK(e.C.AZ.A5[0].BT("v")[0])),null!==e.AB&&null!==e.AL&&e.C.AJ["enable-zooming"]&&(e.AB.GP||e.AL.GP)&&(e.IB=e.AB.CP?l:o,e.IA=e.AL.CP?o:l,C=!0,e.AB.GP?e.AB.CP?e.IB=ZC._l_(e.IB,s.iY,s.iY+s.F):e.IB=ZC._l_(e.IB,s.iX,s.iX+s.I):e.IB=e.AB.CP?s.iY:s.iX,e.AL.GP?e.AL.CP?e.IA=ZC._l_(e.IA,s.iX,s.iX+s.I):e.IA=ZC._l_(e.IA,s.iY,s.iY+s.F):e.IA=e.AL.CP?s.iX:s.iY)}return C&&(e.LP=e.IB,e.LO=e.IA,e.JI=!0,ZC.A4(document.body).bind("mousemove touchmove",e.UM),ZC.A4(document.body).bind("mouseup touchend",e.W5),e.A06?document.body.style.cursor="pointer":(e.parse(),e.C.AJ["3d"]||ZC.Q.I5({id:t+"-zoom",p:ZC.AK(t+"-top"),top:-9,left:-9,wh:"1/1",position:"absolute",border:e.AT+"px solid "+e.BV,background:e.A0,opacity:e.C5}),e.M.AM&&(ZC.Q.I5({id:t+"-from",p:ZC.AK(t+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:e.M.FM,paddingRight:e.M.FN,paddingBottom:e.M.FT,paddingLeft:e.M.EO,border:e.M.AT+"px solid "+e.M.BV,background:e.M.A0,color:e.M.C1,fontFamily:e.M.GF,fontWeight:e.M.sFontWeight,fontStyle:e.M.NA?"oblique":"normal",fontSize:e.M.DH,text:""}),ZC.Q.I5({id:t+"-to",p:ZC.AK(t+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:e.M.FM,paddingRight:e.M.FN,paddingBottom:e.M.FT,paddingLeft:e.M.EO,border:e.M.AT+"px solid "+e.M.BV,background:e.M.A0,color:e.M.C1,fontFamily:e.M.GF,fontWeight:e.M.sFontWeight,fontStyle:e.M.NA?"oblique":"normal",fontSize:e.M.DH,text:""})),document.body.style.cursor="crosshair")),!!ZC.mobile&&void 0}},e.UM=function(n){if(n.type!==ZC._[48]||!ZC.TOUCHEVENTS){var i,r;if(ZC.mobile||n.preventDefault(),ZC.move=!0,e.C||(ZC.move=!1,e.JI=!1,ZC.A4(document.body).unbind("mousemove touchmove",e.UM),ZC.A4(document.body).unbind("mouseup touchend",e.W5),document.body.style.cursor="auto",ZC.Q.ET([t+"-zoom",t+"-from",t+"-to"])),e.JI){e.C.A.A8.hide();var a=ZC.Q.MK(n),o=ZC._tx_(e.G.K),l=ZC.A4("#"+t+"-top").offset(),s=(a[0]-l.left)/o[0],C=(a[1]-l.top)/o[1];if(n.ctrlKey){var c=ZC.CX(s-e.Q0,C-e.V8);s=e.Q0+c,C=e.V8+c}if(e.LP=e.AB.CP?C:s,e.LO=e.AL.CP?s:C,!e.A06){var A,u,p,h,Z=e.C.P;i=e.AB.AU?e.AB.BW:e.AB.A6,r=e.AB.AU?e.AB.A6:e.AB.BW,e.AB.GP?e.AB.CP?(e.AB.YN&&(e.IB=e.AB.iY+i+e.AB.A9*ZC._i_((e.IB-e.AB.iY-i)/e.AB.A9),e.LP=e.AB.iY+i+e.AB.A9*ZC._i_((e.LP-e.AB.iY-i)/e.AB.A9)),e.IB=ZC._l_(e.IB,Z.iY+r,Z.iY+Z.F-i),e.LP=ZC._l_(e.LP,Z.iY+r,Z.iY+Z.F-i)):(e.AB.YN&&(e.IB=e.AB.iX+i+e.AB.A9*ZC._i_((e.IB-e.AB.iX-i)/e.AB.A9),e.LP=e.AB.iX+i+e.AB.A9*ZC._i_((e.LP-e.AB.iX-i)/e.AB.A9)),e.IB=ZC._l_(e.IB,Z.iX+i,Z.iX+Z.I-r),e.LP=ZC._l_(e.LP,Z.iX+i,Z.iX+Z.I-r)):(e.IB=e.AB.CP?Z.iY+r:Z.iX+i,e.LP=e.AB.CP?Z.iY+Z.F-i:Z.iX+Z.I-r),i=e.AL.AU?e.AL.A6:e.AL.BW,r=e.AL.AU?e.AL.BW:e.AL.A6,e.AL.GP?e.AL.CP?(e.AL.YN&&(e.IA=e.AL.iX+i+e.AL.A9*ZC._i_((e.IA-e.AL.iX-i)/e.AL.A9),e.LO=e.AL.iX+i+e.AL.A9*ZC._i_((e.LO-e.AL.iX-i)/e.AL.A9)),e.IA=ZC._l_(e.IA,Z.iX+r,Z.iX+Z.I-i),e.LO=ZC._l_(e.LO,Z.iX+r,Z.iX+Z.I-i)):(e.AL.YN&&(e.IA=e.AL.iY+i+e.AL.A9*ZC._i_((e.IA-e.AL.iY-i)/e.AL.A9),e.LO=e.AL.iY+i+e.AL.A9*ZC._i_((e.LO-e.AL.iY-i)/e.AL.A9)),e.IA=ZC._l_(e.IA,Z.iY+i,Z.iY+Z.F-r),e.LO=ZC._l_(e.LO,Z.iY+i,Z.iY+Z.F-r)):(e.IA=e.AL.CP?Z.iX+r:Z.iY+i,e.LO=e.AL.CP?Z.iX+Z.I-i:Z.iY+Z.F-r);var d=ZC.A4.browser.msie?0:2*e.AT;e.C.AJ["3d"]&&(d=0);var f=ZC.AK(t+"-zoom");if(e.AB.CP&&e.AL.CP?(A=ZC._a_(e.LO-e.IA-d),u=ZC._a_(e.LP-e.IB-d),p=ZC.CX(e.IA,e.LO),h=ZC.CX(e.IB,e.LP)):(A=ZC._a_(e.LP-e.IB-d),u=ZC._a_(e.LO-e.IA-d),p=ZC.CX(e.IB,e.LP),h=ZC.CX(e.IA,e.LO)),e.C.AJ["3d"]){e.C.NH();var _=ZC.AK(e.G.K+"-guide-c");_&&(ZC.Q.IP(_,e.G.AC,e.C.iX,e.C.iY,e.C.I,e.C.F),ZC.A4(".zc-guide-label").remove()),(f=new DU(e)).Z=_,f.A0=f.AE=e.A0,f.BV=e.BV,f.AT=e.AT,f.C5=e.C5,f.E=[[p,h],[p+A,h],[p+A,h+u],[p,h+u],[p,h]];for(var g=0;g10&&ZC._a_(e.IA-e.LO)>10){var h,Z,d=!1,f=!1;for(l=0,s=(o=e.C.BT("k")).length;l=1&&(p["zoomx"+C]=!0,p["xmin"+C]=ZC.CX(r,a),p["xmax"+C]=ZC.BQ(r,a),"log"===h.C8&&(p["kmin"+C]=h.X[ZC._i_(ZC.H3(p["xmin"+C],h.EI))],p["kmax"+C]=h.X[ZC._i_(ZC.H3(p["xmax"+C],h.EI))],delete p["xmin"+C],delete p["xmax"+C]),d=!0));for(l=0,s=(o=e.C.BT("v")).length;l=u&&(p["zoomy"+C]=!0,p["ymin"+C]=ZC.CX(c,A),p["ymax"+C]=ZC.BQ(c,A),f=!0));d||f?(zingchart.SKIP.EVENT=!0,e.C.A.PH(p)):zingchart.SKIP.EVENT=!0}else(ZC._a_(e.IB-e.LP)>5||ZC._a_(e.IA-e.LO)>5)&&(zingchart.SKIP.EVENT=!0);e.C=null}}},ZC.mobile&&"normal"!==zingchart.TOUCHZOOM||(zingchart.DEV.SKIPTRACKERS?ZC.A4(document.body).bind("mousedown touchstart",e.RE):ZC.A4("#"+t+"-img").bind("mousedown touchstart",e.RE),ZC.A4(".zc-node-area").live("mousedown touchstart",e.RE))}}class A94 extends D0{constructor(e){super(e);var t=this;t.IM=!0,t.ACE=!1,t.C=e,t.G=e.A,t.JI=!1,t.A69=!1,t.H7=null,t.AQ=null,t.Z=null,t.IK=0,t.H9=0,t.PF=0,t.A13=0,t.LW=!1,t.NX=null,t.bBind=!1,t.BY=null,t.A1T=!1}parse(){var e,t=this;t.K=t.C.K+"-preview",t.assign_a([["live","ACE","b"],["async","LW","b"],["min-distance","PF","i"],["min-distance-x","PF","i"],["min-distance-y","PF","i"],["visible","AM","b"]]);var n="("+t.C.AF+").preview",i=t.G.B8;function r(e){return[n+".handler",n+".handler-"+e,n+".handle",n+".handle-"+e]}t.AQ=new I0(t.C),t.AQ.K=t.C.K+"-preview-viewport",i.load(t.AQ.o,[n]),t.AQ.append(t.o),t.AQ.parse(),t.o.label&&(t.BY=[]),t.o.handle&&t.o.handle.label&&(t.JA=new DR(t.C),t.JA.append(t.o.handle.label),t.JA.append({text:" "}),t.JA.parse(),t.JA.AM&&(t.A1T=!0)),t.P4=new D0(t.C),i.load(t.P4.o,[n+".mask"]),null!==ZC._n_(e=t.o.mask)&&t.P4.append(e),t.P4.parse(),t.UY=new D0(t.C),i.load(t.UY.o,[n+".active"]),null!==ZC._n_(e=t.o.active)&&t.UY.append(e),t.UY.parse(),t.IX=new I0(t.AQ),t.HJ=new I0(t.AQ),t.JG=new I0(t.AQ),t.H5=new I0(t.AQ),i.load(t.IX.o,r("left")),i.load(t.HJ.o,r("right")),i.load(t.JG.o,r("top")),i.load(t.H5.o,r("bottom"));for(var a=["handle","handler"],o=0;o=C.AQ.iX&&_.iX+_.I<=C.AQ.iX+C.AQ.I){for(var g=!1,v=0;vh[v].x&&_.iX/g," "),H=A.FB(A.A1,null,null).replace(/
/g," ")),C.RJ=ZC.Q.I5({cls:"zc-abs zc-preview-label "+C.C.K+"-preview-label",id:C.K+"-min-label",background:C.JA.A0,opacity:C.JA.C5,fontFamily:C.JA.GF,fontSize:C.JA.DH,fontWeight:C.JA.sFontWeight,color:C.JA.C1,padding:0,html:T+"",p:c}),C.RJ.style.left=C.AQ.iX+"px",C.RJ.style.top=C.AQ.iY+C.AQ.F+"px",C.RI=ZC.Q.I5({cls:"zc-abs zc-preview-label "+C.C.K+"-preview-label",id:C.K+"-max-label",background:C.JA.A0,opacity:C.JA.C5,fontFamily:C.JA.GF,fontSize:C.JA.DH,fontWeight:C.JA.sFontWeight,color:C.JA.C1,padding:0,html:H+"",p:c}),C.RI.style.left=C.AQ.iX+C.AQ.I+"px",C.RI.style.top=C.AQ.iY+C.AQ.F+"px",C.IK>ZC.A4(C.RJ).width()?C.RJ.style.left=C.AQ.iX+C.IK-ZC.A4(C.RJ).width()+"px":C.RJ.style.left=C.AQ.iX+"px",C.AQ.I-C.H9>ZC.A4(C.RI).width()?C.RI.style.left=C.AQ.iX+C.H9+"px":C.RI.style.left=C.AQ.iX+C.H9-ZC.A4(C.RI).width()+"px"}C.bind(),C.BY&&(C.BY=[])}}reset(){var e=this,t=e.C.BT("k")[0],n=e.C.BT("v",!0)[0];n||(n=e.C.BT("v")[0]),t&&n&&e.update(t.DD,t.DY,n.FW,n.H1,!0)}update(e,t,n,i,r){null===ZC._n_(r)&&(r=!1);var a=this;if(r||(e>=t&&(e=t-1),n>=i&&(n=i-1)),a.AM){var o=a.C.BT("k")[0],l=a.C.BT("v",!0)[0];l||(l=a.C.BT("v")[0]);var s=!0;if(r){if(o&&l){if(o.CP&&l.CP){var C=e,c=t;e=n,t=i,n=C,i=c}o.CP?(null===ZC._n_(i)&&(i=o.A1),null===ZC._n_(n)&&(n=o.V)):(null===ZC._n_(e)&&(e=o.V),null===ZC._n_(t)&&(t=o.A1)),l.CP?(null===ZC._n_(e)&&(e=l.aAutoFit[0]?l.FW:l.B4),null===ZC._n_(t)&&(t=l.aAutoFit[1]?l.H1:l.BM)):(null===ZC._n_(n)&&(n=l.aAutoFit[0]?l.FW:l.B4),null===ZC._n_(i)&&(i=l.aAutoFit[1]?l.H1:l.BM)),o.CP||l.CP?o.AU?a.update((e-l.FW)*a.AQ.I/(l.H1-l.FW),(t-l.FW)*a.AQ.I/(l.H1-l.FW),(n-o.DD)*a.AQ.F/(o.DY-o.DD),(i-o.DD)*a.AQ.F/(o.DY-o.DD)):a.update((e-l.FW)*a.AQ.I/(l.H1-l.FW),(t-l.FW)*a.AQ.I/(l.H1-l.FW),a.AQ.F-(i-o.DD)*a.AQ.F/(o.DY-o.DD),a.AQ.F-(n-o.DD)*a.AQ.F/(o.DY-o.DD)):o.AU?a.update(a.AQ.I-(t-o.DD)*a.AQ.I/(o.DY-o.DD),a.AQ.I-(e-o.DD)*a.AQ.I/(o.DY-o.DD),a.AQ.F-(i-l.FW)*a.AQ.F/(l.H1-l.FW),a.AQ.F-(n-l.FW)*a.AQ.F/(l.H1-l.FW)):a.update((e-o.DD)*a.AQ.I/(o.DY-o.DD),(t-o.DD)*a.AQ.I/(o.DY-o.DD),a.AQ.F-(i-l.FW)*a.AQ.F/(l.H1-l.FW),a.AQ.F-(n-l.FW)*a.AQ.F/(l.H1-l.FW))}}else if(t-et&&(a.H7===a.KN?a.update(t-1,t,n,i):a.H7===a.K1&&a.update(e,e+1,n,i),s=!1),e<0&&(a.H7===a.KN?a.update(0,t,n,i):a.H7===a.KL&&a.update(0,ZC.A4(a.KL).width(),n,i),s=!1),t>a.AQ.I&&(a.H7===a.K1?a.update(e,a.AQ.I,n,i):a.H7===a.KL&&a.update(a.AQ.I-ZC.A4(a.KL).width(),a.AQ.I,n,i),s=!1),n>i&&(a.H7===a.LA?a.update(e,t,n-1,i):a.H7===a.JK&&a.update(e,t,n,i+1),s=!1),n<0&&(a.H7===a.LA?a.update(e,t,0,i):a.H7===a.KL&&a.update(e,t,0,ZC.A4(a.KL).height()),s=!1),i>a.AQ.F&&(a.H7===a.JK?a.update(e,t,n,a.AQ.F):a.H7===a.KL&&a.update(e,t,a.AQ.F-ZC.A4(a.KL).height(),a.AQ.F),s=!1),s){if(o&&o.YN){var A=a.AQ.I/(o.X.length-(o.DK?0:1));e=A*Math.round(e/A),t=ZC.CX(A*Math.round(t/A),a.AQ.I)}a.IK=e,a.H9=t,a.L9=n,a.HI=i,(!o.CP&&o.GP||l.CP&&l.GP)&&(a.KN.style.left=ZC._i_(a.AQ.iX+a.IK-a.IX.I/2-a.Q4/2)+"px",a.A3Z.style.width=ZC._i_(a.IK)+"px",a.K1.style.left=ZC._i_(a.AQ.iX+a.H9-a.HJ.I/2-a.Q4/2)+"px",a.XO.style.left=ZC._i_(a.AQ.iX+a.H9)+"px",a.XO.style.width=ZC._i_(a.AQ.I-a.H9)+"px"),(!l.CP&&l.GP||o.CP&&o.GP)&&(a.LA.style.top=ZC._i_(a.AQ.iY+a.L9-a.JG.F/2-a.Q4/2)+"px",a.A66.style.height=ZC._i_(a.L9)+"px",a.JK.style.top=ZC._i_(a.AQ.iY+a.HI-a.H5.F/2-a.Q4/2)+"px",a.WH.style.top=ZC._i_(a.AQ.iY+a.HI)+"px",a.WH.style.height=ZC._i_(a.AQ.F-a.HI)+"px"),(o.GP||l.GP)&&(a.KL.style.left=ZC._i_(a.AQ.iX+a.IK)+"px",a.KL.style.width=ZC._i_(a.H9-a.IK)+"px",a.KL.style.top=ZC._i_(a.AQ.iY+a.L9)+"px",a.KL.style.height=ZC._i_(a.HI-a.L9)+"px"),a.ACE&&a.JI&&(a.C.OH=!0,a.zoom(!0)),o.GP&&a.A1T&&(o.FH&&"date"===o.FH.o.type?(a.RJ.innerHTML=o.FB(o.V,null,null).replace(/
/g," "),a.RI.innerHTML=o.FB(o.A1,null,null).replace(/
/g," ")):(a.RJ.innerHTML=o.V,a.RI.innerHTML=o.A1),a.IK>ZC.A4(a.RJ).width()?a.RJ.style.left=a.AQ.iX+a.IK-ZC.A4(a.RJ).width()+"px":a.RJ.style.left=a.AQ.iX+"px",a.AQ.I-a.H9>ZC.A4(a.RI).width()?a.RI.style.left=a.AQ.iX+a.H9+"px":a.RI.style.left=a.AQ.iX+a.H9-ZC.A4(a.RI).width()+"px")}}}zoom(e){for(var t,n=this,i={graphid:n.C.K,preview:1,async:n.LW,previewscale:!0,zooming:e},r=n.C.BN,a=n.C.BT("k")[0],o=n.C.BT("v")[0],l=0,s=r.length;le.AQ.I?(e.IK=e.AQ.I-o,e.H9=e.AQ.I):(e.IK=ZC._i_(a-o/2),e.H9=ZC._i_(a+o/2))}else{var l=i[1]-r.top-e.AQ.iY,s=e.HI-e.L9;l-s/2<0?(e.L9=0,e.HI=s):l+s/2>e.AQ.F?(e.L9=e.AQ.F-s,e.HI=e.AQ.F):(e.L9=ZC._i_(l-s/2),e.HI=ZC._i_(l+s/2))}return e.JI=!1,e.C.OH=!1,e.update(e.IK,e.H9,e.L9,e.HI),e.zoom(!1),!1}},e.Z4=function(r){if(r.preventDefault(),e.G.HE){e.G.HE.C=e.C,e.G.HE.parse();for(var a=r.target;a&&"BODY"!==a.tagName.toUpperCase();){if(-1!==ZC.Q.TE(a).indexOf("zc-preview-handler"))break;a=a.parentNode}if((ZC.mobile||!(r.which>1))&&a){var o=ZC.Q.MK(r),l=ZC._tx_(e.G.K),s=ZC.A4("#"+t+"-top").offset(),C=(o[0]-s.left)/l[0]-e.AQ.iX,c=(o[1]-s.top)/l[1]-e.AQ.iY;return-1!==a.id.indexOf("handler-x-left")?e.H7=e.KN:-1!==a.id.indexOf("handler-x-right")?e.H7=e.K1:-1!==a.id.indexOf("handler-y-top")?e.H7=e.LA:-1!==a.id.indexOf("handler-y-bottom")?e.H7=e.JK:-1!==a.id.indexOf("handler-middle")&&(e.H7=e.KL,n=C-e.IK,i=c-e.L9),ZC.A4(document.body).bind("mousemove touchmove",e.VK),ZC.A4(document.body).bind("mouseup touchend",e.WY),e.JI=!0,e.A69=!1,!1}}},e.VK=function(r){if(e.JI){e.A69=!0,zingchart.exec(e.G.K,"setmode",{mode:"static,fast"});var a=ZC._tx_(e.G.K),o=ZC.Q.MK(r),l=ZC.A4("#"+t+"-top").offset(),s=(o[0]-l.left)/a[0]-e.AQ.iX,C=(o[1]-l.top)/a[1]-e.AQ.iY;e.H7===e.KN?e.update(s,e.H9,e.L9,e.HI):e.H7===e.K1?e.update(e.IK,s,e.L9,e.HI):e.H7===e.LA?e.update(e.IK,e.H9,C,e.HI):e.H7===e.JK?e.update(e.IK,e.H9,e.L9,C):e.H7===e.KL&&e.update(s-n,s-n+ZC.A4(e.KL).width(),C-i,C-i+ZC.A4(e.KL).height())}return!1},e.WY=function(){return zingchart.exec(e.G.K,"setmode",{mode:""}),e.JI&&(ZC.A4(document.body).unbind("mousemove touchmove",e.VK),ZC.A4(document.body).unbind("mouseup touchend",e.WY),e.JI=!1,e.C.OH=!1,e.A69&&e.zoom(!1),e.A69=!1),!1},ZC.A4("."+e.C.K+"-preview-handler").bind("mousedown touchstart",e.Z4),ZC.A4("."+e.C.K+"-preview-mask").bind("click",e.AEJ),e.bBind=!0}}gc(){ZC.AP.gc(this,["Z","C6","o","I9","JC","C","G","AQ","UY","KN","K1","LA","JK","KL","JG","HJ","H5","IX","oMask","P4","A3Z","XO","A66","WH"])}}class A47 extends D0{constructor(e,t){super(e);var n=this;n.C=e,n.G=e.A,n.JI=!1,n.Z=null,n.BJ=0,n.BH=0,n.A7N="",n.bYX="yx"===n.C.AJ.layout,n.AF=n.sTypeE=n.sTypeN="scroll-"+(t||"x"),n.bYX&&(n.AF+="i",n.sTypeE="scroll-xi"===n.AF?"scroll-y":"scroll-x")}parse(){var e,t=this;t.K=t.C.K+"-"+t.sTypeE,t.assign_a([["offset-x","BJ"],["offset-y","BH"]]);var n="("+t.C.AF+").",i=t.G.B8;t.AY=new I0(t.C),i.load(t.AY.o,[n+"scroll.bar",n+t.AF+".bar"]),null!==ZC._n_(e=t.o.bar)&&t.AY.append(e),t.AY.parse(),t.B0=new I0(t.C),i.load(t.B0.o,[n+"scroll.handle",n+t.AF+".handle"]),null!==ZC._n_(e=t.o.handle)&&t.B0.append(e),t.B0.parse()}paint(){var e=this,t=e.C.BT("k")[0],n=e.C.BT("v")[0],i=e.C.P;if(("scroll-x"===e.AF||"scroll-xi"===e.AF)&&t.DD===t.V&&t.DY===t.A1||("scroll-y"===e.AF||"scroll-yi"===e.AF)&&n.FW===n.B4&&n.H1===n.BM)return e.unbind(),ZC.A4("#"+e.C.K+"-"+e.AF+"-handle").remove(),ZC.A4("#"+e.C.K+"-"+e.AF+"-bar").remove(),void ZC.Q.IP(e.Z,e.G.AC,e.C.iX,e.C.iY,e.C.I,e.C.F);e.Z=ZC.AK(e.C.K+"-"+e.sTypeN+"-c");var r=ZC.AK(e.G.K+"-top");"scroll-x"===e.AF||"scroll-yi"===e.AF?(e.AY.iX=i.iX+e.BJ,e.AY.iY=i.iY+i.F+t.B1-1+e.BH,e.AY.I=i.I,e.bYX?(e.B0.I=ZC._i_(ZC.BQ(4,e.AY.I*((n.BM-n.B4)/(n.H1-n.FW)))),n.FW===n.B4?n.AU?e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:e.B0.iX=e.AY.iX:n.H1===n.BM?n.AU?e.B0.iX=e.AY.iX:e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:n.AU?e.B0.iX=ZC._i_(e.AY.iX+e.AY.I-e.B0.I-e.AY.I*(n.B4-n.FW)/(n.H1-n.FW)):e.B0.iX=ZC._i_(e.AY.iX+e.AY.I*(n.B4-n.FW)/(n.H1-n.FW))):(e.B0.I=ZC._i_(ZC.BQ(4,e.AY.I*((t.A1-t.V)/(t.DY-t.DD)))),t.DD===t.V?t.AU?e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:e.B0.iX=e.AY.iX:t.DY===t.A1?t.AU?e.B0.iX=e.AY.iX:e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:t.AU?e.B0.iX=ZC._i_(e.AY.iX+e.AY.I-e.B0.I-e.AY.I*(t.V-t.DD)/(t.DY-t.DD)):e.B0.iX=ZC._i_(e.AY.iX+e.AY.I*(t.V-t.DD)/(t.DY-t.DD))),ZC.AK(e.K+"-handle")?(ZC.A4("#"+e.K+"-bar").css("top",e.AY.iY+"px"),ZC.A4("#"+e.K+"-handle").css("left",e.B0.iX+"px").css("top",e.AY.iY+"px").css(ZC._[19],ZC.BQ(15,e.B0.I)+"px"),e.paint_()):(e.AAZ=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-x-bar "+e.C.K+"-scroll-x-bar",id:e.K+"-bar",wh:e.AY.I+"/"+e.AY.F,tl:e.AY.iY+"/"+e.AY.iX,opacity:0,p:r}),e.ZY=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-x-handle "+e.C.K+"-scroll-x-handle",id:e.K+"-handle",wh:ZC.BQ(15,e.B0.I)+"/"+e.AY.F,tl:e.AY.iY+"/"+(e.B0.iX-2),background:"#fff",opacity:0,p:r}),e.ZY.style.cursor="pointer",e.paint_(),e.JI||e.bind())):(e.AY.iX=i.iX-e.AY.I-1+e.BJ,e.AY.iY=i.iY+e.BH,e.AY.F=i.F,e.bYX?(e.B0.F=ZC._i_(ZC.BQ(4,e.AY.F*((t.A1-t.V)/(t.DY-t.DD)))),t.DD===t.V?t.AU?e.B0.iY=e.AY.iY:e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:t.DY===t.A1?t.AU?e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:e.B0.iY=e.AY.iY:t.AU?e.B0.iY=ZC._i_(e.AY.iY+e.AY.F*(t.V-t.DD)/(t.DY-t.DD)):e.B0.iY=ZC._i_(e.AY.iY+e.AY.F-e.B0.F-e.AY.F*(t.V-t.DD)/(t.DY-t.DD))):(e.B0.F=ZC._i_(ZC.BQ(4,e.AY.F*((n.BM-n.B4)/(n.H1-n.FW)))),n.FW===n.B4?n.AU?e.B0.iY=e.AY.iY:e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:n.H1===n.BM?n.AU?e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:e.B0.iY=e.AY.iY:n.AU?e.B0.iY=ZC._i_(e.AY.iY+e.AY.F*(n.B4-n.FW)/(n.H1-n.FW)):e.B0.iY=ZC._i_(e.AY.iY+e.AY.F-e.B0.F-e.AY.F*(n.B4-n.FW)/(n.H1-n.FW))),ZC.AK(e.K+"-handle")?(ZC.A4("#"+e.K+"-bar").css("left",e.AY.iX+"px"),ZC.A4("#"+e.K+"-handle").css("top",e.B0.iY+"px").css("left",e.AY.iX+"px").css(ZC._[20],ZC.BQ(15,e.B0.F)+"px"),e.paint_()):(e.AAX=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-y-bar "+e.C.K+"-scroll-y-bar",id:e.K+"-bar",wh:e.AY.I+"/"+e.AY.F,tl:e.AY.iY+"/"+e.AY.iX,opacity:0,p:r}),e.A04=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-y-handle "+e.C.K+"-scroll-y-handle",id:e.K+"-handle",wh:e.AY.I+"/"+ZC.BQ(15,e.B0.F),tl:e.B0.iY-2+"/"+e.AY.iX,background:"#fff",opacity:0,p:r}),e.A04.style.cursor="pointer",e.paint_(),e.JI||e.bind()))}zoom(e){for(var t,n,i,r=this,a={graphid:r.C.K,zooming:e,scroll:!0},o=r.C.BN,l=r.C.BT("k")[0],s=r.C.BT("v")[0],C=0,c=o.length;Cn.C.P.iX+n.C.P.I&&(t.iX=n.C.P.iX+n.C.P.I-t.I),t.iXn.C.P.iY+n.C.P.F&&(t.iY=n.C.P.iY+n.C.P.F-t.F),t.iY1)&&(e.A7N=e.G.KX.join(","),e.G.KX.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41]),e.G.HE)){e.G.HE.C=e.C,e.G.HE.parse();for(var a=r.target;a&&"BODY"!==a.tagName.toUpperCase();){if(-1!==ZC.Q.TE(a).indexOf("zc-"+e.AF+"-handle"))break;a=a.parentNode}if((ZC.mobile||!(r.which>1))&&a){var o=ZC.Q.MK(r),l=ZC.A4("#"+t+"-top").offset();if("scroll-x"===e.AF||"scroll-yi"===e.AF){var s=o[0]-l.left;n=s-e.B0.iX}else{var C=o[1]-l.top;i=C-e.B0.iY}return ZC.A4(document.body).bind("mousemove touchmove",e.RO),ZC.A4(document.body).bind("mouseup touchend",e.NS),e.JI=!0,!1}}},e.RO=function(r){if(e.JI){e.setScrollingFlag(!1);var a=ZC.Q.MK(r),o=ZC.A4("#"+t+"-top").offset();if("scroll-x"===e.AF||"scroll-yi"===e.AF){var l=a[0]-o.left;l-ne.AY.iX+e.AY.I&&(l>e.AY.iX+e.AY.I+15&&e.overscroll("scroll-x-right"),l=e.AY.iX+e.AY.I+n-e.B0.I),e.update(l-n)}else{var s=a[1]-o.top;s-ie.AY.iY+e.AY.F&&(s>e.AY.iY+e.AY.F+15&&e.overscroll("scroll-y-bottom"),s=e.AY.iY+e.AY.F+i-e.B0.F),e.update(s-i)}}return!1},e.NS=function(t){return e.G.KX=e.A7N.split(","),e.JI&&(ZC.A4(document.body).unbind("mousemove touchmove",e.RO),ZC.A4(document.body).unbind("mouseup touchend",e.NS),e.JI=!1,e.setScrollingFlag(!1),t&&e.zoom(!1)),!1},e.RN=function(n){e.JI=!1,e.setScrollingFlag(!1);var i=ZC.Q.MK(n),r=ZC.A4("#"+t+"-top").offset();"scroll-x"===e.AF||"scroll-yi"===e.AF?i[0]-r.left>e.B0.iX?e.update(ZC.CX(e.AY.iX+e.AY.I-e.B0.I-2*e.B0.AT,e.B0.iX+(i[0]-r.left-e.B0.iX)/4)):e.update(ZC.BQ(e.AY.iX,i[0]-r.left+(e.B0.iX-i[0]+r.left-e.B0.I)/4)):i[1]-r.top>e.B0.iY?e.update(ZC.CX(e.AY.iY+e.AY.F-e.B0.F-2*e.B0.AT,e.B0.iY+(i[1]-r.top-e.B0.iY)/4)):e.update(ZC.BQ(e.AY.iY,i[1]-r.top+(e.B0.iY-i[1]+r.top-e.B0.F)/4)),e.zoom(!1)},ZC.A4("."+e.C.K+"-"+e.sTypeE+"-handle").bind("mousedown touchstart",e.RP),ZC.A4("."+e.C.K+"-"+e.sTypeE+"-bar").bind("click",e.RN)}}class A3A extends D0{constructor(e,t){super(e);var n=this;n.BE=e,n.JI=!1,n.Z=null,n.A7N="",n.KW=1,n.H2=1,n.AF="scroll-"+(t||"y")}parse(){var e,t=this;t.K=t.BE.K+"-legend-"+t.AF;var n=t.BE.A.G.B8,i="("+t.BE.A.AF+")";t.AY=new I0(t.BE),n.load(t.AY.o,[i+".legend.scroll.bar",t.AF+".bar"]),null!==ZC._n_(e=t.o.bar)&&t.AY.append(e),t.AY.parse(),t.B0=new I0(t.BE),n.load(t.B0.o,[i+".legend.scroll.handle",t.AF+".handle"]),null!==ZC._n_(e=t.o.handle)&&t.B0.append(e),t.B0.parse()}paint(){var e,t=this;if(!t.JI){t.Z=ZC.AK(t.BE.A.K+"-legend-scroll-c");var n=ZC.AK(t.G.K+"-top");"scroll-y"===t.AF?(t.AY.iX=t.BE.iX+t.BE.I-t.AY.I-1,t.AY.iY=t.BE.EJ,t.AY.F=t.BE.F-(t.BE.KP?t.BE.KP.F:0)-(t.BE.EJ-t.BE.iY),e=Math.ceil(t.BE.B6.length/t.H2-t.BE.EF/t.H2)+1,t.B0.F=t.AY.F/e,t.B0.iY=t.AY.iY,0!==t.BE.D2.min&&(t.B0.iY+=t.BE.D2.min/t.H2*t.B0.F),ZC.AK(t.K+"-legend-handle")?(ZC.A4("#"+t.K+"-legend-handle").css("left",t.AY.iX+"px").css("top",t.B0.iY+"px").css(ZC._[20],t.B0.F-0*t.B0.AT+"px"),ZC.A4("#"+t.K+"-legend-bar").css("left",t.AY.iX+"px").css("top",t.AY.iY+"px"),ZC.A4("#"+t.BE.K+"-frame").css("left",t.BE.iX+"px").css("top",t.BE.EJ+"px"),t.paint_()):(t.AAX=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-y-bar "+t.BE.K+"-scroll-y-legend-bar",id:t.K+"-legend-bar",wh:t.AY.I+"/"+t.AY.F,tl:t.AY.iY+"/"+t.AY.iX,background:"#fff",opacity:0,zidx:1,p:n}),t.A04=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-y-handle "+t.BE.K+"-scroll-y-legend-handle",id:t.K+"-legend-handle",wh:t.AY.I-0*t.B0.AT+"/"+(t.B0.F-0*t.B0.AT),tl:t.B0.iY+"/"+t.AY.iX,background:"#fff",opacity:0,zidx:1,p:n}),t.A04.style.cursor="pointer",t.paint_())):"scroll-x"===t.AF&&(t.AY.iX=t.BE.iX,t.AY.iY=t.BE.iY+t.BE.F-t.AY.F-1,t.AY.I=t.BE.I,e=Math.ceil(t.BE.B6.length/t.KW-t.BE.EF/t.KW)+1,t.B0.I=t.AY.I/e,t.B0.iX=t.AY.iX,0!==t.BE.D2.min&&(t.B0.iX+=t.BE.D2.min/t.KW*t.B0.I),ZC.AK(t.K+"-legend-handle")?(ZC.A4("#"+t.K+"-legend-handle").css("left",t.B0.iX+"px").css("top",t.AY.iY+"px").css(ZC._[19],t.B0.I-0*t.B0.AT+"px"),ZC.A4("#"+t.K+"-legend-bar").css("left",t.AY.iX+"px").css("top",t.AY.iY+"px"),ZC.A4("#"+t.BE.K+"-frame").css("left",t.BE.iX+"px").css("top",t.BE.EJ+"px"),t.paint_()):(t.AAZ=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-x-bar "+t.BE.K+"-scroll-x-legend-bar",id:t.K+"-legend-bar",wh:t.AY.I+"/"+t.AY.F,tl:t.AY.iY+"/"+t.AY.iX,background:"#fff",opacity:0,zidx:1,p:n}),t.ZY=ZC.Q.I5({cls:"zc-abs zc-scroll zc-scroll-x-handle "+t.BE.K+"-scroll-x-legend-handle",id:t.K+"-legend-handle",wh:t.B0.I-0*t.B0.AT+"/"+(t.AY.F-0*t.B0.AT),tl:t.AY.iY+"/"+t.B0.iX,background:"#fff",opacity:0,zidx:1,p:n}),t.ZY.style.cursor="pointer",t.paint_())),ZC.move||t.bind()}}paint_(){var e,t,n=this;"scroll-y"===n.AF?((e=new I0(n)).K=n.BE.K+"-scroll-y-legend-bar",e.copy(n.AY),e.Z=n.Z,e.iX=n.AY.iX,e.iY=n.AY.iY,e.I=n.AY.I,e.F=n.AY.F,e.paint(),(t=new I0(n)).K=n.BE.K+"-scroll-y-legend-handle",t.copy(n.B0),t.Z=n.Z,t.iX=n.AY.iX,t.iY=n.B0.iY,t.I=n.B0.I,t.F=n.B0.F,t.paint()):"scroll-x"===n.AF&&((e=new I0(n)).K=n.BE.K+"-scroll-x-legend-bar",e.copy(n.AY),e.Z=n.Z,e.iX=n.AY.iX,e.iY=n.AY.iY,e.I=n.AY.I,e.F=n.AY.F,e.paint(),(t=new I0(n)).K=n.BE.K+"-scroll-x-legend-handle",t.copy(n.B0),t.Z=n.Z,t.iX=n.B0.iX,t.iY=n.AY.iY,t.I=n.B0.I,t.F=n.AY.F,t.paint())}update(e){var t,n,i,r,a,o,l=this,s=l.BE;if("scroll-y"===l.AF){if(l.B0.iY,e===l.B0.iY)return;l.B0.iY=e,ZC.A4("#"+l.K+"-legend-handle").css("top",e+"px"),t=l.B0.iY-l.AY.iY,r=Math.ceil(s.B6.length/l.H2-s.EF/l.H2)+1,n=l.AY.F/r,o=l.H2}else if("scroll-x"===l.AF){if(l.B0.iX,e===l.B0.iX)return;l.B0.iX=e,ZC.A4("#"+l.K+"-legend-handle").css("left",e+"px"),t=l.B0.iX-l.AY.iX,r=Math.ceil(s.B6.length/l.KW-s.EF/l.KW)+1,n=l.AY.I/r,o=l.KW}i=Math.round(t/n),a=s.B6.length-s.EF,s.B6.length%o&&(a+=o-s.B6.length%o),s.D2.min=Math.min(i*o,a),s.D2.max=s.D2.min+s.EF,s.VF(),s.clear(!1),s.parse(),s.paint(),l.paint_(),l.bind()}unbind(){var e=this;ZC.A4("."+e.BE.K+"-"+e.AF+"-legend-handle").unbind("mousedown touchstart",e.RP),ZC.A4("."+e.BE.K+"-"+e.AF+"-legend-bar").unbind("click",e.RN)}bind(){var e=this,t=e.G.K,n=0,i=0;e.RP=function(r){if(r.preventDefault(),!(r.button>1)){for(var a=r.target;a&&"BODY"!==a.tagName.toUpperCase();){if(-1!==ZC.Q.TE(a).indexOf("zc-"+e.AF+"-handle"))break;a=a.parentNode}if((ZC.mobile||!(r.which>1))&&a){var o=ZC.Q.MK(r),l=ZC.A4("#"+t+"-top").offset();if("scroll-y"===e.AF){var s=o[1]-l.top;i=s-e.B0.iY}else if("scroll-x"===e.AF){var C=o[0]-l.left;n=C-e.B0.iX}return ZC.A4(document.body).bind("mousemove touchmove",e.RO),ZC.A4(document.body).bind("mouseup touchend",e.NS),e.JI=!0,!1}}},e.RO=function(r){if(r.preventDefault(),e.JI){var a=ZC.Q.MK(r),o=ZC.A4("#"+t+"-top").offset();if("scroll-y"===e.AF){var l=a[1]-o.top;l-ie.AY.iY+e.AY.F&&(l=e.AY.iY+e.AY.F+i-e.B0.F),e.update(l-i)}else if("scroll-x"===e.AF){var s=a[0]-o.left;s-ne.AY.iX+e.AY.I&&(s=e.AY.iX+e.AY.I+n-e.B0.I),e.update(s-n)}}return!1},e.NS=function(){return e.G.KX=e.A7N.split(","),e.JI&&(ZC.A4(document.body).unbind("mousemove touchmove",e.RO),ZC.A4(document.body).unbind("mouseup touchend",e.NS),e.JI=!1),!1},e.A49=function(t){(t.detail?-120*t.detail:t.wheelDelta)/120>0?e.update(ZC.BQ(e.AY.iY,e.B0.iY-e.B0.F)):e.update(ZC.CX(e.AY.iY+e.AY.F-e.B0.F,e.B0.iY+e.B0.F))},e.RN=function(n){e.JI=!0;var i=ZC.Q.MK(n),r=ZC.A4("#"+t+"-top").offset();"scroll-y"===e.AF?i[1]-r.top>e.B0.iY?e.update(ZC.CX(e.AY.iY+e.AY.F-e.B0.F,e.B0.iY+e.B0.F)):e.update(ZC.BQ(e.AY.iY,e.B0.iY-e.B0.F)):"scroll-x"===e.AF&&(i[0]-r.left>e.B0.iX?e.update(ZC.CX(e.AY.iX+e.AY.I-e.B0.I,e.B0.iX+e.B0.I)):e.update(ZC.BQ(e.AY.iX,e.B0.iX-e.B0.I))),e.JI=!1},ZC.A4("."+e.BE.K+"-"+e.AF+"-legend-handle").bind("mousedown touchstart",e.RP),ZC.A4("."+e.BE.K+"-"+e.AF+"-legend-bar").bind("click",e.RN)}}class A27 extends DR{constructor(e){super(e);var t=this;t.ON="legend",t.B6=null,t.QE=null,t.NO="x1",t.IT="hide",t.RC="",t.Q2="",t.VA=!1,t.VJ=!1,t.U7="none",t.UZ="header",t.EF=9999,t.DC=null,t.BR=null,t.A03=null,t.A2=null,t.NU=null,t.FQ=null,t.KP=null,t.QP=0,t.MJ=0,t.ZD=!0,t.EJ=0,t.GQ=0,t.sAlign="",t.K3="",t.D2={enabled:!1,min:-1,max:-1,page:-1,pages:-1},t.M8=!1,t.NF=!1,t.NG=-1,t.SF=!1,t.A5P=1,t.X4=0,t.LI=!1,t.Y9=!1,t.ZE=!1,t.Y6=[]}highlightItem(e){var t,n,i=this,r=!1,a=ZC.move,o=i.LI;-1!==e&&(o=i.LI||i.A.AZ.A5[e].LI),i.o.item&&null!==ZC._n_(t=i.o.item["highlight-item"])&&(r=ZC._b_(t),null===ZC._n_(i.o["highlight-legend"])&&null===i.A.AZ.A5[e].o["highlight-legend"]&&(o=r)),(r||o)&&(r&&(i.D["highlight-item"]=e),o&&(i.D["highlight-legend"]=ZC._i_(e)),n=i.scrollTo(ZC._i_(e)),i.VF(),i.clear(!0,n),i.ZD=!0,i.parse(),i.fixPlacement(!0),i.paint(),ZC.move=a)}scrollTo(e){var t,n,i=this,r=!1;return e>=0&&(e=i.D2.max)&&(r=!0,"scroll"===i.U7?(e%(n="scroll-y"===i.DC.AF?i.DC.H2:i.DC.KW)&&(e-=e%n),i.D2.min=e,i.D2.max=e+i.EF,i.D2.max>i.B6.length&&(i.D2.min=i.B6.length-i.EF,i.B6.length%n&&(i.D2.min=i.D2.min+(n-i.B6.length%n)),i.D2.max=i.B6.length)):"page"===i.U7&&(t=Math.floor(e/i.EF),i.D2.min=t*i.EF,i.D2.max=i.D2.min+i.EF,i.D2.page=t+1)),r}parse(){var e,t,n,i,r=this;if(r.D["force-margins"]=!0,r.QP=0,r.MJ=0,null!==ZC._n_(e=r.A.A.D["graph-"+r.A.K+"-legend-info"])&&(r.o.x=e.x-r.A.iX,r.o.y=e.y-r.A.iY),ZC.move)r.FQ&&r.FQ.parse(),r.KP&&r.KP.parse();else{i=r.A.G.B8;var a="("+r.A.AF+")";super.parse(),r.assign_a([["collapse","M8","b"],["minimize","VA","b"],["draggable","VJ","b"],["shared","SF","b"],["overflow","U7"],["max-items","EF","i"],["group","A5P","i"],["drag-handler","UZ"],["highlight-plot","X4","b"],["highlight-legend","LI","b"],["align","sAlign"],["vertical-align","K3"]]),r.M8&&!r.VA&&(r.M8=!1),zingchart.DEV.MEDIARULES&&(r.D["forced-align-position"]||(r.alignPosition({align:r.sAlign,"vertical-align":r.K3,layout:r.NO}),r.D["forced-align-position"]=!0)),r.X4&&null===ZC._n_(r.o["highlight-legend"])&&(r.LI=r.X4),r.BR=new DR(r),i.load(r.BR.o,a+".legend.item"),r.o.item&&null===ZC._n_(r.o.item.visible)&&(r.o.item.visible=!0),r.BR.append(r.o.item),r.BR.parse(),r.A03=new DR(r),i.load(r.A03.o,a+".legend.item-off"),r.o["item-off"]&&null===ZC._n_(r.o["item-off"].visible)&&(r.o["item-off"].visible=!0),r.A03.append(r.o["item-off"]),r.A03.parse(),r.A2=new DU(r),i.load(r.A2.o,a+".legend.marker"),r.o.marker&&null===ZC._n_(r.o.marker.visible)&&(r.o.marker.visible=!0),r.A2.append(r.o.marker),r.A2.D.type="default",r.A2.D["show-marker"]=!0,r.A2.D["show-line"]=!1,null!==ZC._n_(e=r.A2.o.type)&&(r.A2.D.type=e),null!==ZC._n_(e=r.A2.o["show-line"])&&(r.A2.D["show-line"]=ZC._b_(e)),null!==ZC._n_(e=r.BR.o["marker-style"])&&(r.A2.D.type=e),null!==ZC._n_(e=r.BR.o["show-line"])&&(r.A2.D["show-line"]=ZC._b_(e)),null!==ZC._n_(e=r.BR.o["show-marker"])&&(r.A2.o.visible=ZC._b_(e)),r.A2.parse(),r.NU=new DU(r),i.load(r.NU.o,a+".legend.marker-off"),r.o["marker-off"]&&(r.o["marker-off"].visible=!0),r.NU.append(r.o["marker-off"]),r.NU.D.type="default",r.NU.D["show-marker"]=!0,r.NU.D["show-line"]=!1,null!==ZC._n_(e=r.NU.o.type)&&(r.NU.D.type=e),null!==ZC._n_(e=r.NU.o["show-line"])&&(r.NU.D["show-line"]=ZC._b_(e)),null!==ZC._n_(e=r.BR.o["marker-style"])&&(r.NU.D.type=e),null!==ZC._n_(e=r.BR.o["show-line"])&&(r.NU.D["show-line"]=ZC._b_(e)),null!==ZC._n_(e=r.BR.o["show-marker"])&&(r.NU.o.visible=ZC._b_(e)),r.NU.parse(),(null!==ZC._n_(e=r.o.header)||r.VJ||r.VA)&&(r.FQ=new DR(r),r.FQ.ON="legendheader",r.FQ.GN="zc-legend-item "+r.K+"-header",r.FQ.K=r.K+"-header",i.load(r.FQ.o,a+".legend.header"),r.FQ.o.text=r.FQ.o.text||" ",r.FQ.append(e),r.FQ.parse(),r.FQ.AM||(r.FQ=null)),null!==ZC._n_(e=r.o.footer)&&(r.KP=new DR(r),r.KP.ON="legendfooter",r.KP.GN="zc-legend-item "+r.K+"-footer",r.KP.K=r.K+"-footer",i.load(r.KP.o,a+".legend.footer"),r.KP.append(e),r.KP.parse(),r.KP.AM||(r.KP=null));var o=r.A.AZ.A5;null!==ZC._n_(e=r.o.layout)?r.NO=e:25*o.length>r.A.F&&(r.NO="x"+Math.ceil(25*o.length/r.A.F)),null!==ZC._n_(e=r.o[ZC._[54]])&&(r.IT=e),r.RC=r.Q2=r.IT,null!==ZC._n_(r.o.item)&&null!==ZC._n_(e=r.o.item[ZC._[54]])&&(r.RC=e),null!==ZC._n_(r.o.marker)&&null!==ZC._n_(e=r.o.marker[ZC._[54]])&&(r.Q2=e);var l=function(e){if(o[t]&&o[t].FR(0)){var n=ZC.AP.P1(r.BR.o,o[t].o);e=o[t].FR(0).F0(e,n)}return e},s=[];for(r.B6=[],t=0,n=o.length;tr.D2.pages&&(r.D2.page=r.D2.pages,r.D2.min=(r.D2.page-1)*r.EF,r.D2.max=r.D2.page*r.EF-1),r.D2.page=ZC.CX(r.D2.page,r.D2.pages)):"scroll"===r.U7?(e=r.A.D["legend-info"])?(r.D2.min=e.min,r.D2.max=e.max,r.D2.page=e.page):(r.D2.min=0,r.D2.max=r.EF,r.D2.page=1):(r.D2.min=0,r.D2.max="hidden"===r.U7?r.EF:r.B6.length,r.D2.page=1),r.VF(!1),r.B6.sort((function(e,t){return e.D.order-t.D.order})),r.o["reverse-series"]&&r.B6.reverse();var A=.9*r.A.I;null!==ZC._n_(r.o[ZC._[19]])&&(A=r.I);var u=0,p=0,h=-ZC.MAX,Z=-ZC.MAX,d=r.A2.D["show-line"]?3:2,f=0,_=1,g=1;if("float"===r.NO){for(t=0,n=r.B6.length;t=r.D2.max||r.NF)&&r.B6[t].AM){var v=r.B6[t].I+r.B6[t].DT+r.B6[t].E5+d*r.B6[t].DH;Z=ZC.BQ(Z,r.B6[t].F+r.B6[t].E6+r.B6[t].DN),u+v>A?(h=ZC.BQ(h,u),p+=Z,u=v,Z=ZC.BQ(Z,r.B6[t].F+r.B6[t].E6+r.B6[t].DN)):u+=v}h=ZC.BQ(h,u),Z!==-ZC.MAX&&(p+=Z),h!==-ZC.MAX&&(u=h)}else{var m=0;for(t=0,n=r.B6.length;t=r.D2.max||r.NF||(m+=r.B6[t].AM?1:0);var b=ZC.AO.A2V(r.NO,m);for(_=b[0],g=b[1],t=0,n=r.B6.length;t=r.D2.max||r.NF)&&("scroll"!==r.U7||f<=r.EF)||r.B6[t].AM&&(h=ZC.BQ(h,r.B6[t].I+r.B6[t].DT+r.B6[t].E5+d*r.B6[t].DH),Z=ZC.BQ(Z,r.B6[t].F+r.B6[t].E6+r.B6[t].DN),1===g&&(p+=r.B6[t].F+r.B6[t].E6+r.B6[t].DN));u=g*h,p=_*Z}if("page"===r.U7&&f>r.EF&&(r.D2.enabled=!0),"scroll"===r.U7&&f>r.EF&&(r.DC||(!_||_>g?(r.DC=new A3A(r,"y"),i.load(r.DC.o,".scroll-y")):(r.DC=new A3A(r,"x"),i.load(r.DC.o,".scroll-x")),r.DC.append(r.o.scroll),r.DC.KW=_,r.DC.H2=g,r.DC.parse()),r.NF||("scroll-y"===r.DC.AF?u+=r.DC.AY.I:p+=r.DC.AY.F)),r.FQ){var B=r.FQ.I;r.VJ&&"icon"===r.UZ?(B+=15,r.VA&&(B+=25)):r.VA&&(B+=15),u=ZC.BQ(u,B)}r.KP&&(u=ZC.BQ(u,r.KP.I));var D=!1,E=!1;if(null===ZC._n_(r.o[ZC._[19]])&&(r.o[ZC._[19]]=u,D=!0),null===ZC._n_(r.o[ZC._[20]])&&(r.o[ZC._[20]]=p,E=!0),r.iX=-1,r.iY=-1,!ZC.move&&r.FQ&&null!==ZC._n_(e=r.A.A.D["legend"+r.A.L+"-xy-ratio"])){r.locate();var y=r.I+r.EO+r.FN,K=r.F+r.FM+r.FT,F=r.SF?r.A.A:r.A;r.iX=F.I*e[0],r.iX=ZC.BQ(r.iX,1.1),r.o.x=r.iX=ZC.CX(r.iX,F.I-y-2),r.iY=(F.F-r.FQ.F)*e[1],r.iY=ZC.BQ(r.iY,1.1),r.o.y=r.iY=ZC.CX(r.iY,F.F-K-r.FQ.F-2)}if(r.locate(),null!==ZC._n_(r.o.position)&&typeof r.D["position-info"]!==ZC._[31]?(r.D["position-info"][0]>.5&&(r.QP+=r.EO+r.FN),r.D["position-info"][1]>.5?r.MJ+=r.FM+r.FT:(r.FQ&&(r.MJ-=r.FQ.F),r.KP&&(r.MJ-=r.KP.F),r.D2&&r.D2.enabled&&(r.MJ-=20))):((0===r.A.iX||r.iX+r.I/2>r.A.iX+r.A.I/2)&&(r.QP+=r.EO+r.FN),(0===r.A.iY||r.iY+r.F/2>r.A.iY+r.A.F/2)&&(r.MJ+=r.FM+r.FT)),!ZC.move&&(e=r.A.A.D["graph-"+r.A.K+"-legend-info"])&&(e.x&&(r.iX=e.x),e.y&&(r.iY=e.y)),r.GQ=r.F,r.EJ=r.iY,r.FQ&&(r.F+=r.FQ.F,r.EJ+=r.FQ.F,r.MJ+=r.FQ.F),r.KP&&(r.F+=r.KP.F,r.MJ+=r.KP.F),r.D2.enabled&&!r.NF){var x=new DR(r);x.AR=" ",x.append(r.o["page-status"]),null!==ZC._n_(x.o.text)&&""!==x.o.text||(x.o.text="#"),x.parse(),r.F+=x.F+4,r.MJ+=x.F+4}D&&(r.o[ZC._[19]]=null),E&&(r.o[ZC._[20]]=null),r.NF||(r.I+=r.EO+r.FN,r.F+=r.FM+r.FT),r.D["default-width"]&&(r.I=r.D["default-width"])}}alignPosition(e){var t=this;if(null!==ZC._n_(e)){var n=t.A.G.B8.B8.graph.legend,i=e.align||n.align,r=e["vertical-align"]||n["vertical-align"],a=e.layout||n.layout;(i||r)&&("center"===i?(null===ZC._n_(t.o.layout)&&(a=t.o.layout="horizontal"),t.o.position="50% "):t.o.position="left"===i?"0% ":"100% ",t.o.position+="middle"===r?"50%":"bottom"===r?"100%":"0%","horizontal"!==a&&"middle"!==r||(t.o["adjust-layout"]=!0))}}VF(e){var t=this;typeof e===ZC._[31]&&(e=!0),t.A.D["legend-info"]={collapsed:t.NF,min:t.D2.min,max:t.D2.max,page:t.D2.page},e&&(t.A.A.D["graph-"+t.A.K+"-legend-info"]={x:t.iX,y:t.iY})}clear(e,t){null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1);var n=this,i=n.A.K+"-legend-",r=null;ZC.A4("."+i+"item",r).remove(),ZC.A4("."+i+"header",r).remove(),ZC.A4("."+i+"footer",r).remove(),ZC.A4("#"+i+"page-status",r).remove(),e&&!t||(ZC.move||n.unbind(),ZC.A4("."+i+"page-area",r).remove(),ZC.A4("."+i+"header-area",r).remove(),ZC.A4("."+i+"item-area",r).remove(),ZC.A4("."+i+"marker-area",r).remove()),ZC.move?ZC.Q.IP(ZC.AK(i+"c"),n.A.G.AC,n.A.iX,n.A.iY,n.A.I,n.A.F):ZC.Q.IP(ZC.AK(i+"c"),n.A.G.AC,n.iX-2*n.AT-2*n.JZ,n.iY-2*n.AT-2*n.JZ,n.I+4*n.AT+4*n.JZ,n.F+4*n.AT+4*n.JZ),n.DC&&ZC.Q.IP(ZC.AK(i+"scroll-c"),n.A.G.AC,n.A.iX,n.A.iY,n.A.I,n.A.F)}unbind(){var e=this;ZC.A4("#"+e.K+"-frame").die(ZC.Q.BX("mouseover"),e.zc_legend_mouseover).die(ZC.Q.BX("mouseout"),e.zc_legend_mouseout),ZC.A4("#"+e.K+"-move-area").die(ZC.Q.BX(ZC._[47]),e.ZQ),ZC.A4("#"+e.K+"-minimize-area").die(ZC.Q.BX("click"),e.YE),ZC.A4("."+e.K+"-page-area").die(ZC.Q.BX("click"),e.Z3),e.DC&&e.DC.unbind(),e.BR&&e.BR.o.reorder&&ZC.A4("."+e.A.K+"-legend-item-area").die(ZC._[47],e.WJ)}fixPlacement(e){var t=this;if(t.ZD&&null===ZC._n_(t.o.y)||e){if(!t.o.position&&e||(t.iX-=t.QP),t.iX=f.D2.max||f.NF||(v+=f.B6[o].AM?1:0);f.A63=!0,super.paint(),f.FQ&&(f.FQ.iX=f.iX,f.FQ.iY=f.iY,f.FQ.I=f.I,f.FQ.Z=f.FQ.C6=f.Z,f.FQ.paint(),ZC.move||"canvas"!==f.A.A.AC&&f.FQ.EB(),f.VJ&&"icon"===f.UZ&&((i=new DU(f)).Z=f.Z,i.B7="#000",i.B1=1,i.DP="line",i.append(f.o.icon),r=f.FQ.iX+f.FQ.I-10,a=f.FQ.iY+f.FQ.F/2,i.E=[[r-7,a],[r+7,a],null,[r,a-7],[r,a+7],null,[r-6,a-1],[r-6,a+1],null,[r-5,a-2],[r-5,a+2],null,[r+6,a-1],[r+6,a+1],null,[r+5,a-2],[r+5,a+2],null,[r-1,a-6],[r+1,a-6],null,[r-2,a-5],[r+2,a-5],null,[r-1,a+6],[r+1,a+6],null,[r-2,a+5],[r+2,a+5]],i.parse(),i.paint()),f.VA&&((n=new DU(f)).Z=f.Z,n.B7=ZC.AP.A9Q(f.A0,"#fff","#000"),n.B1=1,n.append(f.o.icon),n.DP="line",r=f.FQ.iX+f.FQ.I-10-(f.VJ&&"icon"===f.UZ?20:0),a=f.FQ.iY+f.FQ.F/2,n.E=[[r-7,a-2],[r+2,a-2],[r+2,a+7],[r-7,a+7],[r-7,a-2],[r+2,a-2],null,[r-4,a-5],[r+5,a-5],[r+5,a+4],[r-4,a+4],[r-4,a-5],[r+5,a-5]],n.parse(),n.paint())),f.KP&&(f.KP.iX=f.iX,f.KP.iY=f.iY+f.F-f.KP.F,f.KP.I=f.I,f.KP.Z=f.KP.C6=f.Z,f.KP.paint(),ZC.move||"canvas"!==f.A.A.AC&&f.KP.EB());var m=ZC.AO.A2V(f.NO,v),b=m[0],B=m[1],D=f.I/B,E=f.GQ/b,y=0,K=0;f.QE=[];var F,x=0,I=-ZC.MAX,X=f.A2.D["show-line"]?3:2,w=null,Y=function(t){var n=t;if(null===ZC._n_(e)&&(e=0),g[F]&&g[F].R[e]){var i=ZC.AP.P1(f.BR.o,g[F].o);t=g[F].FR(e).F0(t,i)}return f.Y9=f.Y9||t!==n,t},M=0;for(f.Y9=!1,o=0,l=f.B6.length;o=f.D2.max||f.NF)){var L=new DR(f);L.copy(f.B6[o]),f.D["highlight-legend"]===o&&(L.append({bold:!0}),null!==ZC._n_(f.o.item)&&L.append(f.o.item["highlight-state"])),F=L.D.index;var G=new DR(f);G.ON="legenditem",G.K=f.K+"-item_"+F,G.GN="zc-legend-item "+f.K+"-item",G.copy(L),f.A.D["plot"+F+".visible"]&&"off"!==g[F].o["legend-status"]||G.append(f.A03.o),G.append(g[F].o["legend-item"]),G.F0=Y,G.parse(),G.AM?("float"===f.NO?(I=ZC.BQ(I,L.F),null===ZC._n_(w)?(L.iX=f.iX+f.EO+L.DT+X*L.DH,L.iY=f.EJ+f.FM+L.E6,x=f.EJ):(L.iX=w.iX+w.I+w.E5+L.DT+X*L.DH,ZC._i_(L.iX+L.I+L.E5)>ZC._i_(f.iX+f.I)&&(L.iX=f.iX+f.EO+L.DT+X*L.DH,x+=I+L.E6+L.DN,I=-ZC.MAX),L.iY=x+f.FM+L.E6)):(L.iX=f.iX+(0===K?f.EO:0)+K*D+L.DT+X*L.DH,L.iY=f.EJ+f.FM+y*E+L.E6,++K===B&&(K=0,y++)),w=L,G.iX=L.iX=ZC._i_(L.iX),G.iY=L.iY=ZC._i_(L.iY),G.Z=G.C6=f.Z,G.iX+=f.BJ,G.iY+=f.BH,F===f.NG&&(f.D["calculate-y"]&&(f.D["calculate-y"]=!1,f.D["dragged-offset-y"]=f.D["dragged-y"]-G.iY),G.iY=f.D["dragged-y"]-f.D["dragged-offset-y"]-G.DH/4),G.paint(),typeof f.D.showhide!==ZC._[31]&&null!==ZC._n_(f.D.showhide)||ZC.move||("canvas"!==f.A.A.AC?G.EB():f.Y6.push(G))):M++;var P=f.A2.D.type;null!==ZC._n_(t=g[F].o["legend-marker"])&&null!==ZC._n_(t.type)&&(P=t.type);var N,k=!1;switch("match"!==P&&"inherit"!==P||(k=!0,P=null!==ZC._n_(t=g[F].A2.o.type)?t:"default"),-1!==ZC.AV(["default","square"],P)?N=new I0(f):(N=new DU(f)).DP=P,N.ON="legendmarker",N.append(f.A2.o),f.A.D["plot"+F+".visible"]&&"off"!==g[F].o["legend-status"]||N.append(f.NU.o),N.NJ=g[F].NJ,g[F].AF){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":N.A0=g[F].A0,N.AE=g[F].AE,N.GT=g[F].GT,N.HS=g[F].HS;break;case"scatter":case"hscatter":case"bubble":case"hbubble":N.A0="-1"!==g[F].A2.A0?g[F].A2.A0:g[F].A0,N.AE="-1"!==g[F].A2.AE?g[F].A2.AE:g[F].AE,N.GT=""!==g[F].A2.GT?g[F].A2.GT:g[F].GT,N.HS=""!==g[F].A2.HS?g[F].A2.HS:g[F].HS;break;default:N.A0=g[F].B7,N.AE=g[F].B7}"line"!==N.DP&&"area"!==N.DP||(N.B7=N.A0,N.B1=2),k&&N.append(g[F].A2.o),N.o["line-style"]="solid",N.o.type=N.DP,N.append(g[F].o["legend-marker"]),k&&(N.o.type=N.DP),N.D["show-marker"]=!0,N.D["show-line"]=!1,null!==ZC._n_(t=N.o["show-line"])&&(N.D["show-line"]=ZC._b_(t)),null!==ZC._n_(t=G.o["show-line"])&&(N.D["show-line"]=ZC._b_(t)),null!==ZC._n_(t=G.o["show-marker"])&&(N.o.visible=ZC._b_(t)),-1!==ZC.AV(["default","square"],P)&&null!==ZC._n_(t=N.o[ZC._[21]])&&(null===ZC._n_(N.o[ZC._[19]])&&(N.o[ZC._[19]]=2*ZC._i_(t)),null===ZC._n_(N.o[ZC._[20]])&&(N.o[ZC._[20]]=2*ZC._i_(t))),N.K=f.K+"-marker_"+F,N.Z=N.C6=f.Z,N.iX=G.iX-X*G.DH+(X-1)*G.DH/2+G.DH/2,N.iY=G.iY+(G.F-G.DH)/2+G.DH/2,N.parse(),f.D["highlight-legend"]===o&&(N.append({size:N.AI+1,width:N.I+2,height:N.F+2}),g[F]&&g[F].R[e]&&g[F].R[e].GI&&N.append({A0:g[F].R[e].GI.A0,AE:g[F].R[e].GI.AE}),null!==ZC._n_(f.o.marker)&&N.append(f.o.marker["highlight-state"]),N.parse()),"line"===N.DP?(N.o.points=[[N.iX-1.75*N.AI,N.iY],[N.iX+1.75*N.AI,N.iY]],N.parse()):"area"===N.DP&&(N.o.points=[[N.iX-1.75*N.AI,N.iY+N.AI],[N.iX+1.75*N.AI,N.iY+N.AI],[N.iX+1*N.AI,N.iY-N.AI/2],[N.iX,N.iY],[N.iX-1.25*N.AI,N.iY-N.AI],[N.iX-1.75*N.AI,N.iY+N.AI]],N.parse());var O=N.iX+N.BJ,R=N.iY+N.BH;if(-1!==ZC.AV(["default","square"],P)&&(N.iX-=N.I/2,N.iY-=N.F/2),f.A.D["plot"+F+".visible"]&&"off"!==g[F].o["legend-status"]||(N.C5/=4),G.AM&&N.D["show-line"]){var T=ZC.Q.E8(f.Z,f.A.G.AC),H=new D0(f);H.Z=f.Z,H.copy(g[F]),H.o["line-style"]=f.A2.GD,H.append(g[F].o),H.append(f.A2.o),H.append(g[F].o["legend-item"]),H.append(g[F].o["legend-marker"]),H.parse(),f.A.D["plot"+F+".visible"]||(H.C5=.25);var S=[],z=N.AM?2:1;s="box"===N.DP?N.I/2:N.AI,S.push([O-z*s-(H.B1>1?1:0),R-(H.B1>1?.5:0)]),S.push([O+z*s,R-(H.B1>1?.5:0)]),H.CY=!0,ZC.CR.paint(T,H,S)}F===f.NG&&(N.iY=f.D["dragged-y"]-f.D["dragged-offset-y"]/2),N.AM&&G.AM&&N.paint(),f.QE.push(N);var Q=!0;if(null!==ZC._n_(t=f.BR.o.toggle)&&(Q=ZC._b_(t)),f.D["item.toggle"]=Q,(G.AM||N.AM)&&-1===ZC.AV(f.A.G.KX,ZC._[41])){var J=N.BJ+("box"===N.DP?N.iX+N.I/2:N.iX),V=N.BH+("box"===N.DP?N.iY+N.F/2:N.iY);s="box"===N.DP?N.I/2:N.AI,C="box"===N.DP?N.F/2:N.AI;var U=(N.D["show-line"]?2:1)*s;ZC.AK(G.K+"-area")||(N.AM&&"disabled"!==f.Q2&&"disabled"!==N.o[ZC._[54]]&&(ZC.AK(N.K+"-area")||ZC.Q.I5({cls:f.K+"-marker-area zc-legend-marker-area zc-abs",id:N.K+"-area",wh:2*U+"/"+2*C,tl:V-C+"/"+(J-U),opacity:0,background:"#fff",cursor:N.IZ,p:_,zidx:1})),G.AM&&"disabled"!==f.RC&&"disabled"!==G.o[ZC._[54]]&&(ZC.AK(G.K+"-area")||ZC.Q.I5({cls:f.K+"-item-area zc-legend-item-area zc-abs",id:G.K+"-area",wh:G.I+"/"+G.F,tl:G.iY+G.BH+"/"+(G.iX+G.BJ),opacity:0,background:"#fff",cursor:G.IZ,p:_,zidx:1})))}}if(f.DC&&!f.NF&&(f.DC.paint(),ZC.AK(f.K+"-scroll-c").style.display="block"),f.DC&&f.NF&&(ZC.AK(f.K+"-scroll-c").style.display="none"),f.D2.enabled&&!f.NF){var W=new DR(f);W.Z=W.C6=f.Z,W.K=f.K+"-page-status",W.AR=ZC.HN["legend-pagination"].replace("%page%",f.D2.page).replace("%pages%",f.D2.pages),W.append(f.o["page-status"]),W.parse(),f.I1?ee[ZC._[0]]:q[ZC._[0]],A.append(f.D2.page>1?f.o["page-on"]:f.o["page-off"]),c=f.iX+f.I/2-W.I/2-6,u=W.iY+W.F/2,A.parse(),A.AI=ZC.BQ(A.AI,8),d=ZC._i_(.75*A.AI),A.E=[[c,u-d],[c,u+d],[c-A.AI,u],[c,u-d]],A.parse(),A.AM&&A.paint(),(h=new DU(f)).Z=h.C6=f.Z,h.K=f.K+"-page-next",h.A0=h.AE=f.D2.page1&&ZC.Q.I5({cls:f.K+"-page-area zc-legend-page-area zc-abs",id:f.K+"-page-prev-area",wh:A.AI+"/"+2*A.AI,tl:ZC._i_(u+A.BH-A.AI)+"/"+ZC._i_(c+A.BJ-A.AI),opacity:0,p:_,zidx:1}),f.D2.page1)){f.A.A.D["graph-"+f.A.K+"-legend-info"]=null;var t=ZC.Q.MK(e),n=ZC.A4("#"+f.A.A.K+"-top").offset();f.P5=t[0]-n.left-f.FQ.iX,f.A0O=t[1]-n.top-f.FQ.iY,f.oldcursor=document.body.style.cursor,document.body.style.cursor="move",ZC.A4(document.body).bind(ZC.Q.BX(ZC._[48]),f.ZR),ZC.A4(document.body).bind(ZC.Q.BX(ZC._[49]),f.A1A)}},f.ZR=function(e){var t=ZC.Q.MK(e),n=ZC.A4("#"+f.A.A.K+"-top").offset(),i=t[0]-n.left-f.P5,r=t[1]-n.top-f.A0O;if(f.SF?(i=ZC.BQ(i,f.G.iX+2),i=ZC.CX(i,f.G.iX+f.G.I-f.I-2),r=ZC.BQ(r,f.G.iY+2),r=ZC.CX(r,f.G.iY+f.G.F-f.F-4)):(i=ZC.BQ(i,f.A.iX+2),i=ZC.CX(i,f.A.iX+f.A.I-f.I-2),r=ZC.BQ(r,f.A.iY+2),r=ZC.CX(r,f.A.iY+f.A.F-f.F-4)),f.SF||(i-=f.A.iX,r-=f.A.iY),f.o.x=i,f.o.y=r,f.o.position=null,f.clear(!0),f.parse(),f.paint(),f.FQ){var a=f.SF?f.A.A:f.A;f.A.A.D["legend"+f.A.L+"-xy-ratio"]=[i/a.I,r/(a.F-f.FQ.F)]}},f.A1A=function(){ZC.move=!1,document.body.style.cursor=f.oldcursor,delete f.oldcursor,ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[48]),f.ZR),ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[49]),f.A1A),f.Y6=[],f.clear(!1),f.parse(),f.paint(),f.VF()},f.Z3=function(e){f.D["default-width"]=null,-1!==(e.targetid||e.target.id).indexOf("-page-next-area")?(f.D2.min+=f.EF,f.D2.max+=f.EF,f.D2.page+=1):(f.D2.min-=f.EF,f.D2.max-=f.EF,f.D2.page-=1),(!(t=f.A.A.D["graph-"+f.A.K+"-legend-info"])||null===ZC._n_(t.x)&&null===ZC._n_(t.y))&&(f.iX=null,f.iY=null),f.VF(),f.A.JW()},f.YE=function(e){var t=f.NF?"legendmaximize":"legendminimize";e&&(f.A.A.D["legend-toggling"]=1),zingchart.exec(f.A.G.K,t,{graphid:f.A.L}),e&&(f.A.A.D["legend-toggling"]=0),e&&(f.A.A.D["g"+f.A.L+"-legend-collapsed"]="legendminimize"===t)},f.MX=function(e){ZC.move=!0;var t=ZC.Q.MK(e),n=ZC.A4("#"+f.A.A.K+"-top").offset(),i=t[0]-n.left,r=t[1]-n.top;f.D["dragged-x"]=i,f.D["dragged-y"]=r,f.VF(),f.clear(!1),f.parse(),f.paint()},f.WJ=function(e){if(e.preventDefault(),f.G.hideCM(),f.IZ=document.body.style.cursor,document.body.style.cursor="move",ZC.mobile||!(e.which>1)){var t=new RegExp("-legend-item_([0-9]+)-area","g").exec(e.target.id);t&&(f.D["dragged-offset-y"]=0,f.D["calculate-y"]=!0,f.D["dragged-x"]=0,f.D["dragged-y"]=0,f.NG=ZC._i_(t[1]),f.iDragPos=ZC.AV(f.A.AZ.MC,f.NG),ZC.A4(document.body).bind(ZC.Q.BX(ZC._[48]),f.MX),ZC.A4(document.body).bind(ZC.Q.BX(ZC._[49]),f.XQ))}},f.XQ=function(){var e=f.NG,t=f.iDragPos;if(f.NG=-1,f.iDragPos=-1,f.D["calculate-y"]=!1,document.body.style.cursor=f.IZ,ZC.move||(e=-1,t=-1),ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[48]),f.MX),ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[49]),f.XQ),ZC.move&&-1!==e){for(var n=f.A.AZ.A5,i=f.A.AZ.MC,r=0,a=n.length;rf.QE[s].iY&&(l=s);for(n[e].o["legend-item"].order=-1===l?.5:n[i[l]].o["legend-item"].order+.5,s=0,C=f.QE.length;st?n[s].o["legend-item"].ordero&&n[s].o["legend-item"].order--:n[s].o["legend-item"].order>n[e].o["legend-item"].order&&n[s].o["legend-item"].ordert?Math.floor(n[e].o["legend-item"].order):Math.ceil(n[e].o["legend-item"].order),s=0,C=f.QE.length;s=o.left&&ZC.DW[0]<=o.left+zingchart.I4[i].I*a[0]&&ZC.DW[1]>=o.top&&ZC.DW[1]<=o.top+zingchart.I4[i].F*a[1]&&(e=!1)}else window.clearInterval(t.Z7);e&&(u(),KB.GUIDES&&KB.GUIDES[n]&&KB.GUIDES[n].active&&(ZC.AP.C0("guide_mouseout",t.G,t.G.FG()),KB.GUIDES[n].active=!1))}),500)),t.QO=function(p){if(zingchart.GUIDE_EV=p,!p.target.id||-1===p.target.id.indexOf("-menu-item-")){var h,Z,d,f,_,g,v,m,b,B,D,E,y,K,F,x,I,X,w,Y,M,L,G,P,N;for(ZC.MAX,ZC.MAX,h=0;h0){t.SI=!0;for(var q=!1,ee=0,te=k.length;ee"),null!==ZC._n_(m.o["footer-text"])&&""===se&&(se=v.F0(m.o["footer-text"],D)+"
")),m.AM&&""!==m.AR&&(ZC._b_(m.o["single-text"])?me.push(v.F0(m.AR,D)):me.push(v.F0(m.AR,D)+"
"))),m.D.pos=ae.length,m.D["node-value"]=v.AD,m.D["marker-x"]=K,m.D["marker-y"]=F,m.D["guide-style"]=v.ZV(),ke){default:null===ZC._n_(m.o.x)?_e.CP?v.iY<=_.iY+_.F/2?(m.iY=F-m.F-L,m.ER="bottom"):(m.iY=F+L,m.ER="top"):v.iX>=_.iX+_.I/2?(m.iX=K-m.I-L,m.ER="right"):(m.iX=K+L,m.ER="left"):m.iX-=_.iX,null===ZC._n_(m.o.y)?_e.CP?(m.iX=K-m.I/2,m.iX<_.iX&&(m.iX=_.iX),m.iX+m.I>_.iX+_.I&&(m.iX=_.iX+_.I-m.I)):(m.iY=F-m.F/2,m.iY<_.iY&&(m.iY=_.iY),m.iY+m.F>_.iY+_.F&&(m.iY=_.iY+_.F-m.F)):m.iY-=_.iY,m.DL=[K,F];break;case"left":m.iX=K-m.I-L,m.iY=F-m.F/2,m.DL=[K,F];break;case"right":m.iX=K+L,m.iY=F-m.F/2,m.DL=[K,F];break;case"top":_e.CP?(m.iX=_.iX+_.I-m.I,m.iY=F-m.F/2,m.ER="left",m.DL=[_.iX+_.I-m.I-L,F]):(m.iX=K-m.I/2,m.iY=_.iY,m.ER="bottom",m.DL=[K,m.iY+m.F+L]);break;case"node-top":_e.CP?(m.iX=K+2*L,m.iY=F-m.F/2,m.ER="left",m.DL=[K+L,F]):(m.iX=K-m.I/2,m.iY=F-m.F-2*L,m.ER="bottom",m.DL=[K,F-L]);break;case"bottom":_e.CP?(m.iX=_.iX,m.iY=F-m.F/2,m.ER="right",m.DL=[_.iX+m.I+L,F]):(m.iX=K-m.I/2,m.iY=_.iY+_.F-m.F,m.ER="top",m.DL=[K,m.iY-L])}re.push({plotindex:v.A.L,nodeindex:v.L,keyvalue:v.BU||_e.X[v.L],value:v.AD,text:m.AR,x:m.iX,y:m.iY,refx:K,refy:F}),-1===ZC.AV(oe,m.AR)&&(s[m]=v,oe.push(m.AR)),_e.CP?m.D.diff=de||-1!==fe?ZC._a_(F-f):-1:m.D.diff=de||-1!==fe?ZC._a_(K-d):-1,m.AM&&ae.push(m),o[ee][h]=m,ne=!0}}if(!v)continue}if(k[ee].CW&&ZC.DS(v.iX,_.iX-1,_.iX+_.I+1)){if((B=new DR(_e)).Z=B.C6=i,B.K=k[ee].K+"-guide-scale-x-label-"+h,B.GN=k[ee].A.K+"-guide-label "+k[ee].K+"-guide-label zc-guide-label",B.A0=B.AE=_e.B7,B.C1=k[ee].AJ["3d"]?"#999":"#fff",B.append(k[ee].CW.o["scale-label"]),B.append(k[ee].CW.o[_e.BF+"-label"]),B.append(k[ee].AZ.A5[h].o["scale-label"]),B.KV=!0,B.D.nodeidx=v.L,D=ZC.AP.P1(B.o),null===ZC._n_(D[ZC._[12]])){var Oe=Math.floor(ZC.H3(null!==v.BU?v.BU:v.L,10));D[ZC._[12]]=Oe<0?1-Oe:0}if(B.F0=function(e){e=_e.F0(e,g,_e.ED&&k[ee].AZ.A5[h].ED?k[ee].AZ.A5[h]:null,D,!0);var t=k[ee].AZ.A5[h].KG;if(v&&t)for(var n in t){var i;i=t[n]instanceof Array?ZC._c_(t[n][v.L],""):ZC._c_(t[n],""),e=e.replace("%data-"+n,i,"g")}return e},B.parse(),L=null!==ZC._n_(B.o.distance)?ZC._i_(B.o.distance):6,B.E4&&B.E4.length&&(B.J0=function(e){return v?v.F0(e,D):e.replace(/(%i)|(%node-index)/g,g)},B.DB()&&B.parse()),B.I6&&v&&(B.GL(B,B,null,v.LG(null,!1),B.N7),B.parse()),he[_e.BF]=B.AR,Fe=ZC._b_(B.o["callout-position"]),xe=B.o.x,Ie=B.o.y,"opposite"!==_e.B9?_e.CP?(Xe="right",Ye=_e.D.iX-B.I-L,we=[_e.D.iX,y],Me=y-B.F/2):(Xe="top",Ye=E-B.I/2,we=[E,_e.D.iY],Me=_e.D.iY+L):_e.CP?(Xe="left",Ye=_e.D.iX+L,we=[_e.D.iX,y],Me=y-B.F/2):(Xe="bottom",Ye=E-B.I/2,we=[E,_e.D.iY],Me=_e.D.iY-B.F-L),Fe||(B.ER=Xe),xe||(B.iX=Ye),Fe||xe||Ie||(B.DL=we),Ie||(B.iY=Me),B.AM&&_e.AM&&""!==B.AR){var Re=!1;if(Ze.length)for(var Te=0;Te0&&Le<=1&&(k[ee].CW.B1=ZC._i_(Le*_e.A9)),_e.CP?Ce.push([de||-1!==fe?ZC._a_(y-f):-1,[null,[_e.D.iX,y],[k[ee].P.iX+("opposite"===_e.B9?0:k[ee].P.I),y]]]):Ce.push([de||-1!==fe?ZC._a_(E-d):-1,[null,[E,_e.D.iY],[E,k[ee].P.iY+("opposite"===_e.B9?k[ee].P.F:0)]]])}if(ge=k[ee].BK(k[ee].AZ.A5[h].BT("v")[0]),-1===ZC.AV(ue,ge.BF)&&k[ee].HB&&("xy"===k[ee].AJ.layout&&ZC.DS(f,ge.iY,ge.iY+ge.F)||"yx"===k[ee].AJ.layout&&ZC.DS(f,ge.iX,ge.iX+ge.I))){var He="single";k[ee].HB.o.type&&"multiple"===k[ee].HB.o.type&&(He="multiple"),"multiple"===He&&null!==ZC._n_(pe[h])&&(ge.CP?d=pe[h].x:f=pe[h].y),(B=new DR(ge)).Z=B.C6=i,B.K=k[ee].K+"-guide-scale-y-label-"+h,B.GN=k[ee].A.K+"-guide-label "+k[ee].K+"-guide-label zc-guide-label";var Se=ge.B7;"multiple"===He&&(Se=k[ee].AZ.A5[h].B7),B.A0=B.AE=Se,B.C1=k[ee].AJ["3d"]&&"multiple"!==He?"#999":"#fff",B.append(k[ee].HB.o["scale-label"]),B.append(k[ee].HB.o[ge.BF+"-label"]),B.KV=!0;var ze=ge.CP?ge.KZ(d,!0):ge.KZ(f,!0),Qe=ze;D=ge.LV(),ZC._cp_(ZC.AP.P1(B.o,ge.o),D),null===ZC._n_(D[ZC._[12]])&&(Oe=Math.floor(ZC.H3(ze,10)),D[ZC._[12]]=Oe<=0?1-Oe:0),ze=ge.FB(0,ze,D),B.o.text=ze,B.parse(),L=null!==ZC._n_(B.o.distance)?ZC._i_(B.o.distance):6,B.E4&&B.E4.length&&(B.J0=function(e){return e.replace(/(%v)|(%scale-value)/g,Qe).replace(/(%t)|(%scale-text)/g,ze).replace(/(%coord)/,ge.CP?d:f)},B.DB()&&B.parse()),B.I6&&v&&(Be={value:Qe,text:ze,coord:ge.CP?d:f},B.GL(B,B,null,Be,B.N7),B.parse()),he[ge.BF]=B.AR,Fe=ZC._b_(B.o["callout-position"]),xe=B.o.x,Ie=B.o.y,"opposite"!==ge.B9?ge.CP?(Xe="top",Ye=d-B.I/2,Me=ge.D.iY+L,we=[d,ge.D.iY]):(Xe="right",Ye=ge.D.iX-B.I-L,Me=f-B.F/2,we=[ge.D.iX,f]):ge.CP?(Xe="bottom",Ye=d-B.I/2,Me=ge.D.iY-B.F-L,we=[d,ge.D.iY]):(Xe="left",Ye=ge.D.iX+L,Me=f-B.F/2,we=[ge.D.iX,f]),Fe||(B.ER=Xe),xe||(B.iX=Ye),Fe||xe||Ie||(B.DL=we),Ie||(B.iY=Me),B.AM&&ge.AM&&(B.D.diff=-1,Ae.push(B),"multiple"===He&&null!==ZC._n_(pe[h])||ue.push(ge.BF),l[ee][h]=B,ne=!0),-1!==String(k[ee].HB.o[ZC._[4]]).indexOf("%")&&(Le=ZC.IQ(k[ee].HB.o[ZC._[4]]))>0&&Le<=1&&(k[ee].HB.B1=ZC._i_(Le*ge.A9)),ge.CP?ce.push(null,[d,ge.D.iY],[d,k[ee].P.iY+("opposite"===ge.B9?k[ee].P.F:0)]):ce.push(null,[ge.D.iX,f],[k[ee].P.iX+("opposite"===ge.B9?0:k[ee].P.I),f])}}if(!de&&Ae.length>1)for(var Je=Ae[Ae.length-1],Ve=ZC._i_((Je.FM+Je.FT+Je.EO+Je.FN)/4),Ue=Ae.length-1;Ue>=0;Ue--)for(var We=Ue;We>=0;We--)Ue!==We&&ZC.AO._boxoverlap2_(Ae[Ue],Ae[We],-Ve)&&(Ae[We].C5=.3,Ae[We].VL=.1);for(b=ZC.MAX,h=0,Z=ae.length;h=0&&(b=ZC.CX(ae[h].D.diff,b));-1!==fe&&(b=ZC.BQ(b,fe));var je=!1,$e=1,qe=!1;ae[0]&&(qe=ZC._b_(ae[0].o["single-text"]),ae[0].o["table-columns"]&&ZC._b_(ae[0].o["html-mode"])&&(je=!0,$e=ZC._i_(ae[0].o["table-columns"]||"1"),be+='')),!ve&&ae.length>0&&("asc"!==ae[0].o["sort-by-value"]&&"desc"!==ae[0].o["sort-by-value"]||ae.sort((function(e,t){return(e.D["node-value"]-t.D["node-value"])*("asc"===ae[0].o["sort-by-value"]?1:-1)})));var et=0;for(P=0,N=ae.length;P"),be+="",et%$e==$e-1&&(be+=""),et++):be+=me[ae[P].D.pos],je||!qe));P++);if(je&&(et%$e!=$e-1&&(be+=""),be+="
"+me[P]+"
"),""!==se&&(be+=se),!ve&&ae.length>0&&(d=K=E,f=F=y,""!==be&&(ae[0].o.text=je||qe?be:be.substring(0,be.length-4),ae[0].parse()),L=null!==ZC._n_(m.o.distance)?ZC._i_(m.o.distance):6,null===ZC._n_(m.o.x)?_e.CP?d=_.iX+_.I/2?ae[0].iX=K-ae[0].I-L:ae[0].iX=K+L:ae[0].iX-=_.iX,null===ZC._n_(m.o.y)?_e.CP?ie&&ie.iY>=_.iY+_.F/2?ae[0].iY=F-ae[0].F-L:ae[0].iY=F+L:f0){var it=[];for(b=ZC.MAX,x=0,I=Ce.length;x=0&&(b=ZC.CX(Ce[x][0],b));for(-1!==fe&&(b=ZC.BQ(b,fe)),x=0,I=Ce.length;x1&&it[1]&&(rt=it[1][0]||-1),k[ee].CW.oMask||(k[ee].CW.oMask=new I0(k[ee]),k[ee].CW.oMask.append({"background-color":"#fff",alpha:.85}),k[ee].CW.oMask.append(k[ee].CW.o.mask),k[ee].CW.oMask.Z=i,k[ee].CW.oMask.parse()),k[ee].CW.oMask.iX=rt,k[ee].CW.oMask.iY=k[ee].P.iY,k[ee].CW.oMask.I=Math.max(2,k[ee].P.iX+k[ee].P.I-rt+2),k[ee].CW.oMask.F=k[ee].P.F,k[ee].CW.oMask.paint()}if(k[ee].AJ["3d"])for(k[ee].NH(),x=0,I=it.length;x0){if(k[ee].AJ["3d"])for(k[ee].NH(),x=0,I=ce.length;x=0;h--)ZC.DS(ae[h].DL[0],_.iX-5,_.iX+_.I+5)&&ZC.DS(ae[h].DL[1],_.iY-5,_.iY+_.F+5)||ae.splice(h,1);if(ae.length>1)for(var at=!0;at;)for(at=!1,h=0;hae[h+1].iX||!ge.CP&&ae[h].iY>ae[h+1].iY)){var ot=ae[h];ae[h]=ae[h+1],ae[h+1]=ot,at=!0}if(ae.length>0){var lt=[],st=[];for(h=0;h_.iX+_.I)for(At=ae[h+1].iX-(_.iX+_.I-ae[h+1].I),Ct=0,ct=ae.length;Ct=_.iX?ae[Ct].iX-=At:(ae[Ct].iX=_.iX,Ct>0&&(ae[h+1].D["marker-y"]<_.iY+_.F/2?ae[Ct].iY=ae[Ct-1].iY+ae[Ct-1].F+4:ae[Ct].iY=ae[Ct-1].iY-ae[Ct].F-4));ut=!0}}else if(ae[h+1].iY_.iY+_.F)for(At=ae[h+1].iY-(_.iY+_.F-ae[h+1].F),Ct=0,ct=ae.length;Ct=_.iY?ae[Ct].iY-=At:(ae[Ct].iY=_.iY,Ct>0&&(ae[h+1].D["marker-x"]<_.iX+_.I/2?ae[Ct].iX=ae[Ct-1].iX+ae[Ct-1].I+4:ae[Ct].iX=ae[Ct-1].iX-ae[Ct].I-4));ut=!0}}}var Zt=!1;for(h=0,Z=Ae.length;h=0&&(b=ZC.CX(ae[P].D.diff,b));for(-1!==fe&&(b=ZC.BQ(b,fe)),Y=0,P=0,N=ae.length;P1&&vt.paint()}}}(G=k[ee].I1()).items=re,G.guide={x:K,y:F},G.ev=p,G["scale-label"]=he,ZC.AP.C0("guide_mousemove",t.G,G),k[ee].PU(!0)}else(G={}).guide={x:K,y:F},G.ev=p,ZC.AP.C0("guide_mousemove",t.G,G)}}}}}},t.zc_guide_touchend=function(){0!==zingchart.DEV.GUIDETIMEOUT&&window.setTimeout((function(){u()}),ZC._i_(zingchart.DEV.GUIDETIMEOUT))},ZC.A4(document.body).bind("mousemove touchstart touchmove",t.QO),ZC.A4(document.body).bind("touchend",t.zc_guide_touchend)}}KB.clearGuide=function(e){var t=zingchart.getLoader(e);if(t){zingchart.GUIDE_EV=null;var n=ZC.AK(e+"-guide-c"),i=ZC.A4(n).width(),r=ZC.A4(n).height();ZC.A4("."+e+"-guide-label").remove(),ZC.Q.IP(n,t.AC,0,0,i,r),ZC.A4("#"+e+"-defs").children().each((function(){this.id&&-1!==this.id.indexOf("-guide-label-")&&ZC.Q.ET(this.id)}))}},zingchart.extendAPI("resetguide",(function(e,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t)),KB.GUIDES[e]=KB.GUIDES[e]||{},KB.GUIDES[e].blocked=!1,KB.clearGuide(e)})),zingchart.extendAPI("setguide",(function(e,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t));var n,i,r=zingchart.getLoader(e),a=r.C7(t[ZC._[3]]),o=a.BK(ZC._[50]);"xy"===a.AJ.layout?(n=t.x||o.AX(t.keyvalue),i=a.iY+a.F/2):(n=a.iX+a.I/2,i=t.y||o.AX(t.keyvalue));var l={_pageX_:n,_pageY_:i,type:ZC.mobile?"touchstart":ZC._[48],target:{id:e+"-img"}};KB.GUIDES=KB.GUIDES||{},KB.GUIDES[e]=KB.GUIDES[e]||{},KB.GUIDES[e].blocked=!0,KB.clearGuide(e),l.fromAPI=!0,r.D4.QO(l)}));class AAV extends ZCClass{constructor(e,t){var n=this;n.o=null,n.C=e,n.OA=t}parse(){var e,t=this;t.o=t.C.o;var n,i,r,a,o,l,s,C,c,A=t.OA,u="\r\n",p=",",h=!1,Z=null,d=null,f=null,_=null,g=null,v=!1,m=!1,b=null,B={};if(null!==ZC._n_(e=t.o["html5-csv"])&&(B=e),null!==ZC._n_(e=t.o.csv)&&(B=e),null!==ZC._n_(e=B.separator)&&(p=e),null!==ZC._n_(e=B.mirrored)&&(h=ZC._b_(e)),null!==ZC._n_(e=B.title)&&(Z=ZC._b_(e)),null!==ZC._n_(e=B["string-values"])&&(m=ZC._b_(e)),h?(null!==ZC._n_(e=B["horizontal-labels"])&&(f=ZC._b_(e)),null!==ZC._n_(e=B["vertical-labels"])&&(d=ZC._b_(e))):(null!==ZC._n_(e=B["horizontal-labels"])&&(d=ZC._b_(e)),null!==ZC._n_(e=B["vertical-labels"])&&(f=ZC._b_(e))),null!==ZC._n_(e=B["smart-scales"])&&(_=ZC._b_(e)),null!==ZC._n_(e=B["separate-scales"])&&(g=ZC._b_(e)),null!==ZC._n_(e=B["keyval-format"])&&(v=ZC._b_(e)),null!==ZC._n_(e=B.columns)&&(b=e),null!==ZC._n_(b)&&b.length>0){n=[],null!==ZC._n_(e=B["row-separator"])?u=e:A.split(/\n/).length>0?u="\n":A.split(/\r/).length>0&&(u="\r");var D=A.split(u),E=0;for(a=0,o=D.length;a1&&1===I[0].length?(null===ZC._n_(t.o.title)?t.o.title={text:I[0][0]}:null===ZC._n_(t.o.title.text)&&(t.o.title.text=I[0][0]),Z=!0):Z=!1),Z&&X++,h){for(n=[],Z&&n.push(I[0]),l=X,s=I.length;l.75}d&&(M=I[X],X++);var G=[];if(null===ZC._n_(f))if(d&&-1!==M[0].indexOf("\\"))f=!0;else{var P="";for(l=X,s=I.length;l.75}if(f){for(l=X,s=I.length;l0)&&n.push(i.BN[r]);return n}BK(e){for(var t=this,n=0,i=t.BN.length;n0?r[0]:"",o=r.length>1?r[1]:"",l=r.length>0?r[2]||r[0]:"",s=r.length>1?r[3]||r[1]:"";"dynamic"===e.P.o[ZC._[57]]&&(a="dynamic"),"dynamic"===e.P.o[ZC._[58]]&&(o="dynamic"),"dynamic"===e.P.o[ZC._[59]]&&(l="dynamic"),"dynamic"===e.P.o[ZC._[60]]&&(s="dynamic"),e.P.o.margin=[a,o,l,s].join(" ")}if(e.D["plotarea-margins"]?e.P.o.margin=e.D["plotarea-margin"]:(e.D["plotarea-margins"]=!0,e.D["plotarea-margin"]=e.P.o.margin,e.D["plotarea-margin-top"]=e.P.o[ZC._[57]],e.D["plotarea-margin-right"]=e.P.o[ZC._[58]],e.D["plotarea-margin-bottom"]=e.P.o[ZC._[59]],e.D["plotarea-margin-left"]=e.P.o[ZC._[60]]),typeof e.D["plotarea-p-x"]!==ZC._[31]&&(e.P.D["p-x"]=e.D["plotarea-p-x"],e.P.D["p-y"]=e.D["plotarea-p-y"],e.P.D["p-width"]=e.D["plotarea-p-width"],e.P.D["p-height"]=e.D["plotarea-p-height"]),null!==ZC._n_(e.P.o["adjust-layout"])&&ZC._b_(e.P.o["adjust-layout"])&&(e.P.o.margin="dynamic"),e.P.parse(),e.AJ["3d"]&&!e.EY.true3d){var C=ZC._a_(ZC._i_(e.EY.depth*ZC.EN(e.EY.angle)));e.P.iY+=C,e.P.F-=C,e.P.I-=ZC._i_(e.EY.depth*ZC.EE(e.EY.angle))}if(typeof e.D["plotarea-p-x"]!==ZC._[31])for(var c=0,A=e.BN.length;c||
|\n/).length),"top"===u||"bottom"===u){if(h=ZC.BQ(h,.465*Z.DH+1.025*ZC._a_(ZC.EN(Z.AA))*ZC.BQ(Z.I,Z.F)),c=Z.I,A=h,o&&"k"===p.AF){l[p.BF]||(l[p.BF]=[]);var f=null===ZC._n_(Z.o["auto-align"])||ZC._b_(Z.o["auto-align"]),_=.465*Z.DH+1.025*ZC._a_(ZC.EE(Z.AA))*ZC.BQ(Z.I,Z.F);"default"===p.B9?(f&&(ZC.DS(ZC._ang_(Z.AA),90,180)||ZC.DS(ZC._ang_(Z.AA),270,360))&&l[p.BF].push(_),f||l[p.BF].push(_/2)):(f&&(ZC.DS(ZC._ang_(Z.AA),0,90)||ZC.DS(ZC._ang_(Z.AA),180,270))&&l[p.BF].push(_),f||l[p.BF].push(_/2))}}else c=h=ZC.BQ(h,.465*Z.DH+1.025*ZC._a_(ZC.EE(Z.AA))*ZC.BQ(Z.I,Z.F)),A=Z.F;var g=new DR(p);g.copy(p.M),g.AR=p.M.AR,g.parse(),""!==g.AR&&g.AM&&(A+=g.AA%180==0?g.F:g.I,c+=g.AA%180==0?g.I:g.F)}if(i.o.plotarea||(i.o.plotarea={}),("dynamic"===i.o.plotarea["margin-"+u]||i.P.D["d-margin-"+u])&&(i.P.D["d-margin-"+u]=!1,a[u]=!0,i.o.plotarea["margin-"+u]="0"),a[u]){i.o.plotarea["margin-"+u]=ZC._f_(i.o.plotarea["margin-"+u]||"0"),i.D[p.BF+"-distance"]=i.o.plotarea["margin-"+u];var v=("top"===u||"bottom"===u?ZC._i_(A):ZC._i_(c))+10+(i.AJ["3d"]?20:0);if(p.VV?i.o.plotarea["margin-"+u]=ZC.BQ(i.o.plotarea["margin-"+u],v):i.o.plotarea["margin-"+u]+=v,null!==ZC._n_(i.o.plotarea["margin-"+u+"-offset"])&&(i.o.plotarea["margin-"+u]+=ZC._i_(i.o.plotarea["margin-"+u+"-offset"])),!i.A.TZ){var m={},b=i.A.DE.watermark;i.A.B8.load(m,"loader.gui.watermark"),b&&ZC._cp_(b,m),1===i.A.o[ZC._[16]].length&&i.A.o[ZC._[16]][0].gui&&(e=i.A.o[ZC._[16]][0].gui.watermark)&&ZC._cp_(e,m);var B=m.position||"br";-1===ZC.AV(["tl","tr","br","bl"],B)&&(B="br"),("bottom"!==u||"bl"!==B&&"br"!==B)&&("top"!==u||"tl"!==B&&"tr"!==B)||(i.o.plotarea["margin-"+u]+=15)}"bottom"===u&&("xy"===i.AJ.layout&&i.IC||"yx"===i.AJ.layout&&i.IH)&&(i.o.plotarea["margin-"+u]+=15),"left"===u&&("xy"===i.AJ.layout&&i.IH||"yx"===i.AJ.layout&&i.IC)&&(i.o.plotarea["margin-"+u]+=15),i.D["plotarea.d-margin-"+u]=!0}}}if(o&&a.left&&null!==ZC._n_(i.o.plotarea[ZC._[60]]))for(var D in l){var E=i.BK(D);for(t=0;t1&&(K=ZC._i_(e[1]))):y=K=ZC._i_(e)),i.P.D.tolerance=y,"svg"===i.G.AC?((e=ZC.AK(i.K+"-clip-shape"))&&e.setAttribute("points",i.LU(y,"svg")),(e=ZC.AK(i.K+"-clip-hover-shape"))&&e.setAttribute("points",i.LU(K,"svg"))):(ZC.A4("#"+i.K+" div").each((function(){""!==this.style.clip&&(this.style.clip=i.LU(y))})),(e=ZC.AK(i.K+"-hover"))&&""!==e.style.clip&&(e.style.clip=i.LU(K)))}for(t=0,n=i.BN.length;t0)for(c.B8.palette=[],i=0;in&&(D-=C.KR.F,b+=C.KR.F)}if(C.MZ&&C.MZ.AM&&C.MZ.o["adjust-layout"]&&(v=!0,(n=C.MZ.iY+C.MZ.F/2)>b+D/2&&(D-=C.MZ.F)),C.BA&&C.BA.AM&&C.BA.o["adjust-layout"]&&(v=!0,"xy"===C.AJ.layout?(n=C.BA.AQ.iY+C.BA.AQ.F/2)>b+D/2?D-=C.BA.AQ.F+C.BA.AQ.DN:(b=C.BA.AQ.iY+C.BA.AQ.F,D-=C.BA.AQ.F):(_=C.BA.AQ.iX+C.BA.AQ.I/2)2?"v":C.BE.F/C.BE.I>2||Math.max(X.Left*C.F,X.Right*C.F)/Math.max(X.Top*C.I,X.Bottom*C.I)>1?"h":"v",I?I[0]>=.8?x=I[1]<=.2?"v"===w?"top":"right":I[1]>=.8&&"v"===w?"bottom":"right":I[0]<=.2?x=I[1]<=.2?"v"===w?"top":"left":I[1]>=.8&&"v"===w?"bottom":"left":I[1]<=.2?x="top":I[1]>=.8&&(x="bottom"):Math.min(X.Top,X.Bottom)/Math.max(X.Top,X.Bottom)X.Bottom?(x="top",C.BE.E6):(x="bottom",C.BE.DN):X.Left>X.Right?(x="left",C.BE.DT):(x="right",C.BE.E5);var Y=0;"top"===x&&(D=b+D-C.BE.F-C.BE.iY,b=C.BE.iY+C.BE.F),"bottom"===x&&(D-=Y=D-C.BE.iY+b+C.BE.FM+C.BE.FT),"left"===x&&(m+=Y=C.BE.iX-C.iX+C.BE.I,B-=Y),"right"===x&&(B-=Y=B-(C.BE.iX-C.iX)+C.BE.EO+C.BE.FN)}else C.BE&&C.BE.fixPlacement();v&&(C.D["plotarea-p-x"]=m,C.D["plotarea-p-y"]=b,C.D["plotarea-p-width"]=B,C.D["plotarea-p-height"]=D,C.setupPlotArea()),C.setupDynamicPlotArea(),C.AZ.parseLayout&&C.AZ.parseLayout(!0),C.BA&&C.BA.o["adjust-layout"]&&("xy"===C.AJ.layout?(null===ZC._n_(C.BA.JC.x)&&(C.BA.AQ.iX=C.P.iX),null===ZC._n_(C.BA.JC[ZC._[19]])&&(C.BA.AQ.I=C.P.I)):(null===ZC._n_(C.BA.JC.y)&&(C.BA.AQ.iY=C.P.iY),null===ZC._n_(C.BA.JC[ZC._[20]])&&(C.BA.AQ.F=C.P.F)));var M=0;for(i=0;i0&&"canvas"!==C.G.AC&&C.AZ.A5)for(var G=0,P=C.AZ.A5.length;G-1?c.load(C.A8.o,A+".tooltip[dynamic]"):c.load(C.A8.o,A+".tooltip"),C.A8.append(C.o.tooltip),C.A8.QD=!0,C.A8.parse(),null!==ZC._n_(e=C.o.guide)&&(C.o["crosshair-x"]=e),(null!==ZC._n_(e=C.o["crosshair-x"])||c.PY("guide",C.AF)||c.PY("crosshair-x",C.AF))&&C.AJ[ZC._[23]]&&(C.CW=new D0(C),C.CW.ON="crosshairx",c.load(C.CW.o,[A+".guide",A+".crosshair-x"],!0,!0),C.CW.append(e),C.CW.parse(),C.D["guide-on"]=!0),(null!==ZC._n_(e=C.o["crosshair-y"])||c.PY("crosshair-y",C.AF))&&C.AJ[ZC._[23]]&&(C.HB=new D0(C),C.HB.ON="crosshairy",c.load(C.HB.o,[A+".guide",A+".crosshair-y"],!0,!0),C.HB.append(e),C.HB.parse(),C.D["guide-on"]=!0)),C.O7(),ZC.AP.C0("gparse",C.A,C.I1()),null!==ZC._n_(e=C.o.refresh)&&(C.HV={type:"full",interval:10,transport:"http",method:"pull","adjust-scale":!1,"max-ticks":20,"reset-timeout":100,"stop-timeout":0,storage:!1,"storage-size":1e3},ZC._cp_(e,C.HV),C.V0=1),C.MI="parse.complete"}O7(){}PE(){}LU(e,t,n){var i=this,r=(n=n||i.P).iX,a=n.iY,o=n.I,l=n.F;if("svg"===t){if(i.AJ["3d"]){var s,C=[];e=1;var c,A,u,p,h=[],Z=r-ZC.AN.E2,d=a-ZC.AN.E1;s=new CB(i,Z+o/2-e,d-e,ZC.AN.FU),p=ZC._i_(s.EA[1]),s=new CB(i,Z+o/2-e,d-e,0),u=ZC._i_(s.EA[1]),h.push(new CB(i,Z-e,d-e,pA?ZC.AN.FU:0),new CB(i,Z+o+e,d+l+e,c>A?ZC.AN.FU:0)),s=new CB(i,Z+o/2-e,d+l+e,ZC.AN.FU),p=ZC._i_(s.EA[1]),s=new CB(i,Z+o/2-e,d+l+e,0),u=ZC._i_(s.EA[1]),h.push(new CB(i,Z+o+e,d+l+e,p>u?ZC.AN.FU:0),new CB(i,Z-e,d+l+e,p>u?ZC.AN.FU:0)),s=new CB(i,Z-e,d+l/2-e,ZC.AN.FU),c=ZC._i_(s.EA[0]),s=new CB(i,Z-e,d+l/2-e,0),A=ZC._i_(s.EA[0]),h.push(new CB(i,Z-e,d+l+e,c.25;){n=!0;var i=t.LU(0,"svg").split(" ");for(e=0;et.iX+t.I-t.P.E5||ZC._i_(r[1])t.iY+t.F-t.P.DN)&&(n=!1)}n||(t.EY.zoom-=.05),n&&(t.EY.zoom-=.025)}}}build(){var e,t,n,i,r,a,o,l,s=this,C=s.A.I+"/"+s.A.F,c="0/0";if(s.autoFit(),!s.G.usc()){var A=2,u=6;if(null!==ZC._n_(e=s.P.o["mask-tolerance"])&&(e instanceof Array?(A=u=ZC._i_(e[0]),e.length>1&&(u=ZC._i_(e[1]))):A=u=ZC._i_(e)),"svg"===s.A.AC&&s.AJ.clip&&(ZC.Q.ET([s.K+"-clip",s.K+"-clip-hover",s.K+"-clip-preview"]),s.A.KH.appendChild(ZC.Q.XY({id:s.K+"-clip",path:s.LU(A,"svg")})),s.A.KH.appendChild(ZC.Q.XY({id:s.K+"-clip-hover",path:s.LU(u,"svg")})),s.BA)){var p=s.AJ["3d"];s.AJ["3d"]=!1,s.A.KH.appendChild(ZC.Q.XY({id:s.K+"-clip-preview",path:s.LU(0,"svg",s.BA.AQ)})),s.AJ["3d"]=p}var h=!s.AJ.clip,Z=h?null:s.LU(A),d=h?null:"url(#"+s.K+"-clip)",f=h?null:s.LU(u),_=h?null:"url(#"+s.K+"-clip-hover)";if(s.BA&&(r=h?null:s.LU(0,s.A.AC,s.BA.AQ),a=h?null:"url(#"+s.K+"-clip-preview)"),ZC.Q.K4({cls:"zc-abs",id:s.K,p:ZC.AK(s.A.K+"-graphset"),tl:c,wh:C},s.A.AC),s.A.O9.graph&&ZC.Q.HH({cls:ZC._[24]+" zc-persistent",id:s.K+"-c",p:ZC.AK(s.K),wh:C},s.A.AC),ZC.Q.K4({id:s.K+"-plotarea",p:ZC.AK(s.K),tl:c,wh:C,position:"absolute"},s.A.AC),s.o.plotarea&&s.A.O9.plotarea&&ZC.Q.HH({cls:ZC._[24],id:s.K+"-plotarea-c",p:ZC.AK(s.K+"-plotarea"),wh:C},s.A.AC),"null"!==s.AF&&s.A.O9.plots){for(ZC.Q.K4({id:s.K+"-scales-bl",p:ZC.AK(s.K),tl:c,wh:C,position:"absolute","clip-path":d,clip:Z},s.A.AC),t=0;t=0;i--)ZC.AK(s.K+"-plots-bl-"+i)||ZC.Q.K4({id:s.K+"-plots-bl-"+i,p:ZC.AK(s.K),after:ZC.AK(s.K+"-scales-bl"),tl:c,wh:C,position:"absolute","clip-path":d,clip:Z},s.A.AC),(o=ZC.Q.HH({cls:"zc-abs zc-layer zc-bl",id:s.K+"-plot-"+l+"-bl-"+i+"-c",p:ZC.AK(s.K+"-plots-bl-"+i),wh:C},s.A.AC)).setAttribute("data-clip",s.LU(A,"box")),o.style.display="block";for(t=0;t=0;i--)ZC.AK(s.K+"-plots-fl-"+i)||ZC.Q.K4({id:s.K+"-plots-fl-"+i,p:ZC.AK(s.K),after:ZC.AK(s.K+"-scales-ml-"+(s.W0-1)+"-c"),tl:c,wh:C,position:"absolute"},s.A.AC),(o=ZC.Q.HH({cls:"zc-abs zc-layer zc-fl",id:s.K+"-plot-"+l+"-fl-"+i+"-c",p:ZC.AK(s.K+"-plots-fl-"+i),wh:C},s.A.AC)).setAttribute("data-clip",s.LU(u,"box")),o.style.display="block";for(zingchart.DEV.PLOTSHLAYER&&(ZC.Q.K4({id:s.K+"-plots-hover",p:ZC.AK(s.K),tl:c,wh:C,position:"absolute"},s.A.AC),ZC.Q.HH({cls:"zc-abs zc-layer zc-fl",id:s.K+"-plots-hover-c",p:ZC.AK(s.K+"-plots-hover"),wh:C},s.A.AC)),ZC.Q.K4({id:s.K+"-scales-fl",p:ZC.AK(s.K),tl:c,wh:C,position:"absolute","clip-path":d,clip:Z},s.A.AC),t=0;t=0;i--)-1!==A.childNodes[i].className.indexOf(o.K+"-node-area")&&A.removeChild(A.childNodes[i]);ZC.Q.ET(o.A.K+"-map"),ZC.AK(o.A.K+"-top").appendChild(A),ZC.AK(o.A.K+"-img").setAttribute("useMap","#"+o.A.K+"-map")}switch(o.AZ.HX=[],ZC.A4("."+o.K+"-value-box",c).remove(),ZC.A4("."+o.K+"-scale-marker-label",c).remove(),ZC.A4("."+o.K+"-scale-item",c).remove(),ZC.A4("."+o.K+"-scale-label",c).remove(),ZC.A4("."+o.K+"-guide-label",c).remove(),ZC.A4("."+o.K+"-shape-label",c).remove(),ZC.A4("."+o.K+"-mapshape-label",c).remove(),e||ZC.A4("."+o.K+"-preview-item",c).remove(),o.A.AC){case"svg":for(i=0,r=o.AZ.A5.length;i=Z.B4&&g[c].R[a].BU<=Z.BM:g[c].R[a].L>=Z.V&&g[c].R[a].L<=Z.A1)?(s=g[c].R[a].AD,d=Math.min(d,s),f=Math.max(f,s),h?(h=!1,g[c].R[a].BU?m.push([g[c].R[a].BU,0]):m.push(0),p=s):g[c].R[a].BU?m.push([g[c].R[a].BU,100*(s-p)/p]):m.push(100*(s-p)/p)):g[c].R[a].BU?m.push([g[c].R[a].BU,0]):m.push(0);_["p-"+A]=[].concat(m)}if(v>0){for(d=ZC.MAX,f=-ZC.MAX,A=0;A=0&&E[a].TM&&(y=a);if(null!==ZC._n_(y)){var K=E[y].AX(0);for(a=0;a=0&&E[a].TM){var F=E[a].AX(0);if(ZC._a_(F-K)>=1)for(var x=!0,I=0;x;)F>K?E[a].CP?E[a].AU?E[a].A6+=1:E[a].BW+=1:E[a].AU?E[a].BW+=1:E[a].A6+=1:E[a].CP?E[a].AU?E[a].BW+=1:E[a].A6+=1:E[a].AU?E[a].A6+=1:E[a].BW+=1,I++,E[a].GY(),E[a].T8(),(I>(E[a].CP?l.P.I:l.P.F)||ZC._a_(E[a].AX(0)-K)<1)&&(x=!1)}}}for(a=0,o=l.BN.length;a1&&(zingchart.SKIP.EVENT||ZC.AP.C0("load",e.A,e.A.FG()))),e.A.D["fire-complete"]=!0,(e.D["graph-JW"]||e.LW&&e.AZ.A5.length>1)&&(zingchart.SKIP.EVENT||ZC.AP.C0("complete",e.A,e.A.FG()),e.D["graph-JW"]=null)),0!==e.A.QV.length&&e.A.QV[e.A.QV.length-1]===e.A.D.json||(e.A.QV[e.A.O3]!==e.A.D.json&&(e.A.QV.length=e.A.O3+1),e.A.QV[e.A.O3]=e.A.D.json)}JW(e,t){var n=this;null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1),n.A.MQ(n),n.D["graph-JW"]=!0,n.clear(e,t),n.parse(),n.UO&&n.UO(),n.paint(e),n.BA&&n.BA.setScalesInfo(),n.HM=!1,zingchart.SKIP.CSV=!1}TV(ev,E7,FD){if(2!==ev.button){var s=this,C,PL=[""];switch(null!==ZC._n_(FD)&&(PL=FD.split("=")),PL[0]){case"_blank":window.open(E7,"_blank");break;case"_top":window.top.location.href=E7;break;case"_parent":window.parent.location.href=E7;break;case"window":null!==ZC._n_(PL[1])&&""!==PL[1]&&(window.top[PL[1]].location.href=E7);break;case"graph":var YL=null;if("()"===E7.substring(E7.length-2)||"javascript:"===E7.substring(0,11))try{var EH=E7.replace("javascript:","").replace("()","");eval(EH)&&(YL=eval(EH).call(s))}catch(e){}null!==ZC._n_(PL[1])&&""!==PL[1]?"_top"===PL[1]||"_parent"===PL[1]?(s.A.MQ(),YL?zingchart.exec(s.A.K,"setdata",{data:YL}):s.A.load(null,E7)):(C=s.A.OI(PL[1]),C&&(s.A.MQ(C),s.A.D["tr-ev-"+C.L]=!0,s.A.O3++,YL?zingchart.exec(s.A.K,"setdata",{graphid:PL[1],data:YL}):s.A.load(PL[1],E7))):(C=s.A.AH[0],s.A.MQ(C),YL?zingchart.exec(s.A.K,"setdata",{graphid:C.K,data:YL}):(s.A.D["tr-ev-"+C.L]=!0,s.A.O3++,s.A.load(C.K,E7)));break;default:window.location.href=E7}}}HT(e,t,n){var i=this;if(null===ZC._n_(n)&&(n=i.AZ.A5.length-1),null!==ZC._n_(e)&&typeof e!==ZC._[31])return i.AZ.A5[e];if(null===ZC._n_(t)||typeof t===ZC._[31])return i.AZ.A5[n];for(var r=0,a=i.AZ.A5.length;r0){for(v=[],m=0,b=o.E.length;m0?1:-1:0})),s.FO=s.FO.sort((function(e,t){return e.zindex-t.zindex==0?e.index-t.index:e.zindex-t.zindex}))},K2.prototype.Y5=function(e,t){typeof e===ZC._[31]&&(e=!1),typeof t===ZC._[31]&&(t=!1);var n,i=this,r=[i.K+"-objects-bottom-sh-c",i.K+"-objects-bottom-c",i.K+"-objects-top-sh-c",i.K+"-objects-top-c",i.K+"-objects-front-c",i.K+"-objects-print-c"];ZC.SKIPMAPS||r.push(i.K+"-objects-maps-sh-c",i.K+"-objects-maps-c");for(var a=0;a';"top"===t.o[ZC._[7]]?o.push(i):a.push(i)}}function s(e){if(r.FI[e]){var n=r.FI[e],i=n instanceof R5?n.BD:n;if((!ZC.SKIPMAPS||!i.o["map-item"])&&i.AM){if(null!==ZC._n_(t=n.D.hook)){var l=r.OM(t);-1!==l[0]&&(i.iX=ZC._i_(l[0])),-1!==l[1]&&(i.iY=ZC._i_(l[1]))}if(!n.D["3d"]||n.D["3dtx"]){n.Z=r.G.usc()?r.G.mc("top"):ZC.AK(r.K+"-objects-"+(i.JV<0?"bottom":"top")+"-c"),n.C6=r.G.usc()?r.G.mc("top"):ZC.AK(r.K+"-objects-"+(i.JV<0?"bottom":"top")+"-sh-c"),i.o["map-item"]&&(n.Z=r.G.usc()?r.G.mc("top"):ZC.AK(r.K+"-objects-maps-c"),n.C6=r.G.usc()?r.G.mc("top"):ZC.AK(r.K+"-objects-maps-sh-c"));var s="";null!==ZC._n_(t=i.o.limit)&&("x"===t?s="x":"y"===t?s="y":"xy"===t&&(s="xy")),(""===s||"x"===s&&ZC.DS(i.iX-i.BJ,r.P.iX-2,r.P.iX+r.P.I+2)||"y"===s&&ZC.DS(i.iY-i.BH,r.P.iY-2,r.P.iY+r.P.F+2)||"xy"===s&&ZC.DS(i.iX+i.BJ,r.P.iX-2,r.P.iX+r.P.I-2)&&ZC.DS(i.iY+i.BH,r.P.iY-2,r.P.iY+r.P.F+2))&&(n.WW=!1,n.D["print-canvas"]=r.K+"-"+(i.o["map-item"]?"maps":"objects")+ZC._[15],n.paint())}if(!n.KE&&!r.QF&&"normal"===zingchart.OBJECTMODE){var C=i.A1S();if(ZC.AK(r.A.K+"-map"))for(var c=1,A=C.length;c1?"--"+c:"")+ZC._[30]+C[c]+'" data-z-sort="'+i.AA9+'"'+u+" />";"top"===n.o[ZC._[7]]?o.push(p):a.push(p)}}}}}function C(e){var t=r.LQ[e];if(t.AM)if(t.Z=t.C6=r.G.usc()?r.G.mc("top"):ZC.AK(r.K+"-objects-"+(t.JV<0?"bottom":"top")+"-c"),null!==ZC._n_(t.o.repeat)&&ZC._b_(t.o.repeat)){var n=ZC._i_(ZC._c_(t.o.items,0)),i=null;if(t.o.inactive&&((i=new I0(t.A)).copy(t),i.append(t.o.inactive),i.parse(),i.Z=i.C6=t.Z),n>0||i){var a=ZC._i_(ZC._c_(t.o.rows,-1)),o=ZC._i_(ZC._c_(t.o.cols,-1)),l=ZC._i_(ZC._c_(t.o["space-x"],0)),s=ZC._i_(ZC._c_(t.o["space-y"],0)),C=ZC._i_(ZC._c_(t.o["offset-row"],0)),c=ZC._i_(ZC._c_(t.o["offset-col"],0));-1!==a&&-1===o?o=Math.ceil(n/a):-1===a&&-1!==o?a=Math.ceil(n/o):-1===a&&-1===o&&(o=Math.ceil(Math.sqrt(n)),a=Math.ceil(n/o));for(var A=t.iX,u=t.iY,p=t.K,h=0;h0||a.length>0)&&ZC.AK(r.A.K+"-map")){if(r.A5G){var u=function(e,t){return-1!==e.indexOf("data-map")&&-1!==t.indexOf("data-map")?ZC.AP.N6(t)-ZC.AP.N6(e):ZC.AP.N6(e)-ZC.AP.N6(t)};o.sort(u),a.sort(u)}zingchart.DEV.MAPSONBOTTOM?window.setTimeout((function(){ZC.AK(r.A.K+"-map").innerHTML=o.join("")+ZC.AK(r.A.K+"-map").innerHTML+a.join("")}),33):ZC.AK(r.A.K+"-map").innerHTML=o.join("")+ZC.AK(r.A.K+"-map").innerHTML+a.join("")}r.A.D["fire-load"]||ZC.AP.C0("objectsready",r.A,r.I1())},K2.prototype.RB=function(e,t,n,i){var r,a,o,l,s=this;switch(n=n||"hover",e){case"shape":var C=s.FI[t],c=C instanceof R5?C.BD:C;if(null!==ZC._n_(c.o[n+"-state"])){if(!i&&c.o.group)for(o=0,l=s.FI.length;o4096&&n.FH&&"date"===n.FH.o.type&&null!==(B=ZC._nfind_(_,m,0,m.R.length-1))&&(b=m.FR(B,3)),!b)for(B=0,D=m.R.length;B=0;l--)(null!==ZC._n_(C[l].id)&&-1!==ZC.AV(a,C[l].id)||null!==ZC._n_(C[l].cls)&&-1!==ZC.AV(o,C[l].cls)||null!==ZC._n_(C[l]["class"])&&-1!==ZC.AV(o,C[l]["class"])||n.group&&C[l].group===n.group)&&(null!==ZC._n_(C[l].id)&&v.push(C[l].id),C.splice(l,1),u=!0);for(l=0;l=50?P0:1e3*P0,"full"===s.HV.type)"http"===s.HV.transport?ZC.REFRESH_TICK[s.K]=window.setTimeout((function(){s.A.MQ(s),ZC.ZW((function(){s.A.load(s.K,s.AAL)}))}),P0):"websockets"===s.HV.transport&&ZC.websockets&&(s.G.SP[s.K]?"pull"===s.HV.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout((function(){s.G.SP[s.K].send("zingchart.getdata")}),P0)):(ws=new WebSocket(s.HV.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.HV.type),ws.send("zingchart."+s.HV.method),ws.send("zingchart.getdata")},ws.onmessage=function(e){"ready"===s.MI&&(s.A.MQ(s),s.MI="full",ZC.ZW((function(){zingchart.exec(s.A.K,"setdata",{graphid:s.K,data:e.data,softclear:!0})})))},s.G.SP[s.K]=ws));else if("feed"===s.HV.type&&null!==ZC._n_(s.HV.url)){if(null!==ZC._n_(s.HV.curtain)){var OL=s.BT("k");if(OL.length>0&&(ZC.Q.ET(s.K+"-curtain-t"),OL[0].OS>0)){var M7=new DR(s);s.A.B8.load(M7.o,"("+s.AF+").refresh.curtain"),M7.append(s.HV.curtain),M7.parse(),M7.AM&&(OL[0].CP&&M7.F<=OL[0].OS||!OL[0].CP&&M7.I<=OL[0].OS)&&(M7.K=s.K+"-curtain-t",M7.IU=ZC.AK(s.A.K+"-text-top"),OL[0].CP?(M7.F>OL[0].OS&&(M7.AR="",M7.parse()),M7.iX=s.P.iX,M7.iY=OL[0].AU?s.P.iY:s.P.iY+s.P.F-OL[0].OS,M7.I=s.P.I,M7.F=OL[0].OS):(M7.I>OL[0].OS&&(M7.AR="",M7.parse()),M7.iX=OL[0].AU?s.P.iX+s.P.I-OL[0].OS:s.P.iX,M7.iY=s.P.iY,M7.I=OL[0].OS,M7.F=s.P.F),M7.Z=M7.C6=ZC.AK(s.K+"-scales-ml-0-c"),M7.paint())}}var A1J=s.HV.transport,A4V=ZC._i_(s.HV["reset-timeout"]),A5E=ZC._i_(s.HV["stop-timeout"]),AAD=ZC._b_(s.HV.storage),A0R=!0;null!==ZC._n_(s.HV["preserve-data"])&&(A0R=ZC._b_(s.HV["preserve-data"]));var A51=function(KI){for(var U5=eval("("+KI+")"),i,A7,A90=U5 instanceof Array?U5:[U5],r=0,rLen=A90.length;rZC._i_(s.HV["max-ticks"])&&s.o[BF][ZC._[5]].splice(0,1),s.G.o[ZC._[16]][s.L][BF][ZC._[5]].push(DJ[BF]),(s.o[BF][ZC._[5]].length>A4V||1===s.MH[1])&&(s.G.o[ZC._[16]][s.L][BF][ZC._[5]]=[],s.o[BF][ZC._[5]]=[],s.G.D["graph"+s.L+".zoom"]&&(s.G.D["graph"+s.L+".zoom"].xmin=null,s.G.D["graph"+s.L+".zoom"].xmax=null),s.IC&&(s.IC.unbind(),ZC.Q.IP(ZC.AK(s.K+"-scroll-x-c"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A4("#"+s.K+"-scroll-x-handle").remove(),ZC.A4("#"+s.K+"-scroll-x-bar").remove()),s.IH&&(s.IH.unbind(),ZC.Q.IP(ZC.AK(s.K+"-scroll-y-c"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A4("#"+s.K+"-scroll-y-handle").remove(),ZC.A4("#"+s.K+"-scroll-y-bar").remove())),ZC.webstorage&&AAD&&ZC.AP.storage.push("zingchart.scale."+s.K+"."+BF,""+DJ[BF]))}for(i=0,A7=s.AZ.A5.length;iZC._i_(s.HV["max-ticks"])&&s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].splice(0,1)):s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[A44],ZC.webstorage&&AAD&&(H=DJ["plot"+i],"object"==typeof H&&(H=H.join("###")),ZC.AP.storage.push("zingchart.plot."+s.K+".plot"+i,""+H)),(s.o[ZC._[11]][i][ZC._[5]].length>A4V||1===s.MH[1])&&(ZC.AP.C0("feed_clear",s.A,s.I1(),DJ),s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[])}MV=s.A3U()}("ready"===s.MI||s.GB)&&(1===s.MH[1]&&(s.MH[1]=0),(MV<=A5E||0===A5E)&&(s.MI="feed",ZC.ZW((function(){ZC.AK(s.A.K+"-main")&&(ZC.AP.C0("feed_step",s.G,s.I1(),s.o),s.parse(),s.clear(!0),s.UO(),s.paint(!0,!0))}))))};if("http"===A1J||"js"===A1J){var E7=s.HV.url;ZC.REFRESH_TICK[s.K]=window.setTimeout((function(){if(1===s.MH[0]||1===s.MH[1])if(s.A.MQ(s),"http"===A1J){var EV=["query-string"===s.A.N8?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+s.G.AC:""].join("&");ZC.A4.ajax({type:"GET",url:E7,beforeSend:function(e){s.A.S9.data||"http-headers"!==s.A.N8||e.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EV,dataType:"text",error:function(){},success:function(e){A51(e)}})}else if("()"===E7.substring(E7.length-2)||"javascript:"===E7.substring(0,11))try{var EH=E7.replace("javascript:","").replace("()","");eval(EH)&&eval(EH).call(s,(function(e){A51(e)}),s.I1())}catch(e){}}),P0)}else"websockets"===A1J&&ZC.websockets&&(s.G.SP[s.K]?"pull"===s.HV.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout((function(){s.G.SP[s.K].send("zingchart.getdata")}),P0)):(ws=new WebSocket(s.HV.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.HV.type),ws.send("zingchart."+s.HV.method),ws.send("zingchart.startfeed"),"pull"===s.HV.method&&ws.send("zingchart.getdata")},ws.onmessage=function(e){1!==s.MH[0]&&1!==s.MH[1]||A51(e.data)},s.G.SP[s.K]=ws))}}},zingchart.ABX=function(e,t,n){var i;document.getElementById("zc-fullscreen")&&(e="zc-fullscreen"),"string"==typeof(n=n||{})&&(n=JSON.parse(n));var r=zingchart.getLoader(e);if(r){var a=r.C7(n[ZC._[3]]);switch(t){case"clearfeed":a.MH[1]=1,0===a.MH[0]&&ZC.ZW((function(){a.parse(),a.clear(!0),a.UO(),a.paint(!0,!0)}));break;case"getinterval":return a.HV.interval;case"setinterval":ZC.AP.C0("feed_interval_modify",r,a.I1()),a.o.refresh=a.o.refresh||{},a.o.refresh.interval=n.interval||1;break;case"stopfeed":1===a.MH[0]&&(ZC.AP.C0("feed_stop",r,a.I1()),a.MH[0]=0,null!==ZC._n_(i=r.SP[a.K])&&i.send("zingchart.stopfeed"));break;case"startfeed":0===a.MH[0]&&(ZC.AP.C0("feed_start",r,a.I1()),a.MH[0]=1,null!==ZC._n_(i=r.SP[a.K])&&i.send("zingchart.startfeed"),ZC.ZW((function(){a.parse(),a.clear(!0),a.UO(),a.paint(!0,!0)})))}}return null},ZC.AP.A4X=function(e){for(var t={},n=[],i=0,r=(n="object"==typeof e?e:JSON.parse(e)).length;i0){for(var c=0;c1))){var i,r,a,o=n.targetid||n.target.id,l=ZC._b_(t.BE.BR.o.reorder);ZC.mobile&&t.G.A8&&t.G.A8.hide();var s="item";-1!==o.indexOf("-legend-marker_")&&(s="marker"),t.L8(),n.preventDefault();var C=t.BE.IT;"item"===s?C=t.BE.RC:"marker"===s&&(C=t.BE.Q2),t.A.KE&&(C="remove"),t.D["legend-last-trigger"]=s;var c=ZC._i_(o.replace(t.K+"-legend-item_","").replace(t.K+"-legend-marker_","").replace("-area",""));if(t.o[ZC._[11]]&&t.o[ZC._[11]][c]){if(null!==ZC._n_(e=t.o[ZC._[11]][c]["legend-item"])){var A=e.url||"",u=e.target||"";""!==A&&t.TV(n,A,u)}t.o[ZC._[11]][c].visible=!0}var p,h,Z,d=t.AZ.A5[c].T9(n);switch(d.visible=ZC._b_(t.D["plot"+c+".visible"]),ZC.AP.C0("legend_"+s+"_click",t.A,d),C){default:break;case"hide":case"remove":if(n.shiftKey){var f=0;for(i=0,r=t.AZ.A5.length;i=0;t--)typeof i.o[t]===ZC._[31]&&i.o.splice(t,1);if(null===ZC._n_(i.D["plot-sort"])&&(i.D["plot-sort"]=!1),i.o.length>1){for(t=0,n=i.o.length;tr[t+1]["z-index"]){i.D["plot-sort"]=!0;var l=r[t];r[t]=r[t+1],r[t+1]=l;var s=a[t];a[t]=a[t+1],a[t+1]=s,o=!1}i.MC=a}else i.MC=[0];for(i.A5=[],t=0,n=i.o.length;t0)if(e.A5.length>100&&!e.C.LW)for(var n=0;nZC.AP.N6(n)?1:ZC.AP.N6(e)i(n)&&t.A.AJ["3d"]?1:i(e)ZC.AP.N6(n)?1:ZC.AP.N6(e)=10&&(c=1),a.A5.length>=20&&(c=1.25),a.A5.length>=30&&(c=1.5);var A=l.DF;for(t=0,n=a.A5.length;t=0&&p<=90||p>=270&&p<=360?n.iX+n.I-(u.I+25):n.iX+(u.I+25))-i)/ZC.EE(p),r=ZC.CX(r,2*t/n.I),t=n.F/2-(u.F/2+10),r=ZC.CX(r,2*t/n.F)}}r=ZC.BQ(.15,ZC.CX(.85,r)),"auto"===n.o["size-factor"]&&(n.o["size-factor"]=n.JT=r)}}class A86 extends LT{constructor(e){super(e),this.A2Y={}}HO(){return new Y0(this)}paint(){this.A2Y={},super.paint()}}class A7C extends A0Y{HO(){return new TR(this)}}class A6Z extends A10{HO(){return new TS(this)}}class A8L extends LT{HO(){return new XZ(this)}}class A2M extends LT{parse(){var e,t,n,i,r,a=this;for(a.B4=ZC.MAX,a.BM=-ZC.MAX,a.A8A=[],a.SN=[],super.parse(),e=0,t=a.A5.length;e0||r.T7.length>0||r.A2.o["top-state"])&&(r.ZI=!1),r.GA=new D0(r),s.load(r.GA.o,m("hover-marker")),r.GA.append(r.o.marker),r.GA.append(r.o["hover-marker"]),null!==ZC._n_(e=r.o["selected-marker"])&&(r.PV=new D0(r),s.load(r.PV.o,m("selected-marker")),r.PV.append(e)),null!==ZC._n_(e=r.o["background-marker"])&&(r.PS=new D0(r),s.load(r.PS.o,m("background-marker")),r.PS.append(e)),r.ID&&(r.VM=new D0(r),r.VM.append(r.o.marker),null!==ZC._n_(e=r.o["highlight-marker"])&&(s.load(r.VM.o,m("highlight-marker")),r.VM.append(e))),"normal"!==r.A1F&&(r.T5||r.PV)&&(r.IO=!1),"fast"===r.A1F&&(r.IO=!0),r.A8=new DR(r),r.o.tooltip&&r.o.tooltip.placement&&r.o.tooltip.placement.indexOf("node")>-1?s.load(r.A8.o,"("+r.AF+").tooltip[dynamic]"):s.load(r.A8.o,r.AF+".tooltip"),r.A8.append(r.o.tooltip),null!==ZC._n_(e=r.o.error)&&(r.JH=new DU(r),s.load(r.JH.o,m("error")),r.JH.append(e),null===ZC._n_(r.JH.o[ZC._[21]])&&(r.JH.o[ZC._[21]]=4)),null!==ZC._n_(e=r.o[ZC._[17]])){if(e instanceof Array)for(r.U=new D0(r),s.load(r.U.o,m(ZC._[17])),null!==ZC._n_(t=r.C.o.plot)&&r.U.append(t[ZC._[17]]),r.U.append(e[0]),e.length>1&&(r.O4=[]),n=1;n1?(null===ZC._n_(r.X[n][1])||"string"==typeof r.X[n][1]&&"NULL"===r.X[n][1].toUpperCase())&&(_=!0):(null===ZC._n_(r.X[n])||"string"==typeof r.X[n]&&"NULL"===r.X[n].toUpperCase())&&(_=!0),"piano"===r.C.AF&&(_=!1)),_)r.R.push(null);else{!r.IO||"xy"!==r.C.AJ.layout&&"yx"!==r.C.AJ.layout?u=r.FY():r.GS[1]||("bubble"===r.AF||"scatter"===r.AF?r.GS[1]=u=r.FY():(r.GS[0]=r.FY(),r.GS[1]=u=r.FY(),r.GS[2]=r.FY(),r.GS[3]=r.FY())),u.K=r.K+"-node-"+n,"string"==typeof r.X[n]&&zingchart.QUOTEDVALUES&&(r.X[n]=ZC._f_(r.X[n])),u.o={value:r.X[n]},"string"==typeof r.X[n]&&(u.A2W=!0),u.L=n,r.o["hint-ts"]?(u.D.plotidx=r.L,u.D.nodeidx=u.L,u.K=r.K+"-node-"+u.L,u.BU=r.X[n][0],u.AD=r.X[n][1]):u.parse(),(i<256||zingchart.DEV.CHECKDECIMALS)&&null!==ZC._n_(u.AD)&&2===(A=u.AD.toString().split(".")).length&&(f=ZC.BQ(f,A[1].length)),u.BU&&(null!==h&&ZC._a_(u.BU-h)>0&&Z.push(ZC._a_(u.BU-h)),h=u.BU),r.A.XA=r.A.XA||{};var g=r.A.XA["s"+r.DX];if(g&&(null!==h?-1===ZC.AV(g,u.BU)&&g.push(u.BU):-1===ZC.AV(g,n)&&g.push(n)),!r.IO||"xy"!==r.C.AJ.layout&&"yx"!==r.C.AJ.layout)r.R.push(u);else{var v={iX:u.iX,iY:u.iY,L:u.L,BU:u.BU,AD:u.AD,CQ:u.AD,DM:u.DM,JJ:u.JJ};"bubble"===r.AF&&(v.SW=u.SW),r.R.push(v)}null!==u.BU&&(r.QB[0]=Math.min(r.QB[0],u.BU),r.QB[1]=Math.max(r.QB[1],u.BU)),r.C.D["plot"+r.L+".visible"]&&(zingchart.DEV.PLOTSTATS||"100%"===r.KY)&&r.CA&&(null===ZC._n_(r.A.F8[n])?(r.A.F8[n]={},r.A.F8[n]["%total-"+r.DX]=u.AD):null===ZC._n_(r.A.F8[n]["%total-"+r.DX])?r.A.F8[n]["%total-"+r.DX]=u.AD:r.A.F8[n]["%total-"+r.DX]+=u.AD),zingchart.DEV.PLOTSTATS&&(d.push(u.AD),r.K0?(r.K0["%plot-max-index"]=n,r.K0["%plot-sum"]+=u.AD,i<256&&(r.K0["%plot-values"]+=","+u.AD)):r.K0={"%plot-min-index":n,"%plot-max-index":n,"%plot-sum":u.AD,"%plot-values":u.AD},r.A.F8||(r.A.F8={}),r.AM&&(null===ZC._n_(r.A.F8["%pstack-"+n+"-"+r.DX+"-sum"])?(r.A.F8["%pstack-"+n+"-"+r.DX+"-sum"]=u.AD,r.A.F8["%pstack-"+n+"-"+r.DX+"-stack-length"]=1):(r.A.F8["%pstack-"+n+"-"+r.DX+"-sum"]+=u.AD,r.A.F8["%pstack-"+n+"-"+r.DX+"-stack-length"]+=1)))}}(r.X.length<256||zingchart.DEV.CHECKDECIMALS)&&r.K0&&null!==ZC._n_(r.K0["%plot-sum"])&&2===(A=r.K0["%plot-sum"].toString().split(".")).length&&ZC._i_(A[1])>f&&(r.K0["%plot-sum"]=ZC._f_(r.K0["%plot-sum"].toFixed(ZC.CX(20,f)))),zingchart.DEV.PLOTSTATS?(r.K0&&(r.K0["%plot-average"]=r.K0["%plot-sum"]/r.X.length,r.K0["%plot-average"]=ZC._f_(r.K0["%plot-average"].toFixed(ZC.CX(20,f+2)))),d.length>0&&(r.K0["%plot-min-value"]=ZC.YH(d),r.K0["%plot-max-value"]=ZC.A1Y(d))):r.K0={"%plot-min-index":0,"%plot-max-index":r.X.length,"%plot-sum":-1,"%plot-values":"","%plot-average":-1,"%plot-min-value":-1,"%plot-max-value":-1},h&&Z.length>0&&(r.AAQ=ZC.YH(Z),r.A32=ZC.A1Y(Z))}}function m(e){var t=["("+r.AF+").plot."+e];return r.sTypeX&&t.push("("+r.sTypeX+").plot."+e),t}}mapPointsToPreview(e,t){for(var n=this,i=n.C.P,r=n.C.BA.AQ,a=[],o=0,l=e.length;o0||ZC.DS(r.R[t].BU,r.B2.X[r.B2.V],r.B2.X[r.B2.A1]))&&i++;r.SCa.I&&(r.UK=!0),r.N0>=i&&(r.RG=!0)}else r.N0>r.B2.A1-r.B2.V&&(r.RG=!0);r.W=1,r.B2.ED&&r.ED||(i=r.B2.A1-r.B2.V,r.SCa.I&&(r.UK=!0),!r.QU&&i*r.YG>a.I&&(r.W=ZC.BQ(1,ZC._i_(i*r.YG/a.I)))),r.B2.ED&&r.ED&&(r.QU||i*r.YG>a.I&&(r.W=ZC.BQ(1,ZC._i_(i*r.YG/a.I)))),r.C.OH&&(r.QU=!1,r.W*=r.YV)}null!==ZC._n_(r.Y4)&&r.W>r.Y4&&(r.W=r.Y4)}OC(e){var t,n,i,r=this;null!==ZC._n_(e)&&e||(e=!1),r.B2&&"log"===r.B2.C8&&(e=!0),r.VS(e);var a=null;if(e||r.LZ)r.A.A5X=!1,function e(t,n){for(var i=t;i0||ZC.DS(r.R[t].BU,r.B2.X[r.B2.V],r.B2.X[r.B2.A1])||o&&l&&r.R[t+i]&&r.R[t+i].BU>=r.B2.X[r.B2.V])&&(o&&l&&r.R[t-i]&&((a=r.FR(t-i)).Z=r.KK,a.paint(),a.JJ=!0,l=!1,C++),(a=r.FR(t)).Z=r.KK,a.paint(),a.JJ=!0,C++,l=!1,s=t);o&&C>0&&r.R[s+i]&&((a=r.FR(s+i)).Z=r.KK,a.paint(),a.JJ=!0)}else{i=r.G7=r.HK=r.W;var c=0,A=1,u=null;if(!o){var p="vbar"===r.AF?r.C.P.I:r.C.P.F;c=4/("vbar"===r.AF?r.C.P.F:r.C.P.I)*(r.CK.BM-r.CK.B4),A=1+ZC._i_((r.B2.A1-r.B2.V)/(2*p)),i=1}for(t=r.B2.V;t<=r.B2.A1;t+=i)(r.B2.A1-r.B2.V)%r.W!=0&&o&&(r.B2.A1-t==0?(r.G7=i,r.HK=1):r.B2.A1-t<=r.W&&(r.G7=r.W,r.HK=r.B2.A1-t,i=r.B2.A1-t)),r.R[t]?(a=r.FR(t),(o||r.QU||!o&&null===u||ZC._a_(a.AD-u)>c||t%A==0)&&(a.Z=r.KK,a.paint(),a.JJ=!0,r.R[t].JJ=!0),u=a.AD):r.CA&&-1!==ZC.AV(["vbar","hbar","vbar3d","hbar3d"],r.AF)&&r.PR()}}}CN(e,t){var n=this;if(n.UU[e+t])return n.UU[e+t];var i=null;return i=n.G.usc()?ZC.AK(n.G.K+"-main-c"+("fl"===e?"-top":"")):n.G.KE||n.C.AJ["3d"]?ZC.AK(n.C.K+"-plots-"+e+"-c"):ZC.AK(n.C.K+"-plot-"+n.L+"-"+e+"-"+t+"-c"),n.UU[e+t]||(n.UU[e+t]=i),i}T9(e){var t=this;return{id:t.G.K,graphid:t.C.K,graphidx:t.C.L,plotid:t.H6,plotindex:t.L,plottext:t.AR,ev:e?ZC.A4.BX(e):null,xdata:t.KG}}UQ(e,t){ZC.AP.C0("plot_"+t,this.G,this.T9(e))}applyJsRuleSvg(e,t,n){var i;if(i=e.o["js-rule-svg"]){var r=ZC.AK(t),a=ZC.evalFn(i.replace("javascript:","").replace("()",""),window);if(r&&a)try{var o=a.call(this,n);for(var l in o)r.setAttribute(l,o[l])}catch(s){}}}sharedZScale(){var e=this,t=e.C,n=t.P;if(t.o["scale-z"]&&t.D["plot"+e.L+".visible"]){var i,r,a,o,l;if(i=new CB(t,n.iX+n.I-ZC.AN.E2+10,n.iY+n.F-ZC.AN.E1,e.D["z-mid"]),(r=new DR(e)).GN=t.K+"-scale-z-item "+t.K+"-scale-item zc-scale-item",r.K=t.K+"-scale-z-item_"+e.L,r.AR=t.o["scale-z"][ZC._[5]][e.L],r.Z=r.C6=e.G.usc()?e.G.mc():ZC.AK(t.K+"-scales-ml-0-c"),l=ZC.Q.E8(r.Z,e.G.AC),r.IU=e.G.usc()?ZC.AK(e.G.K+"-main"):ZC.AK(e.G.K+"-text"),r.append(t.o["scale-z"].item),r.parse(),r.AA+=r.VR?0:ZC.DG.A3G(t,r),r.iX=i.EA[0],r.iY=i.EA[1],r.o["auto-align"]&&r.VR&&(r.iY-=r.F/2),r.paint(),null===ZC._n_(e.D["scale-z-item-max-width"])&&(e.D["scale-z-item-max-width"]=0),e.D["scale-z-item-max-width"]=ZC.BQ(e.D["scale-z-item-max-width"],r.I),e.D["z-cnt"]===e.D["z-plots"]-1&&t.o["scale-z"].label){var s,C;i=new CB(t,n.iX+n.I-ZC.AN.E2+20+e.D["scale-z-item-max-width"],n.iY+n.F-ZC.AN.E1,ZC.AN.FU/2),(r=new DR(e)).GN=t.K+"-scale-z-label "+t.K+"-scale-label zc-scale-label",r.K=t.K+"-scale-z-label",r.Z=r.C6=e.G.usc()?e.G.mc():ZC.AK(t.K+"-scales-ml-0-c"),l=ZC.Q.E8(r.Z,e.G.AC),r.IU=e.G.usc()?ZC.AK(e.G.K+"-main"):ZC.AK(e.G.K+"-text"),r.append(t.o["scale-z"].label),r.parse(),s=new CB(t,n.iX+n.I-ZC.AN.E2,n.iY+n.F-ZC.AN.E1,0),C=new CB(t,n.iX+n.I-ZC.AN.E2,n.iY+n.F-ZC.AN.E1,ZC.AN.FU);var c=ZC.UB(Math.atan((C.EA[1]-s.EA[1])/(C.EA[0]-s.EA[0])));r.AA+=r.VR?0:c,r.iX=i.EA[0],r.iY=i.EA[1],r.paint()}if(t.o["scale-z"].tick&&((o=new DU(e)).B7="#cccccc",o.B1=1,o.AI=6,o.append(t.o["scale-z"].tick),o.parse(),o.AM&&o.B1>0)){o.K=t.K+"-scale-z-tick-"+e.L;for(var A=[],u=[[n.iX+n.I,n.iY+n.F],[n.iX+n.I+o.AI,n.iY+n.F]],p=0;p0&&o.AM&&(o.A0=o.AE=o.B7,(a=ZC.DG.D9(o,t,n.iX+n.I-ZC.AN.E2-o.B1,n.iX+n.I-ZC.AN.E2,n.iY+n.F-ZC.AN.E1,n.iY+n.F-ZC.AN.E1,0,ZC.AN.FU,"x")).K=t.K+"-scale-z-axis",t.CJ.add(a))),e.D["z-cnt"]>0&&t.o["scale-z"].guide&&((o=new D0(e)).B7="#cccccc",o.B1=1,o.append(t.o["scale-z"].guide),o.parse(),o.B1>0&&o.AM&&(o.A0=o.AE=o.B7,(a=ZC.DG.D9(o,t,n.iX-ZC.AN.E2,n.iX+n.I-ZC.AN.E2,n.iY+n.F-ZC.AN.E1,n.iY+n.F-ZC.AN.E1+o.B1,e.D["z-cnt"]*e.D["z-depth"],e.D["z-cnt"]*e.D["z-depth"],"y")).K=t.K+"-scale-z-guideh-"+e.L,t.CJ.add(a),(a=ZC.DG.D9(o,t,n.iX-ZC.AN.E2,n.iX-ZC.AN.E2,n.iY-ZC.AN.E1,n.iY+n.F-ZC.AN.E1,e.D["z-cnt"]*e.D["z-depth"],e.D["z-cnt"]*e.D["z-depth"]+o.B1,"y")).K=t.K+"-scale-z-guidev-"+e.L,t.CJ.add(a))),t.o["scale-z"].items&&t.o["scale-z"].items.length){(o=new D0(e)).A0=o.AE="#ff9900",o.C5=.25;var h=e.D["z-cnt"]%t.o["scale-z"].items.length;o.append(t.o["scale-z"].items[h]),o.parse(),(a=ZC.DG.D9(o,t,n.iX-ZC.AN.E2,n.iX+n.I-ZC.AN.E2,n.iY+n.F-ZC.AN.E1,n.iY+n.F-ZC.AN.E1,e.D["z-cnt"]*e.D["z-depth"],e.D["z-cnt"]*e.D["z-depth"]+e.D["z-depth"],"z")).K=e.K+"-item-",t.CJ.add(a)}}}gc(){if(this.R)for(var e=0;e1&&"spline"===v&&(v="segmented"),l.B2.ED&&l.ED){for(n=l.W,e=0,t=l.R.length;e0||ZC.DS(l.R[e].BU,l.B2.X[l.B2.V],l.B2.X[l.B2.A1])||p&&l.R[e+n]&&l.R[e+n].BU>=l.B2.X[l.B2.V])&&(p&&l.R[e-n]&&(-1===d&&(d=e-n),f=e-n,p=!1,h++),-1===d&&(d=e),f=e,h++,p=!1,i=e);h>0&&l.R[i+n]&&(-1===d&&(d=i+n),f=i+n,l.R[i+n].JJ=!0)}else d=l.B2.V,f=l.LZ?l.R.length:l.B2.A1;l.W=g;var m=-1;n=l.W;var b=null,B=null,D=0,E=1;for(i=d,s?f-d>l.C.P.F&&(D=4/l.C.P.I*(l.CK.BM-l.CK.B4),E=ZC._i_((f-d)/(4*l.C.P.F))):f-d>l.C.P.I&&(D=4/l.C.P.F*(l.CK.BM-l.CK.B4),E=ZC._i_((f-d)/(4*l.C.P.I))),l.o["sampling-threshold"]&&(D*=Math.max(1,(f-d)/ZC._i_(l.o["sampling-threshold"])),E*=Math.max(1,(f-d)/ZC._i_(l.o["sampling-threshold"]))),l.E=[],e=d;e<=f;e+=n){var y=!1;if(((f-d)%l.W!=0||l.B2.ED&&l.ED)&&f-e<=l.W&&(n=ZC.BQ(1,f-e),y=!0),l.QN&&!y&&l.R[e])if(null===ZC._n_(b))b=l.R[e].CQ,i=e,B=0;else{if(Math.abs(l.R[e].CQ-b)d&&(d=f)),A.D["min-y"]=Math.min(Z,d),A.D["max-y"]=Math.max(Z,d),A.CA&&A.A.F3){var _=ZC.MAX,g=-ZC.MAX;for(e=0,t=A.A.F3.length;e1&&"spline"===N&&(N="segmented"),A.B2.ED&&A.ED){for(i=A.W,e=0,t=A.R.length;e0||ZC.DS(A.R[e].BU,A.B2.X[A.B2.V],A.B2.X[A.B2.A1])||X&&A.R[e+i]&&A.R[e+i].BU>=A.B2.X[A.B2.V])&&(X&&A.R[e-i]&&(-1===M&&(M=e-i),L=e-i,X=!1,w++),-1===M&&(M=e),L=e,w++,X=!1,n=e);w>0&&A.R[n+i]&&(-1===M&&(M=n+i),L=n+i,A.R[n+i].JJ=!0)}else M=A.B2.V,L=A.LZ?A.R.length:A.B2.A1;A.W=P,B||A.A.D5&&(E=A.A.D5.reverse());var k=null,O=null,R=0,T=1;n=M,u?L-M>A.C.P.F&&(R=4/A.C.P.I*(A.CK.BM-A.CK.B4),T=ZC._i_((L-M)/(4*A.C.P.F))):L-M>A.C.P.I&&(R=4/A.C.P.F*(A.CK.BM-A.CK.B4),T=ZC._i_((L-M)/(4*A.C.P.I)));var H=!1,S=!1,z=-1;i=A.W,H=!0,!A.A.S7&&B&&(A.A.S7={},A.A.W6={});var Q=null,J=null;if(A.A.S7&&!A.A.S7["s"+A.DX]&&B){A.A.S7["s"+A.DX]={},A.A.W6["s"+A.DX]={};var V=A.A.XA["s"+A.DX];for(e=0;e<=V.length;e++)null!==ZC._n_(V[e])&&(r=A.B2.ED?ZC._i_(A.B2.AX(V[e])):ZC._i_(A.B2.H4(V[e])),A.A.S7["s"+A.DX][r]=I,A.A.W6["s"+A.DX][r]=I)}for(B&&(Q=A.A.S7["s"+A.DX],J=A.A.W6["s"+A.DX]),e=M;e<=L;e+=i){var U=!1;if(((L-M)%A.W!=0||A.B2.ED&&A.ED)&&L-e<=A.W&&(i=ZC.BQ(1,L-e),U=!0),A.QN&&!U&&A.R[e])if(null===ZC._n_(k))k=A.R[e].CQ,n=e,O=0;else{if(Math.abs(A.R[e].CQ-k)A.B2.iY&&(y.push([I,A.B2.iY]),y.push([I,Y.iY]),E.push([I,Y.iY])):Y.iX>A.B2.iX&&(y.push([A.B2.iX,I]),y.push([Y.iX,I]),E.push([Y.iX,I])),H=!1),D.push([Y.iX,Y.iY]),B?u?J[ZC._i_(Y.iY)]=Y.iX:J[ZC._i_(Y.iX)]=Y.iY:(y.push([Y.iX,Y.iY]),E.push([Y.iX,Y.iY]));break;case"spline":u?(K.push(Y.iX),F.push(Y.iY),1===K.length&&(K.push(Y.iX),F.push(Y.iY))):(K.push(Y.iY),F.push(Y.iX),1===K.length&&(K.push(Y.iY),F.push(Y.iX)));break;case"stepped":var W=A.B2.AU?-1:1;switch(A.SY){default:(o=A.FR(e-i,0))&&(o.setup(),a=ZC.AO.JY(A.R[e-i].iX,A.R[e-i].iY,Y.iX,Y.iY),D.push(u?[Y.iX,a[1]]:[a[0],Y.iY]),B?u?J[ZC._i_(a[1])-W]=Y.iX:J[ZC._i_(a[0])+W]=Y.iY:(y.push(u?[Y.iX,a[1]]:[a[0],Y.iY]),E.push(u?[Y.iX,a[1]]:[a[0],Y.iY]))),D.push([Y.iX,Y.iY]),B?u?J[ZC._i_(Y.iY)]=Y.iX:J[ZC._i_(Y.iX)]=Y.iY:(y.push([Y.iX,Y.iY]),E.push([Y.iX,Y.iY])),(l=A.FR(e+i,0))&&(l.setup(),a=ZC.AO.JY(Y.iX,Y.iY,A.R[e+i].iX,A.R[e+i].iY),D.push(u?[Y.iX,a[1]]:[a[0],Y.iY]),B?u?J[ZC._i_(a[1])+W]=Y.iX:J[ZC._i_(a[0])-W]=Y.iY:(y.push(u?[Y.iX,a[1]]:[a[0],Y.iY]),E.push(u?[Y.iX,a[1]]:[a[0],Y.iY])));break;case"before":(o=A.FR(e-i,0))&&(o.setup(),D.push([A.R[e-i].iX,A.R[e-i].iY],[A.R[e-i].iX,Y.iY]),B?u?(J[ZC._i_(Y.iY)+W]=A.R[e-i].iX,J[ZC._i_(Y.iY)]=A.R[e-i].iX):(J[ZC._i_(A.R[e-i].iX)]=A.R[e-i].iY,J[ZC._i_(A.R[e-i].iX)+W]=Y.iY):(y.push([A.R[e-i].iX,A.R[e-i].iY],[A.R[e-i].iX,Y.iY]),E.push([A.R[e-i].iX,A.R[e-i].iY],[A.R[e-i].iX,Y.iY]))),D.push([Y.iX,Y.iY]),B?u?J[ZC._i_(Y.iY)]=Y.iX:J[ZC._i_(Y.iX)]=Y.iY:(y.push([Y.iX,Y.iY]),E.push([Y.iX,Y.iY]));break;case"after":D.push([Y.iX,Y.iY]),B?u?J[ZC._i_(Y.iY)]=Y.iX:J[ZC._i_(Y.iX)]=Y.iY:(y.push([Y.iX,Y.iY]),E.push([Y.iX,Y.iY])),(l=A.FR(e+i,0))&&(l.setup(),D.push([A.R[e+i].iX,Y.iY],[A.R[e+i].iX,A.R[e+i].iY]),B?u?(J[ZC._i_(Y.iY)-W]=A.R[e+i].iX,J[ZC._i_(A.R[e+i].iY)]=A.R[e+i].iX):(J[ZC._i_(A.R[e+i].iX)-W]=Y.iY,J[ZC._i_(A.R[e+i].iX)]=A.R[e+i].iY):(y.push([A.R[e+i].iX,Y.iY],[A.R[e+i].iX,A.R[e+i].iY]),E.push([A.R[e+i].iX,Y.iY],[A.R[e+i].iX,A.R[e+i].iY])))}}G&&Y.MR(ZC.Q.E8(A.CN("fl",0),A.G.AC)),(A.RG&&b||A.FX||A.U)&&Y.OR(),Y.JJ=!0}else null!==ZC._n_(A.o["connect-nulls"])&&ZC._b_(A.o["connect-nulls"])||(D.push(null),K.push(null),F.push(null),B||(E.length-1>=0&&E.push(u?[I,E[E.length-1][1]]:[E[E.length-1][0],I]),y.length-1>=0&&y.push(u?[I,E[E.length-1][1]]:[E[E.length-1][0],I]),S=!0))}if("segmented"!==N&&"stepped"!==N||B||E.length-1>=0&&(u?E.push([I,E[E.length-1][1]]):E.push([E[E.length-1][0],I])),"spline"===N){K.push(K[K.length-1]),F.push(F[F.length-1]),D=[],B||E.push(u?[I,F[0]]:[F[0],I]);for(var j=1;j0){var te=y[y.length-1];u||te[0]=1&&(r=e.CC/e.B2.A9);var a=e.CS;e.CS>=1&&(a=e.CS/e.B2.A9);var o=1-r-a,l=ZC._x_(o/(3*i+1));e.CC=r+l+3*(n-1)*l,e.CS=1-e.CC-2*l}}}PR(){var e,t=this;if(t.RS)return t.RS;if(t.o["fast-dimensions"]&&t.A.A5[0].RS)return t.A.A5[0].RS;t.bKeyWidth&&(t.assign_a([["bar-width","D1","fp"]]),t.D1=Math.round((t.B2.CP?t.B2.F:t.B2.I)*(t.D1/(t.B2.BM-t.B2.B4))));var n,i=t.B2.A9*t.W,r=0;for(t.A.K9[t.AF]=t.A.K9[t.AF]||[],e=0;e1&&(p/=r-1),p<0&&(u=i-c-A-(p=0)*(r-1))),h=(u=ZC.BQ(u,1*r))/r):r>1&&(p=0,h=u/r,f<=1&&(f*=h),A=(Z=i-(u=r*(h-(f=ZC.CX(f,h)))+f)-p*(r-1))-(c=Z*(d=0===A?1:c/A)/(1+d)),c<1&&(u-=1-c))):(u=i-c-A,0===t.EZ||r<=1?((p=t.F4)<=1&&(p*=u/r),A=(Z=i-u-(p=ZC.BQ(0,p))*(r-1))-(c=Z*(d=0===A?1:c/A)/(1+d)),c<1&&(c=A=0,p=i-u,r>1&&(p/=r-1),p<0&&(u=i-c-A-(p=0)*(r-1))),h=(u=ZC.BQ(u,1*r))/r):r>1&&(p=0,h=u/r,f>1&&(f=h/f),f*=h=u/(r-r*f+f),A=(Z=i-u-p*(r-1))-(c=Z*(d=0===A?1:c/A)/(1+d)),c<1&&(u-=1-c))),-1!==t.ZL&&h>t.ZL&&!t.D.bw&&(t.D1=t.ZL,t.D.bw=!0,t.PR(),t.D.bw=null),t.RS={A9:i,ES:n,CC:c,CS:A,F4:p,D1:h,EZ:f},{A9:i,ES:n,CC:c,CS:A,F4:p,D1:h,EZ:f}}paint(){var e=this;super.paint(),e.KK=e.CN("bl",0);var t=e.FE;e.A36=!1,e.SO=null;var n=1;e.B2.ED&&(n=e.R.length/(e.B2.DY-e.B2.DD)),0!==e.E4.length||e.I6||e.C.KM||"svg"!==e.G.AC||!(e.B2.A1-e.B2.V>2048||e.B2.ED&&n*(e.B2.A1-e.B2.V)>2048)||(e.A36=!0,null===ZC._n_(e.o["rect-shortcut"])&&(e.FE=!0)),e.FE||(e.A36=!1),e.OC(),e.FE=t,e.RefNode=null,e.WB=null}}class QW extends A2P{constructor(e){super(e),this.AF="vbar"}FY(){return new ZT(this)}}class R1 extends A2P{constructor(e){super(e),this.AF="hbar"}FY(){return new ZS(this)}}class PG extends WK{constructor(e,t){super(e),this.AF=t||"scatter",this.P9="markerbg",this.bPoly=!1,this.HY=.5}FY(){return new A6J(this)}parse(){var e=this;e.BP=e.NK(),e.C1=e.BP[0],e.A0=e.BP[1],e.AE=e.BP[1],e.B7=e.BP[2],e.BV=e.BP[2],e.N9(),super.parse(),e.assign_a([["alpha-area","HY","f",0,1]]),e.B2=e.C.BK(e.BT("k")[0]),e.CK=e.C.BK(e.BT("v")[0])}paint(){var e,t,n,i=this;if(super.paint(),i.KK=i.CN("bl",0),i._oCtxNode=ZC.Q.E8(i.CN("bl",0),i.G.AC),!i.IO||i.C.AJ["3d"]||"fast"!==i.A1F||0!==i.SC)i.OC(!0);else{var r=null,a=i.B2,o=i.CK;i.VS(!0);var l=new DU(i.A);for(l.Z=i.CN("bl",1),l.C6=i.CN("bl",0),l.B7=i.BP[3],l.BV=i.BP[3],l.A0=i.BP[2],"bubble"===i.AF||"hbubble"===i.AF?l.AE=i.BP[1]:l.AE=i.BP[2],l.append(i.A2.o),l.parse(),t=0;t<=i.R.length;t++)if(r=i.FR(t)){var s=!1;a.CP?ZC.DS(r.iX,o.iX+(o.AU?o.BW:o.A6)-1,o.iX+o.I-(o.AU?o.A6:o.BW)+1)&&ZC.DS(r.iY,a.iY+(a.AU?a.BW:a.A6)-1,a.iY+a.F-(a.AU?a.A6:a.BW)+1)&&(s=!0):ZC.DS(r.iX,a.iX+(a.AU?a.BW:a.A6)-1,a.iX+a.I-(a.AU?a.A6:a.BW)+1)&&ZC.DS(r.iY,o.iY+(o.AU?o.A6:o.BW)-1,o.iY+o.F-(o.AU?o.BW:o.A6)+1)&&(s=!0),s&&(r.JJ=!0,i.R[t].JJ=!0,l.K=r.K+"-marker",l.iX=r.iX,l.iY=r.iY,"circle"!==l.DP&&l.parse(),"none"!==i.J6&&(i.C.J1[i.L]||i.C.KM)&&(l.o={},l.OT={},i.C.CG["p"+i.L]&&i.C.CG["p"+i.L]["n"+t]?l.OT=i.PV?i.PV.o:{}:"none"!==i.OD&&("plot"===i.OD&&i.C.J1[t]||"graph"===i.OD&&i.C.KM)&&(l.OT=i.PS?i.PS.o:{}),l.B7=i.BP[3],l.BV=i.BP[3],l.A0=i.BP[2],"bubble"===i.AF||"hbubble"===i.AF?l.AE=i.BP[1]:l.AE=i.BP[2],l.append(i.A2.o),l.parse()),l.paint())}}if(i.bPoly){for(e=[],t=0,n=i.R.length;t=e.VB&&(e.QH=.2,e.VB=1),e.B2=e.C.BK(e.BT("k")[0]),e.CK=e.C.BK(e.BT("v")[0])}paint(){var e=this;super.paint(),e.KK=e.CN("bl",0),e.A5R=e.A48=-ZC.MAX,e.YT=e.XC=ZC.MAX,e.A6W=e.A5W=0;for(var t=0,n=e.A.A5.length;ta&&(n.W=ZC._i_(5*(n.B2.A1-n.B2.V)/a));var o=n.B2.ED;if(o&&n.QB[0]===ZC.MAX&&n.QB[1]===-ZC.MAX&&(o=!1),o)for(e=0,t=n.R.length;e0?n.iX=r.AX(100*n.CQ/n.A.A.F8[n.L]["%total-"+n.A.DX]):n.iX=r.AX(100*n.CQ):n.iX=r.AX(n.CQ+0)):(null!==n.BU?n.iX=i.AX(n.BU):n.A.LZ?"bar"===n.A.sMetaType?n.iX=i.H4(n.A.RF):n.iX=i.H4(n.A.RF)+n.A.RZ+n.L*(i.A9-2*n.A.RZ)/(n.A.R.length-1)-i.A9/2:n.iX=i.H4(n.L),n.A.CA&&"100%"===n.A.KY?n.A.A.F8[n.L]["%total-"+n.A.DX]>0?n.iY=r.AX(100*n.CQ/n.A.A.F8[n.L]["%total-"+n.A.DX]):n.iY=r.AX(100*n.CQ):n.iY=r.AX(n.CQ+0)),n.A.IO&&(n.A.R[n.L].iX=n.iX,n.A.R[n.L].iY=n.iY),n.JR=a),n.IM||(0!==n.A.E4.length||-1===ZC.AV(["line","area","vbar","hbar","line3d","area3d","vbar3d","hbar3d"],n.A.AF)||n.A.o.override?ZC.A4.browser.mozilla||n.A.o.override?(n.copy(n.A),n.E4=n.A.E4,n.DB(),n.parse(!1),n.N=n):(e=n.A9J(n.A.E4),null===ZC._n_(t=n.A.A6K[e])?(n.copy(n.A),n.E4=n.A.E4,n.DB(),n.parse(!1),n.N=n,n.A.A6K[e]=n):n.N=t):n.N=n.A,n.A.o.override&&(n.N.D.plotidx=n.A.L,n.N.D.nodeidx=n.L,n.N.parse(!1)),n.IM=!0)}HC(){var e,t=this;if(t.o[ZC._[9]]instanceof Array&&(t.CI=t.o[ZC._[9]].join(" "),"string"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.B2.IW,t.o[ZC._[9]][0]))?t.BU=e:(t.A.B2.IW.push(t.o[ZC._[9]][0]),t.BU=t.A.B2.IW.length-1):t.BU=parseFloat(t.o[ZC._[9]][0]),"string"==typeof t.o[ZC._[9]][1]?-1!==(e=ZC.AV(t.A.CK.JP,t.o[ZC._[9]][1]))?t.AD=e:(t.A.CK.JP.push(t.o[ZC._[9]][1]),t.AD=t.A.CK.JP.length-1):t.AD=parseFloat(t.o[ZC._[9]][1]),null!==t.BU&&t.A.TB(t.BU,t.L),t.A.Z5>0&&t.o[ZC._[9]].length>t.A.Z5))for(var n=t.o[ZC._[9]].length-t.A.Z5;n0&&a.A.O4.length>t-1&&a.F7(e,t+1),a.AM||"pie"===a.A.AF||"pie3d"===a.A.AF){var o,l=1===t?a.A.U:a.A.O4[t-2];if(l){if(a.A.A7P)(o=a.A.A7P).K=a.K+"-value-box-"+t,o.Z=o.C6=a.G.usc()?a.G.mc("top"):a.C.AJ["3d"]||a.G.KE?ZC.AK(a.C.K+"-plots-vb-c"):ZC.AK(a.C.K+"-plot-"+a.A.L+"-vb-c"),o.IU=a.G.usc()?ZC.AK(a.C.A.K+"-top"):ZC.AK(a.C.A.K+"-text"),o.D.plotidx=a.A.L,o.D.nodeidx=a.L,r=ZC.AP.P1(o.o,a.A.o),o.F0=function(e){return a.F0(e,r)},o.parse();else{o=new DR(a.A),l.o.rules||a.A.U.I6||(i="all",null!==ZC._n_(n=l.o.type)&&(i=n),"pie"===a.C.AF||"nestedpie"===a.C.AF||"pie3d"===a.C.AF||"all"!==i||a.A.O4&&0!==a.A.O4.length||(a.A.A7P=o)),o.append(l.o),a.appendToValueBox&&!e&&(o.parse(),o.append(a.appendToValueBox(o))),o.GN=a.C.K+"-value-box "+a.C.K+"-plot-"+a.A.L+"-value-box zc-value-box",o.K=a.K+"-value-box-"+t,o.Z=o.C6=a.G.usc()?a.G.mc("top"):a.C.AJ["3d"]||a.G.KE?ZC.AK(a.C.K+"-plots-vb-c"):ZC.AK(a.C.K+"-plot-"+a.A.L+"-vb-c"),o.IU=a.G.usc()?ZC.AK(a.C.A.K+"-top"):ZC.AK(a.C.A.K+"-text"),r=ZC.AP.P1(o.o,a.A.o),o.F0=function(e){return a.F0(e,r)};var s=a.JB(o);if(null!==ZC._n_(n=s.color)&&(o.C1=n),null!==ZC._n_(n=s[ZC._[0]])&&(o.A0=o.AE=n),o.D.plotidx=a.A.L,o.D.nodeidx=a.L,a.A.U.I6&&(a.A.U.GL(a.A.U,o,null,a.LG(null,!1)),o.parse()),o.parse(),o.J0=function(e){return a.J0(e)},o.DB()&&o.parse(),!a.A.ZG){var C=new DR(a.A);C.copy(o),a.A.ZG=C}if(i="all",null!==ZC._n_(n=l.o.type)&&(i=n),o.AM){o.AM=!1;var c=a.A.o[ZC._[17]].text||"";if("values("===i.substring(0,7)){var A=i.substring(7,i.length).replace(")","").split(",");-1!==ZC.AV(A,a.AD)&&(o.AM=!0)}else{var u=i.split(","),p={min:"%plot-min-value",max:"%plot-max-value",first:"%plot-min-index",last:"%plot-max-index"};for(var h in p)-1!==ZC.AV(u,h)&&(("first"!==h&&"last"!==h||a.L!==a.A.K0[p[h]])&&("min"!==h&&"max"!==h||a.AD!==a.A.K0[p[h]])||("object"==typeof c&&null!==ZC._n_(c[h])&&(o.o.text=c[h],o.parse()),o.AM=!0));-1!==ZC.AV(u,"all")&&(o.AM=!0)}}}if(a.C.D["plot"+a.A.L+".visible"]||(o.D["css-display"]="none"),e)return o;if(o.AM&&null!==ZC._n_(o.AR)&&""!==o.AR){var Z=a.HG(o);o.D.positioninfo=Z,o.iX=Z[0],o.iY=Z[1];var d={};if(-1!==o.iX&&-1!==o.iY){var f=!1;if(null!==ZC._n_(o.o.overlap)&&!ZC._b_(o.o.overlap)){d={x:o.iX,y:o.iY,width:o.I,height:o.F};for(var _=0,g=a.A.A.ZH.length;_=i.LJ&&!i.AU||n.AD=n.AD&&n.AD<=l?a="bottom":o<=n.AD&&n.AD>=l?a="top":o>=n.AD&&n.AD>=l?a=o/n.AD>n.AD/l?"bottom":"top":o<=n.AD&&n.AD<=l&&(a=n.AD/o>l/n.AD?"top":"bottom")}var s=e.I,C=e.F,c=n.iX-s/2,A=n.iY-C/2;switch(a){case"top":A-=r*(C/2+4);break;case"bottom":A+=r*(C/2+4);break;case"left":c-=s/2+4;break;case"right":c+=s/2+4}return n.C.AJ["3d"]||(c=ZC.BQ(n.C.P.iX-s/2,c),c=ZC.CX(n.C.P.iX+n.C.P.I-s/2,c),A=ZC.BQ(n.C.P.iY-C,A),A=ZC.CX(n.C.P.iY+n.C.P.F,A)),null!==ZC._n_(e.o.x)&&(c=e.iX),null!==ZC._n_(e.o.y)&&(A=e.iY),[ZC._i_(c),ZC._i_(A)]}OR(e,t){var n,i,r,a,o,l=this;if(typeof l.A.bBS===ZC._[31]&&(l.A.bBS=-1===ZC.AV(["bubble","hbubble","scatter","hscatter"],l.A.AF)),null!==ZC._n_(l.A.o["markers-on-top"])&&(l.A.bBS=ZC._b_(l.A.o["markers-on-top"])),!l.C.OH||!l.A.bBS){null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1);var s=l.C.P.D.tolerance||2;if(ZC.DS(l.iX,l.C.P.iX-s,l.C.P.iX+l.C.P.I+s)&&ZC.DS(l.iY,l.C.P.iY-s,l.C.P.iY+l.C.P.F+s)){var C=l.C.K+ZC._[34]+l.C.K+ZC._[35]+l.A.L+ZC._[6];if(-1===ZC.AV(l.G.KX,ZC._[39])&&l.A.FX){if(l.A.YJ&&!zingchart.DEV.SKIPTRACKERS){var c=l.getNodeData("points");-1!==ZC.AV(l.G.KX,ZC._[42])&&-1!==ZC.AV(["line","area"],l.A.AF)&&typeof c===ZC._[31]&&l.paint(!0),""!==(r=typeof l.D.polypoints===ZC._[31]?ZC.AO.Q6(ZC.AO.ZN(c,ZC.BQ(6,l.A.B1/2)),4):ZC.AO.Q6(c,4))&&l.A.A.HX.push(ZC.Q.GG("poly",l.A.E7,l.N.IZ)+'class="'+C+'" id="'+l.K+ZC._[30]+r+'" />')}if(("area"===l.A.AF||"area3d"===l.A.AF||"radar"===l.A.AF&&("area"===l.A.CV||"range"===l.A.CV))&&l.A.XV){var A=l.getNodeData("pointsarea");""!==(r=ZC.AO.Q6(A,4))&&l.A.A.HX.push(ZC.Q.GG("poly",l.A.E7,l.A.IZ)+'class="'+C+'" id="'+l.K+'--area" coords="'+r+'" />')}}if(l.A.U||!l.A.IO||!l.A.A2.o||"none"!==l.A.A2.o.type&&(null===ZC._n_(l.A.A2.o.visible)||ZC._b_(l.A.A2.o.visible)))if(t||l.A.RG){if(l.A.HF)a=l.A.HF,"svg"!==l.G.AC&&(e?(o=new CB(l.C,l.iX-ZC.AN.E2,l.iY-ZC.AN.E1,l.A.D["z-start"]||0),a.iX=ZC._x_(o.EA[0]),a.iY=ZC._x_(o.EA[1]),l.D["3dxy"]=[a.iX,a.iY]):(a.iX=ZC._x_(l.iX),a.iY=ZC._x_(l.iY)),a.D.plotidx=l.A.L,a.D.nodeidx=l.L,a.K=l.K+"-marker",a.parse(!0));else{if(l.IO?l.A._oMarker?a=l.A._oMarker:l.A._oMarker=a=new DU(l.A):a=new DU(l.A),a.K=l.K+"-marker",a.D["p-width"]=l.A.B2.A9,a.D["p-height"]=l.A.CK.A9,l.A.bBS)a.Z=l.A.CN("fl",0),a.C6=l.A.CN("fl",0);else if(a.Z=l.A.CN("bl",1),a.C6=l.A.CN("bl",0),Object&&Object.keys&&Object.keys(l.C.CG).length>0){var u=l.C.CG["p"+l.A.L];"none"!==l.A.J6&&u&&u["n"+l.L]&&(a.Z=l.A.CN("bl",2))}e?(o=new CB(l.C,l.iX-ZC.AN.E2,l.iY-ZC.AN.E1,l.A.D["z-start"]||0),a.iX=ZC._x_(o.EA[0]),a.iY=ZC._x_(o.EA[1]),l.D["3dxy"]=[a.iX,a.iY]):(a.iX=ZC._x_(l.iX),a.iY=ZC._x_(l.iY)),a.B7=l.A.BP[3],a.BV=l.A.BP[3],a.A0=l.A.BP[2],"bubble"===l.A.AF||"hbubble"===l.A.AF?a.AE=l.A.BP[1]:a.AE=l.A.BP[2],a.append(l.A.A2.o),null!==ZC._n_(l.D["marker.size"])&&(a.AI=l.D["marker.size"]),a.D.plotidx=l.A.L,a.D.nodeidx=l.L,"none"!==l.A.J6&&(l.C.J1[l.A.L]||l.C.KM)&&(l.C.CG["p"+l.A.L]&&l.C.CG["p"+l.A.L]["n"+l.L]?a.OT=l.A.PV?l.A.PV.o:{}:"none"!==l.A.OD&&("plot"===l.A.OD&&l.C.J1[l.A.L]||"graph"===l.A.OD&&l.C.KM)&&(a.OT=l.A.PS?l.A.PS.o:{})),null!==ZC._n_(n=l.A.o.marker)&&null!==ZC._n_(n.styles)&&null!==ZC._n_(i=n.styles[l.L])&&("string"==typeof i?a.append({"background-color":ZC.AP.R0(i,20),"line-color":ZC.AP.JQ(i,20),"border-color":ZC.AP.JQ(i,20)}):a.append(i)),a.parse(),a.J0=function(e){return l.J0(e)},a.DB()&&a.parse()}if(l.D["marker.size"]=ZC.BQ(2.02,l.D["marker.size"]||a.AI),a.DI=C,!(e||ZC.DS(a.iX,l.C.P.iX-2,l.C.P.iX+l.C.P.I+2)&&ZC.DS(a.iY,l.C.P.iY-2,l.C.P.iY+l.C.P.F+2)))return;if(a.I6&&(l.A.ZI=!1,a.GL(a,a,null,l.LG(null,!1)),a.parse()),l.NE=a,a.AM&&"none"!==a.AF){var p=function(){if(l.A.bBS||l.MR(ZC.Q.E8(l.A.CN("bl",0),l.G.AC)),l.D["marker.type"]=a.DP,l.A.FX&&-1===ZC.AV(l.G.KX,ZC._[40])&&!zingchart.DEV.SKIPTRACKERS){var e=l.D["3dxy"]?l.D["3dxy"][0]:l.iX,t=l.D["3dxy"]?l.D["3dxy"][1]:l.iY,n=parseInt(e+a.BJ+ZC.MAPTX,10),i=parseInt(t+a.BH+ZC.MAPTX,10),r=parseInt(ZC.BQ(ZC.mobile?6:3,l.D["marker.size"]+1)*(ZC.mobile?1.25:1.05),10),o=!0;typeof l.A.aLastMarkerXY!==ZC._[31]?Math.sqrt((n-l.A.aLastMarkerXY[0])*(n-l.A.aLastMarkerXY[0])+(i-l.A.aLastMarkerXY[1])*(i-l.A.aLastMarkerXY[1]))'):l.A.A.HX.push(ZC.Q.GG("circle",l.A.E7,l.A.IZ)+'class="'+C+'" id="'+l.K+"--marker"+ZC._[30]+n+","+i+","+r+'" />'))}if(l.A.U&&(l.A.D.vboxid=l.K,l.F7()),!l.A.bBS&&l.C.BA&&l.C.BA.IM&&l.A.QS&&l.C.BA.AM){var s=l.C.P,c=l.C.BA,A=c.AQ,u=l.A.HF||a,p=new DU(l.A);p.copy(u);var h=(l.iX-s.iX)/s.I,Z=(l.iY-s.iY)/s.F,d=Math.min(A.F/s.F,A.I/s.I);p.iX=A.iX+A.AT+h*(A.I-2*A.AT),p.iY=A.iY+A.AT+Z*(A.F-2*A.AT),p.K=l.K+"-marker-preview",p.DI=l.A.K+"-preview";var f=u.AI;null!==ZC._n_(l.D["marker.size"])&&(f=l.D["marker.size"]),p.AI=ZC.BQ(2.02,.9*d*f),p.Z=p.C6=c.Z,p.parse(),p.paint()}},h=!1;if((!l.A.bBS||"radar"===l.A.AF&&"dots"===l.A.CV)&&(h=!0),l.A.GB&&h&&!l.C.HM){var Z=a,d={},f=a.C5,_=a.AI,g=a.iX,v=a.iY;Z.iX=g,Z.iY=v,d.x=g,d.y=v;var m,b=l.A.LH,B=l.C.P;for(m in Z.C5=0,d.alpha=f,3===b?(Z.AI=2,d.size=_):8===b?(Z.iX=g-B.iX,d.x=g):9===b?(Z.iX=g+B.iX,d.x=g):10===b?(Z.iY=v-B.iY,d.y=v):11===b&&(Z.iY=v+B.iY,d.y=v),l.A.FV)Z[E9.GO[ZC.EC(m)]]=l.A.FV[m],d[ZC.EC(m)]=l.N[E9.GO[ZC.EC(m)]];if(null===ZC._n_(l.C.EL)&&(l.C.EL={}),null!==ZC._n_(l.C.EL[l.A.L+"-"+l.L]))for(m in l.C.EL[l.A.L+"-"+l.L])Z[E9.GO[ZC.EC(m)]]=l.C.EL[l.A.L+"-"+l.L][m];l.C.EL[l.A.L+"-"+l.L]={},ZC._cp_(d,l.C.EL[l.A.L+"-"+l.L]);var D=new E9(Z,d,l.A.JL,l.A.LB,E9.RU[l.A.LF],(function(){p()}));D.AW=l,D.OK=function(){l.MR(ZC.Q.E8(l.A.CN("bl",0),l.G.AC))},l.L5(D)}else{var E="circle"===a.DP?"circle":"path";if(l.A.HL){var y=function(t,n){var i=t.cloneNode(!1),r=l.iX,o=l.iY;if(e){var s=new CB(l.C,r-ZC.AN.E2,o-ZC.AN.E1,l.A.D["z-start"]||0);r=ZC._x_(s.EA[0]),o=ZC._x_(s.EA[1]),l.D["3dxy"]=[r,o]}i.setAttribute("transform","translate("+ZC._i_(r-a.iX)+","+ZC._i_(o-a.iY)+") "+(i.getAttribute("transform")||"")),i.setAttribute("id",n),"bubble"!==l.A.AF&&"hbubble"!==l.A.AF||i.setAttribute("r",l.D["marker.size"]),t.parentNode.appendChild(i)};a.ME&&y(l.A.RM,l.K+"-marker-sh-"+E),y(l.A.HL,l.K+"-marker-"+E),a.D8&&y(l.A.QQ,l.K+"-marker-imgfill")}else{a.paint();var K=a.A0!==a.AE;if(!l.C.J1[l.A.L]&&l.A.ZI&&!K)if("svg"===l.G.AC){if(-1===ZC.AV(["pie","square","rect","rectangle","cross","plus","custom"],a.DP))if(l.A.HF=a,zingchart.DEV.DOMFRAGMENTS&&document.querySelector){for(var F in l.G.G1)l.A.HL||(l.A.HL=l.G.G1[F].querySelector("#"+l.K+"-marker-"+E)),a.ME&&!l.A.RM&&(l.A.RM=l.G.G1[F].querySelector("#"+l.K+"-marker-sh-"+E)),a.D8&&!l.A.QQ&&(l.A.QQ=l.G.G1[F].querySelector("#"+l.K+"-marker-imgfill")||l.G.G1[F].querySelector("#"+l.K+"-marker-path-imgfill"));l.A.HL||(l.A.HL=ZC.AK(l.K+"-marker-"+E),a.ME&&(l.A.RM=ZC.AK(l.K+"-marker-sh-"+E)),a.D8&&(l.A.QQ=ZC.AK(l.K+"-marker-imgfill")))}else l.A.HL=ZC.AK(l.K+"-marker-"+E),a.ME&&(l.A.RM=ZC.AK(l.K+"-marker-sh-"+E)),a.D8&&(l.A.QQ=ZC.AK(l.K+"-marker-imgfill")||ZC.AK(l.K+"-marker-path-imgfill"))}else"bubble"!==l.A.AF&&"hbubble"!==l.A.AF&&(e||(l.A.HF=a))}"svg"===l.G.AC&&l.A.applyJsRuleSvg(l.A.A2,l.K+"-marker-"+E,l.LG()),p()}}else l.A.U&&l.F7()}else l.A.U&&l.F7()}}}L5(e,t){var n,i=this,r=i.C.M3,a=r.PQ,o=i.A.U3;switch(o){default:t&&r.add(t),r.add(e);break;case 1:case 2:case 3:if(t){var l="all";if(1===o?l="plots-group-"+i.L+"-area":2===o&&(l="nodes-group-"+i.A.L+"-area"),null===ZC._n_(a[l])){var s=new A2X(l);r.A5T(s,t.XT)}a[l].add(t)}if(n="all",1===o?n="plots-group-"+i.L:2===o&&(n="nodes-group-"+i.A.L),null===ZC._n_(a[n])){var C=new A2X(n);r.A5T(C,e.XT)}a[n].add(e)}}SA(e){var t=this;t.A.IO&&t.A.bXY&&(t.RT(),e&&("scatter"!==t.A.AF&&"hscatter"!==t.A.AF&&"bubble"!==t.A.AF&&"hbubble"!==t.A.AF||t.paint(!0)));var n=t.A.BP;t.LL({layer:e,type:"shape",id:"marker",marker:!0,initcb:function(){this.DP=t.D["marker.type"],this.iX=t.iX,this.iY=t.iY,"bubble"===t.A.AF||"hbubble"===t.A.AF?(this.AE=n[3],this.A0=n[2]):(this.B7=n[3],this.BV=n[3],this.A0=n[2],this.AE=n[1]),this.AI=t.D["marker.size"]}})}YF(e){var t=this;t.LL({layer:e,type:"line",id:"line",initcb:function(){this.B7=t.A.BP[3]}})}LL(e){if(!ZC.move){var t,n,i,r,a,o,l=this,s=e.layer||"hover",C=e.id||"",c=!1;switch(l.GI=null,null!==ZC._n_(t=e.marker)&&(c=ZC._b_(t)),s){case"hover":null!==ZC._n_(l.C.CG["p"+l.A.L])&&null!==ZC._n_(l.C.CG["p"+l.A.L]["n"+l.L])||(i=c?l.A.GA:l.A.II,r="hover");break;case"highlight":i=c?l.A.VM:l.A.SE,r="hover"}if(null!==ZC._n_(e.state)&&(i=e.state),i&&l.C.D["plot"+l.A.L+".visible"]&&i.AM){switch(e.type){case"box":(o=new I0(l.A)).QD=!0;break;case"line":o=new DU(l.A),a=ZC.Q.E8(l.C.K+"-"+r+"-c",l.G.AC),o.CY=!1;break;case"shape":o=new DU(l.A);break;case"area":o=new DU(l.A),a=ZC.Q.E8(l.C.K+"-"+r+"-c",l.G.AC)}if(c&&(o.D["p-width"]=l.A.B2.A9,o.D["p-height"]=l.A.CK.A9),zingchart.DEV.PLOTSHLAYER&&"hover"===r?o.Z=o.C6=ZC.AK(l.C.K+"-plots-hover-c"):o.Z=o.C6=ZC.AK(l.C.K+"-"+r+"-c"),o.K=l.K+"-"+(""!==C?C+"-":"")+s,o.D.plotidx=l.A.L,o.D.nodeidx=l.L,"hover"!==s&&(o.A2L=!0),e.initcb&&e.initcb.call(o),o.append(i.o),e.parsecb&&e.parsecb.call(o),"hover"===s&&null!==ZC._n_(t=l.A.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(n=t.styles[l.L])&&("string"==typeof n?o.append({"background-color":n,"line-color":n,"border-color":n}):o.append(n)),null!==ZC._n_(t=l.A.o[s+"-state"])&&null!==ZC._n_(t.styles)&&null!==ZC._n_(n=t.styles[l.L])&&("string"==typeof n?o.append({"background-color":n,"line-color":n,"border-color":n}):o.append(n)),l.A.I6&&l.GL(o,s),"hover"===s&&l.A.A2&&l.A.A2.I6&&(l.A.A2.GL(l.A.A2,o,null,l.LG(null,!1)),o.parse()),o.parse(),o.J0=function(e){return l.J0(e)},o.DB()&&o.parse(),o.AM){switch(e.setupcb&&e.setupcb.call(o),e.type){case"box":case"shape":o.locate(2),o.paint();break;case"line":ZC.CR.setup(a,o),"plot"===l.A.A4B?ZC.CR.paint(a,o,l.A.VI):ZC.CR.paint(a,o,l.getNodeData("points"));break;case"area":"spline"!==l.A.CV&&(null!==ZC._n_(t=i.o["alpha-area"])&&(o.C5=ZC._f_(t)),ZC.CR.setup(a,o),o.paint())}l.GI=o}}}}MR(){}setup(){}I2(){}L8(){var e=this;ZC.Q.ET([e.K+"-hover-gradient",e.K+"-marker-hover-gradient",e.G.K+"-tooltip-text-gradient",e.G.K+"-tooltip-text-sh-gradient"])}LG(e,t){var n=this;typeof t===ZC._[31]&&(t=!0);var i=!1;"none"!==n.A.J6&&n.C.CG&&n.C.CG["p"+n.A.L]&&n.C.CG["p"+n.A.L]["n"+n.L]&&(i=!0);var r={id:n.C.A.K,graphid:n.C.K,graphindex:n.C.L,plotid:n.A.H6,plotindex:n.A.L,nodeindex:n.L,key:null===n.BU?n.L:n.BU,scaleval:n.A.B2?n.A.B2.X[null===n.BU?n.L:n.BU]:null,scaletext:n.A.B2?n.A.B2.FB(n.L,null===n.BU?null:n.A):null,value:n.AD,text:t?n.F0(n.A.K5):n.A.K5,ev:e?ZC.A4.BX(e):null,x:n.iX,y:n.iY,width:n.I,height:n.F,size:n.D["marker.size"]||1,selected:i};for(var a in n.A.KG)n.A.KG[a]instanceof Array?null!==ZC._n_(n.A.KG[a][n.L])&&(r["data-"+a]=n.A.KG[a][n.L]):r["data-"+a]=n.A.KG[a];return r}OZ(e,t){ZC.AP.C0("node_"+t,this.G,this.LG(e))}}class A3N extends MF{setup(){this.RT()}JB(){return{color:this.A.IO?this.A.B7:this.N.B7}}KC(){return{"background-color":this.N.B7,"border-color":this.N.B7,color:this.N.C1}}getTooltipPosition(e,t){super.getTooltipPosition(e,t,this.NE.AI)}paint(e){var t=this;typeof e===ZC._[31]&&(e=!1),super.paint();var n=t.A.OW,i=t.A.QK,r=t.A.B2,a=t.A.R;if(t.setup(),!t.A.IO||t.C.AJ["3d"]||t.A.FX){t.N.CY=t.CY=!1,t.N.C6=t.A.CN("bl",0);var o=[],l=t.A.CV;(t.C.OH||t.A.UK)&&"spline"===t.A.CV&&(l="segmented");var s=typeof t.A.G7!==ZC._[31]?t.A.G7:t.A.W,C=typeof t.A.HK!==ZC._[31]?t.A.HK:t.A.W,c=!0,A=!0;(null===ZC._n_(a[t.L-s])||"log"!==r.C8&&!r.ED&&t.L<=r.V)&&(c=!1);var u,p,h,Z,d=t.A.LZ?t.A.R.length:r.A1;switch((null===ZC._n_(a[t.L+C])||"log"!==r.C8&&!r.ED&&t.L>=d)&&(A=!1),l){default:c&&(t.A.FR(t.L-s,0).setup(),t.A.VC&&(u=ZC.AO.JY(t.A.R[t.L-s].iX,t.A.R[t.L-s].iY,t.A.R[t.L].iX,t.A.R[t.L].iY),o.push(u))),o.push([t.iX,t.iY]),A&&(t.A.FR(t.L+C,2).setup(),u=t.A.VC?ZC.AO.JY(t.A.R[t.L].iX,t.A.R[t.L].iY,t.A.R[t.L+C].iX,t.A.R[t.L+C].iY,t.N.C5):[a[t.L+C].iX,a[t.L+C].iY],o.push(u));break;case"spline":if(t.A.E&&(o=t.A.E),t.A.E=[],a[t.L+1]){var f=[],_=[];for(p=-1;p<3;p++)a[t.L+p]?(t.A.FR(t.L+p,2).setup(),n?(f.push(a[t.L+p].iX),_.push(a[t.L+p].iY)):(f.push(a[t.L+p].iY),_.push(a[t.L+p].iX))):0===f.length?n?(_.push(t.iY),f.push(t.iX)):(_.push(t.iX),f.push(t.iY)):(f.push(f[f.length-1]),_.push(_[_.length-1]));var g=ZC._a_(_[2]-_[1]);g=Math.min(g,Math.max(t.C.I,t.C.F));var v=ZC.AO.YS(t.A.QL,f,g);if(t.A.VC){for(p=0;p1&&(B.E=E,D.points=o);for(Z in t.A.FV)B[E9.GO[ZC.EC(Z)]]=t.A.FV[Z],D[ZC.EC(Z)]=m[E9.GO[ZC.EC(Z)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+"-"+t.L]))for(Z in t.C.EL[t.A.L+"-"+t.L])B[E9.GO[ZC.EC(Z)]]=t.C.EL[t.A.L+"-"+t.L][Z];t.C.EL[t.A.L+"-"+t.L]={},ZC._cp_(D,t.C.EL[t.A.L+"-"+t.L]);var F=new E9(B,D,t.A.JL,t.A.LB,E9.RU[t.A.LF],(function(){x()}));F.AW=t,F.OK=function(){t.MR(ZC.Q.E8(t.A.CN("bl",1),t.G.AC))},F.IR=i,t.L5(F)}else ZC.CR.paint(i,m,o),x()}}function x(){!t.C.OH&&ZC.DS(t.iX,r.iX-1,r.iX+r.I+1)&&ZC.DS(t.iY,r.iY-1,r.iY+r.F+1)&&(t.OR(),t.MR(ZC.Q.E8(t.A.CN("bl",1),t.G.AC)),t.A.U&&t.A.U.AM&&t.A.D.vboxid!==t.K&&t.F7())}}paintPreview(e,t){var n=this;if(n.C.BA&&n.C.BA.IM&&n.A.QS){var i,r=n.A.mapPointsToPreview(t);n.A.WQ?i=n.A.WQ:(i=new D0(n),n.A.WQ=i),i.copy(e),i.K=n.K+"-line-preview",i.DI=n.A.K+"-preview";var a=ZC.Q.E8(n.C.BA.Z,n.G.AC);i.B1=1;var o=n.o["preview-state"];o&&(i.append(o),i.parse()),ZC.CR.paint(a,i,r,null,3)}}I2(e){var t=this;ZC.move||(t.YF(e),t.A.RG&&t.SA(e))}}class A3O extends MF{setup(){this.RT()}JB(){return{color:this.A.IO?this.A.B7:this.N.B7}}KC(){return{"background-color":this.N.B7,"border-color":this.N.B7,color:this.N.C1}}getTooltipPosition(e,t){return super.getTooltipPosition(e,t,this.NE.AI)}paint(e){var t,n,i,r,a,o,l,s,C=this;typeof e===ZC._[31]&&(e=!1),super.paint();var c=C.A.OW,A=C.A.QK,u=C.A.B2,p=C.A.CK,h=C.A.R;if(C.setup(),!C.A.IO||C.C.AJ["3d"]||C.A.FX){C.N.CY=C.CY=!1,C.N.C6=C.A.CN("bl",1);var Z=p.H8,d=p.AX(Z);d=c?ZC._l_(d,p.iX,p.iY+p.I):ZC._l_(d,p.iY,p.iY+p.F);var f=u.DK?u.A9/2:0,_=[],g=[],v=[],m=null;null!==ZC._n_(C.A.A.F3)&&null!==ZC._n_(C.A.A.F3[C.L])&&(m=C.A.A.F3[C.L]);var b=C.A.CV;(C.C.OH||C.A.UK)&&"spline"===C.A.CV&&(b="segmented"),n=C.N.B1/2-1,i="svg"===C.G.AC&&ZC.mobile?C.N.HY/4:0,"vml"===C.G.AC&&C.A.GB&&(i=.5),C.C.AJ["3d"]&&(1===C.A.HY?i=1:(i=C.A.HY/3,"canvas"===C.G.AC&&(ZC.A4.browser.msie||ZC.A4.browser.opera)&&(i=.5)),u.AU&&(i=-i));var B,D=typeof C.A.G7!==ZC._[31]?C.A.G7:C.A.W,E=typeof C.A.HK!==ZC._[31]?C.A.HK:C.A.W,y=!0,K=!0;(!h[C.L-D]||"log"!==u.C8&&!u.ED&&C.L<=u.V)&&(y=!1);var F=C.A.LZ?C.A.R.length:u.A1;switch((!h[C.L+E]||"log"!==u.C8&&!u.ED&&C.L>=F)&&(K=!1),b){default:if(y)C.A.FR(C.L-D,0).setup(),C.A.VC?(a=ZC.AO.JY(h[C.L-D].iX,h[C.L-D].iY,h[C.L].iX,h[C.L].iY),v.push([ZC._i_(a[0])-i,a[1]-n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(a[0])-i,d]),g.push([ZC._i_(a[0])-i,a[1]+n]),_.push([a[0],a[1]])):g.push([ZC._i_(C.iX),d]);else if(u.ED||C.L!==u.V)C.A.CA&&null!==ZC._n_(m)?(B=C.A.A.A5[C.A.L-1])&&B.R[C.L]&&g.push([ZC._i_(C.iX),B.R[C.L].iY+n]):(g.push([ZC._i_(C.iX),d]),v.push([ZC._i_(C.iX-u.A9/2),d]),v.push([ZC._i_(C.iX),d]));else if(u.AU)C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.I-u.BW-f),d]),g.push([ZC._i_(u.iX+u.I-u.BW-f),C.iY+n]);else{var x=ZC._i_(u.iX+u.A6+f);C.A.LZ&&(x=u.H4(C.A.RF)-u.A9/2),C.A.CA&&null!==ZC._n_(m)||g.push([x,d]),g.push([x,C.iY+n])}v.push([ZC._i_(C.iX),C.iY-n]),g.push([ZC._i_(C.iX),C.iY+n]),_.push([C.iX,C.iY]),K?(C.A.FR(C.L+E,2).setup(),r=C.A.VC?ZC.AO.JY(h[C.L].iX,h[C.L].iY,h[C.L+E].iX,h[C.L+E].iY):[h[C.L+E].iX,h[C.L+E].iY],v.push([ZC._i_(r[0]),r[1]-n]),g.push([ZC._i_(r[0]),r[1]+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(r[0]),d]),a=C.A.VC?ZC.AO.JY(h[C.L].iX,h[C.L].iY,h[C.L+E].iX,h[C.L+E].iY,C.N.C5):[h[C.L+E].iX,h[C.L+E].iY],_.push([a[0],a[1]])):C.L===u.A1?u.AU?(g.push([u.iX+u.A6-f,C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.A6-f),d])):(g.push([u.iX+u.I-u.BW-f,C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.I-u.BW-f),d])):C.A.CA&&null!==ZC._n_(m)?(B=C.A.A.A5[C.A.L-1])&&B.R[C.L]&&g.push([ZC._i_(C.iX),B.R[C.L].iY+n]):(g.push([ZC._i_(C.iX),d]),v.push([ZC._i_(C.iX),d]),v.push([ZC._i_(C.iX+u.A9/2),d]));break;case"spline":if(null!==ZC._n_(C.A.D5)&&(v=C.A.D5),null!==ZC._n_(C.A.AG)&&(g=C.A.AG),C.A.D5=[],C.A.AG=[],null!==ZC._n_(C.A.E)&&(_=C.A.E),C.A.E=[],h[C.L+1]){var I=[],X=[];for(o=-1;o<3;o++)h[C.L+o]?(C.A.FR(C.L+o,2).setup(),c?(I.push(h[C.L+o].iX),X.push(h[C.L+o].iY)):(I.push(h[C.L+o].iY),X.push(h[C.L+o].iX))):0===I.length?c?(X.push(C.iY),I.push(C.iX)):(X.push(C.iX),I.push(C.iY)):(I.push(I[I.length-1]),X.push(X[X.length-1]));var w=ZC._a_(X[2]-X[1]);w=Math.min(w,Math.max(C.C.I,C.C.F));var Y=ZC.AO.YS(C.A.QL,I,w);if(C.A.VC){for(0===g.length&&(C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(C.iX+(u.AU?-1:1)*Y[0][0]*w),d])),o=0;o0&&g.push([g[g.length-1][0],d]);break;case"stepped":if(y)switch(C.A.FR(C.L-D,0).setup(),a=ZC.AO.JY(h[C.L-D].iX,h[C.L-D].iY,h[C.L].iX,h[C.L].iY),C.A.SY){default:v.push([ZC._i_(a[0])-i,C.iY-n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(a[0])-i,d]),g.push([ZC._i_(a[0])-i,C.iY+n]),_.push(c?[h[C.L-D].iX,a[1]]:[a[0],h[C.L-D].iY]),_.push(c?[C.iX,a[1]]:[a[0],C.iY]);break;case"before":v.push([ZC._i_(h[C.L-D].iX)-i,C.iY-n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(h[C.L-D].iX)-i,d]),g.push([ZC._i_(h[C.L-D].iX)-i,C.iY+n]),_.push([h[C.L-D].iX,h[C.L-D].iY]),_.push([h[C.L-D].iX,C.iY]);break;case"after":v.push([ZC._i_(C.iX)-i,C.iY-n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(C.iX)-i,d]),g.push([ZC._i_(C.iX)-i,C.iY+n])}else u.ED||C.L!==u.V?C.A.CA&&null!==ZC._n_(m)?(B=C.A.A.A5[C.A.L-1])&&B.R[C.L]&&g.push([ZC._i_(C.iX),B.R[C.L].iY+n]):(g.push([ZC._i_(C.iX),d]),v.push([ZC._i_(C.iX-u.A9/2),d]),v.push([ZC._i_(C.iX),d])):u.AU?(C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.I-u.BW-f),d]),g.push([ZC._i_(u.iX+u.I-u.BW-f),C.iY+n])):(C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.A6+f),d]),g.push([ZC._i_(u.iX+u.A6+f),C.iY+n]));if(v.push([ZC._i_(C.iX),C.iY-n]),g.push([ZC._i_(C.iX),C.iY+n]),_.push([C.iX,C.iY]),K)switch(C.A.FR(C.L+E,2).setup(),a=ZC.AO.JY(h[C.L].iX,h[C.L].iY,h[C.L+E].iX,h[C.L+E].iY,C.N.C5),C.A.SY){default:v.push([ZC._i_(a[0]),C.iY-n]),g.push([ZC._i_(a[0]),C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(a[0]),d]),_.push(c?[C.iX,a[1]]:[a[0],C.iY]);break;case"before":v.push([ZC._i_(C.iX),C.iY-n]),g.push([ZC._i_(C.iX),C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(C.iX),d]);break;case"after":v.push([ZC._i_(h[C.L+E].iX),C.iY-n]),g.push([ZC._i_(h[C.L+E].iX),C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(h[C.L+E].iX),d]),_.push([h[C.L+E].iX,C.iY]),_.push([h[C.L+E].iX,h[C.L+E].iY])}else C.L===u.A1?u.AU?(g.push([u.iX+u.A6-f,C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.A6-f),d])):(g.push([u.iX+u.I-u.BW-f,C.iY+n]),C.A.CA&&null!==ZC._n_(m)||g.push([ZC._i_(u.iX+u.I-u.BW-f),d])):C.A.CA&&null!==ZC._n_(m)?(B=C.A.A.A5[C.A.L-1])&&B.R[C.L]&&g.push([ZC._i_(C.iX),B.R[C.L].iY+n]):(g.push([ZC._i_(C.iX),d]),v.push([ZC._i_(C.iX),d]),v.push([ZC._i_(C.iX+u.A9/2),d]))}if(C.A.CA&&null!==ZC._n_(m))for(o=m.length-1;o>=0;o--)g.push(m[o]);if(C.setNodeData({points:_,pointsarea:g}),"ready"!==C.C.MI&&(C.A.VI=C.A.VI.concat(_)),null===ZC._n_(C.A.A.F3)&&(C.A.A.F3=[]),C.A.A.F3[C.L]=v,!e&&!C.C.AJ["3d"]){var M=C.N=C.A.I3(C,C.N),L=C.C.K+ZC._[34]+C.C.K+ZC._[35]+C.A.L+ZC._[6];M.DI=L,M.K=C.K,C.A.I6&&C.GL(M);var G,P=C.C.P;if(0!==C.A.E4.length||C.A.I6||typeof C.A.A9W===ZC._[31]||C.N.o.override||C.C.KM?((G=new DU(C.A)).copy(M),G.C5=C.A.HY):G=C.A.A9W,C.GL(G),G.C5=ZC._f_(G.o["alpha-area"]||"1"),G.CY=!1,G.LC=!0,G.B1=0,G.AT=0,G.EX=0,G.G9=0,G.Z=C.A.CN("bl",C.C.CA?0:1),G.E=g,G.CZ=[P.iX,P.iY,P.iX+P.I,P.iY+P.F],null!==ZC._n_(t=C.A.D["min-y"])&&(G.D["bound-1"]=t,G.CZ[1]=t),null!==ZC._n_(t=C.A.D["max-y"])&&(G.D["bound-3"]=t,G.CZ[3]=t),G.K=C.K+"-area",C.A.GB||(G.D.areanode=!0),ZC.CR.setup(A,M),C.paintPreview(M,_,g),C.A.GB&&!C.C.HM){var N=new DU(C),k={};N.copy(M),N.K=C.K,N.Z=C.A.CN("bl",2),N.C6=C.A.CN("bl",1),N.E=_;var O=G,R={},T=[],H=[];N.E=_,k.points=_,O.E=g,R.points=g;var S=C.A.LH,z=C.C.P;N.C5=0,k.alpha=M.C5,O.C5=0,R.alpha=C.A.HY;var Q,J=function(e){for(var t=e?g:_,n=e?H:T,i=0;i1&&(e?(O.E=H,R.points=g):(N.E=T,k.points=_))};for(Q in J(),J(!0),C.A.FV)N[E9.GO[ZC.EC(Q)]]=C.A.FV[Q],k[ZC.EC(Q)]=M[E9.GO[ZC.EC(Q)]],O[E9.GO[ZC.EC(Q)]]=C.A.FV[Q],R[ZC.EC(Q)]=M[E9.GO[ZC.EC(Q)]];if(null===ZC._n_(C.C.EL)&&(C.C.EL={}),null===ZC._n_(C.C.T2)&&(C.C.T2={}),null!==ZC._n_(C.C.EL[C.A.L+"-"+C.L])){for(Q in C.C.EL[C.A.L+"-"+C.L])N[E9.GO[ZC.EC(Q)]]=C.C.EL[C.A.L+"-"+C.L][Q];for(Q in C.C.T2[C.A.L+"-"+C.L])O[E9.GO[ZC.EC(Q)]]=C.C.T2[C.A.L+"-"+C.L][Q]}C.C.EL[C.A.L+"-"+C.L]={},ZC._cp_(k,C.C.EL[C.A.L+"-"+C.L]),C.C.T2[C.A.L+"-"+C.L]={},ZC._cp_(R,C.C.T2[C.A.L+"-"+C.L]);var V=new E9(N,k,C.A.JL,C.A.LB,E9.RU[C.A.LF],(function(){W()}));V.AW=C,V.OK=function(){C.MR(ZC.Q.E8(C.A.CN("bl",1),C.G.AC))},V.IR=A;var U=new E9(O,R,C.A.JL,C.A.LB,E9.RU[C.A.LF],(function(){}));U.AW=C,C.L5(V,U)}else G.paint(),0!==C.A.E4.length||typeof C.A.A9W!==ZC._[31]||C.N.o.override||C.C.KM||C.C.HM||(C.A.A9W=G),ZC.CR.paint(A,M,_),W()}}function W(){!C.C.OH&&ZC.DS(C.iX,u.iX-1,u.iX+u.I+1)&&ZC.DS(C.iY,u.iY-1,u.iY+u.F+1)&&(C.OR(),C.MR(ZC.Q.E8(C.A.CN("bl",1),C.G.AC)),C.A.U&&C.A.U.AM&&C.A.D.vboxid!==C.K&&C.F7())}}paintPreview(e,t,n){var i=this;if(i.C.BA&&i.C.BA.IM&&i.A.QS){var r,a=i.C.P,o=i.C.BA,l=i.A.mapPointsToPreview(n),s=new DU(i.A);s.copy(e),s.CY=!0,s.LC=!0,s.B1=0,s.AT=0,s.EX=0,s.G9=0,s.C5=i.A.HY,s.CZ=[a.iX,a.iY,a.iX+a.I,a.iY+a.F],s.K=i.K+"-area-preview",s.DI=i.A.K+"-preview",s.Z=o.Z;var C=i.A.o["preview-state"];C&&(null!==ZC._n_(C["alpha-area"])?(r=C.alpha,C.alpha=C["alpha-area"]):C.alpha=s.C5,s.append(C),s.parse(),null!==ZC._n_(r)?C.alpha=r:delete C.alpha),s.E=l,s.paint();var c,A=i.A.mapPointsToPreview(t);i.A.WQ?c=i.A.WQ:(c=new D0(i),i.A.WQ=c),c.copy(e),c.K=i.K+"-line-preview",c.DI=i.A.K+"-preview";var u=ZC.Q.E8(o.Z,i.G.AC);c.B1=1,C&&(c.append(C),c.parse()),ZC.CR.paint(u,c,A,null,3)}}I2(e){var t=this;ZC.move||(t.A.OW||t.LL({layer:e,type:"area",initcb:function(){this.A0=t.A.BP[2],this.AE=t.A.BP[2],this.E=t.getNodeData("pointsarea")||[]},setupcb:function(){this.B1=0,this.AT=0,this.C5=t.A.HY;var e=t.C.P;this.CZ=[e.iX,e.iY,e.iX+e.I,e.iY+e.F]}}),t.YF(e),t.A.RG&&t.SA(e))}}class ZT extends MF{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT("v")[0]);return[e.iX+e.I/2,e.iY+(t.AU?e.F:0),{reference:e,center:!0}]}HG(e){var t=this,n="top-out",i=t.C.BK(t.A.BT("v")[0]),r=t.AD>=i.H8&&!i.AU||t.ADt.C.P.iY+t.C.P.F-o-5+p[2]&&(s=t.C.P.iY+t.C.P.F-o-5+p[2]-A)),[ZC._i_(l),ZC._i_(s)]}getPMap(){var e=super.getPMap();return this.addPMap(e,"barWidth","I"),e}paint(e){var t,n=this;if(super.paint(),!n.C.AJ["3d"]){typeof e===ZC._[31]&&(e=!1);var i=n.A.B2,r=n.A.CK;n.setup();var a,o,l,s,C,c=r.H8,A=r.AX(c),u=n.A.PR(),p=u.A9,h=u.ES,Z=u.CC,d=u.CS,f=u.F4,_=u.D1,g=u.EZ;if(e?h=n.A.D["node-"+n.L+"-bar-index"]:n.A.D["node-"+n.L+"-bar-index"]=u.ES,n.A.CA){a=0;for(var v=n.A.A.KF[h],m=0;m0){var K=_;(_=n.A.D1)<=1&&(_*=K),y+=(K-_)/2}var F=_,x=n.iY,I=null!==ZC._n_(n.A.M4[n.L])?n.A.M4[n.L]:0;if(x=n.A.CA&&"100%"===n.A.KY?r.AX(100*(n.CQ+I)/n.A.A.F8[n.L]["%total-"+n.A.DX]):r.AX(n.CQ+I),n.A.CA){o="100%"===n.A.KY?r.AX(100*(n.CQ-n.AD+I)/n.A.A.F8[n.L]["%total-"+n.A.DX]):r.AX(n.CQ-n.AD+I),x=ZC._i_(x),o=ZC._i_(o);var X=!r.AU&&n.AD>=0||r.AU&&n.AD<=0?-1:1,w=0,Y=0;""!==n.A.Q8?(w=n.UW(n.A.Q8)[0],Y=0):w=n.A.AT,""!==n.A.NZ?(Y=n.UW(n.A.NZ)[0],w=0):Y=n.A.AT,w!==Y&&(X=0),l=x-o+X*w,n.AD<0&&(x=o),r.AU?l>0&&(l=ZC._a_(l),x=o):l<0&&(l=ZC._a_(l),x=o-l),r.AU&&n.AD<0&&(l+=Y)}else o=r.AX(I),(l=x-o)<0?(l=ZC._a_(l),x=o-l):x=o;if(n.A.U2&&n.A.CA&&n.A.L>0&&n.A.A.A5[n.A.L-1].R[n.L]&&0===n.A.A.A5[n.A.L-1].R[n.L].AD&&(l-=1,x+=r.AU?1:-1),l<2&&(n.AD>0||n.A.U2)&&(l=1,r.AU?n.A.CA&&n.A.L>0&&(x-=1):n.A.CA?0===n.A.L&&(x-=1):x=I?o-1:A-2),n.I=F,n.F=l,n.iX=y,n.iY=x,r.AU?n.AD>=r.H8?n.iYVal=x+n.F:n.iYVal=x:n.AD>=r.H8?n.iYVal=x:n.iYVal=x+n.F,n.C.CW){var M="middle";n.C.CW.o.marker&&null!==ZC._n_(t=n.C.CW.o.marker.alignment)&&(M=t),null!==ZC._n_(n.A.o["guide-marker"])&&null!==ZC._n_(t=n.A.o["guide-marker"].alignment)&&(M=t),"node"===M&&(n.D.A6B=n.iX+n.I/2)}if(!e){var L;n.setNodeData({x:y,y:x,w:F,h:l});var G=!0;if("none"!==n.A.J6||n.C.J1[n.A.L]||n.C.KM||n.A.T7&&n.A.T7[n.L]?(L=n.N=n.A.I3(n,n.N),G=!1):L=n.N,(0!==n.A.E4.length||n.A.I6||n.N.o.override||n.C.KM)&&(G=!1),n.AM){var P;switch(n.A.CV){default:0!==n.A.E4.length||n.A.I6||typeof n.A.U6===ZC._[31]||n.N.o.override||n.C.KM?(P=new I0(n.A)).copy(L):P=n.A.U6,n.A.I6&&(n.GL(P),P.parse()),P.FE=n.A.FE,P.K=n.K,P.iX=y,P.iY=x,P.I=n.I,P.F=n.F,i.A9<5&&P.I<5?(P.I=ZC.BQ(1,P.I)+1,P.N5=!1,P.CY=!1):(P.N5=!0,P.CY=!0),P.I<5&&i.A1!==i.V&&n.C.P.I/(i.A1-i.V)<1&&(P.R7=!0);break;case"pyramid":case"cone":0!==n.A.E4.length||n.A.I6||typeof n.A.U6===ZC._[31]||n.N.o.override||n.C.KM?(P=new DU(n.A)).copy(L):P=n.A.U6,n.A.I6&&(n.GL(P),P.parse()),P.K=n.K,r.AU&&!n.A.CA?(C=n.AD>=0?0:n.F,s=n.AD>=0?n.F:0):(C=n.AD>=0?n.F:0,s=n.AD>=0?0:n.F),P.E=[],P.E.push([y+n.I/2-B*n.I/2,x+C],[y+n.I/2+B*n.I/2,x+C]),n.A.CA&&0!==D?P.E.push([y+n.I/2+D*n.I/2,x+s],[y+n.I/2-D*n.I/2,x+s]):P.E.push([y+n.I/2,x+s]),P.E.push([P.E[0][0],P.E[0][1]]),n.setNodeData({points:P.E}),P.iX=y,P.iY=x,P.locate(2)}P.Z=n.A.CN("bl",1),P.C6=n.A.CN("bl",0),n.paintPreview(L,G);var N=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6];P.DI=N;var k=ZC._c_(n.A.o.tolerance,5),O=function(){if(typeof n.paint_!==ZC._[31]&&n.paint_(),n.MR(ZC.Q.E8(P.Z,n.G.AC)),ZC.AO._boxoverlap2_(n,n.C.P,k)&&n.A.FX&&-1===ZC.AV(n.G.KX,ZC._[39])){var e=F<5?.5:-.5,t=l<3?.5:-.5,i=ZC.Q.GG("rect",n.A.E7,P.IZ)+'class="'+N+'" id="'+n.K+ZC._[30]+ZC._i_(y+n.A.BJ+ZC.MAPTX-e)+","+ZC._i_(x+n.A.BH+ZC.MAPTX-t)+","+ZC._i_(y+n.A.BJ+F+ZC.MAPTX+e)+","+ZC._i_(x+n.A.BH+l+ZC.MAPTX+t)+'" />';n.A.A.HX.push(i)}n.A.U&&n.A.U.AM&&n.F7()};if(n.A.GB&&!n.C.HM){var R=P,T={};R.iX=y,R.iY=x,R.I=F,R.F=l,T.x=y,T.y=x,T.width=F,T.height=l;var H,S=n.A.LH,z=n.C.P;for(H in R.C5=0,T.alpha=L.C5,2===S?(R.iY=z.iY+z.F/2,R.F=1,T.height=n.F,T.y=x):3===S?(R.iY=z.iY,R.F=1,T.height=n.F,T.y=x):4===S?(R.iY=z.iY+z.F,R.F=1,T.height=n.F,T.y=x):5===S?(R.iX=z.iX,R.I=1,T.width=n.I,T.x=y):6===S?(R.iX=z.iX+z.I,R.I=1,T.width=n.I,T.x=y):7===S?(R.iX=z.iX+z.I/2,R.I=1,T.width=n.I,T.x=y):8===S?(R.iX=y-z.I,T.x=y):9===S?(R.iX=y+z.I,T.x=y):10===S?(R.iY=x-z.F,T.y=x):11===S?(R.iY=x+z.F,T.y=x):12===S?(R.I=1,T.width=n.I):13===S&&(R.F=1,T.height=n.F),n.A.FV)R[E9.GO[ZC.EC(H)]]=n.A.FV[H],T[ZC.EC(H)]=L[E9.GO[ZC.EC(H)]];if(null===ZC._n_(n.C.EL)&&(n.C.EL={}),null!==ZC._n_(n.C.EL[n.A.L+"-"+n.L]))for(H in n.C.EL[n.A.L+"-"+n.L])R[E9.GO[ZC.EC(H)]]=n.C.EL[n.A.L+"-"+n.L][H];if(n.C.EL[n.A.L+"-"+n.L]={},ZC._cp_(T,n.C.EL[n.A.L+"-"+n.L]),ZC.AO._boxoverlap2_(n,n.C.P,k)){var Q=new E9(R,T,n.A.JL,n.A.LB,E9.RU[n.A.LF],(function(){O()}));Q.AW=n,Q.OK=function(){n.MR(ZC.Q.E8(P.Z,n.G.AC))},n.L5(Q)}}else{if(P.AM||0===n.A.E4.length&&!n.A.I6)if(n.A.WB||(n.A.WB={iX:P.iX,iY:P.iY,F:P.F}),n.A.A36)if(n.A.SO)if(n.A.SO.el&&"RECT"===n.A.SO.el.tagName.toUpperCase()){var J=!1;if(n.A.QN&&n.A.WB&&ZC._a_(P.iX-n.A.WB.iX)<.75&&ZC._a_(P.iY-n.A.WB.iY)<1.5&&ZC._a_(P.F-n.A.WB.F)<1.5&&(J=!0),!J){n.A.WB={iX:P.iX,iY:P.iY,F:P.F};var V=n.A.SO.el.cloneNode(!1);V.setAttribute("id",n.K),V.setAttribute("x",n.iX),V.setAttribute("y",n.iY),V.setAttribute(ZC._[20],n.F),n.A.SO.df?n.G.G1[P.Z.id].appendChild(V):n.A.SO.el.parentNode.appendChild(V)}}else P.paint();else P.paint(),n.A.SO={id:P.K+"-path"},zingchart.DEV.DOMFRAGMENTS&&document.querySelector&&n.G.G1&&n.G.G1[P.Z.id]?(n.A.SO.df=!0,n.A.SO.el=n.G.G1[P.Z.id].querySelector("#"+P.K+"-path")):(n.A.SO.df=!1,n.A.SO.el=ZC.AK(n.A.SO.id));else ZC.AO._boxoverlap2_(n,n.C.P,k)&&P.paint();P.AM&&O()}"svg"===n.G.AC&&n.A.applyJsRuleSvg(n.A,n.K+"-path",n.LG()),0!==n.A.E4.length||n.A.I6||typeof n.A.U6!==ZC._[31]||n.N.o.override||n.C.KM||n.A.GB||(n.A.U6=P)}}}}paintPreview(e,t){var n,i,r=this;if(r.C.BA&&r.C.BA.IM&&r.A.QS){var a=r.C.P,o=r.C.BA,l=o.AQ,s=(r.iX-a.iX)/a.I,C=(r.iY-a.iY)/a.F;r.A.WO?n=r.A.WO:(n=new I0(r.A),r.A.WO=n,n.copy(e),(i=r.A.o["preview-state"])&&(n.append(i),n.parse())),t||(n.copy(e),(i=r.A.o["preview-state"])&&(n.append(i),n.parse())),n.K=r.K+"-preview",n.DI=r.A.K+"-preview",n.iX=l.iX+l.AT+s*(l.I-2*l.AT),n.iY=l.iY+l.AT+C*(l.F-2*l.AT),n.I=r.I/a.I*(l.I-2*l.AT),n.F=r.F/a.F*(l.F-2*l.AT),l.I/r.A.R.length<10?(n.I=n.I+.5,n.N5=!1,n.CY=!1):(n.N5=!0,n.CY=!0),n.Z=n.C6=o.Z,n.paint()}}I2(e){var t=this;if(e=e||"hover",!ZC.move){var n="";switch(t.A.CV){default:n="box";break;case"pyramid":n="shape"}t.LL({layer:e,type:n,initcb:function(){this.A0=t.A.BP[3],this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.AE=t.A.BP[2]},setupcb:function(){switch(t.A.CV){default:this.iX=t.getNodeData("x"),this.iY=t.getNodeData("y"),this.I=t.getNodeData("w"),this.F=t.getNodeData("h");var e=t.C.P;this.iYe.iY+e.F&&(this.F=e.iY+e.F-this.iY);break;case"pyramid":case"cone":this.E=t.getNodeData("points")}}}),t.MR(ZC.Q.E8(t.C.K+ZC._[22],t.G.AC),!0),t.A.RS=null}}}class ZS extends MF{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT("v")[0]);return[e.iX+(t.AU?0:e.I),e.iY+e.F/2,{reference:e,center:!0}]}HG(e){var t=this,n="top-out",i=t.C.BK(t.A.BT("v")[0]),r=t.AD>=i.H8&&!i.AU||t.AD0){var D=Z;(Z=t.A.D1)<=1&&(Z*=D),B+=(D-Z)/2}var E=Z,y=t.iX,K=null!==ZC._n_(t.A.M4[t.L])?t.A.M4[t.L]:0;if(y=t.A.CA&&"100%"===t.A.KY?i.AX(100*(t.CQ+K)/t.A.A.F8[t.L]["%total-"+t.A.DX]):i.AX(t.CQ+K),t.A.CA){a="100%"===t.A.KY?i.AX(100*(t.CQ-t.AD+K)/t.A.A.F8[t.L]["%total-"+t.A.DX]):i.AX(t.CQ-t.AD+K),y=ZC._i_(y),a=ZC._i_(a);var F=!i.AU&&t.AD>=0||i.AU&&t.AD<=0?1:-1,x=0,I=0;""!==t.A.OP?(x=t.UW(t.A.OP)[0],I=0):x=t.A.AT,""!==t.A.PI?(I=t.UW(t.A.PI)[0],x=0):I=t.A.AT,x!==I&&(F=0),o=y-a+F*x,t.AD>0?y=a:o=ZC._a_(o),i.AU?o>0?(o=ZC._a_(o),y=a):(o=ZC._a_(o),y-=o):o<0&&(o=ZC._a_(o),y=a-o)}else a=i.AX(K),(o=y-a)<0?(o=ZC._a_(o),y=a-o):y=a;if(t.A.U2&&t.A.CA&&t.A.L>0&&t.A.A.A5[t.A.L-1].R[t.L]&&0===t.A.A.A5[t.A.L-1].R[t.L].AD&&(o-=1,y+=i.AU?-1:1),o<1&&(t.AD>0||t.A.U2)&&(o=1,i.AU?t.A.CA?0===t.A.L&&(y-=1):y-=2:t.A.L>0&&t.A.CA&&(y-=1)),t.I=o,t.F=E,t.iX=y,t.iY=B,i.AU?t.AD>=i.H8?t.iXVal=y:t.iXVal=y+t.I:t.AD>=i.H8?t.iXVal=y+t.I:t.iXVal=y,!e){var X;t.setNodeData({x:y,y:B,w:o,h:E});var w=!0;if("none"!==t.A.J6||t.C.J1[t.A.L]||t.C.KM||t.A.T7&&t.A.T7[t.L]?(X=t.N=t.A.I3(t,t.N),w=!1):X=t.N,(0!==t.A.E4.length||t.A.I6||t.N.o.override||t.C.KM)&&(w=!1),t.AM){var Y;switch(t.A.CV){default:0!==t.A.E4.length||t.A.I6||typeof t.A.U6===ZC._[31]||t.N.o.override||t.C.KM?(Y=new I0(t.A)).copy(X):Y=t.A.U6,t.A.I6&&(t.GL(Y),Y.parse()),Y.FE=t.A.FE,Y.K=t.K,Y.iX=y,Y.iY=B,Y.I=t.I,Y.F=t.F,n.A9<5&&Y.F<5?(Y.F=ZC.BQ(1,Y.F)+1,Y.N5=!1,Y.CY=!1):(Y.N5=!0,Y.CY=!0),Y.F<5&&n.A1!==n.V&&t.C.P.F/(n.A1-n.V)<1&&(Y.R7=!0);break;case"pyramid":case"cone":0!==t.A.E4.length||t.A.I6||typeof t.A.U6===ZC._[31]||t.N.o.override||t.C.KM?(Y=new DU(t.A)).copy(X):Y=t.A.U6,t.A.I6&&(t.GL(Y),Y.parse()),Y.K=t.K,i.AU&&!t.A.CA?(s=t.AD>=0?t.I:0,l=t.AD>=0?0:t.I):(s=t.AD>=0?0:t.I,l=t.AD>=0?t.I:0),Y.E=[],Y.E.push([y+s,B+t.F/2-v*t.F/2],[y+s,B+t.F/2+v*t.F/2]),t.A.CA&&0!==m?Y.E.push([y+l,B+t.F/2+m*t.F/2],[y+l,B+t.F/2-m*t.F/2]):Y.E.push([y+l,B+t.F/2]),Y.E.push([Y.E[0][0],Y.E[0][1]]),t.D.points=Y.E,Y.iX=y,Y.iY=B,Y.locate(2)}Y.Z=t.A.CN("bl",1),Y.C6=t.A.CN("bl",0),t.paintPreview(X,w);var M=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];Y.DI=M;var L=ZC._c_(t.A.o.tolerance,5),G=function(){if(typeof t.paint_!==ZC._[31]&&t.paint_(),t.MR(ZC.Q.E8(Y.Z,t.G.AC)),ZC.AO._boxoverlap2_(t,t.C.P,L)&&t.A.FX&&-1===ZC.AV(t.G.KX,ZC._[39])){var e=o<3?.5:-.5,n=E<5?.5:-.5,i=ZC.Q.GG("rect",t.A.E7,Y.IZ)+'class="'+M+'" id="'+t.K+ZC._[30]+ZC._i_(y+t.A.BJ+ZC.MAPTX-e)+","+ZC._i_(B+t.A.BH+ZC.MAPTX-n)+","+ZC._i_(y+t.A.BJ+o+ZC.MAPTX+e)+","+ZC._i_(B+t.A.BH+E+ZC.MAPTX+n)+'" />';t.A.A.HX.push(i)}t.A.U&&t.A.U.AM&&t.F7()};if(t.A.GB&&!t.C.HM){var P=Y,N={};P.iX=y,P.iY=B,P.I=o,P.F=E,N.x=y,N.y=B,N.width=o,N.height=E;var k,O=t.A.LH,R=t.C.P;for(k in P.C5=0,N.alpha=X.C5,2===O?(P.iX=R.iX+R.I/2,P.I=1,N.width=t.I,N.x=y):3===O?(P.iX=R.iX+R.I,P.I=1,N.width=t.I,N.x=y):4===O?(P.iX=R.iX,P.I=1,N.width=t.I,N.x=y):5===O?(P.iY=R.iY+R.F,P.F=1,N.height=t.F,N.y=B):6===O?(P.iY=R.iY,P.F=1,N.height=t.F,N.y=B):7===O?(P.iY=R.iY+R.F/2,P.F=1,N.height=t.F,N.y=B):8===O?(P.iY=B+R.F,N.y=B):9===O?(P.iY=B-R.F,N.y=B):10===O?(P.iX=y+R.I,N.x=y):11===O?(P.iX=y-R.I,N.x=y):12===O?(P.F=1,N.height=t.F):13===O&&(P.I=1,N.width=t.I),t.A.FV)P[E9.GO[ZC.EC(k)]]=t.A.FV[k],N[ZC.EC(k)]=t.N[E9.GO[ZC.EC(k)]];if(null===ZC._n_(t.C.EL)&&(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+"-"+t.L]))for(k in t.C.EL[t.A.L+"-"+t.L])P[E9.GO[ZC.EC(k)]]=t.C.EL[t.A.L+"-"+t.L][k];if(t.C.EL[t.A.L+"-"+t.L]={},ZC._cp_(N,t.C.EL[t.A.L+"-"+t.L]),ZC.AO._boxoverlap2_(t,t.C.P,L)){var T=new E9(P,N,t.A.JL,t.A.LB,E9.RU[t.A.LF],(function(){G()}));T.AW=t,T.OK=function(){t.MR(ZC.Q.E8(Y.Z,t.G.AC))},t.L5(T)}}else(Y.AM||0===t.A.E4.length&&!t.A.I6)&&ZC.AO._boxoverlap2_(t,t.C.P,L)&&Y.paint(),Y.AM&&G();"svg"===t.G.AC&&t.A.applyJsRuleSvg(t.A,t.K+"-path",t.LG()),0!==t.A.E4.length||t.A.I6||typeof t.A.U6!==ZC._[31]||t.N.o.override||t.C.KM||t.A.GB||(t.A.U6=Y)}}}}paintPreview(e,t){var n,i,r=this;if(r.C.BA&&r.C.BA.IM&&r.A.QS){var a=r.C.P,o=r.C.BA,l=o.AQ,s=(r.iX-a.iX)/a.I,C=(r.iY-a.iY)/a.F;r.A.WO?n=r.A.WO:(n=new I0(r.A),r.A.WO=n,n.copy(e),(i=r.A.o["preview-state"])&&(n.append(i),n.parse())),t||(n.copy(e),(i=r.A.o["preview-state"])&&(n.append(i),n.parse())),n.K=r.K+"-preview",n.DI=r.A.K+"-preview",n.iX=l.iX+l.AT+s*(l.I-2*l.AT),n.iY=l.iY+l.AT+C*(l.F-2*l.AT),n.I=r.I/a.I*(l.I-2*l.AT),n.F=r.F/a.F*(l.F-2*l.AT),l.I/r.A.R.length<10?(n.I=n.I+.5,n.N5=!1,n.CY=!1):(n.N5=!0,n.CY=!0),n.Z=n.C6=o.Z,n.paint()}}I2(e){var t=this;if(!ZC.move){var n="";switch(t.A.CV){default:n="box";break;case"pyramid":n="shape"}t.LL({layer:e,type:n,initcb:function(){this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.A0=t.A.BP[3],this.AE=t.A.BP[2]},setupcb:function(){switch(t.A.CV){default:this.iX=t.getNodeData("x"),this.iY=t.getNodeData("y"),this.I=t.getNodeData("w"),this.F=t.getNodeData("h");var e=t.C.P;this.iXe.iX+e.I&&(this.I=e.iX+e.I-this.iX);break;case"pyramid":case"cone":this.E=t.getNodeData("points")}}}),t.MR(ZC.Q.E8(t.C.K+ZC._[22],t.G.AC),!0),t.A.RS=null}}}class A6J extends MF{setup(){var e=this,t=e.A.B2,n=e.A.CK,i=[t.V,t.A1,n.V,n.A1];if(e.JR!==i){if("scatter"===e.A.AF){if(e.A.LZ&&e.A.QB){var r=ZC.AO.WU(e.A.QB[0],e.A.QB[1]),a=(e.BU-r[0])/(r[1]-r[0]);e.iX=t.H4(e.A.RF)-t.A9/2+e.A.RZ+a*(t.A9-2*e.A.RZ)}else e.iX=t.AX(e.BU);e.iY=n.AX(e.AD)}else e.iY=t.AX(e.BU),e.iX=n.AX(e.AD);e.JR=i}e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BU=this.L)}JB(){return{color:"-1"===this.A.A2.A0?this.N.A0:this.A.A2.A0}}getTooltipPosition(e,t){return super.getTooltipPosition(e,t,this.NE.AI)}KC(){return{"background-color":"-1"===this.A.A2.AE?this.N.AE:this.A.A2.AE,"border-color":"-1"===this.A.A2.AE?this.N.AE:this.A.A2.AE,color:this.N.C1}}paint(e){var t=this;super.paint();var n=t.A.B2,i=t.A.CK;t.setup(),e||(n.CP?ZC.DS(t.iX,i.iX+(i.AU?i.BW:i.A6)-1,i.iX+i.I-(i.AU?i.A6:i.BW)+1)&&ZC.DS(t.iY,n.iY+(n.AU?n.BW:n.A6)-1,n.iY+n.F-(n.AU?n.A6:n.BW)+1)&&t.OR(!1,!0):ZC.DS(t.iX,n.iX+(n.AU?n.BW:n.A6)-1,n.iX+n.I-(n.AU?n.A6:n.BW)+1)&&ZC.DS(t.iY,i.iY+(i.AU?i.A6:i.BW)-1,i.iY+i.F-(i.AU?i.BW:i.A6)+1)&&t.OR(!1,!0))}I2(e){ZC.move||this.SA(e)}}class A76 extends MF{constructor(e){super(e),this.SW=null}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BU=this.L),this.o[ZC._[9]]instanceof Array&&null!==ZC._n_(this.o[ZC._[9]][2])?this.SW=ZC._f_(this.o[ZC._[9]][2]):this.SW=2}JB(){return{color:"-1"===this.A.A2.A0?this.N.A0:this.A.A2.A0}}getTooltipPosition(e,t){var n=this.A.getSize(ZC._a_(this.SW));return super.getTooltipPosition(e,t,n)}KC(){return{"background-color":"-1"===this.A.A2.AE?this.N.AE:this.A.A2.AE,"border-color":"-1"===this.A.A2.AE?this.N.AE:this.A.A2.AE,color:this.N.C1}}F0(e,t,n,i){var r=this,a=r.A.LV();ZC._cp_(t,a);var o=ZC.AP.GJ(r.SW,a);return r.CU=[["%v0",r.BU],["%v1",r.AD],["%v2",o],["%node-size-value",o]],super.F0(e,t,n,i)}setup(){var e=this,t=e.A.B2,n=e.A.CK,i=[t.V,t.A1,n.V,n.A1];if(e.JR!==i){if("bubble"===e.A.AF){if(e.A.LZ&&e.A.QB){var r=ZC.AO.WU(e.A.QB[0],e.A.QB[1]),a=(e.BU-r[0])/(r[1]-r[0]);e.iX=t.H4(e.A.RF)-t.A9/2+e.A.RZ+a*(t.A9-2*e.A.RZ)}else e.iX=t.AX(e.BU);e.iY=n.AX(e.AD)}else e.iY=t.AX(e.BU),e.iX=n.AX(e.AD);e.JR=i}e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}HG(e){var t,n=this,i="auto";null!==ZC._n_(t=e.o[ZC._[7]])&&(i=t);var r=e.I,a=e.F,o=n.D["marker.size"],l=n.iX-r/2,s=n.iY-a/2,C=0,c=0;switch(i){case"top":s-=a/2+o,c=n.iY-n.C.P.iY+o;break;case"bottom":s+=a/2+o,c=n.C.P.iY+n.C.P.F-n.iY+o;break;case"left":l-=r/2+o,C=n.iX-n.C.P.iX+o;break;case"right":l+=r/2+o,C=n.C.P.iX+n.C.P.I-n.iX+o}return null!==ZC._n_(e.o.x)&&(l=e.iX),null!==ZC._n_(e.o.y)&&(s=e.iY),ln.C.P.iX+n.C.P.I&&(l=n.C.P.iX+n.C.P.I-r-C),sn.C.P.iY+n.C.P.F&&(s=n.C.P.iY+n.C.P.F-a-c),[ZC._i_(l),ZC._i_(s)]}paint(e){var t=this;typeof e===ZC._[31]&&(e=!1),super.paint();var n=t.A.B2,i=t.A.CK;t.setup(),t.D["marker.size"]=t.A.getSize(ZC._a_(t.SW)),e||(n.CP?ZC.DS(t.iX,i.iX+(i.AU?i.BW:i.A6)-1,i.iX+i.I-(i.AU?i.A6:i.BW)+1)&&ZC.DS(t.iY,n.iY+(n.AU?n.BW:n.A6)-1,n.iY+n.F-(n.AU?n.A6:n.BW)+1)&&t.OR(!1,!0):ZC.DS(t.iX,n.iX+(n.AU?n.BW:n.A6)-1,n.iX+n.I-(n.AU?n.A6:n.BW)+1)&&ZC.DS(t.iY,i.iY+(i.AU?i.A6:i.BW)-1,i.iY+i.F-(i.AU?i.BW:i.A6)+1)&&t.OR(!1,!0))}I2(e){ZC.move||this.SA(e)}}class A9I extends MF{constructor(e){super(e),this.U=null}parse(){super.parse()}X6(){super.X6();var e=this.C.D;e.update.npv=e.update["node-percent-value"]=this.F0("%npv")}F0(e,t,n,i){var r=this,a=r.A.LV();ZC._cp_(t,a),-1===e.indexOf("%npv")&&-1===e.indexOf("%node-percent-value")||null!==ZC._n_(a[ZC._[12]])&&-1!==a[ZC._[12]]||(a[ZC._[12]]=1);var o=0,l="0";if(r.A.A.KQ[r.L]>0&&(l=""+(o=100*r.AD/r.A.A.KQ[r.L])),r.A.A.A5.length>1&&r.A.L===r.A.A.A5.length-1){var s=0;if(null===ZC._n_(r.A.o.totals)){for(var C=0;C0&&(A=""+(c=100*r.A.A.A5[C].R[r.L].AD/r.A.A.KQ[r.L])),null!==ZC._n_(a[ZC._[12]])&&(A=c.toFixed(ZC.BQ(0,ZC._i_(a[ZC._[12]])))),s+=ZC._f_(A)}l=""+(o=Math.max(0,100-s))}}null!==ZC._n_(a[ZC._[12]])&&(l=o.toFixed(ZC.BQ(0,ZC._i_(a[ZC._[12]]))));var u,p=ZC._f_(r.A.A.KQ[r.L]||"0");return u=ZC.AP.GJ(p,a,r.A),r.CU=[["%node-percent-value",l],["%npv",l],["%pie-total-value",u]],super.F0(e,t,n,i)}getTooltipPosition(e,t){var n,i,r,a=this,o=(a.B3+a.BI)/2%360;switch(t){case"out":i=(n=ZC.AO.BL(a.iX,a.iY,a.AI+a.DQ+e.DQ,o))[0]+a.BJ,r=n[1]+a.BH,o>270&&o<=360?r-=e.F:o>90&&o<=180?i-=e.I:o>180&&o<=270&&(i-=e.I,r-=e.F);break;case"center":i=(n=ZC.AO.BL(a.iX,a.iY,a.CM+.5*(a.AI-a.CM)+a.DQ,o))[0]+a.BJ,r=n[1]+a.BH;break;default:i=a.iX+a.BJ,r=a.iY+a.BH}return{x:i,y:r}}OM(e){var t,n=this,i=(n.B3+n.BI)/2%360,r=0;null!==ZC._n_(t=e["offset-r"])&&(r=ZC._f_(ZC._p_(t))),r<1&&(r*=n.AI);var a=ZC.AO.BL(n.iX,n.iY,n.CM+.6*(n.AI-n.CM)+n.DQ+r,i);return[a[0],a[1],{reference:n,center:!0}]}A8B(){var e=this,t=(e.B3+e.BI)/2%360,n=ZC.AO.BL(e.iX,e.iY,e.CM+.5*(e.AI-e.CM)+e.DQ,t);return[n[0],n[1]]}setup(){var e=this,t=e.C.BK(e.A.BT("k")[0]),n=e.L%t.H2,i=Math.floor(e.L/t.H2);e.iX=t.iX+n*t.GK+t.GK/2+t.BJ,e.iY=t.iY+i*t.GE+t.GE/2+t.BH,e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}JB(e){var t,n={},i="out";return null!==ZC._n_(t=e.o[ZC._[7]])&&(i=t),n.color="out"===i?this.A0:this.C1,n}HG(e){var t,n=this,i="out";null!==ZC._n_(t=e.o[ZC._[7]])&&(i=t);var r,a,o,l,s,C=e.I,c=e.F,A=(n.B3+n.BI)/2%360,u=A;if("out"===i){A=u=n.A.A.YO["n"+n.L][n.A.L];var p=function(t,i){i<0&&(i=360+i),i%=360;var r=(s=ZC.AO.BL(n.iX,n.iY,t+n.DQ+e.DQ+20,i))[0]+e.BJ-C/2,a=s[1]+e.BH-c/2;return i>=0&&i<=90||i>=270&&i<=360?r+=C/2+10:r-=C/2+10,[r,a]},h=p(n.AI,u);r=h[0],a=h[1],n.U=e;var Z={x:r,y:a,width:C,height:c},d=zingchart.DEV.SPREADTYPE;l=!0;for(var f=0,_=0,g=-1,v=0,m=0;l&&m<1024;){l=!1;for(var b=0,B=n.A.A.UC.length;bn.C.P.iX+n.C.P.I||Z.xn.C.P.iY+n.C.P.F||Z.y100&&(v=0,0===d?(f=0,_+=2):1===d&&(_=0,f+=.4,g*=-1)))}r=Z.x,a=Z.y,A=u+f,o={text:n.A.AR,x:Z.x,y:Z.y,width:C,height:c,plotindex:n.A.L,nodeindex:n.L},n.A.A.UC.push(o)}else if("in"===i||"radial"===i){var D=n.CM<30?.65:.5;r=(s=n.B3%360==n.BI%360?0===n.CM?[n.iX,n.iY]:ZC.AO.BL(n.iX,n.iY,n.CM+.3*(n.AI-n.CM)+n.DQ+e.DQ,270):ZC.AO.BL(n.iX,n.iY,n.CM+D*(n.AI-n.CM)+n.DQ+e.DQ,A))[0]-C/2+n.BJ,a=s[1]-c/2+n.BH}else if(-1!==i.indexOf("fixed=")){var E=i.split(/=|;|,/),y=(n.AI+n.CM)/2,K=A;E[1]&&(y=(y=ZC.IQ(E[1],!0))>=-1&&y<=1||-1!==E[1].indexOf("%")?n.CM+n.DQ+y*(n.AI-n.CM):n.CM+n.DQ+y),E[2]&&(K=(K=ZC.IQ(E[2],!0))>=-1&&K<=1||-1!==E[2].indexOf("%")?n.B3+K*(n.BI-n.B3):n.B3+K),E[3]&&("+"===E[3].charAt(0)||"-"===E[3].charAt(0)?(K%=360,e.AA=K+ZC._f_(E[3]),e.AA>90&&e.AA<270&&(e.AA+=180)):e.AA=ZC._f_(E[3])),r=(s=ZC.AO.BL(n.iX,n.iY,y,K))[0]-C/2,a=s[1]-c/2}else"center"===i&&(r=n.iX-C/2+n.BJ,a=n.iY-c/2+n.BH);return l&&(r=-9999,a=-9999,e.AM=!1),null!==ZC._n_(e.o.x)&&(r=e.iX),null!==ZC._n_(e.o.y)&&(a=e.iY),r>=-2&&(r=ZC._a_(r)),a>=-2&&(a=ZC._a_(a)),[ZC._i_(r),ZC._i_(a),A]}appendToValueBox(e){var t=this,n={};if("radial"===e.o[ZC._[7]]){var i=.9*ZC._a_(t.AI-t.CM),r=Math.PI*(t.AI+t.CM)*.9*ZC._a_(t.BI-t.B3)/360,a=ZC._i_(Math.max(i,r)/(.75*e.DH));if(null===ZC._n_(e.o.visible)?n.visible=1===t.A.A.A5.length||r>1.25*e.DH:n.visible=e.JC.visible,null===ZC._n_(e.o["max-chars"])&&(n["max-chars"]=a),null===ZC._n_(e.o.angle)){var o=(t.B3+t.BI)/2%360;t.A.A.A5.length>1?r>i?o>0&&o<180?o-=90:o+=90:o>90&&o<270&&(o+=180):o=0,n.angle=o}}return n}F7(e,t){var n,i=this,r=super.F7(e,t);if(e)return r;if(i.AM&&r.AM&&null!==ZC._n_(r.AR)&&""!==r.AR){var a="out";if(null!==ZC._n_(n=r.o[ZC._[7]])&&(a=n),"out"===a){var o=!0;if(null!==ZC._n_(n=r.o.connected)&&(o=ZC._b_(n)),o){var l=new DU(i.A);l.Z=l.C6=i.A.CN("bl",0),l.append(i.A.C2.o),l.K=i.K+"-connector",l.B7=i.A0,l.DP="line",l.E=[];var s=r.D.positioninfo,C=(i.B3+i.BI)/2%360,c=ZC.AO.BL(i.iX,i.iY,i.AI+i.DQ,C);c[0]+=i.BJ,c[1]+=i.BH,l.E.push(c);var A=ZC.AO.BL(i.iX,i.iY,i.AI+i.DQ+10,C);A[0]+=i.BJ,A[1]+=i.BH,r.iX>=i.iX?"vml"===i.G.AC?l.E.push([s[0],s[1]+r.F/2]):l.E.push([A[0],A[1],s[0],s[1]+r.F/2]):"vml"===i.G.AC?l.E.push([s[0]+r.I+2,s[1]+r.F/2]):l.E.push([A[0],A[1],s[0]+r.I+2,s[1]+r.F/2]),l.parse(),l.J0=function(e){return i.J0(e)},l.DB()&&l.parse(),l.AM&&l.paint()}}}}paint(){var e,t=this;if(super.paint(),!(t.AD<0)){var n=t.C.BK(t.A.BT("k")[0]);t.setup();var i="pie-sel-"+t.A.L+"-"+t.L;if(t.o.detached&&typeof t.C.D[i]===ZC._[31]&&(t.C.D[i]=!0),t.AI=ZC.CX(n.GE,n.GK)/2,null!==ZC._n_(t.A.o[ZC._[21]])){var r=ZC.IQ(t.A.o[ZC._[21]],!1);t.AI=r<=1?t.AI*r:r}else t.AI=n.JT*t.AI;t.CM<=1&&(t.CM*=t.AI),t.CM=Math.max(0,t.CM),t.o[ZC._[8]]=t.CM,t.DQ<=1&&(t.DQ*=t.AI),t.o["offset-r"]=t.DQ,t.C.D[i]&&(t.DQ+=ZC._i_(.15*t.AI));var a=t.N=t.A.I3(t,t);if(t.GL(a),t.AD>=0||0===t.A.A.KQ[t.L]){var o=new DU(t.A);o.K=t.K,o.Z=t.A.CN("bl",1),o.C6=t.A.CN("bl",0),o.copy(a);var l=t.iX,s=t.iY;t.DQ>0&&(l=(e=ZC.AO.BL(t.iX,t.iY,t.DQ,(t.B3+t.BI)/2))[0],s=e[1]),o.iX=l,o.iY=s,o.AI=t.AI,o.o[ZC._[21]]=t.AI,o.DP="pie",o.B3=ZC._f_(t.B3),o.BI=ZC._f_(t.BI),o.CM=t.CM,o.D.plotidx=t.A.L,o.D.nodeidx=t.L,o.parse(),t.G2=o;var C=function(){if(!t.A.KE&&t.AM){var e=o.F1(),n=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],i=ZC.Q.GG("poly",t.A.E7,t.A.IZ)+'class="'+n+'" id="'+t.K+ZC._[30]+e+'" />';t.A.A.HX.push(i)}t.A.U&&t.F7()};if(t.A.GB&&!t.C.HM){var c=o,A={};c.iX=l,c.iY=s,c.B3=t.B3,c.BI=t.BI,A.angleStart=t.B3,A.angleEnd=t.BI,A.x=l,A.y=s;var u,p=t.A.LH;for(u in c.C5=0,A.alpha=a.C5,2===p?(c.BI=t.B3,A.angleEnd=t.BI):3===p?(c.AI=t.CM,A.size=t.AI):4===p?(e=ZC.AO.BL(t.iX,t.iY,1.2*t.AI,(t.B3+t.BI)/2),c.iX=e[0],c.iY=e[1],A.x=l,A.y=s):5===p&&(c.B3=c.BI=(t.B3+t.BI)/2,A.angleStart=t.B3,A.angleEnd=t.BI),t.A.FV)c[E9.GO[ZC.EC(u)]]=t.A.FV[u],A[ZC.EC(u)]=a[E9.GO[ZC.EC(u)]];if(null===ZC._n_(t.C.EL)&&(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+"-"+t.L]))for(u in t.C.EL[t.A.L+"-"+t.L])c[E9.GO[ZC.EC(u)]]=t.C.EL[t.A.L+"-"+t.L][u];t.C.EL[t.A.L+"-"+t.L]={},ZC._cp_(A,t.C.EL[t.A.L+"-"+t.L]);var h=new E9(c,A,t.A.JL,t.A.LB,E9.RU[t.A.LF],(function(){C()}));h.AW=t,t.L5(h)}else o.paint(),C()}else t.A.U&&t.F7()}}I2(e){var t=this;ZC.move||t.LL({layer:e,type:"shape",initcb:function(){if(this.copy(t),this.iX=t.iX,this.iY=t.iY,t.DQ>0){var e=ZC.AO.BL(t.iX,t.iY,t.DQ,(t.B3+t.BI)/2);this.iX=e[0],this.iY=e[1]}this.AI=t.AI,this.DP="pie",this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.B3=ZC._f_(t.B3),this.BI=ZC._f_(t.BI),this.CM=t.CM},parsecb:function(){this.o[ZC._[21]]=t.AI,this.o[ZC._[8]]=t.CM,this.o["offset-r"]=t.DQ}})}OZ(e,t){var n=this;if(super.OZ(e,t),"click"===t&&e.which<=1&&n.A.A89){zingchart.SKIP.ANIMATION=!0,zingchart.SKIP.EVENT=!0;var i="pie-sel-"+n.A.L+"-"+n.L;n.C.D[i]=typeof n.C.D[i]===ZC._[31]||!n.C.D[i],n.C.JW(),zingchart.SKIP.EVENT=!1,zingchart.SKIP.ANIMATION=!1}}}class A4Y extends MF{setup(){var e=this,t=e.C.BK(e.A.BT("k")[0]);e.iX=t.iX+t.I/2+t.BJ,e.iY=t.iY+t.F/2+t.BH,e.IM||(e.copy(e.A),e.o[ZC._[8]]=null,e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}A8B(){var e=this,t=(e.B3+e.BI)/2%360,n=ZC.AO.BL(e.iX,e.iY,e.CM+e.D.bandwidth/2+e.DQ,t);return[n[0],n[1]]}F0(e,t,n,i){var r=this,a=r.A.LV();ZC._cp_(t,a);var o=100*r.AD/r.A.A.KQ[r.L],l=""+o;return null!==ZC._n_(a[ZC._[12]])&&(l=o.toFixed(ZC.BQ(0,ZC._i_(a[ZC._[12]])))),r.CU=[["%node-percent-value",l],["%npv",l]],super.F0(e,t,n,i)}JB(e){var t={},n="in";return null!==ZC._n_(e.o[ZC._[7]])&&(n=e.o[ZC._[7]]),t.color="out"===n?this.A0:this.C1,t}HG(e){var t=this,n="in";null!==ZC._n_(e.o[ZC._[7]])&&(n=e.o[ZC._[7]]);var i,r,a,o=e.I,l=e.F,s=(t.B3+t.BI)/2%360;return"out"===n?t.L===t.A.R.length-1?(a=ZC.AO.BL(t.iX,t.iY,t.A.UG+t.A.R.length*(t.D.bandwidth+t.D.bandspace)+15+e.DQ,s),i=s>=0&&s<90||s>=270&&s<360?a[0]+10+t.BJ:a[0]-o-10+t.BJ,r=a[1]-l/2+t.BH):(i=-1,r=-1):(i=(a=ZC.AO.BL(t.iX,t.iY,t.CM+t.D.bandwidth/2+e.DQ,s))[0]-o/2+t.BJ,r=a[1]-l/2+t.BH),null!==ZC._n_(e.o.x)&&(i=e.iX),null!==ZC._n_(e.o.y)&&(r=e.iY),[ZC._i_(i),ZC._i_(r),s]}F7(e){var t=this,n=super.F7(e);if(e)return n;if(n.AM&&null!==ZC._n_(n.AR)&&""!==n.AR){var i="in";if(null!==ZC._n_(n.o[ZC._[7]])&&(i=n.o[ZC._[7]]),"out"===i&&t.L===t.A.R.length-1){var r=new DU(t.A);r.Z=r.C6=t.G.usc()?t.G.mc("top"):t.C.AJ["3d"]||t.G.KE?ZC.AK(t.C.K+"-plots-vb-c"):ZC.AK(t.C.K+"-plot-"+t.A.L+"-vb-c"),r.append(t.A.C2.o),r.B7=t.A0,r.DP="line",r.E=[];var a=(t.B3+t.BI)/2%360,o=ZC.AO.BL(t.iX,t.iY,t.CM+t.D.bandwidth+n.DQ,a),l=ZC.AO.BL(t.iX,t.iY,t.A.UG+t.A.R.length*(t.D.bandwidth+t.D.bandspace)+15+n.DQ,a);o[0]+=t.BJ,l[0]+=t.BJ,o[1]+=t.BH,l[1]+=t.BH,r.E.push(o),a>=0&&a<90||a>=270&&a<360?r.E.push([l[0],l[1],l[0]+10,l[1]]):r.E.push([l[0],l[1],l[0]-10,l[1]]),r.parse(),r.J0=function(e){return t.J0(e)},r.DB()&&r.parse(),r.AM&&r.paint()}}}paint(){var e,t=this;super.paint();var n=t.C.BK(t.A.BT("k")[0]);t.setup(),t.AI=ZC.CX(n.I,n.F)/2,t.AI=n.JT*t.AI,t.CM=t.A.UG,t.CM<1&&(t.CM=t.A.UG*t.AI);var i=t.A.SX;i<1&&(i=t.A.SX*t.AI);var r=2,a=t.AI-t.CM;if(null!==ZC._n_(t.A.aBandWidths)&&null!==ZC._n_(t.A.aBandWidths[t.L])){(r=ZC._f_(t.A.aBandWidths[t.L]))>1&&(r/=100),r=ZC._i_(a*r),r=ZC.BQ(r,2);for(var o=0,l=0;l1&&(o/=100),o=ZC._i_(a*o),t.CM+=o,t.AI=t.CM+r}else r=(a-(t.A.R.length-1)*i)/t.A.R.length,r=ZC.BQ(r,2),t.CM+=t.L*(r+i),t.AI=t.CM+r;var s=t.N=t.A.I3(t,t);t.GL(s);var C=new DU(t.A);C.K=t.K,C.Z=t.A.CN("bl",1),C.C6=t.A.CN("bl",0),C.copy(s),C.iX=t.iX,C.iY=t.iY,C.DP="pie",C.B3=t.B3,C.BI=t.BI,C.CM=t.CM,C.AI=t.AI,C.parse();var c=C.CM;function A(){var e=C.F1(),n=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],i=ZC.Q.GG("poly",t.A.E7,t.A.IZ)+'class="'+n+'" id="'+t.K+ZC._[30]+e+'" />';t.A.A.HX.push(i),t.A.U&&t.A.U.AM&&t.F7()}if(t.D.bandwidth=r,t.D.bandspace=i,t.A.GB&&!t.C.HM){var u=C,p={};u.B3=t.B3,u.BI=t.BI,p.angleStart=t.B3,p.angleEnd=t.BI;var h=t.A.LH;if(u.C5=0,p.alpha=s.C5,2===h)u.BI=t.B3,p.angleEnd=t.BI;else if(3===h)u.CM=c+t.D.bandwidth,p.slice=c;else if(4===h){var Z=ZC.AO.BL(t.iX,t.iY,t.AI,(t.B3+t.BI)/2);u.iX=Z[0],u.iY=Z[1],p.x=t.iX,p.y=t.iY}else 5===h&&(u.B3=u.BI=(t.B3+t.BI)/2,p.angleStart=t.B3,p.angleEnd=t.BI);for(e in t.A.FV)u[E9.GO[ZC.EC(e)]]=t.A.FV[e],p[ZC.EC(e)]=s[E9.GO[ZC.EC(e)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+"-"+t.L]))for(e in t.C.EL[t.A.L+"-"+t.L])u[E9.GO[ZC.EC(e)]]=t.C.EL[t.A.L+"-"+t.L][e];t.C.EL[t.A.L+"-"+t.L]={},ZC._cp_(p,t.C.EL[t.A.L+"-"+t.L]);var d=new E9(u,p,t.A.JL,t.A.LB,E9.RU[t.A.LF],(function(){A()}));d.AW=t,t.L5(d)}else C.paint(),A()}I2(e){var t=this;ZC.move||t.LL({layer:e,type:"shape",initcb:function(){this.copy(t),this.iX=t.iX,this.iY=t.iY,this.DP="pie",this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.B3=t.B3,this.BI=t.BI,this.CM=t.CM,this.AI=t.AI},parsecb:function(){this.o[ZC._[8]]=null}})}}class A7O extends MF{constructor(e){super(e);var t=this;t.CF=null,t.CL=null,t.MT="max"}F0(e,t,n,i){var r=this;return"range"===r.A.CV&&(r.CU=[["%node-min-value",r.CF],["%node-max-value",r.CL]]),super.F0(e,t,n,i)}HC(){var e=this;if("range"===e.A.CV&&e.o[ZC._[9]]instanceof Array){var t=e.o[ZC._[9]].length;t>2&&(e.BU=ZC._f_(e.o[ZC._[9]][0])),e.CF=ZC._f_(e.o[ZC._[9]][t-2]),e.CL=ZC._f_(e.o[ZC._[9]][t-1]),e.AD=e.CQ=e.CL,e.DM.push(e.CF)}else super.HC()}setup(){var e=this,t=e.A.B2,n=e.A.CK,i=[t.V,t.A1,n.V,n.A1];if(e.JR!==i){var r;r="range"===e.A.CV?n.ST("min"===e.MT?e.CF:e.CL):n.ST(e.CQ);var a=null!==ZC._n_(e.BU),o=t.A4C(a?e.BU:e.L,r,a);e.iX=o[0],e.iY=o[1],e.JR=i}e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}HG(e){var t,n=this,i=n.A.B2,r=n.A.CK,a=n.C.BK("scale"),o=a.iX+a.I/2,l=a.iY+a.F/2,s=e.I,C=e.F,c="out";null!==ZC._n_(e.o[ZC._[7]])&&(c=e.o[ZC._[7]]);var A=1.15;switch(c){case"out":A=1.15;break;case"over":A=1;break;case"in":A=.85;break;case"middle":A=.5}var u,p,h=i.EG/(i.X.length-(360===i.EG||i.DK?0:1)),Z=r.ST(n.CQ);switch(n.A.CV){case"matrix":case"piano":var d=(ZC.CX(a.I/2,a.F/2)*a.JT-r.A6)/n.A.A.A5.length;u=r.A6+n.A.L*d,p=r.A6+(n.A.L+1)*d,t=ZC.AO.BL(o,l,(u+p)/2*A+e.DQ,i.DF+(i.DK?h/2:0)+n.L*h);break;default:if(null!==ZC._n_(n.BU)){var f=i.DF+i.EG*(n.BU-i.B4)/(i.BM-i.B4);t=ZC.AO.BL(o,l,r.A6+Z*A+e.DQ,f)}else t=ZC.AO.BL(o,l,r.A6+Z*A+e.DQ,i.DF+(i.DK?h/2:0)+n.L*h)}return t[0]-=s/2,t[1]-=C/2,null!==ZC._n_(e.o.x)&&(t[0]=e.iX),null!==ZC._n_(e.o.y)&&(t[1]=e.iY),[ZC._i_(t[0]),ZC._i_(t[1])]}JB(){return{color:"rose"===this.A.CV?this.A0:this.B7}}KC(){return{"background-color":"rose"===this.A.CV?this.A0:this.B7,"border-color":"rose"===this.A.CV?this.A0:this.B7,color:this.C1}}paint(){var e,t,n=this;super.paint();var i,r=n.A.QK,a=n.A.A5D,o=n.A.B2,l=n.A.CK,s=n.A.R;n.setup(),n.CY=!1,n.C6=n.A.CN("bl",0);var C,c,A=[],u=[],p=[],h=[],Z="range"===n.A.CV;function d(){if(n.A.SC>=n.A.R.length&&n.A.YJ){var e=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6],t="",r="";-1!==ZC.AV(["line","area","range"],n.A.CV)?""!==(r="range"!==n.A.CV||n.A.XV?ZC.AO.Q6(ZC.AO.ZN(n.D.points),4):ZC.AO.Q6(u,4))&&(t=ZC.Q.GG("poly",n.A.E7,n.A.IZ)+'class="'+e+'" id="'+n.K+ZC._[30]+r+'" />'):-1!==ZC.AV(["rose","column","bar","matrix","piano"],n.A.CV)&&(r=i.F1(),t=ZC.Q.GG("poly",n.A.E7,n.A.IZ)+'class="'+e+'" id="'+n.K+ZC._[30]+r+'" data-z-sort="'+(n.A.A.A5.length-n.A.L)+'" />'),n.A.A.HX.push(t)}n.A.U&&n.A.D.vboxid!==n.K&&n.F7()}var f=n.N=n.A.I3(n,n);if(n.A.I6&&n.GL(f),-1!==ZC.AV(["line","area","range"],n.A.CV)){A=[],u=[],p=[],h=[];var _=n.iX,g=n.iY,v=n.iX,m=n.iY;Z&&(n.MT="max",n.setup(),_=n.iX,g=n.iY,n.MT="min",n.setup(),v=n.iX,m=n.iY),n.A.IO&&(n.A.E.push([_,g]),n.A.AG.push([_,g])),n.L>0?(c=s[n.L-1])&&(c.MT="max",c.setup(),C=ZC.AO.JY(c.iX,c.iY,_,g),A.push(C),u.push(C),Z&&(c.MT="min",c.setup(),C=ZC.AO.JY(c.iX,c.iY,v,m),p.push(C),h.push(C))):(c=s[n.A.R.length-1])&&(c.MT="max",c.setup(),C=ZC.AO.JY(c.iX,c.iY,_,g),A.push(C),u.push(C),Z&&(c.MT="min",c.setup(),C=ZC.AO.JY(c.iX,c.iY,v,m),p.push(C),h.push(C))),A.push([_,g]),u.push([_,g]),Z&&(p.push([v,m]),h.push([v,m])),n.L')}}}I2(e){var t=this;if(!ZC.move&&(super.I2(e),t.FK&&t.FK.AM)){var n=new I0(t.A);n.copy(t.FK),n.Z=ZC.AK(t.C.K+ZC._[22]),n.ME=!1,n.iX=t.FK.iX,n.iY=t.FK.iY,n.paint()}}}class A6G extends ZS{constructor(e){super(e),this.FK=null}F0(e,t,n,i){var r=this,a=r.A.LV();ZC._cp_(t,a);var o=ZC.AP.GJ(r.A.QA[r.L],a);return r.CU=[["%node-goal-value",o],["%g",o]],super.F0(e,t,n,i)}HG(e){var t=this;return"goal"===ZC._n_(e.o[ZC._[7]])?[t.FK.iX+t.FK.I,t.FK.iY+t.FK.F/2-e.F/2]:super.HG(e)}HC(){var e,t=this;if(t.DM=[],t.CI=t.o[ZC._[9]],"string"==typeof t.o[ZC._[9]]){var n=ZC.AV(t.A.CK.JP,t.o[ZC._[9]]);-1!==n?t.AD=n:(t.A.CK.JP.push(t.o[ZC._[9]]),t.AD=t.A.CK.JP.length-1)}else t.AD=ZC._f_(t.o[ZC._[9]]);t.A.o.goals&&null!==ZC._n_(e=t.A.o.goals[t.L])&&t.DM.push(ZC._f_(e))}paint(){super.paint()}paint_(){var e,t,n=this;if(null!==ZC._n_(n.A.QA[n.L])&&n.AM){var i=n.A.CK.AX(n.A.QA[n.L]);n.FK=new I0(n.A),n.FK.K=n.K+"-goal",n.FK.copy(n.A.FK),n.FK.Z=n.A.CN("fl",0),n.FK.C6=n.A.CN("fl",0),n.FK.J0=function(e){return n.J0(e)},n.FK.DB()&&n.FK.parse(),null!==ZC._n_(e=n.FK.o)&&null!==ZC._n_(e.styles)&&null!==ZC._n_(t=e.styles[n.L])&&("string"==typeof t?n.FK.append({"background-color":t}):n.FK.append(t),n.FK.parse());var r=.2;if(null!==ZC._n_(e=n.FK.o.extension)&&(r=ZC._f_(e)),n.FK.iY=n.getNodeData("y")-n.F*r,n.FK.F=n.F*(1+2*r),null===ZC._n_(n.A.FK.o[ZC._[19]])&&(n.FK.I=ZC.CX(5,n.C.P.I/30)),n.FK.iX=i-n.FK.I/2,n.FK.AM){n.FK.paint();var a=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6];n.A.A.HX.push(ZC.Q.GG("rect",n.A.E7,n.A.IZ)+'class="'+a+'" id="'+n.K+"--goal"+ZC._[30]+ZC._i_(n.FK.iX+n.A.BJ+ZC.MAPTX)+","+ZC._i_(n.FK.iY+n.A.BH+ZC.MAPTX)+","+ZC._i_(n.FK.iX+n.A.BJ+n.FK.I+ZC.MAPTX)+","+ZC._i_(n.FK.iY+n.A.BH+n.FK.F+ZC.MAPTX)+'" />')}}}I2(e){var t=this;if(!ZC.move&&(super.I2(e),t.FK&&t.FK.AM)){var n=new I0(t.A);n.copy(t.FK),n.Z=ZC.AK(t.C.K+ZC._[22]),n.ME=!1,n.iX=t.FK.iX,n.iY=t.FK.iY,n.paint()}}}class A7R extends MF{HC(){var e,t=this;t.o[ZC._[9]]instanceof Array&&null!==ZC._n_(t.o[ZC._[9]][1])&&(t.CI=t.o[ZC._[9]][1],"string"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.B2.IW,t.o[ZC._[9]][0]))?t.BU=e:(t.A.B2.IW.push(t.o[ZC._[9]][0]),t.BU=t.A.B2.IW.length-1):t.BU=ZC._f_(t.o[ZC._[9]][0]),"string"==typeof t.o[ZC._[9]][1]?-1!==(e=ZC.AV(t.A.CK.JP,t.o[ZC._[9]][1]))?t.AD=e:(t.A.CK.JP.push(t.o[ZC._[9]][1]),t.AD=t.A.CK.JP.length-1):t.AD=ZC._f_(t.o[ZC._[9]][1]),null!==t.BU&&t.A.TB(t.BU,t.L))}setup(){var e=this,t=e.A.B2,n=e.A.CK,i=[t.V,t.A1,n.V,n.A1];e.JR!==i&&(t.AU?e.iX=t.iX+t.I-t.A6-(e.L-t.V+1)*t.A9:e.iX=t.iX+t.A6+(e.L-t.V)*t.A9,n.AU?e.iY=n.iY+n.A6+(e.A.L-n.B4)*n.A9:e.iY=n.iY+n.F-n.A6-(e.A.L-n.B4+1)*n.A9,e.JR=i),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0),e.GL(e)}HG(e){var t=this,n="over";null!==ZC._n_(e.o[ZC._[7]])&&(n=e.o[ZC._[7]]);var i=e.I,r=e.F,a=t.iX+t.I/2-i/2,o=t.iY+t.F/2-r/2;switch(n){case"top":o-=t.F/2+r/2+2;break;case"left":a-=t.I/2+i/2+2;break;case"bottom":o+=t.F/2+r/2+2;break;case"right":a+=t.I/2+i/2+2}return null!==ZC._n_(e.o.x)&&(a=e.iX),null!==ZC._n_(e.o.y)&&(o=e.iY),[ZC._i_(a),ZC._i_(o)]}JB(){return{color:"#000"}}getFormatValue(){return this.CI}F0(e,t,n,i){var r,a=this,o=a.A.CK,l=a.A.L;return r=null!==ZC._n_(o.BY[l])?o.BY[l]:o.X[l],a.CU=[["%y",r],["%scale-value-label",r]],super.F0(e,t,n,i)}RT(){var e=this;e.setup();var t,n=e.A.B2,i=e.A.CK;switch(e.A.A7U){case"plot-max":t=(ZC._f_(e.AD)-e.A.YT)/(e.A.A5R-e.A.YT);break;case"plot-total":t=(ZC._f_(e.AD)-e.A.YT)/(e.A.A6W-e.A.YT);break;case"chart-max":t=(ZC._f_(e.AD)-e.A.XC)/(e.A.A48-e.A.XC);break;case"chart-total":t=(ZC._f_(e.AD)-e.A.XC)/(e.A.A5W-e.A.XC)}switch(ZC.PK(t)||(t=.5),e.I=n.A9,e.F=i.A9,e.A.CV){case"alpha":case"brightness":e.C5=e.A.QH+t*(e.A.VB-e.A.QH);break;case"horizontal":e.I=1.01+e.A.QH*n.A9+t*n.A9*(e.A.VB-e.A.QH),n.AU&&(e.iX=e.iX+n.A9-e.I);break;case"vertical":e.F=1.01+e.A.QH*i.A9+t*i.A9*(e.A.VB-e.A.QH),i.AU||(e.iY=e.iY+i.A9-e.F);break;case"size":e.I=1.01+e.A.QH*n.A9+t*n.A9*(e.A.VB-e.A.QH),e.F=1.01+e.A.QH*i.A9+t*i.A9*(e.A.VB-e.A.QH),e.iX+=(n.A9-e.I)/2,e.iY+=(i.A9-e.F)/2}e.iX-=e.AT/2,e.iY-=e.AT/2,e.I+=e.AT,e.F+=e.AT}paint(){var e=this;super.paint(),e.RT();var t=e.C.P;if(!(e.iY+5=t.iY+t.F)){if(e.AM){var n=zingchart.pool.getInstance("I0",e,e.A.K+"-piano-box");if(n.K=e.K,n.copy(e),("none"!==e.A.J6||e.C.J1[e.A.L]||e.C.KM||e.A.T7&&e.A.T7[e.L])&&n.copy(e.A.I3(e,n)),n.iX=e.iX,n.iY=e.iY,n.I=e.I,n.F=e.F,n.Z=e.A.CN("bl",1),n.C6=e.A.CN("bl",0),(-1!==n.BV&&n.AT>0||n.Q8+n.OP+n.NZ+n.PI!==""||-1!==n.A0||-1!==n.AE||""!==n.D8||""!==n.GT||""!==n.HS)&&(n.paint(),!n.KE)){var i=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6];e.A.A.HX.push(ZC.Q.GG("rect",e.A.E7,e.A.IZ)+'class="'+i+'" id="'+e.K+ZC._[30]+ZC._i_(e.iX+ZC.MAPTX)+","+ZC._i_(e.iY+ZC.MAPTX)+","+ZC._i_(e.iX+e.I+ZC.MAPTX)+","+ZC._i_(e.iY+e.F+ZC.MAPTX)+'" />')}}e.A.U&&e.A.U.AM&&e.F7()}}I2(e){var t=this;ZC.move||t.LL({layer:e,type:"box",initcb:function(){this.AE=t.A.BP[3],this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.A0=t.A.BP[2]},setupcb:function(){this.iX=t.iX,this.iY=t.iY,this.I=t.I,this.F=t.F}})}}class A6F extends MF{setup(){var e=this,t=e.A.B2,n=e.A.CK,i=[t.V,t.A1,n.V,n.A1];e.JR!==i&&(t.AU?e.iX=t.iX+t.I-t.A6-(e.L+1)*t.A9:e.iX=t.iX+t.A6+e.L*t.A9,n.AU?e.iY=n.iY+n.A6+e.A.L*n.A9:e.iY=n.iY+n.F-n.A6-(e.A.L+1)*n.A9,e.JR=i),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}F0(e,t,n,i){var r,a,o=this,l=ZC._f_(o.A.A.F8["%pstack-"+o.L+"-0-sum"]||"0"),s=o.A.LV();if(ZC._cp_(t,s),o.CU=[],o.A.L>0&&o.A.A.A5[o.A.L-1]&&o.A.A.A5[o.A.L-1].R[o.L]?a=""+(r=100*o.AD/o.A.A.A5[o.A.L-1].R[o.L].AD):(r=100,a="100"),null!==ZC._n_(s[ZC._[12]])&&(a=r.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),o.CU.push(["%output-percent-value",a]),l>0){var C=100*o.AD/l,c=""+C;null!==ZC._n_(s[ZC._[12]])&&(c=C.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),o.CU.push(["%node-percent-value",c]),o.CU.push(["%npv",c])}return super.F0(e,t,n,i)}paint(){var e,t,n,i,r,a,o,l,s,C,c,A,u,p=this;super.paint();var h=p.A.B2,Z=p.A.CK;p.setup(),"static"===p.A.A35?(p.C.AZ.SN[p.L],e=p.C.AZ.A8A[p.L]):(p.C.AZ.B4,e=p.C.AZ.BM);var d=p.A.L6;d<=1&&(d*=h.A9);var f=p.A.NV;f<=1&&(f*=h.A9);var _=p.A.M6;_<=1&&(_*=h.A9);var g=h.A9-d-f-_,v=_+g*(p.AD/e),m=0;p.A.L+1')}for(t=0,n=p.A.P6.length;t0&&o.A.A.A5[o.A.L-1]&&o.A.A.A5[o.A.L-1].R[o.L]?a=""+(r=100*o.AD/o.A.A.A5[o.A.L-1].R[o.L].AD):(r=100,a="100"),null!==ZC._n_(s[ZC._[12]])&&(a=r.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),o.CU.push(["%output-percent-value",a]),l>0){var C=100*o.AD/l,c=""+C;null!==ZC._n_(s[ZC._[12]])&&(c=C.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),o.CU.push(["%node-percent-value",c]),o.CU.push(["%npv",c])}return super.F0(e,t,n,i)}HG(e){var t,n=this,i=n.A.B2,r=n.A.CK;null!==ZC._n_(e.o[ZC._[7]])&&(t=e.o[ZC._[7]]);var a=n.iX+r.A9/2-e.I/2,o=n.iY+i.A9/2-e.F/2,l=n.D["entry-exit"],s=(l[0]+l[1])/2;switch(t){case"in":case"auto":break;case"top":a=n.iX+r.A9-e.I-5;break;case"bottom":a=n.iX+5;break;case"left":o=n.iY+i.A9/2-s/2+5;break;case"left-out":o=n.iY+i.A9/2-s/2-e.F-5;break;case"right":o=n.iY+i.A9/2+s/2-e.F-5;break;case"right-out":o=n.iY+i.A9/2+s/2+5}return null!==ZC._n_(e.o.x)&&(a=e.iX),null!==ZC._n_(e.o.y)&&(o=e.iY),[ZC._i_(a),ZC._i_(o)]}paint(){var e,t,n,i,r,a,o,l,s,C,c,A,u,p=this;super.paint();var h=p.A.B2,Z=p.A.CK;p.setup(),"static"===p.A.A35?(p.C.AZ.SN[p.L],e=p.C.AZ.A8A[p.L]):(p.C.AZ.B4,e=p.C.AZ.BM);var d=p.A.L6;d<=1&&(d*=h.A9);var f=p.A.NV;f<=1&&(f*=h.A9);var _=p.A.M6;_<=1&&(_*=h.A9);var g=h.A9-d-f-_,v=_+g*(p.AD/e),m=0;p.A.L+1')}for(t=0,n=p.A.P6.length;te.AD?(e.A.o["trend-up"]&&(e.J4.append(e.A.o["trend-up"]),e.J4.parse()),e.A.N2.up||(e.A.N2.up=new DR(e.A),e.A.N2.up.copy(e.J4),e.A.N2[ZC._[21]]++)):(e.A.o["trend-equal"]&&(e.J4.append(e.A.o["trend-equal"]),e.J4.parse()),e.A.N2.equal||(e.A.N2.equal=new DR(e.A),e.A.N2.equal.copy(e.J4),e.A.N2[ZC._[21]]++)),e.IM=!0),e.A.IO){e.DM[2]e.AD?e.J4=e.A.N2.up:e.J4=e.A.N2.equal;var r=ZC.CX(e.D.XR,e.D.VZ),a=ZC.BQ(e.D.XR,e.D.VZ)-ZC.CX(e.D.XR,e.D.VZ);a<2&&(a=2),e.D.A87=r+a/2}}F0(e,t,n,i){var r=this,a=r.A.LV();function o(e){return ZC.AP.GJ(e,a)}return ZC._cp_(t,a),r.CU=[["%node-value-stock-open",o(r.AD)],["%open",o(r.AD)],["%v0",o(r.AD)],["%node-value-stock-high",o(r.DM[0])],["%high",o(r.DM[0])],["%v1",o(r.DM[0])],["%node-value-stock-low",o(r.DM[1])],["%low",o(r.DM[1])],["%v2",o(r.DM[1])],["%node-value-stock-close",o(r.DM[2])],["%close",o(r.DM[2])],["%v3",o(r.DM[2])]],super.F0(e,t,n,i)}HC(){var e,t,n=this;if(n.DM=[],n.o[ZC._[9]]instanceof Array&&5===n.o[ZC._[9]].length)n.BU=ZC._f_(n.o[ZC._[9]][0]),null!==n.BU&&(null!==ZC._n_(n.A.K7[n.BU])&&-1!==ZC.AV(n.A.K7[n.BU],n.L)||n.A.TB(n.BU,n.L)),t=[n.o[ZC._[9]][1],n.o[ZC._[9]][2],n.o[ZC._[9]][3],n.o[ZC._[9]][4]];else if(n.o[ZC._[9]][1]instanceof Array){if("string"==typeof n.o[ZC._[9]][0]){var i=ZC.AV(n.A.B2.IW,n.o[ZC._[9]][0]);-1!==i?n.BU=i:(n.A.B2.IW.push(n.o[ZC._[9]][0]),n.BU=n.A.B2.IW.length-1)}else n.BU=ZC._f_(n.o[ZC._[9]][0]);null!==n.BU&&(null!==ZC._n_(n.A.K7[n.BU])&&-1!==ZC.AV(n.A.K7[n.BU],n.L)||n.A.TB(n.BU,n.L)),t=n.o[ZC._[9]][1]}else t=n.o[ZC._[9]];n.CI=t.join(" "),n.AD=ZC._f_(t[0]),null!==ZC._n_(e=t[1])&&n.DM.push(ZC._f_(e)),null!==ZC._n_(e=t[2])&&n.DM.push(ZC._f_(e)),null!==ZC._n_(e=t[3])&&n.DM.push(ZC._f_(e))}JB(){var e=this,t={};return e.DM[2]1&&(u>1?A=(C-(a-1)*c+(a-1)*u)/a:u*=A=(C-(a-1)*c)/(a-(a-1)*u)),A=ZC._l_(A,1,C);var p=t.iX-i/2+l+r*(A+c)-r*u;p=ZC._l_(p,t.iX-i/2+l,t.iX+i/2-s);var h,Z=A,d=ZC.CX(t.D.XR,t.D.VZ),f=ZC.BQ(t.D.XR,t.D.VZ)-ZC.CX(t.D.XR,t.D.VZ);if(f<2&&(f=2),l+s===0&&(p-=.5,Z+=1),t.I=Z,t.F=f,t.iX=p,t.D.A87=d+f/2,t.setNodeData({x:p,y:d,w:Z,h:f}),t.AM){h=ZC.Q.E8(t.G.usc()?t.G.K+"-main-c":t.G.KE?t.C.K+"-plots-bl-c":t.C.K+"-plot-"+t.A.L+"-bl-1-c",t.G.AC);var _=t.iX+t.I/2;(t.DM[2]t.AD&&(e=t.A.o["trend-up"])||t.DM[2]===t.AD&&(e=t.A.o["trend-equal"]))&&(t.D[ZC._[73]]=e[ZC._[73]],t.D[ZC._[72]]=e[ZC._[72]]);var g,v=t.A.I3(t,t.J4);switch(t.A.CV){default:var m,b;(g=[]).push([_,t.D.AAM],[_,ZC.CX(t.D.XR,t.D.VZ)],null,[_,t.D.AB8],[_,ZC.BQ(t.D.XR,t.D.VZ)]),ZC.CR.paint(h,v,g),b=t.DM[2]t.AD?t.A.ACQ:t.A.ABS,0!==t.A.E4.length||typeof b===ZC._[31]||t.N.o.override||t.C.KM?(m=new I0(t.A)).copy(v):m=b,t.GL(m),m.Z=t.A.CN("bl",1),m.C6=t.A.CN("bl",0),m.K=t.K,m.iX=p,m.iY=d,m.I=t.I,m.F=t.F,m.paint(),0!==t.A.E4.length||typeof b!==ZC._[31]||t.N.o.override||t.C.KM||(t.DM[2]t.AD?t.A.ACQ=m:t.A.ABS=m);break;case"whisker":case"ohlc":g=[];var B=Math.max(t.I/4,4);g.push([_,t.D.AAM],[_,t.D.AB8],null,[_-B,t.D.XR],[_,t.D.XR],null,[_+B,t.D.VZ],[_,t.D.VZ]),t.GL(v),ZC.CR.paint(h,v,g)}if(t.A.FX){var D=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];t.A.A.HX.push(ZC.Q.GG("rect",t.A.E7,t.A.IZ)+'class="'+D+'" id="'+t.K+ZC._[30]+ZC._i_(p+ZC.MAPTX)+","+ZC._i_(t.D.AAM+ZC.MAPTX)+","+ZC._i_(p+Z+ZC.MAPTX)+","+ZC._i_(t.D.AB8+ZC.MAPTX)+'" />')}t.A.U&&t.A.U.AM&&t.F7()}}I2(){var e=this;if(!ZC.move&&e.A.II&&e.A.AM)switch(super.I2(),e.A.CV){case"candlestick":var t=new I0(e.A);t.K=e.K+"-hover",t.Z=ZC.AK(e.C.K+ZC._[22]),t.C1=e.A.BP[0],t.AE=e.A.BP[3],t.B7=e.A.BP[1],t.BV=e.A.BP[1],t.A0=e.A.BP[2],t.append(e.A.II.o),t.QD=!0,t.parse(),t.J0=function(t){return e.J0(t)},t.DB()&&t.parse(),e.DM[2]e.AD&&e.A.o["trend-up"]?(t.append(e.A.o["trend-up"]),t.append(e.A.o[ZC._[71]]),e.A.o["trend-up"][ZC._[71]]&&t.append(e.A.o["trend-up"][ZC._[71]]),t.parse()):e.DM[2]===e.AD&&e.A.o["trend-equal"]&&(t.append(e.A.o["trend-equal"]),t.append(e.A.o[ZC._[71]]),e.A.o["trend-equal"][ZC._[71]]&&t.append(e.A.o["trend-equal"][ZC._[71]]),t.parse()),t.iX=e.getNodeData("x"),t.iY=e.getNodeData("y"),t.I=e.getNodeData("w"),t.F=e.getNodeData("h");var n=e.C.P;t.iYn.iY+n.F&&(t.F=n.iY+n.F-t.iY),t.AM&&t.paint()}}}class A82 extends MF{setup(){var e=this,t=e.C.BK(e.A.BT("k")[0]),n=e.C.BK(e.A.BT("v")[0]),i=e.L%t.H2,r=Math.floor(e.L/t.H2),a=n.EG/(n.BM-n.B4);e.iX=t.iX+i*t.GK+t.GK/2,e.iY=t.iY+r*t.GE+t.GE/2,e.D.angle=n.DF-n.EG/2+a*(e.AD-n.B4),n.AU&&(e.D.angle=n.DF+n.EG/2-a*(e.AD-n.B4)),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}HG(e){var t,n,i,r=e.I,a=e.F,o=this,l=o.C.BK(o.A.BT("k")[0]),s=ZC.CX(l.GK/2,l.GE/2)*l.JT,C=o.L%l.H2,c=Math.floor(o.L/l.H2),A=l.iX+C*l.GK+l.GK/2+l.BJ,u=l.iY+c*l.GE+l.GE/2+l.BH;switch(e.o[ZC._[7]]){case"center":n=A-r/2+o.BJ,i=u-a/2+o.BH;break;case"edge":n=(t=ZC.AO.BL(A,u,s+e.DQ,o.D.angle))[0]-r/2+o.BJ,i=t[1]-a/2+o.BH;break;case"tip":n=(t=ZC.AO.BL(A,u,o.D[ZC._[21]]+e.DQ,o.D.angle))[0]-r/2+o.BJ,i=t[1]-a/2+o.BH;break;default:n=(t=ZC.AO.BL(A,u,s/2+e.DQ,o.D.angle))[0]-r/2+o.BJ,i=t[1]-a/2+o.BH}return null!==ZC._n_(e.o.x)&&(n=e.iX),null!==ZC._n_(e.o.y)&&(i=e.iY),[ZC._i_(n),ZC._i_(i)]}JB(){return{color:this.A0}}KC(){return{"background-color":this.A0,"border-color":this.B7,color:this.C1}}paint(){var e,t=this;super.paint(),t.setup(),t.CY=!1;var n=t.C.BK(t.A.BT("k")[0]),i=ZC.CX(n.GK/2,n.GE/2)*n.JT,r=t.L%n.H2,a=Math.floor(t.L/n.H2),o=n.iX+r*n.GK+n.GK/2+n.BJ,l=n.iY+a*n.GE+n.GE/2+n.BH,s=ZC.IQ(t.A.o[ZC._[21]]||"0.9",!1);s>0&&s<=1&&(s*=i),t.D[ZC._[21]]=s;var C=t.N=t.A.I3(t,t),c=new DU(t.A);function A(n){var r=[],a=t.A.HZ;a[4]>-1&&a[4]<1&&(a[4]=ZC._i_(a[4]*i));var C=ZC.AO.BL(o,l,a[4],n);if(a[0]>=0)for(e=-a[2];e<=180+a[2];e+=5)r.push(ZC.AO.BL(C[0],C[1],a[0],n+270-e));else r.push(ZC.AO.BL(C[0],C[1],ZC._a_(a[0]),n-90)),r.push(ZC.AO.BL(C[0],C[1],ZC._a_(a[0]),n+90));if(0===a[1])r.push(ZC.AO.BL(o,l,s>0?s:.9*i,n));else if(a[1]>0)for(C=ZC.AO.BL(o,l,s>0?s:.9*i,n),e=-a[3];e<=180+a[3];e+=5)r.push(ZC.AO.BL(C[0],C[1],a[1],n-270-e));else C=ZC.AO.BL(o,l,(s>0?s:.9*i)+a[1],n),r.push(ZC.AO.BL(C[0],C[1],ZC._a_(a[1]/(90/a[3])),n+90),ZC.AO.BL(C[0],C[1],ZC._a_(a[1]),n+90),ZC.AO.BL(o,l,s>0?s:.9*i,n),ZC.AO.BL(C[0],C[1],ZC._a_(a[1]),n+270),ZC.AO.BL(C[0],C[1],ZC._a_(a[1]/(90/a[3])),n+270));return r.push([r[0][0],r[0][1]]),r}function u(){var e=c.F1(),n=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],i=ZC.Q.GG("poly",t.A.E7,t.A.IZ)+'class="'+n+'" id="'+t.K+ZC._[30]+e+'" />';t.A.A.HX.push(i)}c.copy(C),c.Z=t.A.CN("bl",1),c.C6=t.A.CN("bl",0),c.K=t.K+"-arrow";var p=t.C.BK(t.A.BT("v")[0]),h=p.DF-p.EG/2,Z=A(t.D.angle);if(t.D.points=Z,c.DP="poly",c.E=Z,c.parse(),c.J0=function(e){return t.J0(e)},c.DB()&&c.parse(),t.A.GB&&!t.C.HM){var d,f=c,_={},g=t.A.LH;for(d in f.C5=0,_.alpha=C.C5,2===g&&(f.A34=h,_.A34=t.D.angle),t.A.FV)f[E9.GO[ZC.EC(d)]]=t.A.FV[d],_[ZC.EC(d)]=C[E9.GO[ZC.EC(d)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+"-"+t.L]))for(d in t.C.EL[t.A.L+"-"+t.L]){var v=E9.GO[ZC.EC(d)];null===ZC._n_(v)&&(v=d),f[v]=t.C.EL[t.A.L+"-"+t.L][d]}t.C.EL[t.A.L+"-"+t.L]={},ZC._cp_(_,t.C.EL[t.A.L+"-"+t.L]);var m=new E9(f,_,t.A.JL,t.A.LB,E9.RU[t.A.LF],(function(){u()}));m.AW=t,m.A0W=function(e,t){null!==ZC._n_(t.A34)&&(e.E=A(t.A34))},t.L5(m),t.A.U&&t.F7()}else c.paint(),t.A.U&&t.F7(),u()}I2(e){var t=this;ZC.move||t.LL({layer:e,type:"shape",initcb:function(){this.copy(t),this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.E=t.D.points,this.Z=this.C6=t.A.CN("bl",2)}})}}class A7T extends MF{constructor(e){super(e);var t=this;t.CF=null,t.CL=null,t.MT="min"}F0(e,t,n,i){var r=this;return r.CU=[["%range-set",r.MT],["%node-min-value",r.CF],["%node-max-value",r.CL]],super.F0(e,t,n,i)}HC(){var e,t,n=this;n.o[ZC._[9]][1]instanceof Array?("string"==typeof n.o[ZC._[9]][0]?-1!==(t=ZC.AV(n.A.B2.IW,n.o[ZC._[9]][0]))?n.BU=t:(n.A.B2.IW.push(n.o[ZC._[9]][0]),n.BU=n.A.B2.IW.length-1):n.BU=ZC._f_(n.o[ZC._[9]][0]),null!==n.BU&&(null!==ZC._n_(n.A.K7[n.BU])&&-1!==ZC.AV(n.A.K7[n.BU],n.L)||n.A.TB(n.BU,n.L)),e=n.o[ZC._[9]][1]):e=n.o[ZC._[9]],"string"==typeof e[0]?-1!==(t=ZC.AV(n.A.CK.JP,e[0]))?n.CF=t:(n.A.CK.JP.push(e[0]),n.CF=n.A.CK.JP.length-1):n.CF=ZC._f_(e[0]),n.DM.push(n.CF),"string"==typeof e[1]?-1!==(t=ZC.AV(n.A.CK.JP,e[1]))?n.CL=t:(n.A.CK.JP.push(e[1]),n.CL=n.A.CK.JP.length-1):n.CL=ZC._f_(e[1]),n.CI=e.join(" "),n.AD=n.CL}setup(){var e=this,t=e.A.OW,n=e.A.B2,i=e.A.CK,r=[n.V,n.A1,i.V,i.A1,e.MT];null===ZC._n_(e.AG)&&(e.AG=[]),e.JR!==r&&(t?(null!==e.BU?e.iY=n.AX(e.BU):e.iY=n.H4(e.L),e.iX=i.AX("min"===e.MT?e.CF:e.CL)):(null!==e.BU?e.iX=n.AX(e.BU):e.iX=n.H4(e.L),e.iY=i.AX("min"===e.MT?e.CF:e.CL)),e.JR=r),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse()),e.D.NC=i.AX(e.CF),e.D.RH=i.AX(e.CL),e.IM=!0}JB(){return{color:this.B7}}KC(){return{"background-color":this.B7,"border-color":this.B7,color:this.C1}}paint(){var e,t=this;super.paint();var n=t.A.B2,i=t.A.QK,r=t.A.OW,a=t.A.R;t.setup(),null!==ZC._n_(t.A.o[t.MT+"-line"])&&(t.append(t.A.o[t.MT+"-line"]),t.parse()),t.CY=!1,t.C6=t.A.CN("bl",1);var o,l,s,C,c,A,u,p,h,Z,d,f,_,g=[],v=[];switch(t.A.CV){default:var m=!0;!n.ED&&t.L<=n.V&&(m=!1),a[t.L-t.A.W]||(m=!1),m&&(a[t.L-t.A.W].MT=t.MT,a[t.L-t.A.W].setup(),r?(l=[t.D.NC,t.iY],s=[a[t.L-t.A.W].D.NC,a[t.L-t.A.W].iY],C=[t.D.RH,t.iY],c=[a[t.L-t.A.W].D.RH,a[t.L-t.A.W].iY],A=ZC.AO.A5S(l,s,C,c),o=ZC.DS(A[1],a[t.L-t.A.W].iY,t.iY)?A:ZC.AO.JY(a[t.L-t.A.W].iX,a[t.L-t.A.W].iY,a[t.L].iX,a[t.L].iY),v.push([o[0],ZC._i_(o[1])]),g.push([o[0],o[1]])):(l=[t.iX,t.D.NC],s=[a[t.L-t.A.W].iX,a[t.L-t.A.W].D.NC],C=[t.iX,t.D.RH],c=[a[t.L-t.A.W].iX,a[t.L-t.A.W].D.RH],A=ZC.AO.A5S(l,s,C,c),o=ZC.DS(A[0],a[t.L-t.A.W].iX,t.iX)?A:ZC.AO.JY(a[t.L-t.A.W].iX,a[t.L-t.A.W].iY,a[t.L].iX,a[t.L].iY),v.push([ZC._i_(o[0]),o[1]]),g.push([o[0],o[1]]))),r?v.push([t.iX,ZC._i_(t.iY)]):v.push([ZC._i_(t.iX),t.iY]),g.push([t.iX,t.iY]);var b=!0;!n.ED&&t.L>=n.A1&&(b=!1),a[t.L+t.A.W]||(b=!1),b&&(a[t.L+t.A.W].MT=t.MT,a[t.L+t.A.W].setup(),r?(l=[t.D.NC,t.iY],s=[a[t.L+t.A.W].D.NC,a[t.L+t.A.W].iY],C=[t.D.RH,t.iY],c=[a[t.L+t.A.W].D.RH,a[t.L+t.A.W].iY],A=ZC.AO.A5S(l,s,C,c),o=ZC.DS(A[1],a[t.L+t.A.W].iY,t.iY)?A:ZC.AO.JY(a[t.L].iX,a[t.L].iY,a[t.L+t.A.W].iX,a[t.L+t.A.W].iY),v.push([o[0],ZC._i_(o[1])]),g.push([o[0],o[1]])):(l=[t.iX,t.D.NC],s=[a[t.L+t.A.W].iX,a[t.L+t.A.W].D.NC],C=[t.iX,t.D.RH],c=[a[t.L+t.A.W].iX,a[t.L+t.A.W].D.RH],A=ZC.AO.A5S(l,s,C,c),o=ZC.DS(A[0],a[t.L+t.A.W].iX,t.iX)?A:ZC.AO.JY(a[t.L].iX,a[t.L].iY,a[t.L+t.A.W].iX,a[t.L+t.A.W].iY),v.push([ZC._i_(o[0]),o[1]]),g.push([o[0],o[1]])));break;case"spline":if(typeof t.D["intersect.index"]===ZC._[31]&&(t.D["intersect.index"]=-1,a[t.L+t.A.W])){var B=[],D=[],E=[];for(u=-1;u<3;u++)a[t.L+u]?(a[t.L+u].setup(),B.push(a[t.L+u].D.NC),E.push(a[t.L+u].D.RH),r?D.push(a[t.L+u].iY):D.push(a[t.L+u].iX)):(B.push(t.D.NC),E.push(t.D.RH),r?D.push(t.iY):D.push(t.iX));h=ZC._a_(D[2]-D[1]);var y=ZC.AO.YS(t.A.QL,B,ZC._i_(h)),K=ZC.AO.YS(t.A.QL,E,ZC._i_(h));if(a[t.L+t.A.W].CF===a[t.L+t.A.W].CL)t.D["intersect.index"]=y.length;else{var F=y[0][1]-K[0][1];for(u=1,p=y.length;u=0;u--)t.AG.push(t.A.SJ.max[u]);if(null!==ZC._n_(e=t.A.SJ.min))for(u=0,p=e.length;u=0;u--)t.AG.push(v[u]);if("max"===t.MT){var Y=new DU(t.A);Y.K=t.K+"-area",Y.Z=t.A.CN("bl",0),Y.copy(t),Y.B1=0,Y.AT=0,Y.EX=0,Y.G9=0,Y.parse(),Y.E=t.AG,Y.C5=t.A.HY;var M=t.C.P;for(Y.CZ=[M.iX,M.iY,M.iX+M.I,M.iY+M.F],Y.paint(),t.D.pointsarea=[],u=0,p=t.AG.length;u'))}"min"===t.MT?t.D.points=g:(t.D.points.push(null),t.D.points=t.D.points.concat(g));var L=new D0(t);if(L.copy(t),L.append(t.A.o[t.MT+"-line"]),L.parse(),ZC.CR.setup(i,L),ZC.CR.paint(i,L,g),"max"===t.MT&&t.paintPreview(t,t.D.points,t.D.pointsarea),r?ZC.DS(t.iY,n.iY-1,n.iY+n.F+1)&&ZC.DS(t.iX,n.iX-1,n.iX+n.I+1):ZC.DS(t.iX,n.iX-1,n.iX+n.I+1)&&ZC.DS(t.iY,n.iY-1,n.iY+n.F+1)){var G=new DU(t.A);G.K=t.K+"-marker-"+t.MT,G.Z=G.C6=t.A.CN("fl",0),G.iX=t.iX,G.iY=t.iY,G.B7=t.A.BP[3],G.BV=t.A.BP[3],G.A0=t.A.BP[2],G.AE=t.A.BP[2],G.append(t.A.A2.o),t.A.o[t.MT+"-marker"]&&G.append(t.A.o[t.MT+"-marker"]),G.parse(),G.J0=function(e){return t.J0(e)},G.DB()&&G.parse(),G.AM&&"none"!==G.AF&&(t.A.N0>n.A1-n.V&&G.paint(),t.D["marker.type"]=G.DP,f=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],n.AU&&g.reverse(),t.A.FX&&(""!==(_=ZC.AO.Q6(ZC.AO.ZN(t.D.points),4))?t.A.A.HX.push(ZC.Q.GG("poly",t.A.E7,t.A.IZ)+'class="'+f+'" id="'+t.K+"--"+t.MT+ZC._[30]+_+'" />'):t.A.A.HX.push(ZC.Q.GG("circle",t.A.E7,t.A.IZ)+'class="'+f+'" id="'+t.K+"--"+t.MT+ZC._[30]+ZC._i_(G.iX+ZC.MAPTX)+","+ZC._i_(G.iY+ZC.MAPTX)+","+ZC._i_(1.5*ZC.BQ(3,G.AI))+'" />'))),t.A.U&&t.A.U.AM&&t.F7()}}paintPreview(e,t,n){var i=this;if(i.C.BA&&i.C.BA.IM&&i.A.QS){var r=i.C.P,a=i.C.BA,o=i.A.mapPointsToPreview(n),l=new DU(i.A);l.copy(e),l.CY=!0,l.LC=!0,l.B1=0,l.AT=0,l.EX=0,l.G9=0,l.C5=i.A.HY,l.CZ=[r.iX,r.iY,r.iX+r.I,r.iY+r.F],l.K=i.K+"-area-preview",l.Z=a.Z,l.E=o,l.paint();var s,C=i.A.mapPointsToPreview(t);i.A.WQ?s=i.A.WQ:(s=new D0(i),i.A.WQ=s),s.copy(e);var c=ZC.Q.E8(a.Z,i.G.AC);s.B1=1,ZC.CR.paint(c,s,C,null,3)}}I2(){var e=this,t=e.A.OW;if(!ZC.move){var n=e.A.B2;if(e.A.GA&&e.A.AM){var i=ZC.Q.E8(e.C.K+ZC._[22],e.G.AC),r=new DU(e.A);if(r.K=e.K+"-area-hover",r.Z=ZC.AK(e.C.K+ZC._[22]),r.LC=!0,r.copy(e),r.append(e.A.II.o),r.E=e.D.pointsarea,r.parse(),r.AM){r.C5=e.A.HY;var a=e.C.P;r.CZ=[a.iX,a.iY,a.iX+a.I,a.iY+a.F],ZC.CR.setup(i,r),r.paint()}var o=ZC.Q.E8(e.C.K+ZC._[22],e.G.AC),l=new D0(e.A);l.K=e.K+"-line-hover",l.CY=!1,l.B7=e.A.BP[3],l.append(e.A.II.o),l.parse(),l.J0=function(t){return e.J0(t)},l.DB()&&l.parse(),l.AM&&(ZC.CR.setup(o,l),ZC.CR.paint(o,l,e.D.points))}if(e.A.N0>n.A1-n.V&&e.A.GA&&e.A.AM){super.I2();var s=new DU(e.A);s.K=e.K+"-marker-max-hover",s.Z=ZC.AK(e.C.K+ZC._[22]),s.DP=e.D["marker.type"],t?(s.iY=e.iY,s.iX=e.D.RH):(s.iX=e.iX,s.iY=e.D.RH),s.B7=e.A.BP[3],s.BV=e.A.BP[3],s.A0=e.A.BP[2],s.AE=e.A.BP[2],s.append(e.A.GA.o),s.parse(),s.J0=function(t){return e.J0(t)},s.DB()&&s.parse(),s.AM&&"none"!==s.AF&&s.paint(),s.K=e.K+"-marker-min-hover",t?s.iX=e.D.NC:s.iY=e.D.NC,s.AM&&"none"!==s.AF&&s.paint()}}}}class A7I extends MF{constructor(e){super(e),this.U=null}parse(){super.parse()}X6(){super.X6();var e=this.C.D;e.update.npv=e.update["node-percent-value"]=this.F0("%npv")}F0(e,t,n,i){var r=this,a=r.A.LV();ZC._cp_(t,a),-1===e.indexOf("%npv")&&-1===e.indexOf("%node-percent-value")||null!==ZC._n_(a[ZC._[12]])&&-1!==a[ZC._[12]]||(a[ZC._[12]]=1);var o=0,l="0";if(r.A.A.KQ[r.L]>0&&(l=""+(o=100*r.AD/r.A.A.KQ[r.L])),r.A.A.A5.length>1&&r.A.L===r.A.A.A5.length-1){var s=0;if(null===ZC._n_(r.A.o.totals)){for(var C=0;C0&&(A=""+(c=100*r.A.A.A5[C].R[r.L].AD/r.A.A.KQ[r.L])),null!==ZC._n_(a[ZC._[12]])&&(A=c.toFixed(ZC.BQ(0,ZC._i_(a[ZC._[12]])))),s+=ZC._f_(A)}l=""+(o=Math.max(0,100-s))}}null!==ZC._n_(a[ZC._[12]])&&(l=o.toFixed(ZC.BQ(0,ZC._i_(a[ZC._[12]]))));var u,p=ZC._f_(r.A.A.KQ[r.L]||"0");return u=ZC.AP.GJ(p,a,r.A),r.CU=[["%node-percent-value",l],["%npv",l],["%pie-total-value",u]],super.F0(e,t,n,i)}OM(e){var t,n=this,i=(n.B3+n.BI)/2%360,r=0;null!==ZC._n_(t=e["offset-r"])&&(r=ZC._f_(ZC._p_(t))),r<1&&(r*=n.AI);var a=new CB(n.C,(n.CM+.5*(n.AI-n.CM)+n.DQ+r)*ZC.EE(i),(n.CM+.5*(n.AI-n.CM)+n.DQ+r)*ZC.EN(i),0).EA;return[a[0],a[1],{reference:n,center:!0}]}setup(){var e=this,t=e.C.BK(e.A.BT("k")[0]),n=e.L%t.H2,i=Math.floor(e.L/t.H2);e.iX=t.iX+n*t.GK+t.GK/2+t.BJ,e.iY=t.iY+i*t.GE+t.GE/2+t.BH,e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(),e.IM=!0)}JB(e){var t={},n="out";return null!==ZC._n_(e.o[ZC._[7]])&&(n=e.o[ZC._[7]]),t.color="out"===n?this.A0:this.C1,t}HG(e){var t,n=this,i="out";null!==ZC._n_(t=e.o[ZC._[7]])&&(i=t);var r,a,o,l,s,C=e.I,c=e.F,A=(n.B3+n.BI)/2%360,u=A;if("out"===i){A=u=n.A.A.YO["n"+n.L][n.A.L];var p=function(t,i){i<0&&(i=360+i),i%=360;var r=ZC.AO.BL(n.iX,n.iY,t+n.DQ+e.DQ+20,i),a=n.C.EY[ZC._[27]];a>45&&n.A.A.A5.length>10&&(n.C.EY[ZC._[27]]=45+(a-45)/3),s=new CB(n.C,r[0]-ZC.AN.E2,r[1]-ZC.AN.E1,0),n.C.EY[ZC._[27]]=a,r[0]=s.EA[0],r[1]=s.EA[1];var o=r[0]+e.BJ-C/2,l=r[1]+e.BH-c/2;return i>=0&&i<=90||i>=270&&i<=360?o+=C/2+10:o-=C/2+10,[o,l]},h=p(n.AI,u);r=h[0],a=h[1],n.U=e;var Z={x:r,y:a,width:C,height:c},d=zingchart.DEV.SPREADTYPE;l=!0;for(var f=0,_=0,g=-1,v=0,m=0;l&&m<1024;){l=!1;for(var b=0,B=n.A.A.UC.length;b10?-8:-2)||Z.x+e.I>n.C.P.iX+n.C.P.I||Z.xn.C.P.iY+n.C.P.F||Z.y100&&(v=0,0===d?(f=0,_+=4):1===d&&(_=0,f+=1,g*=-1)))}r=Z.x,a=Z.y,A=u+f,o={text:n.A.AR,x:Z.x,y:Z.y,width:C,height:c,plotindex:n.A.L,nodeindex:n.L},n.A.A.UC.push(o)}else if("in"===i){var D=n.CM<30?.65:.5,E=ZC.AO.BL(n.iX,n.iY,n.CM+D*(n.AI-n.CM)+n.DQ+e.DQ,A);s=new CB(n.C,E[0]-ZC.AN.E2,E[1]-ZC.AN.E1,0),E[0]=s.EA[0],E[1]=s.EA[1],r=E[0]+e.BJ-C/2,a=E[1]+e.BH-c/2}else"center"===i&&(r=(s=new CB(n.C,n.iX-ZC.AN.E2,n.iY-ZC.AN.E1,0)).EA[0]+e.BJ-C/2,a=s.EA[1]+e.BH-c/2);return l&&(r=-9999,a=-9999,e.AM=!1),null!==ZC._n_(e.o.x)&&(r=e.iX),null!==ZC._n_(e.o.y)&&(a=e.iY),r>=-2&&(r=ZC._a_(r)),a>=-2&&(a=ZC._a_(a)),[ZC._i_(r),ZC._i_(a),A]}F7(e,t){var n,i=this,r=super.F7(e,t);if(e)return r;if(i.AM&&r.AM&&null!==ZC._n_(r.AR)&&""!==r.AR){var a="out";if(null!==ZC._n_(r.o[ZC._[7]])&&(a=r.o[ZC._[7]]),"out"===a){var o=!0;if(null!==ZC._n_(n=r.o.connected)&&(o=ZC._b_(n)),o){var l=new DU(i.A);l.Z=l.C6=i.A.CN("bl",0),l.append(i.A.C2.o),l.B7=i.A0,l.DP="line",l.E=[];var s=r.D.positioninfo,C=(i.B3+i.BI)/2%360,c=0;C>=0&&C<=180&&(c=i.D.thickness/2);var A=ZC.AO.BL(i.iX,i.iY,i.AI+i.DQ+r.DQ,C);(A=new CB(i.C,A[0]-ZC.AN.E2,A[1]-ZC.AN.E1,c).EA)[0]+=i.BJ,A[1]+=i.BH,l.E.push(A);var u=ZC.AO.BL(i.iX,i.iY,i.AI+i.DQ+r.DQ+20,C);(u=new CB(i.C,u[0]-ZC.AN.E2,u[1]-ZC.AN.E1,c).EA)[0]+=i.BJ,u[1]+=i.BH,r.iX>=i.iX?l.E.push([u[0],u[1],s[0],s[1]+r.F/2]):l.E.push([u[0],u[1],s[0]+r.I+2,s[1]+r.F/2]),l.parse(),l.J0=function(e){return i.J0(e)},l.DB()&&l.parse(),l.AM&&l.paint()}}}}paint(){var e,t,n,i,r,a,o,l,s,C=this,c=C.C.CJ,A=C.C.BK(C.A.BT("k")[0]),u=C.C.EY[ZC._[27]],p=C.C.EY[ZC._[28]];C.setup();var h="pie-sel-"+C.A.L+"-"+C.L;if(C.o.detached&&typeof C.C.D[h]===ZC._[31]&&(C.C.D[h]=!0),!(C.AD<0)){var Z=ZC.BQ(.7,ZC.EE(u));C.AI=ZC.CX(A.GE/Z,A.GK)/2,null!==ZC._n_(C.A.o[ZC._[21]])?C.AI=C.A.AI:C.AI=A.JT*C.AI,C.CM<1&&(C.CM*=C.AI),C.CM=Math.max(0,C.CM),C.o[ZC._[8]]=C.CM,C.DQ<1&&(C.DQ*=C.AI),C.o["offset-r"]=C.DQ;var d=C.A.NT;-1===d&&(d=C.AI/5),C.D.thickness=d;var f=C.iX-ZC.AN.E2,_=C.iY-ZC.AN.E1;C.B3=ZC._i_(C.B3),C.BI=ZC._i_(C.BI);var g=(C.B3+C.BI)/2;C.C.D[h]&&(C.DQ+=ZC._i_(.15*C.AI)),C.DQ>0&&(f+=C.DQ*ZC.EE(g),_+=C.DQ*ZC.EN(g));var v=C.N=C.A.I3(C,C);v.DI=C.K+"-3dfacet";var m=new D0(C);if(m.copy(v),m.A0=ZC.AP.JQ(ZC.AP.G8(m.A0)),m.AE=ZC.AP.JQ(ZC.AP.G8(m.AE)),C.AD>=0||0===C.A.A.KQ[C.L]){for(o=[],e=C.B3,o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),0]),e=C.B3;e<=C.BI;e+=1)o.push([f+C.AI*ZC.EE(e),_+C.AI*ZC.EN(e),0]);for(e=C.BI,o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),0]),e=C.BI;e>=C.B3;e-=1)o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),0]);if((t=ZC.DG.D6(v,C.C,o)).K=C.K+"-facet1",c.add(t),n=null,C.B3%360>=0+p&&C.B3%360<180+p||C.BI%360>0+p){l=C.B3,s=C.BI;var b=function(e,t,i){var r,a=[];for(r=e,a.push([f+C.AI*ZC.EE(r),_+C.AI*ZC.EN(r),0]),r=e;r<=t;r+=1)a.push([f+C.AI*ZC.EE(r),_+C.AI*ZC.EN(r),0]);for(r=t,a.push([f+C.AI*ZC.EE(r),_+C.AI*ZC.EN(r),d]),r=t;r>=e;r-=1)a.push([f+C.AI*ZC.EE(r),_+C.AI*ZC.EN(r),d]);(n=ZC.DG.D6(m,C.C,a)).ML=[.01,1,1,1],n.K=C.K+"-facet2"+i,c.add(n)};l<180&&s>360?(b(l=l<0?l+360:l,180,1),b(360,s,2)):(l=ZC.BQ(l,s>360?365:5),(s=ZC.CX(s,s>360?535:175))>l&&b(l,s,1))}if(a=null,C.CM>0+p&&C.BI>180+p){for(o=[],e=C.B3,l=C.B3,C.B3<180+p&&C.BI>180+p&&(e=180+p,l=180+p),o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),0]),e=l;e<=C.BI;e+=1)o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),0]);for(e=C.BI,o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),d]),e=C.BI;e>=l;e-=1)o.push([f+C.CM*ZC.EE(e),_+C.CM*ZC.EN(e),d]);(a=ZC.DG.D6(m,C.C,o)).K=C.K+"-facet3",c.add(a)}var B=function(e,t,n){return[[f+e*ZC.EE(n),_+e*ZC.EN(n),0],[f+e*ZC.EE(n),_+e*ZC.EN(n),d],[f+t*ZC.EE(n),_+t*ZC.EN(n),d],[f+t*ZC.EE(n),_+t*ZC.EN(n),0]]};(i=ZC.DG.D6(m,C.C,{points:B(C.CM,C.AI,C.B3),mathpoints:B(C.CM+1,C.AI+1,C.B3-1)})).K=C.K+"-facet4",c.add(i),(r=ZC.DG.D6(m,C.C,{points:B(C.CM,C.AI,C.BI),mathpoints:B(C.CM+1,C.AI+1,C.BI+1)})).K=C.K+"-facet5",c.add(r);var D=C.C.K+ZC._[34]+C.C.K+ZC._[35]+C.A.L+ZC._[6],E=ZC.Q.GG("poly",C.A.E7)+'class="'+D+'" id="'+C.K,y=C.A.A.HX;y.push(E+'--top" data-z-sort="1" coords="'+t.F1()+'" />'),n&&y.push(E+'--outer" data-z-sort="1" coords="'+n.F1()+'" />'),(C.CM>0||C.DQ>0)&&(a&&y.push(E+'--inner" data-z-sort="2" coords="'+a.F1()+'" />'),y.push(E+'--start" data-z-sort="2" coords="'+i.F1()+'" />',E+'--end" data-z-sort="2" coords="'+r.F1()+'" />'))}C.A.U&&C.F7()}}OZ(e,t){var n=this;if(super.OZ(e,t),"click"===t&&e.which<=1&&n.A.A89){var i="pie-sel-"+n.A.L+"-"+n.L;n.C.D[i]=typeof n.C.D[i]===ZC._[31]||!n.C.D[i],n.C.JW()}}}class A70 extends ZT{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT("v")[0]),n=e.iX+e.I/2,i=e.iY+(t.AU?e.F:0),r=new CB(e.C,n-ZC.AN.E2,i-ZC.AN.E1,e.A.D["z-start"]);return[ZC._i_(r.EA[0]),ZC._i_(r.EA[1]),{reference:e,center:!0}]}HG(e){var t=super.HG(e);if("-1/-1"!==t.join("/")){var n=new CB(this.C,t[0]+e.I/2-ZC.AN.E2,t[1]+e.F/2-ZC.AN.E1,this.A.D["z-mid"]);return[ZC._i_(n.EA[0])-e.I/2,ZC._i_(n.EA[1])-e.F/2]}return t}paint(e){var t,n=this;super.paint(),typeof e===ZC._[31]&&(e=!1);var i=n.C.CJ,r=n.A.B2,a=n.A.CK;n.setup();var o,l,s,C,c,A,u,p,h,Z,d,f,_,g,v,m,b=n.A.PR(),B=b.A9,D=b.ES,E=b.CC,y=b.CS,K=b.F4,F=b.D1,x=b.EZ;if(e?D=n.A.D["node-"+n.L+"-bar-index"]:n.A.D["node-"+n.L+"-bar-index"]=b.ES,n.A.CA){s=0;var I=n.A.A.KF[D];for(o=0;o0&&(n.CQ!==n.AD&&(w=(s-n.CQ+n.AD)/s),Y=(s-n.CQ)/s),a.AU){var M=w;w=Y,Y=M}n.A.LZ&&(D=n.L);var L=n.iX-B/2+E+D*(F+K)-D*x;if(L=ZC._l_(L,n.iX-B/2+E,n.iX+B/2-y),n.A.D1>0){var G=F;(F=n.A.D1)<=1&&(F*=G),L+=(G-F)/2}var P=F,N=n.iY,k=null!==ZC._n_(n.A.M4[n.L])?n.A.M4[n.L]:0;if(N=n.A.CA&&"100%"===n.A.KY?a.AX(100*(n.CQ+k)/n.A.A.F8[n.L]["%total-"+n.A.DX]):a.AX(n.CQ+k),n.A.CA?(c=N-(C="100%"===n.A.KY?a.AX(100*(n.CQ-n.AD+k)/n.A.A.F8[n.L]["%total-"+n.A.DX]):a.AX(n.CQ-n.AD+k)),n.AD<0&&(N=C),a.AU?c>0&&(c=ZC._a_(c),N=C):c<0&&(N=C-(c=ZC._a_(c)))):N=(c=N-(C=a.AX(k)))<0?C-(c=ZC._a_(c)):C,E+y===0&&(L-=.5,P+=1),n.I=P,n.F=c,n.iX=L,n.iY=N,a.AU?n.AD>=a.H8?n.iYVal=N+n.F:n.iYVal=N:n.AD>=a.H8?n.iYVal=N:n.iYVal=N+n.F,n.C.CW){var O="middle";n.C.CW.o.marker&&null!==ZC._n_(t=n.C.CW.o.marker.alignment)&&(O=t),null!==ZC._n_(n.A.o["guide-marker"])&&null!==ZC._n_(t=n.A.o["guide-marker"].alignment)&&(O=t),"node"===O&&(n.D.A6B=n.iX+n.I/2)}if(!e){var R,T,H,S=L-ZC.AN.E2,z=N-ZC.AN.E1,Q=0,J=ZC.AN.FU,V=0,U=J;if(n.A.A40){if(T=Q,"mixed3d"===n.C.AF||"mixed"===n.C.AF){for(R=1,o=0,l=n.A.A.A5.length;oo&&V--);U/=R,V=R-V-1}T=V*U+.2*U,H=(V+1)*U-.2*U}if(null!==ZC._n_(n.A.o["z-start"])&&(T=ZC._i_(n.A.o["z-start"])),null!==ZC._n_(n.A.o["z-end"])&&(H=ZC._i_(n.A.o["z-end"])),null!==ZC._n_(n.A.o.depth)){var W=ZC._i_(n.A.o.depth);T=V*U+U/2-W,H=V*U+U/2+W}Q=T,J=H-T,n.A.D["z-plots"]=R,n.A.D["z-cnt"]=V,n.A.D["z-depth"]=U,n.A.D["z-start"]=T,n.A.D["z-mid"]=(T+H)/2;var j=n.N=n.A.I3(n,n.N);if(j.DI=n.K+"-3dfacet",n.A.I6&&(n.GL(j),j.parse()),j.AM){var $=new D0(n);$.copy(j),$.A0=ZC.AP.JQ(ZC.AP.G8($.A0)),$.AE=ZC.AP.JQ(ZC.AP.G8($.AE)),$.BV=ZC.AP.JQ(ZC.AP.G8($.BV));var q=new D0(n);q.copy(j),q.A0=ZC.AP.JQ(ZC.AP.G8(q.A0),15),q.AE=ZC.AP.JQ(ZC.AP.G8(q.AE),15),q.BV=ZC.AP.JQ(ZC.AP.G8(q.BV),15);var ee=new D0(n);ee.copy(j);var te=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6],ne=ZC.Q.GG("poly",n.A.E7,n.N.IZ)+'class="'+te+'" id="'+n.K,ie=n.C.EY.true3d,re=n.I/2,ae=J/2,oe=w*re,le=Y*re,se=Y*ae,Ce=w*ae;a.AU&&!n.A.CA?(A=n.AD>=0?0:n.F,u=n.AD>=0?n.F:0):(A=n.AD>=0?n.F:0,u=n.AD>=0?0:n.F);var ce=n.A.A.HX,Ae=ZC.CX(ae,re),ue=n.C.EY[ZC._[28]],pe=n.C.EY.angle,he=ZC.EE(pe)*ae,Ze=ZC.EN(pe)*ae;ie||(Ae=ZC.CX(2*he,re));var de=function(e){var t=0,i=n.A.L,o=n.L,l=n.A.A.A5.length,s=n.A.R.length;switch((n.A.CA?"s":"")+(r.AU?"k":"")+(a.AU?"v":"")){case"":case"v":t=10*i+1e4*o+e;break;case"sv":t=10*(l-i)+1e4*o+e;break;case"k":t=10*i+1e4*(s-o)+e;break;case"skv":t=10*(l-i)+1e4*(s-o)+e;break;case"kv":t=10*i+1e4*(s-o)+e;break;case"s":t=10*i+1e4*o+e;break;case"sk":t=10*i+1e4*(s-o)+e}return t},fe=ZC.MAX,_e=-ZC.MAX,ge=ZC.MAX,ve=-ZC.MAX,me=ZC.MAX,be=-ZC.MAX,Be=ZC.MAX,De=-ZC.MAX;if("cylinder"===n.A.CV)for(m=0;m<=360;m+=4)(h=new CB(n.C,S+ZC.EN(m)*Ae+re,z,Q+ZC.EE(m)*Ae+ae)).EA[0]ve&&(ve=h.EA[0],_e=m),(h=new CB(n.C,S+ZC.EN(m)*Ae+re,z+n.F,Q+ZC.EE(m)*Ae+ae)).EA[0]De&&(De=h.EA[0],be=m);var Ee=n.A.o.facets||{};switch(n.A.CV){default:Ee.bottom?((p=new D0(n)).copy($),p.append(Ee.bottom),p.parse(),_=ZC.DG.D9(p,n.C,S+.1,S+n.I-.1,z+n.F-.1,z+n.F-.1,Q+.1,Q+J-.1,"x")):_=ZC.DG.D9($,n.C,S+.1,S+n.I-.1,z+n.F-.1,z+n.F-.1,Q+.1,Q+J-.1,"x"),_.K=n.K+"-facet1",_.G0=de(1),i.add(_),Ee.top?((p=new D0(n)).copy($),p.append(Ee.top),p.parse(),f=ZC.DG.D9(p,n.C,S+.1,S+n.I-.1,z+.1,z+.1,Q+.1,Q+J-.1,"x")):f=ZC.DG.D9($,n.C,S+.1,S+n.I-.1,z+.1,z+.1,Q+.1,Q+J-.1,"x"),f.K=n.K+"-facet2",f.G0=de(3),i.add(f),Ee.left?((p=new D0(n)).copy(q),p.append(Ee.left),p.parse(),g=ZC.DG.D9(p,n.C,S+.1,S+.1,z+.1,z+n.F-.1,Q+.1,Q+J-.1,"z")):g=ZC.DG.D9(q,n.C,S+.1,S+.1,z+.1,z+n.F-.1,Q+.1,Q+J-.1,"z"),g.K=n.K+"-facet3",g.G0=de(2),i.add(g),Ee.right?((p=new D0(n)).copy(q),p.append(Ee.right),p.parse(),v=ZC.DG.D9(p,n.C,S+n.I-.1,S+n.I-.1,z+.1,z+n.F-.1,Q+.1,Q+J-.1,"z")):v=ZC.DG.D9(q,n.C,S+n.I-.1,S+n.I-.1,z+.1,z+n.F-.1,Q+.1,Q+J-.1,"z"),v.K=n.K+"-facet4",v.G0=de(4),i.add(v),Ee.front?((p=new D0(n)).copy(ee),p.append(Ee.front),p.parse(),d=ZC.DG.D9(p,n.C,S+.1,S+n.I-.1,z+.1,z+n.F-.1,Q+.1,Q+.1,"y")):d=ZC.DG.D9(ee,n.C,S+.1,S+n.I-.1,z+.1,z+n.F-.1,Q+.1,Q+.1,"y"),d.K=n.K+"-facet5",d.G0=de(5),i.add(d),n.A.FX&&(1===Y&&ce.push(ne+"--top"+ZC._[30]+f.F1()+'" />'),ce.push(ne+"--left"+ZC._[30]+g.F1()+'" />',ne+"--right"+ZC._[30]+v.F1()+'" />',ne+"--front"+ZC._[30]+d.F1()+'" data-z-sort="-100" />'));break;case"pyramid":Ee.bottom?((p=new D0(n)).copy($),p.append(Ee.bottom),p.parse(),_=ZC.DG.D9(p,n.C,S+re-oe,S+re+oe,z+A,z+A,Q+ae-Ce,Q+ae+Ce,"x")):_=ZC.DG.D9($,n.C,S+re-oe,S+re+oe,z+A,z+A,Q+ae-Ce,Q+ae+Ce,"x"),_.K=n.K+"-facet1",_.G0=de(a.AU&&!n.A.CA?6:1),i.add(_),Z=[[S+re-oe,z+A,Q+ae-Ce],[S+re+oe,z+A,Q+ae-Ce]],n.A.CA&&0!==Y?Z.push([S+re+le,z+u,Q+ae-se],[S+re-le,z+u,Q+ae-se]):Z.push([S+re,z+u,Q+ae]),Ee.front?((p=new D0(n)).copy(j),p.append(Ee.front),p.parse(),d=ZC.DG.D6(p,n.C,Z)):d=ZC.DG.D6(j,n.C,Z),d.K=n.K+"-facet2",d.G0=de(3),i.add(d),Z=[[S+re-oe,z+A,Q+ae-Ce],[S+re-oe,z+A,Q+ae+Ce]],n.A.CA&&0!==Y?Z.push([S+re-le,z+u,Q+ae+se],[S+re-le,z+u,Q+ae-se]):Z.push([S+re,z+u,Q+ae]),Ee.left?((p=new D0(n)).copy(q),p.append(Ee.left),p.parse(),g=ZC.DG.D6(p,n.C,Z)):g=ZC.DG.D6(q,n.C,Z),g.K=n.K+"-facet3",g.G0=de(2),i.add(g),Z=[[S+re+oe,z+A,Q+ae-Ce],[S+re+oe,z+A,Q+ae+Ce]],n.A.CA&&0!==Y?Z.push([S+re+le,z+u,Q+ae+se],[S+re+le,z+u,Q+ae-se]):Z.push([S+re,z+u,Q+ae]),Ee.right?((p=new D0(n)).copy(q),p.append(Ee.right),p.parse(),v=ZC.DG.D6(p,n.C,Z)):v=ZC.DG.D6(q,n.C,Z),v.K=n.K+"-facet4",v.G0=de(4),i.add(v),n.A.CA&&0!==Y&&(Z=[[S+re-le,z+u,Q+ae-se],[S+re-le,z+u,Q+ae+se],[S+re+le,z+u,Q+ae+se],[S+re+le,z+u,Q+ae-se]],Ee.top?((p=new D0(n)).copy($),p.append(Ee.top),p.parse(),f=ZC.DG.D6(p,n.C,Z)):f=ZC.DG.D6($,n.C,Z),f.K=n.K+"-facet5",f.G0=de(5),i.add(f)),n.A.FX&&ce.push(ne+"--left"+ZC._[30]+g.F1()+'" />',ne+"--right"+ZC._[30]+v.F1()+'" />',ne+"--front"+ZC._[30]+d.F1()+'" data-z-sort="-100" />');break;case"cylinder":if(Z=[],ie)for(m=0;m<=360;m+=5)Z.push([S+ZC.EN(m)*Ae+re,z+n.F,Q+ZC.EE(m)*Ae+ae]);else for(m=0;m<=360;m+=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae+re+he,N+n.F+ZC.EN(m)*(Ae/2)-Ze],Z.push(h);if(Ee.bottom?((p=new D0(n)).copy($),p.append(Ee.bottom),p.parse(),_=ZC.DG.D6(p,n.C,Z,!ie)):_=ZC.DG.D6($,n.C,Z,!ie),_.K=n.K+"-facet1",_.G0=de(1),i.add(_),Z=[],ie)for(m=0;m<=360;m+=5)Z.push([S+ZC.EN(m)*Ae+re,z,Q+ZC.EE(m)*Ae+ae]);else for(m=0;m<=360;m+=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae+re+he,N+ZC.EN(m)*(Ae/2)-Ze],Z.push(h);if(Ee.top?((p=new D0(n)).copy($),p.append(Ee.top),p.parse(),f=ZC.DG.D6(p,n.C,Z,!ie)):f=ZC.DG.D6($,n.C,Z,!ie),f.K=n.K+"-facet2",f.G0=de(3),i.add(f),Z=[],ie){for(m=ZC.CX(fe,_e);m<=ZC.BQ(fe,_e);m+=1)Z.push([S+ZC.EN(m)*Ae+re,z,Q+ZC.EE(m)*Ae+ae]);for(Z.push([S+ZC.EN(m)*Ae+re,z+n.F,Q+ZC.EE(m)*Ae+ae]),m=ZC.BQ(me,be);m>=ZC.CX(me,be);m-=1)Z.push([S+ZC.EN(m)*Ae+re,z+n.F,Q+ZC.EE(m)*Ae+ae])}else{for(m=0;m<=180;m+=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae+re+he,N+n.F+ZC.EN(m)*(Ae/2)-Ze],Z.push(h);for(m=180;m>=0;m-=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae+re+he,N+ZC.EN(m)*(Ae/2)-Ze],Z.push(h)}Ee.front?((p=new D0(n)).copy(j),p.append(Ee.front),p.parse(),d=ZC.DG.D6(p,n.C,Z,!ie)):d=ZC.DG.D6(j,n.C,Z,!ie),d.K=n.K+"-facet3",d.G0=de(2),i.add(d),n.A.FX&&ce.push(ne+"--front"+ZC._[30]+d.F1()+'" data-z-sort="-100" />',ne+"--top"+ZC._[30]+f.F1()+'" />');break;case"cone":if(Z=[],ie)for(m=0;m<=360;m+=5)Z.push([S+ZC.EN(m)*Ae*w+re,z+A,Q+ZC.EE(m)*Ae*w+ae]);else for(m=0;m<=360;m+=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae*w+re+he,N+A+ZC.EN(m)*(Ae/2)*w-Ze],Z.push(h);if(Ee.bottom?((p=new D0(n)).copy($),p.append(Ee.bottom),p.parse(),_=ZC.DG.D6(p,n.C,Z,!ie)):_=ZC.DG.D6($,n.C,Z,!ie),_.K=n.K+"-facet1",_.G0=de(1),i.add(_),Z=[],ie){for(m=90+ue;m<=270+ue;m+=5)Z.push([S+ZC.EN(m)*Ae*w+re,z+A,Q+ZC.EE(m)*Ae*w+ae]);if(n.A.CA&&0!==Y)for(m=270+ue;m>=90+ue;m-=5)Z.push([S+ZC.EN(m)*Ae*Y+re,z+u,Q+ZC.EE(m)*Ae*Y+ae]);else Z.push([S+re,z+u,Q+ae])}else{for(m=0;m<=180;m+=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae*w+re+he,N+A+ZC.EN(m)*(Ae/2)*w-Ze],Z.push(h);if(n.A.CA&&0!==Y)for(m=180;m>=0;m-=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae*Y+re+he,N+u+ZC.EN(m)*(Ae/2)*Y-Ze],Z.push(h);else(h=new CB(n.C,0,0,0)).EA=[L+re+he,N+u-Ze],Z.push(h)}if(Ee.front?((p=new D0(n)).copy(j),p.append(Ee.front),p.parse(),d=ZC.DG.D6(p,n.C,Z,!ie)):d=ZC.DG.D6(j,n.C,Z,!ie),d.K=n.K+"-facet2",d.G0=de(2),i.add(d),n.A.CA&&0!==Y){if(Z=[],ie)for(m=0;m<=360;m+=5)Z.push([S+ZC.EN(m)*Ae*Y+re,z+u,Q+ZC.EE(m)*Ae*Y+ae]);else for(m=0;m<=360;m+=5)(h=new CB(n.C,0,0,0)).EA=[L+ZC.EE(m)*Ae*Y+re+he,N+u+ZC.EN(m)*(Ae/2)*Y-Ze],Z.push(h);Ee.top?((p=new D0(n)).copy($),p.append(Ee.top),p.parse(),f=ZC.DG.D6(p,n.C,Z,!ie)):f=ZC.DG.D6($,n.C,Z,!ie),f.K=n.K+"-facet3",i.add(f),f.G0=de(3)}n.A.FX&&ce.push(ne+"--front"+ZC._[30]+d.F1()+'" data-z-sort="-100" />')}n.A.U&&n.A.U.AM&&n.F7()}n.paintPreview(j)}}I2(){}}class A71 extends ZS{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT("v")[0]),n=e.iX+(t.AU?0:e.I),i=e.iY+e.F/2,r=new CB(e.C,n-ZC.AN.E2,i-ZC.AN.E1,e.A.D["z-start"]);return[ZC._i_(r.EA[0]),ZC._i_(r.EA[1]),{reference:e,center:!0}]}HG(e){var t=super.HG(e);if("-1/-1"!==t.join("/")){var n=new CB(this.C,t[0]-ZC.AN.E2,t[1]-ZC.AN.E1,this.A.D["z-start"]);return[ZC._i_(n.EA[0]),ZC._i_(n.EA[1])]}return t}paint(e){var t=this;super.paint(),typeof e===ZC._[31]&&(e=!1);var n=t.C.CJ,i=t.A.B2,r=t.A.CK;t.setup();var a,o,l,s,C,c,A,u,p,h,Z,d,f,_,g=t.A.PR(),v=g.A9,m=g.ES,b=g.CC,B=g.CS,D=g.F4,E=g.D1,y=g.EZ;if(e?m=t.A.D["node-"+t.L+"-bar-index"]:t.A.D["node-"+t.L+"-bar-index"]=g.ES,t.A.CA){a=0;for(var K=t.A.A.KF[m],F=0;F0){var M=E;(E=t.A.D1)<=1&&(E*=M),Y+=(M-E)/2}var L=E,G=t.iX,P=null!==ZC._n_(t.A.M4[t.L])?t.A.M4[t.L]:0;if(G=t.A.CA&&"100%"===t.A.KY?r.AX(100*(t.CQ+P)/t.A.A.F8[t.L]["%total-"+t.A.DX]):r.AX(t.CQ+P),t.A.CA?(l=G-(o="100%"===t.A.KY?r.AX(100*(t.CQ-t.AD+P)/t.A.A.F8[t.L]["%total-"+t.A.DX]):r.AX(t.CQ-t.AD+P)),t.AD>0?G=o:l=ZC._a_(l),r.AU?l>0?(l=ZC._a_(l),G=o):G-=l=ZC._a_(l):l<0&&(G=o-(l=ZC._a_(l)))):G=(l=G-(o=r.AX(P)))<0?o-(l=ZC._a_(l)):o,b+B===0&&(Y-=.5,L+=1),t.I=l,t.F=L,t.iX=G,t.iY=Y,r.AU?t.AD>=r.H8?t.iXVal=G:t.iXVal=G+t.I:t.AD>=r.H8?t.iXVal=G+t.I:t.iXVal=G,!e){var N=G+l-ZC.AN.E2,k=Y-ZC.AN.E1,O=0,R=ZC.AN.FU;null!==ZC._n_(t.A.o["z-start"])&&(O=ZC._i_(t.A.o["z-start"])),null!==ZC._n_(t.A.o["z-end"])&&(R=ZC._i_(t.A.o["z-end"])-O),t.A.D["z-start"]=O,t.A.D["z-mid"]=O+R/2;var T=t.N=t.A.I3(t,t.N);if(T.DI=t.K+"-3dfacet",t.A.I6&&(t.GL(T),T.parse()),T.AM){var H=new D0(t);H.copy(T),H.A0=ZC.AP.JQ(ZC.AP.G8(H.A0)),H.AE=ZC.AP.JQ(ZC.AP.G8(H.AE)),H.BV=ZC.AP.JQ(ZC.AP.G8(H.BV));var S=new D0(t);S.copy(T),S.A0=ZC.AP.JQ(ZC.AP.G8(S.A0),15),S.AE=ZC.AP.JQ(ZC.AP.G8(S.AE),15),S.BV=ZC.AP.JQ(ZC.AP.G8(S.BV),15);var z=new D0(t);z.copy(T);var Q=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],J=ZC.Q.GG("poly",t.A.E7,t.N.IZ)+'class="'+Q+'" id="'+t.K,V=t.C.EY.true3d,U=t.F/2,W=R/2,j=I*U,$=X*U,q=X*W,ee=I*W;r.AU&&!t.A.CA?(C=t.AD>=0?0:t.I,s=t.AD>=0?t.I:0):(C=t.AD>=0?t.I:0,s=t.AD>=0?0:t.I);var te=t.A.A.HX,ne=ZC.CX(W,U),ie=t.C.EY[ZC._[27]],re=t.C.EY.angle,ae=ZC.EE(re)*W,oe=ZC.EN(re)*W;V||(ne=ZC.CX(2*oe,U));var le=function(e){var n=-1,a=t.A.L,o=t.L,l=t.A.A.A5.length,s=t.A.R.length;switch((t.A.CA?"s":"")+(i.AU?"k":"")+(r.AU?"v":"")){case"":case"v":case"sv":n=10*(l-a)+1e4*o+e;break;case"k":case"skv":case"kv":n=10*(l-a)+1e4*(s-o)+e;break;case"s":n=10*a+1e4*o+e;break;case"sk":n=10*a+1e4*(s-o)+e}return ZC._i_(n)},se=t.A.o.facets||{};switch(t.A.CV){default:se.left?((c=new D0(t)).copy(S),c.append(se.left),c.parse(),A=ZC.DG.D9(c,t.C,N-t.I+.1,N-.1,k+.1,k+.1,O+.1,O+R-.1,"x")):A=ZC.DG.D9(S,t.C,N-t.I+.1,N-.1,k+.1,k+.1,O+.1,O+R-.1,"x"),A.K=t.K+"-facet1",A.G0=le(5),n.add(A),se.right?((c=new D0(t)).copy(S),c.append(se.right),c.parse(),Z=ZC.DG.D9(c,t.C,N-t.I+.1,N-.1,k+t.F-.1,k+t.F-.1,O+.1,O+R-.1,"x")):Z=ZC.DG.D9(S,t.C,N-t.I+.1,N-.1,k+t.F-.1,k+t.F-.1,O+.1,O+R-.1,"x"),Z.K=t.K+"-facet2",Z.G0=le(1),n.add(Z),se.bottom?((c=new D0(t)).copy(H),c.append(se.bottom),c.parse(),u=ZC.DG.D9(c,t.C,N-t.I+.1,N-t.I+.1,k+t.F-.1,k+.1,O+.1,O+R-.1,"z")):u=ZC.DG.D9(H,t.C,N-t.I+.1,N-t.I+.1,k+t.F-.1,k+.1,O+.1,O+R-.1,"z"),u.K=t.K+"-facet3",u.G0=le(2),n.add(u),se.top?((c=new D0(t)).copy(H),c.append(se.top),c.parse(),p=ZC.DG.D9(c,t.C,N-.1,N-.1,k+t.F-.1,k+.1,O+.1,O+R-.1,"z")):p=ZC.DG.D9(H,t.C,N-.1,N-.1,k+t.F-.1,k+.1,O+.1,O+R-.1,"z"),p.K=t.K+"-facet4",p.G0=le(3),n.add(p),se.front?((c=new D0(t)).copy(z),c.append(se.front),c.parse(),h=ZC.DG.D9(c,t.C,N-t.I+.1,N-.1,k+t.F-.1,k+.1,O+.1,O+.1,"y")):h=ZC.DG.D9(z,t.C,N-t.I+.1,N-.1,k+t.F-.1,k+.1,O+.1,O+.1,"y"),h.K=t.K+"-facet5",h.G0=le(4),n.add(h),t.A.FX&&(t.A.CA||te.push(J+"--top"+ZC._[30]+p.F1()+'" />'),te.push(J+"--left"+ZC._[30]+A.F1()+'" />',J+"--right"+ZC._[30]+Z.F1()+'" />',J+"--front"+ZC._[30]+h.F1()+'" data-z-sort="-100" />'));break;case"pyramid":se.bottom?((c=new D0(t)).copy(H),c.append(se.bottom),c.parse(),u=ZC.DG.D9(c,t.C,N-C,N-C,k+U-j,k+U+j,W-ee,W+ee,"z")):u=ZC.DG.D9(H,t.C,N-C,N-C,k+U-j,k+U+j,W-ee,W+ee,"z"),u.K=t.K+"-facet1",u.G0=le(r.AU&&!t.A.CA?6:1),n.add(u),_=[[N-C,k+U-j,W-ee],[N-C,k+U+j,W-ee]],t.A.CA&&0!==X?_.push([N-s,k+U+$,W-q],[N-s,k+U-$,W-q]):_.push([N-s,k+U,R/2]),se.front?((c=new D0(t)).copy(T),c.append(se.front),c.parse(),h=ZC.DG.D6(c,t.C,_)):h=ZC.DG.D6(T,t.C,_),h.K=t.K+"-facet2",h.G0=le(3),n.add(h),_=[[N-C,k+U-j,W-ee],[N-C,k+U-j,W+ee]],t.A.CA&&0!==X?_.push([N-s,k+U-$,W+q],[N-s,k+U-$,W-q]):_.push([N-s,k+t.F/2,R/2]),se.left?((c=new D0(t)).copy(S),c.append(se.left),c.parse(),A=ZC.DG.D6(c,t.C,_)):A=ZC.DG.D6(S,t.C,_),A.K=t.K+"-facet3",A.G0=le(4),n.add(A),_=[[N-C,k+U+j,W-ee],[N-C,k+U+j,W+ee]],t.A.CA&&0!==X?_.push([N-s,k+U+$,W+q],[N-s,k+U+$,W-q]):_.push([N-s,k+U,R/2]),se.right?((c=new D0(t)).copy(S),c.append(se.right),c.parse(),Z=ZC.DG.D6(c,t.C,_)):Z=ZC.DG.D6(S,t.C,_),Z.K=t.K+"-facet4",Z.G0=le(2),n.add(Z),t.A.CA&&0!==X&&(se.top?((c=new D0(t)).copy(H),c.append(se.top),c.parse(),p=ZC.DG.D9(c,t.C,N-s,N-s,k+U-$,k+U+$,W-q,W+q,"z")):p=ZC.DG.D9(H,t.C,N-s,N-s,k+U-$,k+U+$,W-q,W+q,"z"),p.K=t.K+"-facet5",p.G0=le(5),n.add(p)),t.A.FX&&te.push(J+"--left"+ZC._[30]+A.F1()+'" />',J+"--right"+ZC._[30]+Z.F1()+'" />',J+"--front"+ZC._[30]+h.F1()+'" data-z-sort="-100" />');break;case"cylinder":if(_=[],V)for(d=0;d<=360;d+=5)_.push([N-t.I,k+ZC.EN(d)*ne+U,O+ZC.EE(d)*ne+W]);else for(d=0;d<=360;d+=5)(f=new CB(t.C,0,0,0)).EA=[G+ZC.EE(d)*(ne/2)+ae,Y+U+ZC.EN(d)*ne-oe],_.push(f);if(se.bottom?((c=new D0(t)).copy(H),c.append(se.bottom),c.parse(),u=ZC.DG.D6(c,t.C,_,!V)):u=ZC.DG.D6(H,t.C,_,!V),u.K=t.K+"-facet1",u.G0=le(1),n.add(u),_=[],V){for(d=90-ie;d<=270-ie;d+=5)_.push([N-t.I,k+ZC.EN(d)*ne+U,O+ZC.EE(d)*ne+W]);for(_.push([N,k+ZC.EN(d)*ne+U,O+ZC.EE(d)*ne+W]),d=270-ie;d>=90-ie;d-=5)_.push([N,k+ZC.EN(d)*ne+U,O+ZC.EE(d)*ne+W])}else{for(d=90;d<=270;d+=5)(f=new CB(t.C,0,0,0)).EA=[G+ZC.EE(d)*(ne/2)+ae,Y+U+ZC.EN(d)*ne-oe],_.push(f);for(d=270;d>=90;d-=5)(f=new CB(t.C,0,0,0)).EA=[G+ZC.EE(d)*(ne/2)+t.I+ae,Y+U+ZC.EN(d)*ne-oe],_.push(f)}if(se.front?((c=new D0(t)).copy(T),c.append(se.front),c.parse(),h=ZC.DG.D6(c,t.C,_,!V)):h=ZC.DG.D6(T,t.C,_,!V),h.K=t.K+"-facet2",h.G0=le(2),n.add(h),_=[],V)for(d=0;d<=360;d+=5)_.push([N,k+ZC.EN(d)*ne+U,O+ZC.EE(d)*ne+W]);else for(d=0;d<=360;d+=5)(f=new CB(t.C,0,0,0)).EA=[G+ZC.EE(d)*(ne/2)+t.I+ae,Y+U+ZC.EN(d)*ne-oe],_.push(f);se.top?((c=new D0(t)).copy(H),c.append(se.top),c.parse(),p=ZC.DG.D6(c,t.C,_,!V)):p=ZC.DG.D6(H,t.C,_,!V),p.K=t.K+"-facet3",p.G0=le(3),n.add(p),t.A.FX&&te.push(J+"--front"+ZC._[30]+h.F1()+'" data-z-sort="-100" />',J+"--top"+ZC._[30]+p.F1()+'" />');break;case"cone":if(_=[],V)for(d=0;d<=360;d+=5)_.push([N-C,k+ZC.EN(d)*ne*I+U,ZC.EE(d)*ne*I+W]);else for(d=0;d<=360;d+=5)(f=new CB(t.C,0,0,0)).EA=[G+s+ZC.EE(d)*(ne/2)*I+ae,Y+U+ZC.EN(d)*ne*I-oe],_.push(f);if(se.bottom?((c=new D0(t)).copy(H),c.append(se.bottom),c.parse(),u=ZC.DG.D6(c,t.C,_,!V)):u=ZC.DG.D6(H,t.C,_,!V),u.K=t.K+"-facet1",u.G0=le(1),n.add(u),_=[],V){for(d=90-ie;d<=270-ie;d+=5)_.push([N-C,k+ZC.EN(d)*ne*I+U,ZC.EE(d)*ne*I+W]);if(t.A.CA&&0!==X)for(d=270-ie;d>=90-ie;d-=5)_.push([N-s,k+ZC.EN(d)*ne*X+U,ZC.EE(d)*ne*X+W]);else _.push([N-s,k+U,ne])}else{for(d=90;d<=270;d+=5)(f=new CB(t.C,0,0,0)).EA=[G+s+ZC.EE(d)*(ne/2)*I+ae,Y+U+ZC.EN(d)*ne*I-oe],_.push(f);if(t.A.CA&&0!==X)for(d=270;d>=90;d-=5)(f=new CB(t.C,0,0,0)).EA=[G+C+ZC.EE(d)*(ne/2)*X+ae,Y+U+ZC.EN(d)*ne*X-oe],_.push(f);else(f=new CB(t.C,0,0,0)).EA=[G+C+ae,Y+U-oe],_.push(f)}if(se.front?((c=new D0(t)).copy(T),c.append(se.front),c.parse(),h=ZC.DG.D6(c,t.C,_,!V)):h=ZC.DG.D6(T,t.C,_,!V),h.K=t.K+"-facet2",h.G0=le(2),n.add(h),t.A.CA&&0!==X){if(_=[],V)for(d=0;d<=360;d+=5)_.push([N-s,k+ZC.EN(d)*ne*X+U,ZC.EE(d)*ne*X+W]);else for(d=0;d<=360;d+=5)(f=new CB(t.C,0,0,0)).EA=[G+C+ZC.EE(d)*(ne/2)*X+ae,Y+U+ZC.EN(d)*ne*X-oe],_.push(f);se.top?((c=new D0(t)).copy(H),c.append(se.top),c.parse(),p=ZC.DG.D6(c,t.C,_,!V)):p=ZC.DG.D6(H,t.C,_,!V),p.K=t.K+"-facet3",p.G0=le(3),n.add(p)}t.A.FX&&te.push(J+"--front"+ZC._[30]+h.F1()+'" data-z-sort="-100" />')}}t.A.U&&t.A.U.AM&&t.F7()}}I2(){}}class A72 extends A3N{setup(){this.RT()}JB(){return{color:this.N.B7}}KC(){return{"background-color":this.N.B7,"border-color":this.N.B7,color:this.N.C1}}HG(e){var t=super.HG(e);return new CB(this.C,t[0]-ZC.AN.E2,t[1]-ZC.AN.E1,this.A.D["z-start"]).EA}paint(){var e,t,n=this;super.paint();var i,r=n.D.points;(i="none"!==n.A.J6?n.N=n.A.I3(n,n.N):n.N).DI=n.K+"-3dfacet",n.A.I6&&n.GL(i);var a=0,o=-1,l=ZC.AN.FU;if("hide"===n.C.getToggleAction())n.A.CA?o=0:(a=n.A.A.A5.length,o=n.A.L,l/=a);else if(n.A.CA)o=0;else{for(e=0;ee&&o--);l/=a,o=a-o-1}i.A0=i.AE=i.B7,"spline"===n.A.CV&&(i.BV=i.B7);var s=n.A.A.HX,C=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6],c=ZC.Q.GG("poly",n.A.E7,n.N.IZ)+'class="'+C+'" id="'+n.K,A=o*l,u=(o+1)*l;if(null!==ZC._n_(n.A.o["z-start"])&&(A=ZC._i_(n.A.o["z-start"])),null!==ZC._n_(n.A.o["z-end"])&&(u=ZC._i_(n.A.o["z-end"])),null!==ZC._n_(n.A.o.depth)){var p=ZC._i_(n.A.o.depth);A=o*l+l/2-p,u=o*l+l/2+p}n.A.D["z-plots"]=a,n.A.D["z-cnt"]=o,n.A.D["z-depth"]=l,n.A.D["z-start"]=A,n.A.D["z-mid"]=(A+u)/2;var h,Z,d,f=[],_=[],g=i;ZC._a_(A-u)<=2&&(n.C.CJ.SS[n.A.K]||(n.C.CJ.SS[n.A.K]={zIndex:n.A.L,style:i,points:[]},n.C.CJ.SS[n.A.K].style.ME=!1,n.C.CJ.SS[n.A.K].style.B1=ZC.BQ(1,ZC._i_(ZC._a_(A-u)/1))));for(var v=0;v2){var m=-ZC._i_(ZC.UB(Math.atan((r[v+1][1]-r[v][1])/(r[v+1][0]-r[v][0]))));(g=new D0(n)).copy(i),g.A0=ZC.AP.JQ(ZC.AP.G8(g.A0),m),g.AE=ZC.AP.JQ(ZC.AP.G8(g.AE),m),g.BV=ZC.AP.JQ(ZC.AP.G8(g.BV),m)}var b,B,D,E;if(n.A.oP0&&ZC._a_(A-u)<=2?((b=n.A.oP0).parse(n.C,r[v][0]-ZC.AN.E2,r[v][1]-ZC.AN.E1,A),(B=n.A.oP1).parse(n.C,r[v+1][0]-ZC.AN.E2,r[v+1][1]-ZC.AN.E1,A),(D=n.A.oP2).parse(n.C,r[v+1][0]-ZC.AN.E2,r[v+1][1]-ZC.AN.E1,u-1),(E=n.A.oP3).parse(n.C,r[v][0]-ZC.AN.E2,r[v][1]-ZC.AN.E1,u-1)):(b=n.A.oP0=new CB(n.C,r[v][0]-ZC.AN.E2,r[v][1]-ZC.AN.E1,A),B=n.A.oP1=new CB(n.C,r[v+1][0]-ZC.AN.E2,r[v+1][1]-ZC.AN.E1,A),D=n.A.oP2=new CB(n.C,r[v+1][0]-ZC.AN.E2,r[v+1][1]-ZC.AN.E1,u-1),E=n.A.oP3=new CB(n.C,r[v][0]-ZC.AN.E2,r[v][1]-ZC.AN.E1,u-1)),ZC._a_(A-u)>2?((h=new ZZ(g,n.C)).K=n.K+"-facet"+v,h.add(b),h.add(B),h.add(D),h.add(E),n.C.CJ.add(h)):(n.C.CJ.SS[n.A.K].points.push(b.EA),v===r.length-2&&n.C.CJ.SS[n.A.K].points.push(B.EA),"spline"===n.A.CV&&(b=new CB(n.C,r[v][0]-ZC.AN.E2,r[v][1]-ZC.AN.E1,A-10),E=new CB(n.C,r[v][0]-ZC.AN.E2,r[v][1]-ZC.AN.E1,u-1+10))),f.push(b.EA),_.push(E.EA),n.A.FX&&"spline"!==n.A.CV)if(ZC._a_(A-u)>2)t=h.F1();else{for(Z=ZC.AO.ZN([b.EA,B.EA],4),d=0;d')}"spline"===n.A.CV?(n.D.polypoints=!0,n.D.points=f.concat(_.reverse())):n.D.points=null,n.A.A2.o&&("spline"===n.A.CV||"none"===n.A.A2.o.type||null!==ZC._n_(n.A.A2.o.visible)&&!ZC._b_(n.A.A2.o.visible))&&"spline"!==n.A.CV||n.OR(!0),n.A.U&&n.A.U.AM&&n.F7(),n.paintPreview(i,r)}I2(){}}class A73 extends A3O{setup(){this.RT()}JB(){return{color:this.N.B7}}KC(){return{"background-color":this.N.B7,"border-color":this.N.B7,color:this.N.C1}}HG(e){var t=super.HG(e);return new CB(this.C,t[0]-ZC.AN.E2,t[1]-ZC.AN.E1,this.A.D["z-start"]).EA}paint(){var e,t,n=this;super.paint();var i=n.A.CK,r=i.H8,a=i.AX(r);a=ZC._l_(a,i.iY,i.iY+i.F);var o,l=n.D.points,s=n.D.pointsarea;(o="none"!==n.A.J6?n.N=n.A.I3(n,n.N):n.N).DI=n.K+"-3dfacet",n.A.I6&&n.GL(o);var C=0,c=-1,A=ZC.AN.FU;if("hide"===n.C.getToggleAction())n.A.CA?c=0:(C=n.A.A.A5.length,c=n.A.L,A/=C);else if(n.A.CA)c=0;else{for(e=0;ee&&c--);A/=C,c=C-c-1}var u=new D0(n);u.copy(o),u.A0=u.AE=o.B7,"spline"===n.A.CV&&(u.BV=o.B7);var p=new D0(n);p.copy(o),p.LC=!0,p.AT=0,p.C5=n.A.HY,p.A0=ZC.AP.R0(ZC.AP.G8(p.A0),30),p.AE=ZC.AP.R0(ZC.AP.G8(p.AE),30);var h=n.A.A.HX,Z=n.C.K+ZC._[34]+n.C.K+ZC._[35]+n.A.L+ZC._[6],d=ZC.Q.GG("poly",n.A.E7,n.N.IZ)+'class="'+Z+'" id="'+n.K,f=[],_=[],g=c*A,v=(c+1)*A;if(null!==ZC._n_(n.A.o["z-start"])&&(g=ZC._i_(n.A.o["z-start"])),null!==ZC._n_(n.A.o["z-end"])&&(v=ZC._i_(n.A.o["z-end"])),null!==ZC._n_(n.A.o.depth)){var m=ZC._i_(n.A.o.depth);g=c*A+A/2-m,v=c*A+A/2+m}n.A.D["z-plots"]=C,n.A.D["z-cnt"]=c,n.A.D["z-depth"]=A,n.A.D["z-start"]=g,n.A.D["z-mid"]=(g+v)/2;var b,B,D=new ZZ(p,n.C);for(b=0,B=s.length;b2){var K=-ZC._i_(ZC.UB(Math.atan((l[b+1][1]-l[b][1])/(l[b+1][0]-l[b][0]))));(y=new D0(n)).copy(u),y.A0=ZC.AP.JQ(ZC.AP.G8(y.A0),K),y.AE=ZC.AP.JQ(ZC.AP.G8(y.AE),K),y.BV=ZC.AP.JQ(ZC.AP.G8(y.BV),K)}var F=new CB(n.C,l[b][0]-ZC.AN.E2,l[b][1]-ZC.AN.E1,g),x=new CB(n.C,l[b+1][0]-ZC.AN.E2,l[b+1][1]-ZC.AN.E1,g),I=new CB(n.C,l[b+1][0]-ZC.AN.E2,l[b+1][1]-ZC.AN.E1,v-1),X=new CB(n.C,l[b][0]-ZC.AN.E2,l[b][1]-ZC.AN.E1,v-1);if(ZC._a_(g-v)>2?((D=new ZZ(y,n.C)).K=n.K+"-facet"+b,D.add(F),D.add(x),D.add(I),D.add(X),n.C.CJ.add(D)):(n.C.CJ.SS[n.A.K].points.push(F.EA),b===l.length-2&&n.C.CJ.SS[n.A.K].points.push(x.EA),"spline"===n.A.CV&&(F=new CB(n.C,l[b][0]-ZC.AN.E2,l[b][1]-ZC.AN.E1,g-10),X=new CB(n.C,l[b][0]-ZC.AN.E2,l[b][1]-ZC.AN.E1,v-1+10))),f.push(F.EA),_.push(X.EA),n.A.FX&&"spline"!==n.A.CV)if(ZC._a_(g-v)>2)t=D.F1();else{for(var w=ZC.AO.ZN([D.E[0].EA,D.E[1].EA],4),Y=0;Y')}"spline"===n.A.CV?(n.D.polypoints=!0,n.D.points=f.concat(_.reverse())):n.D.points=null,n.A.A2.o&&("none"===n.A.A2.o.type||null!==ZC._n_(n.A.A2.o.visible)&&!ZC._b_(n.A.A2.o.visible))&&"spline"!==n.A.CV||n.OR(!0),n.A.U&&n.A.U.AM&&n.F7(),n.paintPreview(o,l,s)}I2(){}}class A8O extends MF{constructor(e){super(e),this.X9=0,this.XG=0}F0(e,t,n,i){var r=this,a=null;return a=r.A.L=3)t.A.U&&t.F7();else{super.paint();var n=t.N=t.A.I3(t,t),i=new DU(t.A);i.K=t.K,i.Z=t.A.CN("bl",1),i.C6=t.A.CN("bl",0),i.copy(n);var r=t.iX,a=t.iY;if(i.iX=r,i.iY=a,i.AI=t.AI,i.DP="circle",i.D.plotidx=t.A.L,i.D.nodeidx=t.L,i.parse(),t.FP=i,t.A.GB&&!t.C.HM){var o=i,l={};o.iX=r,o.iY=a,l.x=r,l.y=a;var s=t.A.LH;if(o.C5=0,l.alpha=n.C5,3===s)o.AI=2,l.size=t.AI;else if(4===s){switch(t.A.L){case 0:o.iX=r-3*t.AI,o.iY=a;break;case 1:o.iX=r+3*t.AI,o.iY=a;break;case 2:o.iX=r,o.iY=a-3*t.AI}l.x=r,l.y=a}for(e in t.A.FV)o[E9.GO[ZC.EC(e)]]=t.A.FV[e],l[ZC.EC(e)]=n[E9.GO[ZC.EC(e)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+"-"+t.L]))for(e in t.C.EL[t.A.L+"-"+t.L])o[E9.GO[ZC.EC(e)]]=t.C.EL[t.A.L+"-"+t.L][e];t.C.EL[t.A.L+"-"+t.L]={},ZC._cp_(l,t.C.EL[t.A.L+"-"+t.L]);var C=new E9(o,l,t.A.JL,t.A.LB,E9.RU[t.A.LF],(function(){c()}));C.AW=t,t.L5(C)}else i.paint(),c()}function c(){var e=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],n=ZC.Q.GG("circle",t.A.E7,t.A.IZ)+'class="'+e+'" id="'+t.K+ZC._[30]+ZC._i_(t.iX+ZC.MAPTX)+","+ZC._i_(t.iY+ZC.MAPTX)+","+ZC._i_(ZC.BQ(ZC.mobile?6:3,t.AI)*(ZC.mobile?2:1.2))+'" />';t.A.A.HX.push(n),t.A.U&&t.F7()}}I2(e){var t=this;ZC.move||t.LL({layer:e,type:"shape",initcb:function(){this.DP="circle",this.A0=t.A.BP[3],this.AE=t.A.BP[3]},setupcb:function(){this.iX=t.iX,this.iY=t.iY,this.AI=t.AI}})}}MF.prototype.MR=function(e,t){var n,i,r=this;if(typeof t===ZC._[31]&&(t=!1),t)typeof r.D.pointserror!==ZC._[31]&&((n=new D0(r)).copy(r.A),r.A.JH&&(n.copy(r.A.JH),n.append(r.A.JH.o[ZC._[71]])),n.parse(),n.K=r.K+"--error-hover",n.AM&&ZC.CR.paint(e,n,r.D.pointserror));else{var a=r.A.CK,o=r.A.B2;if(0!==r.A.SD.length){var l=null,s=null,C=!0;r.A.SD.length<=2?(null!==ZC._n_(r.A.SD[0])&&r.A.SD[0]instanceof Array&&(C=!1),null!==ZC._n_(r.A.SD[1])&&r.A.SD[1]instanceof Array&&(C=!1)):C=!1,C?(l=r.A.SD[0],s=r.A.SD[1]):null!==ZC._n_(i=r.A.SD[r.L])&&i instanceof Array&&(l=s=i[0],2===i.length&&(s=i[1])),r.D["node-error-plus"]=l,r.D["node-error-minus"]=s,-1!==(l+"").indexOf("%")&&(l=ZC.IQ(l))<=1&&(l*=r.AD),-1!==(s+"").indexOf("%")&&(s=ZC.IQ(s))<=1&&(s*=r.AD);var c=[],A=ZC.IQ(r.A.JH&&r.A.JH.o[ZC._[21]]||.5);A<=1&&(A="vbar"===r.A.AF?ZC._i_(A*r.I):"hbar"===r.A.AF?ZC._i_(A*r.F):ZC._i_(A*o.A9));var u,p=0;if(p=o.CP?r.F:r.I,null!==ZC._n_(l)){var h=a.AX(r.CQ+l);o.CP?(u=a.AU?r.AD<0?r.iX+r.I:r.iX:r.AD>0?r.iX+r.I:r.iX,c.push([h,r.iY+p/2-A/2],[h,r.iY+p/2+A/2],null,[h,r.iY+p/2],[u,r.iY+p/2])):(u=a.AU?r.AD>0?r.iY+r.F:r.iY:r.AD<0?r.iY+r.F:r.iY,c.push([r.iX+p/2-A/2,h],[r.iX+p/2+A/2,h],null,[r.iX+p/2,h],[r.iX+p/2,u]))}if(null!==ZC._n_(s)){var Z=a.AX(r.CQ-s);o.CP?(u=a.AU?r.AD<0?r.iX+r.I:r.iX:r.AD>0?r.iX+r.I:r.iX,c.push(null,[Z,r.iY+p/2-A/2],[Z,r.iY+p/2+A/2],null,[Z,r.iY+p/2],[u,r.iY+p/2])):(u=a.AU?r.AD>0?r.iY+r.F:r.iY:r.AD<0?r.iY+r.F:r.iY,c.push(null,[r.iX+p/2-A/2,Z],[r.iX+p/2+A/2,Z],null,[r.iX+p/2,Z],[r.iX+p/2,u]))}(n=new D0(r)).copy(r.A),r.A.JH&&n.copy(r.A.JH),n.parse(),n.K=r.K+"--error",n.CY=!1,ZC.CR.paint(e,n,c),r.D.pointserror=c}}};class HD extends I0{constructor(e){super(e);var t=this;t.G=t.A.A,t.BF="",t.X=[],t.BY=[],t.A67=[],t.DK=!1,t.M=null,t.BR=null,t.IY=null,t.D4=null,t.GM=0,t.IG=null,t.G3=null,t.H8=0,t.PA=null,t.L=1,t.A6=0,t.A4Q=0,t.BW=0,t.AU=!1,t.CP=!1,t.A9=0,t.iStepMultiplier=1,t.DV=-1,t.RL=ZC.HN[ZC._[13]]||"",t.S6=ZC.HN[ZC._[14]]||".",t.A0D=!1,t.SQ=2,t.A3C=!1,t.TY="",t.A0I="standard",t.CH=null,t.AF="",t.EF=ZC.MAX,t.M9=ZC.MAX,t.GP=!1,t.YN=!1,t.LX=null,t.NY=null,t.QE=[],t.E3=1,t.B4=-1,t.BM=-1,t.SR=-1,t.FW=-1,t.H1=-1,t.C8="lin",t.EI=10,t.FH=null,t.PB=1,t.QD=!0,t.A11=!1,t.aAutoFit=[!1,!1],t.M2=null,t.X3=null,t.TM=!1,t.I7=-1,t.YZ=!1,t.B9="default",t.QC=!1,t.VV=!1,t.RD=1,t.sMaster="",t.bNormalize=!0}parse(){super.parse();var e,t=this;if(null!==ZC._n_(e=t.o.step))if(ZC.PK(e))t.E3=ZC._f_(e);else{var n=e.replace(/[0-9]/gi,""),i=parseInt(e.replace(/[^0-9]/gi,""),10);switch(i=i||1,n){case"second":t.E3=1e3*i;break;case"minute":t.E3=1e3*i*60;break;case"hour":t.E3=1e3*i*60*60;break;case"day":t.E3=1e3*i*60*60*24;break;case"week":t.E3=1e3*i*60*60*24*7;break;case"month":t.E3=2629743e3*i;break;case"year":t.E3=31556926e3*i}}if(null!==ZC._n_(t.o.multiplier)&&null===ZC._n_(t.o.short)&&(t.o.short=t.o.multiplier),t.assign_a([[ZC._[10],"BY"],["tooltip-text","A67"],["format","CH"],["offset-start","A6","i"],["offset-start","A4Q","i"],["offset-end","BW","i"],["minor-ticks","GM","i"],["step-multiplier","iStepMultiplier","i"],["index","L","i"],["mirrored","AU","b"],["zooming","GP","b"],["zoom-snap","YN","b"],["fixed-step","QC","b"],["zoom-to","LX"],["force-view","YZ","b"],["zoom-to-values","NY"],["items-overlap","A11","b"],["used","TM","b"],["max-labels","EF","i"],["max-items","EF","i"],["ref-value","H8","f"],[ZC._[12],"DV","ia"],[ZC._[14],"S6"],[ZC._[13],"RL"],["short","A3C","b"],["short-unit","TY"],["negation","A0I"],["exponent","A0D","b"],[ZC._[25],"SQ","ia"],["progression","C8"],["log-base","EI","fa"],["scale-factor","PB","fa"],["show-labels","M2"],["max-decimals","I7","i"],[ZC._[7],"B9"],["factor","RD","f"],["master","sMaster"],["blended","VV","b"],["ranged","DK","b"],["normalize","bNormalize","b"]]),"log"===t.C8&&null===ZC._n_(t.o["minor-ticks"])&&(t.GM=Math.max(0,t.EI-2)),null!==ZC._n_(e=t.o["auto-fit"])&&(e.length?(t.aAutoFit[0]=ZC._b_(e[0]),t.aAutoFit[1]=ZC._b_(e[e.length-1])):t.aAutoFit[0]=t.aAutoFit[1]=ZC._b_(e)),"string"==typeof t.BY){var r=t.BY.split(":"),a=1;3===r.length&&(a=ZC._f_(r[2])),t.BY=[];for(var o=ZC._f_(r[0]);o1&&(t.B9="opposite"),null!==ZC._n_(e=t.o.markers))for(var u=0,p=e.length;u=0&&r<=1&&(r="x"===i||"y"===i?t.A.P["x"===i?"iX":"iY"]+ZC._i_(r*t.A.P["x"===i?"I":"F"]):ZC._i_(r*t.A.P[n[i]])),t[n[i]]=r}null!==ZC._n_(e=t.o.offset)&&(t.A6=t.BW=ZC._f_(ZC._p_(e))),null!==ZC._n_(e=t.o["offset-start"])&&(t.A6=ZC._f_(ZC._p_(e))),null!==ZC._n_(e=t.o["offset-end"])&&(t.BW=ZC._f_(ZC._p_(e)));var a="k"===t.AF&&!t.CP||"v"===t.AF&&t.CP?t.I:t.F;t.A6<1&&(t.A6*=a),t.BW<1&&(t.BW*=a)}W8(e){var t=this;null!==ZC._n_(t.o.rules)&&(t.X3||(t.X3=new HD(t.A)),t.X3.append(t.o),t.X3.parse(),t.X3.J0=e,t.X3.DB()&&(t.X3.parse(),t.DV=t.X3.DV,t.CH=t.X3.CH))}GY(){}T8(){}ZX(){}HC(){}clear(){}build(){}LV(){var e,t=this,n={negation:t.A0I,"thousands-separator":t.RL,"decimals-separator":t.S6,decimals:t.DV,"max-decimals":t.I7,short:t.A3C,"short-unit":t.TY,exponent:t.A0D,"exponent-decimals":t.SQ};if(t.FH)switch(t.FH.o.type){case"date":n[ZC._[68]]=!0,null!==ZC._n_(e=t.FH.o.text)&&(t.FH.o.all=e);var i=t.X[t.A1]-t.X[t.V],r="",a="",o={},l=["msecond","second","minute","hour","day","month","year"];for(var s in l)o[l[s]]=ZC.HN["date-formats"][l[s]];a=0<=i&&i<=1e3?"msecond":1e3").length),"h"===s?(o+=e.F,l=ZC.BQ(l,ZC._a_(ZC.EN(A))*ZC.BQ(e.I,e.F))):"w"===s&&(o+=e.I,l=ZC.BQ(l,ZC._a_(ZC.EE(A))*ZC.BQ(e.I,e.F))),e.EB(),null===ZC._n_(i.o.tooltip)&&e.KE||(null!==ZC._n_(i.o.tooltip)&&(i.o.tooltip.text=i.o.tooltip.text||"%scale-value"),C.push(ZC.AP.OE(i.A.K,e))))}return{tdim:o,mdim:l,overlaps:!p}}TL(e,t){var n=this;if("v"===n.AF&&(n.H8!==n.B4&&n.H8!==n.BM||(null===ZC._n_(n.o["ref-line"])||null!==ZC._n_(n.o["ref-line"])&&null===ZC._n_(n.o["ref-line"].visible))&&(n.PA.AM=!1)),n.PA.K=n.K+"-ref-line",n.X.length>0&&n.PA.AM&&!n.A.AJ["3d"]&&n.PA.B1>0){"inherit"===n.PA.o["line-color"]&&-1!==t&&(n.PA.B7=t);var i=n.H8;if("k"===n.AF&&!n.CP||"v"===n.AF&&n.CP){var r=n.AX(i);r>=n.iX&&r<=n.iX+n.I&&ZC.CR.paint(e,n.PA,[[r,n.iY],[r,n.iY+n.F]])}else{var a=n.AX(i);a>=n.iY&&a<=n.iY+n.F&&ZC.CR.paint(e,n.PA,[[n.iX,a],[n.iX+n.I,a]])}}}paint_(){}VU(){for(var e=this,t=0,n=e.QE.length;t0&&e.QE[t].paint()}gc(){ZC.AP.gc(this,["X","BY","Z","C6","D4","BR","M","G3","IG","PA","IY","J0","o","I9","JC","A","G"])}}class A41 extends HD{constructor(e){super(e);var t=this;t.ED=!1,t.AF="k",t.DD=-1,t.DY=-1,t.V=-1,t.A1=-1,t.VO=1,t.DV=null,t.OS=0,t.A54=!1,t.O8=!1,t.UP={},t.IW=[]}zoomTo(e,t){var n=this;if(n.GP){null!==ZC._n_(e)?n.V=e:n.V=n.DD,null!==ZC._n_(t)?n.A1=t:n.A1=n.DY;var i=n.IW;if(i.length>0?(n.B4=ZC.AV(i,n.X[n.V]),n.BM=ZC.AV(i,n.X[n.A1])):(n.B4=n.X[n.V],n.BM=n.X[n.A1]),n.G.HE.C||(n.G.HE.C=n.A),n.A.HE&&null!==ZC._n_(n.A.HE.o.shared)&&ZC._b_(n.A.HE.o.shared)&&n.A.K===n.G.HE.C.K)for(var r=0,a=n.G.AH.length;r0&&e.BR.AA%180==0){for(var i=ZC.BQ(1,ZC._i_(t/20)),r=0,a=0;a||
|\n/),l=0,s=0,C=o.length;s/gi,"").replace(/<\/.+?>/gi,"").length);n+=l,r++}n=.75*n/Math.max(1,r)}else n=15;e.CP?e.EF=ZC._i_((e.F-e.A6-e.BW)/15):e.EF=ZC._i_((e.I-e.A6-e.BW)/n),e.EF=ZC.CX(e.EF,10),(e.BM-e.B4)/e.E3+1ZC._f_(l[1])){var C=l[0];l[0]=l[1],l[1]=C}if(s<=0&&(s=1),l.length>1){for(var c=0,A=0,u=0,p=(""+s).split("."),h=ZC._f_(l[0]);h<=ZC._f_(l[1]);h+=s){var Z=(""+h).split(".");p.length>1&&Z.length>1&&p[1].length>0&&Z[1].length>=9&&ZC._a_(Z[1].length-p[1].length)>2?(c+=p[1].length,A=ZC.BQ(A,p[1].length),u++,null!==(a=ZC._n_(o.o[ZC._[12]]))?o.X.push(ZC._f_(Number(h).toFixed(ZC._i_(a)))):o.X.push(ZC._f_(ZC._fixed_(Number(h),p[1].length))),h=ZC._f_(ZC._fixed_(Number(h),p[1].length))):(c+=Z[1]?Z[1].length:0,A=ZC.BQ(A,Z[1]?Z[1].length:0),u++,null!==(a=ZC._n_(o.o[ZC._[12]]))?o.X.push(ZC._f_(Number(h).toFixed(ZC._i_(a)))):o.X.push(h))}null===ZC._n_(o.o[ZC._[12]])&&(c=Math.ceil(c/u),o.DV=ZC._a_(A-c)<=1?A:c)}}if(2===e){var d=0,f=[];0===o.X.length?(t=ZC.MAX,n=-ZC.MAX):(t=o.X[0],n=o.X[o.X.length-1]);var _,g,v=o.A.AZ.A5,m=!1;for(i=0,r=v.length;io.X.length&&o.X.length>0&&!o.ED)for(i=o.X.length;i0&&(t=0),m&&n0&&(o.E3=Math.pow(10,Math.floor(ZC.H3(n-t)/Math.LN10))),o.O8||o.Q3(t,n,!0),0===t&&0===n&&"0,1"===o.X.join(",")&&(o.X=[0]);else if(null!==ZC._n_(o.o["max-value"])){_=0,g=0,null!==ZC._n_(o.o["min-value"])&&(_=ZC._f_(o.o["min-value"])),g=ZC._f_(o.o["max-value"]),i=0;var F=_;if(o.FH&&null!==ZC._n_(o.FH.o.type))switch(o.FH.o.type){case"date":o.E3=o.XH(_,g)}else(g-_)/o.E3>1e4&&(o.E3=Math.pow(10,ZC.BQ(1,ZC._i_(ZC.H3(ZC._a_(g-_),10)-4))));for(;F0?(o.B4=o.V,o.BM=o.A1):(o.B4=ZC._f_(o.X[o.V]),o.BM=ZC._f_(o.X[o.A1])),o.NY){-1===ZC.AV(o.X,o.NY[0])&&ZC.PK(o.NY[0])&&null!==ZC._n_(o.X[0])&&-1!==o.SR&&(o.NY[0]=o.X[0]+o.SR*Math.floor((o.NY[0]-o.X[0])/o.SR)),-1===ZC.AV(o.X,o.NY[1])&&ZC.PK(o.NY[1])&&null!==ZC._n_(o.X[0])&&-1!==o.SR&&(o.NY[1]=o.X[0]+o.SR*Math.ceil((o.NY[1]-o.X[0])/o.SR));var x=ZC.AV(o.X,o.NY[0]),I=ZC.AV(o.X,o.NY[1]);o.LX=[-1===x?0:x,-1===I?o.X.length-1:I]}o.LX&&-1!==o.V&&-1!==o.A1&&((o.LX[0]>o.A1||o.LX[0]o.A1||o.LX[1]1e4&&(o=(p-u)/1e4,a=Math.ceil(ZC.H3(o)/Math.LN10),o=Math.pow(10,a)),null===ZC._n_(l.o["min-value"])&&u!==p&&(s&&C||(u-=u%o)),null===ZC._n_(l.o["max-value"])&&u!==p&&(s&&C||(p=p-p%o+(p%o==0?0:o))),a=Math.floor(ZC.H3(o)/Math.LN10);var h,Z=i[3];if(a=12&&m++,v=(v+g)%12,(31===b&&(3===v||5===v||8===v||10===v)||b>28&&1===v)&&(b=1===v?m%4==0&&m%100!=0||m%400==0?29:28:30);var B=new Date(m,v,b,d[3],d[4],d[5]),D=B.getTimezoneOffset(),E=B.getTime()+6e4*(f-D);l.X.push(E),E1.005&&(X=!0,++I>ZC.CX(20,-1===l.I7?99:l.I7)&&(X=!1));else F=null!==I?ZC._f_(ZC._fixed_(h,Math.max(I,K))):ZC._f_(ZC._fixed_(h,K));l.X.push(F)}}else for(o=ZC._f_((t-e)/l.VO),r=0;r<=l.VO;r++)h=e+o*r,Z<0&&(h=ZC._f_(h.toFixed(-Z))),l.X.push(h);l.V=0,l.A1=l.X.length-1,l.DD=0,l.DY=l.X.length-1,l.B4=ZC._f_(l.X[l.V]),l.BM=ZC._f_(l.X[l.A1])}XH(e,t,n){typeof n===ZC._[31]&&(n=!1);var i=t-e,r=Math.floor(ZC.H3(i)/Math.LN10);return null===ZC._n_(this.o.step)||n?r<=3?1:4===r?1e3:5===r?1e4:6===r?2e4:7===r?3e4:8===r?6e4:9===r?6e5:10===r?12e5:11===r?18e5:36e5:this.E3}parse(){super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null!==ZC._n_(this.o[ZC._[5]])&&(this.TM=!0)}}class A01 extends HD{constructor(e){super(e);var t=this;t.AF="v",t.V=-1,t.A1=-1,t.VO=0,t.DV=null,t.KY="normal",t.JP=[]}zoomTo(e,t){var n,i,r=this;if(r.GP){null!==ZC._n_(e)?r.B4=e:r.B4=r.FW,null!==ZC._n_(t)?r.BM=t:r.BM=r.H1,("piano"===r.A.AF||r.QC)&&(r.B4=ZC._i_(r.B4),r.BM=ZC._i_(r.BM)),r.Q3(r.B4,r.BM,!1);var a=r.A.BT("v");for(n=0;nZC._f_(g[1])){var v=g[0];g[0]=g[1],g[1]=v}if(l<=0&&(l=1),null!==ZC._n_(s.o["fixed-items"])&&(l=(ZC._f_(g[1])-ZC._f_(g[0]))/ZC.BQ(1,ZC._i_(s.o["fixed-items"])-1),s.VO=ZC.BQ(1,ZC._i_(s.o["fixed-items"])-1)),g.length>1){for(var m=0,b=0,B=0,D=(""+l).split("."),E=ZC._f_(g[0]);E<=ZC._f_(g[1]);E+=l)r=(""+E).split("."),D.length>1&&r.length>1&&D[1].length>0&&r[1].length>=9&&ZC._a_(r[1].length-D[1].length)>2?(m+=D[1].length,b=ZC.BQ(b,D[1].length),B++,s.X.push(ZC._f_(ZC._fixed_(Number(E),D[1].length)))):(m+=ZC._i_(r[1]?r[1].length:0),b=ZC.BQ(b,r[1]?r[1].length:0),B++,s.X.push(E));E-ZC._f_(g[1])!=0&&ZC._a_(E-ZC._f_(g[1]))/l<1e-8&&s.X.push(ZC._f_(g[1])),null===ZC._n_(s.o[ZC._[12]])&&(m=(r=(""+l).split("."))[1]?r[1].length:Math.ceil(m/B),s.DV=ZC._a_(b-m)<=1?b:m)}}s.V=0,s.A1=s.X.length-1,s.E3=l,u.length>1?(A=ZC.YH(s.X,!0),s.B4=ZC.YH(s.X),s.BM=ZC.A1Y(s.X)):(s.B4=s.X[0],s.BM=s.X[s.X.length-1]),"log"===s.C8&&(0===s.B4&&(c=Math.floor(ZC.H3(A,s.EI)),s.B4=Math.pow(s.EI,Math.min(-1,c))),s.Q3(ZC.H3(s.B4,s.EI),ZC.H3(s.BM,s.EI),!1))}if(2===e){var y={};null===ZC._n_(s.o[ZC._[5]])&&(s.X=[],a=ZC.MAX,o=-ZC.MAX);var K=[],F=s.A.AZ.A5;for(n=0,i=F.length;n=0||!I?y[F[n].DX][M]=[F[n].R[w].AD,0]:y[F[n].DX][M]=[0,F[n].R[w].AD]:F[n].R[w].AD>=0||!I?y[F[n].DX][M][0]+=F[n].R[w].AD:y[F[n].DX][M][1]+=F[n].R[w].AD,F[n].R[w].AD>=0||!I?F[n].R[w].CQ=y[F[n].DX][M][0]:F[n].R[w].CQ=y[F[n].DX][M][1],null===ZC._n_(s.o[ZC._[5]])&&K.push(y[F[n].DX][M][0]+L,y[F[n].DX][M][1]+L);else if(null===ZC._n_(s.o[ZC._[5]])){K.push(F[n].R[w].AD+L),0!==L&&K.push(L);for(var G=0,P=F[n].R[w].DM.length;G0&&(A=ZC.YH(K,!0),a=ZC.YH(K),o=ZC.A1Y(K)),0!==s.X.length||a!==Number.MAX_VALUE&&o!==Number.MIN_VALUE||(s.X=[0,1],a=0,o=1),null===ZC._n_(s.o[ZC._[5]])&&(null!==ZC._n_(s.o["min-value"])&&"auto"!==s.o["min-value"]?a=ZC._f_(s.o["min-value"]):a>0&&"auto"!==s.o["min-value"]&&"log"!==s.C8&&(a=0),null!==ZC._n_(s.o["max-value"])&&(o=ZC._f_(s.o["max-value"])),a===ZC.MAX&&o===-ZC.MAX?(s.V=0,s.A1=0,s.B4=0,s.BM=0):"log"===s.C8?(0===a&&(c=Math.floor(ZC.H3(A,s.EI)),a=Math.pow(s.EI,Math.min(-1,c))),s.Q3(ZC.H3(a,s.EI),ZC.H3(o,s.EI),!1)):s.Q3(a,o,!0))}2===e&&(-1===s.FW&&-1===s.H1&&(s.FW=s.B4,s.H1=s.BM),-1===s.SR&&(s.SR=s.E3)),"auto"===s.o["min-value"]&&null===ZC._n_(s.o["ref-value"])&&(s.H8=s.B4),0===s.VO&&(s.VO=ZC._i_((s.BM-s.B4)/s.E3));var N=s.G.D["graph"+s.A.L+".zoom"];if(null===ZC._n_(s.G.D[ZC._[53]])||s.G.D[ZC._[53]]){var k=1===s.L?"":"-"+s.L;2===e&&typeof N!==ZC._[31]&&null!==ZC._n_(N["ymin"+k])&&null!==ZC._n_(N["ymax"+k])&&(ZC.DS(N["ymin"+k],s.B4,s.BM)||(N["ymin"+k]=s.B4),ZC.DS(N["ymax"+k],s.B4,s.BM)||(N["ymax"+k]=s.BM),s.LX=[N["ymin"+k],N["ymax"+k]])}else s.G.D["graph"+s.A.L+".zoom"]={};s.LX&&(s.A.A1M=!0)}Q3(e,t,n){var i,r,a,o,l=this;"piano"!==l.A.AF&&!l.QC&&l.JP.length>1&&(e=0),l.TY.length&&null===ZC._n_(l.o["scale-factor"])&&(a=Math.floor(ZC.H3(ZC._a_(t),ZC._f_(l.TY[0]))),l.PB=Math.pow(ZC._f_(l.TY[0]),a)/Math.pow(1e3,a),l.D["max-power"]=a);var s=(o=l.FH&&"date"===l.FH.o.type?ZC.AO.WU(e,t,"lin"===l.C8?l.E3:null,l.PB,l.bNormalize,l.EF):ZC.AO.WU(e,t,"lin"===l.C8?l.o.step:null,l.PB,l.bNormalize,l.EF))[0],C=o[1],c=!1;r=Math.floor(o[0]),"log"===l.C8&&(a=Math.ceil(o[1]),o[1]-o[0]>=.5?c=!0:o=ZC.AO.WU(Math.pow(l.EI,o[0]),Math.pow(l.EI,o[1]),null,l.PB,l.bNormalize));var A,u,p=o[0],h=o[1],Z=o[2];null!==ZC._n_(l.o["fixed-items"])&&(Z=(h-p)/ZC.BQ(1,ZC._i_(l.o["fixed-items"])-1)),l.QC&&t===e&&(t+Z<=l.BM?t+=Z:e-=Z),1!==l.RD&&(p*=l.RD,h*=l.RD,Z*=l.RD),null!==ZC._n_(l.D["o-decimals"])?l.DV=l.D["o-decimals"]:l.D["o-decimals"]=l.DV,null===ZC._n_(l.o[ZC._[12]])&&("log"===l.C8&&c?l.DV=r<0?null:0:r<0?l.DV=o[3]:l.A3C||(l.DV=0));var d,f,_,g=!0;if(c){var v,m;r=Math.floor(p),a=Math.ceil(h),d=Math.pow(l.EI,e),f=Math.pow(l.EI,t),l.X=[];var b=[0,2,5];for(m=[0,1,2,3,4,5,6,7,8,9,10],i=r;i<=a;i++){var B=o[3];if(B=i<0?Math.max(ZC._a_(i),B):0,i===a)for(v=0;v=p&&u<=h&&l.X.push(u):l.X.push(u),A+=Z,A=ZC._f_(A.toFixed(o[3]))}while(A<=h);g&&(l.DV+=1)}"log"===l.C8&&(s=ZC.H3(p,l.EI),C=ZC.H3(h,l.EI),l.X.push(p),l.X.push(h),l.X.sort((function(e,t){return e-t})))}l.E3=Z,l.V=0,l.A1=l.X.length-1,n?(l.B4=s,l.BM=C):(l.B4=e,l.BM=t)}parse(){var e=this;e.assign_a([["stack-type","KY"]]),(e.A.CA&&"100%"===e.A.KY||"100%"===e.KY)&&null===ZC._n_(e.o[ZC._[5]])&&(e.o[ZC._[5]]="0:100:20",e.o.format="%v%"),super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null===ZC._n_(this.D[ZC._[12]])&&(this.D[ZC._[12]]=null!==ZC._n_(this.DV)?this.DV:-1),null!==ZC._n_(this.o[ZC._[5]])&&(this.TM=!0)}}class TF extends A41{constructor(e){super(e)}parse(){super.parse()}GY(){var e=this;e.A1===e.V?e.A9=e.I-e.A6-e.BW:e.A9=(e.I-e.A6-e.BW)/(e.A1-e.V+(e.DK?1:0))}HC(e){super.HC(e),this.GY()}zoomTo(e,t){super.zoomTo(e,t),this.GY()}clear(){}build(){super.build()}KZ(e){var t,n=this;return t=n.AU?(n.iX+n.I-n.A6-e)/(n.I-n.A6-n.BW):(e-n.iX-n.A6)/(n.I-n.A6-n.BW),n.B4+ZC._f_((n.BM-n.B4)*t)}MU(e,t,n){var i,r,a,o=this;typeof n===ZC._[31]&&(n=!1);var l=o.DK?o.A9:0;a=o.AU?(o.iX+o.I-e-o.A6-l/2)/(o.I-o.A6-o.BW-l):(e-o.iX-o.A6-l/2)/(o.I-o.A6-o.BW-l);var s,C=!1;if(t)for(s in t.K7){C=!0;break}if(t&&!o.O8&&C){var c=o.X[o.V];"string"==typeof c&&(c=ZC.AV(o.IW,c)),"log"===o.C8&&(c=ZC.H3(c,o.EI));var A=o.X[o.A1];"string"==typeof A&&(A=ZC.AV(o.IW,A)),"log"===o.C8&&(A=ZC.H3(A,o.EI));var u=c+ZC._f_((A-c)*a);"log"===o.C8&&(u=Math.pow(o.EI,u));var p=ZC.MAX;for(s in r=null,t.K7)(i=Math.abs(s-u))t.A32){var h=Math.ceil((A-c)/(o.I-o.A6-o.BW));if(t.X.length<2&&(h*=100),p>h)return null}return r}var Z=o.V,d=o.A1;return o.ED&&(null!==ZC._n_(i=o.X[Z])&&(Z=i),null!==ZC._n_(i=o.X[d])&&(d=i)),"log"===o.C8&&(Z=ZC.H3(Z,o.EI),d=ZC.H3(d,o.EI)),r=n?o.DK?Z+(d-Z+1)*a:Z+(d-Z)*a:o.DK?o.V+(o.A1-o.V+1)*a:o.V+(o.A1-o.V)*a,"log"===o.C8?(r=Math.pow(o.EI,r),r=Math.floor(r)-1):(r=o.DK?Math.floor(r):ZC._i_(r),r=ZC.BQ(0,r),r=ZC.CX(o.DY,r)),r}H4(e){var t=this;return t.V,t.A1,t.ED&&!t.O8&&(t.B4,t.BM),"log"===t.C8&&(e=ZC.H3(e+1,t.EI)),t.AU?t.iX+t.I-t.A6-(e-t.V+(t.DK?1:0))*t.A9+(t.DK?t.A9/2:0):t.iX+t.A6+(e-t.V)*t.A9+(t.DK?t.A9/2:0)}AX(e){var t,n,i,r,a,o=this;if("log"===o.C8&&(e=ZC.H3(e,o.EI)),o.O8){var l=o.UP[e];return o.H4(l)}return-1!==(t=ZC.AV(o.IW,e))?o.H4(t):!o.A54&&(o.ED||o.FH&&"date"===o.FH.o.type)?(r=o.X[o.V],a=o.X[o.A1],"log"===o.C8&&(r=ZC.H3(r,o.EI),a=ZC.H3(a,o.EI)),a===r?n=0:(i=a-r,n=(o.I-o.A6-o.BW-(o.DK?o.A9:0))/i),o.AU?o.iX+o.I-o.A6-(e-r)*n-(o.DK?o.A9/2:0):o.iX+o.A6+(e-r)*n+(o.DK?o.A9/2:0)):(r=o.B4,a=o.BM,"log"===o.C8&&(r=ZC.H3(r,o.EI),a=ZC.H3(a,o.EI)),a===r?n=0:(i=a-r+(o.DK?1:0),n=(o.I-o.A6-o.BW)/i),o.AU?o.iX+o.I-o.A6-(e-r)*n-(o.DK?o.A9/2:0):o.iX+o.A6+(e-r)*n+(o.DK?o.A9/2:0))}paint(){var e,t,n,i,r,a,o,l,s,C,c,A,u,p,h,Z,d,f=this;super.paint(),null!==ZC._n_(f.A.A.D[f.BF+"-feed-offset-start"])&&(f.A6=f.A.A.D[f.BF+"-feed-offset-start"]),"bubble"!==f.A.AF&&"scatter"!==f.A.AF||(-1===f.A6&&-1===f.BW||1===f.X.length)&&(f.A6=f.BW=f.I/(f.X.length+1),f.GY());var _=f.Y3(),g=0,v=1,m=1,b={};for(t=0,n=f.A.BN.length;t0;P--)f.iStepMultiplier>P&&f.A1-f.V<=P*f.iStepMultiplier&&(G=P);M*=G,L*=G;var N,k,O,R=0,T=f.A9*M/(f.GM+1),H=f.AU?f.iX+f.BW:f.iX+f.A6,S=f.AU?f.iX+f.I-f.A6:f.iX+f.I-f.BW;if(null===ZC._n_(E)&&(E=r),a=f.G.usc()?f.G.mc():ZC.AK(f.A.K+"-scales-ml-0-c"),l=ZC.Q.E8(a,f.G.AC),o=f.G.usc()?f.G.mc():ZC.AK(f.A.K+"-scales-bl-0-c"),s=ZC.Q.E8(o,f.G.AC),"inherit"===f.o["line-color"]&&-1!==_&&(f.B7=_),f.A.AJ["3d"]){if((h=ZC.DG.D9(f,f.A,f.iX-ZC.AN.E2,f.iX-ZC.AN.E2+f.I,r-ZC.AN.E1,r-ZC.AN.E1,-1,ZC.AN.FU+1,"x")).K=f.K+"-line",f.A.EY.true3d&&(f.A.EY[ZC._[27]]>0?h.ML=[1===f.L?-100:100,1,1]:h.ML=[1===f.L?100:-100,1,1]),f.A.CJ.add(h),null!==ZC._n_(f.o.axis)){var z=new D0(f);z.append(f.o.axis),z.parse(),z.A0=z.AE=z.B7,(h=ZC.DG.D9(z,f.A,f.iX-ZC.AN.E2,f.iX-ZC.AN.E2+f.I,r-ZC.AN.E1,r-ZC.AN.E1,-z.B1/2,z.B1/2,"x")).K=f.K+"-axis",f.A.CJ.add(h)}}else{c=[[f.iX-1,Y],[f.iX+f.I+1,Y]];var Q=f.K;f.K+="-line",ZC.CR.paint(l,f,c),f.K=Q}if(f.X.length>0&&f.D4.AM){var J=null===ZC._n_(f.D4.o["offset-start"])?0:ZC._i_(f.D4.o["offset-start"]),V=null===ZC._n_(f.D4.o["offset-end"])?0:ZC._i_(f.D4.o["offset-end"]);if(f.D4.o.items&&f.D4.o.items.length>0&&!f.A.AJ["3d"])for(Z=new I0(f),t=f.V;t0)for(f.GV=0,t=f.V;t<=f.A1+(f.DK?1:0);t++)if(f.K8=t,t===f.V||t===f.A1+(f.DK?1:0)||(t-f.V)%M==0){(f.D4.E4.length>0||t===f.V)&&((p=new D0(f)).Z=p.C6=o,p.copy(f.D4),p.J0=Fe,p.DB()&&p.parse()),c=[],A=t-f.V,u=f.AU?f.iX+f.I-f.A6-A*f.A9:f.iX+f.A6+A*f.A9;var U=f.iY+J,W=f.F-J-V;if(p.AM)if(f.A.AJ["3d"]){var j=new D0(f);j.copy(p),null!==ZC._n_(f.o["scale-z"])&&null!==ZC._n_(e=f.o["scale-z"].guide)&&(j.append(e),j.parse()),j.A0=j.AE=j.B7,h=ZC.DG.D9(j,f.A,u-ZC.AN.E2-j.B1/2,u-ZC.AN.E2+j.B1/2,r-ZC.AN.E1,r-ZC.AN.E1,0,ZC.AN.FU,"z"),f.A.CJ.add(h),p.A0=p.AE=p.B7,(h=ZC.DG.D9(p,f.A,u-ZC.AN.E2-p.B1/2,u-ZC.AN.E2+p.B1/2,U-ZC.AN.E1,U+W-ZC.AN.E1,ZC.AN.FU+2,ZC.AN.FU+2,"y")).K=f.K+"-guide-"+t,f.A.CJ.add(h)}else c.push([u,U],[u,U+W]),p.K=f.K+"-guide-"+t,ZC.CR.paint(s,p,c);f.GV++}}if(f.X.length>0&&f.G3.AM&&!f.A.AJ["3d"]&&f.G3.o.items&&f.G3.o.items.length>0)for(Z=new I0(f),t=f.V;t0)for(t=f.V;t0&&f.IY.AM){switch(f.IY.o[ZC._[7]]){case"inner":break;case"outer":R+=I;break;default:R+=I/2}if(!zingchart.DEV.SMARTDATELABELS||!f.FH||"date"!==f.FH.o.type)for(f.GV=0,t=f.V;t<=f.A1+(f.DK?1:0);t++)if(t===f.V||t===f.A1+(f.DK?1:0)||(t-f.V)%M==0){f.K8=t;var $=I;switch(c=[],A=t-f.V,(f.IY.E4.length>0||t===f.V)&&((p=new DU(f)).copy(f.IY),"inherit"===f.IY.o["line-color"]&&-1!==_&&(p.B7=_),p.J0=Fe,p.DB()&&p.parse(),p.AI>1&&($=p.AI)),u=f.AU?f.iX+f.I-f.A6-A*f.A9:f.iX+f.A6+A*f.A9,p.o[ZC._[7]]){case"ref-auto":c.push([u,E+$/2],[u,E-$/2]);break;case"ref-top":c.push([u,E-$],[u,E]);break;case"ref-bottom":c.push([u,E+$],[u,E]);break;case"inner":c.push([u,r-(D?$:-$)],[u,r]);break;case"outer":c.push([u,r],[u,r+(D?$:-$)]);break;default:c.push([u,r+$/2],[u,r-$/2])}if(p.AM){for(k=ZC._i_(p.o["offset-x"]||"0"),O=ZC._i_(p.o["offset-y"]||"0"),N=0;N0&&f.GM>0&&f.IG.AM&&!f.A.AJ["3d"])for(t=f.V;t0&&f.BR.AM)if(zingchart.DEV.SMARTDATELABELS&&f.FH&&"date"===f.FH.o.type){var de=f.getOptimalDateInterval(f.X[f.A1]-f.X[f.V]),fe=de[0];ce=de[1];var _e=de[2],ge=de[3];pe=de[4];var ve=_e*Math.ceil(f.X[f.V]/_e),me=_e*Math.floor(f.X[f.A1]/_e),be="";f.GV=0;var Be=!0;for(t=ve;t<=me;t+=_e){Be=!0;var De=ZC.AP.YP(t,fe,f.A.V3,f.A.NL);if(De!==be){switch(ge){case"yr":pe>15&&(Be=ZC._i_(De)%2==0);break;case"mon":pe>15&&(Be=ZC._i_(De)%3==0);break;case"day":pe>45?Be=1===ZC._i_(De)||15===ZC._i_(De):pe>30?Be=1===ZC._i_(De)||10===ZC._i_(De)||20===ZC._i_(De):pe>15&&(Be=1===ZC._i_(De)||10===ZC._i_(De)||15===ZC._i_(De)||20===ZC._i_(De)||25===ZC._i_(De));break;case"hr":pe>45?Be=ZC._i_(De)%12==0:pe>30?Be=ZC._i_(De)%6==0:pe>15&&(Be=ZC._i_(De)%3==0);break;case"min":case"sec":pe>45?Be=ZC._i_(De)%30==0:pe>30?Be=ZC._i_(De)%10==0:pe>15&&(Be=ZC._i_(De)%5==0)}Be&&(xe(t,!0),be=De)}}Ce.AM&&(Ce.K=f.K+"-ticks",ZC.CR.paint(l,Ce,se))}else for(f.GV=0,xe(f.V),f.GV=f.A1-f.V,xe(f.A1),f.GV=1,t=f.V+1;t0&&ZC.AK(f.A.A.K+"-map")&&(ZC.AK(f.A.A.K+"-map").innerHTML+=Ze.join("")),null!==ZC._n_(f.o.transform)&&"date"===f.o.transform.type&&f.paintTransformDate()}function Fe(e){return(e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,f.A1-f.V)).replace(/(%c)|(%scale-position)/g,f.GV)).replace(/(%i)|(%scale-index)/g,f.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(f.X[f.K8])?f.X[f.K8]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(f.BY[f.K8])?f.BY[f.K8]:"")).replace(/%scale-day-of-week/g,ZC.AP.YP(f.X[f.K8],"%w",f.A.V3,f.A.NL))}function xe(e,t,n,i){var a;if(f.K8=e,A=e-f.V,(f.BR.E4.length>0||e===f.V||!re||f.BR.I6||n)&&(re=new DR(f)),re.copy(f.BR),re.GN=f.K+"-item "+f.A.K+"-scale-item zc-scale-item",re.K=f.A.K+"-"+f.BF.replace(/\-/g,"_")+"-item_"+(i?"c"+i:e),re.D["p-width"]=f.A9,f.CH=oe,f.DV=le,n||f.W8(Fe),a=t?ZC.AP.YP(e,ce,f.A.V3,f.A.NL):i||f.FB(e,null,null),!n&&f.BR.I6&&f.GL(f.BR,re,null,{index:e,cnt:A,text:a},f.BR.N7),null===ZC._n_(f.M2)||-1!==ZC.AV(f.M2,a)){if(re.AR=a,re.Z=re.C6=f.G.usc()?f.G.mc():ZC.AK(f.A.K+"-scales-ml-0-c"),re.IU=f.G.usc()?ZC.AK(f.G.K+"-main"):ZC.AK(f.G.K+"-text"),re.D.nodeidx=e,re.parse(),f.BR.A2S&&f.BR.AA%180==0&&(re.o[ZC._[19]]=ZC._i_(.9*f.A9),re.parse()),"inherit"!==f.BR.o["font-color"]&&"inherit"!==f.BR.o.color||-1===_||(re.C1=_),n||(re.J0=Fe,re.DB()&&re.parse()),re.o["auto-fit"]&&(re.I=ZC._i_(f.A9)),t?(u=f.AX(e),re.iX=u-re.I/2-(f.DK?f.A9/2:0)):n?(u=f.AX(e),re.iX=u-re.I/2):f.AU?(u=f.iX+f.I-f.A6-A*f.A9,re.iX=u-re.I/2-(f.DK?f.A9/2:0)):(u=f.iX+f.A6+A*f.A9,re.iX=u-re.I/2+(f.DK?f.A9/2:0)),f.A.BA&&f.A.BA.BY&&f.A.BA.IM){for(var o=!1,l=0;l10*ZC.SEC&&(o=2),e>30*ZC.SEC&&(o=5),e>60*ZC.SEC&&(o=10)):2*ZC.MIN10*ZC.MIN&&(o=2),e>30*ZC.MIN&&(o=5),e>60*ZC.MIN&&(o=10)):2*ZC.HR6*ZC.HR&&(o=2),e>12*ZC.HR&&(o=4),e>24*ZC.HR&&(o=6)):2*ZC.DAY12*ZC.DAY&&(a=[1,5,9,13,17,21,25,29]),e>24*ZC.DAY&&(a=[1,6,11,16,21,26])):2*ZC.MON9*ZC.MON&&(a=[1,4,7,10])):(i="%Y",r="%Y",e>9*ZC.YR&&(o=3),e>16*ZC.YR&&(o=4),e>25*ZC.YR&&(o=5))}l(n.X[n.A1]-n.X[n.V]);var s=null,C=null,c=[],A=!1,u=!1;function p(e){var u,p;if(null!==ZC._n_(n.X[e])&&""!==n.X[e]){if(n.O8&&e!==n.V&&e!==n.A1&&null!==ZC._n_(n.X[e-1])&&""!==n.X[e-1]&&null!==ZC._n_(n.X[e])&&""!==n.X[e]){var h=n.X[e]-n.X[e-1];null!==ZC._n_(C)&&C!==h&&l(C,!0),C=h}var Z=ZC.AP.YP(n.X[e],i,n.A.V3,n.A.NL);if(Z!==s&&ZC._i_(Z)%o==0&&(0===a.length||-1!==ZC.AV(a,ZC._i_(Z)))){var d,f=!0,_=e-n.V;u=n.AU?n.iX+n.I-n.A6-_*n.A9:n.iX+n.A6+_*n.A9+(n.DK?n.A9/2:0);var g=new DR(n);n.G.B8.load(g.o,"graph.SCALE.transform[date].item"),null!==ZC._n_(d=n.o.transform.item)&&g.append(d),g.GN=n.K+"-item "+n.A.K+"-scale-item zc-scale-item",g.K=n.K+"-date-item-"+e;var v=ZC.AP.YP(n.X[e],r,n.A.V3,n.A.NL);g.AR=v,g.Z=g.C6=n.G.usc()?n.G.mc():ZC.AK(n.A.K+"-scales-ml-0-c"),g.IU=n.G.usc()?ZC.AK(n.G.K+"-main"):ZC.AK(n.G.K+"-text"),g.parse(),n.AU?g.iX=u-g.I/2-(n.DK?n.A9/2:0):g.iX=u,g.iY=n.iY,n.A.AJ["3d"]&&(n.A.NH(),p=new CB(n.A,g.iX+g.I/2-ZC.AN.E2,g.iY+g.F/2-ZC.AN.E1,0),g.iX=p.EA[0]-g.I/2,g.iY=p.EA[1]-g.F/2);var m=[g.iX+g.BJ,g.iY+g.BH,g.I,g.F];if(g.AA%180==90&&(m=[g.iX+g.BJ+g.I/2-g.F/2,g.iY+g.BH+g.F/2-g.I/2,g.F,g.I]),n.A.BA&&n.A.BA.IM){for(var b=!1,B=0;B=n.iX&&g.iX+g.I<=n.iX+n.I&&n.A.BA.BY.push({x:ZC._i_(g.iX),text:g.AR})}if(g.AM&&A){if(f=!0,!n.A11){if(e===n.V||e===n.A1)f=!0;else for(var D=0,E=c.length;Dn.iX+n.BJ+n.I&&(f=!1)}if(f){c.push(m),g.paint(),g.EB();var y=new D0(n);null!==ZC._n_(d=n.o.transform.guide)&&y.append(d),y.B1=1,y.B7="#ccc",y.parse();var K=[];if(K.push([u,n.iY],[u,n.iY+n.F]),n.A.AJ["3d"]){n.A.NH();for(var F=0,x=K.length;F0&&(A=!1,null!==ZC._n_(e=n.o.transform.item)&&(A=!(null!==ZC._n_(e.visible)&&!ZC._b_(e.visible))),u=!1,n.A.BA&&n.A.BA.BY&&(u=!0),A||u)){p(n.V),p(n.A1);for(var h=n.V+1;h0;k--)g.iStepMultiplier>k&&g.A1-g.V<=k*g.iStepMultiplier&&(N=k);P*=N,G*=N;var O=0,R=g.A9*P/(g.GM+1);if(r=g.G.usc()?g.G.mc():ZC.AK(g.A.K+"-scales-ml-0-c"),a=ZC.Q.E8(r,g.G.AC),o=g.G.usc()?g.G.mc():ZC.AK(g.A.K+"-scales-bl-0-c"),l=ZC.Q.E8(o,g.G.AC),g.TM||g.YZ||null!==ZC._n_(g.A.o[g.BF])){if("inherit"===g.o["line-color"]&&-1!==v&&(g.B7=v),g.A.AJ["3d"]){if((u=ZC.DG.D9(g,g.A,i-ZC.AN.E2,i-ZC.AN.E2,g.iY-ZC.AN.E1,g.iY-ZC.AN.E1+g.F,-1,ZC.AN.FU+1,"y")).K=g.K+"-line",g.A.EY.true3d&&(g.A.EY[ZC._[28]]>0?u.ML=[1===g.L?-100:100,1,1]:u.ML=[1===g.L?100:-100,1,1]),g.A.CJ.add(u),null!==ZC._n_(g.o.axis)){var T=new D0(g);T.append(g.o.axis),T.parse(),T.A0=T.AE=T.B7,(u=ZC.DG.D9(T,g.A,i-ZC.AN.E2,i-ZC.AN.E2,g.iY-ZC.AN.E1,g.iY-ZC.AN.E1+g.F,-T.B1/2,T.B1/2,"y")).K=g.K+"-axis",g.A.CJ.add(u)}}else{C=[[L,g.iY+g.F],[L,g.iY]];var H=g.K;g.K+="-line",ZC.CR.paint(a,g,C),g.K=H}var S=0,z=0,Q=[],J=[];if(g.TM||g.YZ){if(g.X.length>0&&g.D4.AM){var V=null===ZC._n_(g.D4.o["offset-start"])?0:ZC._i_(g.D4.o["offset-start"]),U=null===ZC._n_(g.D4.o["offset-end"])?0:ZC._i_(g.D4.o["offset-end"]);if(g.D4.o.items&&g.D4.o.items.length>0&&!g.A.AJ["3d"])for(g.GV=0,p=new I0(g),t=g.V;t0)for(g.GV=0,t=g.V;t<=g.A1+(g.DK?1:0);t++)if(g.K8=t,t===g.V||t===g.A1||t%P==0){(g.D4.E4.length>0||t===g.V||"log"===g.C8)&&((A=new D0(g)).Z=A.C6=o,"log"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?A.copy(g.D4):A.copy(g.G3):A.copy(g.D4),A.J0=ue,A.DB()&&A.parse()),C=[],c=t-g.V;var W=g.iX+V,j=g.I-V-U;if(s="log"===g.C8?g.AX(g.X[t]):g.AU?g.iY+g.A6+c*g.A9:g.iY+g.F-g.A6-c*g.A9,A.AM)if(g.A.AJ["3d"]){var $=new D0(g);$.copy(A),null!==ZC._n_(g.o["scale-z"])&&null!==ZC._n_(e=g.o["scale-z"].guide)&&($.append(e),$.parse()),$.A0=$.AE=$.B7,u=ZC.DG.D9($,g.A,i-ZC.AN.E2,i-ZC.AN.E2,s-ZC.AN.E1-$.B1/2,s-ZC.AN.E1+$.B1/2,0,ZC.AN.FU,"y"),g.A.CJ.add(u),A.A0=A.AE=A.B7,(u=ZC.DG.D9(A,g.A,W-ZC.AN.E2,W-ZC.AN.E2+j,s-ZC.AN.E1-A.B1/2,s-ZC.AN.E1+A.B1/2,ZC.AN.FU+2,ZC.AN.FU+2,"x")).K=g.K+"-guide-"+t,g.A.CJ.add(u)}else C.push([W,s],[W+j,s]),A.K=g.K+"-guide-"+t,ZC.CR.paint(l,A,C);g.GV++}}if(g.X.length>0&&g.G3.AM&&R>2&&!g.A.AJ["3d"]){if(g.G3.o.items&&g.G3.o.items.length>0)for(p=new I0(g),t=g.V;t0&&"log"!==g.C8)for(t=g.V;t0&&g.IY.AM){switch(g.IY.o[ZC._[7]]){case"inner":break;case"outer":O+=w;break;default:O+=w/2}for(g.GV=0,d=ZC.AV(g.X,0),t=g.V;t<=g.A1+(g.DK?1:0);t++){g.K8=t;var ne=-1;if((t===g.V||t===g.A1||t%P==0||ZC._b_(g.o["show-zero"])&&t===d)&&(C=[],c=t-g.V,(g.IY.E4.length>0||t===g.V||"log"===g.C8)&&(A=new D0(g),"log"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?A.copy(g.IY):(A.copy(g.IG),ne=w,w=Y):A.copy(g.IY),"inherit"===g.IY.o["line-color"]&&-1!==v&&(A.B7=v),A.J0=ue,A.DB()&&A.parse()),s="log"===g.C8?g.AX(g.X[t]):g.AU?g.iY+g.A6+c*g.A9:g.iY+g.F-g.A6-c*g.A9,ZC.DS(s,g.A.P.iY,g.A.P.iY+g.A.P.F))){switch(A.o[ZC._[7]]){case"ref-right":C.push([K,s],[K+w,s]);break;case"ref-left":C.push([K,s],[K-w,s]);break;case"ref-auto":C.push([K-w/2,s],[K+w/2,s]);break;case"inner":C.push([i,s],[i+(y?w:-w),s]);break;case"outer":C.push([i,s],[i-(y?w:-w),s]);break;default:C.push([i+w/2,s],[i-w/2,s])}if(-1!==ne&&(w=ne,ne=-1),A.AM){for(ee=ZC._i_(A.o["offset-x"]||"0"),te=ZC._i_(A.o["offset-y"]||"0"),q=0;q0&&g.IG.AM&&g.GM>0&&R>5&&!g.A.AJ["3d"]&&"log"!==g.C8)for(t=g.V;t0||e===g.V||!f||g.BR.I6)&&(f=new DR(g)),f.copy(g.BR),f.GN=g.K+"-item "+g.A.K+"-scale-item zc-scale-item",f.K=g.A.K+"-"+g.BF.replace(/\-/g,"_")+"-item_"+e,g.CH=oe,g.DV=le,g.W8(ue),t=("piano"===g.A.AF||g.QC)&&g.BY.length?g.FB(e+g.B4):g.FB(e),g.BR.I6&&g.GL(g.BR,f,null,{index:e,cnt:c,text:t},g.BR.N7),null===ZC._n_(g.M2)||-1!==ZC.AV(g.M2,t)){switch(f.AR=t,f.Z=f.C6=g.G.usc()?g.G.mc():ZC.AK(g.A.K+"-scales-ml-0-c"),f.IU=g.G.usc()?ZC.AK(g.G.K+"-main"):ZC.AK(g.G.K+"-text"),f.parse(),"inherit"!==g.BR.o["font-color"]&&"inherit"!==g.BR.o.color||-1===v||(f.C1=v),f.J0=ue,f.DB()&&f.parse(),f.o[ZC._[7]]){case"ref-left":f.iX=K-f.I-w;break;case"ref-right":f.iX=K+w;break;case"ref-auto":F&&F.R[e]?(F.FR(e).setup(),F.FR(e).iX0&&g.BR.AM)if("log"===g.C8){var Ce=[];for(t=g.V;t<=g.A1;t++)ZC.AO._int_(ZC.H3(g.X[t],g.EI))&&(g.GV=t,se(t),Ce.push(t));for(t=g.V;t<=g.A1;t++)-1===ZC.AV(Ce,t)&&(g.GV=t,se(t))}else for(g.GV=0,se(g.V),g.GV=g.A1-g.V,se(g.A1),-1!==(d=ZC.AV(g.X,0))&&ZC._b_(g.o["show-zero"])&&(g.GV=d,se(d)),g.GV=1,t=g.V+1;t0&&ZC.AK(g.A.A.K+"-map")&&(ZC.AK(g.A.A.K+"-map").innerHTML+=J.join(""))}}function ue(e){return(e=(e=(e=(e=e.replace(/%scale-last-position/g,g.A1-g.V)).replace(/(%c)|(%scale-position)/g,g.GV)).replace(/(%i)|(%scale-index)/g,g.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(g.X[g.K8])?g.X[g.K8]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(g.BY[g.K8])?g.BY[g.K8]:"")}}}class VE extends A41{constructor(e){super(e),this.CP=!0}parse(){super.parse()}GY(){var e=this;e.A1===e.V?e.A9=e.F-e.A6-e.BW:e.A9=(e.F-e.A6-e.BW)/(e.A1-e.V+(e.DK?1:0))}HC(e){super.HC(e),this.GY()}clear(){}build(){super.build()}zoomTo(e,t){super.zoomTo(e,t),this.GY()}KZ(e){var t,n=this;return t=n.AU?(e-n.iY-n.A6)/(n.F-n.A6-n.BW):(n.iY+n.F-n.A6-e)/(n.F-n.A6-n.BW),n.B4+ZC._f_((n.BM-n.B4)*t)}MU(e,t,n){var i,r,a,o,l=this;typeof n===ZC._[31]&&(n=!1);var s=l.DK?l.A9:0;a=l.AU?(e-l.iY-l.A6-s/2)/(l.F-l.A6-l.BW-s):(l.iY+l.F-e-l.A6-s/2)/(l.F-l.A6-l.BW-s);var C=!1;if(t)for(o in t.K7){C=!0;break}if(t&&!l.O8&&C){var c=l.X[l.V];"string"==typeof c&&(c=ZC.AV(l.IW,c)),"log"===l.C8&&(c=ZC.H3(c,l.EI));var A=l.X[l.A1];"string"==typeof A&&(A=ZC.AV(l.IW,A)),"log"===l.C8&&(A=ZC.H3(A,l.EI));var u=c+ZC._f_((A-c)*a);"log"===l.C8&&(u=Math.pow(l.EI,u));var p=ZC.MAX;for(o in r=null,t.K7)(i=Math.abs(o-u))t.A32){var h=Math.ceil((A-c)/(l.I-l.A6-l.BW));if(t.X.length<2&&(h*=100),p>h)return null}return r}var Z=l.V,d=l.A1;return l.ED&&(null!==ZC._n_(i=l.X[Z])&&(Z=i),null!==ZC._n_(i=l.X[d])&&(d=i)),"log"===l.C8&&(Z=ZC.H3(Z,l.EI),d=ZC.H3(d,l.EI)),r=n?l.DK?Z+(d-Z+1)*a:Z+(d-Z)*a:l.DK?l.V+(l.A1-l.V+1)*a:l.V+(l.A1-l.V)*a,"log"===l.C8?(r=Math.pow(l.EI,r),r=Math.floor(r)-1):(r=l.DK?Math.floor(r):ZC._i_(r),r=ZC.BQ(0,r),r=ZC.CX(l.DY,r)),r}H4(e){var t=this;return t.V,t.A1,t.ED&&!t.O8&&(t.B4,t.BM),"log"===t.C8&&(e=ZC.H3(e+1,t.EI)),t.AU?t.iY+t.A6+(e-t.V)*t.A9+(t.DK?t.A9/2:0):t.iY+t.F-t.A6-(e-t.V)*t.A9-(t.DK?t.A9/2:0)}AX(e){var t,n,i,r,a,o=this;if("log"===o.C8&&(e=ZC.H3(e,o.EI)),o.O8){var l=o.UP[e];return o.H4(l)}return-1!==(t=ZC.AV(o.IW,e))?o.H4(t):!o.A54&&(o.ED||o.FH&&"date"===o.FH.o.type)?(r=o.X[o.V],a=o.X[o.A1],"log"===o.C8&&(r=ZC.H3(r,o.EI),a=ZC.H3(a,o.EI)),a===r?i=0:(n=a-r,i=(o.F-o.A6-o.BW-(o.DK?o.A9:0))/n),o.AU?o.iY+o.A6+(e-r)*i+(o.DK?o.A9/2:0):o.iY+o.F-o.A6-(e-r)*i-(o.DK?o.A9/2:0)):(r=o.B4,a=o.BM,"log"===o.C8&&(r=ZC.H3(r,o.EI),a=ZC.H3(a,o.EI)),a===r?i=0:(n=a-r+(o.DK?1:0),i=(o.F-o.A6-o.BW)/n),o.AU?o.iY+o.A6+(e-r)*i+(o.DK?o.A9/2:0):o.iY+o.F-o.A6-(e-r)*i-(o.DK?o.A9/2:0))}paint(){var e,t,n,i,r,a,o,l,s,C,c,A,u,p,h,Z,d,f=this;if(f.AM){super.paint(),null!==ZC._n_(f.A.A.D[f.BF+"-feed-offset-start"])&&(f.A6=f.A.A.D[f.BF+"-feed-offset-start"]),"hbubble"!==f.A.AF&&"hscatter"!==f.A.AF||(-1===f.A6&&-1===f.BW||1===f.X.length)&&(f.A6=f.BW=f.F/(f.X.length+1),f.GY());var _=f.Y3(),g=0,v=1,m=1,b={};for(t=0,n=f.A.BN.length;t0;P--)f.iStepMultiplier>P&&f.A1-f.V<=P*f.iStepMultiplier&&(G=P);M*=G,L*=G;var N,k,O,R=0,T=f.A9*M/(f.GM+1);if(null===ZC._n_(E)&&(E=r),a=f.G.usc()?f.G.mc():ZC.AK(f.A.K+"-scales-ml-0-c"),o=ZC.Q.E8(a,f.G.AC),l=f.G.usc()?f.G.mc():ZC.AK(f.A.K+"-scales-bl-0-c"),s=ZC.Q.E8(l,f.G.AC),"inherit"===f.o["line-color"]&&-1!==_&&(f.B7=_),f.A.AJ["3d"])(p=ZC.DG.D9(f,f.A,r-ZC.AN.E2,r-ZC.AN.E2,f.iY-ZC.AN.E1,f.iY-ZC.AN.E1+f.F,-1,ZC.AN.FU+1,"y")).K=f.K+"-line",f.A.EY.true3d&&(f.A.EY[ZC._[27]]>0?p.ML=[1===f.L?-100:100,1,1]:p.ML=[1===f.L?100:-100,1,1]),f.A.CJ.add(p);else{c=[[Y,f.iY+f.F],[Y,f.iY]];var H=f.K;f.K+="-line",ZC.CR.paint(o,f,c),f.K=H}if(f.X.length>0&&f.D4.AM){var S=null===ZC._n_(f.D4.o["offset-start"])?0:ZC._i_(f.D4.o["offset-start"]),z=null===ZC._n_(f.D4.o["offset-end"])?0:ZC._i_(f.D4.o["offset-end"]);if(f.D4.o.items&&f.D4.o.items.length>0&&!f.A.AJ["3d"])for(h=new I0(f),t=f.V;t0)for(f.GV=0,t=f.V;t<=f.A1+(f.DK?1:0);t++)if(f.K8=t,t===f.V||t===f.A1+(f.DK?1:0)||(t-f.V)%M==0){(f.D4.E4.length>0||t===f.V)&&((u=new D0(f)).Z=u.C6=l,u.copy(f.D4),u.J0=ce,u.DB()&&u.parse()),C=t-f.V,c=[],A=f.AU?f.iY+f.A6+C*f.A9:f.iY+f.F-f.A6-C*f.A9;var Q=f.iX+S,J=f.I-S-z;if(u.AM)if(f.A.AJ["3d"]){var V=new D0(f);V.copy(u),null!==ZC._n_(f.o["scale-z"])&&null!==ZC._n_(e=f.o["scale-z"].guide)&&(V.append(e),V.parse()),V.A0=V.AE=V.B7,p=ZC.DG.D9(V,f.A,r-ZC.AN.E2,r-ZC.AN.E2,A-ZC.AN.E1-V.B1/2,A-ZC.AN.E1+V.B1/2,0,ZC.AN.FU,"z"),f.A.CJ.add(p),u.A0=u.AE=u.B7,(p=ZC.DG.D9(u,f.A,Q-ZC.AN.E2,Q-ZC.AN.E2+J,A-ZC.AN.E1-V.B1/2,A-ZC.AN.E1+V.B1/2,ZC.AN.FU+2,ZC.AN.FU+2,"x")).K=f.K+"-guide-"+t,f.A.CJ.add(p)}else c.push([Q,A],[Q+J,A]),u.K=f.K+"-guide-"+t,ZC.CR.paint(s,u,c);f.GV++}}if(f.X.length>0&&f.G3.AM&&!f.A.AJ["3d"]){if(f.G3.o.items&&f.G3.o.items.length>0)for(h=new I0(f),t=f.V;t0)for(t=f.V;t0&&f.IY.AM&&(!f.A.AJ["3d"]||!f.A.EY.true3d)){switch(f.IY.o[ZC._[7]]){case"inner":break;case"outer":R+=I;break;default:R+=I/2}for(f.GV=0,t=f.V;t<=f.A1+(f.DK?1:0);t++)if(f.K8=t,t===f.V||t===f.A1+(f.DK?1:0)||(t-f.V)%M==0){switch(c=[],C=t-f.V,(f.IY.E4.length>0||t===f.V)&&((u=new D0(f)).copy(f.IY),"inherit"===f.IY.o["line-color"]&&-1!==_&&(u.B7=_),u.J0=ce,u.DB()&&u.parse()),A=f.AU?f.iY+f.A6+C*f.A9:f.iY+f.F-f.A6-C*f.A9,u.o[ZC._[7]]){case"ref-auto":c.push([E-I/2,A],[E+I/2,A]);break;case"ref-left":c.push([E-I,A],[E,A]);break;case"ref-right":c.push([E+I,A],[E,A]);break;case"inner":c.push([r,A],[r+(D?I:-I),A]);break;case"outer":c.push([r,A],[r-(D?I:-I),A]);break;default:c.push([r+I/2,A],[r-I/2,A])}if(u.AM){for(k=ZC._i_(u.o["offset-x"]||"0"),O=ZC._i_(u.o["offset-y"]||"0"),N=0;N0&&f.GM>0&&f.IG.AM&&!f.A.AJ["3d"])for(t=f.V;t1&&f.BR.AM)for(f.GV=0,Ae(f.V),f.GV=f.A1-f.V,Ae(f.A1),f.GV=1,t=f.V+1;t0&&ZC.AK(f.A.A.K+"-map")&&(ZC.AK(f.A.A.K+"-map").innerHTML+=oe.join(""))}}function ce(e){return(e=(e=(e=(e=e.replace(/%scale-last-position/g,f.A1-f.V)).replace(/(%c)|(%scale-position)/g,f.GV)).replace(/(%i)|(%scale-index)/g,f.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(f.X[f.K8])?f.X[f.K8]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(f.BY[f.K8])?f.BY[f.K8]:"")}function Ae(e,t,n){f.K8=e,C=e-f.V,(f.BR.E4.length>0||e===f.V||!$||f.BR.I6)&&($=new DR(f)),$.copy(f.BR),$.K=f.A.K+"-"+f.BF.replace(/\-/g,"_")+"-item_"+(n?"c"+n:e),$.GN=f.K+"-item "+f.A.K+"-scale-item zc-scale-item",$.D["p-height"]=f.A9,f.CH=ee,f.DV=te,f.W8(ce);var i="";if(i=n||f.FB(e),f.BR.I6&&f.GL(f.BR,$,null,{index:e,cnt:C,text:i},f.BR.N7),null===ZC._n_(f.M2)||-1!==ZC.AV(f.M2,i)){switch($.AR=i,$.Z=$.C6=f.G.usc()?f.G.mc():ZC.AK(f.A.K+"-scales-ml-0-c"),$.IU=f.G.usc()?ZC.AK(f.G.K+"-main"):ZC.AK(f.G.K+"-text"),$.D.nodeidx=e,$.parse(),"inherit"!==f.BR.o["font-color"]&&"inherit"!==f.BR.o.color||-1===_||($.C1=_),$.J0=ce,$.DB()&&$.parse(),$.o["auto-fit"]&&($.F=ZC._i_(f.A9)),$.o[ZC._[7]]){case"inner":$.iX=D?r+I:r-$.I-I;break;case"ref-left":$.iX=E-$.I-I;break;case"ref-right":$.iX=E+I;break;case"ref-auto":y&&y.R[e]?(y.R[e].setup(),y.R[e].iX0;P--)g.iStepMultiplier>P&&g.A1-g.V<=P*g.iStepMultiplier&&(G=P);L*=G,M*=G;var N=0,k=g.A9*L/(g.GM+1);if(r=g.G.usc()?g.G.mc():ZC.AK(g.A.K+"-scales-ml-0-c"),a=ZC.Q.E8(r,g.G.AC),o=g.G.usc()?g.G.mc():ZC.AK(g.A.K+"-scales-bl-0-c"),l=ZC.Q.E8(o,g.G.AC),g.TM||g.YZ||null!==ZC._n_(g.A.o[g.BF])){if("inherit"===g.o["line-color"]&&-1!==v&&(g.B7=v),g.A.AJ["3d"])(u=ZC.DG.D9(g,g.A,g.iX-ZC.AN.E2,g.iX-ZC.AN.E2+g.I,i-ZC.AN.E1,i-ZC.AN.E1,-1,ZC.AN.FU+1,"x")).K=g.K+"-line",g.A.EY.true3d&&(g.A.EY[ZC._[28]]>0?u.ML=[1===g.L?-100:100,1,1]:u.ML=[1===g.L?100:-100,1,1]),g.A.CJ.add(u);else{s=[[g.iX,Y],[g.iX+g.I,Y]];var O=g.K;g.K+="-line",ZC.CR.paint(a,g,s),g.K=O}var R=[],T=0,H=0,S=[];if(g.TM||g.YZ){if(g.X.length>0&&g.D4.AM){var z=null===ZC._n_(g.D4.o["offset-start"])?0:ZC._i_(g.D4.o["offset-start"]),Q=null===ZC._n_(g.D4.o["offset-end"])?0:ZC._i_(g.D4.o["offset-end"]);if(g.D4.o.items&&g.D4.o.items.length>0&&!g.A.AJ["3d"])for(g.GV=0,d=new I0(g),t=g.V;t0)for(g.GV=0,t=g.V;t<=g.A1+(g.DK?1:0);t++)if(g.K8=t,t===g.V||t===g.A1||t%L==0){(g.D4.E4.length>0||t===g.V||"log"===g.C8)&&((A=new D0(g)).Z=A.C6=o,"log"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?A.copy(g.D4):A.copy(g.G3):A.copy(g.D4),A.J0=le,A.DB()&&A.parse()),s=[],C=t-g.V;var J=g.iY+z,V=g.F-z-Q;if(c="log"===g.C8?g.AX(g.X[t]):g.AU?g.iX+g.I-g.A6-C*g.A9:g.iX+g.A6+C*g.A9,A.AM)if(g.A.AJ["3d"]){var U=new D0(g);U.copy(A),null!==ZC._n_(g.o["scale-z"])&&null!==ZC._n_(e=g.o["scale-z"].guide)&&(U.append(e),U.parse()),U.A0=U.AE=U.B7,u=ZC.DG.D9(U,g.A,c-ZC.AN.E2-U.B1/2,c-ZC.AN.E2+U.B1/2,i-ZC.AN.E1,i-ZC.AN.E1,0,ZC.AN.FU,"z"),g.A.CJ.add(u),A.A0=A.AE=A.B7,(u=ZC.DG.D9(A,g.A,c-ZC.AN.E2-A.B1/2,c-ZC.AN.E2+A.B1/2,J-ZC.AN.E1,J-ZC.AN.E1+V,ZC.AN.FU+2,ZC.AN.FU+2,"y")).K=g.K+"-guide-"+t,g.A.CJ.add(u)}else s.push([c,J],[c,J+V]),A.K=g.K+"-guide-"+t,ZC.CR.paint(l,A,s);g.GV++}}if(g.X.length>0&&g.G3.AM&&k>2&&!g.A.AJ["3d"]){if(g.G3.o.items&&g.G3.o.items.length>0)for(d=new I0(g),t=g.V;t0&&"log"!==g.C8)for(t=g.V;t0&&g.IY.AM&&(!g.A.AJ["3d"]||!g.A.EY.true3d)){switch(g.IY.o[ZC._[7]]){case"inner":break;case"outer":N+=I;break;default:N+=I/2}for(g.GV=0,f=ZC.AV(g.X,0),t=g.V;t<=g.A1+(g.DK?1:0);t++){g.K8=t;var q=-1;if((t===g.V||t===g.A1||t%L==0||ZC._b_(g.o["show-zero"])&&t===f)&&(s=[],C=t-g.V,(g.IY.E4.length>0||t===g.V||"log"===g.C8)&&(A=new D0(g),"log"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?A.copy(g.IY):(A.copy(g.IG),q=I,I=X):A.copy(g.IY),"inherit"===g.IY.o["line-color"]&&-1!==v&&(A.B7=v),A.J0=le,A.DB()&&A.parse()),c="log"===g.C8?g.AX(g.X[t]):g.AU?g.iX+g.I-g.A6-C*g.A9:g.iX+g.A6+C*g.A9,ZC.DS(c,g.A.P.iX,g.A.P.iX+g.A.P.I))){switch(A.o[ZC._[7]]){case"inner":s.push([c,i-(y?I:-I)],[c,i]);break;case"outer":s.push([c,i],[c,i+(y?I:-I)]);break;default:s.push([c,i+I/2],[c,i-I/2])}if(-1!==q&&(I=q,q=-1),A.AM){for(j=ZC._i_(A.o["offset-x"]||"0"),$=ZC._i_(A.o["offset-y"]||"0"),W=0;W0&&g.IG.AM&&g.GM>0&&k>5&&!g.A.AJ["3d"]&&"log"!==g.C8)for(t=g.V;t0||e===g.V||!_||g.BR.I6)&&(_=new DR(g)),_.copy(g.BR),_.GN=g.K+"-item "+g.A.K+"-scale-item zc-scale-item",_.K=g.A.K+"-"+g.BF.replace(/\-/g,"_")+"-item_"+e,g.CH=te,g.DV=ne,g.W8(le),t=("piano"===g.A.AF||g.QC)&&g.BY.length?g.FB(e+g.B4):g.FB(e),g.BR.I6&&g.GL(g.BR,_,null,{index:e,cnt:C,text:t},g.BR.N7),null===ZC._n_(g.M2)||-1!==ZC.AV(g.M2,t)){switch(_.AR=t,_.Z=_.C6=g.G.usc()?g.G.mc():ZC.AK(g.A.K+"-scales-ml-0-c"),_.IU=g.G.usc()?ZC.AK(g.G.K+"-main"):ZC.AK(g.G.K+"-text"),_.parse(),"inherit"!==g.BR.o["font-color"]&&"inherit"!==g.BR.o.color||-1===v||(_.C1=v),_.J0=le,_.E4=g.BR.E4,_.DB()&&_.parse(),_.o[ZC._[7]]){case"inner":_.iY=y?i-_.KS-I:i+I;break;default:_.iY=y?i+I:i-_.KS-I}if("log"===g.C8?_.iX=g.AX(g.X[e])-_.I/2:g.AU?_.iX=g.iX+g.I-g.A6-C*g.A9-_.I/2-(g.DK?g.A9/2:0):_.iX=g.iX+g.A6+C*g.A9-_.I/2+(g.DK?g.A9/2:0),ee=g.MA(_,ee,"h"),g.BR.o["auto-align"]&&g.BR.AA%180!=0){var n=ZC.DS(g.BR.AA,0,180)?y?1:-1:1===y?-1:1;_.iX+=n*_.I*ZC.EE(g.BR.AA)/2,_.iY+=n*(_.I*ZC.EN(g.BR.AA)/2-_.F*ZC.EN(g.BR.AA)/2)}if(ZC.DS(_.iX+_.I/2,g.A.P.iX,g.A.P.iX+g.A.P.I)){var r=g.UR(_,e,{items:0,lcoords:R,lstep:M,tdim:T,mdim:H,dim:"h",html:S});T=r.tdim,H=r.mdim,g.GV++}}};if(g.X.length>0&&g.BR.AM)if("log"===g.C8){var re=[];for(t=g.V;t<=g.A1;t++)ZC.AO._int_(ZC.H3(g.X[t],g.EI))&&(g.GV=t,ie(t),re.push(t));for(t=g.V;t<=g.A1;t++)-1===ZC.AV(re,t)&&(g.GV=t,ie(t))}else for(g.GV=0,ie(g.V),g.GV=g.A1-g.V,ie(g.A1),-1!==(f=ZC.AV(g.X,0))&&ZC._b_(g.o["show-zero"])&&(g.GV=f,ie(f)),g.GV=1,t=g.V+1;t0&&ZC.AK(g.A.A.K+"-map")&&(ZC.AK(g.A.A.K+"-map").innerHTML+=S.join(""))}}}function le(e){return(e=(e=(e=(e=e.replace(/%scale-last-position/g,g.A1-g.V)).replace(/(%c)|(%scale-position)/g,g.GV)).replace(/(%i)|(%scale-index)/g,g.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(g.X[g.K8])?g.X[g.K8]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(g.BY[g.K8])?g.BY[g.K8]:"")}}}class YK extends A41{constructor(e){super(e);var t=this;t.NO="",t.KW=1,t.H2=1,t.GK=0,t.GE=0,t.JT=.6}parse(){var e=this;super.parse(),e.iX+=e.DT,e.iY+=e.E6,e.I-=e.DT+e.E5,e.F-=e.E6+e.DN,e.YQ("layout","NO"),null!==ZC._n_(e.o["size-factor"])&&(e.JT=ZC._f_(ZC._p_(e.o["size-factor"])))}HC(e){var t=this;super.HC(e),0===t.X.length&&(t.X=[""]);var n=ZC.AO.A2V(t.NO,t.X.length,!1);t.KW=n[0],t.H2=n[1],t.GK=t.I/t.H2,t.GE=t.F/t.KW}WG(){var e=this;super.WG(),e.GK=e.I/e.H2,e.GE=e.F/e.KW}clear(){}build(){super.build()}paint(){var e,t,n,i,r,a=this;if(a.AM){if(super.paint(),e=ZC.Q.E8(a.G.usc()?a.G.K+"-main-c":a.A.K+"-scales-ml-0-c",a.G.AC),t=ZC.Q.E8(a.G.usc()?a.G.K+"-main-c":a.A.K+"-scales-bl-0-c",a.G.AC),(n=[]).push([a.iX,a.iY],[a.iX+a.I,a.iY],[a.iX+a.I,a.iY+a.F],[a.iX,a.iY+a.F],[a.iX,a.iY]),ZC.CR.paint(e,a,n),a.D4.AM){if(a.D4.o.items&&a.D4.o.items.length>0)for(i=0,r=a.X.length;i0){for(n=[],i=0;i<=a.H2;i++)n.push([a.iX+i*a.GK,a.iY],[a.iX+i*a.GK,a.iY+a.F],null);for(i=0;i<=a.KW;i++)n.push([a.iX,a.iY+i*a.GE],[a.iX+a.I,a.iY+i*a.GE],null);ZC.CR.paint(t,a.D4,n)}}var c,A=[];if(a.BR.AM){for(i=0,r=a.X.length;i0&&ZC.AK(a.A.A.K+"-map")&&(ZC.AK(a.A.A.K+"-map").innerHTML+=A.join(""))}}function u(e){(a.BR.E4.length>0||0===e)&&(c=new DR(a)),c.copy(a.BR);var t=e%a.H2,n=Math.floor(e/a.H2);c.GN=a.K+"-item "+a.A.K+"-scale-item zc-scale-item",c.K=a.A.K+"-"+a.BF.replace(/\-/g,"_")+"-item_"+e;var i=a.FB(e);if((null===ZC._n_(a.M2)||-1!==ZC.AV(a.M2,i))&&(c.AR=i,c.Z=a.G.usc()?a.G.mc():ZC.AK(a.A.K+"-scales-ml-0-c"),c.parse(),c.J0=function(t){return(t=(t=t.replace(/%i/g,e)).replace(/%v/g,null!==ZC._n_(a.X[e])?a.X[e]:"")).replace(/%l/g,null!==ZC._n_(a.BY[e])?a.BY[e]:"")},c.E4=a.BR.E4,c.DB()&&c.parse(),c.AM)){var r="bottom";null!==ZC._n_(a.BR.o[ZC._[7]])&&(r=a.BR.o[ZC._[7]]);var o=a.iX+t*a.GK,l=a.iY+n*a.GE;switch(r){case"top-left":c.iX=o,c.iY=l;break;case"top-right":c.iX=o+a.GK-c.I,c.iY=l;break;case"bottom-left":c.iX=o,c.iY=l+a.GE-c.F;break;case"bottom-right":c.iX=o+a.GK-c.I,c.iY=l+a.GE-c.F;break;case"top":c.iX=o+a.GK/2-c.I/2,c.iY=l;break;case"right":c.iX=o+a.GK-c.I,c.iY=l+a.GE/2-c.F/2;break;case"left":c.iX=o,c.iY=l+a.GE/2-c.F/2;break;default:c.iX=o+a.GK/2-c.I/2,c.iY=l+a.GE-c.F}c.paint(),c.EB(),null===ZC._n_(a.o.tooltip)&&c.KE||A.push(ZC.AP.OE(a.A.K,c))}}}}class A95 extends A41{constructor(e){super(e),this.DF=0,this.EG=360}parse(){var e,t=this;super.parse(),null!==ZC._n_(e=t.o["ref-angle"])&&(t.DF=ZC._i_(e)%360),null!==ZC._n_(e=t.o.aperture)&&(t.EG=ZC._i_(e)%360,0===t.EG&&(t.EG=360))}}class ABO extends A01{constructor(e){super(e)}parse(){super.parse()}GY(){}HC(e){super.HC(e),this.GY()}clear(){super.clear()}build(){super.build()}paint(){super.paint()}}class A8R extends ABO{constructor(e){super(e);var t=this;t.DF=-90,t.EG=180,t.QJ=null,t.J2=null,t.CV="circle"}parse(){var e,t=this;super.parse(),null!==ZC._n_(e=t.o["ref-angle"])&&(t.DF=ZC._i_(e)%360),null!==ZC._n_(e=t.o.aperture)&&(t.EG=ZC._i_(e)),null!==ZC._n_(e=t.o.center)&&(t.QJ=new DU(t),t.QJ.append(e),t.QJ.parse()),null!==ZC._n_(e=t.o.ring)&&(t.J2=new DU(t),t.G.B8.load(t.J2.o,[t.A.AF+"."+t.BF+".ring"]),t.J2.append(e),t.J2.parse())}HC(e){super.HC(e)}clear(){}build(){super.build()}AX(e){var t=this,n=t.A.BK("scale"),i=n.iX+n.I/2,r=n.iY+n.F/2,a=t.A.BK("scale-"+t.L);a||(a=t.A.BK("scale"));var o=ZC.CX(a.GK/2,a.GE/2)*a.JT,l=t.BM-t.B4,s=t.EG/l;return ZC.AO.BL(i,r,o,t.DF-t.EG/2+s*(e-t.B4))}H4(e){return this.AX(this.X[e])}paintMarker(e){var t,n=this;if(e.F9){var i,r=n.A.BK("scale-"+n.L);if(r||(r=n.A.BK("scale")),e.AM){var a=n.A.K+"-scales-"+("top"===e.B9?"f":"b")+"l-0-c";e.Z=e.C6=ZC.AK(n.G.usc()?r.G.K+"-main-c":a),i=ZC.Q.E8(e.Z,n.G.AC);var o=ZC.CX(r.GK/2,r.GE/2)*r.JT,l=ZC.IQ(e.o["offset-start"]||"0");l>0&&l<1&&(l*=o);var s=ZC.IQ(e.o["offset-end"]||"0");s>0&&s<1&&(s*=o),e.M&&(e.M.Z=n.G.usc()?n.G.mc():ZC.AK(n.A.K+"-scales-ml-0-c"),e.M.K=e.A.A.K+"-"+e.A.BF.replace(/\-/g,"_")+"-marker_"+e.L,e.M.GN=e.A.K+"-marker-label "+e.A.A.K+"-scale-marker-label zc-scale-marker-label");for(var C=0;C0){var Z=n.DF-n.EG/2+n.EG*(e.F9[0]-n.B4)/(n.BM-n.B4);c=Z;var d=[];d.push(ZC.AO.BL(p,h,l,Z)),d.push(ZC.AO.BL(p,h,o-s,Z)),2===d.length&&(ZC.CR.setup(i,e),ZC.CR.paint(i,e,d))}break;case"area":if(e.F9.length>1){var f=n.DF-n.EG/2+n.EG*(e.F9[0]-n.B4)/(n.BM-n.B4),_=n.DF-n.EG/2+n.EG*(e.F9[1]-n.B4)/(n.BM-n.B4);c=(f+_)/2;var g=new DU(e);g.Z=e.Z,g.append(e.o),g.append({size:o-s,slice:l,type:"pie","angle-start":f,"angle-end":_}),g.K=r.K+"-marker-"+e.L,g.iX=p,g.iY=h,g.parse(),g.paint()}}if(e.M){var v;null!==ZC._n_(t=e.M.o["offset-r"])?v=ZC._f_(ZC._p_(t)):v<1?v*=o-s-l:v=0;var m=ZC.AO.BL(p,h,(o-s-l)/2+v,c);e.M.iX=m[0]-e.M.I/2,e.M.iY=m[1]-e.M.F/2,e.M.paint()}}}}}paint(){var e,t,n,i,r,a,o,l,s,C=this;if(C.AM&&0!==C.X.length){C.AU&&C.X.reverse(),e=ZC.Q.E8(C.G.usc()?C.G.K+"-main-c":C.A.K+"-scales-bl-0-c",C.G.AC);var c=ZC._i_(C.IY.o[ZC._[21]]||8),A=ZC._i_(C.IG.o[ZC._[21]]||4),u=0,p=ZC.BQ(1,Math.ceil((C.A1-C.V)/(C.M9-1))),h=ZC.BQ(1,Math.ceil((C.A1-C.V)/(C.EF-1))),Z=C.A.BK("scale-"+C.L);Z||(Z=C.A.BK("scale"));for(var d,f,_,g=ZC.CX(Z.GK/2,Z.GE/2)*Z.JT,v=C.EG/(C.X.length-1),m=0;m0)for(t=0;t0)for(t=0,n=C.X.length;t0&&C.GM>0)for(t=0,n=C.X.length;t0&&(r.paint(),360===C.EG&&(r.K=C.K+"-ring-inner",r.o[ZC._[21]]=g-i,r.parse(),r.paint())),C.J2.o.items&&C.J2.o.items.length>0||C.J2.o.rules))for(t=0;t0&&r.paint();if(C.IY.AM){switch(C.IY.o[ZC._[7]]){case"outer":u+=c;break;default:u+=c/2}for(a=[],t=0,n=C.X.length;t0){for(a=[],t=0,n=C.X.length;t0&&ZC.AK(C.A.A.K+"-map")&&(ZC.AK(C.A.A.K+"-map").innerHTML+=K.join(""))}}}function w(e){return(e=(e=(e=e.replace(/%i/g,t)).replace(/%k/g,t)).replace(/%v/g,null!==ZC._n_(C.X[t])?C.X[t]:"")).replace(/%l/g,null!==ZC._n_(C.BY[t])?C.BY[t]:"")}}paint_(){var e=this,t=e.A.BK("scale-"+e.L);t||(t=e.A.BK("scale"));for(var n=0;n0){var v=0;for(n=0,i=s.X.length-(360===s.EG||s.DK?0:1);n0)for(n=0,i=s.X.length+(s.DK?1:0);n0&&ZC.AK(s.A.A.K+"-map")&&(ZC.AK(s.A.A.K+"-map").innerHTML+=F.join(""))}}function x(e){return(e=(e=e.replace(/(%i)|(%scale-index)/g,n)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(s.X[n])?s.X[n]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(s.BY[n])?s.BY[n]:"")}function I(e){(s.BR.E4.length>0||0===e)&&(A=new DR(s)),A.copy(s.BR),A.GN=s.K+"-item "+s.A.K+"-scale-item zc-scale-item",A.K=s.A.K+"-"+s.BF.replace(/\-/g,"_")+"-item_"+e;var t=s.FB(e);if(null===ZC._n_(s.M2)||-1!==ZC.AV(s.M2,t)){A.AR=t,A.Z=A.C6=s.G.usc()?s.G.mc():ZC.AK(s.A.K+"-scales-ml-0-c"),A.parse(),A.J0=function(t){return(t=(t=t.replace(/(%i)|(%scale-index)/g,e)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(s.X[e])?s.X[e]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(s.BY[e])?s.BY[e]:"")},A.E4=s.BR.E4,A.DB()&&A.parse();var n=ZC.IQ(A.DQ,!0);if(n>-1&&n<1&&(n*=Z),l=s.DF+e*g+(s.DK?g/2:0),s.BR.o["auto-align"]){var i=1.25;1-ZC._a_(ZC.EE(l))>.7&&(i=2.5*(1-ZC._a_(ZC.EE(l))));var r=(1-ZC._a_(ZC.EE(l)))*A.DH*i;K=ZC.AO.BL(f,_,Z+n+p+r,l),ZC.EE(l)>0?(A.iX=K[0],A.iY=K[1]-A.F/2):(A.iX=K[0]-A.I,A.iY=K[1]-A.F/2)}else s.BR.o["auto-rotate"]?(K=ZC.AO.BL(f,_,Z+n+p+A.F/2,l),A.iX=K[0]-A.I/2,A.iY=K[1]-A.F/2,A.AA=l+90):(K=ZC.AO.BL(f,_,Z+n+p+ZC._a_(10*ZC.EN(l))+ZC._a_(A.I/2*ZC.EE(l)),l),A.iX=K[0]-A.I/2,A.iY=K[1]-A.F/2);A.AM&&(A.paint(),A.EB(),null===ZC._n_(s.o.tooltip)&&A.KE||(null!==ZC._n_(s.o.tooltip)&&(s.o.tooltip.text=s.o.tooltip.text||"%scale-value"),F.push(ZC.AP.OE(s.A.K,A))))}}}}class A8V extends A01{constructor(e){super(e)}I2(e){super.parse()}GY(){var e=this,t=e.A.BK("scale"),n=ZC.CX(t.I/2,t.F/2)*t.JT;e.A9=(n-e.A6-e.BW)/(e.A1-e.V)}HC(e){super.HC(e),this.GY()}T8(){var e=this,t=e.A.BK("scale"),n=ZC.CX(t.I/2,t.F/2)*t.JT;e.EF=ZC.BQ(2,ZC._i_((n-e.A6-e.BW)/20))}ST(e){var t=this,n=t.A.BK("scale"),i=ZC.CX(n.I/2,n.F/2)*n.JT,r=t.BM-t.B4,a=(i-t.A6-t.BW)/r;return(e-t.B4)*a}AX(e){var t=this,n=t.ST(e),i=t.A.BK("scale-k"),r=t.A.BK("scale"),a=r.iX+r.I/2+r.BJ,o=r.iY+r.F/2+r.BH;return ZC.AO.BL(a,o,n,i.DF)}clear(){}build(){super.build()}paint(){var e,t,n,i,r,a,o,l=this;if(l.AM&&0!==l.X.length){super.paint(),e=ZC.Q.E8(l.G.usc()?l.G.K+"-main-c":l.A.K+"-scales-ml-0-c",l.G.AC),t=ZC.Q.E8(l.G.usc()?l.G.K+"-main-c":l.A.K+"-scales-bl-0-c",l.G.AC);var s,C,c=l.A.BK("scale-k"),A=ZC._i_(l.IY.o[ZC._[21]]||8),u=Math.ceil((l.A1-l.V)/(l.EF-1)),p=Math.ceil((l.A1-l.V)/(l.M9-1)),h=l.A.BK("scale"),Z=ZC.CX(h.I/2,h.F/2)*h.JT,d=h.iX+h.I/2+h.BJ,f=h.iY+h.F/2+h.BH,_=c.EG/(c.X.length-(360===c.EG||c.DK?0:1));if(l.D4.AM){if(l.D4.o.items&&l.D4.o.items.length>0)for(n=0,i=l.X.length;n=0;r--)o.push(ZC.AO.BL(d,f,l.A6+(n+1)*l.A9,c.DF+r*_));m.E=o,m.parse(),m.B1=0,m.AT=0,m.EX=0,m.G9=0;var b=l.A.P;m.CZ=[b.iX,b.iY,b.iX+b.I,b.iY+b.F],m.paint()}}if(l.D4.B1>0)for(n=0,i=l.X.length;n0&&((o=[]).push(ZC.AO.BL(d,f,l.A6,c.DF),ZC.AO.BL(d,f,Z-l.BW,c.DF)),ZC.CR.paint(e,l.PA,o)),l.IY.AM){switch(l.IY.o[ZC._[7]]){case"inner":break;case"outer":break;default:}for(o=[],n=0,i=l.X.length;n0&&l.BR.AM)for(l.GV=0,w(l.V),l.GV=l.A1-l.V,w(l.A1),l.GV=1,n=l.V+1;n0&&ZC.AK(l.A.A.K+"-map")&&(ZC.AK(l.A.A.K+"-map").innerHTML+=C.join(""))}function I(e){return(e=(e=e.replace(/(%i)|(%scale-index)/g,n)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(l.X[n])?l.X[n]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(l.BY[n])?l.BY[n]:"")}function X(e){return(e=(e=(e=e.replace(/(%c)|(%scale-position)/g,l.GV)).replace(/(%i)|(%scale-index)/g,l.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(l.X[l.K8])?l.X[l.K8]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(l.BY[l.K8])?l.BY[l.K8]:"")}function w(e){l.K8=e,(s=new DR(l)).copy(l.BR),s.K=l.A.K+"-"+l.BF.replace(/\-/g,"_")+"-item_"+e,s.GN=l.K+"-item "+l.A.K+"-scale-item zc-scale-item";var t=l.FB(e);if(s.AR=t,null===ZC._n_(l.M2)||-1!==ZC.AV(l.M2,t)){s.Z=s.C6=l.G.usc()?l.G.mc():ZC.AK(l.A.K+"-scales-fl-0-c"),s.parse(),s.J0=X,s.DB()&&s.parse();var n=ZC.AO.BL(d,f,l.A6+e*l.A9,c.DF);switch(s.F=s.KS,s.I=s.NW,c.DF%180==0?(s.iX=n[0]-s.I/2,s.iY=n[1]):(s.iX=n[0],s.iY=n[1]-s.F/2),l.IY.o[ZC._[7]]){case"inner":break;case"outer":c.DF%180==0?s.iY+=A:s.iX+=A;break;default:c.DF%180==0?s.iY+=A/2:s.iX+=A/2}s.AM&&(s.paint(),s.EB(),null===ZC._n_(l.o.tooltip)&&s.KE||(null!==ZC._n_(l.o.tooltip)&&(l.o.tooltip.text=l.o.tooltip.text||"%scale-value"),C.push(ZC.AP.OE(l.A.K,s))))}}}}class A9H extends DU{constructor(e){super(e);var t=this;t.C5=.95,t.L=0,t.AF=null,t.M=null,t.F9=null,t.A6M=!1,t.B9="bottom",t.A6=0,t.BW=0,t.MS="normal",t.OB="normal",t.PZ=[5,5],t.A0U=[0,0],t.ZJ=""}parse(){super.parse();var e,t=this;t.assign_a([["type","AF"],["value-range","A6M","b"],["offset-start","A6","i"],["offset-end","BW","i"],[ZC._[7],"B9"],["pair-scale","ZJ"],["label-placement","MS"],["label-alignment","OB"],["range","F9"]]),null===ZC._n_(t.o.alpha)&&(t.o.alpha="area"===t.AF?.25:.95),null!==ZC._n_(e=t.o["label-tolerance"])&&("object"==typeof e&&e.length?(t.PZ[0]=ZC._i_(e[0]||"5"),t.PZ[1]=ZC._i_(e[1]||"5")):t.PZ[0]=t.PZ[1]=ZC._i_(e||"5")),t.assign_a([["alpha","C5","f",0,1]]),null===ZC._n_(e=t.o.label)&&null===ZC._n_(t.o.text)||(t.M=new DR(t),t.A.A.A.B8.load(t.M.o,["("+t.A.AF+").SCALE.marker.label"]),null!==ZC._n_(t.o.text)&&t.M.append({text:t.o.text}),t.M.append(e),t.M.parse(),t.A0U=[t.M.BJ,t.M.BH])}paint(){var e,t,n,i,r,a,o,l=this;if(l.F9)if(-1===l.A.BF.indexOf("scale-r")){if(l.AM){var s,C,c,A,u=l.A,p=l.A.A.P.AT,h=u.A.K+"-scales-"+("top"===l.B9?"f":"b")+"l-0-c";l.Z=l.C6=ZC.AK(u.G.usc()?u.G.K+"-main-c":h),e=ZC.Q.E8(l.Z,u.G.AC),r=[];var Z,d,f=0,_=0;l.BJ>-1&&l.BJ<1&&(l.BJ=Math.ceil(l.BJ*u.A9)),l.BH>-1&&l.BH<1&&(l.BH=Math.ceil(l.BH*u.A9)),l.M&&(l.M.Z=u.G.usc()?u.G.mc():ZC.AK(u.A.K+"-scales-ml-0-c"),l.M.K=l.A.A.K+"-"+l.A.BF.replace(/\-/g,"_")+"-marker_"+l.L,l.M.GN=l.A.K+"-marker-label "+l.A.A.K+"-scale-marker-label zc-scale-marker-label");var g=function(e,t){var n;return-1!==(t+"").indexOf("%")?(n=ZC._f_(t.replace("%","")),n="k"===e.AF?ZC._i_(n*(e.DY-e.DD)/100):n*(e.H1-e.FW)/100):n=t,l.A6M||"v"===e.AF?e.AX(n):e.H4(n)};if("poly"===l.AF){var v,m,b,B;for(d=l.A.A,"k"===u.AF?(v=u,m=""===l.ZJ?d.BT("v")[0]:d.BK(l.ZJ)||d.BT("v")[0]):"v"===u.AF&&(m=u,v=""===l.ZJ?d.BT("k")[0]:d.BK(l.ZJ)||d.BT("k")[0]),a=0,o=l.F9.length;a=3){if(r[0].join("/")!==r[r.length-1].join("/")&&r.push([r[0][0],r[0][1]]),u.A.AJ["3d"])for(u.A.NH(),t=0,n=r.length;t=4)){if(u.A.AJ["3d"])for(u.A.NH(),t=0,n=r.length;tu.iY+u.F/2?"normal":"opposite"),l.M.BJ=l.M.BH=0,(-1!==u.BF.indexOf(ZC._[50])&&!u.CP||-1!==u.BF.indexOf(ZC._[51])&&u.CP)&&null===ZC._n_(l.M.o.angle)&&(l.M.AA=270),-1!==u.BF.indexOf(ZC._[50])&&!u.CP||-1!==u.BF.indexOf(ZC._[51])&&u.CP?(l.M.AA%180==90&&(l.M.BJ-=(u.AU?-1:1)*(l.M.I/2-l.M.F/2),l.M.BH-=l.M.I/2-l.M.F/2,"opposite"===l.MS&&(l.M.BH=-l.M.I/2+l.M.F/2),"opposite"===y&&(l.M.BJ-=l.M.F)),l.M.AA%180==0&&("opposite"===l.MS&&(l.M.BH=-l.M.I+l.M.F),"opposite"===y&&(l.M.BJ-=l.M.I))):(l.M.AA%180==90&&(l.M.BJ-=l.M.I/2-l.M.F/2,l.M.BH-=(u.AU?-1:1)*(l.M.I/2-l.M.F/2),"opposite"===l.MS&&(l.M.BJ=l.M.I/2-l.M.F/2),"opposite"===y&&(l.M.BH+=l.M.I)),l.M.AA%180==0&&"opposite"===y&&(l.M.BH+=l.M.F)),l.M.BJ+=l.A0U[0]+l.BJ,l.M.BH+=l.A0U[1]+l.BH),u.A.AJ["3d"]&&(i=new CB(u.A,l.M.iX-ZC.AN.E2,l.M.iY-ZC.AN.E1,ZC.AN.FU),l.M.iX=i.EA[0],l.M.iY=i.EA[1]),ZC.DS(l.M.iX+l.M.BJ+(l.M.AA%180==0?l.M.I/2:l.M.F/2),l.A.A.P.iX-l.PZ[0],l.A.A.P.iX+l.A.A.P.I+l.PZ[0])&&ZC.DS(l.M.iY+l.M.BH+(l.M.AA%180==0?l.M.F/2:l.M.I/2),l.A.A.P.iY-l.PZ[1],l.A.A.P.iY+l.A.A.P.F+l.PZ[1])&&(l.M.paint(),l.M.EB(),!l.M.KE&&"normal"===zingchart.OBJECTMODE&&(u.D["marker_text_"+l.L]=l.M.AR,d=l.A.A,ZC.AK(d.A.K+"-map"))))){var K=ZC.AP.OE(d.K,l.M);ZC.AK(d.A.K+"-map").innerHTML=ZC.AK(d.A.K+"-map").innerHTML+K}}}else l.A.paintMarker(l)}}class A2X extends ZCClass{constructor(e){super();var t=this;t.M3=null,t.A4Z=0,t.P7=[],t.BF=e,t.A3Y=!0}add(e){var t=this;t.P7.push(e),e.K6=t,e.M3=t.M3,e.BZ.U0=!0,e.XJ=t.P7.length-1,t.A3Y=!1}}class E9 extends ZCClass{constructor(e,t,n,i,r,a){super();var o=this;for(var l in o.M3=null,o.BZ=e,o.AW=null,o.A50=0,o.IR=null,o.O=t||{},o.A52=n||500,o.XT=i||-1,o.A0W=null,o.TD=null,o.OK=null,null!==ZC._n_(a)&&(o.TD=a),o.A5Q=E9.linear,null!==ZC._n_(r)&&""!==r&&(o.A5Q=r),o.ADI={},o.C4={},o.ACP=[],o.RQ=ZC._i_(o.A52/PN.UJ),o.RQ>100&&(o.RQ=100),(ZC.vml||ZC.mobile)&&(o.RQ=ZC._i_(o.RQ/4)),o.RQ<5&&(o.RQ=5),o.O)null!==ZC._n_(E9.GO[l])?o.C4[l]=o.BZ[E9.GO[l]]:o.C4[l]=o.BZ[l];o.W=0,o.K6=null,o.XJ=-1}status(){return this.W+1>this.RQ?0:1}step(){var e,t,n,i,r,a,o=this,l=1,s=o.M3.C.G.AC;if(o.W++,o.W>o.RQ&&(o.W===o.RQ+1&&-1!==o.XJ&&(o.K6.A4Z++,o.K6.A4Z===o.K6.P7.length&&(o.K6.A3Y=!0)),l=0),l){var C={};if(o.W===o.RQ)C=o.O,o.A50=1;else for(var c in o.A50=o.A5Q(o.W,0,1,o.RQ),o.O)switch(c){case"points":var A=[];for(r=0,a=o.O[c].length;r0?window.setTimeout((function(){n.start()}),t+1):n.start()))}add(e){var t=this;e.M3=t,e.XT>0?(t.P7.push(e),window.setTimeout((function(){e.BZ.U0=!0,t.S2||t.start()}),e.XT+1)):(e.BZ.U0=!0,t.P7.push(e),t.S2||t.start())}start(){var e=this;e.S2=!0,ZC.AP.C0("animation_start",e.C.A,{id:e.C.A.K,graphid:e.C.K});var t=!0;!function n(){t||e.step(),t=!1,e.S2&&(e.C3=window.requestAnimFrame(n))}()}step(){var e,t=this,n=0;if(t.S2){for(var i=0,r=t.P7.length;iZC.AP.N6(t)?1:-1})),t.innerHTML+=n.C.AZ.HX.join(""))}),33),n.C.A2G(),n.S2=!1;for(var i=0,r=n.P7.length;i0&&A<1&&(A*=f),s=[].concat(Z);var _=0,g="";for(C=1,n=Z.length-1;n>=0;n--)Z[n][ZC._[5]]&&null!==ZC._n_(Z[n][ZC._[5]][0])&&Z[n][ZC._[5]][0]",Z[n][ZC._[8]]=h,d.push(Z[n]),Z.splice(n,1),C++);_>0&&(C>2?(c={values:[_],detach:!1,"data-group":[1],"tooltip-text":g=g.substring(0,g.length-4)},ZC._cp_(u,c),Z.push(c),zingchart.bind(e.id,"plot_click",(function(t){if(t.xdata.group){var n=zingchart.getLoader(t.id);if(!n)return;var i=zingchart.getGraph(n,t.graphid);for(var r in i.getAttributes())"pie-sel-"===r.substring(0,8)&&i.setAttribute(r,null);zingchart.exec(e.id,"setseriesdata",{data:d}),window.setTimeout((function(){var t=zingchart.exec(e.id,"getobjectinfo",{object:"node",plotindex:0,nodeindex:0}),n={id:"navpie_btnback",x:t.x,y:t.y,text:"< Back",anchor:"c",cursor:"hand"};ZC._cp_(p,n),zingchart.exec(e.id,"addobject",{type:"label",data:n})}),1)}})),zingchart.bind(e.id,"label_click",(function(t){if("navpie_btnback"===t.label.id){var n=zingchart.getLoader(t.id);if(!n)return;var i=zingchart.getGraph(n,t.graphid);for(var r in i.getAttributes())"pie-sel-"===r.substring(0,8)&&i.setAttribute(r,null);zingchart.exec(e.id,"removeobject",{type:"label",id:"navpie_btnback"}),zingchart.exec(e.id,"setseriesdata",{data:Z})}}))):o[ZC._[11]]=[].concat(s))}else{var v=0,m=[];for(n=0;n0&&A<1&&(A*=v),s=[].concat(Z);var b=[],B=[];for(C=1,n=Z.length-1;n>=0;n--)if(m[n]";d.push(Z[n]),Z.splice(n,1),C++}if(b.length)if(C>2){for(i=0;ic){var p,h=C(arguments[c++]),Z=A?a(h).concat(A(h)):a(h),d=Z.length,f=0;while(d>f)p=Z[f++],i&&!u.call(h,p)||(n[p]=h[p])}return n}:c},6547:function(e,t,n){var i=n("a691"),r=n("1d80"),a=function(e){return function(t,n){var a,o,l=String(r(t)),s=i(n),C=l.length;return s<0||s>=C?e?"":void 0:(a=l.charCodeAt(s),a<55296||a>56319||s+1===C||(o=l.charCodeAt(s+1))<56320||o>57343?e?l.charAt(s):a:e?l.slice(s,s+2):o-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"65f0":function(e,t,n){var i=n("861d"),r=n("e8b5"),a=n("b622"),o=a("species");e.exports=function(e,t){var n;return r(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)?i(n)&&(n=n[o],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var i,r,a,o=n("7f9a"),l=n("da84"),s=n("861d"),C=n("9112"),c=n("5135"),A=n("c6cd"),u=n("f772"),p=n("d012"),h=l.WeakMap,Z=function(e){return a(e)?r(e):i(e,{})},d=function(e){return function(t){var n;if(!s(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(o){var f=A.state||(A.state=new h),_=f.get,g=f.has,v=f.set;i=function(e,t){return t.facade=e,v.call(f,e,t),t},r=function(e){return _.call(f,e)||{}},a=function(e){return g.call(f,e)}}else{var m=u("state");p[m]=!0,i=function(e,t){return t.facade=e,C(e,m,t),t},r=function(e){return c(e,m)?e[m]:{}},a=function(e){return c(e,m)}}e.exports={set:i,get:r,has:a,enforce:Z,getterFor:d}},"6eeb":function(e,t,n){var i=n("da84"),r=n("9112"),a=n("5135"),o=n("ce4e"),l=n("8925"),s=n("69f3"),C=s.get,c=s.enforce,A=String(String).split("String");(e.exports=function(e,t,n,l){var s,C=!!l&&!!l.unsafe,u=!!l&&!!l.enumerable,p=!!l&&!!l.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||r(n,"name",t),s=c(n),s.source||(s.source=A.join("string"==typeof t?t:""))),e!==i?(C?!p&&e[t]&&(u=!0):delete e[t],u?e[t]=n:r(e,t,n)):u?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&C(this).source||l(this)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"78ae":function(e,t,n){"use strict";n("5d62");window.ZC},"7b0b":function(e,t,n){var i=n("1d80");e.exports=function(e){return Object(i(e))}},"7c73":function(e,t,n){var i,r=n("825a"),a=n("37e8"),o=n("7839"),l=n("d012"),s=n("1be4"),C=n("cc12"),c=n("f772"),A=">",u="<",p="prototype",h="script",Z=c("IE_PROTO"),d=function(){},f=function(e){return u+h+A+e+u+"/"+h+A},_=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){var e,t=C("iframe"),n="java"+h+":";return t.style.display="none",s.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(f("document.F=Object")),e.close(),e.F},v=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}v=i?_(i):g();var e=o.length;while(e--)delete v[p][o[e]];return v()};l[Z]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=r(e),n=new d,d[p]=null,n[Z]=e):n=v(),void 0===t?n:a(n,t)}},"7dd0":function(e,t,n){"use strict";var i=n("23e7"),r=n("9ed3"),a=n("e163"),o=n("d2bb"),l=n("d44e"),s=n("9112"),C=n("6eeb"),c=n("b622"),A=n("c430"),u=n("3f8c"),p=n("ae93"),h=p.IteratorPrototype,Z=p.BUGGY_SAFARI_ITERATORS,d=c("iterator"),f="keys",_="values",g="entries",v=function(){return this};e.exports=function(e,t,n,c,p,m,b){r(n,t,c);var B,D,E,y=function(e){if(e===p&&X)return X;if(!Z&&e in x)return x[e];switch(e){case f:return function(){return new n(this,e)};case _:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this)}},K=t+" Iterator",F=!1,x=e.prototype,I=x[d]||x["@@iterator"]||p&&x[p],X=!Z&&I||y(p),w="Array"==t&&x.entries||I;if(w&&(B=a(w.call(new e)),h!==Object.prototype&&B.next&&(A||a(B)===h||(o?o(B,h):"function"!=typeof B[d]&&s(B,d,v)),l(B,K,!0,!0),A&&(u[K]=v))),p==_&&I&&I.name!==_&&(F=!0,X=function(){return I.call(this)}),A&&!b||x[d]===X||s(x,d,X),u[t]=X,p)if(D={values:y(_),keys:m?X:y(f),entries:y(g)},b)for(E in D)(Z||F||!(E in x))&&C(x,E,D[E]);else i({target:t,proto:!0,forced:Z||F},D);return D}},"7f9a":function(e,t,n){var i=n("da84"),r=n("8925"),a=i.WeakMap;e.exports="function"===typeof a&&/native code/.test(r(a))},"825a":function(e,t,n){var i=n("861d");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var i=n("d039");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var i=n("c04e"),r=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var o=i(t);o in e?r.f(e,o,a(0,n)):e[o]=n}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8925:function(e,t,n){var i=n("c6cd"),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return r.call(e)}),e.exports=i.inspectSource},"8c4f":function(e,t,n){"use strict"; +/*! + * vue-router v3.4.9 + * (c) 2020 Evan You + * @license MIT + */function i(e,t){0}function r(e,t){for(var n in t)e[n]=t[n];return e}var a=/[!'()*]/g,o=function(e){return"%"+e.charCodeAt(0).toString(16)},l=/%2C/g,s=function(e){return encodeURIComponent(e).replace(a,o).replace(l,",")};function C(e){try{return decodeURIComponent(e)}catch(t){0}return e}function c(e,t,n){void 0===t&&(t={});var i,r=n||u;try{i=r(e||"")}catch(l){i={}}for(var a in t){var o=t[a];i[a]=Array.isArray(o)?o.map(A):A(o)}return i}var A=function(e){return null==e||"object"===typeof e?e:String(e)};function u(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=C(n.shift()),r=n.length>0?C(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function p(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return s(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(s(t)):i.push(s(t)+"="+s(e)))})),i.join("&")}return s(t)+"="+s(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var h=/\/?$/;function Z(e,t,n,i){var r=i&&i.options.stringifyQuery,a=t.query||{};try{a=d(a)}catch(l){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:g(t,r),matched:e?_(e):[]};return n&&(o.redirectedFrom=g(n,r)),Object.freeze(o)}function d(e){if(Array.isArray(e))return e.map(d);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=d(e[n]);return t}return e}var f=Z(null,{path:"/"});function _(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function g(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;void 0===r&&(r="");var a=t||p;return(n||"/")+a(i)+r}function v(e,t){return t===f?e===t:!!t&&(e.path&&t.path?e.path.replace(h,"")===t.path.replace(h,"")&&e.hash===t.hash&&m(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&m(e.query,t.query)&&m(e.params,t.params)))}function m(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,r){var a=e[n],o=i[r];if(o!==n)return!1;var l=t[n];return null==a||null==l?a===l:"object"===typeof a&&"object"===typeof l?m(a,l):String(a)===String(l)}))}function b(e,t){return 0===e.path.replace(h,"/").indexOf(t.path.replace(h,"/"))&&(!t.hash||e.hash===t.hash)&&B(e.query,t.query)}function B(e,t){for(var n in t)if(!(n in e))return!1;return!0}function D(e){for(var t=0;t=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}function I(e){return e.replace(/\/\//g,"/")}var X=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},w=j,Y=N,M=k,L=T,G=W,P=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(e,t){var n,i=[],r=0,a=0,o="",l=t&&t.delimiter||"/";while(null!=(n=P.exec(e))){var s=n[0],C=n[1],c=n.index;if(o+=e.slice(a,c),a=c+s.length,C)o+=C[1];else{var A=e[a],u=n[2],p=n[3],h=n[4],Z=n[5],d=n[6],f=n[7];o&&(i.push(o),o="");var _=null!=u&&null!=A&&A!==u,g="+"===d||"*"===d,v="?"===d||"*"===d,m=n[2]||l,b=h||Z;i.push({name:p||r++,prefix:u||"",delimiter:m,optional:v,repeat:g,partial:_,asterisk:!!f,pattern:b?S(b):f?".*":"[^"+H(m)+"]+?"})}}return a1||!D.length)return 0===D.length?e():e("span",{},D)}if("a"===this.tag)B.on=m,B.attrs={href:s,"aria-current":_};else{var E=le(this.$slots.default);if(E){E.isStatic=!1;var y=E.data=r({},E.data);for(var K in y.on=y.on||{},y.on){var F=y.on[K];K in m&&(y.on[K]=Array.isArray(F)?F:[F])}for(var x in m)x in y.on?y.on[x].push(m[x]):y.on[x]=g;var I=E.data.attrs=r({},E.data.attrs);I.href=s,I["aria-current"]=_}else B.on=m}return e(this.tag,B,this.$slots.default)}};function oe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function le(e){if(e)for(var t,n=0;n-1&&(l.params[u]=n.params[u]);return l.path=q(C.path,l.params,'named route "'+s+'"'),c(C,l,o)}if(l.path){l.params={};for(var p=0;p=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}var ke={redirected:2,aborted:4,cancelled:8,duplicated:16};function Oe(e,t){return Se(e,t,ke.redirected,'Redirected when going from "'+e.fullPath+'" to "'+Qe(t)+'" via a navigation guard.')}function Re(e,t){var n=Se(e,t,ke.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function Te(e,t){return Se(e,t,ke.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function He(e,t){return Se(e,t,ke.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function Se(e,t,n,i){var r=new Error(i);return r._isRouter=!0,r.from=e,r.to=t,r.type=n,r}var ze=["params","query","hash"];function Qe(e){if("string"===typeof e)return e;if("path"in e)return e.path;var t={};return ze.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}function Je(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Ve(e,t){return Je(e)&&e._isRouter&&(null==t||e.type===t)}function Ue(e){return function(t,n,i){var r=!1,a=0,o=null;We(e,(function(e,t,n,l){if("function"===typeof e&&void 0===e.cid){r=!0,a++;var s,C=et((function(t){qe(t)&&(t=t.default),e.resolved="function"===typeof t?t:te.extend(t),n.components[l]=t,a--,a<=0&&i()})),c=et((function(e){var t="Failed to resolve async component "+l+": "+e;o||(o=Je(e)?e:new Error(t),i(o))}));try{s=e(C,c)}catch(u){c(u)}if(s)if("function"===typeof s.then)s.then(C,c);else{var A=s.component;A&&"function"===typeof A.then&&A.then(C,c)}}})),r||i()}}function We(e,t){return je(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function je(e){return Array.prototype.concat.apply([],e)}var $e="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function qe(e){return e.__esModule||$e&&"Module"===e[Symbol.toStringTag]}function et(e){var t=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var tt=function(e,t){this.router=e,this.base=nt(t),this.current=f,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function nt(e){if(!e)if(Ce){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function it(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,i=Le&&n;i&&this.listeners.push(Be());var r=function(){var n=e.current,r=ut(e.base);e.current===f&&r===e._startLocation||e.transitionTo(r,(function(e){i&&De(t,e,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this,a=r.current;this.transitionTo(e,(function(e){Ge(I(i.base+e.fullPath)),De(i.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this,a=r.current;this.transitionTo(e,(function(e){Pe(I(i.base+e.fullPath)),De(i.router,e,a,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(ut(this.base)!==this.current.fullPath){var t=I(this.base+this.current.fullPath);e?Ge(t):Pe(t)}},t.prototype.getCurrentLocation=function(){return ut(this.base)},t}(tt);function ut(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var pt=function(e){function t(t,n,i){e.call(this,t,n),i&&ht(this.base)||Zt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=Le&&n;i&&this.listeners.push(Be());var r=function(){var t=e.current;Zt()&&e.transitionTo(dt(),(function(n){i&&De(e.router,n,t,!0),Le||gt(n.fullPath)}))},a=Le?"popstate":"hashchange";window.addEventListener(a,r),this.listeners.push((function(){window.removeEventListener(a,r)}))}},t.prototype.push=function(e,t,n){var i=this,r=this,a=r.current;this.transitionTo(e,(function(e){_t(e.fullPath),De(i.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this,a=r.current;this.transitionTo(e,(function(e){gt(e.fullPath),De(i.router,e,a,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;dt()!==t&&(e?_t(t):gt(t))},t.prototype.getCurrentLocation=function(){return dt()},t}(tt);function ht(e){var t=ut(e);if(!/^\/#/.test(t))return window.location.replace(I(e+"/#"+t)),!0}function Zt(){var e=dt();return"/"===e.charAt(0)||(gt("/"+e),!1)}function dt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function ft(e){var t=window.location.href,n=t.indexOf("#"),i=n>=0?t.slice(0,n):t;return i+"#"+e}function _t(e){Le?Ge(ft(e)):window.location.hash=e}function gt(e){Le?Pe(ft(e)):window.location.replace(ft(e))}var vt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){Ve(e,ke.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(tt),mt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=he(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Le&&!1!==e.fallback,this.fallback&&(t="hash"),Ce||(t="abstract"),this.mode=t,t){case"history":this.history=new At(this,e.base);break;case"hash":this.history=new pt(this,e.base,this.fallback);break;case"abstract":this.history=new vt(this,e.base);break;default:0}},bt={currentRoute:{configurable:!0}};function Bt(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function Dt(e,t,n){var i="hash"===n?"#"+t:t;return e?I(e+"/"+i):i}mt.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},bt.currentRoute.get=function(){return this.history&&this.history.current},mt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof At||n instanceof pt){var i=function(e){var i=n.current,r=t.options.scrollBehavior,a=Le&&r;a&&"fullPath"in e&&De(t,e,i,!1)},r=function(e){n.setupListeners(),i(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},mt.prototype.beforeEach=function(e){return Bt(this.beforeHooks,e)},mt.prototype.beforeResolve=function(e){return Bt(this.resolveHooks,e)},mt.prototype.afterEach=function(e){return Bt(this.afterHooks,e)},mt.prototype.onReady=function(e,t){this.history.onReady(e,t)},mt.prototype.onError=function(e){this.history.onError(e)},mt.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n)}));this.history.push(e,t,n)},mt.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},mt.prototype.go=function(e){this.history.go(e)},mt.prototype.back=function(){this.go(-1)},mt.prototype.forward=function(){this.go(1)},mt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},mt.prototype.resolve=function(e,t,n){t=t||this.history.current;var i=ee(e,t,n,this),r=this.match(i,t),a=r.redirectedFrom||r.fullPath,o=this.history.base,l=Dt(o,a,this.mode);return{location:i,route:r,href:l,normalizedTo:i,resolved:r}},mt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==f&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(mt.prototype,bt),mt.install=se,mt.version="3.4.9",mt.isNavigationFailure=Ve,mt.NavigationFailureType=ke,Ce&&window.Vue&&window.Vue.use(mt),t["a"]=mt},"90e3":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},9112:function(e,t,n){var i=n("83ab"),r=n("9bf2"),a=n("5c6c");e.exports=i?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},"94ca":function(e,t,n){var i=n("d039"),r=/#|\.prototype\./,a=function(e,t){var n=l[o(e)];return n==C||n!=s&&("function"==typeof t?i(t):!!t)},o=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},l=a.data={},s=a.NATIVE="N",C=a.POLYFILL="P";e.exports=a},"9bdd":function(e,t,n){var i=n("825a"),r=n("2a62");e.exports=function(e,t,n,a){try{return a?t(i(n)[0],n[1]):t(n)}catch(o){throw r(e),o}}},"9bf2":function(e,t,n){var i=n("83ab"),r=n("0cfb"),a=n("825a"),o=n("c04e"),l=Object.defineProperty;t.f=i?l:function(e,t,n){if(a(e),t=o(t,!0),a(n),r)try{return l(e,t,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var i=n("ae93").IteratorPrototype,r=n("7c73"),a=n("5c6c"),o=n("d44e"),l=n("3f8c"),s=function(){return this};e.exports=function(e,t,n){var C=t+" Iterator";return e.prototype=r(i,{next:a(1,n)}),o(e,C,!1,!0),l[C]=s,e}},a026:function(e,t,n){"use strict";(function(e){ +/*! + * Vue.js v2.6.12 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function i(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function l(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var C=Object.prototype.toString;function c(e){return"[object Object]"===C.call(e)}function A(e){return"[object RegExp]"===C.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===C?JSON.stringify(e,null,2):String(e)}function Z(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(n,1)}}var v=Object.prototype.hasOwnProperty;function m(e,t){return v.call(e,t)}function b(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var B=/-(\w)/g,D=b((function(e){return e.replace(B,(function(e,t){return t?t.toUpperCase():""}))})),E=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),y=/\B([A-Z])/g,K=b((function(e){return e.replace(y,"-$1").toLowerCase()}));function F(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function x(e,t){return e.bind(t)}var I=Function.prototype.bind?x:F;function X(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function w(e,t){for(var n in t)e[n]=t[n];return e}function Y(e){for(var t={},n=0;n0,re=te&&te.indexOf("edge/")>0,ae=(te&&te.indexOf("android"),te&&/iphone|ipad|ipod|ios/.test(te)||"ios"===ee),oe=(te&&/chrome\/\d+/.test(te),te&&/phantomjs/.test(te),te&&te.match(/firefox\/(\d+)/)),le={}.watch,se=!1;if($)try{var Ce={};Object.defineProperty(Ce,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,Ce)}catch(jC){}var ce=function(){return void 0===W&&(W=!$&&!q&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),W},Ae=$&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var pe,he="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);pe="undefined"!==typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Ze=M,de=0,fe=function(){this.id=de++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){g(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!m(r,"default"))o=!1;else if(""===o||o===K(e)){var s=nt(String,r.type);(s<0||l0&&(o=xt(o,(t||"")+"_"+n),Ft(o[0])&&Ft(C)&&(c[s]=De(C.text+o[0].text),o.shift()),c.push.apply(c,o)):l(o)?Ft(C)?c[s]=De(C.text+o):""!==o&&c.push(De(o)):Ft(o)&&Ft(C)?c[s]=De(C.text+o.text):(a(e._isVList)&&r(o.tag)&&i(o.key)&&r(t)&&(o.key="__vlist"+t+"_"+n+"__"),c.push(o)));return c}function It(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Xt(e){var t=wt(e.$options.inject,e);t&&(Xe(!1),Object.keys(t).forEach((function(n){Ge(e,n,t[n])})),Xe(!0))}function wt(e,t){if(e){for(var n=Object.create(null),i=he?Reflect.ownKeys(e):Object.keys(e),r=0;r0,o=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&i&&i!==n&&l===i.$key&&!a&&!i.$hasNormal)return i;for(var s in r={},e)e[s]&&"$"!==s[0]&&(r[s]=Gt(t,s,e[s]))}else r={};for(var C in t)C in r||(r[C]=Pt(t,C));return e&&Object.isExtensible(e)&&(e._normalized=r),J(r,"$stable",o),J(r,"$key",l),J(r,"$hasNormal",a),r}function Gt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Kt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function Pt(e,t){return function(){return e[t]}}function Nt(e,t){var n,i,a,o,l;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),i=0,a=e.length;i1?X(n):n;for(var i=X(arguments,1),r='event handler for "'+e+'"',a=0,o=n.length;adocument.createEvent("Event").timeStamp&&(Wn=function(){return jn.now()})}function $n(){var e,t;for(Un=Wn(),Qn=!0,Tn.sort((function(e,t){return e.id-t.id})),Jn=0;JnJn&&Tn[n].id>e.id)n--;Tn.splice(n+1,0,e)}else Tn.push(e);zn||(zn=!0,dt($n))}}var ii=0,ri=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ii,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pe,this.newDepIds=new pe,this.expression="","function"===typeof t?this.getter=t:(this.getter=U(t),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};ri.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(jC){if(!this.user)throw jC;it(jC,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&_t(e),ve(),this.cleanupDeps()}return e},ri.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},ri.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ri.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ni(this)},ri.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(jC){it(jC,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ri.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ri.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},ri.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ai={enumerable:!0,configurable:!0,get:M,set:M};function oi(e,t,n){ai.get=function(){return this[t][n]},ai.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ai)}function li(e){e._watchers=[];var t=e.$options;t.props&&si(e,t.props),t.methods&&di(e,t.methods),t.data?Ci(e):Le(e._data={},!0),t.computed&&ui(e,t.computed),t.watch&&t.watch!==le&&fi(e,t.watch)}function si(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],a=!e.$parent;a||Xe(!1);var o=function(a){r.push(a);var o=$e(a,t,n,e);Ge(i,a,o),a in e||oi(e,"_props",a)};for(var l in t)o(l);Xe(!0)}function Ci(e){var t=e.$options.data;t=e._data="function"===typeof t?ci(t,e):t||{},c(t)||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);while(r--){var a=n[r];0,i&&m(i,a)||Q(a)||oi(e,"_data",a)}Le(t,!0)}function ci(e,t){ge();try{return e.call(t,t)}catch(jC){return it(jC,t,"data()"),{}}finally{ve()}}var Ai={lazy:!0};function ui(e,t){var n=e._computedWatchers=Object.create(null),i=ce();for(var r in t){var a=t[r],o="function"===typeof a?a:a.get;0,i||(n[r]=new ri(e,o||M,M,Ai)),r in e||pi(e,r,a)}}function pi(e,t,n){var i=!ce();"function"===typeof n?(ai.get=i?hi(t):Zi(n),ai.set=M):(ai.get=n.get?i&&!1!==n.cache?hi(t):Zi(n.get):M,ai.set=n.set||M),Object.defineProperty(e,t,ai)}function hi(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),fe.target&&t.depend(),t.value}}function Zi(e){return function(){return e.call(this,this)}}function di(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?M:I(t[n],e)}function fi(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=X(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Ki(e){e.mixin=function(e){return this.options=We(this.options,e),this}}function Fi(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=We(n.options,e),o["super"]=n,o.options.props&&xi(o),o.options.computed&&Ii(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,T.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=w({},o.options),r[i]=o,o}}function xi(e){var t=e.options.props;for(var n in t)oi(e.prototype,"_props",n)}function Ii(e){var t=e.options.computed;for(var n in t)pi(e.prototype,n,t[n])}function Xi(e){T.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function wi(e){return e&&(e.Ctor.options.name||e.tag)}function Yi(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!A(e)&&e.test(t)}function Mi(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var a in n){var o=n[a];if(o){var l=wi(o.componentOptions);l&&!t(l)&&Li(n,a,i,r)}}}function Li(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,g(n,t)}mi(Ei),gi(Ei),Xn(Ei),Ln(Ei),vn(Ei);var Gi=[String,RegExp,Array],Pi={name:"keep-alive",abstract:!0,props:{include:Gi,exclude:Gi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Li(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Mi(e,(function(e){return Yi(t,e)}))})),this.$watch("exclude",(function(t){Mi(e,(function(e){return!Yi(t,e)}))}))},render:function(){var e=this.$slots.default,t=En(e),n=t&&t.componentOptions;if(n){var i=wi(n),r=this,a=r.include,o=r.exclude;if(a&&(!i||!Yi(a,i))||o&&i&&Yi(o,i))return t;var l=this,s=l.cache,C=l.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;s[c]?(t.componentInstance=s[c].componentInstance,g(C,c),C.push(c)):(s[c]=t,C.push(c),this.max&&C.length>parseInt(this.max)&&Li(s,C[0],C,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Ni={KeepAlive:Pi};function ki(e){var t={get:function(){return S}};Object.defineProperty(e,"config",t),e.util={warn:Ze,extend:w,mergeOptions:We,defineReactive:Ge},e.set=Pe,e.delete=Ne,e.nextTick=dt,e.observable=function(e){return Le(e),e},e.options=Object.create(null),T.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,w(e.options.components,Ni),yi(e),Ki(e),Fi(e),Xi(e)}ki(Ei),Object.defineProperty(Ei.prototype,"$isServer",{get:ce}),Object.defineProperty(Ei.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ei,"FunctionalRenderContext",{value:qt}),Ei.version="2.6.12";var Oi=d("style,class"),Ri=d("input,textarea,option,select,progress"),Ti=function(e,t,n){return"value"===n&&Ri(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Hi=d("contenteditable,draggable,spellcheck"),Si=d("events,caret,typing,plaintext-only"),zi=function(e,t){return Wi(t)||"false"===t?"false":"contenteditable"===e&&Si(t)?t:"true"},Qi=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ji="http://www.w3.org/1999/xlink",Vi=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ui=function(e){return Vi(e)?e.slice(6,e.length):""},Wi=function(e){return null==e||!1===e};function ji(e){var t=e.data,n=e,i=e;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=$i(i.data,t));while(r(n=n.parent))n&&n.data&&(t=$i(t,n.data));return qi(t.staticClass,t.class)}function $i(e,t){return{staticClass:er(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function qi(e,t){return r(e)||r(t)?er(e,tr(t)):""}function er(e,t){return e?t?e+" "+t:e:t||""}function tr(e){return Array.isArray(e)?nr(e):s(e)?ir(e):"string"===typeof e?e:""}function nr(e){for(var t,n="",i=0,a=e.length;i-1?cr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:cr[e]=/HTMLUnknownElement/.test(t.toString())}var ur=d("text,number,password,search,email,tel,url");function pr(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hr(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Zr(e,t){return document.createElementNS(rr[e],t)}function dr(e){return document.createTextNode(e)}function fr(e){return document.createComment(e)}function _r(e,t,n){e.insertBefore(t,n)}function gr(e,t){e.removeChild(t)}function vr(e,t){e.appendChild(t)}function mr(e){return e.parentNode}function br(e){return e.nextSibling}function Br(e){return e.tagName}function Dr(e,t){e.textContent=t}function Er(e,t){e.setAttribute(t,"")}var yr=Object.freeze({createElement:hr,createElementNS:Zr,createTextNode:dr,createComment:fr,insertBefore:_r,removeChild:gr,appendChild:vr,parentNode:mr,nextSibling:br,tagName:Br,setTextContent:Dr,setStyleScope:Er}),Kr={create:function(e,t){Fr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Fr(e,!0),Fr(t))},destroy:function(e){Fr(e,!0)}};function Fr(e,t){var n=e.data.ref;if(r(n)){var i=e.context,a=e.componentInstance||e.elm,o=i.$refs;t?Array.isArray(o[n])?g(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var xr=new me("",{},[]),Ir=["create","activate","update","remove","destroy"];function Xr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&wr(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function wr(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,a=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===a||ur(i)&&ur(a)}function Yr(e,t,n){var i,a,o={};for(i=t;i<=n;++i)a=e[i].key,r(a)&&(o[a]=i);return o}function Mr(e){var t,n,o={},s=e.modules,C=e.nodeOps;for(t=0;tZ?(A=i(n[_+1])?null:n[_+1].elm,B(e,A,n,h,_,a)):h>_&&E(t,u,Z)}function F(e,t,n,i){for(var a=n;a-1?zr(e,t,n):Qi(t)?Wi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Hi(t)?e.setAttribute(t,zi(t,n)):Vi(t)?Wi(n)?e.removeAttributeNS(Ji,Ui(t)):e.setAttributeNS(Ji,t,n):zr(e,t,n)}function zr(e,t,n){if(Wi(n))e.removeAttribute(t);else{if(ne&&!ie&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Qr={create:Hr,update:Hr};function Jr(e,t){var n=t.elm,a=t.data,o=e.data;if(!(i(a.staticClass)&&i(a.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var l=ji(t),s=n._transitionClasses;r(s)&&(l=er(l,tr(s))),l!==n._prevClass&&(n.setAttribute("class",l),n._prevClass=l)}}var Vr,Ur,Wr,jr,$r,qr,ea={create:Jr,update:Jr},ta=/[\w).+\-_$\]]/;function na(e){var t,n,i,r,a,o=!1,l=!1,s=!1,C=!1,c=0,A=0,u=0,p=0;for(i=0;i=0;h--)if(Z=e.charAt(h)," "!==Z)break;Z&&ta.test(Z)||(C=!0)}}else void 0===r?(p=i+1,r=e.slice(0,i).trim()):d();function d(){(a||(a=[])).push(e.slice(p,i).trim()),p=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==p&&d(),a)for(i=0;i-1?{exp:e.slice(0,jr),key:'"'+e.slice(jr+1)+'"'}:{exp:e,key:null};Ur=e,jr=$r=qr=0;while(!ma())Wr=va(),ba(Wr)?Da(Wr):91===Wr&&Ba(Wr);return{exp:e.slice(0,$r),key:e.slice($r+1,qr)}}function va(){return Ur.charCodeAt(++jr)}function ma(){return jr>=Vr}function ba(e){return 34===e||39===e}function Ba(e){var t=1;$r=jr;while(!ma())if(e=va(),ba(e))Da(e);else if(91===e&&t++,93===e&&t--,0===t){qr=jr;break}}function Da(e){var t=e;while(!ma())if(e=va(),e===t)break}var Ea,ya="__r",Ka="__c";function Fa(e,t,n){n;var i=t.value,r=t.modifiers,a=e.tag,o=e.attrsMap.type;if(e.component)return fa(e,i,r),!1;if("select"===a)Xa(e,i,r);else if("input"===a&&"checkbox"===o)xa(e,i,r);else if("input"===a&&"radio"===o)Ia(e,i,r);else if("input"===a||"textarea"===a)wa(e,i,r);else{if(!S.isReservedTag(a))return fa(e,i,r),!1}return!0}function xa(e,t,n){var i=n&&n.number,r=pa(e,"value")||"null",a=pa(e,"true-value")||"true",o=pa(e,"false-value")||"false";oa(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),Aa(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+_a(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+_a(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+_a(t,"$$c")+"}",null,!0)}function Ia(e,t,n){var i=n&&n.number,r=pa(e,"value")||"null";r=i?"_n("+r+")":r,oa(e,"checked","_q("+t+","+r+")"),Aa(e,"change",_a(t,r),null,!0)}function Xa(e,t,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(i?"_n(val)":"val")+"})",a="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",o="var $$selectedVal = "+r+";";o=o+" "+_a(t,a),Aa(e,"change",o,null,!0)}function wa(e,t,n){var i=e.attrsMap.type,r=n||{},a=r.lazy,o=r.number,l=r.trim,s=!a&&"range"!==i,C=a?"change":"range"===i?ya:"input",c="$event.target.value";l&&(c="$event.target.value.trim()"),o&&(c="_n("+c+")");var A=_a(t,c);s&&(A="if($event.target.composing)return;"+A),oa(e,"value","("+t+")"),Aa(e,C,A,null,!0),(l||o)&&Aa(e,"blur","$forceUpdate()")}function Ya(e){if(r(e[ya])){var t=ne?"change":"input";e[t]=[].concat(e[ya],e[t]||[]),delete e[ya]}r(e[Ka])&&(e.change=[].concat(e[Ka],e.change||[]),delete e[Ka])}function Ma(e,t,n){var i=Ea;return function r(){var a=t.apply(null,arguments);null!==a&&Pa(e,r,n,i)}}var La=st&&!(oe&&Number(oe[1])<=53);function Ga(e,t,n,i){if(La){var r=Un,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Ea.addEventListener(e,t,se?{capture:n,passive:i}:n)}function Pa(e,t,n,i){(i||Ea).removeEventListener(e,t._wrapper||t,n)}function Na(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ea=t.elm,Ya(n),bt(n,r,Ga,Pa,Ma,t.context),Ea=void 0}}var ka,Oa={create:Na,update:Na};function Ra(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,a,o=t.elm,l=e.data.domProps||{},s=t.data.domProps||{};for(n in r(s.__ob__)&&(s=t.data.domProps=w({},s)),l)n in s||(o[n]="");for(n in s){if(a=s[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===l[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var C=i(a)?"":String(a);Ta(o,C)&&(o.value=C)}else if("innerHTML"===n&&or(o.tagName)&&i(o.innerHTML)){ka=ka||document.createElement("div"),ka.innerHTML=""+a+"";var c=ka.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(c.firstChild)o.appendChild(c.firstChild)}else if(a!==l[n])try{o[n]=a}catch(jC){}}}}function Ta(e,t){return!e.composing&&("OPTION"===e.tagName||Ha(e,t)||Sa(e,t))}function Ha(e,t){var n=!0;try{n=document.activeElement!==e}catch(jC){}return n&&e.value!==t}function Sa(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return Z(n)!==Z(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var za={create:Ra,update:Ra},Qa=b((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Ja(e){var t=Va(e.style);return e.staticStyle?w(e.staticStyle,t):t}function Va(e){return Array.isArray(e)?Y(e):"string"===typeof e?Qa(e):e}function Ua(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Ja(r.data))&&w(i,n)}(n=Ja(e.data))&&w(i,n);var a=e;while(a=a.parent)a.data&&(n=Ja(a.data))&&w(i,n);return i}var Wa,ja=/^--/,$a=/\s*!important$/,qa=function(e,t,n){if(ja.test(t))e.style.setProperty(t,n);else if($a.test(n))e.style.setProperty(K(t),n.replace($a,""),"important");else{var i=to(t);if(Array.isArray(n))for(var r=0,a=n.length;r-1?t.split(ro).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function oo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ro).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function lo(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&w(t,so(e.name||"v")),w(t,e),t}return"string"===typeof e?so(e):void 0}}var so=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Co=$&&!ie,co="transition",Ao="animation",uo="transition",po="transitionend",ho="animation",Zo="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(uo="WebkitTransition",po="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ho="WebkitAnimation",Zo="webkitAnimationEnd"));var fo=$?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function _o(e){fo((function(){fo(e)}))}function go(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ao(e,t))}function vo(e,t){e._transitionClasses&&g(e._transitionClasses,t),oo(e,t)}function mo(e,t,n){var i=Bo(e,t),r=i.type,a=i.timeout,o=i.propCount;if(!r)return n();var l=r===co?po:Zo,s=0,C=function(){e.removeEventListener(l,c),n()},c=function(t){t.target===e&&++s>=o&&C()};setTimeout((function(){s0&&(n=co,c=o,A=a.length):t===Ao?C>0&&(n=Ao,c=C,A=s.length):(c=Math.max(o,C),n=c>0?o>C?co:Ao:null,A=n?n===co?a.length:s.length:0);var u=n===co&&bo.test(i[uo+"Property"]);return{type:n,timeout:c,propCount:A,hasTransform:u}}function Do(e,t){while(e.length1}function Io(e,t){!0!==t.data.show&&yo(t)}var Xo=$?{create:Io,activate:Io,remove:function(e,t){!0!==e.data.show?Ko(e,t):t()}}:{},wo=[Qr,ea,Oa,za,io,Xo],Yo=wo.concat(Tr),Mo=Mr({nodeOps:yr,modules:Yo});ie&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&To(e,"input")}));var Lo={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Bt(n,"postpatch",(function(){Lo.componentUpdated(e,t,n)})):Go(e,t,n.context),e._vOptions=[].map.call(e.options,ko)):("textarea"===n.tag||ur(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Oo),e.addEventListener("compositionend",Ro),e.addEventListener("change",Ro),ie&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Go(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,ko);if(r.some((function(e,t){return!N(e,i[t])}))){var a=e.multiple?t.value.some((function(e){return No(e,r)})):t.value!==t.oldValue&&No(t.value,r);a&&To(e,"change")}}}};function Go(e,t,n){Po(e,t,n),(ne||re)&&setTimeout((function(){Po(e,t,n)}),0)}function Po(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var a,o,l=0,s=e.options.length;l-1,o.selected!==a&&(o.selected=a);else if(N(ko(o),i))return void(e.selectedIndex!==l&&(e.selectedIndex=l));r||(e.selectedIndex=-1)}}function No(e,t){return t.every((function(t){return!N(t,e)}))}function ko(e){return"_value"in e?e._value:e.value}function Oo(e){e.target.composing=!0}function Ro(e){e.target.composing&&(e.target.composing=!1,To(e.target,"input"))}function To(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ho(e){return!e.componentInstance||e.data&&e.data.transition?e:Ho(e.componentInstance._vnode)}var So={bind:function(e,t,n){var i=t.value;n=Ho(n);var r=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,yo(n,(function(){e.style.display=a}))):e.style.display=i?a:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=Ho(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,i?yo(n,(function(){e.style.display=e.__vOriginalDisplay})):Ko(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},zo={model:Lo,show:So},Qo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Jo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Jo(En(t.children)):e}function Vo(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var a in r)t[D(a)]=r[a];return t}function Uo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Wo(e){while(e=e.parent)if(e.data.transition)return!0}function jo(e,t){return t.key===e.key&&t.tag===e.tag}var $o=function(e){return e.tag||Dn(e)},qo=function(e){return"show"===e.name},el={name:"transition",props:Qo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter($o),n.length)){0;var i=this.mode;0;var r=n[0];if(Wo(this.$vnode))return r;var a=Jo(r);if(!a)return r;if(this._leaving)return Uo(e,r);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:l(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=Vo(this),C=this._vnode,c=Jo(C);if(a.data.directives&&a.data.directives.some(qo)&&(a.data.show=!0),c&&c.data&&!jo(a,c)&&!Dn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var A=c.data.transition=w({},s);if("out-in"===i)return this._leaving=!0,Bt(A,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Uo(e,r);if("in-out"===i){if(Dn(a))return C;var u,p=function(){u()};Bt(s,"afterEnter",p),Bt(s,"enterCancelled",p),Bt(A,"delayLeave",(function(e){u=e}))}}return r}}},tl=w({tag:String,moveClass:String},Qo);delete tl.mode;var nl={props:tl,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Yn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=Vo(this),l=0;ls&&(l.push(a=e.slice(s,r)),o.push(JSON.stringify(a)));var C=na(i[1].trim());o.push("_s("+C+")"),l.push({"@binding":C}),s=r+i[0].length}return s\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Bl=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Dl="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+z.source+"]*",El="((?:"+Dl+"\\:)?"+Dl+")",yl=new RegExp("^<"+El),Kl=/^\s*(\/?)>/,Fl=new RegExp("^<\\/"+El+"[^>]*>"),xl=/^]+>/i,Il=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Ll=/&(?:lt|gt|quot|amp|#39);/g,Gl=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Pl=d("pre,textarea",!0),Nl=function(e,t){return e&&Pl(e)&&"\n"===t[0]};function kl(e,t){var n=t?Gl:Ll;return e.replace(n,(function(e){return Ml[e]}))}function Ol(e,t){var n,i,r=[],a=t.expectHTML,o=t.isUnaryTag||L,l=t.canBeLeftOpenTag||L,s=0;while(e){if(n=e,i&&wl(i)){var C=0,c=i.toLowerCase(),A=Yl[c]||(Yl[c]=new RegExp("([\\s\\S]*?)(]*>)","i")),u=e.replace(A,(function(e,n,i){return C=i.length,wl(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),Nl(c,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));s+=e.length-u.length,e=u,y(c,s-C,s)}else{var p=e.indexOf("<");if(0===p){if(Il.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),s,s+h+3),B(h+3);continue}}if(Xl.test(e)){var Z=e.indexOf("]>");if(Z>=0){B(Z+2);continue}}var d=e.match(xl);if(d){B(d[0].length);continue}var f=e.match(Fl);if(f){var _=s;B(f[0].length),y(f[1],_,s);continue}var g=D();if(g){E(g),Nl(g.tagName,e)&&B(1);continue}}var v=void 0,m=void 0,b=void 0;if(p>=0){m=e.slice(p);while(!Fl.test(m)&&!yl.test(m)&&!Il.test(m)&&!Xl.test(m)){if(b=m.indexOf("<",1),b<0)break;p+=b,m=e.slice(p)}v=e.substring(0,p)}p<0&&(v=e),v&&B(v.length),t.chars&&v&&t.chars(v,s-v.length,s)}if(e===n){t.chars&&t.chars(e);break}}function B(t){s+=t,e=e.substring(t)}function D(){var t=e.match(yl);if(t){var n,i,r={tagName:t[1],attrs:[],start:s};B(t[0].length);while(!(n=e.match(Kl))&&(i=e.match(Bl)||e.match(bl)))i.start=s,B(i[0].length),i.end=s,r.attrs.push(i);if(n)return r.unarySlash=n[1],B(n[0].length),r.end=s,r}}function E(e){var n=e.tagName,s=e.unarySlash;a&&("p"===i&&ml(n)&&y(i),l(n)&&i===n&&y(n));for(var C=o(n)||!!s,c=e.attrs.length,A=new Array(c),u=0;u=0;o--)if(r[o].lowerCasedTag===l)break}else o=0;if(o>=0){for(var C=r.length-1;C>=o;C--)t.end&&t.end(r[C].tag,n,a);r.length=o,i=o&&r[o-1].tag}else"br"===l?t.start&&t.start(e,[],!0,n,a):"p"===l&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}y()}var Rl,Tl,Hl,Sl,zl,Ql,Jl,Vl,Ul=/^@|^v-on:/,Wl=/^v-|^@|^:|^#/,jl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$l=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ql=/^\(|\)$/g,es=/^\[.*\]$/,ts=/:(.*)$/,ns=/^:|^\.|^v-bind:/,is=/\.[^.\]]+(?=[^\]]*$)/g,rs=/^v-slot(:|$)|^#/,as=/[\r\n]/,os=/\s+/g,ls=b(_l.decode),ss="_empty_";function Cs(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Is(t),rawAttrsMap:{},parent:n,children:[]}}function cs(e,t){Rl=t.warn||ra,Ql=t.isPreTag||L,Jl=t.mustUseProp||L,Vl=t.getTagNamespace||L;var n=t.isReservedTag||L;(function(e){return!!e.component||!n(e.tag)}),Hl=aa(t.modules,"transformNode"),Sl=aa(t.modules,"preTransformNode"),zl=aa(t.modules,"postTransformNode"),Tl=t.delimiters;var i,r,a=[],o=!1!==t.preserveWhitespace,l=t.whitespace,s=!1,C=!1;function c(e){if(A(e),s||e.processed||(e=ps(e,t)),a.length||e===i||i.if&&(e.elseif||e.else)&&ms(i,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)gs(e,r);else{if(e.slotScope){var n=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=e}r.children.push(e),e.parent=r}e.children=e.children.filter((function(e){return!e.slotScope})),A(e),e.pre&&(s=!1),Ql(e.tag)&&(C=!1);for(var o=0;o|^function(?:\s+[\w$]+)?\s*\(/,eC=/\([^)]*?\);*$/,tC=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,nC={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},iC={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},rC=function(e){return"if("+e+")return null;"},aC={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:rC("$event.target !== $event.currentTarget"),ctrl:rC("!$event.ctrlKey"),shift:rC("!$event.shiftKey"),alt:rC("!$event.altKey"),meta:rC("!$event.metaKey"),left:rC("'button' in $event && $event.button !== 0"),middle:rC("'button' in $event && $event.button !== 1"),right:rC("'button' in $event && $event.button !== 2")};function oC(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var a in e){var o=lC(e[a]);e[a]&&e[a].dynamic?r+=a+","+o+",":i+='"'+a+'":'+o+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function lC(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return lC(e)})).join(",")+"]";var t=tC.test(e.value),n=qs.test(e.value),i=tC.test(e.value.replace(eC,""));if(e.modifiers){var r="",a="",o=[];for(var l in e.modifiers)if(aC[l])a+=aC[l],nC[l]&&o.push(l);else if("exact"===l){var s=e.modifiers;a+=rC(["ctrl","shift","alt","meta"].filter((function(e){return!s[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(l);o.length&&(r+=sC(o)),a&&(r+=a);var C=t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value;return"function($event){"+r+C+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function sC(e){return"if(!$event.type.indexOf('key')&&"+e.map(CC).join("&&")+")return null;"}function CC(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=nC[e],i=iC[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}function cC(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}}function AC(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}}var uC={on:cC,bind:AC,cloak:M},pC=function(e){this.options=e,this.warn=e.warn||ra,this.transforms=aa(e.modules,"transformCode"),this.dataGenFns=aa(e.modules,"genData"),this.directives=w(w({},uC),e.directives);var t=e.isReservedTag||L;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function hC(e,t){var n=new pC(t),i=e?ZC(e,n):'_c("div")';return{render:"with(this){return "+i+"}",staticRenderFns:n.staticRenderFns}}function ZC(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return dC(e,t);if(e.once&&!e.onceProcessed)return fC(e,t);if(e.for&&!e.forProcessed)return vC(e,t);if(e.if&&!e.ifProcessed)return _C(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return MC(e,t);var n;if(e.component)n=LC(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=mC(e,t));var r=e.inlineTemplate?null:FC(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var a=0;a>>0}function yC(e){return 1===e.type&&("slot"===e.tag||e.children.some(yC))}function KC(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return _C(e,t,KC,"null");if(e.for&&!e.forProcessed)return vC(e,t,KC);var i=e.slotScope===ss?"":String(e.slotScope),r="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(FC(e,t)||"undefined")+":undefined":FC(e,t)||"undefined":ZC(e,t))+"}",a=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+r+a+"}"}function FC(e,t,n,i,r){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var l=n?t.maybeComponent(o)?",1":",0":"";return""+(i||ZC)(o,t)+l}var s=n?xC(a,t.maybeComponent):0,C=r||XC;return"["+a.map((function(e){return C(e,t)})).join(",")+"]"+(s?","+s:"")}}function xC(e,t){for(var n=0,i=0;i':'
',RC.innerHTML.indexOf(" ")>0}var QC=!!$&&zC(!1),JC=!!$&&zC(!0),VC=b((function(e){var t=pr(e);return t&&t.innerHTML})),UC=Ei.prototype.$mount;function WC(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}Ei.prototype.$mount=function(e,t){if(e=e&&pr(e),e===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"===typeof i)"#"===i.charAt(0)&&(i=VC(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=WC(e));if(i){0;var r=SC(i,{outputSourceRange:!1,shouldDecodeNewlines:QC,shouldDecodeNewlinesForHref:JC,delimiters:n.delimiters,comments:n.comments},this),a=r.render,o=r.staticRenderFns;n.render=a,n.staticRenderFns=o}}return UC.call(this,e,t)},Ei.compile=SC,t["a"]=Ei}).call(this,n("c8ba"))},a4b4:function(e,t,n){var i=n("342f");e.exports=/web0s(?!.*chrome)/i.test(i)},a630:function(e,t,n){var i=n("23e7"),r=n("4df4"),a=n("1c7e"),o=!a((function(e){Array.from(e)}));i({target:"Array",stat:!0,forced:o},{from:r})},a691:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},a79d:function(e,t,n){"use strict";var i=n("23e7"),r=n("c430"),a=n("fea9"),o=n("d039"),l=n("d066"),s=n("4840"),C=n("cdf9"),c=n("6eeb"),A=!!a&&o((function(){a.prototype["finally"].call({then:function(){}},(function(){}))}));i({target:"Promise",proto:!0,real:!0,forced:A},{finally:function(e){var t=s(this,l("Promise")),n="function"==typeof e;return this.then(n?function(n){return C(t,e()).then((function(){return n}))}:e,n?function(n){return C(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof a||a.prototype["finally"]||c(a.prototype,"finally",l("Promise").prototype["finally"])},ae40:function(e,t,n){var i=n("83ab"),r=n("d039"),a=n("5135"),o=Object.defineProperty,l={},s=function(e){throw e};e.exports=function(e,t){if(a(l,e))return l[e];t||(t={});var n=[][e],C=!!a(t,"ACCESSORS")&&t.ACCESSORS,c=a(t,0)?t[0]:s,A=a(t,1)?t[1]:void 0;return l[e]=!!n&&!r((function(){if(C&&!i)return!0;var e={length:-1};C?o(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,c,A)}))}},ae93:function(e,t,n){"use strict";var i,r,a,o=n("e163"),l=n("9112"),s=n("5135"),C=n("b622"),c=n("c430"),A=C("iterator"),u=!1,p=function(){return this};[].keys&&(a=[].keys(),"next"in a?(r=o(o(a)),r!==Object.prototype&&(i=r)):u=!0),void 0==i&&(i={}),c||s(i,A)||l(i,A,p),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:u}},b575:function(e,t,n){var i,r,a,o,l,s,C,c,A=n("da84"),u=n("06cf").f,p=n("2cf4").set,h=n("1cdc"),Z=n("a4b4"),d=n("605d"),f=A.MutationObserver||A.WebKitMutationObserver,_=A.document,g=A.process,v=A.Promise,m=u(A,"queueMicrotask"),b=m&&m.value;b||(i=function(){var e,t;d&&(e=g.domain)&&e.exit();while(r){t=r.fn,r=r.next;try{t()}catch(n){throw r?o():a=void 0,n}}a=void 0,e&&e.enter()},h||d||Z||!f||!_?v&&v.resolve?(C=v.resolve(void 0),c=C.then,o=function(){c.call(C,i)}):o=d?function(){g.nextTick(i)}:function(){p.call(A,i)}:(l=!0,s=_.createTextNode(""),new f(i).observe(s,{characterData:!0}),o=function(){s.data=l=!l})),e.exports=b||function(e){var t={fn:e,next:void 0};a&&(a.next=t),r||(r=t,o()),a=t}},b622:function(e,t,n){var i=n("da84"),r=n("5692"),a=n("5135"),o=n("90e3"),l=n("4930"),s=n("fdbf"),C=r("wks"),c=i.Symbol,A=s?c:c&&c.withoutSetter||o;e.exports=function(e){return a(C,e)||(l&&a(c,e)?C[e]=c[e]:C[e]=A("Symbol."+e)),C[e]}},b727:function(e,t,n){var i=n("0366"),r=n("44ad"),a=n("7b0b"),o=n("50c4"),l=n("65f0"),s=[].push,C=function(e){var t=1==e,n=2==e,C=3==e,c=4==e,A=6==e,u=7==e,p=5==e||A;return function(h,Z,d,f){for(var _,g,v=a(h),m=r(v),b=i(Z,d,3),B=o(m.length),D=0,E=f||l,y=t?E(h,B):n||u?E(h,0):void 0;B>D;D++)if((p||D in m)&&(_=m[D],g=b(_,D,v),e))if(t)y[D]=g;else if(g)switch(e){case 3:return!0;case 5:return _;case 6:return D;case 2:s.call(y,_)}else switch(e){case 4:return!1;case 7:s.call(y,_)}return A?-1:C||c?c:y}};e.exports={forEach:C(0),map:C(1),filter:C(2),some:C(3),every:C(4),find:C(5),findIndex:C(6),filterOut:C(7)}},c04e:function(e,t,n){var i=n("861d");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var i=n("da84"),r=n("ce4e"),a="__core-js_shared__",o=i[a]||r(a,{});e.exports=o},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var i=n("5135"),r=n("fc6a"),a=n("4d64").indexOf,o=n("d012");e.exports=function(e,t){var n,l=r(e),s=0,C=[];for(n in l)!i(o,n)&&i(l,n)&&C.push(n);while(t.length>s)i(l,n=t[s++])&&(~a(C,n)||C.push(n));return C}},cc12:function(e,t,n){var i=n("da84"),r=n("861d"),a=i.document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},cca6:function(e,t,n){var i=n("23e7"),r=n("60da");i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},cd8e:function(e,t){zingchart.setModule("depth"),zingchart.plugins.depth=zingchart.plugins.depth||{},zingchart.plugins.depth.info=zingchart.plugins.depth.info||{},zingchart.plugins.depth.crosshairX_plotLabel_jsRule||(zingchart.plugins.depth.crosshairX_plotLabel_jsRule=function(e,t){var n="",i=e["data-palette"].split(";");return t=parseInt(t,10),e.key!==e["data-mmp"]?(n=''+e.scaletext+'

%plot-text:  '+e[ZC._[9]]+'
%data-cost:  '+e["data-currency"]+zingchart.formatNumber(e.key*e[ZC._[9]],{"thousands-separator":",",decimals:2}),{"border-bottom":"5px solid "+i[t],text:n}):{text:"N/A",visible:!1}}),zingchart.bind(null,"dataparse",(function(e,t){for(var n=zingchart.getLoader(e.id),i=0,r=t[ZC._[16]].length;i "+s,"background-color":c[1]}]},"plot-label":{multiple:!0,callout:!1,"background-color":"#eee",padding:"10 10 15 10","font-size":11,"font-weight":"bold"},marker:{type:"diamond",size:3}}),o["crosshair-x"].exact=!0;var g={type:"line","line-color":"#ccc","line-width":1,range:[s],"value-range":!0,"label-tolerance":20,"offset-end":100,label:{"font-size":10,"font-weight":"bold",angle:0,width:80,"offset-x":-40,"offset-y":15,text:zingchart.plugins.depth.info[n.K].currency+zingchart.formatNumber(zingchart.plugins.depth.info[n.K].mmp,{"thousands-separator":","})}};ZC._cp_(l["mmp-marker"],g),o[ZC._[50]].markers.push(g);var v=zingchart.plugins.depth.info[n.K].zoom||.5,m=s-f,b=_-s,B=Math.min(m,b),D=.05*B,E=B*v,y=.05*B;zingchart.plugins.depth.info[n.K].diff=E,zingchart.plugins.depth.info[n.K]["min-diff"]=D,zingchart.plugins.depth.info[n.K]["max-diff"]=B,zingchart.plugins.depth.info[n.K].step=y,zingchart.plugins.depth.info[n.K].zoom=v,u.push({values:[[s,0]],visible:!1,export:!1,scales:"scale-x,scale-y-2"}),o[ZC._[50]]["zoom-to-values"]=[s-E,s+E]}return t})),zingchart.bind(null,"objectsinit",(function(e){var t=zingchart.getLoader(e.loader.id),n=zingchart.getGraph(t,e.graphid),i=n.o;if("depth"===i["plugin-type"]){var r=zingchart.getGraphInfo(t,i,n.L).plotarea,a={};i.options&&(a=i.options.depth||i.options),ZC._todash_(a);var o=zingchart.plugins.depth.info[t.K].currency+zingchart.formatNumber(zingchart.plugins.depth.info[t.K].mmp,{"thousands-separator":","});i[ZC._[10]]=i[ZC._[10]]||[];for(var l=i[ZC._[10]].length-1;l>=0;l--)"zc_depth"===i[ZC._[10]][l].cls&&i[ZC._[10]].splice(l,1);var s={cls:"zc_depth",id:"zc_depth_title",x:r.x+r.width/2,y:r.y+10,anchor:"t","font-size":21,"font-weight":"bold",text:o};ZC._cp_(a.title,s),i[ZC._[10]].push(s);var C={cls:"zc_depth",id:"zc_depth_subtitle",x:r.x+r.width/2,y:r.y+35,anchor:"t","font-size":12,color:"#999",text:"Mid Market Price"};ZC._cp_(a.subtitle,C),i[ZC._[10]].push(C);var c=Math.round(s["font-size"]*o.length*.35),A={cls:"zc_depth",x:r.x+r.width/2-c,y:r.y+16,width:20,height:20,anchor:"tr","border-width":1,"font-size":14,"font-weight":"bold",text:" - ","background-color":"#ddd","hover-state":{"background-color":"#eee"},tooltip:{text:"Zoom Out"},id:"zc_depth_zoomout"};ZC._cp_(a["button-zoomout"],A),i[ZC._[10]].push(A);var u={cls:"zc_depth",x:r.x+r.width/2+c,y:r.y+16,width:20,height:20,anchor:"tl","border-width":1,"font-size":14,"font-weight":"bold",text:" + ","background-color":"#ddd","hover-state":{"background-color":"#eee"},tooltip:{text:"Zoom In"},id:"zc_depth_zoomin"};ZC._cp_(a["button-zoomin"],u),i[ZC._[10]].push(u)}})),zingchart.bind(null,"label_click",(function(e){if("zc_depth_zoomin"===e.label.id||"zc_depth_zoomout"===e.label.id){var t=zingchart.plugins.depth.info[e.id].mmp,n=zingchart.plugins.depth.info[e.id].step,i=zingchart.plugins.depth.info[e.id].diff,r=zingchart.plugins.depth.info[e.id]["min-diff"],a=zingchart.plugins.depth.info[e.id]["max-diff"],o=zingchart.plugins.depth.info[e.id].zoom;i+="zc_depth_zoomout"===e.label.id?n:-n,o+="zc_depth_zoomout"===e.label.id?.05:-.05,i>a?(i=a,o=1):i1?arguments[1]:void 0)}})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(e,t,n){var i=n("ca84"),r=n("7839");e.exports=Object.keys||function(e){return i(e,r)}},e163:function(e,t,n){var i=n("5135"),r=n("7b0b"),a=n("f772"),o=n("e177"),l=a("IE_PROTO"),s=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=r(e),i(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},e177:function(e,t,n){var i=n("d039");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var i=n("fc6a"),r=n("44d2"),a=n("3f8c"),o=n("69f3"),l=n("7dd0"),s="Array Iterator",C=o.set,c=o.getterFor(s);e.exports=l(Array,"Array",(function(e,t){C(this,{type:s,target:i(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},e2cc:function(e,t,n){var i=n("6eeb");e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var i,r,a,o,l=n("23e7"),s=n("c430"),C=n("da84"),c=n("d066"),A=n("fea9"),u=n("6eeb"),p=n("e2cc"),h=n("d44e"),Z=n("2626"),d=n("861d"),f=n("1c0b"),_=n("19aa"),g=n("8925"),v=n("2266"),m=n("1c7e"),b=n("4840"),B=n("2cf4").set,D=n("b575"),E=n("cdf9"),y=n("44de"),K=n("f069"),F=n("e667"),x=n("69f3"),I=n("94ca"),X=n("b622"),w=n("605d"),Y=n("2d00"),M=X("species"),L="Promise",G=x.get,P=x.set,N=x.getterFor(L),k=A,O=C.TypeError,R=C.document,T=C.process,H=c("fetch"),S=K.f,z=S,Q=!!(R&&R.createEvent&&C.dispatchEvent),J="function"==typeof PromiseRejectionEvent,V="unhandledrejection",U="rejectionhandled",W=0,j=1,$=2,q=1,ee=2,te=I(L,(function(){var e=g(k)!==String(k);if(!e){if(66===Y)return!0;if(!w&&!J)return!0}if(s&&!k.prototype["finally"])return!0;if(Y>=51&&/native code/.test(k))return!1;var t=k.resolve(1),n=function(e){e((function(){}),(function(){}))},i=t.constructor={};return i[M]=n,!(t.then((function(){}))instanceof n)})),ne=te||!m((function(e){k.all(e)["catch"]((function(){}))})),ie=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;D((function(){var i=e.value,r=e.state==j,a=0;while(n.length>a){var o,l,s,C=n[a++],c=r?C.ok:C.fail,A=C.resolve,u=C.reject,p=C.domain;try{c?(r||(e.rejection===ee&&se(e),e.rejection=q),!0===c?o=i:(p&&p.enter(),o=c(i),p&&(p.exit(),s=!0)),o===C.promise?u(O("Promise-chain cycle")):(l=ie(o))?l.call(o,A,u):A(o)):u(i)}catch(h){p&&!s&&p.exit(),u(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&oe(e)}))}},ae=function(e,t,n){var i,r;Q?(i=R.createEvent("Event"),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),C.dispatchEvent(i)):i={promise:t,reason:n},!J&&(r=C["on"+e])?r(i):e===V&&y("Unhandled promise rejection",n)},oe=function(e){B.call(C,(function(){var t,n=e.facade,i=e.value,r=le(e);if(r&&(t=F((function(){w?T.emit("unhandledRejection",i,n):ae(V,n,i)})),e.rejection=w||le(e)?ee:q,t.error))throw t.value}))},le=function(e){return e.rejection!==q&&!e.parent},se=function(e){B.call(C,(function(){var t=e.facade;w?T.emit("rejectionHandled",t):ae(U,t,e.value)}))},Ce=function(e,t,n){return function(i){e(t,i,n)}},ce=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=$,re(e,!0))},Ae=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw O("Promise can't be resolved itself");var i=ie(t);i?D((function(){var n={done:!1};try{i.call(t,Ce(Ae,n,e),Ce(ce,n,e))}catch(r){ce(n,r,e)}})):(e.value=t,e.state=j,re(e,!1))}catch(r){ce({done:!1},r,e)}}};te&&(k=function(e){_(this,k,L),f(e),i.call(this);var t=G(this);try{e(Ce(Ae,t),Ce(ce,t))}catch(n){ce(t,n)}},i=function(e){P(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:W,value:void 0})},i.prototype=p(k.prototype,{then:function(e,t){var n=N(this),i=S(b(this,k));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=w?T.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=W&&re(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new i,t=G(e);this.promise=e,this.resolve=Ce(Ae,t),this.reject=Ce(ce,t)},K.f=S=function(e){return e===k||e===a?new r(e):z(e)},s||"function"!=typeof A||(o=A.prototype.then,u(A.prototype,"then",(function(e,t){var n=this;return new k((function(e,t){o.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&l({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(k,H.apply(C,arguments))}}))),l({global:!0,wrap:!0,forced:te},{Promise:k}),h(k,L,!1,!0),Z(L),a=c(L),l({target:L,stat:!0,forced:te},{reject:function(e){var t=S(this);return t.reject.call(void 0,e),t.promise}}),l({target:L,stat:!0,forced:s||te},{resolve:function(e){return E(s&&this===a?k:this,e)}}),l({target:L,stat:!0,forced:ne},{all:function(e){var t=this,n=S(t),i=n.resolve,r=n.reject,a=F((function(){var n=f(t.resolve),a=[],o=0,l=1;v(e,(function(e){var s=o++,C=!1;a.push(void 0),l++,n.call(t,e).then((function(e){C||(C=!0,a[s]=e,--l||i(a))}),r)})),--l||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=S(t),i=n.reject,r=F((function(){var r=f(t.resolve);v(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},e893:function(e,t,n){var i=n("5135"),r=n("56ef"),a=n("06cf"),o=n("9bf2");e.exports=function(e,t){for(var n=r(t),l=o.f,s=a.f,C=0;C {\n if (this.EVENT_NAMES.includes(eventName)) {\n // Filter through the provided events list, then register it to zingchart.\n window.zingchart.bind(this.chartId, eventName, result => {\n this.$listeners[eventName](result);\n });\n }\n });\n\n // Render the chart\n window.zingchart.render(this.renderObject);\n\n // Apply all of ZingChart's methods directly to the Vue instance\n this.METHOD_NAMES.forEach(name => {\n this[name] = args => {\n return window.zingchart.exec(this.chartId, name, args);\n };\n });\n },\n resize() {\n this.$el.style.width = this.$props.width;\n this.$el.style.height = this.$props.height;\n window.zingchart.exec(this.chartId, 'resize', {\n height: this.$props.height,\n width: this.$props.width,\n });\n }\n },\n watch: {\n data: function() {\n if(this.forceRenderOnChange) {\n this.renderObject.data = this.chartData;\n window.zingchart.render(this.renderObject);\n } else {\n window.zingchart.exec(this.chartId, 'setdata', {\n data: this.chartData,\n });\n }\n },\n height: function() { this.resize() },\n series: function() {\n window.zingchart.exec(this.chartId, 'setseriesdata', {\n data: this.chartData.series,\n });\n },\n width: function() { this.resize() },\n }\n});\n\n// CONCATENATED MODULE: ./ZingChart.vue?vue&type=script&lang=js&\n /* harmony default export */ var ZingChartvue_type_script_lang_js_ = (lib_vue_loader_options_ZingChartvue_type_script_lang_js_); \n// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n// CONCATENATED MODULE: ./ZingChart.vue\n\n\n\n\n\n/* normalize component */\n\nvar component = normalizeComponent(\n ZingChartvue_type_script_lang_js_,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* harmony default export */ var ZingChart = (component.exports);\n// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js\n\n\n/* harmony default export */ var entry_lib = __webpack_exports__[\"default\"] = (ZingChart);\n\n\n\n/***/ })\n\n/******/ })[\"default\"];\n//# sourceMappingURL=zingchartVue.common.js.map","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line no-throw-literal\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar bind = require('../internals/function-bind-context');\nvar html = require('../internals/html');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar location = global.location;\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\n\nvar run = function (id) {\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(id + '', location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n typeof postMessage == 'function' &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n }\n};\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.8.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","/*\nAll of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied,\nreplicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the\nZingChart End User License Agreement which can be requested by email at support@zingchart.com.\n\nBuild 2.9.2_ES6\n*/\nif(typeof(ZC)===\"undefined\"){window.ZC={AV:function(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,a=e.length;i2048&&(ZC.cache.data={},ZC.cache.size=0)}},DEBUG:0,TS:{},MAX:Number.MAX_VALUE,IMG404:[],BLANK:\"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==\",TTLOCK:!1,REFRESH_TICK:{},ASYNC_TICK:[],COLORS:[],SEQ:0,LOGO_ABOUT:\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAAA1CAYAAABBVQnbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu1JREFUeNrsXLFy4zYQBW9UR7wfSHh1iqMn6S3NxLXlLp3lL5D1ARlLkw+Q/QWiu3TW1Sqk65M5ukh9vPzAUV+gLMilDUMgAYigZUm7MzAliiDBxcPu2+XS3nq9ZiQkdaTF/3iet/UJ/vjr5wKFyz9//7dLKj0u4UboHamBpK54HEm2lgisTwgbH78ucBtDG+LnFKxSTOo9DkvU2rLvBFpH2hcKgFpCI9d2JELujMQNsd5CRFdVWKRU2G/syv7+hQWw6ePX6Nd/WELTcgScyGV0BiDqCG6wCyBa0rRQdEZC7sxaxri1ckNggRYKcr6A/ZlVA4tExPxYQAQubERqJBDtSu6hfYb2k0isoX2ztWoke06s6woRayLWJCQ5kkhIyBKR7FQIRCQEIpJjCPFn/xWR15D1fqTyEALRVtLBrU/qJhDZWB8OmFDaG8J+vk3JIhGITEQsUCtkgtslo4K1wwMRxPoBbAIXJ/Q8b3mQmpqvevD3VGFhuVV95PaXnbXTkr6h5M7j0mP3UDxMNo6g3TgCkSe5tiKb2QU3ttxD8PRRN7pFxkFxB+AYKc4hVyx04biDWGx1aqwPX+Yrbjmm0HqGPfwMbPPVOYIkPRA9yAZmYwG8Boi6gtnfJ1koXBeXhD1XGagDCN53vuoeksvabYi/ny5sogAHv4/xhhvK+c5UOj7E1Ts8BhC5zljv/8qbrzh3uZb2RgAeNY85a8dobWVLe40u8TgsEXDhEZJrHYnq46rTuS4XhK0nrW7uQmYw1lTTL5R4jFE/QQYK91VtUbjbmq8u4NNX2Q6zvNCuind1hPtMMot31k4MwB5iv0CylvaRXz6O3tO5VMGBLjozKUrDyVmw8szzFZwnEo5X1VA/RW9rdQ3KGBUxLYmGuHKG4nWk8aleqiz6XSFA5N/HuIgKZX6X7wuUGhlOxoME4FvoO1RGZ88uT6XPKAOuCgxm0aK6/8txLDPrukmci/EtDO54vP7th1HL0CpYAaiGnGtSDVnEBONJ4Xozi/Hx/Q9MX3bb2wCfKYByGWZhvt69T0pIeyF9/P1EAsGUPZcSM03/Hhx/UmnVcu533TixhgnyNRM0dgQgplGsPAkzYXwPzOzZnC7X81FBps0ln7DE4j7FFz7lhGSYWZ0CxLkF6pdEiin27WykHHILXKaLTuPRmQGAoidX8LoScOsD145xJQUVRD+2UJYM4scG7+Gly8ldqZxWOBc41UBB9q8UPEmcr54GRIXwBXn/ZDnzAMIzyhNVVTYKAAorAHTVgHL5pHOS+gEVkGqUcFnmWmB876F18Vzb5KmaijbjDAAiZ8k/jxVuWAXwZANAz5HirKR/mfBxXECbZeDYIpPe0riMsGKim8qBXMDEFy4hQv6tighD+C0usUJLOMetQOYTOFYVPe0KRHcl7nAGK98k8k0dUIKCXNemIq0SK1RF4LK8iEXIbCMzAUCi37flOJ8UUWGCoLNRctAQiBLrHioLkbvAIswP0CoHtcFcF0Sg6FEFgNIGAeSSg8RbWhZ5ctuW+ZZAmsQUXYwbyUHTR67kghQvnYMIk4k3OwKQS/Edgdh2omT9RRXE1hZAfaQYvmbx+MbWyNGzvXcSgKYaAL21h6hpRb5JFSiEliszxIjHVE6l798cAShQAChBIt7N8klnbQ/aCdvBK+hFUVqR7S1l8G8QQJznxCUvX/Zg/5005onWQnHXM18l0kq+wWjRZKI7TbgLtHD+i5CcR1RvRAp3VpUL4qt9AJMyMDznvcPkoxEZZ5uZ5iw9AWPm41ihhTB1TWPJIvdeJP3KZbrBr9wVnn20IMTBrkDka/iFDTf4/Mr3cMfUhWN83PYpfQ6W+epSuudpRmrP2rclZFf1zG7cIMfzS6zh9SuAyLfJE+2F8JpusDi3zMEzINF9Q/siKWwCkzRAy/coWIi+QrFO8i/SwpRBHeB1YixfuVRG1TmnSxwWyN0IJS7c9S8PojwWgDREblQFpIiZPi/iz8B4ZeKmmw8MwBobcSg7iaSoz3/isOXJyUK+sHpv2CQbwcaz686qLg7mNWoOJJY/9b5FpaWogBlGlnahdp7f+WBJjiPWRH11/mDXZPwp3r/La0dM88io1YD/LpR+r+FHY4MQWwxllcdiZClai09I7uPapDMHQ1dwFx3FORIcy11FYlHWRWKol0Tiavz8A+SAvgCcGK8xwwI50SqLlQK6OSmTLrrKU+m6yyJ/stcWCMb/sFaLLx3XKTmuZ31RzkdyTnL0khU17vrf7Tm4iT5TJ0kTXHlc2iUEmBe3vSco1APRIVgiH9rX9XbSJxgQiIob4WUh3y0BNCEIEIhUFmlqACbOoTo0/cSJtJZJwX8O959NvAUQkZDUkf8FGADBt38P1SQKxwAAAABJRU5ErkJggg==\",IMAGES:{\"zc.logo\":\"data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAA8CAYAAABbyDl1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACGZJREFUeNrsXF9oFEccno2XRE1SI9ZQLcY0oIW21miQKoi5UPtiK7m+1GKhuWDrg7Z4+lILihGF6oueUH2w2pwFxT71gtonWy9SUJDEmKK0CvGikGtjg4mJ5p9xOt8mt5ndm93bTfaS3DkfLGxu525nZ779/b7vN6MKpZRISDhBlhwCCafwTLcO/XchRDsvhtTzeR/5yasb/YqcJkkaSwzGoqS3sUE9Lyj3yhmS6Uki4yNN7PFftH+oRz1/o2iVTBMSKhQr9/Tj7zU0+uiGel5TWZcS4vAaRk1P7VGWotrU85wFi0nOwhLtmtQ4UtMkaJjEa20agaTGkZpGIlPS0/2OGzTacUP7++b9MOl61q6el5VUkbl5r2vXKt/Z5lqa6GmMaJ3ovBAinRfPjKajajJvo5+PNDI1Tbf0BMJcuX1C2LA5Wq/7m5HGtU7wZOAJBD0jiSLTk0SmRZqSolWkkmyzlZ4kpKaZMsttpXFkapKWe1waR0JqGolMT09yGUHCMWkkJGR6kpCkkZCkkZCkkZCkkZCQpJGQpJGQpJF4yUnj/aOD4pDDnRmYlAXLhs4BOdIy0ki8zEjZ2hPSkVmEqZiXSyJri+QCaCakp9pTZyfMoNovPssYMjT3DNPI4+ck/Oh5wrVCj0J88z3EvzDH9HlrWwe08awtzc2YcdEiTaSphVZu/3bCP3jl+HfEu/Jd3QAp9Q/Vm9CqRWkzcP7bffRMbChpuznstfMvyCHBN2fqno2RjVY2Phsbl/LZxDvXM+2fH/3WsoVJfz1EIiG6+G49I2399oJuNwtCxx4OksJshWZCNDEQnYqIMymkgYZJFxgJs5gFkEBxDikrmKF91jVE1ZTFR6L9rQOkZKZCrdKVtNxOQl6aiF5GGMoTpnpBNgm9PUvYd19RNtMz2WpU6h6VPIG7/dA4L48Qhg5heiRpTG6+20p2HvtBeK16w/sJeiZdgFxezwleaBUzwvA5n6UkuvPugJaqoIWSfS+jIo2dCfd9c1BIrIoVy0ho7y7t+6FLlyk7dG3KlpaSYGCr2sa7bTe1e02977rVJPCpz7R/4YZrNHz1GonGOsYcTkEe8W9YT3wVaxSr+wHBB4N651NqL6UGinMV9l0tQsFtOXVkcGK4H0uBwucLPhigzT0vSLT/hdDFeefOUPthvBZqH6TR0X6hDUge7hiiIZZWu5jebXg8rAr0aB9+O3FaQ+1D7HmGKf99x+mp7POvaHfv04TPly95g0ROHNJ1Ohr7lzTc/NP0t0TXQLRA8CQR3QPta0+fo5HjhzDhip7IB2j91evC++DzfVs2U6u+qO24SRzRMfZFbXj5bHUSrAAdVHa9l97qfWF6/5vv5VEjcQJ/91MI7WR9j/ZRanRwIAeIoYKRkpGDIoV2G3ita8dB5x7Z9xlp1NMsJ4S5de++kDDNP30/4XAMkpkRRnMq7BojiP4tPB82JYwmUk+fs20zVRLOz3bUd0w03sL4IbTwd/qIGWF4EW6s8yQjTBxox9eFBBGO1NxJJEzKhLAZYebk57lCGKDtnw7b7ZCKkHLUgU1CCHt6ZtigVWa4rgMwWSJhzUcfpDikDyayldG0pLWrmu9BRFOs6klob5ZW45EUUZQX6yB5pHyMBsrlJzRZbSkpafwHjpgSBqnCTeA3Q3t2qlpEDfssghz7uT7xrbnXCp2CyJSQLhe/VkTCh/dqKYwJd+o/eISInsEMhdnu61hMlkggN6/OV/iJamYE8hWNRD8+KogIo6YW9puMNDROzGSFyOjaAiWlkQaEOfPrb6aEMWqLiSKwqYrEI8ioMAdpTENupKklsc8frtf1C+dM8LpS7Z4I7AprPgKguBYXu2aA2LX7m8GlM1Nbp8FbLCKMyvrDe1wnjDqwgnUruDIzESuKHqLfGHWFU7qfp2SW8w0FVssOiETQKUzH2IviWO5wqfAoJA1cjCgtAHUsfaRrLcZ0QvWmQ9U4cadgB7DRvHtyc40JGgf2PG63RS7HplhPTZ0mTpiag0dNCcPCf8YVrowDijfYCZgY1Tkjuv4VdyIvc0P7TSIJNBKIDTKNl0jjRZaxQGZGmH1bNk87wkD0iop8dj4zWuY5HnHNxg54wlS45LyQfnjCwD3BzTBCKjggaCGCnURE10kz4jLEhMHywHTcJ4OqbsLbefqsrc8SNFyxXqh6G5/a0kBGIVqW7w5p+Ap13G5Pl60VY2tP23ebFtYgiNlhaxARkSaLYL51a4ixsAdxXPjBJ7RsSalmz60Khpy7UVCuj9tWhHxUY41VVkEK0U92kvZ2oddI5kTsGqJTF2nsDOx0A9KlKEXhWeC4cDh5LqMtRpUVxDFLH4WRJ7pV8R2LUrPCjXUn00gXG0zZ+JoRMu03lkd/qVNQN7LC0R1f2qsTFecq+wTEATmQruIHqrjYrMQX05bnZ7kWZUYd2Fikjw2p6RJOCmTFgUow+mUs6KHNRO7LazssfcSfmU/DGfGvEVBorFq3Wnhtx6Yqy9VxUZqqe0tfBMPEIF3FD+MaEpYHUNl1tWbF+sFPIO77cUufurMOB4iEfoGsPNDGag0qacrn1t345+ZXwTNiuycKjVg6UAnU1DK2x3Wc9SQUwZijotArVk4Kk4qU5mRF3NHLUJ5HzPoAy417o6+IBG7ZbjiyQo9iuVCa1v99GggSadJXi70rlyWQBc5wRfXX4xbsoje3ZGThb9LcDL8Sj2UF4xYKOxvCXXdPaalnYh0J2x5Cl4qgc/RaJXhS6LycpIqpftZkRJhMO572/1Ej7LVT54f1LOOmMYlxWO50RTCw1Zk7YE7L6XckMizSxLVN7alzJNmWTuwyDO3ZlZIVekmadI4858O0S5CuoGEkWSRpJKSmkUgX/C/AAC1LYqunMJ6bAAAAAElFTkSuQmCC\"},hosted:!1,adapter:\"\",flash:null,canvas:null,svg:null,vml:null,move:!1,objmove:!1,compat:function(){ZC.flash=ZC.canvas=ZC.svg=ZC.vml=!1;var e=!!document.createElement(\"canvas\").getContext,t=!1;e&&(t=\"function\"==typeof document.createElement(\"canvas\").getContext(\"2d\").fillText);ZC.canvas=e&&t,ZC.svg=document.implementation.hasFeature(\"http://www.w3.org/TR/SVG11/feature#BasicStructure\",\"1.1\");var i=document.body.appendChild(document.createElement(\"div\")),a=document.createElement(\"zcv:shape\");a.className=\"zcvml\",a.setAttribute(\"id\",\"vml_flag1\"),a.setAttribute(\"adj\",new Object),i.appendChild(a),a.style.behavior=\"url(#default#VML)\",ZC.vml=!a||\"object\"==typeof a.adj,i.parentNode.removeChild(i);var n=!1;navigator.mimeTypes&&navigator.mimeTypes[\"application/x-shockwave-flash\"]?n=navigator.mimeTypes[\"application/x-shockwave-flash\"].enabledPlugin:document.all&&-1===navigator.appVersion.indexOf(\"Mac\")&&(n=new Function('try { var xObj = new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\");if (xObj) { xObj = null; return true; } } catch (e) { return false; }')()),ZC.flash=n?1:0},quirks:!(document.compatMode&&\"CSS1Compat\"===document.compatMode),ie67:!!/MSIE (\\d+\\.\\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<8,ie678:!!/MSIE (\\d+\\.\\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<9,mobile:/Mobile|BlackBerry|Opera Mini|PPC|Windows CE|Android/.test(navigator.userAgent),ipad:/iPad/.test(navigator.userAgent),iphone:/iPhone/.test(navigator.userAgent),websockets:\"WebSocket\"in window,webstorage:\"sessionStorage\"in window,RV:[],X5:[],DW:[0,0],ACR:null,_cp_:function(e,t,i,a,n,l){null===ZC._n_(i)&&(i=!0),null===ZC._n_(a)&&(a=!0),null===ZC._n_(n)&&(n=!1);var r=(l=l||[]).length;for(var o in e)if(0===r||r>0&&-1===ZC.AV(l,o))if(e[o]instanceof Array){if(a){(null===ZC._n_(t[o])||\"override\"!==o&&!n)&&(t[o]=[]);for(var s=0,C=e[o].length;s0&&-1===ZC.AV(i,r))){var o=r.substring(0,1);if(\".\"!==o&&\"#\"!==o)if(e[r]instanceof Array)if(ZC.V1(r)!==r){for(e[ZC.V1(r)]=[],a=0,n=e[r].length;a=(e=e.charCodeAt(0)+13)?e:e-26)})},ACI:function(e,t){var i=ZC.XM(ZC.ACC(e)),a=ZC.XM(ZC.A2K(t)),n=i.length;if(0===n)return\"\";for(var l,r,o=i[n-1],s=i[0],C=2654435769,A=Math.floor(6+52/n)*C;0!==A;){r=A>>>2&3;for(var Z=n-1;Z>0;Z--)l=((o=i[Z-1])>>>5^s<<2)+(s>>>3^o<<4)^(A^s)+(a[3&Z^r]^o),s=i[Z]-=l;l=((o=i[n-1])>>>5^s<<2)+(s>>>3^o<<4)^(A^s)+(a[3&Z^r]^o),s=i[0]-=l,A-=C}return decodeURIComponent(ZC.ACA(ZC.A6H(i)))},AED:function(e,t){e=encodeURIComponent(e);var i=ZC.XM(ZC.A2K(e)),a=ZC.XM(ZC.A2K(t)),n=i.length;if(0===n)return\"\";1===n&&(i[n++]=0);for(var l,r,o=i[n-1],s=i[0],C=Math.floor(6+52/n),A=0;C-- >0;){r=(A+=2654435769)>>>2&3;for(var Z=0;Z>>5^(s=i[Z+1])<<2)+(s>>>3^o<<4)^(A^s)+(a[3&Z^r]^o),o=i[Z]+=l;l=(o>>>5^(s=i[0])<<2)+(s>>>3^o<<4)^(A^s)+(a[3&Z^r]^o),o=i[n-1]+=l}return ZC.ACB(ZC.A6H(i))},XM:function(e){for(var t=new Array(Math.ceil(e.length/4)),i=0;i>>8&255,e[i]>>>16&255,e[i]>>>24&255);return t},ACB:function(e){for(var t=\"\",i=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"a\",\"b\",\"c\",\"d\",\"e\",\"f\"],a=0;a>4]+i[15&e[a]];return t},ACC:function(e){for(var t=[],i=\"0x\"===e.substr(0,2)?2:0;ii?i:e},DS:function(e,t,i,a){return a?tt[0].length?-1:0},ZW:function(e){window.setTimeout(e,zingchart.TIMEOUT)},_fixed_:function(e,t){return t>=0&&t<=20?e.toFixed(t):\"\"+e},_nfind_:function(e,t,i,a){var n=t.R[i].BU,l=t.R[a].BU;if(e==n)return i;if(e==l)return a;var r=ZC._i_((i+a)/2);if(!t.R[r]){for(;!t.R[r]&&ri;)r--;if(r===i)return null}}var o=t.R[r].BU;return r!==i&&r!==a?e==o?r:e>o?ZC._nfind_(e,t,r,a):ZC._nfind_(e,t,i,r):e==o?r:null},_tx_:function(e){var t,i,a,n,l=[1,1,0,0];if(zingchart.DEV.LOOKUPCSSTRANSFORM&&!ZC.vml&&ZC.AK(e)){var r=ZC.AK(e);for(t=\"\";r&&(\"\"===t||\"none\"===t);)t=ZC.A4(r).css(\"transform\")||\"\",r=r.parentNode;-1!==(i=t.indexOf(\"matrix(\"))&&(a=t.indexOf(\")\",i),n=t.substring(i+7,a-i).split(\",\"),l=[ZC._f_(n[0]),ZC._f_(n[3]),ZC._f_(n[4]),ZC._f_(n[5])])}return l}},ZC.hasPassive=!1,ZC.SEC=1e3,ZC.MIN=60*ZC.SEC,ZC.HR=60*ZC.MIN,ZC.DAY=24*ZC.HR,ZC.MON=30*ZC.DAY,ZC.YR=365*ZC.DAY,ZC.MAPTX=0,window.JSON=window.JSON||{},JSON.stringify=JSON.stringify||function(e){var t=typeof e;if(\"object\"!==t||null===e)return\"string\"===t&&(e='\"'+e.replace(\"\\\\\",\"\\\\\\\\\").replace('\"','\"')+'\"'),String(e);var i,a,n=[],l=e&&e.constructor===Array;for(i in e)\"function\"!=typeof e[i]&&(\"string\"===(t=typeof(a=e[i]))?a='\"'+a.replace(\"\\\\\",\"\\\\\\\\\").replace('\"','\\\\\"')+'\"':\"object\"===t&&null!==a&&(a=JSON.stringify(a)),n.push((l?\"\":'\"'+i+'\":')+String(a)));return(l?\"[\":\"{\")+String(n)+(l?\"]\":\"}\")},JSON.parse=JSON.parse||function(L0){return\"\"===L0&&(L0='\"\"'),eval(\"(\"+L0+\")\")},ZC._=[\"background-color\",\"angle-start\",\"angle-end\",\"graphid\",\"line-width\",\"values\",\"-node-area zc-node-area\",\"placement\",\"slice\",\"value\",\"labels\",\"series\",\"decimals\",\"thousands-separator\",\"decimals-separator\",\"-print-c\",\"graphset\",\"value-box\",\"outer\",\"width\",\"height\",\"size\",\"-hover-c\",\"enable-guide\",\"zc-abs zc-layer\",\"exponent-decimals\",\"3d-aspect\",\"x-angle\",\"y-angle\",\"z-angle\",'\" coords=\"',\"undefined\",\"~rgba(255,255,255,0)\",\"~rgb(255,255,255)\",\"-node-area \",\"-plotset-plot-\",\"http://www.w3.org/2000/svg/",\"http://www.w3.org/1999/xlink/",\"skip_context_menu\",\"skip_segment_tracking\",\"skip_marker_tracking\",\"skip_interactivity\",\"use_fast_mode\",\"use_fast_markers\",\"use_single_canvas\",\"If-Modified-Since\",\"Thu, 1 Jan 1970 00:00:00 GMT\",\"mousedown\",\"mousemove\",\"mouseup\",\"scale-x\",\"scale-y\",\"scale-v\",\"preservezoom\",\"toggle-action\",\"enable-animation\",\"enable-preview\",\"margin-top\",\"margin-right\",\"margin-bottom\",\"margin-left\",\"border-color\",\"border-width\",\"Network error\",\"URL Data loader\",\"loader.gui.context-menu\",\"-menu-item-exitfullscreen\",\"transform-date-format\",\"transform-date\",\"bg-image-width\",\"bg-image-height\",\"hover-state\",\"background-state\",\"selected-state\"];class ZCClass{}if(ZC.ABB=function(e){this.G=e,this.A9S=function(e,t){var i,a=this,n=a.B8.palette;if(null!==ZC._n_(t)&&null!==ZC._n_(n[t])&&(n=n[t]),null!==ZC._n_(n[e])){var l=n[e];return null===ZC._n_(l[2])&&(l[2]=ZC.AP.R0(l[1],10)),null===ZC._n_(l[3])&&(l[3]=ZC.AP.R0(l[1],10)),l}var r=[\"#00BAF2\",\"#E80C60\",\"#E2D51A\",\"#9B26AF\",\"#FB301E\",\"#00AE4D\",\"#20398B\"];i=null!==ZC._n_(r[e-a.B8.palette.length])?r[e-a.B8.palette.length]:\"#\"+ZC.Y7.md5(e).substr(e%20,6);var o=ZC.AP.R0(i,10),s=ZC.AP.R0(i,20),C=\"#FFF\";return a.B8.palette&&a.B8.palette[0]&&a.B8.palette[0][0]&&(C=a.B8.palette[0][0]),[C,i,o,s]},this.A4R=function(e){e&&ZC._cp_(e,this.B8,!0)},this.ABG=function(e){var t=this;null!==ZC._n_(t.O6[e])&&(ZC._todash_(t.O6[e]),ZC._cp_(t.O6[e],t.B8))},this.O6={},ZC._cp_(zingchart.THEMES,this.O6),this.O6.classic={palette:[[\"#fff\",\"#6a921f\",\"#a7da47\",\"#89b92e\"],[\"#fff\",\"#007fa3\",\"#00b0e1\",\"#0392bb\"],[\"#fff\",\"#a62b02\",\"#ef4810\",\"#cc3300\"],[\"#fff\",\"#b79007\",\"#f9c332\",\"#da9b04\"],[\"#fff\",\"#563d02\",\"#84680a\",\"#6e4503\"],[\"#fff\",\"#0b32a0\",\"#4d62b1\",\"#1540a0\"]],graph:{refresh:{curtain:{alpha:.5,\"background-color\":\"#999\",color:\"#000\",\"font-size\":15,bold:1,text:\"Loading...\"}},\"background-color\":\"#e1eaec #edf3f5\",title:{\"font-size\":14,bold:1,color:\"#fff\",\"background-color\":\"#00bbf1 #05a0cd\",padding:6},subtitle:{\"font-size\":11,bold:1,color:\"#333\",\"margin-top\":30,padding:6},source:{\"font-size\":10,color:\"#333\",width:\"100%\",bold:1,\"text-align\":\"right\",height:20,margin:\"auto 0 0 auto\",padding:5},nodata:{\"font-size\":12,color:\"#333\",\"text-align\":\"center\",\"vertical-align\":\"middle\",text:\"\"},SCALE:{\"font-size\":11,\"line-width\":2,\"line-color\":\"#3e6c7b\",item:{flat:!0},\"ref-line\":{\"line-width\":1,\"line-color\":\"#3e6c7b\"},guide:{visible:1,\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#2c4a59\",alpha:.2},\"minor-guide\":{visible:1,\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#aaa\",alpha:.1},tick:{visible:1,size:6,placement:ZC._[18],\"line-width\":2,\"line-color\":\"#3e6c7b\"},\"minor-tick\":{visible:1,size:4,placement:ZC._[18],\"line-width\":1,\"line-color\":\"#3e6c7b\"},label:{color:\"#2c4a59\",flat:!0}},\"scroll-x\":{bar:{height:16},handle:{height:16}},\"scroll-y\":{bar:{width:16},handle:{width:16}},legend:{\"background-color\":\"#fff\",\"border-width\":1,alpha:.75,\"border-alpha\":.75,\"border-color\":\"#666\",\"shadow-distance\":3,header:{padding:\"4 6\",color:\"#fff\",\"border-width\":1,\"border-color\":\"#3e6c7b\",\"background-color\":\"#3e6c7b\"},footer:{padding:\"2 6\",\"background-color\":\"#ccc\",\"border-width\":1,\"border-color\":\"#666\"},marker:{\"border-color\":\"#333\",\"border-width\":1}},plot:{\"value-box\":{flat:!0},marker:{shadow:1,\"line-width\":1,\"border-width\":1},\"hover-marker\":{\"line-width\":1,\"border-width\":1}},guide:{\"line-width\":1,\"line-color\":\"#999\",alpha:1,\"scale-label\":{text:\"%l\",padding:\"3 6\"},\"plot-label\":{padding:\"3 6\"}}},line:{plot:{\"shadow-alpha\":.5,marker:{size:4},\"hover-marker\":{size:5}}},area:{plot:{\"shadow-alpha\":.5,marker:{size:4},\"hover-marker\":{size:5}}},vbar:{plot:{\"fill-angle\":90,shadow:0}},hbar:{plot:{\"fill-angle\":180,shadow:0}},piano:{plotarea:{\"mask-tolerance\":[0,0]},plot:{shadow:0}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0}},hbullet:{plot:{\"fill-angle\":0,shadow:0}},scatter:{plot:{marker:{size:4},\"hover-marker\":{size:5}}},hscatter:{plot:{marker:{size:4},\"hover-marker\":{size:5}}},bubble:{plot:{marker:{\"border-width\":0},\"hover-marker\":{\"border-width\":0}}},hbubble:{plot:{marker:{\"border-width\":0},\"hover-marker\":{\"border-width\":0}}},pie:{plot:{\"border-width\":1}},nestedpie:{plot:{\"border-width\":1}},radar:{plot:{marker:{size:3},\"hover-marker\":{size:4}},\"scale-k\":{guide:{alpha:.5,\"background-color\":\"#eee #ddd\"}}},gauge:{\"scale-r\":{\"background-color\":\"-1\",guide:{alpha:.5,\"background-color\":\"#eee #ddd\"},item:{\"offset-r\":0},ring:{size:1,items:[{\"background-color\":\"#999\",alpha:.8},{\"background-color\":\"#666\",alpha:.8}]}}},vfunnel:{plotarea:{margin:\"50 100\"},SCALE:{\"line-width\":0,tick:{\"line-width\":0},\"minor-tick\":{\"line-width\":0},guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0}},\"scale-y\":{guide:{alpha:.25,\"background-color\":\"-1 #58595B\"}},\"scale-y-n\":{guide:{alpha:.25,\"background-color\":\"-1 #58595B\"}},plot:{\"border-width\":1}},hfunnel:{plotarea:{margin:\"50 100\"},\"scale-x\":{label:{\"font-angle\":270}},\"scale-x-n\":{label:{\"font-angle\":90}},SCALE:{\"line-width\":0,tick:{\"line-width\":0},\"minor-tick\":{\"line-width\":0},guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0}},\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"},guide:{alpha:.25,\"background-color\":\"#58595B -1\"}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"},guide:{alpha:.25,\"background-color\":\"#58595B -1\"}},plot:{\"border-width\":1}},range:{plot:{marker:{type:\"circle\",size:4},\"hover-marker\":{size:5}}},line3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":0,\"line-width\":1}},area3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":0,\"line-width\":1}},mixed3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":1}},vbar3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":1}},hbar3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":1}},pie3d:{plot:{\"border-width\":1}},\"-\":\"\"},this.O6.light={palette:[[\"#fff\",\"#29A2CC\",\"#29A2CC\",\"#1089B3\"],[\"#fff\",\"#D31E1E\",\"#D31E1E\",\"#BA0505\"],[\"#fff\",\"#7CA82B\",\"#7CA82B\",\"#638F12\"],[\"#fff\",\"#EF8535\",\"#EF8535\",\"#D66C1C\"],[\"#fff\",\"#A14BC9\",\"#A14BC9\",\"#8832B0\"],[\"#fff\",\"#A05F18\",\"#A05F18\",\"#874600\"],[\"#fff\",\"#265E96\",\"#265E96\",\"#0D457D\"],[\"#fff\",\"#6B7075\",\"#6B7075\",\"#52575C\"],[\"#fff\",\"#96C245\",\"#96C245\",\"#7CA82B\"]],graph:{refresh:{curtain:{alpha:.5,\"background-color\":\"#999\",color:\"#000\",\"font-size\":15,bold:1,text:\"Loading...\"}},\"background-color\":\"#ffffff\",title:{\"font-size\":21,bold:1,color:\"#414042\",\"background-color\":\"none\",padding:6},subtitle:{\"font-size\":11,bold:1,color:\"#414042\",\"margin-top\":30,padding:6},source:{\"font-size\":10,color:\"#414042\",width:\"100%\",bold:1,\"text-align\":\"right\",height:20,margin:\"auto 0 0 auto\",padding:5},nodata:{\"font-size\":12,color:\"#333\",\"text-align\":\"center\",\"vertical-align\":\"middle\",text:\"No Data\",\"background-color\":\"#BBBBBB\",alpha:.8},SCALE:{\"font-size\":11,\"line-width\":1,\"line-color\":\"#8C8C8C\",item:{\"font-size\":12,flat:!0,color:\"#808285\"},\"ref-line\":{\"line-width\":1,\"line-color\":\"#D1D3D4\"},guide:{visible:1,\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#DCDCDC\",alpha:1},\"minor-guide\":{visible:1,\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#aaa\",alpha:.1},tick:{visible:1,size:5,placement:ZC._[18],\"line-width\":1,\"line-color\":\"#8C8C8C\"},\"minor-tick\":{visible:1,size:3,placement:ZC._[18],\"line-width\":1,\"line-color\":\"#A7A9AC\"},label:{color:\"#414042\",flat:!0}},\"scale-x\":{normalize:!0,guide:{visible:!1}},scroll:{bar:{\"background-color\":\"#F0F1F1\",margin:1},handle:{\"background-color\":\"#A7A9AC\",\"border-radius\":6}},\"scroll-x\":{bar:{height:16,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"},handle:{height:10,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"}},\"scroll-y\":{bar:{width:16,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"},handle:{width:10,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"}},\"scroll-xi\":{bar:{width:16,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"},handle:{width:10,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"}},\"scroll-yi\":{bar:{height:16,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"},handle:{height:10,\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"}},preview:{\"background-color\":\"#fff\",\"border-width\":1,\"border-color\":\"#A7A9AC\",live:!0,mask:{\"background-color\":\"#999\"},active:{alpha:0},handle:{width:11,\"border-width\":2,\"border-radius\":3,\"line-color\":\"#C6C6C6\",\"border-color\":\"#A7A9AC\",\"background-color\":\"#F0F1F1\"},\"handle-top\":{height:11},\"handle-bottom\":{height:11}},tooltip:{shadow:1,\"shadow-angle\":45,\"shadow-distance\":1,\"shadow-alpha\":.25,\"border-width\":1,\"border-color\":\"#fff\",\"border-alpha\":1},zoom:{\"preserve-zoom\":1,\"background-color\":\"#929497\"},legend:{\"background-color\":\"#fff\",\"border-width\":1,shadow:0,\"shadow-alpha\":.2,alpha:1,\"border-alpha\":1,\"border-color\":\"#cccccc\",header:{padding:\"5 0 5 10\",color:\"#222222\",\"background-color\":\"none\",\"border-width\":0,\"border-top\":\"0px solid none\",\"border-bottom\":\"1px solid #cccccc\"},footer:{padding:\"5 0 5 10\",\"border-top\":\"1px solid #cccccc\"},shader:{\"background-color\":\"#F0F1F1\",\"line-color\":\"#C6C6C6\",margin:2,height:8,\"line-width\":2,\"line-style\":\"dotted\"},icon:{\"line-color\":\"#C6C6C6\",\"line-width\":2,style:\"small\"},marker:{\"border-color\":\"#fff\",\"border-width\":1},\"page-on\":{\"background-color\":\"#929497\"},\"page-off\":{\"background-color\":\"#D1D2D3\"},scroll:{bar:{\"background-color\":\"none\",\"margin-top\":3,\"margin-bottom\":3},handle:{\"background-color\":\"#D1D2D3\",\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\",\"border-radius\":6,width:12,height:12}}},plot:{\"value-box\":{flat:!0},marker:{shadow:0,\"line-width\":1,\"border-width\":1,\"border-color\":\"#fff\"},\"hover-marker\":{\"line-width\":1,\"border-width\":1},monotone:!0},guide:{\"line-width\":1,\"line-color\":\"#8C8C8C\",alpha:1,\"scale-label\":{text:\"%l\",padding:\"3 6\"},\"plot-label\":{padding:\"3 6\"}}},line:{plot:{\"line-width\":2,shadow:0,marker:{size:4},\"hover-state\":{},\"hover-marker\":{size:5,\"border-width\":1,\"border-color\":\"#fff\"}}},area:{plot:{\"line-width\":2,shadow:0,\"alpha-area\":.25,\"background-color-style\":\"solid\",marker:{size:4},\"hover-state\":{},\"hover-marker\":{size:5,\"border-width\":1,\"border-color\":\"#fff\"}}},vbar:{plot:{\"fill-angle\":90,shadow:0}},hbar:{plot:{\"fill-angle\":180,shadow:0}},piano:{plotarea:{\"mask-tolerance\":[0,0]},plot:{shadow:0},\"scale-x\":{guide:{visible:!0}}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0,goal:{\"border-width\":1,\"border-color\":\"#fff\",height:8}}},hbullet:{plot:{\"fill-angle\":0,shadow:0,goal:{\"border-width\":1,\"border-color\":\"#fff\",width:8}}},scatter:{plot:{\"line-color\":\"%palatte-0\",\"border-color\":\"%palatte-0\",marker:{size:5},\"hover-marker\":{size:6}},\"scale-x\":{guide:{visible:!0}}},hscatter:{plot:{\"line-color\":\"%palatte-0\",\"border-color\":\"%palatte-0\",marker:{size:4},\"hover-marker\":{size:5}},\"scale-x\":{guide:{visible:!0}}},bubble:{plot:{marker:{\"border-width\":1,\"border-color\":\"#fff\"},\"hover-marker\":{\"border-width\":1,\"border-color\":\"#fff\"}},\"scale-x\":{guide:{visible:!0}}},hbubble:{plot:{marker:{\"border-width\":1,\"border-color\":\"#fff\"},\"hover-marker\":{\"border-width\":1,\"border-color\":\"#fff\"}},\"scale-x\":{guide:{visible:!0}}},pie:{plot:{shadow:0,\"border-width\":1,\"value-box\":{placement:\"in\",\"font-size\":16,text:\"%node-percent-value%\"}}},nestedpie:{plot:{\"border-width\":1}},radar:{plot:{shadow:0,\"line-width\":2,\"background-color\":\"%palette-1\",\"active-area\":!0,marker:{size:4},\"hover-marker\":{size:5,\"border-color\":\"#fff\"}},\"scale-k\":{guide:{\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#8C8C8C\",\"line-segment-size\":6,\"line-gap-size\":6,alpha:1,\"background-color\":\"#fff #F7F8F8\"},tick:{\"line-color\":\"#8C8C8C\",\"line-width\":1,size:10}},\"scale-r\":{},\"scale-v\":{\"ref-line\":{\"line-color\":\"#8C8C8C\",\"line-width\":1},tick:{\"line-color\":\"#8C8C8C\",\"line-width\":1},guide:{\"line-color\":\"#CDCDCD\",\"line-width\":1}}},gauge:{plot:{shadow:0},scale:{\"size-factor\":1},\"scale-r\":{aperture:270,tick:{size:11,\"line-width\":2},\"background-color\":-1,guide:{\"background-color\":\"#fff\"},ring:{size:8,\"background-color\":\"#CDCDCD\"},center:{size:20,\"background-color\":\"#fff\",\"border-width\":6,\"border-color\":\"#1089B3\"}}},vfunnel:{plotarea:{margin:\"50 100\"},SCALE:{\"line-width\":0,tick:{\"line-width\":0},\"minor-tick\":{\"line-width\":0},guide:{\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#CDCDCD\",\"line-segment-size\":6,\"line-gap-size\":6,alpha:1},\"minor-guide\":{\"line-width\":0}},\"scale-x\":{visible:!1,guide:{visible:0}},\"scale-y\":{guide:{\"background-color\":\"-1\",alpha:1}},\"scale-y-n\":{guide:{\"background-color\":\"-1\"}},plot:{\"border-width\":1,\"border-color\":\"#fff\",shadow:0,\"hover-state\":{\"line-color\":\"-1\",\"border-color\":\"-1\"}}},hfunnel:{plotarea:{margin:\"50 100\"},\"scale-x\":{visible:!1,guide:{visible:0},label:{\"font-angle\":270}},\"scale-x-n\":{label:{\"font-angle\":90}},SCALE:{\"line-width\":0,tick:{\"line-width\":0},\"minor-tick\":{\"line-width\":0},guide:{\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#CDCDCD\",\"line-segment-size\":6,\"line-gap-size\":6,alpha:1},\"minor-guide\":{\"line-width\":0}},\"scale-y\":{guide:{\"background-color\":\"-1\",alpha:1},label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"},guide:{\"background-color\":\"-1\"}},plot:{\"border-width\":1,\"border-color\":\"#fff\",shadow:0,\"hover-state\":{\"line-color\":\"-1\",\"border-color\":\"-1\"}}},range:{plot:{\"background-color\":\"%palette-1\",marker:{type:\"circle\",size:4},\"hover-marker\":{size:5}}},line3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":0,\"line-width\":1}},area3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":0,\"line-width\":1}},mixed3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":1}},vbar3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":1}},hbar3d:{SCALE:{\"line-color\":\"#ddd\",tick:{visible:!1}},plot:{\"border-width\":1}},pie3d:{plot:{\"border-width\":1}},venn:{plot:{\"border-width\":0,shadow:0,alpha:.75,\"background-color\":\"%palette-1\"}},root:{gui:{\"context-menu\":{visible:!0,width:\"125px\",padding:\"5 0\",\"background-color\":\"#595959\",\"border-width\":0,\"border-color\":\"#595959\",position:\"left\",button:{visible:ZC.mobile,alpha:0},gear:{\"background-color\":\"#000\",type:\"hamburger\",alpha:1},item:{\"background-color\":\"#595959\",\"text-align\":\"left\",padding:\"4 20 4 15\",\"border-width\":0,\"border-color\":\"#595959\",\"font-size\":\"12px\",color:\"#fff\",\"hover-state\":{\"background-color\":\"#414141\"}},separator:{\"line-width\":1,\"line-color\":\"#969696\"}},\"context-menu[mobile]\":{item:{padding:\"6 10 6 6\"}}}},\"-\":\"\"},this.O6.light.graph[\"crosshair-x\"]=this.O6.light.graph[\"crosshair-y\"]=this.O6.light.graph.guide,this.O6.dark={},ZC._cp_(this.O6.light,this.O6.dark,!0,!0),ZC._cp_({graph:{\"background-color\":\"#221F1F\",title:{color:\"#fff\"},subtitle:{color:\"#fff\"},source:{color:\"#fff\"},SCALE:{\"line-color\":\"#D1D3D4\",item:{color:\"#D1D3D4\"},\"ref-line\":{\"line-color\":\"#D1D3D4\"},guide:{\"line-color\":\"#58595B\"},\"minor-guide\":{\"line-color\":\"#58595B\"},tick:{\"line-color\":\"#D1D3D4\"},\"minor-tick\":{\"line-color\":\"#D1D3D4\"},label:{color:\"#D1D3D4\"}},scroll:{bar:{\"background-color\":\"#6C6D70\"},handle:{\"background-color\":\"#A7A9AC\"}},\"scroll-x\":{bar:{\"border-top\":\"0px solid none\",\"border-right\":\"2px solid #D1D3D4\",\"border-bottom\":\"2px solid #D1D3D4\",\"border-left\":\"2px solid #D1D3D4\"},handle:{\"border-top\":\"none\",\"border-right\":\"none\",\"border-bottom\":\"none\",\"border-left\":\"none\"}},\"scroll-y\":{bar:{\"border-top\":\"2px solid #D1D3D4\",\"border-right\":\"0px solid none\",\"border-bottom\":\"2px solid #D1D3D4\",\"border-left\":\"2px solid #D1D3D4\"}},preview:{\"background-color\":\"#221F1F\"},tooltip:{\"border-color\":\"#000\"},legend:{\"background-color\":\"#221F1F\",header:{color:\"#fff\",shader:{\"background-color\":\"#414042\",\"line-color\":\"#676667\"}},footer:{color:\"#D1D3D4\",\"background-color\":\"#414042\",\"border-top\":\"0px solid none\",\"border-right\":\"2px solid #A7A9AC\",\"border-bottom\":\"2px solid #A7A9AC\",\"border-left\":\"2px solid #A7A9AC\"},shader:{\"background-color\":\"#414042\",\"line-color\":\"#676667\"},icon:{\"line-color\":\"#676667\"},\"page-status\":{color:\"#D1D3D4\"},\"page-on\":{\"background-color\":\"#D1D2D3\"},\"page-off\":{\"background-color\":\"#929497\"},marker:{\"border-color\":\"#000\"},item:{color:\"#D1D3D4\"}},plot:{marker:{\"border-color\":\"#221F1F\"}},guide:{\"line-color\":\"#D1D3D4\",\"scale-label\":{\"background-color\":\"#929497\"},\"plot-label\":{\"background-color\":\"#221F1F\",color:\"#FFF\",\"border-color\":\"#5a5a5a\"}}},line:{plot:{\"hover-marker\":{\"border-color\":\"#221F1F\"}}},area:{plot:{\"hover-marker\":{\"border-color\":\"#221F1F\"}}},vbullet:{plot:{goal:{\"border-color\":\"#221F1F\"}}},hbullet:{plot:{goal:{\"border-color\":\"#221F1F\"}}},bubble:{plot:{marker:{\"border-color\":\"#221F1F\"},\"hover-marker\":{\"border-color\":\"#221F1F\"}}},hbubble:{plot:{marker:{\"border-color\":\"#221F1F\"},\"hover-marker\":{\"border-color\":\"#221F1F\"}}},pie:{plot:{\"border-color\":\"#221F1F\"}},radar:{plot:{\"hover-marker\":{\"border-color\":\"#221F1F\"}},\"scale-k\":{guide:{\"line-color\":\"#58595B\",\"background-color\":\"#221F1F #312F30\"},tick:{\"line-color\":\"#D1D3D4\"}},\"scale-v\":{\"ref-line\":{\"line-color\":\"#58595B\"},tick:{\"line-color\":\"#58595B\"},guide:{\"line-color\":\"#58595B\"}}},gauge:{\"scale-r\":{guide:{\"background-color\":\"#221F1F\"},ring:{\"background-color\":\"#57585B\"}}},vfunnel:{SCALE:{guide:{\"line-color\":\"#58595B\"}},plot:{\"border-color\":\"#221F1F\",\"hover-state\":{\"line-color\":\"#58595B\",\"border-color\":\"#221F1F\"}}},hfunnel:{SCALE:{guide:{\"line-color\":\"#58595B\"}},\"scale-y\":{guide:{alpha:.25,\"background-color\":\"#b6c8cf -1\"}},\"scale-y-n\":{guide:{alpha:.25,\"background-color\":\"#b6c8cf -1\"}},plot:{\"border-color\":\"#221F1F\",\"hover-state\":{\"line-color\":\"#58595B\",\"border-color\":\"#221F1F\"}}},root:{gui:{\"context-menu\":{gear:{\"background-color\":\"#FFF\"}}}},\"-\":\"\"},this.O6.dark,!0,!0),this.O6.dark.graph[\"crosshair-x\"]=this.O6.dark.graph[\"crosshair-y\"]=this.O6.dark.graph.guide,this.O6.mini={graph:{title:{width:\"100%\",padding:\"1 2 2\",\"font-size\":10},subtitle:{width:\"100%\",padding:\"1 2 2\",\"margin-top\":14,\"font-size\":9},plotarea:{width:\"100%\",height:\"100%\",margin:\"18 4 4 4\"},SCALE:{visible:0},tooltip:{shadow:0,\"border-radius\":7},legend:{visible:0},preview:{visible:0},guide:{\"line-width\":1,\"line-color\":\"#ccc\",alpha:1,\"scale-label\":{text:\"%l\",padding:\"3 6\"},\"plot-label\":{\"border-color\":\"#ccc\",\"border-radius\":5,padding:\"3 6\"}},plot:{shadow:0,\"value-box\":{visible:0},\"hover-state\":{visible:0},\"hover-marker\":{visible:0},\"max-trackers\":99999,\"max-nodes\":99999}},line:{plot:{\"line-width\":1,marker:{type:\"none\"}}},line3d:{\"3d-aspect\":{depth:20,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0,zoom:.9}},area:{plot:{\"line-width\":1,marker:{type:\"none\"}}},area3d:{\"3d-aspect\":{depth:20,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0,zoom:.9}},scatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},hscatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},bubble:{SCALE:{offset:15},plot:{marker:{\"fill-type\":\"none\",shadow:!1,alpha:.8},\"min-size\":3,\"max-size\":9}},hbubble:{SCALE:{offset:15},plot:{marker:{\"fill-type\":\"none\",shadow:!1,alpha:.8},\"min-size\":3,\"max-size\":9}},pie:{plotarea:{margin:\"18 4 4 4\"},plot:{\"value-box\":{visible:0}},scale:{\"size-factor\":.95}},pie3d:{plotarea:{margin:\"32 4 4 4\"},plot:{\"value-box\":{visible:0}},scale:{\"size-factor\":1}},nestedpie:{plotarea:{margin:\"18 4 4 4\"},plot:{\"value-box\":{visible:0}},scale:{\"size-factor\":.95}},radar:{plotarea:{margin:\"18 4 4 4\"},plot:{\"line-width\":1,marker:{shadow:0,size:2}},scale:{\"size-factor\":.95}},vbar3d:{\"3d-aspect\":{depth:20,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0,zoom:.9}},hbar3d:{\"3d-aspect\":{depth:20,angle:45,\"x-angle\":0,\"y-angle\":-20,\"z-angle\":0,zoom:.9}},venn:{plotarea:{margin:\"18 4 4 4\"},plot:{\"border-width\":0}},gauge:{plotarea:{margin:\"18 4 4 4\"},plot:{indicator:[5]},SCALE:{visible:1},scale:{\"size-factor\":.9},\"scale-r\":{\"background-color\":\"-1\",aperture:270,tick:{visible:0},item:{visible:0},guide:{visible:0},ring:{size:6,\"background-color\":\"#CDCDCD\",items:[]},center:{\"border-width\":0,size:2,\"background-color\":\"#fff\"}}},vfunnel:{plotarea:{margin:\"18 4 4 4\"}},hfunnel:{plotarea:{margin:\"18 4 4 4\"}},vbullet:{plot:{\"bar-space\":.5,goal:{\"border-width\":0,height:4}}},hbullet:{plot:{\"bar-space\":.5,goal:{\"border-width\":0,width:4}}},range:{plot:{\"line-width\":1,marker:{visible:0},\"hover-state\":{visible:0}}},\"-\":\"\"},this.O6.negative={palette:[[\"#000\",\"#909090\",\"#969696\",\"#9c9c9c\"],[\"#000\",\"#a0a0a0\",\"#a6a6a6\",\"#acacac\"],[\"#000\",\"#b0b0b0\",\"#b6b6b6\",\"#bcbcbc\"],[\"#000\",\"#c0c0c0\",\"#c6c6c6\",\"#cccccc\"],[\"#000\",\"#d0d0d0\",\"#d6d6d6\",\"#dcdcdc\"],[\"#000\",\"#e0e0e0\",\"#e6e6e6\",\"#ececec\"],[\"#000\",\"#f0f0f0\",\"#f6f6f6\",\"#fcfcfc\"]],graph:{\"background-color\":\"#111\",title:{color:\"#fff\"},subtitle:{color:\"#333\"},SCALE:{\"font-size\":11,\"line-width\":2,\"line-color\":\"#ccc\",guide:{visible:1,\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#ccc\",alpha:.2},\"minor-guide\":{visible:1,\"line-width\":1,\"line-style\":\"solid\",\"line-color\":\"#ccc\",alpha:.2},tick:{visible:1,size:6,placement:ZC._[18],\"line-width\":2,\"line-color\":\"#ccc\"},\"minor-tick\":{visible:1,size:4,placement:ZC._[18],\"line-width\":1,\"line-color\":\"#ccc\"},label:{color:\"#fff\"},item:{color:\"#fff\"}}},radar:{\"scale-k\":{guide:{alpha:.5,\"background-color\":\"#222 #333\"}}},\"-\":\"\"},this.O6.spark=this.O6.mini,this.B8={root:{gui:{behaviors:[{id:\"PageScroll\",enabled:\"all\"},{id:\"ViewSource\",enabled:\"all\"},{id:\"BugReport\",enabled:\"none\"},{id:\"LogScale\",enabled:\"none\"},{id:\"LinScale\",enabled:\"none\"},{id:\"FullScreen\",enabled:\"none\"},{id:\"3D\",enabled:\"none\"},{id:\"ExportData\",enabled:\"none\"},{id:\"SaveAsImageJPG\",enabled:\"none\"},{id:\"DownloadCSV\",enabled:ZC.ie678?\"none\":\"all\"},{id:\"DownloadXLS\",enabled:ZC.ie678?\"none\":\"all\"}],watermark:{type:1,position:\"rb\"},history:{margin:\"10 auto auto 10\",width:30,height:22,padding:4,item:{\"background-color\":\"#369\",\"border-width\":1,\"border-color\":\"#69c\"},\"item-off\":{\"background-color\":\"#eee\",\"border-color\":\"#ddd\"}},progress:{\"background-color\":\"#fff\",color:\"#000\"},\"context-menu\":{padding:0,\"border-width\":1,\"border-color\":\"#000\",button:{visible:ZC.mobile,margin:\"5 auto auto 5\",alpha:.8,\"background-color\":\"#333 #999\",\"border-radius\":8,width:40,height:40},gear:{\"background-color\":\"#fff #f6f6f6\",type:\"gear6\",alpha:.8},item:{\"background-color\":\"#36393D\",\"text-align\":\"left\",padding:\"4 20 4 8\",\"border-width\":1,\"border-color\":\"#000\",color:\"#fff\",\"hover-state\":{\"background-color\":\"#0084AA\"}},separator:{\"line-width\":1,\"line-color\":\"#000000\"}},\"context-menu[mobile]\":{item:{padding:\"6 10 6 6\"}}}},palette:[],graph:{title:{width:\"100%\",bold:1,\"font-size\":13},subtitle:{width:\"100%\",bold:1,\"font-size\":11},scroll:{bar:{\"background-color\":\"#e1eaec\",\"border-color\":\"#ddd\"},handle:{\"background-color\":\"#ddd\",\"border-color\":\"#ccc\",\"border-width\":2,\"border-top\":\"2px solid #eee\",\"border-left\":\"2px solid #eee\",\"border-right\":\"2px solid #999\",\"border-bottom\":\"2px solid #999\"}},\"scroll-x\":{bar:{height:16},handle:{height:16}},\"scroll-y\":{bar:{width:16},handle:{width:16}},\"scroll-xi\":{bar:{width:16},handle:{width:16}},\"scroll-yi\":{bar:{height:16},handle:{height:16}},preview:{width:\"100%\",height:50,margin:\"auto 50 20 50\",\"border-width\":1,shadow:0,\"background-color\":\"#f0f0f0\",\"border-color\":\"#999\",mask:{alpha:.5,\"background-color\":\"#333\"},active:{alpha:.1,\"background-color\":\"#999\"},handle:{width:9,height:16,\"border-width\":1,\"line-width\":1,\"line-color\":\"#111\",\"border-color\":\"#444\",\"border-radius\":2,\"background-color\":\"#e6e6e6\"},\"handle-top\":{width:16,height:9},\"handle-bottom\":{width:16,height:9}},\"preview[yx]\":{width:50,height:\"100%\",margin:\"20 auto 50 20\"},plotarea:{width:\"100%\",height:\"100%\",margin:\"60 50 65 50\"},\"plotarea[preview]\":{margin:\"60 50 105 50\"},SCALE:{\"line-width\":1,guide:{\"line-width\":1,\"line-color\":\"#ddd\"},tick:{size:6,\"line-width\":2},\"minor-guide\":{\"line-width\":1,\"line-color\":\"#ddd\"},\"minor-tick\":{size:4,\"line-width\":1},label:{bold:1,padding:6,flat:!0},item:{padding:2,\"auto-align\":!0,flat:!0},marker:{\"line-width\":1,\"line-color\":\"#000\",\"background-color\":\"#ccc\"},\"transform[date]\":{item:{\"font-size\":10,padding:2,color:\"#000\",\"background-color\":\"#fff\"}}},\"SCALE[3d]\":{\"background-color\":\"#ccc\"},\"scale-y[default]\":{label:{\"font-angle\":270},item:{\"text-align\":\"right\"}},\"scale-y[opposite]\":{label:{\"font-angle\":90},item:{\"text-align\":\"left\"}},plot:{error:{\"line-width\":1,\"line-color\":\"#333\",size:.5},\"value-box\":{flat:!0,text:\"%v\",bold:1,placement:\"auto\",shadow:1},\"tooltip-text\":\"%v\",shadow:1,\"line-width\":1,marker:{type:\"square\",shadow:1},\"highlight-state\":{shadow:!0,\"shadow-blur\":2,\"shadow-distance\":1,\"shadow-alpha\":.91}},tooltip:{shadow:1,padding:\"4 8\",\"shadow-distance\":3,\"offset-y\":ZC.mobile?-40:-20},\"tooltip[dynamic]\":{padding:\"4 8\",\"offset-y\":0},guide:{marker:{type:\"circle\"},\"plot-label[single]\":{text:'%plot-text: %node-value',padding:10,\"background-color\":\"#fff #eee\",\"border-width\":1,\"border-color\":\"#999\",color:\"#000\",\"text-align\":\"left\"},\"plot-label[multiple]\":{text:'%plot-text: %node-value',padding:5,\"background-color\":\"#fff #eee\",\"border-width\":1,\"border-color\":\"#999\",color:\"#000\",\"text-align\":\"left\"}},zoom:{\"preserve-zoom\":1,\"border-width\":0,\"background-color\":\"#369\",alpha:.25,label:{visible:!1,\"background-color\":\"#fff\",\"font-size\":10,padding:2,\"border-width\":1,\"border-color\":\"#999\"}},arrow:{\"border-width\":1,\"border-color\":\"#000\",\"background-color\":\"#666\",size:4},\"legend[position]\":{margin:10},legend:{\"background-color\":\"#eee\",alpha:1,shadow:1,margin:\"10 10 auto auto\",padding:\"4 2 4 2\",item:{\"text-align\":\"left\",margin:\"2 6 2 4\",padding:\"2 4\"},\"item-off\":{alpha:.25},marker:{shadow:0,size:6,\"border-color\":\"#999\",\"border-width\":1},header:{\"font-size\":12,\"text-align\":\"left\",bold:1},footer:{\"text-align\":\"left\"},icon:{\"line-color\":\"#000\",\"line-width\":1},\"page-status\":{color:\"#000\"},\"page-on\":{\"background-color\":\"#f90\"},\"page-off\":{\"background-color\":\"#999\"},scroll:{bar:{width:12,height:12,\"background-color\":\"#e1eaec\",\"border-color\":\"#ddd\"},handle:{width:12,height:12,\"background-color\":\"#ddd\",\"border-color\":\"#ccc\",\"border-width\":2,\"border-top\":\"2px solid #eee\",\"border-left\":\"2px solid #eee\",\"border-right\":\"2px solid #999\",\"border-bottom\":\"2px solid #999\"}}}},vbar:{plot:{\"value-box\":{placement:\"top-out\"}}},vbar3d:{plot:{\"value-box\":{placement:\"top-out\"}},\"3d-aspect\":{depth:40,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0}},mixed3d:{\"3d-aspect\":{depth:40,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0}},hbar:{\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x[default]\":{label:{\"font-angle\":270}},\"scale-x[opposite]\":{label:{\"font-angle\":90}},plot:{\"value-box\":{placement:\"top-out\"}}},vline:{\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x[default]\":{label:{\"font-angle\":270}},\"scale-x[opposite]\":{label:{\"font-angle\":90}}},varea:{plot:{\"fill-angle\":0},\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x[default]\":{label:{\"font-angle\":270}},\"scale-x[opposite]\":{label:{\"font-angle\":90}}},hbar3d:{\"scale-y\":{label:{\"font-angle\":0}},\"scale-x\":{label:{\"font-angle\":270}},\"scale-y-n\":{label:{\"font-angle\":0}},\"scale-x-n\":{label:{\"font-angle\":90}},\"3d-aspect\":{depth:40,angle:45,\"x-angle\":0,\"y-angle\":-20,\"z-angle\":0},plot:{\"value-box\":{placement:\"top-out\"}}},hbullet:{\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x\":{label:{\"font-angle\":270}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x-n\":{label:{\"font-angle\":90}}},line:{plot:{\"line-width\":4,marker:{type:\"circle\",size:4}}},area:{plot:{\"line-width\":4,marker:{type:\"circle\",size:4},\"value-box\":{placement:\"top\"}}},line3d:{\"3d-aspect\":{depth:40,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0},plot:{\"border-width\":1,\"line-width\":1,marker:{type:\"circle\",size:4,alpha:1,visible:0}}},area3d:{\"3d-aspect\":{depth:40,angle:45,\"x-angle\":-20,\"y-angle\":0,\"z-angle\":0},plot:{\"border-width\":1,\"line-width\":1,marker:{type:\"circle\",size:4,alpha:1,visible:0},\"value-box\":{placement:\"top\"}}},scatter:{SCALE:{offset:10},plot:{marker:{type:\"circle\",size:4},\"value-box\":{placement:\"top\"}}},poly:{SCALE:{offset:10},plot:{\"alpha-area\":.4,marker:{type:\"none\"},\"value-box\":{placement:\"top\"}}},hscatter:{SCALE:{offset:10},\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x\":{label:{\"font-angle\":270}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x-n\":{label:{\"font-angle\":90}},plot:{marker:{type:\"circle\",size:4},\"value-box\":{placement:\"top\"}}},bubble:{SCALE:{offset:40},plot:{marker:{type:\"circle\",\"fill-type\":\"radial\",\"fill-offset-x\":-.2,\"fill-offset-y\":-.2},\"hover-marker\":{\"fill-type\":\"radial\",\"fill-offset-x\":-.2,\"fill-offset-y\":-.2},\"value-box\":{placement:\"middle\",text:\"%node-size-value\"},\"tooltip-text\":\"%node-size-value\"}},hbubble:{SCALE:{offset:40},\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x\":{label:{\"font-angle\":270}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x-n\":{label:{\"font-angle\":90}},plot:{marker:{type:\"circle\",\"fill-type\":\"radial\",\"fill-offset-x\":-.2,\"fill-offset-y\":-.2},\"hover-marker\":{\"fill-type\":\"radial\",\"fill-offset-x\":-.2,\"fill-offset-y\":-.2},\"value-box\":{placement:\"middle\",text:\"%node-size-value\"},\"tooltip-text\":\"%node-size-value\"}},hmixed:{\"scale-y\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x\":{label:{\"font-angle\":270}},\"scale-y-n\":{label:{\"font-angle\":0},item:{\"text-align\":\"center\"}},\"scale-x-n\":{label:{\"font-angle\":90}}},pie:{plotarea:{margin:\"35 5 5 5\"},scale:{\"size-factor\":\"auto\",\"line-width\":0,guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0}},plot:{\"fill-type\":\"radial\",\"value-box\":{connector:{\"line-width\":1},placement:\"out\",text:\"%t\",visible:1}}},pie3d:{\"3d-aspect\":{\"x-angle\":38,\"y-angle\":0,\"z-angle\":0},plotarea:{margin:\"25 5 5 5\"},scale:{\"size-factor\":\"auto\",\"line-width\":0,guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0}},plot:{\"fill-type\":\"linear\",\"value-box\":{connector:{\"line-width\":1},placement:\"out\",text:\"%t\",visible:1}}},nestedpie:{plotarea:{margin:\"40 5 15 5\"},scale:{\"size-factor\":.8,\"line-width\":0,guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0}},plot:{\"fill-type\":\"radial\",\"value-box\":{connector:{\"line-width\":1},text:\"%t\",visible:1}}},venn:{plotarea:{margin:\"30 10 10 10\"},plot:{alpha:.5,\"border-width\":4},scale:{\"size-factor\":.65,\"line-width\":0,guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0}}},radar:{SCALE:{guide:{\"line-width\":1,\"line-color\":\"#999\",\"background-color\":\"-1\"},tick:{\"line-width\":1},item:{\"auto-align\":!1}},scale:{visible:0,\"size-factor\":.7},\"scale-k\":{\"ref-angle\":270},plotarea:{margin:\"40 5 5 5\"},plot:{\"line-width\":4,aspect:\"line\",marker:{type:\"circle\"}}},gauge:{SCALE:{guide:{\"border-width\":1,\"border-color\":\"#999\",\"background-color\":\"-1\"}},scale:{\"line-width\":0,guide:{\"line-width\":0},\"minor-guide\":{\"line-width\":0},\"size-factor\":.7},\"scale-r\":{\"ref-angle\":270,\"background-color\":\"#fff\",guide:{\"line-width\":0},tick:{placement:\"inner\"},item:{\"offset-r\":\"-45%\"}},plot:{size:\"85%\"},plotarea:{margin:\"40 5 5 5\"}},stock:{plot:{\"line-width\":1,\"border-width\":1,\"tooltip-text\":\"Open: $%open
High: $%high
Low: $%low
Close: $%close\"}},range:{plot:{\"line-width\":2,\"value-box\":{text:\"%node-min-value - %node-max-value\"},\"tooltip-text\":\"%node-min-value - %node-max-value\"}},\"-\":\"\"},this.PY=function(e,t){var i,a=this,n=!1;return null!==ZC._n_(i=a.B8.graph[e])&&null!==ZC._n_(i.enabled)&&(n=n||ZC._b_(i.enabled)),null!==ZC._n_(a.B8[t])&&null!==ZC._n_(i=a.B8[t][e])&&null!==ZC._n_(i.enabled)&&(n=n||ZC._b_(i.enabled)),n},this.load=function(e,t,i,a){var n,l,r,o=this;i=null===ZC._n_(i)||ZC._b_(i),a=null!==ZC._n_(a)&&ZC._b_(a),t instanceof Array||(t=new Array(t));var s=[],C=\"\";for(l=0,r=t.length;l'}return ZC.Q.GG(\"rect\",t.E7,t.IZ)+'class=\"'+e+'-label-area zc-label-area\" id=\"'+t.K+\"-area\"+ZC._[30]+ZC._i_(t.iX+t.BJ+ZC.MAPTX)+\",\"+ZC._i_(t.iY+t.BH+ZC.MAPTX)+\",\"+ZC._i_(t.iX+t.BJ+t.I+ZC.MAPTX)+\",\"+ZC._i_(t.iY+t.BH+t.F+ZC.MAPTX)+'\" />'},N6:function(e){var t,i=\"\",a=e.indexOf('id=\"');if(-1!==a){var n=e.indexOf('\"',a+4);-1!==n&&(i=e.substring(a+4,n))}if(ZC.cache.data[\"area-score-\"+i])return ZC.cache.data[\"area-score-\"+i];var l=0;if(-1!==e.indexOf('shape=\"rect\"')?(l+=1e4,5===(t=/coords=\\\"(\\-*\\d+),(\\-*\\d+),(\\-*\\d+),(\\-*\\d+)\\\"/.exec(e)).length&&(l+=(ZC._i_(t[3])-ZC._i_(t[1]))*(ZC._i_(t[4])-ZC._i_(t[2])))):-1!==e.indexOf('shape=\"circle\"')?(l+=100,t=/coords=\\\"(\\-*\\d+),(\\-*\\d+),(\\-*\\d+)\\\"/.exec(e),null!==ZC._n_(t[3])&&(l+=ZC._i_(t[3])/10)):-1!==e.indexOf('shape=\"poly\"')?-1!==e.indexOf(\"data-map\")?l+=1e6:l+=1e3:l+=1,-1!==e.indexOf(\"data-z-sort\")){var r=/data-z-sort=\\\"(\\-*\\d+)\\\"/.exec(e);r&&2===r.length&&(l*=ZC._i_(Math.pow(10,ZC._i_(r[1]))))}return\"\"!==i&&ZC.cache.add(\"area-score-\"+i,l),l},A56:function(e,t,i){for(var a=[],n=0,l=e.length;n=9&&(r=null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]?\"\"+ZC._x_(r,t[ZC._[12]]):\"\"+ZC._x_(r))}}else{var _=ZC.H3(ZC._a_(Number(r)))/Math.LN10;switch(ZC._a_(Number(r))){case 1e3:_=3;break;case 1e6:_=6;break;case 1e9:_=9}if(null!==ZC._n_(t[\"max-power\"])&&(_=3*t[\"max-power\"]),\"KB\"===s.toUpperCase())r=\"\"+Number(r)/1024,n=\"KB\";else if(\"MB\"===s.toUpperCase())r=\"\"+Number(r)/1048576,n=\"MB\";else if(\"GB\"===s.toUpperCase())r=\"\"+Number(r)/1073741824,n=\"GB\";else if(\"TB\"===s.toUpperCase())r=\"\"+Number(r)/1099511627776,n=\"TB\";else if(\"PB\"===s.toUpperCase())r=\"\"+Number(r)/0x4000000000000,n=\"PB\";else if(_>=0&&_<3)switch(s){default:r=r,n=\"\";break;case\"K\":r=\"\"+Number(r)/1e3,n=\"K\";break;case\"M\":r=\"\"+Number(r)/1e6,n=\"M\";break;case\"B\":r=\"\"+Number(r)/1e9,n=\"B\"}else _>=3&&_<6&&\"\"===s||\"K\"===s.toUpperCase()?(r=\"\"+Number(r)/1e3,n=\"K\"):_>=6&&_<9&&\"\"===s||\"M\"===s.toUpperCase()?(r=\"\"+Number(r)/1e6,n=\"M\"):(_>=9&&\"\"===s||\"B\"===s.toUpperCase())&&(r=\"\"+Number(r)/1e9,n=\"B\")}if(ZC.PK(r))if(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]])r=ZC._fixed_(Number(r),ZC.BQ(0,ZC._i_(t[ZC._[12]])));else{var d=r.split(\".\")[1]||\"\";-1!==t[\"max-decimals\"]&&t[\"max-decimals\"]0)for(var a=0;a=100)return\"#000000\";e=ZC.AP.G8(e),typeof t===ZC._[31]&&(t=10);var i=ZC.RA(e.substring(1,3)),a=ZC.RA(e.substring(3,5)),n=ZC.RA(e.substring(5,7)),l=ZC.AP.AD9(i,a,n);l[2]=t>0?Math.max(0,l[2]-l[2]*t/100):Math.min(1,l[2]-l[2]*t/100);var r=ZC.AP.AD7(l[0],l[1],l[2]);return r[0]=ZC._i_(r[0])<16?\"0\"+ZC.P2(r[0]):ZC.P2(r[0]),r[1]=ZC._i_(r[1])<16?\"0\"+ZC.P2(r[1]):ZC.P2(r[1]),r[2]=ZC._i_(r[2])<16?\"0\"+ZC.P2(r[2]):ZC.P2(r[2]),e=\"#\"+r[0]+r[1]+r[2]},R0:function(e,t){if(-1===e)return-1;if(t>=100)return\"#ffffff\";e=ZC.AP.G8(e),typeof t===ZC._[31]&&(t=10);var i=parseInt(e.substr(1,2),16),a=parseInt(e.substr(3,2),16),n=parseInt(e.substr(5,2),16);return\"#\"+(0|256+i+(256-i)*t/100).toString(16).substr(1)+(0|256+a+(256-a)*t/100).toString(16).substr(1)+(0|256+n+(256-n)*t/100).toString(16).substr(1)},_hex2rgb_:function(e,t){var i=parseInt(e.substr(1,2),16),a=parseInt(e.substr(3,2),16),n=parseInt(e.substr(5,2),16);return ZC._n_(t)?\"rgb(\"+i+\",\"+a+\",\"+n+\")\":{r:i,g:a,b:n}},_rgb2hex_:function(e,t,i){return\"#\"+((1<<24)+(e<<16)+(t<<8)+i).toString(16).slice(1)},A9Q:function(e,t,i){var a=ZC.AP._hex2rgb_(e);return(299*a.r+587*a.g+114*a.b)/1e3>=128?i:t},_colorAlpha_:function(e,t,i){e=ZC.AP.G8(e),t=ZC.AP.G8(t);var a=ZC.AP._hex2rgb_(e),n=ZC.AP._hex2rgb_(t),l={};for(var r in a)l[r]=Math.floor(i*a[r]+(1-i)*n[r]);return ZC.AP._rgb2hex_(l.r,l.g,l.b)},A43:function(){},AC0:function(){},gc:function(e,t){var i;for(i=0;i\")}catch(o){t=document.createElement(\"iframe\")}else t=document.createElement(\"iframe\");t.id=e.id+\"-iframe\",t.style.visibility=\"hidden\",e.appendChild(t);var i=null,a=t.contentWindow||t.contentDocument;if(!(i=a.document?a.document:a).body){var n=i.createElement(\"HTML\");i.appendChild(n);var l=i.createElement(\"HEAD\");n.appendChild(l);var r=i.createElement(\"BODY\");n.appendChild(r)}return i},BX:function(e){var t;if(typeof ZC.TOUCHEVENTS===ZC._[31]){if(ZC.ie678)t=!1;else{t=!0;try{document.createEvent(\"TouchEvent\")}catch(i){t=!1}}t&&!ZC.mobile&&(t=!1),t&&(t=\"ontouchstart\"in document.documentElement),ZC.TOUCHEVENTS=t}else t=ZC.TOUCHEVENTS;if(t)switch(e){case\"mouseover\":case\"mousedown\":e=\"touchstart\";break;case\"mousemove\":e=\"touchmove\";break;case\"mouseout\":case\"mouseup\":e=\"touchend\";break;case\"click\":e=\"touchstart\"}return e},_sh_:function(e,t){var i,a,n,l=[],r=t.JZ,o=t.OO,s=t.PM,C=r-s/2;if(e.length>0){var A=0,Z=0;for(0!==r&&(A=ZC._i_(C*ZC.EE(o)+s),Z=ZC._i_(C*ZC.EN(o)+s)),i=0,a=e.length;i=4&&(o[2]=e[2],o[3]=e[3]),e.length>=6&&(o[4]=e[4],o[5]=e[5]),7===e.length&&(o[6]=e[6]),t){case\"canvas\":case\"svg\":var s,C;if(i.CY)s=C=i.B1%2==1?.5:0,ZC.A4.browser.msie&&ZC.quirks&&\"svg\"===t&&(s=i.B1%2==1?.5:0,C=i.B1%2==1?0:.5),o[0]=Math.round(o[0])-s,o[1]=Math.round(o[1])-C,4===o.length&&(o[2]=Math.round(o[2])-s,o[3]=Math.round(o[3])-C);\"svg\"===t&&(o[0]=parseFloat(o[0].toFixed(4)),o[1]=parseFloat(o[1].toFixed(4)),4===o.length&&(o[2]=parseFloat(o[2].toFixed(4)),o[3]=parseFloat(o[3].toFixed(4)))),\"canvas\"!==t||a||typeof i.BJ!==ZC._[31]&&typeof i.BH!==ZC._[31]&&(o[0]+=i.BJ,o[1]+=i.BH,4===o.length&&(o[2]+=i.BJ,o[3]+=i.BH));break;case\"vml\":i.AA%360==0?(l=10,r=i.B1%2==1?0:l/2):(l=1,r=0),i.CY?(o[0]=l*ZC._i_(ZC._i_(l*o[0])/l)-r,o[1]=l*ZC._i_(ZC._i_(l*o[1])/l)-r,4!==o.length&&7!==o.length||(o[2]=l*ZC._i_(ZC._i_(l*o[2])/l)-r,o[3]=l*ZC._i_(ZC._i_(l*o[3])/l)-r),7===o.length&&(o[4]=l*ZC._i_(ZC._i_(l*o[4])/l)-r,o[5]=l*ZC._i_(ZC._i_(l*o[5])/l)-r)):(o[0]=ZC._i_(l*o[0]),o[1]=ZC._i_(l*o[1]),4!==o.length&&7!==o.length||(o[2]=ZC._i_(l*o[2]),o[3]=ZC._i_(l*o[3])),7===o.length&&(o[4]=ZC._i_(l*o[4]),o[5]=ZC._i_(l*o[5])))}return o},A3J:function(e,t,i,a,n){var l,r,o,s,C,A,Z;if(i.R7&&(i.D[\"fast-vector-path\"]=!0),!i.D[\"fast-vector-path\"]){for(l=0,r=e.length;l=o[3]?.001:-.001),s=ZC.AO.BL(o[0],o[1],o[2],o[3]+_),C=ZC.AO.BL(o[0],o[1],o[2],o[4]-_),A=\"0 0\",0===o[5]?o[4]-o[3]>360?(A=\"0 1\",C[0]=s[0],C[1]=s[1]):A=o[4]-o[3]<=180?\"0 1\":\"1 1\":o[3]-o[4]>360?(A=\"0 0\",C[0]=s[0],C[1]=s[1]):A=o[3]-o[4]<=180?\"0 0\":\"1 0\",p.push(\"a \"+o[2]+\",\"+o[2]+\" 0 \"+A+\" \"+(C[0]-s[0])+\",\"+(C[1]-s[1]))}else\"vml\"===t&&(o[2]*=10,s=ZC.AO.BL(o[0],o[1],o[2],o[3]),C=ZC.AO.BL(o[0],o[1],o[2],o[4]),A=1===o[5]?\"at\":\"wa\",p.push(A+\" \"+ZC._i_(o[0]-o[2])+\",\"+ZC._i_(o[1]-o[2])+\",\"+ZC._i_(o[0]+o[2])+\",\"+ZC._i_(o[1]+o[2])+\" \"+ZC._i_(s[0])+\",\"+ZC._i_(s[1])+\" \"+ZC._i_(C[0])+\",\"+ZC._i_(C[1])));else 7===o.length&&p.push((\"svg\"===t?\"C \":\"c \")+o[0]+\" \"+o[1]+\" \"+o[2]+\" \"+o[3]+\" \"+o[4]+\" \"+o[5])}else u=!0;return i.D[\"fast-vector-path\"]||i.OF&&ZC.cache.add(\"path-points-\"+Z,p.join(\"#\")),i.G&&r<=20&&a&&(i.G.D[i.K+\"-bounds\"]=c),p},MK:function(e,t){var i,a,n=e.originalEvent||e.originalEventZC;return t=ZC._i_(t||\"0\"),n&&n.touches?n.touches.length>0?(i=n.touches[t].pageX,a=n.touches[t].pageY):n.changedTouches.length>0&&(i=n.changedTouches[t].pageX,a=n.changedTouches[t].pageY):(i=e.pageX,a=e.pageY),[ZC._i_(i||\"0\"),ZC._i_(a||\"0\")]},F6:function(e,t,i){var a;return i=i||document,null!==ZC._n_(t)?i.createElementNS?a=i.createElementNS(t,e):(a=i.createElement(e)).setAttribute(\"xmlns\",t):a=i.createElement(e),\"zcv:\"===e.substring(0,4)&&(a.className=\"zcvml\"),a},ET:function(e){var t;e instanceof Array||(e=[e]);for(var i=0,a=e.length;i1024&&typeof e.innerHTML!==ZC._[31])return void(e.innerHTML=\"\");if(s>0)for(var C=s-1;C>=0;C--)\"\"===r?e.removeChild(e.childNodes[C]):0===e.childNodes[C].id.indexOf(r+\"-\")&&e.removeChild(e.childNodes[C])}},E8:function(e,t){switch(\"string\"==typeof e&&(e=ZC.AK(e)),t){case\"canvas\":return e.getContext(\"2d\");case\"svg\":case\"vml\":return e}},K4:function(e,t){switch(t){case\"svg\":return ZC.Q.AC3(e);case\"vml\":case\"canvas\":return ZC.Q.I5(e)}},HH:function(e,t){switch(t){case\"svg\":return ZC.Q.AC3(e);case\"vml\":return ZC.Q.I5(e);case\"canvas\":return ZC.Q.ADB(e)}},AC3:function(e){var t;if(ZC.AK(e.id))return ZC.AK(e.id);var i=ZC.Q.F6(\"g\",ZC._[36]);return null!==ZC._n_(t=e.id)&&i.setAttribute(\"id\",t),null!==ZC._n_(t=e.cls)&&i.setAttribute(\"class\",t),null!==ZC._n_(t=e.zidx)&&i.setAttribute(\"z-index\",t),null!==ZC._n_(t=e[\"clip-path\"])&&i.setAttribute(\"clip-path\",t),e.after?e.p.insertBefore(i,e.after.nextSibling):e.p.appendChild(i),i},XY:function(e){var t;ZC.Q.ET(e.id);var i=ZC.Q.F6(\"clipPath\",ZC._[36]);return i.id=e.id,null!==ZC._n_(e.cx)?((t=ZC.Q.F6(\"circle\",ZC._[36])).id=e.id+\"-shape\",ZC.Q.G5(t,{cx:e.cx,cy:e.cy,r:e.r})):((t=ZC.Q.F6(\"polygon\",ZC._[36])).id=e.id+\"-shape\",ZC.Q.G5(t,{points:e.path})),i.appendChild(t),i},ADB:function(e){var t;if(ZC.AK(e.id))return ZC.AK(e.id);var i=document.createElement(\"canvas\"),a=i.style;if(null!==ZC._n_(t=e.id)&&(i.id=t),null!==ZC._n_(t=e.cls)&&(i.className=t),null!==ZC._n_(t=e.wh)){var n=(\"\"+t).split(\"/\");e[ZC._[19]]=n[0],e[ZC._[20]]=n[1]}if(null!==ZC._n_(t=e.tl)){var l=(\"\"+t).split(\"/\");e.top=l[0],e.left=l[1]}return i.width=e[ZC._[19]],i.height=e[ZC._[20]],null!==ZC._n_(t=e.left)&&(a.left=t+\"px\"),null!==ZC._n_(t=e.top)&&(a.top=t+\"px\"),null!==ZC._n_(t=e.display)&&(a.display=t),null!==ZC._n_(t=e.position)&&(a.position=t),null!==ZC._n_(t=e.zidx)&&(a.zIndex=t),e.p.appendChild(i),i},I5:function(e){var t,i,a,n,l,r;if(ZC.AK(e.id))return a=ZC.AK(e.id),null!==ZC._n_(t=e.wh)&&(l=(\"\"+t).split(\"/\"),a.style.width=l[0]+\"px\",a.style.height=l[1]+\"px\"),null!==ZC._n_(t=e.tl)&&(r=(\"\"+t).split(\"/\"),a.style.top=r[0]+\"px\",a.style.left=r[1]+\"px\"),a;(n=(a=document.createElement(\"div\")).style).whiteSpace=\"nowrap\",null!==ZC._n_(t=e.wh)&&(l=(\"\"+t).split(\"/\"),e[ZC._[19]]=l[0],e[ZC._[20]]=l[1]),null!==ZC._n_(t=e.tl)&&(r=(\"\"+t).split(\"/\"),e.top=r[0],e.left=r[1]),null!==ZC._n_(t=e.id)&&(a.id=t),null!==ZC._n_(t=e.cls)&&\"\"!==t&&(a.className=t);for(var o=[[\"top\",\"\",\"px\"],[\"left\",\"\",\"px\"],[ZC._[19],\"\",\"px\"],[ZC._[20],\"\",\"px\"],\"position\",\"overflow\",[\"float\",\"cssFloat|styleFloat\"],[\"zidx\",\"zIndex\"],\"clip\",\"display\",[\"fontSize\",\"\",\"px\"],\"fontFamily\",\"fontWeight\",\"fontStyle\",\"textDecoration\",\"textAlign\",\"verticalAlign\",\"color\",\"border\",\"borderTop\",\"borderRight\",\"borderBottom\",\"borderLeft\",\"background\",\"cursor\",[\"margin\",\"marginTop|marginRight|marginBottom|marginLeft\",\"px\"],[\"marginTop\",\"\",\"px\"],[\"marginRight\",\"\",\"px\"],[\"marginBottom\",\"\",\"px\"],[\"marginLeft\",\"\",\"px\"],[\"padding\",\"paddingTop|paddingRight|paddingBottom|paddingLeft\",\"px\"],[\"paddingTop\",\"\",\"px\"],[\"paddingRight\",\"\",\"px\"],[\"paddingBottom\",\"\",\"px\"],[\"paddingLeft\",\"\",\"px\"],\"lineHeight\",\"filter\"],s=null,C=null,A=null,Z=0,c=o.length;Z\")&&ZC.A4(a).children().each(function(){null!==ZC._n_(s)&&(null!==ZC._n_(this.style.fontFamily)&&\"\"!==this.style.fontFamily||(this.style.fontFamily=s)),null!==ZC._n_(C)&&(null!==ZC._n_(this.style.fontSize)&&\"\"!==this.style.fontSize||(this.style.fontSize=C+\"px\")),null!==ZC._n_(A)&&(null!==ZC._n_(this.style.fontWeight)&&\"\"!==this.style.fontWeight||(this.style.fontWeight=A))})),e.rtl&&(a.style.unicodeBidi=\"bidi-override\",a.style.direction=\"rtl\"),e.cursor&&\"hand\"===e.cursor&&(a.style.cursor=\"pointer\"),a},WT:null,A4S:function(e,t,i,a,n,l,r){var o,s,C,A;null===ZC._n_(r)&&(r=!1);var Z=!1;\"[HTMLMODE]\"===t.substring(0,10)&&(Z=!0,t=t.substring(10)),A=e+\"-text-ruler\",-1!==e.indexOf(\"-fullscreen\")&&(A=\"zc-text-ruler\");var c=\"{{\"+t+\"}}\"+i.replace(/[^a-z]/gi,\"\").toLowerCase()+a+l+n;if(ZC.cache.data[\"text-width-\"+c]&&!r)return ZC.cache.data[\"text-width-\"+c];if(ZC.cache.data[\"text-height-\"+c]&&r)return ZC.cache.data[\"text-height-\"+c];var p,u=t;return u=u.replace(/
/g,'
'),(p=ZC.AK(A))?(ZC.Q.WT&&ZC.Q.WT===e+i+a+l+n||(p.style.fontFamily=i,p.style.fontSize=a+\"px\",p.style.fontWeight=n,p.style.lineHeight=Z?\"130%\":-1!==l?ZC._i_(l)+\"px\":\"130%\",ZC.Q.WT=e+i+a+l+n),p.innerHTML=u):(p=ZC.Q.I5({id:A,p:document.body,tl:\"-9999/-9999\",html:u,position:\"absolute\",fontFamily:i,fontSize:a,cls:\"zc-text-ruler\",fontWeight:n})).style.lineHeight=Z?\"130%\":-1!==l?ZC._i_(l)+\"px\":\"130%\",-1===t.indexOf(\"<\")||-1===t.indexOf(\">\")||Z||ZC.A4(p).children().each(function(){\"BR\"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontFamily)&&\"\"!==this.style.fontFamily||(this.style.fontFamily=i),null!==ZC._n_(this.style.fontSize)&&\"\"!==this.style.fontSize||(this.style.fontSize=a+\"px\"),this.style.lineHeight=-1!==l?ZC._i_(l)+\"px\":\"130%\",\"B\"!==this.tagName.toUpperCase()&&\"STRONG\"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontWeight)&&\"\"!==this.style.fontWeight||(this.style.fontWeight=n)))}),(o=p.getBoundingClientRect())&&o.width>0?(s=o.width,r&&(C=o.height)):(s=ZC.mobile&&ZC.A4.browser.webkit?p.offsetWidth:ZC.A4(p).width(),r&&(C=ZC.mobile&&ZC.A4.browser.webkit?p.offsetHeight:ZC.A4(p).height())),r?(ZC.cache.add(\"text-height-\"+c,C),C):(ZC.cache.add(\"text-width-\"+c,s),s)}},!document.getElementsByClassName&&document.querySelectorAll&&(document.getElementsByClassName=function(e){return document.querySelectorAll(\".\"+e)}),ZC.A4=function(e,t,i){var a,n,l,r,o=this;if(typeof i===ZC._[31]&&(i=!0),i)return new ZC.A4(e,t,!1);if(o.PC=[],o.QM=e,o.MP=t,o.length=0,o.MP=o.MP||document.getElementsByTagName(\"body\")[0],\"object\"==typeof o.QM)o.PC=[o.QM];else if(\"string\"==typeof o.QM)for(var s=o.QM.split(\",\"),C=0;C\")).length&&(Z=!0,ZC.A4(a[0]).each(function(){var e=this;ZC.A4(a[1],this).each(function(){this.parentNode===e&&o.PC.push(this)})})),2===(a=A.split(\" \")).length&&(Z=!0,ZC.A4(a[0]).each(function(){ZC.A4(a[1],this).each(function(){o.PC.push(this)})})),!Z)if(\"#\"===A.substring(0,1))ZC.AK(A.substring(1))&&(o.PC=[ZC.AK(A.substring(1))]);else if(\".\"===A.substring(0,1))if(document.getElementsByClassName){if(o.MP.getElementsByClassName)n=o.MP.getElementsByClassName(A.substring(1));else if(n=document.getElementsByClassName(A.substring(1)),o.MP!==document){var c=[];for(l=0,r=n.length;l1)for(var l=1;l1)for(var n=1;n=0;a--)i[a][0]!==l||t&&i[a][1]!==t||ZC.A4.EVENTS[e].splice(a,1);return this}}},ZC.A4._list_=function(e){for(var t=[],i=0;i=200&&s.status<300)&&o&&o(s.responseText,s.status,s,t),s.status>=400&&r&&r(s,s.status,s.statusText,t),s.onreadystatechange=new window.Function,s=null)}),window.ActiveXObject||(s.onerror=function(){r&&r(s,0,\"\",t)}),\"POST\"===i.toUpperCase()?(s.open(\"POST\",t,n),s.setRequestHeader(\"X-Requested-With\",\"XMLHttpRequest\"),s.setRequestHeader(\"Content-type\",\"application/x-www-form-urlencoded\")):(\"\"!==a&&(-1===t.indexOf(\"?\")&&(t+=\"?\"),t+=\"&\"+a),s.open(\"GET\",t,n)),l&&l(s);try{s.send(a),n||((C||s.status>=200&&s.status<300)&&o&&o(s.responseText,s.status,s,t),s.status>=400&&r&&r(s,s.status,s.statusText,t),s=null)}catch(Z){C&&r&&(r(s,s.status,s.statusText,t),s.onreadystatechange=new window.Function,s=null)}}},ZC.AO={ACM:function(e,t){var i,a,n=zingchart.DEV.SPREADFACTOR,l=[],r=0;function o(e,t){-1===ZC.AV(e,t)&&e.push(t)}for(i=0;i1?e[i-2]:t,-1===s&&(s=l[r].min),l[r].min),o(l[r].items,i-1),o(l[r].items,i)):l[r]&&(l[r].max=e[i],l[r].max,r++);l[r]&&-1===l[r].max&&(l[r].max=360+t);var C=l.length;if(C>1&&l[C-1].max-l[0].min==360){for(a=0;a1&&(l[l.length-1].max=l[0].min+360),i=0;it.x+t.width+i)&&(!(t.x>e.x+e.width+i)&&(!(e.y>t.y+t.height+i)&&!(t.y>e.y+e.height+i)))},_boxoverlap2_:function(e,t,i){return i=i||1,!(e.iX>t.iX+t.I+i)&&(!(t.iX>e.iX+e.I+i)&&(!(e.iY>t.iY+t.F+i)&&!(t.iY>e.iY+e.F+i)))},AG6:function(e,t){return e.iX>=t.iX&&e.iX<=t.iX+t.I&&e.iY>=t.iY&&e.iY<=t.iY+t.F&&e.iX+e.I>=t.iX&&e.iX+e.I<=t.iX+t.I&&e.iY+e.F>=t.iY&&e.iY+e.F<=t.iY+t.F},A6L:function(e,t,i){for(var a=Math.sqrt(e/Math.PI),n=Math.sqrt(t/Math.PI),l=Math.min(a,n),r=Math.max(a,n),o=ZC.MAX,s=0,C=l+r;C>r-l;C-=l/50){var A=l*l*Math.acos((C*C+l*l-r*r)/(2*C*l))+r*r*Math.acos((C*C+r*r-l*l)/(2*C*r))-.5*Math.sqrt((-C+l+r)*(C+l-r)*(C-l+r)*(C+l+r));Math.abs(A-i)t&&e[A-1]&&(Math.sqrt((e[A][0]-e[A-1][0])*(e[A][0]-e[A-1][0])+(e[A][1]-e[A-1][1])*(e[A][1]-e[A-1][1]))>t&&A-l>1&&(s+=Math.round(e[A-1][0]+C+a,10)+\",\"+Math.round(e[A-1][1]+C+n,10)+\",\"),r=e[A][0]+C+a,o=e[A][1]+C+n,l=A,s+=Math.round(r,10)+\",\"+Math.round(o,10)+\",\"));return s=s.substring(0,s.length-1)},ZN:function(e,t){if(null===ZC._n_(e)||e.length<2)return\"\";null===ZC._n_(t)&&(t=6,ZC.mobile&&(t+=10));var i,a,n,l,r,o=[];for(i=0,a=e.length;i0&&null!==ZC._n_(e[i])&&null!==ZC._n_(e[i-1])&&e[i].join(\"/\")!==e[i-1].join(\"/\")||null===ZC._n_(e[i]))&&o.push(e[i]);var s=[],C=[],A=!1;for(i=0,a=o.length;i=h&&(r+=180),s.push(ZC.AO.BL(h,_,t,l+90),ZC.AO.BL(h,_,t,r),ZC.AO.BL(h,_,t,l+270));else if(i===o.length-1)n=Math.atan((u-_)/(p-h)),r=l=ZC.UB(n),p>=h&&(r+=180),A?(C.push(ZC.AO.BL(h,_,t,l+270),ZC.AO.BL(h,_,t,r),ZC.AO.BL(h,_,t,l+90)),A=!1):s.push(ZC.AO.BL(h,_,t,l+270),ZC.AO.BL(h,_,t,r),ZC.AO.BL(h,_,t,l+90));else{var d=Math.atan((c-_)/(Z-h)),f=Math.atan((_-u)/(h-p));r=ZC.UB((d+f)/2),s.push(ZC.AO.BL(h,_,t,r+270)),Z>=h&&p>=h?(s.push(ZC.AO.BL(h,_,t,r+180)),s.push(ZC.AO.BL(h,_,t,r+90)),C.push(ZC.AO.BL(h,_,t,r)),A=!0):Z<=h&&p<=h?(s.push(ZC.AO.BL(h,_,t,r)),s.push(ZC.AO.BL(h,_,t,r+90)),C.push(ZC.AO.BL(h,_,t,r+180)),A=!0):C.push(ZC.AO.BL(h,_,t,r+90))}}for(i=C.length-1;i>=0;i--)s.push(C[i]);return s},A2V:function(e,t){var i=0,a=0,n=[];switch(e+=\"\"){case\"horizontal\":case\"h\":i=1,a=t;break;case\"vertical\":case\"v\":i=t,a=1;break;default:n=e.split(\"x\"),null!==ZC._n_(n[0])&&ZC._i_(n[0])+\"\"===n[0]&&(i=ZC._i_(n[0])),null!==ZC._n_(n[1])&&ZC._i_(n[1])+\"\"===n[1]&&(a=ZC._i_(n[1])),0===a&&0===i?(i=Math.ceil(Math.sqrt(t)),a=Math.ceil(t/i)):(0===a&&(a=Math.ceil(t/i)),0===i&&(i=Math.ceil(t/a)))}return[i,a]},ABH:function(e,t){return.5*(2*t[1]+(-t[0]+t[2])*e+(2*t[0]-5*t[1]+4*t[2]-t[3])*e*e+(-t[0]+3*t[1]-3*t[2]+t[3])*e*e*e)},ABL:function(e,t){var i,a,n,l,r,o=e.length,s=[],C=[],A=[];for(i=0;ii))return t[n];r=n-1}}a=Math.max(0,r);var s=i-e[a],C=s*s;return t[a]+Z[a]*s+u[a]*C+h[a]*s*C}},YS:function(e,t,i,a){null===ZC._n_(a)&&(a=1/(i/t.length*4));var n,l,r=[];if(e)if((n=[].concat(t))[1]&&n[2]){n[0]=n[0]||n[1]||n[2]||n[3],n[1]=n[1]||n[2]||n[0]||n[3],n[2]=n[2]||n[3]||n[1]||n[0],n[3]=n[3]||n[2]||n[1]||n[0];var o=ZC.AO.ABL([0,1,2,3],n);for(l=1;l<=2;l+=a)r.push([l-1,o(l)])}else r.push([]);else for(var s=1;s>>4&15)+\"0123456789abcdef\".charAt(15&t);return i},ACO:function(e){for(var t,i,a=\"\",n=-1,l=e.length;++n>>6&31,128|63&t):t<=65535?a+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(a+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return a},ACJ:function(e){var t,i=Array(e.length>>2);for(t=0;t>5]|=(255&e.charCodeAt(t/8))<>5]>>>i%32&255);return t},ACW:function(e,t){function i(e,t,i,a,n,l){return o((r=o(o(t,e),o(a,l)))<<(s=n)|r>>>32-s,i);var r,s}function a(e,t,a,n,l,r,o){return i(t&a|~t&n,e,t,l,r,o)}function n(e,t,a,n,l,r,o){return i(t&n|a&~n,e,t,l,r,o)}function l(e,t,a,n,l,r,o){return i(t^a^n,e,t,l,r,o)}function r(e,t,a,n,l,r,o){return i(a^(t|~n),e,t,l,r,o)}function o(e,t){var i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}e[t>>5]|=128<>>9<<4)]=t;for(var s=1732584193,C=-271733879,A=-1732584194,Z=271733878,c=0,p=e.length;czingchart.DEV.MAXPOOLSIZE?(zingchart.pool.data={},zingchart.pool.size=0):zingchart.pool.data[i]=n}return n},zingchart.i18n={},zingchart.THEMES={},zingchart.V3D=2,zingchart.QUOTEDVALUES=!1,zingchart.EDITSOURCE=1,zingchart.MODULESDEP={line:\"xy\",line3d:\"3d,line\",area:\"xy\",area3d:\"3d,area\",vline:\"yx\",varea:\"yx\",vbar:\"xy\",vbar3d:\"3d,vbar\",hbar:\"yx\",hbar3d:\"3d,hbar\",scatter:\"xy\",bubble:\"xy\",hscatter:\"yx\",hbubble:\"yx\",pie:\"r\",pie3d:\"3d,pie\",nestedpie:\"r\",gauge:\"r\",vbullet:\"vbar\",hbullet:\"hbar\",vfunnel:\"xy\",hfunnel:\"yx\",piano:\"xy\",radar:\"r\",range:\"xy\",vrange:\"yx\",stock:\"xy,vbar\",venn:\"r\"},zingchart.SKIP={EVENT:!1,ANIMATION:!1,LEGEND:!1,CSV:!1,PARSE3D:!1},zingchart.MODULESDIR=function(e){for(var t=0;t-1)return e[t].src.split(\"zingchart.min.js\")[0]+\"modules/\"}return\"./modules/\"}(document.getElementsByTagName(\"head\")[0].childNodes),zingchart.DEV={DOMFRAGMENTS:1,SORTTOKENS:1,PLOTSTATS:1,RESOURCES:1,KEEPSOURCE:1,SPREADTYPE:0,SPREADFACTOR:10,IGNORESUBUNIT:0,DELAYEDTRACKERS:0,STACKINGLOGIC:-1,SMARTDATELABELS:0,GC:1,CACHECANVASTEXT:0,CHECKDECIMALS:0,CACHESELECTION:0,MEDIARULES:1,SKIPTRACKERS:0,PLOTSHLAYER:0,RESIZESPEED:250,DEBOUNCESPEED:250,LOCALSVGEXPORT:1,SKIPPROGRESS:0,SKIPCONTEXTMENU:0,COPYDATA:1,GUIDETIMEOUT:0,LOOKUPCSSTRANSFORM:0,MAPSONBOTTOM:0,MAXPOOLSIZE:1024,MINTRACKERDIFF:1.5},zingchart.CANVASTEXT=0,zingchart.ZINDEX=1,zingchart.CMZINDEX=9999,zingchart.FSZINDEX=9998,zingchart.FSID=null,zingchart.ZCOUTPUT=0,zingchart.ASYNC=0,zingchart.SORTTRACKERS=0,zingchart.TIMEOUT=0,zingchart.USERCSS={},zingchart.OBJECTMODE=\"normal\",zingchart.SYNTAX=\"mixed\",zingchart.THEME=null,zingchart.EXPORTURL=(\"file:\"===document.location.protocol?\"http:\":document.location.protocol)+\"//export.zingchart.com/\",zingchart.AJAXEXPORT=!1,zingchart.TOUCHZOOM=\"normal\",zingchart.DEFAULT={height:480,width:640},zingchart.FASTWIDTH=0,zingchart.FONTSIZE=11,zingchart.FONTFAMILY=\"Lucida Sans Unicode,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif\",ZC.mobile&&(zingchart.FONTFAMILY=\"Lucida Sans,Helvetica,Arial,sans-serif\"),zingchart.loadModules=function(e,t){for(var i=(\"\"+e).split(\",\"),a=0,n=i.length;a100){if(n>ZC.GESTURE.dist+50)ZC.GESTURE.type=\"pinch-in\",zingchart.exec(ZC.GESTURE.id,\"zoomin\");else if(nZC.GESTURE.mp[0]+10?(r[\"x-\"]=!0,r.xdist=ZC._a_(ZC.GESTURE.mp[0]-l[0])):l[0]ZC.GESTURE.mp[1]+10?(r[\"y+\"]=!0,r.ydist=ZC._a_(ZC.GESTURE.mp[1]-l[1])):l[1]=a.P.iX&&l<=a.P.iX+a.P.I&&r>=a.P.iY&&r<=a.P.iY+a.P.F),touch:ZC.mobile}},typeof zingchart.SM===ZC._[31]&&(zingchart.SM=function(e){for(var t=0,i=zingchart.I4.length;t1)){var a=zingchart.XI(e);if(a){if(\"click\"===e.type&&ZC.aMDXY&&(ZC._a_(ZC.aMDXY[0]-e.pageX)>2||ZC._a_(ZC.aMDXY[1]-e.pageY)>2))return;if(!zingchart.SKIP.EVENT){var n=zingchart.A12(e,a);n.target=zingchart.plugins.CLICK_TARGET||n.target,zingchart.plugins.CLICK_TARGET=null,ZC.mobile&&\"touchend\"===e.type&&(a.D[\"click-ts\"]&&(new Date).getTime()-a.D[\"click-ts\"]<500&&ZC.AP.C0(\"dblclick\",a,n),a.D[\"click-ts\"]=(new Date).getTime()),ZC.AP.C0(\"dblclick\"===e.type?\"dblclick\":\"click\",a,n)}zingchart.SKIP.EVENT=!1,e.target.id!==a.K+\"-menu-area\"?a.hideCM():zingchart.Z6(e)}}},ZC.mobile?(ZC.A4(document).bind(\"touchmove\",function(){ZC.move=!0}),ZC.A4(document).bind(\"touchend\",function(){ZC.move=!1})):(ZC.A4(document).bind(\"click\",zingchart.SM),ZC.A4(document).bind(\"dblclick\",zingchart.SM))),typeof zingchart.A3W===ZC._[31]&&(zingchart.A3W=function(e){e.touches.length>0&&(ZC.TOUCHEVENTS=!0)},ZC.A4(document).bind(\"touchstart\",zingchart.A3W)),typeof zingchart.Z6===ZC._[31]&&(zingchart.Z6=function(e,t,i){if(!e||\"IMG\"===e.target.tagName.toUpperCase()||\"AREA\"===e.target.tagName.toUpperCase()||-1!==ZC.Q.TE(e.target).indexOf(\"zc-scroll\")||-1!==e.target.id.indexOf(\"-legend-\")||-1!==e.target.id.indexOf(\"-preview-\")||zingchart.DEV.SKIPTRACKERS){var a,n,l,r,o,s;i=i||{};var C=null===ZC._n_(t)?zingchart.XI(e):zingchart.getLoader(t);if(C){if(-1!==ZC.AV(C.KX,ZC._[38]))return!1;if(null===ZC._n_(t)?(n=ZC.Q.MK(e),a=C.A2B(n[0],n[1])):a=null!==ZC._n_(i[ZC._[3]])?C.OI(i[ZC._[3]]):C.AH[0],!a)return!1;var A=ZC.A4(\"#\"+C.K+\"-top\");null===ZC._n_(t)?(l=n[0]-A.offset().left,r=n[1]-A.offset().top):(l=C.I/2,r=C.F/2);var Z={};e&&(Z=zingchart.A12(e,C));var c=ZC.AP.C0(\"contextmenu\",C,Z,!0);if(!c&&typeof c!==ZC._[31]&&(!e&&!i[\"from-api\"]||e&&e.target.id!==C.K+\"-menu-area\"))return e.preventDefault(),!1;var p=ZC._tx_(C.K);C.A16(a?a.L:-1,e);var u=-1;if(0!==zingchart.CMZINDEX)u=zingchart.CMZINDEX;else for(var h=ZC.AK(C.K);-1===u&&null!==h.parentNode;)\"auto\"!==(u=ZC._i_(ZC.A4(h).css(\"zIndex\")))&&\"\"!==u&&null!==ZC._n_(u)||(u=-1),h=h.parentNode;u&&-1!==u&&null!==ZC._n_(u)||(u=1);var _=ZC.A4(\"#\"+C.K+\"-menu\");if(_.css(\"zIndex\",zingchart.ZINDEX+u+1),null===ZC._n_(t)){if(e.target.id===C.K+\"-print-png\"||e.target.id===C.K+\"-print-jpeg\")return!0;e.preventDefault()}if(!ZC.AK(C.K+\"-menu\"))return!1;l=A.offset().left,r=A.offset().top;var d=A.width(),f=A.height();null===ZC._n_(t)?(o=(n=ZC.Q.MK(e))[0]||ZC.DW[0],s=n[1]||ZC.DW[1]):(o=l+C.I/2,s=r+5);var g=!1;if(C.UF(\"goback\",!1),C.O3>0&&(C.UF(\"goback\",!0),g=!0),C.UF(\"goforward\",!1),C.O3=l&&o<=l+d*p[0]&&s>=r&&s<=r+f*p[1]){ZC.A4(\".zc-menu\").each(function(){this.id!==C.K+\"-menu\"&&C.hideCM()}),C.T0=[o,s,null===ZC._n_(t)?e.target.id:t],_.css(\"opacity\",0).show();var v,B,m=ZC._i_(_.css(ZC._[19]))+ZC._i_(_.css(\"paddingLeft\"))+ZC._i_(_.css(\"paddingRight\")),b=ZC._i_(_.css(ZC._[20]))+ZC._i_(_.css(\"paddingTop\"))+ZC._i_(_.css(\"paddingBottom\")),D=1,E=!1;if(C.o.gui&&C.o.gui[\"context-menu\"]&&C.o.gui[\"context-menu\"]&&(D=C.o.gui[\"context-menu\"].alpha?C.o.gui[\"context-menu\"].alpha:1,E=C.o.gui[\"context-menu\"].docked),_.css(\"opacity\",D).hide(),\"classic\"!==C.LS&&E){if(E){var K=C.B8.O6[C.LS].root.gui[\"context-menu\"];ZC._cp_(C.o.gui[\"context-menu\"],K),v=\"left\"!==C.o.gui[\"context-menu\"].position&&ZC._n_(C.o.gui[\"context-menu\"].position)?A.offset().left+A.width()-m:A.offset().left}B=A.offset().top,_.css(\"left\",ZC.BQ(1,v)+\"px\").css(\"top\",ZC.BQ(1,B)+\"px\").css(ZC._[20],A.height()+\"px\").css(\"box-sizing\",\"border-box\").show(),_=ZC.A4(\"#\"+C.K+\"-menu\"),E&&_.PC[0].scrollHeight>A.height()&&_.css(\"overflow-y\",\"scroll\")}else{if(null===ZC._n_(t)&&e.target.id===C.K+\"-menu-area\"){ZC.AK(C.K+\"-menu\").style.paddingTop=0;var F=ZC.A4(\"#\"+C.K+\"-menu-area\").attr(\"coords\").split(\",\"),X=ZC._i_(F[3])-ZC._i_(F[1]);ZC.AK(C.K+\"-menu\").style.backgroundPosition=ZC._i_(F[0])>C.I/2?\"100% 0% !important\":\"0% 0% !important\",v=l+(ZC._i_(F[0])>C.I/2?ZC._i_(F[2])-m:ZC._i_(F[0])),B=r+(ZC._i_(F[1])>C.F/1.25?ZC._i_(F[3])-b-X:ZC._i_(F[3]))}else ZC.AK(C.K+\"-menu\").style.backgroundPosition=\"50% 0% !important\",v=C.T0[0]-m/2,B=C.T0[1],b>C.F*p[1]?B=r:B-r+b>C.F*p[1]&&(B=ZC.BQ(B-b,C.F*p[1]-b)),vl+C.I*p[0]&&(v=ZC.CX(l+C.I*p[0]-m/2,v-m/2));if(i.position)switch(i.position){case\"top\":break;case\"top-left\":v=v-(C.I*p[0]-m)/2+5;break;case\"top-right\":v=v+(C.I*p[0]-m)/2-5;break;case\"bottom\":B=B+(C.F*p[1]-b)-10;break;case\"bottom-left\":B=B+(C.F*p[1]-b)-10,v=v-(C.I*p[0]-m)/2+5;break;case\"bottom-right\":B=B+(C.F*p[1]-b)-10,v=v+(C.I*p[0]-m)/2-5;break;case\"left\":B=B+(C.F*p[1]-b)/2-5,v=v-(C.I*p[0]-m)/2+5;break;case\"right\":B=B+(C.F*p[1]-b)/2-5,v=v+(C.I*p[1]-m)/2-5}else null!==ZC._n_(i.x)&&null!==ZC._n_(i.y)&&(v=l+ZC._i_(i.x),B=r+ZC._i_(i.y));if(_.css(\"left\",ZC.BQ(1,v)+\"px\").css(\"top\",ZC.BQ(1,B)+\"px\").show(),ZC.ie67){var I=ZC.A4(\"#\"+C.K+\"-menu div\").width()[0]||120;_.css(ZC._[19],I+\"px\")}}return C.AA5=!0,!1}}}},ZC.A4(document).bind(\"contextmenu\",zingchart.Z6)),zingchart.AAT=function(e,t){if(zingchart.css)return zingchart.css.addRule?zingchart.css.addRule(e,t):zingchart.css.insertRule(e+\"{\"+t+\"}\",0)},zingchart.wh=function(e,t,i){\"auto\"===t&&(t=\"100%\"),\"auto\"===i&&(i=\"100%\");var a=[0,0];return-1===(\"\"+t).indexOf(\"%\")&&-1===(\"\"+i).indexOf(\"%\")||(a=e.wh()),[-1!==(\"\"+t).indexOf(\"%\")?a[0]*parseInt(t,10)/100:parseInt(t,10),-1!==(\"\"+i).indexOf(\"%\")?a[1]*parseInt(i,10)/100:parseInt(i,10)]},zingchart.J3={},zingchart.bind=function(e,t,i){e=e||\"zingchart-global\",zingchart.J3[e]||(zingchart.J3[e]={}),zingchart.J3[e][t]?zingchart.J3[e][t].push({fn:i}):zingchart.J3[e][t]=[{fn:i}]},zingchart.unbind=function(e,t,i){if(e=e||\"zingchart-global\",zingchart.J3[e]&&zingchart.J3[e][t])if(i){for(var a=0,n=zingchart.J3[e][t].length;a0&&(G.width()!==M||G.height()!==L)&&(e=u.M1||u.QY?zingchart.wh(G,\"\"+G.width(),\"\"+G.height()):zingchart.wh(G,u.FZ,u.MY))[0]>10&&e[1]>10){for(u.I=e[0],u.F=e[1],M=G.width(),L=G.height(),n=0,l=u.AH.length;n10&&L>10){for(-1!==(\"\"+u.FZ).indexOf(\"%\")?u.I=M*ZC.IQ(u.FZ):u.I=M,-1!==(\"\"+u.MY).indexOf(\"%\")?u.F=L*ZC.IQ(u.MY):u.F=L,n=0,l=u.AH.length;n%g:%i:%s %A
%q ms\",second:\"%d %M %Y
%g:%i:%s %A\",minute:\"%d %M %Y
%g:%i %A\",hour:\"%d %M %Y
%g %A\",day:\"%d %M %Y\",month:\"%M %Y\",year:\"%Y\"},\"days-short\":[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],\"days-long\":[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],\"months-short\":[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],\"months-long\":[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],\"sync-wait\":\"Wait...\",\"export-wait\":\"Exporting...\",\"progress-wait-long\":\"Wait. Loading...\",\"progress-wait-short\":\"Wait...\",\"progress-wait-mini\":\"...\",\"error-header\":\"An Error Has Occured\",\"error-message\":\"Error Message:\",\"error-close\":\"Close\",\"bugreport-header\":\"Submit Bug Report\",\"bugreport-senddata\":\"Send JSON Data\",\"bugreport-sendcapture\":\"Send Graph Capture\",\"bugreport-yourcomment\":\"Your Comment:\",\"bugreport-jsondata\":\"JSON Data:\",\"bugreport-youremail\":\"Your Email Address\",\"bugreport-infoemail\":\"if you want to receive via email our reply to your problem\",\"bugreport-emailmandatory\":\"Email address is mandatory...\",\"bugreport-submit\":\"Submit\",\"bugreport-cancel\":\"Cancel\",\"bugreport-confirm\":\"Your bug report was sent.\\n\\nThank you!\",\"about-close\":\"Close\",\"viewsource-jsonsource\":\"Parsed JSON\",\"viewsource-originalsource\":\"Original JSON\",\"viewsource-close\":\"Close\",\"viewsource-apply\":\"Apply\",\"viewimage-close\":\"Close\",\"legend-pagination\":\"Page %page% of %pages%\"},ZC.HN=zingchart.i18n.en_us,zingchart.getLoader=function(e){for(var t=0;t0&&(ZC.AP.C0(\"history_back\",Z,Z.FG()),Z.O3--,zingchart.exec(Z.K,\"setdata\",{data:Z.QV[Z.O3]}));break;case\"goforward\":Z.IE&&Z.O310&&B[1]>10)&&(Z.I=B[0],Z.F=B[1],null!==ZC._n_(a=i.layout)&&(Z.o.layout=a),\"\"===Z.MI&&(Z.D[\"from-api\"]=!0,Z.D[ZC._[53]]=!0,Z.resize(f),Z.FZ=g,Z.MY=v,Z.A37=!1));break;case\"plothide\":case\"hideplot\":(r=Z.C7(i[ZC._[3]]))&&r.ZO(i,\"hide\");break;case\"showguide\":case\"hideguide\":ZC.DW[0]=ZC._n_(i.x)?i.x:ZC.DW[0],ZC.DW[1]=ZC._n_(i.y)?i.y:ZC.DW[1],(r=Z.C7(i[ZC._[3]]))&&Z.W1(r.K,\"showguide\"===t);break;case\"showtooltip\":case\"hidetooltip\":case\"clicknode\":if(r=Z.C7(i[ZC._[3]])){var m=i.ev||{};(o=r.HT(i.plotindex,i.plotid))&&o.R.length&&!i.xy?(s=o.L,C=ZC._i_(i.nodeindex||\"0\"),m.targetid=r.K+ZC._[35]+s+\"-node-\"+C,m.update=!0):m.targetid=r.K+\"-xy-\"+ZC._i_(i.y||\"0\")+\"-\"+ZC._i_(i.x||\"0\"),\"clicknode\"===t?(m.which=0,r.TU(m)):r.A.A8&&(\"showtooltip\"===t?r.A.A8.onmouseover(m,i.data):r.A.A8.hide())}break;case\"locktooltip\":ZC.TTLOCK=!0;break;case\"unlocktooltip\":ZC.TTLOCK=!1;break;case\"showhoverstate\":if(r=Z.C7(i[ZC._[3]])){o=r.HT(i.plotindex,i.plotid),s=ZC._i_(o?o.L:0),C=ZC._i_(i.nodeindex||\"0\");var b=r.AZ.A5[s].FR(C);r.L8(),b.I2()}break;case\"plotshow\":case\"showplot\":(r=Z.C7(i[ZC._[3]]))&&r.ZO(i,\"show\");break;case\"togglesource\":ZC.AK(Z.K+\"-viewsource\")?ZC.Q.ET(Z.K+\"-viewsource\"):Z.A19();break;case\"togglebugreport\":ZC.AK(Z.K+\"-bugreport\")?ZC.Q.ET(Z.K+\"-bugreport\"):Z.A2C();break;case\"toggleabout\":ZC.AK(Z.K+\"-about\")?ZC.Q.ET([Z.K+\"-about\",Z.K+\"-about-mask\"]):Z.A5V();break;case\"toggleplot\":(r=Z.C7(i[ZC._[3]]))&&r.P8(i);break;case\"getcharttype\":return(r=Z.C7(i[ZC._[3]]))?r.AF:null;case\"showversion\":case\"getversion\":return ZC.VERSION;case\"get3dview\":return(r=Z.C7(i[ZC._[3]]))?r.EY:null;case\"set3dview\":(r=Z.C7(i[ZC._[3]]))&&(null===ZC._n_(Z.o[ZC._[16]][r.L][ZC._[26]])&&(Z.o[ZC._[16]][r.L][ZC._[26]]={}),ZC._cp_(i,Z.o[ZC._[16]][r.L][ZC._[26]]),null===ZC._n_(r.o[ZC._[26]])&&(r.o[ZC._[26]]={}),ZC._cp_(i,r.o[ZC._[26]]),zingchart.SKIP.PARSE3D=!0,r.autoFit(),r.JW(!0,!0),zingchart.SKIP.PARSE3D=!1);break;case\"getpage\":return Z.LE;case\"setpage\":var D=0;null!==ZC._n_(a=i.page)&&(D=ZC._i_(a)),Z.LE=D,ZC.ZW(function(){Z.clear(),Z.parse(),Z.paint()},!0);break;case\"unbinddocument\":ZC.A4(document).unbind(ZC.Q.BX(ZC._[48]),zingchart.MO).unbind(ZC.Q.BX(ZC._[47]),zingchart.MO).unbind(ZC.Q.BX(ZC._[49]),zingchart.MO).unbind(\"click\",zingchart.SM).unbind(\"contextmenu\",zingchart.Z6),Z.D4&&Z.D4.unbind()}for(zingchart.ABZ&&null!==(A=zingchart.ABZ(e,t,i))&&(a=A),zingchart.ABI&&null!==(A=zingchart.ABI(e,t,i))&&(a=A),zingchart.ABP&&null!==(A=zingchart.ABP(e,t,i))&&(a=A),zingchart.ABW&&null!==(A=zingchart.ABW(e,t,i))&&(a=A),zingchart.AB4&&null!==(A=zingchart.AB4(e,t,i))&&(a=A),zingchart.ABX&&null!==(A=zingchart.ABX(e,t,i))&&(a=A),n=0,l=zingchart.A9N.length;nm;C--)B[C]=B[C-1];B[m]=i[ZC._[9]]||\"\",F.o[ZC._[16]][n.L][d][ZC._[5]]=B}F.D.json=ZC.GX(JSON.stringify(F.o)),n.LK(\"on-change\"),X&&(n.D[\"from-api\"]=!0,n.JW(x,x))}break;case\"removescalevalue\":if(zingchart.SKIP.CSV=!0,n=F.C7(i[ZC._[3]])){for(d=i.scale||ZC._[50],f=0,g=n.BN.length;fm;C--)v[C]=v[C-1];if(v[m]=i[ZC._[9]],!$)for(f=0,g=n.BN.length;fm;C--)B[C]=B[C-1];B[m]=i[d+\"-value\"],F.o[ZC._[16]][n.L][d][ZC._[5]]=B}ZC.AP.C0(\"node_add\",F,{id:F.K,graphid:n.K,plotindex:r.L,nodeindex:m,key:m,value:i[ZC._[9]],text:i[ZC._[9]]}),F.o[ZC._[16]][n.L][ZC._[11]][r.L][ZC._[5]]=n.o[ZC._[11]][r.L][ZC._[5]],F.D.json=ZC.GX(JSON.stringify(F.o)),n.LK(\"on-change\"),X&&(n.D[\"from-api\"]=!0,n.JW(x,x))}break;case\"removenode\":if(zingchart.SKIP.CSV=!0,(n=F.C7(i[ZC._[3]]))&&(r=n.HT(i.plotindex,i.plotid))){v=n.o[ZC._[11]][r.L][ZC._[5]],m=null===ZC._n_(i.nodeindex)?r.R.length-1:ZC._i_(i.nodeindex);var te=!0;if(null!==ZC._n_(i.nodekeyvalue))for(te=!1,f=0,g=r.R.length;f0&&null!==ZC._n_(b[C][0])&&b[C][0].length>1,Ce=!0;if(null!==ZC._n_(a=i.ignoreduplicates)&&(Ce=ZC._b_(a)),se){var Ae=oe.length;for(Z=0,c=b[C].length;Z=0;ce--){if(b[C][Z][0]>oe[ce][0]){oe.push(b[C][Z]),Ze=!0;break}if(b[C][Z][0]===oe[ce][0]){Ze=!0;break}}Ze&&Ce||oe.push(b[C][Z])}}else for(Z=0,c=b[C].length;Zb.length)for(f=b.length;fn.G.I&&(a=!1),null!==ZC._n_(i[\"max-width\"])&&ZC._i_(i[\"max-width\"])n.G.F&&(a=!1),null!==ZC._n_(i[\"max-height\"])&&ZC._i_(i[\"max-height\"])\")}return\"\"!==t?[t,ZC.Y7.md5(t)]:null}J0(){return!0}copy(e){var t=this;ZC._cp_(e.o,t.o),e.I9&&(t.I9=t.I9||{},ZC._cp_(e.I9,t.I9)),e.JC&&(t.JC=t.JC||{},ZC._cp_(e.JC,t.JC)),ZC._cp_(e.D,t.D),ZC._cp_(e.E4,t.E4)}}class D0 extends ACU{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;e&&e.G&&(t.G=e.G),t.K=\"\",t.DI=null,t.AM=!0,t.A0=\"-1\",t.AE=\"-1\",t.GT=\"\",t.HS=\"\",t.W9=!0,t.D8=\"\",t.MD=\"repeat\",t.TK=\"50% 50%\",t.XB=\"\",t.KU=1,t.NR=\"linear\",t.NJ=90,t.WP=0,t.WI=0,t.B1=0,t.B7=\"#000\",t.GD=\"\",t.EX=0,t.G9=0,t.AT=0,t.BV=\"#000\",t.C5=1,t.O5=1,t.TG=\"butt\",t.A0F=\"round\",t.ME=!1,t.OO=45,t.JZ=2,t.TH=.75,t.S8=\"#999\",t.PM=0,t.CY=!0,t.N5=!1,t.LC=!1,t.A2L=!1,t.OT=null,t.BG=\"\"}getPMap(){var e=super.getPMap();return this.addPMap(e,\"visible,backgroundColor1,backgroundColor2,gradientColors,gradientStops,backgroundImage,backgroundRepeat,backgroundPosition,backgroundFit,backgroundScale,fillType,fillAngle,fillOffsetX,fillOffsetY,lineWidth,lineColor,lineStyle,lineSegmentSize,lineGapSize,borderWidth,borderColor,borderAlpha,alpha,lineCap,shadow,shadowAngle,shadowDistance,shadowAlpha,shadowColor,shadowBlur,class,border\",\"AM,A0,AE,GT,HS,D8,MD,TK,XB,KU,NR,NJ,WP,WI,B1,B7,GD,EX,G9,AT,BV,O5,C5,TG,ME,OO,JZ,TH,S8,PM,DI,BG\"),e}copy(e){super.copy(e);for(var t=\"AM,A0,AE,GT,HS,D8,W9,MD,TK,XB,KU,NR,NJ,WP,WI,B1,B7,GD,EX,G9,AT,BV,O5,C5,TG,ME,OO,JZ,TH,S8,PM,CY,LC,DI,G,BG\".split(\",\"),i=0,a=t.length;i2&&null!==i[0]&&null!==i[i.length-1]&&i[0].join(\",\")===i[i.length-1].join(\",\")&&(t.TG=\"round\");var c=t.G.AC;if(\"canvas\"!==c||0!==t.B1&&\"-1\"!==t.B7){if(t.ME&&!a){t.C6=t.C6||t.Z;var p,u=ZC.Q._sh_(i,t);typeof t.A58!==ZC._[31]?p=t.A58:((p=new DU(t)).copy(t),p.K=t.K+\"-sh\",p.ME=!1,p.B1+=p.PM,p.B7=p.S8),p.C5=t.C5*p.TH,typeof t.ADF===ZC._[31]&&(t.A58=p),p.CY=!1,r=t.C6?ZC.Q.E8(t.C6,c):e,ZC.CR.setup(r,p),ZC.CR.paint(r,p,u,!1,1,l)}var h=ZC._i_(t.EX||\"0\"),_=ZC._i_(t.G9||\"0\");\"solid\"===t.GD&&(h=_=0);var d=i.length;typeof t.AA===ZC._[31]&&(t.AA=0),\"canvas\"===c&&(e.lineJoin=t.A0F,e.lineCap=t.TG,e.strokeStyle=ZC.AP.A3R(ZC.AP.G8(t.B7),a?t.O5:t.C5),e.lineWidth=t.B1,e.beginPath());var f=!1;if(-1!==ZC.AV([\"svg\",\"vml\"],c))o=l?[]:ZC.Q.A3J(i,c,t,a);else{var g=!1;\"dashdot\"!==t.GD&&(g=e.setLineDash)&&e.setLineDash(0===h||0===_?[]:[h,_]);var v=0,B=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX];for(Z=0;Zh){var y;v=0,y=\"dashdot\"===t.GD?Math.floor(ZC._a_(x/((F+t.B1+_)/2))):Math.floor(ZC._a_(x/F));var Y=Math.atan2(I,X),w=Math.cos(Y),G=Math.sin(Y),M=b,L=D,P=h;for(C=0;Ch?e.lineTo(M+w*h,L+G*h):x>0&&e.lineTo(M+w*x,L+G*x),e.moveTo(E,K)}else v=x}}else f=!0;t.G&&d<=6&&a&&(t.G.D[t.K+\"-bounds\"]=B)}switch(c){case\"canvas\":e.globalCompositeOperation=t.A1I,e.stroke();break;case\"svg\":case\"vml\":if(null===ZC._n_(t.o[\"top-state\"])&&t.G.OF&&(!a||t.D.areanode)){if(A=t.D.areanode?t.A0+\"-\"+t.AE+\"-\"+t.D8+\"-\"+t.B1+\"-\"+t.GD+\"-\"+t.C5+\"-\"+t.BJ+\"-\"+t.BH:t.B7+\"-\"+t.B1+\"-\"+t.GD+\"-\"+t.C5+\"-\"+t.BJ+\"-\"+t.BH,null===ZC._n_(t.G.O1[n])){t.G.O1[n]={uid:A,ctx:e,path:o,style:t,filled:a};break}if(t.G.O1[n].uid===A&&t.G.O1[n].path.length<2e3){C=t.G.O1[n].path,o&&o[0]&&(C.length>0&&C[C.length-1].replace(/[A-Z]+/,\"\")===o[0].replace(/[A-Z]+/,\"\")&&(o[0]=\"\"),t.G.O1[n].path=t.G.O1[n].path.concat(o));break}\"svg\"===c?ZC.CR.UD(t.G.O1[n].ctx,t.G.O1[n].style,t.G.O1[n].path.join(\" \"),t.G.O1[n].filled):ZC.CR.U1(t.G.O1[n].ctx,t.G.O1[n].style,t.G.O1[n].path.join(\" \"),t.G.O1[n].filled),t.G.O1[n]={uid:A,ctx:e,path:o,style:t,filled:a};break}\"svg\"===c?ZC.CR.UD(e,t,o.join(\" \"),a,l):ZC.CR.U1(e,t,o.join(\" \"),a)}if(null!==ZC._n_(t.o[\"top-state\"])&&!t.YX&&!t.D[\"skip-top\"]&&!t.WW){var N=new I0(t.A);N.copy(t),N.WW=!0,N.ME=!1,N.Z=t.Z,N.append(t.o[\"top-state\"]),N.K=t.K+\"-top\",N.parse(),\"svg\"===c?ZC.CR.UD(e,N,o.join(\" \"),a,l):\"vml\"===c?ZC.CR.U1(e,N,o.join(\" \"),a):ZC.CR.paint(e,N,i,a,n,l)}}}},smooth:function(e,t,i){var a,n,l,r;ZC._n_(t)&&(t=!1),i=i||\"h\";var o=[],s=[];for(a=0,n=e.length;a0&&(c.stroke=t.B7,c[\"stroke-width\"]=t.B1,c[\"stroke-opacity\"]=a?t.O5:t.C5,\"solid\"===t.GD||0===t.EX&&0===t.G9||(\"dashdot\"===t.GD?c[\"stroke-dasharray\"]=[t.EX,t.G9,t.B1,t.G9].join(\" \"):c[\"stroke-dasharray\"]=t.EX+\",\"+t.G9)),l.id=_,\"\"!==f&&(c.transform=f),t.o[\"fast-line\"]&&t.B1>0?(l.setAttribute(\"stroke\",c.stroke),l.setAttribute(\"stroke-width\",c[\"stroke-width\"]),l.setAttribute(\"stroke-opacity\",c[\"stroke-opacity\"]),l.setAttribute(\"d\",i)):ZC.Q.G5(l,c),ZC.CR._append_(e,t,l),(!t.D.border||\"all\"===t.D.border)&&typeof t.D.imgfill!==ZC._[31])if(\"string\"==typeof t.D.imgfill)ZC.AK(_+\"-imgfill\")||(d=n?ZC.Q.F6(\"rect\",ZC._[36]):ZC.Q.F6(\"path\",ZC._[36]),ZC.Q.G5(d,{id:_+\"-imgfill\",transform:f,fill:t.D.imgfill,\"fill-opacity\":t.C5}),n?ZC.Q.G5(d,{x:r,y:o,width:ZC.BQ(0,s),height:ZC.BQ(0,C),rx:A,ry:Z}):ZC.Q.G5(d,{d:i}),ZC.CR._append_(e,t,d));else if(!ZC.AK(_+\"-imgfill\")){var v=t.D.imgfill,B=ZC.Q.F6(\"image\",ZC._[36]);B.setAttributeNS?\"zc.\"===t.D8.substring(0,3)?B.setAttributeNS(ZC._[37],\"href\",ZC.IMAGES[t.D8]):B.setAttributeNS(ZC._[37],\"href\",t.D8):\"zc.\"===t.D8.substring(0,3)?B.setAttribute(\"src\",ZC.IMAGES[t.D8]):B.setAttribute(\"src\",t.D8),null!==ZC._n_(t.D[\"clip-path\"])&&ZC.Q.G5(B,{\"clip-path\":\"url(#\"+t.D[\"clip-path\"]+\")\"}),ZC.Q.G5(B,{id:_+\"-imgfill\",x:v[1],y:v[2],\"fill-opacity\":t.C5,width:t.D[ZC._[69]],height:t.D[ZC._[70]],preserveAspectRatio:\"none\"}),ZC.CR._append_(e,t,B)}}},U1:function(e,t,i,a){var n,l,r,o,s,C;a&&(i+=\" x e\");var A=\"\";typeof t.K===ZC._[31]||\"\"===t.K?typeof t.G!==ZC._[31]&&(A=t.G.GRAPHID+\"-path-\"+ZC.SEQ,ZC.SEQ++):A=t.K+\"-path\";var Z=ZC.Q.F6(\"zcv:shape\");Z.style.position=\"absolute\",Z.style.rotation=t.AA,Z.id=A;var c=ZC.Q.F6(\"zcv:path\");if(c.v=i,c.setAttribute(\"VMLv\",i),Z.appendChild(c),0===t.B1)Z.stroked=!1;else{var p=ZC.Q.F6(\"zcv:stroke\");if(o=t.C5,typeof t.D.A8Z!==ZC._[31]&&(o=t.D.A8Z),typeof t.D.stroke!==ZC._[31])l=t.D.stroke.weight,r=t.D.stroke.color,o=t.D.stroke.opacity,s=t.D.stroke.dashstyle;else{switch(s=\"solid\",t.GD){case\"solid\":s=\"solid\";break;case\"dotted\":s=\"dot\";break;case\"dashed\":s=\"dash\";break;default:s=t.GD}\"solid\"!==s&&\"0 0\"!=(n=ZC.CX(6,t.EX*t.B1)+\" \"+ZC.CX(8,t.G9*t.B1))&&(s=n),l=t.B1,r=t.B7}ZC.Q.G5(p,{weight:l+\"px\",color:r,opacity:o,miterlimit:10,endcap:\"flat\",joinstyle:\"round\",dashstyle:s}),Z.appendChild(p)}a&&typeof t.D.fill!==ZC._[31]&&-1!==t.D.fill?(Z.filled=!0,Z.appendChild(t.D.fill)):Z.filled=!1,ZC.Q.G5(Z,{coordorigin:\"0 0\",coordsize:t.AA%360==0?\"100 100\":t.G.I+\" \"+t.G.F});var u=0,h=0;if(t.AA%360!=0&&typeof t.D.cx!==ZC._[31]&&typeof t.D.cy!==ZC._[31]){var _=t.G.I/2-t.D.cx,d=t.G.F/2-t.D.cy,f=0===d?0:ZC.UB(Math.atan(_/d));t.D.cy>t.G.F/2&&(f+=180);var g=Math.sqrt(_*_+d*d);u=_-g*ZC.EN(f-t.AA),h=d-g*ZC.EE(f-t.AA)}var v=0-u;null!==ZC._n_(t.BJ)&&(v+=t.BJ);var B=0-h;if(null!==ZC._n_(t.BH)&&(B+=t.BH),Z.style.left=v+\"px\",Z.style.top=B+\"px\",e.appendChild(Z),t.AA%360==0?(Z.style.width=\"10px\",Z.style.height=\"10px\"):(Z.style.width=t.G.I+\"px\",Z.style.height=t.G.F+\"px\"),(\"all\"===t.D.border||typeof t.D.imgfill!==ZC._[31])&&typeof t.D.imgfill!==ZC._[31]){var m=t.D.imgfill;1===m.length?((Z=ZC.Q.F6(\"zcv:shape\")).style.position=\"absolute\",Z.style.rotation=t.AA,(c=ZC.Q.F6(\"zcv:path\")).v=i,Z.appendChild(c),Z.appendChild(m[0]),Z.stroked=!1,ZC.Q.G5(Z,{id:A+\"-imgfill\",filled:!0,coordorigin:\"0 0\",coordsize:t.AA%360==0?\"100 100\":t.G.I+\" \"+t.G.F}),Z.style.left=v+\"px\",Z.style.top=B+\"px\",e.appendChild(Z),t.AA%360==0?(Z.style.width=\"10px\",Z.style.height=\"10px\"):(Z.style.width=t.G.I+\"px\",Z.style.height=t.G.F+\"px\")):3===m.length&&((C=ZC.Q.F6(\"img\")).id=A+\"-img\",\"zc.\"===t.D8.substring(0,3)?C.src=ZC.IMAGES[t.D8]:C.src=t.D8,C.style.position=\"absolute\",C.style.left=m[1]+\"px\",C.style.top=m[2]+\"px\",C.style.width=t.D[ZC._[69]]+\"px\",C.style.height=t.D[ZC._[70]]+\"px\",e.appendChild(C))}}};class DU extends D0{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;t.A=e,t.Z=null,t.C6=null,t.H6=\"\",t.iX=-1,t.iY=-1,t.DP=\"poly\",t.E=[],t.CZ=[0,0,0,0],t.AA=0,t.AI=0,t.L2=0,t.BJ=0,t.BH=0,t.A9R=0,t.DQ=0,t.B3=0,t.BI=360,t.CM=0,t.U0=!1,t.ADC=!1,t.A65=0,t.AB3=\"\",t.OF=!1,t.AA9=1,t.JV=1,t.E7=null,t.FD=null,t.IZ=\"auto\",t.KE=!1,t.A1I=\"source-over\",t.R7=!1}getPMap(){var e=super.getPMap();return this.addPMap(e,\"objectId,x,y,points,bounds,pieAngleStart,pieAngleEnd,pieSlice,url,target,offsetX,offsetY,offsetR,size,size2,angle,shape,flat,cursor\",\"H6,iX,iY,E,CZ,B3,BI,CM,E7,FD,BJ,BH,DQ,AI,L2,AA,DP,KE,IZ\"),e}build(){}copy(e){super.copy(e);var t,i,a=this,n=\"BJ,BH,DQ,AI,L2,AA,DP,KE,IZ\".split(\",\");for(t=0,i=n.length;t0)for(a.E=[],t=0,i=e.E.length;t=1||e<0||zingchart.DEV.IGNORESUBUNIT)&&!i?\"x\"===t?l+parseFloat(e):r+parseFloat(e):e>=0&&e<1||i?\"x\"===t?(o=o||1,Math.round(l+o*e)):(s=s||1,Math.round(r+s*e)):void 0}locate(e){var t,i=this;if(i.U0)return-1!==(\"\"+i.o.x).indexOf(\"lon\")?i.iX=i.ll_(i.o.x,\"x\"):i.YQ(\"x\",\"iX\"),-1!==(\"\"+i.o.y).indexOf(\"lat\")?i.iY=i.ll_(i.o.y,\"y\"):i.YQ(\"y\",\"iY\"),void i.ZF();1===e?(null!==(t=ZC._n_(i.o.x))&&(i.iX=i.xy_(t,\"x\")),null!==(t=ZC._n_(i.o.y))&&(i.iY=i.xy_(t,\"y\")),-1===i.iX&&(i.iX=i.A.iX),-1===i.iY&&(i.iY=i.A.iY)):2===e&&(i.ZF(),i.I=i.CZ[2]-i.CZ[0],i.F=i.CZ[3]-i.CZ[1])}ZF(){var e,t=this,i=ZC.MAX,a=ZC.MAX,n=-ZC.MAX,l=-ZC.MAX;switch(t.DP){case\"custom\":i=0,a=0,n=0,l=0;break;case\"circle\":case\"arc\":case\"pie\":i=t.iX-t.AI,a=t.iY-t.AI,n=t.iX+t.AI,l=t.iY+t.AI;break;default:for(var r=0,o=t.E.length;r50&&(i=2),r>100&&(i=4),0===o?n%360!=l%360&&a.push([t.iX,t.iY]):a.push(ZC.AO.BL(t.iX,t.iY,o,n),ZC.AO.BL(t.iX,t.iY,(r+o)/2,n-.25*t.AT),ZC.AO.BL(t.iX,t.iY,r,n)),e=n;e<=l;e+=i)a.push(ZC.AO.BL(t.iX,t.iY,r,e));if(a.push(ZC.AO.BL(t.iX,t.iY,r,l)),a.push(ZC.AO.BL(t.iX,t.iY,(r+o)/2,l+.25*t.AT)),0===o)n%360!=l%360&&a.push([t.iX,t.iY]);else{for(a.push(ZC.AO.BL(t.iX,t.iY,o,l)),e=l;e>=n;e-=i)a.push(ZC.AO.BL(t.iX,t.iY,o,e));a.push(ZC.AO.BL(t.iX,t.iY,o,n))}return a.push([a[0][0],a[0][1]]),ZC.AO.Q6(a,Math.min(5,r/5),[t.BJ,t.BH])}if(0===t.AA||\"rectangle\"!==t.DP&&\"rect\"!==t.DP)return ZC.AO.Q6(t.E,Math.min(5,t.AI/5),[t.BJ,t.BH]);var s,C,A,Z,c,p,u,h,_=[];for(A=ZC._i_((t.CZ[0]+t.CZ[2])/2),Z=ZC._i_((t.CZ[1]+t.CZ[3])/2),s=0,C=t.E.length;s-1&&p.push(ZC.AO.Q6(i,Math.min(5,C.AI/5),[C.BJ,C.BH])),i=[];if(0!==C.AA)for(a=ZC._i_((C.CZ[0]+C.CZ[2])/2),n=ZC._i_((C.CZ[1]+C.CZ[3])/2),e=0,t=i.length;e-1&&p.push(ZC.AO.Q6(i,Math.min(5,C.AI/5),[C.BJ,C.BH])),p}}parse(e){var t,i,a,n,l,r,o;null===ZC._n_(e)&&(e=!1),this.o.tween||e||super.parse();var s=this;if(!s.o.tween&&!e){s.assign_a([[\"map\",\"A65\"]]),\"string\"==typeof s.o.item&&s.assign_a([[\"item\",\"AB3\"]]),0!==s.A65&&(null===ZC._n_(s.o[\"map-item\"])||s.o[\"map-item\"])&&(s.o[\"map-item\"]=!0,s.o[\"map-skip-z-sort\"]=!0);var C=[\"offset-x\",\"offset-y\"];for(i=0;i<2;i++){var A=C[i],Z=\"offset-x\"===A?\"lon\":\"lat\";if(null!==(t=s.o[A])&&typeof t!==ZC._[31]&&-1!==(t=\"\"+t).indexOf(Z)){t=ZC._f_(t.replace(Z,\"\"));var c=zingchart.maps.maps[s.A65];c&&(t=zingchart.maps.translate(A.replace(\"offset-\"),t,s.A.I,s.A.F,c._INFO_.bbox),s.o[A]=t)}}for(s.assign_a([[\"url\",\"E7\"],[\"target\",\"FD\"],[\"cursor\",\"IZ\"],[\"id\",\"H6\"],[\"angle\",\"AA\",\"i\"],[\"static\",\"KE\",\"b\"],[\"flat\",\"KE\",\"b\"],[ZC._[1],\"B3\",\"f\"],[ZC._[2],\"BI\",\"f\"],[ZC._[8],\"CM\",\"i\"],[ZC._[21],\"AI\",\"f\"],[\"size-2\",\"L2\",\"f\"],[\"fast-vector-path\",\"R7\",\"b\"],[\"type\",\"DP\"],[\"points\",\"E\"],[\"offset-x\",\"BJ\"],[\"offset-y\",\"BH\"],[\"offset-z\",\"A9R\",\"i\"],[\"offset-r\",\"DQ\",\"i\"],[\"z-sort\",\"AA9\",\"i\"],[\"z-index\",\"JV\",\"f\"],[\"composite\",\"A1I\"]]),s.BJ=ZC.IQ(s.BJ,!0),s.BH=ZC.IQ(s.BH,!0),s.BJ>-1&&s.BJ<1&&typeof s.D[\"p-width\"]!==ZC._[31]&&(s.BJ*=s.D[\"p-width\"]),s.BH>-1&&s.BH<1&&typeof s.D[\"p-height\"]!==ZC._[31]&&(s.BH*=s.D[\"p-height\"]),s.AI=ZC.BQ(1,s.AI),s.L2=ZC.BQ(1,s.L2),null!==s.o[\"z-sort\"]&&typeof s.o[\"z-sort\"]!==ZC._[31]||(s.AA9=s.JV),\"rectangle\"!==s.DP&&\"rect\"!==s.DP||s.assign_a([[ZC._[19],\"AI\",\"f\"],[ZC._[20],\"L2\",\"f\"]]),s.A5J?(s.E=JSON.parse(JSON.stringify(s.FC)),s.A5J=!1):s.FC=JSON.parse(JSON.stringify(s.E)),i=0,a=s.E.length;i4?2:7-n),i=0+r;i<360+r;i+=l)s.E.push(ZC.AO.BL(s.iX,s.iY,.75*u,i),ZC.AO.BL(s.iX,s.iY,.75*o,i+l/2));s.E.push([s.E[0][0],s.E[0][1]]);break;case\"rpoly3\":case\"rpoly4\":case\"rpoly5\":case\"rpoly6\":case\"rpoly7\":case\"rpoly8\":case\"rpoly9\":for(s.E=[],u=s.AI,l=360/(n=ZC._i_(s.DP.replace(\"rpoly\",\"\"))),r=n%2==0?0:-90,null!==ZC._n_(s.o[\"angle-offset\"])&&(r=ZC._i_(s.o[\"angle-offset\"])),i=0+r;i<360+r;i+=l)s.E.push(ZC.AO.BL(s.iX,s.iY,u,i));s.E.push([s.E[0][0],s.E[0][1]]);break;case\"gear3\":case\"gear4\":case\"gear5\":case\"gear6\":case\"gear7\":case\"gear8\":case\"gear9\":for(s.E=[],u=2*s.AI,l=360/(2*(n=ZC._i_(s.DP.replace(\"gear\",\"\")))),o=.75*u,i=0+(r=n%2==0?0:-90);i<360+r;i+=2*l){var g=i+l/2;s.E.push(ZC.AO.BL(s.iX,s.iY,.75*u,g),ZC.AO.BL(s.iX,s.iY,.75*u,g+l),ZC.AO.BL(s.iX,s.iY,.75*o,g+l+0*l),ZC.AO.BL(s.iX,s.iY,.75*o,g+2*l-0*l))}s.E.push([s.E[0][0],s.E[0][1]]);break;case\"hamburger\":u*=2;var v=s.iX,B=s.iY-10;s.E=s.E.concat([[v-u/2,B-s.L2/2],[v+u/2,B-s.L2/2],[v+u/2,B+s.L2/2],[v-u/2,B+s.L2/2],[v-u/2,B-s.L2/2],null]),B+=5,s.E=s.E.concat([[v-u/2,B-s.L2/2],[v+u/2,B-s.L2/2],[v+u/2,B+s.L2/2],[v-u/2,B+s.L2/2],[v-u/2,B-s.L2/2],null]),B+=5,s.E=s.E.concat([[v-u/2,B-s.L2/2],[v+u/2,B-s.L2/2],[v+u/2,B+s.L2/2],[v-u/2,B+s.L2/2],[v-u/2,B-s.L2/2],null]);break;case\"ellipse\":for(s.CY=!1,s.E=[],i=0;i<=360;i+=5)s.E.push([s.iX+s.AI*ZC.EE(i),s.iY+s.L2*ZC.EN(i)]);s.E.push([s.E[0][0],s.E[0][1]]);break;case\"arc\":s.CY=!1,s.E=[ZC.AO.BL(s.iX,s.iY,s.AI,s.B3),[s.iX,s.iY,s.AI,s.B3,s.BI,0]];break;case\"pie\":for(var m=(s.o[\"pie-transform\"]||\"\").split(/=|,/);s.B3<0||s.BI<0;)s.B3+=360,s.BI+=360;s.CY=!1;var b=!1;-1!==ZC.AV([\"svg\",\"vml\"],s.G.AC)&&s.B3%360==s.BI%360&&(s.B3+=.05,s.BI-=.05,b=!0);var D,E,K,F,X,I=s.iX,x=s.iY,y=ZC._x_(s.B3,2),Y=ZC._x_(s.BI,2),w=ZC._x_((y+Y)/2,2),G=u,M=s.CM,L=0===M&&y%360!=Y%360&&!b;switch(s.E=[],\"circle\"!==m[0]&&(0===M?y%360==Y%360||b||s.E.push([I,x]):s.E.push(ZC.AO.BL(I,x,M,y))),m[0]){case\"flat\":case\"fold\":s.E.push(ZC.AO.BL(I,x,G,y),ZC.AO.BL(I,x,G-(\"fold\"===m[0]?ZC._i_(m[1]):0),Y)),L||s.E.push(ZC.AO.BL(I,x,M,Y));break;case\"callout\":s.E.push(ZC.AO.BL(I,x,G,y),[I,x,G,y,Y,0]),L||(D=1.5*ZC._i_(m[1])*360/(2*Math.PI*G),s.E.push(ZC.AO.BL(I,x,G,Y),ZC.AO.BL(I,x,M,Y),[I,x,M,Y,w+D,1],ZC.AO.BL(I,x,M-ZC._i_(m[1]),w),ZC.AO.BL(I,x,M,w-D),[I,x,M,w-D,y,1]));break;case\"flow\":D=ZC._i_(m[1]),F=ZC.AO.BL(I,x,(M+G)/2,y),99===D||-99===D?s.E.push([F[0],F[1],(G-M)/2,y+180,y,99===D?1:0]):s.E.push(ZC.AO.BL(I,x,(M+G)/2,y+D)),s.E.push(ZC.AO.BL(I,x,G,y),[I,x,G,y,Y,0]),X=ZC.AO.BL(I,x,(M+G)/2,Y),L?99===D||-99===D?s.E.push(ZC.AO.BL(I,x,G,Y),[X[0],X[1],(G-M)/2,Y,Y+180,99===D?0:1]):s.E.push(ZC.AO.BL(I,x,(M+G)/2,Y+D)):(99===D||-99===D?s.E.push([X[0],X[1],(G-M)/2,Y,Y+180,99===D?0:1]):s.E.push(ZC.AO.BL(I,x,(M+G)/2,Y+D)),s.E.push(ZC.AO.BL(I,x,M,Y),[I,x,M,Y,y,1]));break;case\"circle\":var P=ZC._f_(m[1]||\"1\"),N=(5+ZC._a_(Y-y)%360*50/360)*P;K=Y%360==y%360||b?[I,x]:ZC.AO.BL(I,x,(G+M)/2,(y+Y)/2),s.E.push(ZC.AO.BL(K[0],K[1],N,0),[K[0],K[1],N,0,360,0]);break;case\"bite\":D=ZC._i_(m[1]),E=ZC._i_(2*G*ZC.EN(D/2)),K=ZC.AO.BL(I,x,G,y),s.E.push(ZC.AO.BL(I,x,G-E,y),[K[0],K[1],E,y+180,y+90+(90-(180-D)/2),1],[I,x,G,y+D,Y,0]),L||s.E.push(ZC.AO.BL(I,x,M,Y),[I,x,M,Y,y,1]);break;case\"droplet\":for(var R=G,H=1,O=0;G*H+O>=R;)H=ZC._x_(H-.02,2),E=ZC._i_(G*H/ZC.EE((Y-y)/2)),O=ZC._i_(G*H*Math.tan(ZC.TA((Y-y)/2)));K=ZC.AO.BL(I,x,E,w),s.E.push(ZC.AO.BL(I,x,G*H,y),[K[0],K[1],O,w-(360-(180-(Y-y)))/2,w+(360-(180-(Y-y)))/2,0]),L||s.E.push(ZC.AO.BL(I,x,M,Y),[I,x,M,Y,y,1]);break;default:s.E.push(ZC.AO.BL(I,x,G,y),[I,x,G,y,Y,0]),0===M?y%360==Y%360||b||s.E.push([I,x]):s.E.push(ZC.AO.BL(I,x,G,Y),ZC.AO.BL(I,x,M,Y),[I,x,M,Y,y,1])}s.E.push([s.E[0][0],s.E[0][1]])}}s.locate(2)}paint(){var e=this;if(\"none\"!==e.DP&&(\"custom\"===e.DP||\"circle\"===e.DP||\"arc\"===e.DP||0!==e.E.length)){var t,i,a={x:\"iX\",y:\"iY\",width:\"I\",height:\"F\",size:\"AI\"};if(e.o[\"bottom-state\"]&&!e.YX&&!e.WW&&!e.bIsBottom){var n=new DU(e.A);for(t in n.copy(e),n.bIsBottom=!0,n.ME=!1,n.Z=e.Z,n.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY}),n.append(e.o[\"bottom-state\"]),n.K=e.K+\"-bottom\",n.parse(),i=!1,a)null===ZC._n_(n.o[t])||-1===(\"\"+n.o[t]).indexOf(\"+\")&&-1===(\"\"+n.o[t]).indexOf(\"-\")||(n.o[t]=n[a[t]]=e[a[t]]+ZC._i_(n.o[t]),i=!0);i&&n.parse(),n.paint()}var l=e.G.AC;switch(e.ME&&e.C6&&e.A2H(),l){case\"canvas\":e.WX();break;case\"svg\":e.UD();break;case\"vml\":e.U1()}if(e.o[\"top-state\"]&&!e.YX&&!e.WW&&!e.bIsBottom){var r=new DU(e.A);for(t in r.copy(e),r.WW=!0,r.ME=!1,r.Z=e.Z,r.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY}),r.append(e.o[\"top-state\"]),r.K=e.K+\"-top\",r.parse(),i=!1,a)null===ZC._n_(r.o[t])||-1===(\"\"+r.o[t]).indexOf(\"+\")&&-1===(\"\"+r.o[t]).indexOf(\"-\")||(r.o[t]=r[a[t]]=e[a[t]]+ZC._i_(r.o[t]),i=!0);i&&r.parse(),r.paint()}}}A2H(){var e,t=this,i=new DU(t.A);i.K=t.K+\"-sh\",i.copy(t),i.OF=t.OF,i.Z=t.C6,i.ME=!1,i.YX=!0,i.A0=i.AE=i.S8,i.GT=i.HS=\"\",i.D8=\"\",i.GD=\"solid\",i.BV=i.S8,i.B1=0,i.C5=i.TH*t.C5,i.K=t.K+\"-sh\";var a=(t.JZ-t.PM)*ZC.EE(t.OO)+t.PM,n=(t.JZ-t.PM)*ZC.EN(t.OO)+t.PM;if(i.iX=t.iX+parseInt(a,10),i.iY=t.iY+parseInt(n,10),i.AI=t.AI+t.PM,t.E.length>0){e=[];for(var l=0,r=t.E.length;l0||\"arc\"===s.DP&&s.B1>0)&&C.stroke(),C.closePath();break;case\"plus\":case\"cross\":case\"line\":case\"ic_line\":s.B1>0&&(ZC.CR.setup(C,s),s.o.spline?(s.CY=!1,s.R7=!0,ZC.CR.paint(C,s,ZC.CR.smooth(s.E,!1,s.o.direction||\"h\"))):ZC.CR.paint(C,s,s.E));break;default:if(s.AT>0){var D=s.B7,E=s.B1;s.B7=s.BV,s.B1=s.AT,s.KO(),ZC.CR.setup(C,s),ZC.CR.paint(C,s,s.E,!0),s.B7=D,s.B1=E,s.KO()}C.closePath()}C.restore()}XP(e){var t=this,i=e.info,a=i.image,n=!0;switch(t.MD){default:n=!0;break;case\"no-repeat\":case\"false\":case!1:n=!1}var l=t.D8;0===a.src.indexOf(\"data:\")&&(l=a.src),a.width*=t.KU,a.height*=t.KU;var r=\"\"===t.K?\"pattern-\"+ZC.SEQ++:t.K+\"-pattern\";ZC.Q.ET(r);var o=ZC.Q.F6(\"image\",ZC._[36]);o.setAttributeNS?o.setAttributeNS(ZC._[37],\"href\",l):o.setAttribute(\"src\",l),ZC.Q.G5(o,{id:r+\"-image\",preserveAspectRatio:\"none\",width:t.D[ZC._[69]],height:t.D[ZC._[70]]});var s=a.width,C=a.height;if(!n){var A,Z;s=C=1,t.I>0&&t.F>0?(A=t.I,Z=t.F):(A=t.CZ[2]-t.CZ[0],Z=t.CZ[3]-t.CZ[1]);var c=ZC._i_(A*i.cx),p=ZC._i_(Z*i.cy);if(\"pie\"===t.DP){s=t.G?t.G.I:t.A.I,C=t.G?t.G.F:t.A.F;var u=t.AA+t.B3+(t.BI-t.B3)*i.hPos,h=ZC.AO.BL(t.iX,t.iY,t.CM+(t.AI-t.CM)*i.vPos,u);c=h[0]-a.width/2,p=h[1]-a.height/2}t.D[\"pattern-image-id\"]=r+\"-image\",t.D[\"pattern-tx\"]=c,t.D[\"pattern-ty\"]=p,ZC.Q.G5(o,{transform:\"translate(\"+c+\",\"+p+\")\"})}var _=ZC.Q.F6(\"pattern\",ZC._[36]);ZC.Q.G5(_,{x:n?e.x:0,y:n?e.y:0,width:s,height:C,id:r,patternUnits:n||\"pie\"===t.DP?\"userSpaceOnUse\":\"objectBoundingBox\"}),t.G.KH.childNodes[0].appendChild(_),_.appendChild(o),t.D.imgfill=\"url(#\"+r+\")\"}TO(e){null!==e&&typeof e!==ZC._[31]||(e=!1);var t,i,a=this;if(a.A0!==a.AE||\"\"!==a.GT&&\"\"!==a.HS){var n=\"\"===a.K?\"gradient-\"+ZC.SEQ++:a.K+\"-gradient\";(a.U0||e&&!ZC.AK(n))&&(e=!1),ZC.A4.browser.msie&&9===ZC._i_(ZC.A4.browser.version)&&(e=!1),ZC.AK(n)&&!e&&ZC.Q.ET(n);var l=a.SG(a.NR);if(\"radial\"===a.NR?(t=e?ZC.AK(n):ZC.Q.F6(\"radialGradient\",ZC._[36]),ZC.Q.G5(t,{cx:ZC._i_(l.cx),cy:ZC._i_(l.cy),r:ZC._i_(l.r),fx:ZC._i_(l.cx),fy:ZC._i_(l.cy)})):\"linear\"===a.NR&&(t=e?ZC.AK(n):ZC.Q.F6(\"linearGradient\",ZC._[36]),ZC.Q.G5(t,{x1:ZC._i_(l.x1),x2:ZC._i_(l.x2),y1:ZC._i_(l.y1),y2:ZC._i_(l.y2)})),!e){if(ZC.Q.G5(t,{id:n,gradientUnits:\"userSpaceOnUse\"}),a.G.KH.childNodes[0].appendChild(t),\"\"!==a.GT&&\"\"!==a.HS)for(var r=a.GT.split(/\\s+|;/),o=a.HS.split(/\\s+|;/),s=0,C=r.length;s6){for(var i=\"\",a=0,n=t.length;a0&&e.indexOf(\"#\")>=0)?(A=ZC.Q.F6(\"svg\",ZC._[36]),ZC.Q.G5(A,{viewBox:\"0 0 8 8\",fill:r.D.fill}),l=ZC.Q.F6(\"use\",ZC._[36])):l=ZC.Q.F6(\"image\",ZC._[36]),l.setAttributeNS?l.setAttributeNS(ZC._[37],\"href\",e):l.setAttribute(\"src\",e);var Z=r.o[ZC._[19]]?r.o[ZC._[19]]:a.width,c=r.o[ZC._[20]]?r.o[ZC._[20]]:a.height;a.width=Z,a.height=c,C?ZC.Q.G5(A,{id:r.K+\"-image\",x:r.iX-a.width/2+r.BJ,y:r.iY-a.height/2+r.BH,width:a.width,height:a.height}):ZC.Q.G5(l,{id:r.K+\"-image\",x:r.iX-a.width/2+r.BJ,y:r.iY-a.height/2+r.BH,width:a.width,height:a.height}),C?(A.appendChild(l),o.appendChild(A)):o.appendChild(l)}break;case\"circle\":if(!ZC.AK(r.K+\"-circle\")&&(n=ZC.Q.F6(\"circle\",ZC._[36]),-1!==r.D.fill?ZC.Q.G5(n,{fill:r.D.fill,\"fill-opacity\":r.C5}):ZC.Q.G5(n,{fill:\"none\"}),r.DI&&\"\"!==r.DI&&ZC.Q.G5(n,{\"class\":r.DI}),ZC.Q.G5(n,{id:r.K+\"-circle\",cx:r.iX+r.BJ,cy:r.iY+r.BH,r:r.AI}),r.AT>0&&(ZC.Q.G5(n,{stroke:r.BV,\"stroke-width\":r.AT,\"stroke-opacity\":r.O5}),r.KO(r.AT),\"solid\"===r.GD||0===r.EX&&0===r.G9||ZC.Q.G5(n,{\"stroke-dasharray\":\"dashdot\"===r.GD?[r.EX,r.G9,r.B1,r.G9].join(\" \"):[r.EX,r.G9].join(\",\")})),r.G&&r.G.G1?(r.G.G1[o.id]||(r.G.G1[o.id]=document.createDocumentFragment()),r.G.G1[o.id].appendChild(n)):o.appendChild(n),typeof r.D.imgfill!==ZC._[31]))if(\"string\"==typeof r.D.imgfill)n=ZC.Q.F6(\"circle\",ZC._[36]),ZC.Q.G5(n,{id:r.K+\"-imgfill\",fill:r.D.imgfill,\"fill-opacity\":r.C5,cx:r.iX+r.BJ,cy:r.iY+r.BH,r:r.AI,\"stroke-width\":0}),r.G&&r.G.G1?r.G.G1[o.id].appendChild(n):o.appendChild(n);else{var p=r.D.imgfill;(l=ZC.Q.F6(\"image\",ZC._[36])).setAttributeNS&&l.setAttributeNS(ZC._[37],\"href\",r.D8),r.D[\"clip-path\"]&&ZC.Q.G5(l,{\"clip-path\":\"url(#\"+r.D[\"clip-path\"]+(ZC.A4.browser.webkit?\"-shape\":\"\")+\")\"}),ZC.Q.G5(l,{id:r.K+\"-imgfill\",x:p[1],y:p[2],width:p[0].width,height:p[0].height}),o.appendChild(l)}break;case\"plus\":case\"cross\":case\"line\":case\"ic_line\":case\"arc\":r.B1>0&&(ZC.CR.setup(o,r),r.o.spline?(r.CY=!1,r.R7=!0,ZC.CR.paint(o,r,ZC.CR.smooth(r.E,!1,r.o.direction||\"h\"))):ZC.CR.paint(o,r,r.E));break;default:var u=r.B7,h=r.B1;r.B7=r.BV,r.B1=r.AT,r.KO(),ZC.CR.setup(o,r),ZC.CR.paint(o,r,r.E,!0,0),r.B7=u,r.B1=h,r.KO()}}TN(e,t){null!==t&&typeof t!==ZC._[31]||(t=!1);var i,a=this;if(a.A0!==a.AE||\"\"!==a.GT&&\"\"!==a.HS){var n=\"\"===a.K?\"gradient-\"+ZC.SEQ++:a.K+\"-gradient\";if(t&&!ZC.AK(n)&&(t=!1),ZC.AK(n)&&!t&&ZC.A4(n).remove(),i=t?ZC.AK(n):ZC.Q.F6(\"zcv:fill\"),t&&(e=ZC.A4(\"#\"+n).attr(\"focusposition\")),\"\"!==a.GT&&\"\"!==a.HS){for(var l=a.GT.split(/\\s+|;/),r=a.HS.split(/\\s+|;/),o=\"\",s=\"\",C=\"\",A=0,Z=l.length;A0||r.B1>0?n.appendChild(Z):n.stroked=!1,n.style.left=r.iX+r.BJ-r.AI+\"px\",n.style.top=r.iY+r.BH-r.AI+\"px\",n.style.width=2*r.AI+\"px\",n.style.height=2*r.AI+\"px\",\"arc\"===r.DP&&ZC.Q.G5(n,{startangle:r.BI+90,endangle:r.B3+90}),o.appendChild(n),s&&typeof r.D.imgfill!==ZC._[31])){var c=r.D.imgfill;1===c.length?((n=ZC.Q.F6(\"zcv:oval\")).id=r.K+\"-imgfill\",n.style.position=\"absolute\",o.appendChild(n),n.appendChild(c[0]),n.style.left=r.iX+r.BJ-r.AI+\"px\",n.style.top=r.iY+r.BH-r.AI+\"px\",n.style.width=2*r.AI+\"px\",n.style.height=2*r.AI+\"px\",n.stroked=!1,\"arc\"===r.DP&&ZC.Q.G5(n,{startangle:r.BI+90,endangle:r.B3+90})):3===c.length&&((l=ZC.Q.F6(\"img\")).id=r.K+\"-img\",l.src=r.D8,l.style.position=\"absolute\",l.style.left=c[1]+\"px\",l.style.top=c[2]+\"px\",1!==r.KU&&(l.width*=r.KU,l.height*=r.KU,l.style.width=l.width+\"px\",l.style.height=l.height+\"px\"),o.appendChild(l))}break;case\"plus\":case\"cross\":case\"line\":case\"ic_line\":r.B1>0&&(ZC.CR.setup(o,r),r.o.spline?(r.CY=!1,r.R7=!0,ZC.CR.paint(o,r,ZC.CR.smooth(r.E,!1,r.o.direction||\"h\"))):ZC.CR.paint(o,r,r.E));break;default:var p=r.B7,u=r.B1;r.B7=r.BV,r.B1=r.AT,r.KO(),ZC.CR.setup(o,r),ZC.CR.paint(o,r,r.E,!0,0),r.B7=p,r.B1=u,r.KO()}}}class I0 extends DU{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;t.DP=\"box\",t.I=0,t.F=0,t.A96=\"\",t.E6=-1,t.E5=-1,t.DN=-1,t.DT=-1,t.F5=0,t.FS=0,t.F2=0,t.FF=0,t.A83=!1,t.KV=!1,t.ER=\"bottom\",t.EU=0,t.MB=0,t.HA=8,t.G6=8,t.YA=[1,1],t.DL=null,t.OU=null,t.QD=!1,t.N5=!0,t.Q8=\"\",t.OP=\"\",t.NZ=\"\",t.PI=\"\",t.X2=\"tl\",t.FE=!1}getPMap(){var e=super.getPMap();return this.addPMap(e,\"width,height,borderRadiusTopLeft,borderRadiusTopRight,borderRadiusBottomRight,borderRadiusBottomLeft,callout,calloutType,calloutPosition,calloutHook,calloutWidth,calloutHeight,calloutOffset,calloutExtension,position,borderTop,borderRight,borderBottom,borderLeft,rectShortcut\",\"I,F,F5,FS,F2,FF,KV,ER,DL,HA,G6,EU,MB,A96,Q8,OP,NZ,PI,FE\"),e}build(){}wh_(e,t,i){var a=this;if(t=t||\"w\",ZC._f_(e)+\"\"!=e+\"\")return-1!==(e+=\"\").indexOf(\"%\")?a.wh_(ZC._f_(e.replace(\"%\",\"\"))/100,t,!0):-1!==e.indexOf(\"px\")?a.wh_(ZC._f_(e.replace(\"px\",\"\")),t):a.wh_(ZC._f_(e),t);var n=typeof a.D[\"p-width\"]!==ZC._[31]?a.D[\"p-width\"]:a.A.I,l=typeof a.D[\"p-height\"]!==ZC._[31]?a.D[\"p-height\"]:a.A.F;return(e=ZC._a_(e))>1&&!i?ZC._i_(e):e<=1||i?\"w\"===t?ZC._i_(n*e):ZC._i_(l*e):void 0}m_(e,t,i,a,n){var l,r,o=this;if(i=i||0,a=a||0,t=t||\"all\",n=n||\"n\",\"all\"===t){var s=String(e).split(/\\s+|;|,/);return 1===s.length?[o.m_(s[0],\"tb\",i,a,n),o.m_(s[0],\"lr\",i,a,n),o.m_(s[0],\"tb\",i,a,n),o.m_(s[0],\"lr\",i,a,n)]:2===s.length?[o.m_(s[0],\"tb\",i,a,n),o.m_(s[1],\"lr\",i,a,n),o.m_(s[0],\"tb\",i,a,n),o.m_(s[1],\"lr\",i,a,n)]:3===s.length?[o.m_(s[0],\"tb\",i,a,n),o.m_(s[1],\"lr\",i,a,n),o.m_(s[2],\"tb\",i,a,n),o.m_(s[1],\"lr\",i,a,n)]:[o.m_(s[0],\"tb\",i,a,n),o.m_(s[1],\"lr\",i,a,n),o.m_(s[2],\"tb\",i,a,n),o.m_(s[3],\"lr\",i,a,n)]}return e+\"\"==\"auto\"?-2:e+\"\"==\"dynamic\"&&\"y\"===n?\"dynamic\":ZC._f_(e)+\"\"!=e+\"\"?-1!==(e+=\"\").indexOf(\"%\")?o.m_(ZC._f_(e.replace(\"%\",\"\"))/100,t):-1!==e.indexOf(\"px\")?o.m_(ZC._f_(e.replace(\"px\",\"\")),t):o.m_(ZC._f_(e),t):((o.A||typeof o.D[\"p-width\"]!==ZC._[31])&&(l=typeof o.D[\"p-width\"]!==ZC._[31]?o.D[\"p-width\"]:o.A.I),(o.A||typeof o.D[\"p-height\"]!==ZC._[31])&&(r=typeof o.D[\"p-height\"]!==ZC._[31]?o.D[\"p-height\"]:o.A.F),(e=ZC._a_(e))>=1?ZC._i_(e):e<1?\"lr\"===t?ZC._i_((o.A?l:i)*e):ZC._i_((o.A?r:a)*e):void 0)}copy(e){super.copy(e);for(var t=\"I,F,E6,DN,DT,E5,F5,FS,F2,FF,KV,ER,DL,YA,HA,G6,EU,MB,A96,Q8,OP,NZ,PI,FE\".split(\",\"),i=0,a=t.length;i1&&!v?ZC._i_(m):-2===u&&-2===c?ZC._i_(C*m):-2===u&&-2!==c?ZC._i_((C-c)*m):-2!==u&&-2===c?ZC._i_((C-u)*m):ZC._i_((C-u-c)*m),-1!==r.iX?(r.DT=r.iX-o,r.E5=o+C-r.DT-r.I):-2===u&&-2===c?(r.DT=r.E5=(C-r.I)/2,r.iX=o+r.DT):-2===u&&-2!==c?(r.E5=c,r.DT=C-r.E5-r.I,r.iX=o+r.DT):(r.DT=u,r.iX=o+r.DT,r.E5=r instanceof DR?c:C-r.DT-r.I)}else-1!==r.iX?(r.DT=r.iX-o,r.E5=-2===c?0:c,r.I=C-r.DT-r.E5):-2===u&&-2===c?(r.DT=r.E5=0,r.iX=o+r.DT,r.I=C-r.DT-r.E5):-2===u&&-2!==c?(r.E5=c,r.DT=0,r.iX=o+r.DT,r.I=C-r.DT-r.E5):-2!==u&&-2===c?(r.DT=u,r.E5=r instanceof DR?c:0,r.iX=o+r.DT,r.I=C-r.DT-r.E5):(r.DT=u,r.E5=c,r.iX=o+r.DT,r.I=C-r.DT-r.E5);if(null!==(t=ZC._n_(r.o[ZC._[20]]))){var b=ZC._p_(t);v=-1!==(\"\"+t).indexOf(\"%\"),r.F=b>1&&!v?ZC._i_(b):-2===Z&&-2===p?ZC._i_(A*b):-2===Z&&-2!==p?ZC._i_((A-p)*b):-2!==Z&&-2===p?ZC._i_((A-Z)*b):ZC._i_((A-Z-p)*b),-1!==r.iY?(r.E6=r.iY-s,r.DN=s+A-r.E6-r.F):-2===Z&&-2===p?(r.E6=r.DN=(A-r.F)/2,r.iY=s+r.E6):-2===Z&&-2!==p?(r.DN=p,r.E6=A-r.DN-r.F,r.iY=s+r.E6):(r.E6=Z,r.iY=s+r.E6,r.DN=r instanceof DR?p:A-r.E6-r.F)}else-1!==r.iY?(r.E6=r.iY-s,r.DN=-2===p?0:p,r.F=A-r.E6-r.DN):-2===Z&&-2===Z?(r.E6=r.E6=0,r.iY=s+r.E6,r.F=A-r.E6-r.DN):-2===Z&&-2!==p?(r.DN=p,r.E6=0,r.iY=s+r.E6,r.F=A-r.E6-r.DN):-2===Z&&-2!==p?(r.E6=Z,r.DN=r instanceof DR?p:0,r.iY=s+r.E6,r.F=A-r.E6-r.DN):(r.E6=Z,r.DN=p,r.iY=s+r.E6,r.F=A-r.E6-r.DN);if(null!==(t=ZC._n_(r.o.position))){if(r.A&&typeof r.A.iX!==ZC._[31]&&typeof r.A.iY!==ZC._[31]&&typeof r.A.I!==ZC._[31]&&typeof r.A.F!==ZC._[31]){switch(a=0,n=0,(l=String(t).split(/\\s+/))[0]){case\"left\":a=0;break;case\"right\":a=1;break;case\"center\":a=.5;break;default:(a=ZC.IQ(l[0]))>1&&(a/=r.A.I)}switch(l[1]){case\"top\":n=0;break;case\"bottom\":n=1;break;case\"middle\":n=.5;break;default:(n=ZC.IQ(l[1]))>1&&(n/=r.A.F)}}r.D[\"position-info\"]=[a,n],r.iX=r.A.iX+ZC._i_(a*(r.A.I-r.I-B[1]-B[3]))+B[3],r.iY=r.A.iY+ZC._i_(n*(r.A.F-r.F-B[0]-B[2]))+B[0]}r.CZ=[r.iX,r.iY,r.iX+r.I,r.iY+r.F]}}}parse(){super.parse();var e,t=this;if(!t.o.tween){if(t.assign_a([[\"anchor\",\"X2\"],[\"rect-shortcut\",\"FE\",\"b\"],[\"center-ref\",\"A83\",\"b\"],[\"callout\",\"KV\",\"b\"],[\"callout-type\",\"ACT\"],[\"callout-position\",\"ER\"],[\"callout-hook\",\"DL\"],[\"callout-ratio\",\"YA\"],[\"callout-width\",\"HA\",\"i\"],[\"callout-height\",\"G6\",\"i\"],[\"callout-offset\",\"EU\",\"i\"],[\"callout-extension\",\"MB\",\"i\"],[\"border-top\",\"Q8\"],[\"border-right\",\"OP\"],[\"border-bottom\",\"NZ\"],[\"border-left\",\"PI\"]]),null!==(e=ZC._n_(t.o[\"border-radius\"]))){var i=String(e).split(/\\s+|;|,/);2===i.length?(t.F5=t.FS=ZC._i_(i[0]),t.F2=t.FF=ZC._i_(i[1])):4===i.length?(t.F5=ZC._i_(i[0]),t.FS=ZC._i_(i[1]),t.F2=ZC._i_(i[2]),t.FF=ZC._i_(i[3])):t.F5=t.FS=t.F2=t.FF=ZC._i_(i[0])}null!==ZC._n_(t.o[\"callout-tip\"])&&(t.OU=new DU(t.A)),t.assign_a([[\"border-radius-top-left\",\"F5\",\"i\"],[\"border-radius-top-right\",\"FS\",\"i\"],[\"border-radius-bottom-right\",\"F2\",\"i\"],[\"border-radius-bottom-left\",\"FF\",\"i\"]])}}UW(e){var t=e.split(/\\s/);return t[0]=ZC._i_(t[0]),t[2]=ZC.AP.G8(t[2]),t}paint(){var e=this;if(null!==e.DL&&!(e.DL instanceof Array)&&\"zcgraph\"===e.A.OJ){var t=e.A.OM(e.DL);e.DL=[t[0],t[1]],e.DL[0]-=e.BJ,e.DL[1]-=e.BH}if(e.A83&&(e.iX-=e.I/2,e.iY-=e.F/2),\"-1\"!==e.BV&&0!==e.AT||e.Q8+e.OP+e.NZ+e.PI!==\"\"||\"-1\"!==e.A0||\"-1\"!==e.AE||\"\"!==e.D8||\"\"!==e.GT||\"\"!==e.HS){var i=e.G.AC;e.ME&&e.C6&&e.A2H();var a,n={x:\"iX\",y:\"iY\",width:\"I\",height:\"F\"};if(e.o[\"bottom-state\"]&&!e.YX&&!e.bIsBottom&&!e.WW){var l=new I0(e.A);for(a in l.copy(e),l.bIsBottom=!0,l.ME=!1,l.Z=e.Z,l.X2=e.X2,l.append({x:e.iX-e.A.iX,y:e.iY-e.A.iY,width:e.I,height:e.F}),l.append(e.o[\"bottom-state\"]),l.K=e.K+\"-bottom\",l.parse(),l.setAnchor(),!1,n)null===ZC._n_(l.o[a])||-1===(\"\"+l.o[a]).indexOf(\"+\")&&-1===(\"\"+l.o[a]).indexOf(\"-\")||(l[n[a]]=e[n[a]]+ZC._i_(l.o[a]),!0);l.paint()}if(e.Q8+e.OP+e.NZ+e.PI===\"\"){switch(i){case\"canvas\":e.WX();break;case\"svg\":e.UD();break;case\"vml\":e.U1()}if(e.KV&&e.OU){var r,o;if(e.DL&&2===e.DL.length?(r=e.DL[0],o=e.DL[1]):e.D.cp&&(r=e.D.cp[0],o=e.D.cp[1]),e.OU.Z=e.OU.C6=e.Z,e.OU.copy(e),e.OU.append(e.o[\"callout-tip\"]),e.OU.K=e.K+\"-callout-tip\",e.OU.o.x=r,e.OU.o.y=o,e.D.cm){var s=e.D.cm[0],C=e.D.cm[1],A=Math.atan2(ZC._i_(C)-ZC._i_(o),ZC._i_(s)-ZC._i_(r));isNaN(A)&&(A=0),null===ZC._n_(e.OU.o.angle)&&(e.OU.o.angle=ZC.UB(A))}e.OU.parse(),e.OU.paint()}}else{var Z=e.AT,c=e.BV,p=e.GD;switch(e.AT=0,i){case\"canvas\":e.WX();break;case\"svg\":e.UD();break;case\"vml\":e.U1()}e.AT=Z;var u=e.A0,h=e.AE;e.A0=e.AE=\"-1\";for(var _,d=[\"top\",\"right\",\"bottom\",\"left\"],f=[\"Q8\",\"OP\",\"NZ\",\"PI\"],g=0;g=i.F?ZC._a_(ZC.EN(i.NJ))>.5?i.F/2:i.I/2:ZC._a_(ZC.EE(i.NJ))>.5?i.I/2:i.F/2)*ZC.EE(i.NJ),c=t*ZC.EN(i.NJ);return{x1:l-Z,y1:r-c,x2:l+Z,y2:r+c}}}TX(e){var t,i=this;typeof e===ZC._[31]&&(e=\"all\");var a,n,l=i.iX,r=i.iY;i.E=[],a=n=i.AT/2;var o=1;switch(i.G.AC){case\"vml\":o=2,i.AT%2==1&&(a=ZC._i_((i.AT-1)/2),n=ZC._i_((i.AT+1)/2))}var s=null,C=ZC._x_(l+a,2),A=ZC._x_(l-n,2),Z=ZC._x_(r+a,2),c=ZC._x_(r-n,2),p=i.DL&&2===i.DL.length,u=ZC._i_(i.EU*(i.I-i.HA)/100),h=ZC._i_(i.EU*(i.F-i.G6)/100),_=0!==i.F5||0!==i.FS||0!==i.F2||0!==i.FF,d=i.YA[0],f=i.YA[1];switch(i.ER){case\"top\":i.D.cm=[i.iX+i.I/2+u,i.iY];break;case\"bottom\":i.D.cm=[i.iX+i.I/2+u,i.iY+i.F];break;case\"left\":i.D.cm=[i.iX,i.iY+i.F/2+h];break;case\"right\":i.D.cm=[i.iX+i.I,i.iY+i.F/2+h]}if(_){var g,v=ZC.CX(i.I/2,i.F/2);\"top\"!==e&&\"all\"!==e||(0!==i.F5?(g=i.I/2>=i.F5&&i.F/2>=i.F5?ZC._a_(i.F5):v,i.E.push([C,Z+g]),i.F5>0&&i.E.push([C,Z,C+o*g,Z]),i.E.push([C+g,Z])):i.E.push([C,Z]),i.KV&&\"top\"===i.ER&&(i.E.push([C+i.I/2-d*i.HA/2-i.AT/2+u,Z]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[C+i.I/2-i.AT/2+u,Z-i.G6],i.E.push(s)),i.MB>0&&(t=i.E[i.E.length-1],i.E.push([t[0],t[1]-i.MB*(i.G6>0?1:-1)]),i.E.push([t[0],t[1]])),i.E.push([C+i.I/2-i.AT/2+f*i.HA/2+u,Z])),\"top\"===e&&(0!==i.FS?(g=i.I/2>=i.FS&&i.F/2>=i.FS?ZC._a_(i.FS):v,i.E.push([A+i.I-g,Z])):i.E.push([A+i.I,Z]))),\"right\"!==e&&\"all\"!==e||(0!==i.FS?(g=i.I/2>=i.FS&&i.F/2>=i.FS?ZC._a_(i.FS):v,i.E.push([A+i.I-g,Z]),i.FS>0?i.E.push([A+i.I,Z,A+i.I,Z+o*g]):i.E.push([A+i.I,Z+g])):i.E.push([A+i.I,Z]),i.KV&&\"right\"===i.ER&&(i.E.push([A+i.I,Z+i.F/2-d*i.G6/2-i.AT/2+h]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[A+i.I+i.HA,Z+i.F/2-i.AT/2+h],i.E.push(s)),i.E.push([A+i.I,Z+i.F/2+f*i.G6/2-i.AT/2+h])),\"right\"===e&&(0!==i.F2?(g=i.I/2>=i.F2&&i.F/2>=i.F2?ZC._a_(i.F2):v,i.E.push([A+i.I,c+i.F-g])):i.E.push([A+i.I,c+i.F]))),\"bottom\"!==e&&\"all\"!==e||(0!==i.F2?(g=i.I/2>=i.F2&&i.F/2>=i.F2?ZC._a_(i.F2):v,i.E.push([A+i.I,c+i.F-g]),i.F2>0?i.E.push([A+i.I,c+i.F,A+i.I-o*g,c+i.F]):i.E.push([A+i.I-g,c+i.F])):i.E.push([A+i.I,c+i.F]),i.KV&&\"bottom\"===i.ER&&(i.E.push([A+i.I/2+d*i.HA/2+i.AT/2+u,c+i.F]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[A+i.I/2+i.AT/2+u,c+i.F+i.G6],i.E.push(s)),i.MB>0&&(t=i.E[i.E.length-1],i.E.push([t[0],t[1]+i.MB*(i.G6>0?1:-1)]),i.E.push([t[0],t[1]])),i.E.push([A+i.I/2-f*i.HA/2+i.AT/2+u,c+i.F])),\"bottom\"===e&&(0!==i.FF?(g=i.I/2>=i.FF&&i.F/2>=i.FF?ZC._a_(i.FF):v,i.E.push([C+g,c+i.F])):i.E.push([C,c+i.F]))),\"left\"!==e&&\"all\"!==e||(0!==i.FF?(g=i.I/2>=i.FF&&i.F/2>=i.FF?ZC._a_(i.FF):v,i.E.push([C+g,c+i.F]),i.FF>0?i.E.push([C,c+i.F,C,c+i.F-o*g]):i.E.push([C,c+i.F-g])):i.E.push([C,c+i.F]),i.KV&&\"left\"===i.ER&&(i.E.push([C,c+i.F/2+d*i.G6/2+i.AT/2+h]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[C-i.HA,c+i.F/2+i.AT/2+h],i.E.push(s)),i.E.push([C,c+i.F/2-f*i.G6/2+i.AT/2+h])),0!==i.F5?(g=i.I/2>=i.F5&&i.F/2>=i.F5?ZC._a_(i.F5):v,i.E.push([C,Z+g])):(i.E.push([C,Z]),i.E.push([C+.1,Z])))}else\"top\"!==e&&\"all\"!==e||(i.E.push([C,Z]),i.KV&&\"top\"===i.ER&&(i.E.push([C+i.I/2-d*i.HA/2-i.AT/2+u,Z]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[C+i.I/2-i.AT/2+u,Z-i.G6],i.E.push(s)),i.MB>0&&(t=i.E[i.E.length-1],i.E.push([t[0],t[1]-i.MB*(i.G6>0?1:-1)]),i.E.push([t[0],t[1]])),i.E.push([C+i.I/2+f*i.HA/2-i.AT/2+u,Z])),\"top\"===e&&i.E.push([A+i.I,Z])),\"right\"!==e&&\"all\"!==e||(i.E.push([A+i.I,Z]),i.KV&&\"right\"===i.ER&&(i.E.push([A+i.I,Z+i.F/2-i.AT/2-d*i.G6/2+h]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[A+i.I+i.HA,Z+i.F/2-i.AT/2+h],i.E.push(s)),i.E.push([A+i.I,Z+i.F/2-i.AT/2+f*i.G6/2+h])),\"right\"===e&&i.E.push([A+i.I,c+i.F])),\"bottom\"!==e&&\"all\"!==e||(i.E.push([A+i.I,c+i.F]),i.KV&&\"bottom\"===i.ER&&(i.E.push([A+i.I/2+d*i.HA/2+i.AT/2+u,c+i.F]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[A+i.I/2+i.AT/2+u,c+i.F+i.G6],i.E.push(s)),i.MB>0&&(t=i.E[i.E.length-1],i.E.push([t[0],t[1]+i.MB*(i.G6>0?1:-1)]),i.E.push([t[0],t[1]])),i.E.push([A+i.I/2-f*i.HA/2+i.AT/2+u,c+i.F])),\"bottom\"===e&&i.E.push([C,c+i.F])),\"left\"!==e&&\"all\"!==e||(i.E.push([C,c+i.F]),i.KV&&\"left\"===i.ER&&(i.E.push([C,c+i.F/2+i.AT/2+d*i.G6/2+h]),p?i.E.push([i.DL[0],i.DL[1]]):(s=[C-i.HA,c+i.F/2+i.AT/2+h],i.E.push(s)),i.E.push([C,c+i.F/2+i.AT/2-f*i.G6/2+h])),i.E.push([C,Z]),i.E.push([C+.1,Z]));s&&(i.D.cp=s)}WX(e){e=e||\"all\";var t,i,a,n=this,l=n.Z.getContext(\"2d\");l.save(),l.globalCompositeOperation=n.A1I;var r=n.iX,o=n.iY,s=n.WF(),C=s.bc,A=s.bgc1,Z=s.bgc2;if(\"all\"===e)if(A!==Z||\"\"!==n.GT&&\"\"!==n.HS){var c=n.SG(n.NR);\"radial\"===n.NR?t=l.createRadialGradient(c.cx,c.cy,1,c.cx,c.cy,c.r):\"linear\"===n.NR&&(c.x1=isNaN(c.x1)?0:c.x1,c.x2=isNaN(c.x2)?0:c.x2,c.y1=isNaN(c.y1)?0:c.y1,c.y2=isNaN(c.y2)?0:c.y2,t=l.createLinearGradient(c.x1,c.y1,c.x2,c.y2)),\"\"!==n.GT&&\"\"!==n.HS?n.V5(t):(t.addColorStop(0,A),t.addColorStop(1,Z)),l.fillStyle=t}else\"\"!==n.D8&&-1!==ZC.AV([\"repeat\",\"true\",!0],n.MD)&&\"-1\"===n.A0&&\"-1\"===n.AE&&(A=\"rgba(255,255,255,0)\"),l.fillStyle=A;l.strokeStyle=C,l.lineWidth=n.AT,l.translate(n.BJ,n.BH),0!==n.AA&&(l.translate(r+n.I/2,o+n.F/2),l.rotate(ZC.TA(n.AA)),l.translate(-(r+n.I/2),-(o+n.F/2))),l.beginPath(),n.TX(e);var p=n.F5+n.FS+n.F2+n.FF!==0;a=n.B1,n.B1=n.AT;var u=n.GD;if(n.GD=\"\",n.KO(),ZC.CR.contour(l,n,n.E),n.B1=a,n.GD=u,n.KO(),\"all\"===e)if(\"\"!==n.D8&&-1===ZC.AV(ZC.IMG404,n.D8)){l.fill(),l.save(),l.clip();var h=l.globalAlpha;l.globalAlpha=n.C5;var _=n.Q1(),d=_.image;switch(n.MD){default:l.translate(n.iX,n.iY),i=l.createPattern(d,\"repeat\"),l.fillStyle=i,l.fill(),l.translate(-_.x,-_.y);break;case\"no-repeat\":case\"false\":case!1:l.drawImage(d,_.x-n.BJ,_.y-n.BH,n.D[ZC._[69]],n.D[ZC._[70]])}l.globalAlpha=h,l.restore()}else l.fill();if(n.AT>0){var f=n.B7;a=n.B1,n.B7=n.BV,n.B1=n.AT,n.KO(),ZC.CR.setup(l,n),n.TG=p?\"round\":\"square\",n.EX+n.G9>0&&(n.TG=\"butt\"),n.A0F=p?\"round\":\"miter\",n.D[\"skip-top\"]=!0,n.D.border=e,ZC.CR.paint(l,n,n.E,!0),n.B7=f,n.B1=a,n.KO()}l.closePath(),l.restore()}UD(e){e=e||\"all\";var t=this,i=t.Z;t.D.fill=-1;var a=!1;if(\"all\"===e){if(\"\"!==t.D8&&-1===ZC.AV(ZC.IMG404,t.D8)){var n=t.Q1();t.XP({info:n,x:t.iX,y:t.iY}),a=!0}t.TO()}if(t.TX(e),a&&\"repeat\"!==t.MD&&(t.ZF(),t.KV)){var l=0,r=0;t.CZ[1]0&&(t.TG=\"butt\"),t.A0F=o?\"round\":\"miter\";var A=!1;ZC.A4.browser.msie||!t.FE||t.KV||\"\"!==t.Q8||\"\"!==t.OP||\"\"!==t.NZ||\"\"!==t.PI||0!==t.F5||0!==t.FS||0!==t.F2||0!==t.FF||(A=!0),t.D[\"skip-top\"]=!0,t.D.border=e,ZC.CR.paint(i,t,t.E,!0,null,A),t.B7=s,t.B1=C,t.KO()}U1(e){e=e||\"all\";var t=this,i=t.Z;if(\"all\"===e){var a=ZC.Q.F6(\"zcv:fill\");if(\"\"!==t.D8&&-1===ZC.AV(ZC.IMG404,t.D8)){var n=t.Q1(),l=n.image;switch(t.MD){default:a.type=\"tile\",a.src=t.D8,ZC.Q.G5(a,{position:n.cx+\",\"+n.cy,opacity:t.C5,\"o:opacity2\":t.C5}),t.D.imgfill=[a];break;case\"no-repeat\":case\"false\":case!1:t.D.imgfill=[l,n.x,n.y]}}t.TN(\"0.5,0.5\")}var r=ZC.Q.F6(\"zcv:stroke\");switch(r.weight=t.AT+\"px\",r.color=t.BV,r.opacity=t.C5,t.GD){case\"solid\":r.dashstyle=\"solid\";break;case\"dotted\":r.dashstyle=\"dot\";break;case\"dashed\":r.dashstyle=\"dash\"}t.D.stroke=r,t.TX(e);var o=t.F5+t.FS+t.F2+t.FF!==0;t.D.cx=t.iX+t.I/2,t.D.cy=t.iY+t.F/2;var s=t.B7,C=t.B1;t.B7=t.BV,t.B1=t.AT,t.KO(),ZC.CR.setup(i,t),t.TG=o?\"round\":\"square\",t.EX+t.G9>0&&(t.TG=\"butt\"),t.A0F=o?\"round\":\"miter\",t.D.border=e,ZC.CR.paint(i,t,t.E,\"all\"===e),t.B7=s,t.B1=C,t.KO()}}class R5 extends DU{constructor(e){super(e);var t=this;t.X1=null,t.BD=null,t.M=null,t.SZ=null,t.A8=null,t.KE=!1,t.OF=!1,t.L4=!1,t.A6S=!1}parse(){var e,t=this;t.BD=zingchart.pool.getInstance(\"box\"===t.X1.type?\"I0\":\"DU\",t.A,t.K+\"-shape\",t.X1.tween),t.BD.append(t.X1),t.BD.iX=t.iX,t.BD.iY=t.iY,t.BD.K=t.K+\"-gshape\",t.BD.OF=t.OF,t.A6S||null===ZC._n_(e=t.BD.o.points)||(t.BD.o.points=ZC.AP.A56(e,t.A.iX,t.A.iY),t.A6S=!0),t.BD.parse(),null!==ZC._n_(e=t.BD.o.label)&&null!==ZC._n_(e.text)&&\"\"!==e.text&&(typeof e.visible===ZC._[31]||ZC._b_(e.visible))&&(t.M=zingchart.pool.getInstance(\"DR\",t,t.A.K+\"-shape-label-\"+t.H6,ZC.objmove),ZC.objmove||t.M.append(e)),null!==ZC._n_(e=t.BD.o[\"static\"])&&(t.KE=ZC._b_(e)),null!==ZC._n_(e=t.BD.o.flat)&&(t.KE=ZC._b_(e)),null!==ZC._n_(e=t.BD.o.dynamic)&&(t.L4=ZC._b_(e)),null!==ZC._n_(e=t.BD.o.connector)&&(t.SZ=new DU(t),t.SZ.append(e),t.SZ.parse())}paint(){var e,t=this;if(t.BD.Z=t.Z,t.BD.C6=t.C6,t.BD.locate(2),t.BD.WW=!1,\"box\"===t.BD.o.type&&(t.iX-=t.BD.I/2,t.iY-=t.BD.F/2,t.BD.iX-=t.BD.I/2,t.BD.iY-=t.BD.F/2),t.BD.paint(),t.M){if(t.M.Z=t.M.C6=t.Z,t.M.IU=ZC.AK(t.A.A.K+\"-text\"),t.M.K=t.A.K+\"-shape-label-\"+t.H6,t.M.GN=t.A.K+\"-shape-label zc-shape-label\",t.M.o.anchor=t.M.o.anchor||\"c\",!t.X1[\"map-item\"])switch(t.DP){default:t.M.x=t.iX,t.M.y=t.iY;break;case\"line\":case\"poly\":case\"rect\":case\"rectangle\":t.M.o.x=ZC._i_((t.BD.CZ[0]+t.BD.CZ[2])/2),t.M.o.y=ZC._i_((t.BD.CZ[1]+t.BD.CZ[3])/2)}if(ZC.objmove||t.M.parse(),t.M.iX=t.M.iX+t.BD.BJ,t.M.iY=t.M.iY+t.BD.BH,t.M.AM){if(t.SZ&&t.SZ.E.length>0){if(!ZC.AK(t.A.K+\"-objects-front\")){var i=t.A.A.I+\"/\"+t.A.A.F;ZC.Q.K4({cls:\"zc-abs\",wh:i,id:t.A.K+\"-objects-front\",p:ZC.AK(t.A.A.K+\"-objects-front\")},t.A.A.AC),ZC.Q.HH({cls:ZC._[24],id:t.A.K+\"-objects-front-c\",p:ZC.AK(t.A.K+\"-objects-front\"),wh:i},t.A.A.AC)}var a=t.SZ.E,n=t.SZ.o.anchor||\"\",l=a[a.length-1];switch(n){case\"l\":t.M.iX=l[0]+t.BD.BJ,t.M.iY=l[1]-t.M.F/2+t.BD.BH;break;case\"r\":t.M.iX=l[0]-t.M.I+t.BD.BJ,t.M.iY=l[1]-t.M.F/2+t.BD.BH;break;case\"t\":t.M.iX=l[0]-t.M.I/2+t.BD.BJ,t.M.iY=l[1]+t.BD.BH;break;case\"b\":t.M.iX=l[0]-t.M.I/2+t.BD.BJ,t.M.iY=l[1]-t.M.F+t.BD.BH;break;default:t.M.iX=l[0]-t.M.I/2+t.BD.BJ,t.M.iY=l[1]-t.M.F/2+t.BD.BH}e=ZC.Q.E8(ZC.AK(t.A.K+\"-objects-front-c\"),t.A.G.AC),ZC.CR.setup(e,t.SZ),ZC.CR.paint(e,t.SZ,a)}if(t.M.WW=!1,t.X1[\"map-item\"]&&(t.M.GN=t.A.K+\"-mapshape-label zc-mapshape-label\",t.M.iXt.A.iX+t.A.I||t.M.iYt.A.iY+t.A.F))return;t.M.paint(),t.D[\"print-canvas\"]?t.M.EB(ZC.AK(t.D[\"print-canvas\"])):t.M.EB()}}}}class DR extends I0{constructor(e){super(e),this.init(e)}init(e){super.init(e);var t=this;t.IU=null,t.GN=\"\",t.AR=null,t.OG=\"center\",t.K3=\"middle\",t.DH=zingchart.FONTSIZE,t.GF=zingchart.FONTFAMILY,t.C1=\"#000\",t.A9O=!1,t.NA=!1,t.QZ=!1,t.KD=\"none\",t.sFontWeight=\"normal\",t.YW=0,t.FM=2,t.FN=2,t.FT=2,t.EO=2,t.A91=!1,t.A2S=!1,t.FJ=-1,t.KS=0,t.NW=0,t.OX=ZC.MAX,t.bRTL=!1,t.A22=!0,t.XE=zingchart.FASTWIDTH,t.A6R=1.65,t.VL=1,t.WR=!1,t.A8=null,t.VR=!1,t.A63=!1}getPMap(){var e=super.getPMap();return this.addPMap(e,\"textAlign,verticalAlign,fontSize,fontFamily,color,bold,fontWeight,italic,underline,textDecoration,paddingTop,paddingRight,paddingBottom,paddingLeft,text\",\"OG,K3,DH,GF,C1,A9O,sFontWeight,NA,QZ,KD,FM,FN,FT,EO,AR\"),e}copy(e){super.copy(e);for(var t=\"OG,K3,DH,GF,C1,A9O,sFontWeight,NA,KD,QZ,FM,FN,FT,EO,AR\".split(\",\"),i=0,a=t.length;i]+)>)/gi,\"\").length*t.DH/(t.A6R*(t.isBold(t.sFontWeight)?.87:1)*(t.NA?.95:1));var i=\"\";return typeof t.o[\"html-mode\"]!==ZC._[31]&&ZC._b_(t.o[\"html-mode\"])&&(i=\"[HTMLMODE]\"),ZC.Q.A4S(this.G.K,i+e,this.GF,this.DH,this.sFontWeight,this.FJ)}parse(){this.I=this.F=this.NW=this.KS=0,super.parse();var e,t,i,a,n,l=this;if(!l.o.tween){if(l.YQ(\"text\",\"AR\"),null!==ZC._n_(l.AR)&&(l.AR=\"\"+l.AR,l.AR=l.F0(l.AR),l.AR=l.AR.replace(/\\n/g,\"
\").replace(/\\\\n/g,\"
\"),\"svg\"===l.G.AC&&(l.AR=l.AR.replace(/ /g,\" \"))),l.assign_a([[\"overlap\",\"A22\",\"b\"],[\"fast-width\",\"XE\",\"b\"],[\"max-width\",\"OX\",\"i\"],[\"line-height\",\"FJ\",\"i\"],[\"width-ratio\",\"A6R\",\"f\"],[\"wrap-text\",\"A2S\",\"b\"],[\"clip-text\",\"A91\",\"b\"],[\"bold\",\"A9O\",\"b\"],[\"italic\",\"NA\",\"b\"],[\"underline\",\"QZ\",\"b\"],[\"text-decoration\",\"KD\"],[\"rtl\",\"bRTL\",\"b\"],[\"text-align\",\"OG\"],[\"align\",\"OG\"],[\"vertical-align\",\"K3\"],[\"font-size\",\"DH\",\"f\"],[\"max-chars\",\"YW\",\"i\"],[\"font-family\",\"GF\"],[\"font-angle\",\"AA\",\"i\"],[\"color\",\"C1\",\"c\"],[\"font-color\",\"C1\",\"c\"],[\"text-alpha\",\"VL\",\"f\",0,1],[\"lock-rotation\",\"VR\",\"b\"]]),l.DH=ZC.BQ(1,l.DH),null===ZC._n_(l.o[\"text-alpha\"])&&(l.VL=l.C5),l.A9O&&(l.sFontWeight=\"bold\"),null!==(e=ZC._n_(l.o[\"font-weight\"]))&&(l.sFontWeight=e),null===ZC._n_(l.o[\"text-decoration\"])&&(l.KD=l.QZ?\"underline\":\"none\"),null!==(e=ZC._n_(l.o[\"font-style\"]))&&(l.NA=\"italic\"===e||\"oblique\"===e),null!==(e=ZC._n_(l.o.padding))){var r=String(e).split(/\\s+|;|,/);t=1===r.length?[ZC._i_(r[0]),ZC._i_(r[0]),ZC._i_(r[0]),ZC._i_(r[0])]:2===r.length?[ZC._i_(r[0]),ZC._i_(r[1]),ZC._i_(r[0]),ZC._i_(r[1])]:3===r.length?[ZC._i_(r[0]),ZC._i_(r[1]),ZC._i_(r[2]),ZC._i_(r[0])]:[ZC._i_(r[0]),ZC._i_(r[1]),ZC._i_(r[2]),ZC._i_(r[3])],l.FM=t[0],l.FN=t[1],l.FT=t[2],l.EO=t[3]}if(l.assign_a([[\"padding-top\",\"FM\",\"i\"],[\"padding-right\",\"FN\",\"i\"],[\"padding-bottom\",\"FT\",\"i\"],[\"padding-left\",\"EO\",\"i\"]]),l.AR){l.YW>0&&l.AR.length>l.YW&&(l.AR=l.AR.substring(0,l.YW)+\"...\");var o=l.AR.split(/
||
|\\n/),s=\"\";typeof l.o[\"html-mode\"]!==ZC._[31]&&ZC._b_(l.o[\"html-mode\"])&&(o=[l.AR],s=\"[HTMLMODE]\");o.length;for(l.KS=ZC.Q.A4S(this.G.K,s+l.AR,this.GF,this.DH,this.sFontWeight,this.FJ,!0)+l.FM+l.FT,i=0,a=o.length;il.I&&!l.D.wrapped&&l.I>2*l.DH){var C,A=\"\",Z=0,c=l.AR.replace(/
/gi,\" [##] \").split(/\\s|
/),p=[];for(i=0,a=c.length;i.9*l.I){var u=Math.ceil(C/l.I*.9),h=Math.ceil(c[i].length/u);for(n=0;n\",Z=0):(Z+=C=1+l.cwidth(p[i]+\" \"))>.9*l.I?(i>0&&(A+=\"
\"),A+=p[i]+\" \",Z=C):A+=p[i]+\" \");A=(A=A.replace(/

/g,\"
\").replace(/

/g,\"
\")).replace(/(.+?)
$/g,\"$1\");var _=l.o.text;l.o.text=A,l.D.wrapped=!0,l.parse(),l.o.text=_,l.D.wrapped=!1}if(\"canvas\"!==l.G.AC&&(l.AR=l.AR.replace(/</g,\"<\").replace(/>/g,\">\")),!(null!==ZC._n_(l.o[ZC._[19]])&&null!==ZC._n_(l.o[ZC._[20]])||null===ZC._n_(l.o.position)&&null===ZC._n_(l.o.margin)&&null===ZC._n_(l.o[ZC._[57]])&&null===ZC._n_(l.o[ZC._[58]])&&null===ZC._n_(l.o[ZC._[59]])&&null===ZC._n_(l.o[ZC._[60]]))){l.iX=-1,l.iY=-1;var d=l.o[ZC._[19]],f=l.o[ZC._[20]];null===ZC._n_(d)&&(l.o[ZC._[19]]=l.I),null===ZC._n_(f)&&(l.o[ZC._[20]]=l.F),l.locate(),l.o[ZC._[19]]=d,l.o[ZC._[20]]=f}if(typeof l.o[\"html-mode\"]===ZC._[31]||!l.o[\"html-mode\"]){var g=Math.ceil((l.NW-l.EO-l.FN)/l.DH);g>0&&(l.AR=l.AR.replace(/
/g,new Array(g).join(\"\\u2014\")))}}l.setAnchor()}paint(){var e,t,i,a,n,l,r,o,s,C,A,Z=this;if(!Z.WR&&!Z.A22){var c=!0;null!==ZC._n_(Z.o.flexible)&&(c=ZC._b_(Z.o.flexible));var p,u,h={x:Z.iX+Z.EO-1,y:Z.iY+Z.FM-1,width:Z.I-Z.EO-Z.FN+2,height:Z.F-Z.FM-Z.FT+2,type:Z.D.lbltype||\"\"},_=[[0,0]];for(c&&(_=[[0,0],[0,2],[0,-4],[0,4],[0,-8],[3,0],[-6,0],[5,0],[-10,0]]),u=0;u<_.length;u++){for(p=!0,h.x+=_[u][0],h.y+=_[u][0],n=0,l=Z.G.T1.length;n||
|\\n/)),g&&!v&&\"svg\"===d&&\"0\"===f&&(f=\"0html\");var Q=Z.IU?Z.IU:Z.Z.parentNode;switch(d+f){case\"canvas0\":case\"vml0\":case\"svg0html\":if(a=1,!g)switch(Z.K3){case\"middle\":a+=(Z.F-Z.KS)/2;break;case\"bottom\":a+=Z.F-Z.KS}if(r=ZC.Q.I5({id:Z.K,cls:Z.GN,tl:ZC._x_(Z.iY+Z.BH)+\"/\"+ZC._x_(Z.iX+Z.BJ),wh:Z.I+\"/\"+Z.F,position:\"absolute\",padding:0,margin:0,overflow:g?\"visible\":\"hidden\",textAlign:Z.OG}),g&&(v||d+f!==\"svg0html\"||(Q=ZC.AK(Z.G.K+\"-top\")),Q.appendChild(r)),ZC.Q.I5({id:Z.K+\"-t\",cls:\"\"!==Z.GN?Z.GN+\"-t\":\"\",p:r,width:Z.I-Z.EO-Z.FN,height:g?null:Z.KS-Z.FM-Z.FT,tl:a+\"/0\",html:Z.AR+\"\",position:\"absolute\",whiteSpace:\"nowrap\",opacity:Z.VL,color:Z.C1,fontWeight:Z.sFontWeight,fontStyle:Z.NA?\"oblique\":\"normal\",textDecoration:Z.KD,fontSize:Z.DH,fontFamily:Z.GF,marginTop:Z.FM,marginRight:Z.FN,marginBottom:Z.FT,marginLeft:Z.EO,verticalAlign:Z.K3,textAlign:Z.OG,lineHeight:-1===Z.FJ?\"125%\":Z.FJ+\"px\",rtl:Z.bRTL,padding:0}),Z.D[\"css-display\"]&&(r.style.display=Z.D[\"css-display\"],Z.D[\"css-display\"]=null),v&&Z.G&&Z.G.A8&&!Z.o[ZC._[19]]&&!Z.o[ZC._[20]]){var z=ZC.A4(\"#\"+Z.K+\"-t\");\"canvas\"===d&&(ZC.AK(Z.G.K+\"-tooltip-c\").width=z.width()+Z.EO+Z.FN,ZC.AK(Z.G.K+\"-tooltip-c\").height=z.height()+Z.FM+Z.FT),Z.G.A8.clear(),Z.I=z.width()+Z.EO+Z.FN,Z.F=z.height()+Z.FM+Z.FT,Z.paint()}break;case\"canvas\":var J=!1;if(ZC.A4.browser.opera&&Z.AA%90==0&&0!==Z.AA&&(Z.AA+=.5,J=!0),e=Z.Z.getContext(\"2d\"),zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache||(ZC.CanvasCache={})),!zingchart.DEV.CACHECANVASTEXT||zingchart.DEV.CACHECANVASTEXT&&!ZC.CanvasCache[Z.K]){for(zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache[Z.K]=document.createElement(\"canvas\"),ZC.CanvasCache[Z.K].width=Z.NW,ZC.CanvasCache[Z.K].height=Z.KS),B=-1===Z.FJ?0:ZC._x_(Z.FJ-1.25*Z.DH)/2,n=0,l=T.length;n/gi,\"\").replace(/<\\/.+?>/gi,\"\"),i=0,a=0,Z.OG){case\"center\":i+=(Z.I-t)/2;break;case\"right\":i+=Z.I-t}switch(Z.K3){case\"middle\":a+=(Z.F-Z.KS)/2;break;case\"bottom\":a+=Z.F-Z.KS}if(D=0,m!==b){for(;K=/<(.+?)>(.*?)<\\/(.+?)>/.exec(m);){switch(F=\"\",X=\"\",(C=/(.+?)style=(.+?)(\\'|\")(.*?)/.exec(K[1]))&&(X=C[2].replace(/\\'|\"/g,\"\")),K[3]){case\"b\":case\"strong\":F=\"font-weight:bold\";break;case\"i\":case\"em\":F=\"font-style:italic\";break;case\"u\":F=\"text-decoration:underline\"}x='[[span style=\"'+(\"\"===F?\"\":F+\";\")+X+'\"]]'+K[2]+\"[[/span]]\",m=m.replace(K[0],x)}for(y=!1,R=0,H=(K=(m=m.replace(/\\[\\[/g,\"<\").replace(/\\]\\]/g,\">\").replace(//g,\"[[*]]\")).split(\"[[*]]\")).length;R(.+?)<\\/(.+?)>/.exec(K[R]))for(E=A[2],O=0,k=(I=A[1].replace(/\\'|\"/g,\"\").split(/;|:/)).length;O||
/gi,\"\\n\").replace(/<.+?>/gi,\"\").replace(/<\\/.+?>/gi,\"\");ZC.Q.G5(ne,{on:!0,string:le}),ZC.Q.PT(ne,{color:o,fontWeight:Z.sFontWeight,fontStyle:Z.NA?\"oblique\":\"normal\",textDecoration:Z.KD,fontSize:Z.DH+\"px\",fontFamily:Z.GF,\"v-text-align\":Z.OG}),V.appendChild(ne),e.appendChild(V);break;case\"svg\":case\"svg0\":var re=Z.iX+Z.EO+Z.BJ,oe=Z.iY+Z.FM+Z.BH;if(r=ZC.Q.F6(\"text\",ZC._[36]),ZC.Q.G5(r,{x:ZC._x_(re),y:ZC._x_(oe),id:Z.K,\"class\":Z.GN,opacity:Z.VL}),Z.D[\"css-display\"]&&(r.style.display=Z.D[\"css-display\"],Z.D[\"css-display\"]=null),Z.bRTL&&ZC.Q.G5(r,{\"text-anchor\":ZC.A4.browser.msie?\"\":\"end\",\"writing-mode\":\"rl\",direction:\"rtl\",\"unicode-bidi\":\"bidi-override\"}),Z.A91&&(Z.G.KH.appendChild(ZC.Q.XY({id:Z.K+\"-clip\",path:[[Z.iX+Z.EO+Z.AT+Z.BJ,Z.iY+Z.FM+Z.AT+Z.BH].join(\",\"),[Z.iX+Z.I-Z.FN-Z.AT+Z.BJ,Z.iY+Z.FM+Z.AT+Z.BH].join(\",\"),[Z.iX+Z.I-Z.FN-Z.AT+Z.BJ,Z.iY+Z.F-Z.FT-Z.AT+Z.BH].join(\",\"),[Z.iX+Z.EO+Z.AT+Z.BJ,Z.iY+Z.F-Z.FT-Z.AT+Z.BH].join(\",\"),[Z.iX+Z.EO+Z.AT+Z.BJ,Z.iY+Z.FM+Z.AT+Z.BH].join(\",\")].join(\" \")})),ZC.Q.G5(r,{\"clip-path\":\"url(#\"+Z.K+\"-clip)\"})),Z.AA%360!=0&&r.setAttribute(\"transform\",\"rotate(\"+Z.AA+\" \"+(re+(Z.I-Z.EO-Z.FN)/2)+\" \"+(oe+(Z.F-Z.FM-Z.FT)/2)+\")\"),g&&Q.appendChild(r),g){ZC.Q.ET(Z.K+\"-float\");var se=ZC.Q.F6(\"div\");ZC.Q.PT(se,{position:\"absolute\",left:0,top:0,width:Z.I-Z.EO-Z.FN+\"px\",height:Z.F-Z.FM-Z.FT+\"px\",color:Z.C1,fontSize:Z.DH+\"px\",fontFamily:Z.GF,fontWeight:Z.sFontWeight,textDecoration:Z.KD,textAlign:Z.OG,fontStyle:Z.NA?\"italic\":\"normal\"}),se.id=Z.K+\"-float\",se.className=\"zc-style zc-html-mode\",se.innerHTML=T[0],1===Z.o[\"z-index\"]?ZC.AK(Z.G.K+\"-top\").append(se):ZC.AK(Z.G.K+\"-top\").insertBefore(se,ZC.AK(Z.G.K+\"-img\")),v&&Z.G&&Z.G.A8&&(Z.o[ZC._[19]]||Z.o[ZC._[20]]||(Z.G.A8.clear(),se.style.width=\"\",se.style.height=\"\",Z.I=ZC.A4(se).width()+Z.EO+Z.FN,Z.F=ZC.A4(se).height()+Z.FM+Z.FT,Z.paint()))}else for(B=-1===Z.FJ?0:ZC._x_(Z.FJ-1.25*Z.DH)/2,n=0,l=T.length;n/gi,\"\").replace(/<\\/.+?>/gi,\"\"),i=0,a=Z.DH,Z.OG){case\"center\":i=(Z.I-t)/2;break;case\"right\":i=Z.I-t}switch(Z.K3){case\"middle\":a+=(Z.F-Z.KS)/2;break;case\"bottom\":a+=Z.F-Z.KS}if(D=0,m!==b){for(;K=/<(.+?)>(.*?)<\\/(.+?)>/.exec(m);){switch(F=\"\",X=\"\",(C=/(.+?)style=(.+?)(\\'|\")(.*?)/.exec(K[1]))&&(X=C[2].replace(/\\'|\"/g,\"\")),K[3]){case\"b\":case\"strong\":F=\"font-weight:bold\";break;case\"i\":case\"em\":F=\"font-style:italic\";break;case\"u\":F=\"text-decoration:underline\"}x='[[span style=\"'+(\"\"===F?\"\":F+\";\")+X+'\"]]'+K[2]+\"[[/span]]\",m=m.replace(K[0],x)}for(y=!1,R=0,H=(K=(m=m.replace(/\\[\\[/g,\"<\").replace(/\\]\\]/g,\">\").replace(//g,\"[[*]]\")).split(\"[[*]]\")).length;R(.+?)<\\/(.+?)>/.exec(K[R]))for(E=A[2],O=0,k=(I=A[1].replace(/\\'|\"/g,\"\").split(/;|:/)).length;O\")?Ce.innerText=E:Ce.innerHTML=E,E=Ce.innerText||Ce.textContent,Ce=null,s.textContent=E,r.appendChild(s),y=w,D++}}else Z.bRTL&&ZC.A4.browser.msie&&(i+=t-Z.EO-Z.FN),s=ZC.Q.F6(\"tspan\",ZC._[36]),ZC.Q.G5(s,{x:ZC._x_(re+i),y:ZC._x_(oe+a),color:Z.C1,fill:Z.C1,dy:ZC._x_(B)}),ZC.Q.PT(s,{fontWeight:Z.sFontWeight,fontStyle:Z.NA?\"oblique\":\"normal\",textDecoration:Z.KD,fontSize:Z.DH+\"px\",fontFamily:Z.GF,dominantBaseline:\"auto\"}),s.textContent=b,r.appendChild(s),B+=-1===Z.FJ?1.25*Z.DH:Z.FJ}}if(!g)if(!Z.WR&&r&&Q)if(Z.G.G1)-1!==ZC.Q.TE(Q).indexOf(\"zc-text\")&&null===ZC._n_(Z.G.G1[Q.id])&&(Z.G.G1[Q.id]=document.createDocumentFragment()),Z.G.G1[Q.id]?Z.G.G1[Q.id].appendChild(r):Q.appendChild(r);else Q.appendChild(r)}}paintCANVASText(e){var t=this,i=e.idx,a=e.ctx,n=e.i,l=e.fw,r=e.fs,o=e.ff,s=e.c,C=e.dx,A=e.dy,Z=e.t;a.save(),a.globalAlpha=t.VL;var c;if(c=(n?\"italic\":\"normal\")+\" normal \"+l+\" \"+r+\"px \"+o,a.font=c,a.fillStyle=s,a.textAlign=\"left\",a.textBaseline=\"alphabetic\",a.translate(t.iX+t.BJ,t.iY+t.BH),0!==t.AA&&(a.translate(t.I/2,t.F/2),a.rotate(ZC.TA(t.AA)),a.translate(-t.I/2,-t.F/2)),a.translate(t.EO,t.FM+r),a.translate(C,A),a.fillText(Z,0,0),zingchart.DEV.CACHECANVASTEXT){var p=ZC.CanvasCache[t.K].getContext(\"2d\");p.font=c,p.fillStyle=s,p.textAlign=\"left\",p.textBaseline=\"alphabetic\",p.fillText(Z,t.EO,t.FM+r+1.25*i*r)}a.restore()}EB(e){var t=this;if(ZC.canvas&&\"canvas\"===t.G.AC&&(e||(e=ZC.AK(t.G.K+\"-textprint-c\")),!zingchart.CANVASTEXT&&t.AA%360==0)){var i=t.Z;t.Z=e,t.WR=!0;var a=t.G.AC;t.G.AC=\"canvas\",t.paint(),t.WR=!1,t.G.AC=a,t.Z=i}}}class RW extends I0{constructor(e){super(e);var t=this;t.CH=\"json\",t.O9={graphset:!0,graph:!0,\"objects-bottom\":!0,\"objects-top\":!0,maps:!0,plotarea:!0,plots:!0,guide:!0,\"static\":!0,\"value-box\":!0},t.A1O=!1,t.A1N=\"en_us\",t.R2=null,t.JO=\"\",t.UT=!1,t.S9={},t.N8=\"\",t.ADJ={},t.R4=\"\",t.EV=\"\",t.MG={},t.HV=null,t.AH=[],t.LS=\"\",t.A8=null,t.HE=null,t.D4=null,t.B8=new ZC.ABB(t),t.R6=\"\",t.MW=null,t.O1=[null,null,null,null],t.OF=!1,t.NO=\"x\",t.KE=!1,t.TZ=!1,t.ABY=!1,t.A4I=!1,t.GP=!1,t.AAO={},t.OA=null,t.R8={},t.M1=!1,t.QY=!1,t.AD5=null,t.T0=[],t.N={},t.N4=null,t.DE=null,t.V9=0,t.A2Q=0,t.A5O=1,t.MN=null,t.SL=\"\",t.AB7=\"F*nStrlng4Cu$tOmLlc9nc9!\",t.MI=\"\",t.A1Q={},t.A0S=!1,t.AC=\"\",t.KH=null,t.A09=!1,t.R3=[\"\",\"\"],t.LE=0,t.KX=[],t.A8C=0,t.A8E=0,t.AA5=!1,t.A2E=\"\",t.A7D=!0,t.IE=null,t.QV=[],t.O3=0,t.AB5=!1,t.SP={},t.A28=!1,t.G1=zingchart.DEV.DOMFRAGMENTS?{}:null,t.A37=!1,t.T1=[]}clearLabelBoxes(e){var t=this;if(e)for(var i=t.T1.length-1;i>=0;i--)t.T1[i].type===e&&t.T1.splice(i,1);else t.T1=[]}usc(){return-1!==ZC.AV(this.KX,ZC._[44])}mc(e){return e=e||\"\",ZC.AK(this.K+\"-main-c\"+(\"\"===e?e:\"-\"+e))}hideCM(){var e;(e=ZC.AK(this.K+\"-menu\"))&&(e.style.display=\"none\"),this.AA5=!1}XX(){for(var e=this,t=e.O1.length,i=0;i1?H[e.L]:H[0];t.id||(t.id=e.o.id||\"\"),s.o[ZC._[16]][e.L]=t,s.PO(function(){s.parse(JN),s.AH[e.L].paint()})}}})})}VT(DJ){var s=this,H,i,A7,j,JE;for(null===ZC._n_(DJ[ZC._[16]])&&(DJ={graphset:[DJ]}),1===DJ[ZC._[16]].length&&null===ZC._n_(DJ[ZC._[16]][0])&&(DJ[ZC._[16]]=[{type:\"null\"}]),i=0,A7=DJ[ZC._[16]].length;i=0;n--)for(r=0;r0){for(var E=0,K=0,F=ZC._i_((c-(B+1)*o.A8C)/B),X=ZC._i_((p-(v+1)*o.A8E)/v),I=[\"x\",\"y\",ZC._[19],ZC._[20]],x=0;x=J8.length){for(var e in window.clearInterval(C3),s.AAB(s.o),LQ)if(0!==e.indexOf(\"data:\")&&-1===ZC.AV(s.D[\"safe-images\"],e))try{var t=document.createElement(\"canvas\");t.width=LQ[e].width,t.height=LQ[e].height,t.getContext(\"2d\").drawImage(LQ[e],0,0);var i=t.toDataURL(\"image/png\");LQ[e].onload=null,LQ[e].onerror=null,LQ[e].src=i,ZC.cache.data[e]=LQ[e]}catch(a){}window.setTimeout(function(){zingchart.YI[s.K]&&JF()},1)}else A3B(++A1U)},20);A3B(A1U)}else zingchart.YI[s.K]&&JF()}else zingchart.YI[s.K]&&JF();function A3B(i){if(!(i>=J8.length)){var EV,MM,KJ=J8[i][0],A0V=J8[i][1];if(\"url:\"===KJ.substring(0,4)){var R4=KJ.substring(4);s.R8[\"url:\"+R4]=\"[]\";try{EV=[\"query-string\"===s.N8?\"zcrandom=\"+Math.random():\"\"].join(\"&\"),ZC.A4.ajax({type:\"GET\",url:R4,beforeSend:function(e){s.S9.data||\"http-headers\"!==s.N8||e.setRequestHeader(ZC._[45],\"Thu, 01 Jan 1970 00:00:00 GMT\")},data:EV,error:function(e,t,i,a){return s.NI({name:ZC._[63],message:\"Resource not found (\"+a+\")\"},ZC._[64]),!1},success:function(e,t,i,a){s.R8[\"url:\"+a]=e,V9++}})}catch(JH){return s.NI(JH,ZC._[64]),!1}}else if(\"javascript:\"===KJ.substring(0,11))if(\"zc.ext.load\"===s.R8[KJ]){s.R8[KJ]=\"[]\";var DZ=ZC.AP.AAR(KJ.substring(11)),O={id:s.K,resource:KJ,callback:function(e){s.R8[KJ]=e,V9++}},A0J=DZ[0];O.arguments=DZ[1];try{var A3D=eval(A0J).call(s,O);null!==ZC._n_(A3D)&&A3D&&(s.R8[KJ]=A3D,V9++)}catch(JH){return s.NI(JH,\"JavaScript data loader\"),!1}}else V9++;else\"image\"===A0V?(LQ[KJ]=new Image,LQ[KJ].crossOrigin=\"anonymous\",LQ[KJ].onload=function(){V9++},LQ[KJ].onerror=function(){var e=ZC._b_(s.o.strict);if(ZC.IMG404.push(KJ),e)return s.NI({name:ZC._[63],message:\"Resource not found (\"+this.src+\")\"},\"Resource loader (image)\"),!1;this.src=ZC.BLANK,V9++},LQ[KJ].src=KJ,ZC.cache.data[KJ]=LQ[KJ]):\"css\"===A0V?(EV=[\"query-string\"===s.N8?\"zcrandom=\"+Math.random():\"\"].join(\"&\"),ZC.A4.ajax({type:\"GET\",url:KJ,beforeSend:function(e){s.S9.css||\"http-headers\"!==s.N8||e.setRequestHeader(ZC._[45],\"Thu, 01 Jan 1970 00:00:00 GMT\")},data:EV,error:function(e,t,i){return s.NI(i,\"Resource loader\"),!1},success:function(e){for(var t={},i=e.match(/[a-zA-Z0-9\\.\\#\\-](.+?)\\{((.|\\s)+?)\\}/gi),a=0,n=i.length;adiv\").width(l.I).height(l.F)}for(\"canvas\"===l.AC&&((t=ZC.AK(l.K+\"-main-c\"))&&(t.width=l.I,t.height=l.F),(t=ZC.AK(l.K+\"-main-c-top\"))&&(t.width=l.I,t.height=l.F),ZC.A4(\"#\"+l.K+\"-objects-bottom canvas, #\"+l.K+\"-objects-top canvas, #\"+l.K+\"-tools canvas\").each(function(){this.width=l.I,this.height=l.F})),\"vml\"===l.AC&&ZC.A4(\"#\"+l.K+\"-objects-bottom div, #\"+l.K+\"-objects-top div, #\"+l.K+\"-tools div\").each(function(){this.style.width=l.I+\"px\",this.style.height=l.F+\"px\"}),l.parse(),i=0,a=l.AH.length;i100&&(new Date).getTime()-ZC.swipe.ts<1e3){var a=e.FG();a.direction=i[0]>ZC.swipe.xy[0]?\"right\":\"left\",ZC.AP.C0(\"swipe\",e,a)}ZC.swipe=null}e.AA5||ZC.move||zingchart.SM(t),e.P3(t)},ZC.A4(\"#\"+e.K+\"-img\").bind(\"touchstart\",e.AEZ).bind(\"touchmove\",e.P3).bind(\"touchend\",e.AEO),ZC.A4(\"#\"+e.K+\"-menu-area\").live(\"touchstart\",e.AEZ)),e.zc_loader_mousewheel=function(t){var i=e.FG();i.ev=t,ZC.AP.C0(\"mousewheel\",e,i)},ZC.A4(\"#\"+e.K+\"-img\").bind(\"mousewheel\",e.zc_loader_mousewheel),ZC.A4(\"#\"+e.K+\"-map\").bind(\"mousewheel\",e.zc_loader_mousewheel),e.A2U=function(t){27===t.keyCode&&e.QY&&(e.A8U||e.A9P())},ZC.A4(document).bind(\"keyup\",e.A2U),e.A9P=function(){ZC.A4(\"#\"+e.K+ZC._[66]).die(\"click\",e.A9P),ZC.FSSTATUS=null,ZC.Q.ET(e.K+\"-data-table\"),e.destroy(),zingchart.FSID&&ZC.AK(zingchart.FSID)&&(ZC.AK(zingchart.FSID).style.display=\"none\")},ZC.A4(\"#\"+e.K+ZC._[66]).live(\"click\",e.A9P)):ZC.mobile&&(e.zc_loader_touchstart_static=function(e){return e.preventDefault(),zingchart.SM(e),!1},ZC.A4(\"#\"+e.K+\"-img\").bind(\"touchstart\",e.zc_loader_touchstart_static)),null!==e.HV){var u=ZC._i_(e.HV.interval);u=u>=50?u:1e3*u,window.setTimeout(function(){e.MQ(),e.load()},u)}e.MI=\"\",ZC.TS[e.K]=(new Date).getTime()-ZC.TS[e.K],e.D[\"fire-complete\"]&&(ZC.AP.C0(\"complete\",e,e.FG()),e.D[\"fire-complete\"]=null),e.D[\"fire-load\"]&&(ZC.AP.C0(\"load\",e,e.FG()),e.D[\"fire-load\"]=null)}togglePreviewMasks(e){for(var t=this,i=0;iPowered by ZingChart',l){case\"br\":h=t.F-o,_=t.I-s;break;case\"bl\":h=t.F-o,_=6;break;case\"tr\":h=2,_=t.I-s;break;case\"tl\":h=2,_=6}null!==ZC._n_(e=ZC.AK(t.K+\"-top\"))&&ZC.Q.I5({cls:ZC.ie67?\"-ie67\":\"\",p:e,id:t.K+\"-license-text\",tl:h+\"/\"+_,wh:s+\"/\"+(o-C),color:ZC.ie67?1===n?\"#369\":\"#fff\":\"\",padding:C,opacity:A,position:\"absolute\",cursor:\"pointer\",fontFamily:zingchart.FONTFAMILY,html:r},t.AC)}_unbind_(){var e=this;ZC.A4(\"#\"+e.K+\"-menu\").die(ZC._[47],e.TW),ZC.A4(\".\"+e.K+\"-menu-item\").die(ZC._[47],e.TW),ZC.A4(\".\"+e.K+\"-menu-item\").die(\"click touchend\",e.AGC).die(\"mouseover\",e.AG0).die(\"mouseout\",e.AG5),e.D[\"menu-item-events\"]=!1,null!==e.HE&&e.HE.unbind(),null!==e.D4&&e.D4.unbind(),ZC.mobile&&(ZC.A4(\"#\"+e.K+\"-img\").unbind(\"touchstart\",e.AEZ).unbind(\"touchmove\",e.P3).unbind(\"touchend\",e.AEO),ZC.A4(\"#\"+e.K+\"-menu-area\").die(\"touchstart\",e.AEZ),ZC.A4(\"#\"+e.K+\"-img\").unbind(\"touchstart\",e.zc_loader_touchstart_static)),ZC.A4(\"#\"+e.K+\"-img\").unbind(\"mousewheel\",e.zc_loader_mousewheel),ZC.A4(\"#\"+e.K+\"-map\").unbind(\"mousewheel\",e.zc_loader_mousewheel),ZC.A4(document).unbind(\"keyup\",e.A2U),ZC.A4(\"#\"+e.K+ZC._[66]).die(\"click\",e.A9P)}UF(e,t,i){typeof i===ZC._[31]&&(i=!1);var a=ZC.AK(\"zc-menu-\"+(i?\"sep\":\"item\")+\"-\"+e);a&&(a.style.display=t?\"block\":\"none\")}A16(LN,ev){if(!zingchart.DEV.SKIPCONTEXTMENU){var s=this,H,i,A7,j,JE;typeof LN===ZC._[31]&&(LN=-1);var DE={};ZC._cp_(s.DE,DE),-1!==LN&&s.o[ZC._[16]][LN]&&ZC._cp_(s.o[ZC._[16]][LN].gui,DE,null,null,!0),ZC.A4(\"#\"+s.K+\"-menu\").remove();var S3=[];for(typeof ZC.AN===ZC._[31]&&S3.push({id:\"3D\",enabled:\"none\"},{id:\"SwitchTo3D\",enabled:\"none\"},{id:\"SwitchTo2D\",enabled:\"none\"}),i=DE.behaviors.length-1;i>0;i--)for(var sBId=DE.behaviors[i].id,ii=i-1;ii>=0;ii--)DE.behaviors[ii].id===sBId&&DE.behaviors.splice(ii,1);if(null!==ZC._n_(H=DE.behaviors))for(i=0,A7=H.length;iZC._i_(t.order||\"0\")}),s.N4=new DR(s);var A1L=s.LS.split(/\\s+|;|,/),E0,LM,UN,ABN,GU;for(i=0,A7=A1L.length;i'}}}E0=new DR(s),s.B8.load(E0.o,ZC._[65]+\".item\"),JM&&null!==ZC._n_(H=JM.item)&&E0.append(H),ZC.mobile&&(s.B8.load(E0.o,ZC._[65]+\"[mobile].item\"),OQ&&null!==ZC._n_(H=OQ.item)&&E0.append(H)),E0.XE=!0,E0.parse(),LM=new DR(s),LM.copy(E0),s.B8.load(LM.o,ZC._[65]+\".item.hover-state\"),JM&&null!==ZC._n_(JM.item)&&null!==ZC._n_(H=JM.item[ZC._[71]])&&LM.append(H),ZC.mobile&&(s.B8.load(LM.o,ZC._[65]+\"[mobile].item.hover-state\"),OQ&&null!==ZC._n_(OQ.item)&&null!==ZC._n_(H=OQ.item[ZC._[71]])&&LM.append(H)),LM.XE=!0,LM.parse(),UN={},JM&&null!==ZC._n_(JM.separator)&&(UN=JM.separator);var JX=[],EK=null;if(ABN=null!==ZC._n_(s.N4.o.empty)&&ZC._b_(s.N4.o.empty),ZC.mobile&&(EK=G4(\"PageScroll\"),\"none\"!==EK.enabled&&(null===s.DE||null===ZC._n_(s.DE[\"page-scroll\"])||s.DE[\"page-scroll\"]?JX.push(GW(\"disablepagescroll\",EK.text)):JX.push(GW(\"enablepagescroll\",EK.text)),JX.push(JD(\"pagescroll\")))),EK=G4(\"Reload\"),\"none\"!==EK.enabled&&(JX.push(GW(\"reload\",EK.text)),JX.push(JD(\"reload\"))),typeof ZC.A8W!==ZC._[31]){EK=G4(\"SaveAsImage\"),\"none\"!==EK.enabled&&(EK=G4(\"SaveAsImagePNG\"),\"none\"!==EK.enabled&&JX.push(GW(\"viewaspng\",EK.text?EK.text:null)),EK=G4(\"SaveAsImageJPG\"),\"none\"!==EK.enabled&&JX.push(GW(\"viewasjpg\",EK.text?EK.text:null)),JX.push(JD(\"export\")));var TQ=[\"DownloadPDF\",\"DownloadSVG\",\"DownloadCSV\",\"DownloadXLS\",\"ViewDataTable\",\"ExportData\",\"Print\"],A6O=0,A2N=0;for(i=0;i0&&JX.push(JD(TQ[A2N].toLowerCase()))}if(-1!==LN){var GP=!1;for(j=0,JE=s.AH[LN].BN.length;j0&&JX.push(JD(\"tools\")),EK=G4(\"FullScreen\"),\"none\"===EK.enabled||s.M1||(s.QY?(EK=G4(\"ExitFullScreen\"),JX.push(GW(\"exitfullscreen\",EK.text)),JX.push(JD(\"exitfullscreen\"))):(JX.push(GW(\"fullscreen\",EK.text)),JX.push(JD(\"fullscreen\")))),s.IE&&(EK=G4(\"GoBack\"),\"none\"!==EK.enabled&&JX.push(GW(\"goback\",EK.text)),EK=G4(\"GoForward\"),\"none\"!==EK.enabled&&JX.push(GW(\"goforward\",EK.text)),JX.push(JD(\"history\"))),JX.length>0&&-1!==JX[JX.length-1].indexOf(\"zc-menu-sep\")&&JX.splice(JX.length-1,1),s.A2A={},-1!==LN)if(JM&&null!==ZC._n_(B6=JM[\"custom-items\"]))for(JX.length>0&&JX.push(JD(\"custom\")),i=0,A7=B6.length;i 
'}function GW(e,t,i){t=t||ZC.HN[\"menu-\"+e];var a=typeof i!==ZC._[31]&&i?\" zc-custom-menu-item \"+s.K+\"-custom-menu-item\":\"\";return'
'+t+\"
\"}function A38(e,t,i){var a=typeof i!==ZC._[31]&&i?\" zc-custom-menu-header \"+s.K+\"-custom-menu-header\":\"\";return'
'+t+\"
\"}function G4(e){if(ABN)return{enabled:\"none\"};for(var t=0,i=S3.length;t60?(C=60,p=ZC.HN[\"progress-wait-short\"]):o<60&&(C=20,p=ZC.HN[\"progress-wait-mini\"]),p=a.D.customprogresstext||p;var h=ZC.Q.I5({id:a.K+\"-progress\",p:document.body,tl:r+\"/\"+l,width:o-2*Z.AT,height:s-2*Z.AT,position:\"absolute\",opacity:.8,border:Z.AT+\"px solid \"+Z.BV,background:c});ZC.Q.I5({id:a.K+\"-progress-text\",p:h,width:C,html:p,textAlign:\"center\",marginLeft:ZC._i_((o-C)/2),marginTop:ZC._i_(s/2+A),fontFamily:zingchart.FONTFAMILY,fontSize:zingchart.FONTSIZE,color:Z.C1,fontWeight:\"bold\"})}}}Y8(){var e=this;ZC.Q.ET(e.K+\"-dummy\"),e.D.hideprogresslogo||(e.A09=!1,ZC.Q.ET([e.K+\"-progress-text\",e.K+\"-progress\"]))}A0G(e,t){var i,a,n=this;i=null!==ZC._n_(a=e[ZC._[16]])?a:[e];var l=e.layout||\"\",r=ZC.AO.A2V(l,i.length),o=i[t],s=n.I/r[1],C=n.F/r[0],A=Math.floor(t/r[1]),Z=t%r[1]*s,c=A*C;o&&(null!==ZC._n_(a=o.x)&&(Z=ZC._p_(a))<=1&&(Z=ZC._i_(Z*n.I)),null!==ZC._n_(a=o.y)&&(c=ZC._p_(a))<=1&&(c=ZC._i_(c*n.F)),null!==ZC._n_(a=o[ZC._[19]])&&(s=ZC._p_(a))<=1&&(s=ZC._i_(s*n.I)),null!==ZC._n_(a=o[ZC._[20]])&&(C=ZC._p_(a))<=1&&(C=ZC._i_(C*n.F)));var p=[0,0,0,0];o.plotarea&&(null!==ZC._n_(o.plotarea.margin)&&(p=new I0(null).m_(o.plotarea.margin,\"all\",s,C)));return{graph:{x:ZC._i_(Z),y:ZC._i_(c),width:ZC._i_(s),height:ZC._i_(C),index:t},plotarea:{x:p[3],y:p[0],width:s-p[1]-p[3],height:C-p[0]-p[2]}}}JW(){var e=this;null===ZC._n_(e.o[ZC._[16]])&&(e.o={graphset:[e.o]}),e.MQ(),zingchart.A29(e,e.A25(),function(){e.o=ZC.AP.C0(\"dataparse\",e,e.FG(),e.o),zingchart.YI[e.K]&&e.PO(function(){e.parse(),e.paint()})})}render(){var e=this;!function(){function t(){\"\"!==e.R6||null!==e.MW?e.A4R():e.load()}e.UT||e.A4U(),e.MQ(null,!0),zingchart.TIMEOUT>0?ZC.ZW(t):t()}()}W7(e){var t=this;null===ZC._n_(t.A3X)&&(t.A3X=(new Date).getTime(),t.ABF=window.setTimeout(function(){null!==ZC._n_(t.A3X)&&(t.A3X=null,zingchart.Z6(e))},1500))}FG(){var e,t=this,i=0,a=0;return i=typeof t.T0[0]!==ZC._[31]?t.T0[0]-i:0,a=typeof t.T0[1]!==ZC._[31]?t.T0[1]-a:0,e=t.LS?t.LS:\"light\",{id:t.K,width:t.I,height:t.F,output:t.AC,x:i,y:a,targetid:t.T0[2],theme:e}}A81(e){e=e||{},null!==ZC._n_(e.resource)&&(this.R8[e.resource]=e.data||\"[]\",this.V9++)}A4T(){}A3T(){}A3H(){}PH(){}A57(e,t){var i=this;if(e=e||{},null!==ZC._n_(e[ZC._[3]])){var a=i.OI(e[ZC._[3]]);null!==a&&a.clear()}else i.clear(null,null,t);KB&&KB.GUIDES&&(KB.GUIDES[i.K]=null)}A3P(e){e=e||ZC.HN[\"sync-wait\"];var t=this;if(null===ZC.AK(t.K+\"-blocker\")){ZC.Q.I5({cls:\"zc-abs zc-style zc-blocker\",id:t.K+\"-blocker\",p:ZC.AK(t.K+\"-top\"),wh:t.I+\"/\"+t.F,opacity:.75}),ZC.Q.I5({cls:\"zc-blocker-msg\",id:t.K+\"-blocker-t\",p:ZC.AK(t.K+\"-blocker\"),html:e});var i=ZC.A4(\"#\"+t.K+\"-blocker-t\");i.css(\"top\",t.F/2-i.height()/2+\"px\").css(\"left\",t.I/2-i.width()/2+\"px\")}}A0T(){ZC.Q.ET(this.K+\"-blocker\")}A5V(){var e=this;ZC.AP.C0(\"about_show\",e,e.FG()),ZC.Q.I5({cls:\"zc-abs\",id:e.K+\"-about-mask\",p:ZC.AK(e.K+\"-top\"),wh:e.I+\"/\"+e.F,background:\"#ccc\",opacity:.75});var t=ZC.CX(320,e.I),i=ZC.CX(215,e.F),a=ZC.BQ(0,(e.I-t)/2),n=ZC.BQ(0,(e.F-i)/2),l=ZC.Q.I5({cls:\"zc-about zc-style\",id:e.K+\"-about\",p:ZC.AK(e.K+\"-top\"),tl:n+\"/\"+a,wh:t-(ZC.quirks?0:10)+\"/\"+(i-(ZC.quirks?0:10))}),r=\"\";\"\"!==e.SL&&(r=\"Custom Built for
\"+e.SL),l.innerHTML='
©2009-'+(new Date).getFullYear()+'
'+ZC.HN[\"about-close\"]+'
 
Build '+ZC.VERSION+\" [\"+e.AC+\"]
\"+r+\"
\",ZC.A4(\"#\"+e.K+\"-about-close\").bind(\"click\",function(){ZC.AP.C0(\"about_hide\",e,e.FG()),ZC.Q.ET([e.K+\"-about\",e.K+\"-about-mask\"])})}NI(e,t){var i=this;if(ZC.AP.A8J(\"error\",i))ZC.AP.C0(\"error\",i,{id:i.K,error:e,section:t,json:i.D.json||i.D.rawsource});else{var a=\"\";a+=\"object\"==typeof e?e.name+\":\"+e.message+\"\\n\\n\":e+\"\\n\\n\",null!==ZC._n_(t)&&(a+=\"Section:\"+t+\"\\n\\n\"),a+=\"JSON data:\\n\\n\"+i.D.json+\"\\n\\n\",i.Y8(),null===ZC.AK(i.K+\"-top\")&&i.A7Q(),ZC.Q.I5({cls:\"zc-abs zc-error zc-style\",id:i.K+\"-error\",p:ZC.AK(i.K+\"-top\"),wh:i.I-(ZC.quirks?0:10)+\"/\"+(i.F-(ZC.quirks?0:10))}).innerHTML='
'+ZC.HN[\"error-header\"]+'
'+ZC.HN[\"error-message\"]+'
',ZC.A4(\"#\"+i.K+\"-error-message\").val(ZC.GX(a)),ZC.A4(\"#\"+i.K+\"-error-close\").bind(\"click\",function(){ZC.Q.ET(i.K+\"-error\")})}}A19(){}A2C(){}A17(){var e=this,t=document.createElement(\"div\");t.id=\"zc-fullscreen\",t.style.zIndex=zingchart.FSZINDEX,t.style.overflow=\"hidden\";var i,a,n=document.body,l=!1;for(zingchart.FSID&&ZC.AK(zingchart.FSID)&&(l=!0,(n=ZC.AK(zingchart.FSID)).style.display=\"block\"),n.appendChild(t),ZC.FSSTATUS={},i=0,a=e.AH.length;i=0;i--)if(Z[i].generated)Z.splice(i,1);else{if(null!==ZC._n_(Z[i].shapes))for(C=Z[i].shapes.length-1;C>=0;C--)Z[i].shapes[C].generated&&Z[i].shapes.splice(C,1);if(null!==ZC._n_(Z[i][ZC._[10]]))for(C=Z[i][ZC._[10]].length-1;C>=0;C--)Z[i][ZC._[10]][C].generated&&Z[i][ZC._[10]].splice(C,1)}l||window.scroll(0,0),zingchart.render({id:\"zc-fullscreen\",output:e.AC,width:ZC.A4(l?n:window).width(),height:ZC.A4(l?n:window).height(),fullscreenmode:!0,theme:e.LS,modules:e.A2E,data:A,defaults:e.MW,defaultsurl:e.R6})}W3(e,t){var i,a,n,l=this,r=0,o=!1;for(i=0,a=l.AH.length;i0?t.AH[0]:null}bind(e,t){zingchart.bind(this.K,e,t)}unbind(e,t){zingchart.unbind(this.K,e,t)}exec(e,t){return zingchart.exec(this.K,e,t)}gc(){for(var e=0,t=this.AH.length;e1?(u=Math.round(u),h=Math.round(h)):(u=Math.floor(u),h=Math.ceil(h))),(u=ZC.BQ(c.FW,u))<(h=ZC.CX(c.H1,h))&&(e[\"ymin\"+o]=u,e[\"ymax\"+o]=h)}}s.PH(e)}},RW.prototype.A3H=function(e){var t,i,a,n,l,r=this;for(e=e||{},i=null!==ZC._n_(e[ZC._[3]])?r.OI(e[ZC._[3]]):r.AH[0],e.action=\"viewall\",a=0,n=i.BT(\"k\").length;a/g,\"\"),w:n.I,h:n.F,t:e,fn:r};if(ZC._cp_(t,Z),zingchart.AJAXEXPORT&&\"pdf\"!==e&&\"svg\"!==e&&!l){var c=\"base64=1&\";for(C in Z)c+=C+\"=\"+encodeURIComponent(Z[C])+\"&\";ZC.A4.ajax({type:\"post\",url:zingchart.EXPORTURL,data:c,success:function(t,l,r){if(n.A0T(),i)a&&a(t,l,r);else{var s=document.createElement(\"img\");s.src=t,s.id=n.K+\"-print-\"+e,o.appendChild(s)}}})}else{ZC.AK(n.K+\"-export\")&&ZC.Q.ET(n.K+\"-export\");var p=ZC.Q.I5({cls:\"zc-abs zc-style\",id:n.K+\"-export\",p:ZC.AK(n.K+\"-top\"),display:\"none\"}),u=(s=null!==ZC._n_(Z.uid)&&null!==ZC._n_(Z.page)?ZC.Q.ABT(ZC.AK(n.K+\"-export\")):document).createElement(\"FORM\");for(C in u.action=zingchart.EXPORTURL,u.method=\"post\",u.enctype=\"multipart/form-data\",null!==ZC._n_(Z.uid)&&null!==ZC._n_(Z.page)?s.body.appendChild(u):p.appendChild(u),u.style.display=\"none\",Z){var h=s.createElement(\"INPUT\");h.type=\"hidden\",h.name=C,h.value=Z[C],u.appendChild(h)}u.submit(),u=null,null!==ZC._n_(Z.uid)&&null!==ZC._n_(Z.page)&&window.setTimeout(function(){ZC.A4(\"#\"+n.K+\"-export\").remove()},6e4),window.setTimeout(function(){n.A0T()},1e3)}}},RW.prototype.W2=function(e){var t=this;e=e||\"png\";var i,a,n=[],l=document.createElement(\"canvas\");for(l.width=t.I,l.height=t.F,i=0,a=t.AH.length;i',\"\",\"\\x3c!--[if gte mso 9]>ZingCharttd{border:none;font-family:Calibri,sans-serif} .number{mso-number-format:\"0.00\";} .text{mso-number-format:\"@\";}',\"\",\"\",\"\",\"\"),i=0,a=e.AH.length;i\"),f.J5&&\"\"!==f.J5.AR&&(d.push([f.J5.AR]),h.push(\"\"+f.J5.AR+\"\")),h.push(\"\"),h.push(\"\")),c=[],u=[];var b=\"Category\",D=!1;for(m&&(m.FH&&\"date\"===m.FH.o.type&&(b=\"Date\",D=!0),m.M&&m.M.AR&&(b=m.M.AR.replace(/\\\"|\\'/g,\"\"))),\"csv\"===t?c.push('\"'+b+'\"'):\"raw\"===t?u.push(b):\"html\"!==t&&\"xls\"!==t||c.push(\"\"+b+\"\"),n=0,l=g.length;n\"+p+\"\"),B.push(\"\"));if(\"csv\"===t?h.push(c.join(\",\")):\"raw\"===t?d.push(u):\"html\"!==t&&\"xls\"!==t||h.push(c.join(\"\")),\"html\"!==t&&\"xls\"!==t||(h.push(\"\"),h.push(\"\"),h.push(\"\")),m){for(s=0,C=m.X.length;s\"),\"pie\"!==f.AF&&\"pie3d\"!==f.AF&&\"nestedpie\"!==f.AF||m.X[K[A][0]]&&(K[A][0]=m.X[K[A][0]]),m.BY[K[A][0]]&&(K[A][0]=m.BY[K[A][0]]),m.X[K[A][0]]&&(K[A][0]=m.X[K[A][0]]),(F=f.A.FG()).row=A,F.col=0,F[ZC._[9]]=K[A][0],K[A][0]=ZC.AP.C0(\"dataexport\",f.A,F,K[A][0],null),ZC._n_(K[A][1]))for(var X=0;X\"+[].concat(K[A][0]).concat(K[A][1]).join(\"\")+\"\"),\"html\"!==t&&\"xls\"!==t||h.push(\"\")}}\"html\"!==t&&\"xls\"!==t||(h.push(\"\"),h.push(\"\")),a>1&&i 

\"))}return\"xls\"===t&&h.push(\"\",\"\"),\"raw\"===t?d:(\"csv\"===t?_=h.join(\"\\n\"):\"html\"!==t&&\"xls\"!==t||(_=h.join(\"\")),_)},zingchart.ABP=function(e,t,i){var a,n,l,r,o,s=\"\",C=\"\";function A(e){ZC.A4.ajax({type:\"post\",url:n,data:e,success:function(e,t,i){l&&l(e,t,i)}})}document.getElementById(\"zc-fullscreen\")&&(e=\"zc-fullscreen\"),\"string\"==typeof(i=i||{})&&(i=JSON.parse(i));var Z=zingchart.getLoader(e);if(Z)switch(t){case\"getimagedata\":if(r=\"png\",null!==ZC._n_(a=i.format)&&(r=a),null!==ZC._n_(a=i.filetype)&&(r=a),\"jpg\"===r&&(r=\"jpeg\"),zingchart.DEV.LOCALSVGEXPORT&&\"svg\"===Z.AC&&(\"png\"===r||\"jpeg\"===r)){Z.togglePreviewMasks(!0);var c=ZC.AK(Z.K+\"-svg\").parentNode.innerHTML,p=c.indexOf(\">\"),u=c.indexOf(\"\");c=(c='[CSS]'+c.substring(p+1,u+6)).replace(//g,\"\");var h=function(){var e,t=window.URL||window.webkitURL||window;e=t.createObjectURL&&window.Blob?t.createObjectURL(new window.Blob([c],{type:\"image/svg+xml;charset-utf-16\"})):\"data:image/svg+xml;charset=UTF-8,\"+encodeURIComponent(c),Z.togglePreviewMasks(!1);var a=new window.Image;a.crossOrigin=\"anonymous\",a.src=e,a.onload=function(){var t=document.createElement(\"canvas\"),n=t.getContext(\"2d\");if(t.width=a.width,t.height=a.height,n.drawImage(a,0,0,t.width,t.height),i.callback&&\"function\"==typeof i.callback)try{i.callback(t.toDataURL(\"image/\"+r))}catch(l){i.callback(e)}}},_=0,d=function(){var e=new XMLHttpRequest;e.open(\"get\",Z.A2T[_]),e.responseType=\"text\",e.onloadend=function(e){var t=e.target.response,i=t.match(/https?:\\/\\/[^ \\)]+/g),a=0;i.forEach(function(e){var n=new XMLHttpRequest;n.open(\"get\",e),n.responseType=\"blob\",n.onloadend=function(n){var l=new FileReader;l.onloadend=function(n){t=t.replace(new RegExp(e),n.target.result),++a===i.length&&(c=c.replace(\"[CSS]\",\"[CSS]\"),++_===Z.A2T.length?(c=c.replace(\"[CSS]\",\"\"),h()):d())},l.readAsDataURL(n.target.response)},n.send()})},e.send()};Z.A2T.length?d():(c=c.replace(\"[CSS]\",\"\"),h())}if(\"canvas\"!==Z.AC&&!zingchart.AJAXEXPORT)return-1;if(\"canvas\"===Z.AC){if(!i.callback||\"function\"!=typeof i.callback)return Z.W2(r);try{i.callback(Z.W2(r))}catch(v){i.callback(-1)}}else Z.ND(r,{},!0,i.callback);break;case\"exportimage\":case\"saveasimage\":if(!i.download&&\"canvas\"!==Z.AC&&!zingchart.AJAXEXPORT)return-1;if(r=\"png\",o={},null!==ZC._n_(a=i.options)&&(o=a),null!==ZC._n_(a=i.uid)&&(o.uid=a),null!==ZC._n_(a=i.page)&&(o.page=a),null!==ZC._n_(a=i.format)&&(r=a),null!==ZC._n_(a=i.filetype)&&(r=a),null!==ZC._n_(a=i.filename)&&(s=a),n=Z.D.exportimageurl||\"\",null!==ZC._n_(a=i.url)&&(n=a),l=null,null!==ZC._n_(a=i.callback)&&(l=a),\"jpg\"===r&&(r=\"jpeg\"),i.download&&(\"canvas\"!==Z.AC||\"pdf\"===r))return o.download=!0,\"\"!==s&&(o.fn=s),void Z.ND(r,o);if(\"\"!==n){if(\"canvas\"===Z.AC)return A(Z.W2(r));Z.ND(r,o,!0,function(e){return A(e)})}break;case\"exportdata\":if(n=Z.D.exportdataurl||\"\",null!==ZC._n_(a=i.url)&&(n=a),C=ZC.AP.dataToCSV(Z),\"\"===n)return C;l=null,null!==ZC._n_(a=i.callback)&&(l=a),ZC.A4.ajax({type:\"post\",url:n,data:C,success:function(e,t,i){l&&l(e,t,i)}});break;case\"downloadCSV\":C=ZC.AP.A15(Z,\"csv\"),ZC.AP.downloadFile(C,(i.fn||Z.K)+\".csv\",\"text/csv;encoding:utf-8\");break;case\"downloadXLS\":C=ZC.AP.A15(Z,\"xls\"),ZC.AP.downloadFile(C,(i.fn||Z.K)+\".xls\",\"application/vnd.ms-excel;encoding:utf-8\");break;case\"downloadRAW\":var f=ZC.AP.A15(Z,\"raw\");if(!i.callback||\"function\"!=typeof i.callback)return f;try{i.callback(f,i.fn||Z.K)}catch(v){i.callback(-1)}break;case\"viewDataTable\":if(\"viewdatatable\"===i.menuid)if(C=ZC.AP.A15(Z,\"html\"),ZC.AK(Z.K+\"-data-table\"))ZC.AK(Z.K+\"-data-table\").innerHTML=C;else{var g=ZC.Q.I5({id:Z.K+\"-data-table\",cls:\"zc-data-table \"+Z.K+\"-data-table\"});ZC.Q.PT(g,{width:Z.I+\"px\",\"max-height\":\"400px\",overflow:\"auto\"}),g.innerHTML=C,ZC.AK(Z.K).parentNode.insertBefore(g,ZC.AK(Z.K).nextSibling)}else\"hidedatatable\"===i.menuid&&ZC.Q.ET(Z.K+\"-data-table\")}return null},ZC.A98={},ZC.AP.XF=function(e){for(var t,i=\"\",a=!1,n=!1,l=0,r=\"\",o=0,s=(e=e.replace(/\\t|\\r|\\n/g,\"\")).length;o '+ZC.HN[\"viewsource-originalsource\"]+' '+ZC.HN[\"viewsource-jsonsource\"]+'
'),zingchart.EDITSOURCE&&(ZC.AK(e.K+\"-viewsource-actions\").innerHTML+=''),ZC.A4(\"#\"+e.K+\"-viewsource-json\").val(ZC.AP.XF(e.D.source)),ZC.A4(\"#\"+e.K+\"-viewsource-jsonsource\").bind(\"click\",function(){ZC.AK(e.K+\"-viewsource-jsonsource\").className=\"zc-tab-active\",ZC.AK(e.K+\"-viewsource-originalsource\").className=\"zc-tab-inactive\",ZC.A4(\"#\"+e.K+\"-viewsource-json\").val(ZC.AP.XF(e.D.json))}),ZC.A4(\"#\"+e.K+\"-viewsource-originalsource\").bind(\"click\",function(){ZC.AK(e.K+\"-viewsource-jsonsource\").className=\"zc-tab-inactive\",ZC.AK(e.K+\"-viewsource-originalsource\").className=\"zc-tab-active\",ZC.A4(\"#\"+e.K+\"-viewsource-json\").val(ZC.AP.XF(e.D.source))}),ZC.A4(\"#\"+e.K+\"-viewsource-close\").bind(\"click\",function(){ZC.AP.C0(\"source_hide\",e,e.FG()),ZC.Q.ET(e.K+\"-viewsource\")}),zingchart.EDITSOURCE&&ZC.A4(\"#\"+e.K+\"-viewsource-apply\").bind(\"click\",function(){ZC.AP.C0(\"source_hide\",e,e.FG());var t=ZC.A4(\"#\"+e.K+\"-viewsource-json\").val();ZC.Q.ET(e.K+\"-viewsource\"),zingchart.exec(e.K,\"setdata\",{data:t})})},RW.prototype.A2C=function(){var e=this;if(e.I<300||e.F<300)window.open(\"http://www.zingchart.com/support//",\"\",\"\");else{var t=ZC.Q.I5({cls:\"zc-abs zc-bugreport zc-style\",id:e.K+\"-bugreport\",p:ZC.AK(e.K+\"-top\"),wh:e.I-(ZC.quirks?0:10)+\"/\"+(e.F-(ZC.quirks?0:10))}),i=\"\";i+='
'+ZC.HN[\"bugreport-header\"]+'
\",ZC.canvas&&(i+='     \"),i+='
'+ZC.HN[\"bugreport-yourcomment\"]+'
'+ZC.HN[\"bugreport-jsondata\"]+'
'+ZC.HN[\"bugreport-youremail\"]+(e.I>=510?\" (\"+ZC.HN[\"bugreport-infoemail\"]+\")\":\"\")+'
',t.innerHTML=ZC._h_(i),ZC.A4(\"#\"+e.K+\"-bugreport-json\").val(\"PARSED\\n----------\\n\"+ZC.AP.XF(e.D.json)+\"\\n\\nORIGINAL\\n----------\\n\"+ZC.AP.XF(e.D.source)),ZC.A4(\"#\"+e.K+\"-bugreport-cancel\").bind(\"click\",function(){ZC.Q.ET(e.K+\"-bugreport\")}),ZC.A4(\"#\"+e.K+\"-bugreport-submit\").bind(\"click\",function(){var t=ZC.A4(\"#\"+e.K+\"-bugreport-email\"),i=\"\",a=function(){var a=(\"Parsed:\"+e.D.json+\" Original:\"+e.D.source).replace(/\\r|\\n|\\t|(\\s{2,})/g,\"\"),n=\"\",l=[];ZC.A4(\"#\"+e.K+\"-chkcapture\").attr(\"checked\")&&l.push(\"****IMAGE:\",i),ZC.A4(\"#\"+e.K+\"-chkdata\").attr(\"checked\")&&l.push(\"****JSON:\",a),l.push(\"****COMMENT:\",ZC.A4(\"#\"+e.K+\"-bugreport-comment\").val(),\"****EMAIL:\",t.val(),\"****VERSION:\",ZC.VERSION,\"****WIDTH:\",e.I,\"****HEIGHT:\",e.F,\"****URL:\",window.location.href,\"****UA:\",navigator.userAgent,\"****RENDER:\",e.AC.toUpperCase(),\"****RESOLUTION:\",screen.width+\"x\"+screen.height);for(var r=0;r0&&(n+=ZC.Q.GG(\"rect\",!0)+'class=\"'+a.K+'-history-area zc-history-area\" id=\"'+a.K+\"-history-back-area\"+ZC._[30],n+=ZC._i_(l+ZC.MAPTX)+\",\"+ZC._i_(r+ZC.MAPTX)+\",\"+ZC._i_(l+o/3+ZC.MAPTX)+\",\"+ZC._i_(r+s+ZC.MAPTX),n+='\" />');var A=new DU(a);A.K=a.K+\"-history-forw\",A.copy(t),A.CY=!1,a.O3!==a.QV.length-1&&0!==a.QV.length||A.copy(i),A.E=[[l+o,r+s/2],[l+2*o/3,r],[l+2*o/3,r+s],[l+o,r+s/2]],A.IU=ZC.AK(a.A.K+\"-text\"),A.Z=A.C6=ZC.AK(a.K+\"-static-c\"),A.parse(),A.paint(),a.O3'),\"\"!==n&&(ZC.AK(a.K+\"-map\").innerHTML+=n),a.A1C=function(e){e.target.id===a.K+\"-history-back-area\"?zingchart.exec(a.K,\"goback\"):e.target.id===a.K+\"-history-forw-area\"&&zingchart.exec(a.K,\"goforward\")},ZC.A4(\".\"+a.K+\"-history-area\").live(\"click\",a.A1C)}},ZC.AN={A59:1,E2:0,E1:0,FU:40},ZC.DG={A3G:function(e,t){var i,a;return t.AA%180==0?(i=new CB(e,-e.I/2,t.iY-e.iY-e.F/4,0),a=new CB(e,e.I/2,t.iY-e.iY-e.F/4,0)):(i=new CB(e,t.iX-e.iX-e.I/4,-e.F/2,0),a=new CB(e,t.iX-e.iX-e.I/4,e.F/2,0)),ZC.UB(Math.atan((a.EA[1]-i.EA[1])/(a.EA[0]-i.EA[0])))+(t.AA%180==0?0:t.AA%360==90?90:-90)},D9:function(e,t,i,a,n,l,r,o,s){s=s||\"z\";var C,A,Z,c,p=new ZZ(e,t);switch(s){case\"x\":C=new CB(t,i,n,r),A=new CB(t,a,n,r),Z=new CB(t,a,l,o),c=new CB(t,i,l,o);break;case\"y\":C=new CB(t,i,n,r),A=new CB(t,i,l,r),Z=new CB(t,a,l,o),c=new CB(t,a,n,o);break;case\"z\":C=new CB(t,i,n,r),A=new CB(t,i,n,o),Z=new CB(t,a,l,o),c=new CB(t,a,l,r)}return p.add(C),p.add(A),p.add(Z),p.add(c),p},D6:function(e,t,i,a){typeof a===ZC._[31]&&(a=!1);var n,l=null,r=null;i instanceof Array?l=i:(l=i.points,r=i.mathpoints);for(var o=new ZZ(e,t),s=0,C=l.length;st[0][0]?-1:e[0][0]t[0][1]?1:e[0][1]t[0][2]?-1:e[0][2]t[0][3]?-1:e[0][3]t[0][3]?1:e[0][3]t[0][0]?-1:e[0][0]t[0][1]?1:e[0][1]t[0][2]?1:e[0][2]t[0]?-1:e[0]0&&o<1&&(o=ZC._i_(i.G.I*o)),i.A8.o.fixed&&(o-=i.A8.I/2)),null!==ZC._n_(i.A8.o.y)&&((s=ZC.IQ(i.A8.o.y,!0))>0&&s<1&&(s=ZC._i_(i.G.F*s)),i.A8.o.fixed&&(s-=i.A8.F/2)),o+=ZC._i_(i.A8.D[\"offset-x\"]),s+=ZC._i_(i.A8.D[\"offset-y\"]),\"svg\"===i.G.AC||!i.A8.o[ZC._[7]]){var Z=0,c=!1,p=i.A8.ER;o/n[0]i.G.I-A&&(Z=C/n[0]+i.A8.I-i.G.I+A+i.A8.HA/2,o=(i.G.I-A-i.A8.I)*n[0]),s/n[1]i.G.F-A&&(s=i.G.F-A-i.A8.F,!i.CD.node&&i.A8.o[ZC._[7]]||(p=\"top\",c=!0)),0===Z&&!c||\"xy\"===i.A8.o[ZC._[7]]||i.A8.Z&&(i.clear(),c&&(i.A8.ER=p),Z=ZC.CX(Z,i.A8.I/2-i.A8.HA/2),Z=48*(Z=ZC.BQ(Z,-i.A8.I/2+i.A8.HA/2))/(i.A8.I/2-i.A8.HA/2),i.A8.EU=Z,i.A8.AM&&i.A8.paint())}switch(i.GH=o,i.IL=s,i.G.AC){case\"svg\":null===ZC._n_(i.A8.o.x)&&null===ZC._n_(i.A8.o.y)&&ZC.AK(a+\"-tooltip\").setAttribute(\"transform\",\"translate(\"+o/n[0]+\",\"+s/n[1]+\")\"),i.A8.D[\"html-mode\"]&&ZC.Q.PT(ZC.AK(a+\"-tooltip-text-float\"),{left:(\"\"===i.B9?o/n[0]:i.A8.iX)+i.A8.EO+\"px\",top:(\"\"===i.B9?s/n[1]:i.A8.iY)+i.A8.FM+\"px\"});break;case\"vml\":null===ZC._n_(i.A8.o.x)&&null===ZC._n_(i.A8.o.y)&&ZC.Q.PT(ZC.AK(a+\"-tooltip\"),{left:o+\"px\",top:s+\"px\"});break;case\"canvas\":null!==ZC._n_(i.CD.x)&&(o=i.CD.x),null!==ZC._n_(i.CD.y)&&(s=i.CD.y);var u=i.A8.D[\"html-mode\"]?0:20;switch(i.A8.X2){case\"tl\":break;case\"tr\":o-=i.A8.I;break;case\"bl\":s-=i.A8.F;break;case\"br\":o-=i.A8.I,s-=i.A8.F;break;case\"c\":o-=i.A8.I/2,s-=i.A8.F/2;break;case\"t\":o-=i.A8.I/2;break;case\"r\":o-=i.A8.I,s-=i.A8.F/2;break;case\"b\":o-=i.A8.I/2,s-=i.A8.F;break;case\"l\":s-=i.A8.F/2}ZC.Q.PT(ZC.AK(a+\"-tooltip-c\"),{left:o/n[0]-u+\"px\",top:s/n[1]-u+\"px\"}),null!==(t=ZC.AK(a+\"-tooltip-text\"))&&(t.style.display=\"none\",ZC.Q.PT(t,{width:i.A8.I+\"px\",height:i.A8.F+\"px\",left:o/n[0]+\"px\",top:s/n[1]+\"px\"}),t.style.display=\"block\")}}}onmousemove(e){this.show(e)}onmouseover(e,t){var i,a,n,l,r,o,s,C=this,A=C.G.K,Z=e.targetid||e.target.id,c=Z.replace(/--([a-zA-Z0-9]+)/,\"\").replace(\"-gshape-area\",\"-area\").replace(\"-area-path\",\"\").replace(\"-path\",\"\").replace(\"-marker-circle\",\"\").replace(\"-marker\",\"\").split(\"-\").reverse(),p=Z.split(\"--\"),u=!1,h=!1,_=!1;if(\"node\"===c[1]&&\"plot\"===c[3]&&\"plotset\"===c[4]&&(u=!0),ZC.Q.ET([A+\"-tooltip-text\",A+\"-tooltip\",A+\"-tooltip-text-float\"]),u){if(!(l=C.G.OI(c[5])))return;if(r=l.AZ.A5[c[2]],o=r.FR(c[0]),\"xy\"===l.AJ.layout&&o.RT(),!o)return;ZC.A4(\"#\"+A+\"-graph-\"+c[5]+\"-plot-\"+c[2]+\"-bg-hover-c\").show()}else\"legend\"===c[2]&&0===c[1].indexOf(\"item\")&&(h=!0),0!==c[2].indexOf(\"scale\")||0!==c[1].indexOf(\"item\")&&0!==c[1].indexOf(\"marker\")||(_=!0),l=C.G.OI(c[3]);if(ZC.AK(A+\"-tooltip\")||(ZC.Q.K4({id:A+\"-tooltip\",p:ZC.AK(A+\"-main\"),cls:\"zc-abs zc-tooltip\",wh:C.G.I+\"/\"+C.G.F,overflow:\"hidden\"},C.G.AC),ZC.Q.HH({id:A+\"-tooltip-c\",p:ZC.AK(A+\"-tooltip\"),cls:\"zc-abs\",tl:\"-999/-999\",width:140,height:60},C.G.AC)),C.A8=zingchart.pool.getInstance(\"DR\",C,A+\"-tooltip-text\"),C.A8.ON=\"tooltip\",C.A8.A=C.G,l&&l.A8&&C.A8.copy(l.A8),u)C.A8.append(r.A8.o),l.CG[\"p\"+r.L]&&l.CG[\"p\"+r.L][\"n\"+o.L]&&C.A8.append(r.A8.o[ZC._[73]]),2===p.length&&C.A8.append(r.A2R(p[1]));else{var d=!1;if(h&&l.BE&&null!==ZC._n_(l.BE.o.tooltip)&&(C.A8.o.text=\"\",C.A8.append(l.BE.o.tooltip),d=!0),_){C.A8.append({\"background-color\":\"#fff\",\"border-width\":1,\"border-color\":\"#999\"});var f=l.BK(c[2].replace(/\\_/g,\"-\"));if(f&&null!==ZC._n_(f.o.tooltip)&&(C.A8.o.text=\"\",C.A8.append(f.o.tooltip),d=!0),0===c[1].indexOf(\"item_\"))f&&(-1!==c[1].indexOf(\"_title\")&&f.o.label&&f.o.label.tooltip?(C.A8.o.text=\"\",C.A8.append(f.o.label.tooltip),d=!0):f.o.item&&f.o.item.tooltip&&(C.A8.o.text=\"\",C.A8.append(f.o.item.tooltip),d=!0));else if(0===c[1].indexOf(\"marker_\")){var g=ZC._i_(c[1].replace(\"marker_\",\"\"));f.QE[g]&&f.QE[g].o.label&&f.QE[g].o.label.tooltip&&(C.A8.o.text=\"\",C.A8.append(f.QE[g].o.label.tooltip),d=!0)}}if(\"shape\"===c[2])if(C.A8.append({\"background-color\":\"#fff\",\"border-width\":1,\"border-color\":\"#999\"}),e.target.getAttribute(\"data-lowlevel\"))C.A8.append({text:e.target.getAttribute(\"data-tooltip-text\")}),d=!0;else for(a=0,n=l.FI.length;ai.G.F-5&&(t=i.G.F-5-a.y-o,a.co=-ZC._i_(100*t/(o-l)),a.y=i.G.F-5-o);else if(\"vertical\"===i.B9)e.iY+e.F/2i.G.I-5&&(t=i.G.I-5-a.x-r,a.co=-ZC._i_(100*t/(r-n)),a.x=i.G.I-5-r);else if(\"node:\"===i.B9.substring(0,5)&&e.getTooltipPosition){switch((a=e.getTooltipPosition(i.A8,i.B9.substring(5))).node=!0,a.side=i.B9.substring(5),a.side){case\"left\":a.x=a.x-r+i.A8.QP,a.y=a.y-o/2+i.A8.MJ;break;case\"right\":a.x=a.x+i.A8.QP,a.y=a.y-o/2+i.A8.MJ;break;case\"top\":a.x=a.x-r/2+i.A8.QP,a.y=a.y-o+i.A8.MJ;break;case\"bottom\":a.x=a.x-r/2+i.A8.QP,a.y=a.y+i.A8.MJ;break;case\"center\":a.x=a.x-r/2+i.A8.QP,a.y=a.y-o/2+i.A8.MJ}a.cp=i.A8.ER}if(a.node){var C=0;a.y+o>i.G.F-5&&(\"top\"===a.side||\"bottom\"===a.side?(a.y=a.y-o-(\"bottom\"===a.side?0:i.A8.G6)-i.A8.MJ,a.cp=\"bottom\"):a.y=i.G.F-o-5),a.y<5&&(\"top\"===a.side||\"bottom\"===a.side?(a.y=a.y+(\"top\"===a.side?0:i.A8.G6)+o-i.A8.MJ,a.cp=\"top\"):a.y=5),a.x+r>i.G.I-5&&(\"left\"===a.side||\"right\"===a.side?(a.x=a.x-r-i.A8.QP-5,a.cp=\"right\"):(C=48*(r-i.G.I+a.x+i.A8.HA/2)/(i.A8.I/2),a.x=i.G.I-r-i.A8.QP-5),a.co=C),a.x<5&&(\"left\"===a.side||\"right\"===a.side?(a.x=a.x+i.A8.I-i.A8.QP+5,a.cp=\"left\"):(C=48*(a.x-i.A8.HA/2)/(i.A8.I/2),a.x=5),a.co=C)}return a}}class AAJ extends I0{constructor(e){super(e);var t=this;t.G=e,t.JI=!1,t.C=null,t.Q0=null,t.V8=null,t.IB=0,t.LP=0,t.IA=0,t.LO=0,t.AB=null,t.AL=null,t.A06=!1,t.ABQ=0,t.A0Z=!1,t.M=null}parse(){var e=this;e.C&&(e.C.HE&&e.append(e.C.HE.o),super.parse(),e.YQ(\"preserve-zoom\",\"A0Z\",\"b\"),e.M=new DR(e),e.C.A.B8.load(e.M.o,\"graph.zoom.label\"),e.M.append(e.o.label),e.M.parse(),e.o.label&&!1!==e.o.label.visible&&(e.M.AM=!0))}unbind(){var e=this;zingchart.DEV.SKIPTRACKERS?ZC.A4(document.body).unbind(\"mousedown touchstart\",e.RE):ZC.A4(\"#\"+e.G.K+\"-img\").unbind(\"mousedown touchstart\",e.RE),ZC.A4(\".zc-node-area\").die(\"mousedown touchstart\",e.RE),ZC.A4(document.body).unbind(\"mousemove touchmove\",e.UM),ZC.A4(document.body).unbind(\"mouseup touchend\",e.W5)}bind(){var e=this,t=e.G.K;e.RE=function(i){if((!ZC.mobile||\"pinch\"!==zingchart.TOUCHZOOM)&&!(i.which>1||-1!==ZC.Q.TE(i.target).indexOf(\"zc-menu-item\")||ZC.move)&&(i.type!==ZC._[47]||!ZC.TOUCHEVENTS)&&-1===i.target.id.indexOf(\"-legend-header-area\")&&(ZC.mobile||i.preventDefault(),e.G.hideCM(),(ZC.mobile||!(i.which>1))&&(\"vml\"!==e.G.AC||-1===i.target.className.indexOf(\"zc-node-area\")))){i.shiftKey&&(e.A06=!0);var a=ZC.Q.MK(i),n=ZC._tx_(e.G.K),l=ZC.A4(\"#\"+t+\"-top\").offset(),r=(a[0]-l.left)/n[0],o=(a[1]-l.top)/n[1];e.Q0=r,e.V8=o,e.A06&&(e.ABQ=r);for(var s,C=!1,A=0,Z=e.G.AH.length;A0&&(e.AB=e.C.BK(e.C.AZ.A5[0].BT(\"k\")[0]),e.AL=e.C.BK(e.C.AZ.A5[0].BT(\"v\")[0])),null!==e.AB&&null!==e.AL&&e.C.AJ[\"enable-zooming\"]&&(e.AB.GP||e.AL.GP)&&(e.IB=e.AB.CP?o:r,e.IA=e.AL.CP?r:o,C=!0,e.AB.GP?e.AB.CP?e.IB=ZC._l_(e.IB,s.iY,s.iY+s.F):e.IB=ZC._l_(e.IB,s.iX,s.iX+s.I):e.IB=e.AB.CP?s.iY:s.iX,e.AL.GP?e.AL.CP?e.IA=ZC._l_(e.IA,s.iX,s.iX+s.I):e.IA=ZC._l_(e.IA,s.iY,s.iY+s.F):e.IA=e.AL.CP?s.iX:s.iY)}return C&&(e.LP=e.IB,e.LO=e.IA,e.JI=!0,ZC.A4(document.body).bind(\"mousemove touchmove\",e.UM),ZC.A4(document.body).bind(\"mouseup touchend\",e.W5),e.A06?document.body.style.cursor=\"pointer\":(e.parse(),e.C.AJ[\"3d\"]||ZC.Q.I5({id:t+\"-zoom\",p:ZC.AK(t+\"-top\"),top:-9,left:-9,wh:\"1/1\",position:\"absolute\",border:e.AT+\"px solid \"+e.BV,background:e.A0,opacity:e.C5}),e.M.AM&&(ZC.Q.I5({id:t+\"-from\",p:ZC.AK(t+\"-top\"),top:-9999,left:-9999,position:\"absolute\",paddingTop:e.M.FM,paddingRight:e.M.FN,paddingBottom:e.M.FT,paddingLeft:e.M.EO,border:e.M.AT+\"px solid \"+e.M.BV,background:e.M.A0,color:e.M.C1,fontFamily:e.M.GF,fontWeight:e.M.sFontWeight,fontStyle:e.M.NA?\"oblique\":\"normal\",fontSize:e.M.DH,text:\"\"}),ZC.Q.I5({id:t+\"-to\",p:ZC.AK(t+\"-top\"),top:-9999,left:-9999,position:\"absolute\",paddingTop:e.M.FM,paddingRight:e.M.FN,paddingBottom:e.M.FT,paddingLeft:e.M.EO,border:e.M.AT+\"px solid \"+e.M.BV,background:e.M.A0,color:e.M.C1,fontFamily:e.M.GF,fontWeight:e.M.sFontWeight,fontStyle:e.M.NA?\"oblique\":\"normal\",fontSize:e.M.DH,text:\"\"})),document.body.style.cursor=\"crosshair\")),!!ZC.mobile&&void 0}},e.UM=function(i){if(i.type!==ZC._[48]||!ZC.TOUCHEVENTS){var a,n;if(ZC.mobile||i.preventDefault(),ZC.move=!0,e.C||(ZC.move=!1,e.JI=!1,ZC.A4(document.body).unbind(\"mousemove touchmove\",e.UM),ZC.A4(document.body).unbind(\"mouseup touchend\",e.W5),document.body.style.cursor=\"auto\",ZC.Q.ET([t+\"-zoom\",t+\"-from\",t+\"-to\"])),e.JI){e.C.A.A8.hide();var l=ZC.Q.MK(i),r=ZC._tx_(e.G.K),o=ZC.A4(\"#\"+t+\"-top\").offset(),s=(l[0]-o.left)/r[0],C=(l[1]-o.top)/r[1];if(i.ctrlKey){var A=ZC.CX(s-e.Q0,C-e.V8);s=e.Q0+A,C=e.V8+A}if(e.LP=e.AB.CP?C:s,e.LO=e.AL.CP?s:C,!e.A06){var Z,c,p,u,h=e.C.P;a=e.AB.AU?e.AB.BW:e.AB.A6,n=e.AB.AU?e.AB.A6:e.AB.BW,e.AB.GP?e.AB.CP?(e.AB.YN&&(e.IB=e.AB.iY+a+e.AB.A9*ZC._i_((e.IB-e.AB.iY-a)/e.AB.A9),e.LP=e.AB.iY+a+e.AB.A9*ZC._i_((e.LP-e.AB.iY-a)/e.AB.A9)),e.IB=ZC._l_(e.IB,h.iY+n,h.iY+h.F-a),e.LP=ZC._l_(e.LP,h.iY+n,h.iY+h.F-a)):(e.AB.YN&&(e.IB=e.AB.iX+a+e.AB.A9*ZC._i_((e.IB-e.AB.iX-a)/e.AB.A9),e.LP=e.AB.iX+a+e.AB.A9*ZC._i_((e.LP-e.AB.iX-a)/e.AB.A9)),e.IB=ZC._l_(e.IB,h.iX+a,h.iX+h.I-n),e.LP=ZC._l_(e.LP,h.iX+a,h.iX+h.I-n)):(e.IB=e.AB.CP?h.iY+n:h.iX+a,e.LP=e.AB.CP?h.iY+h.F-a:h.iX+h.I-n),a=e.AL.AU?e.AL.A6:e.AL.BW,n=e.AL.AU?e.AL.BW:e.AL.A6,e.AL.GP?e.AL.CP?(e.AL.YN&&(e.IA=e.AL.iX+a+e.AL.A9*ZC._i_((e.IA-e.AL.iX-a)/e.AL.A9),e.LO=e.AL.iX+a+e.AL.A9*ZC._i_((e.LO-e.AL.iX-a)/e.AL.A9)),e.IA=ZC._l_(e.IA,h.iX+n,h.iX+h.I-a),e.LO=ZC._l_(e.LO,h.iX+n,h.iX+h.I-a)):(e.AL.YN&&(e.IA=e.AL.iY+a+e.AL.A9*ZC._i_((e.IA-e.AL.iY-a)/e.AL.A9),e.LO=e.AL.iY+a+e.AL.A9*ZC._i_((e.LO-e.AL.iY-a)/e.AL.A9)),e.IA=ZC._l_(e.IA,h.iY+a,h.iY+h.F-n),e.LO=ZC._l_(e.LO,h.iY+a,h.iY+h.F-n)):(e.IA=e.AL.CP?h.iX+n:h.iY+a,e.LO=e.AL.CP?h.iX+h.I-a:h.iY+h.F-n);var _=ZC.A4.browser.msie?0:2*e.AT;e.C.AJ[\"3d\"]&&(_=0);var d=ZC.AK(t+\"-zoom\");if(e.AB.CP&&e.AL.CP?(Z=ZC._a_(e.LO-e.IA-_),c=ZC._a_(e.LP-e.IB-_),p=ZC.CX(e.IA,e.LO),u=ZC.CX(e.IB,e.LP)):(Z=ZC._a_(e.LP-e.IB-_),c=ZC._a_(e.LO-e.IA-_),p=ZC.CX(e.IB,e.LP),u=ZC.CX(e.IA,e.LO)),e.C.AJ[\"3d\"]){e.C.NH();var f=ZC.AK(e.G.K+\"-guide-c\");f&&(ZC.Q.IP(f,e.G.AC,e.C.iX,e.C.iY,e.C.I,e.C.F),ZC.A4(\".zc-guide-label\").remove()),(d=new DU(e)).Z=f,d.A0=d.AE=e.A0,d.BV=e.BV,d.AT=e.AT,d.C5=e.C5,d.E=[[p,u],[p+Z,u],[p+Z,u+c],[p,u+c],[p,u]];for(var g=0;g10&&ZC._a_(e.IA-e.LO)>10){var u,h,_=!1,d=!1;for(o=0,s=(r=e.C.BT(\"k\")).length;o=1&&(p[\"zoomx\"+C]=!0,p[\"xmin\"+C]=ZC.CX(n,l),p[\"xmax\"+C]=ZC.BQ(n,l),\"log\"===u.C8&&(p[\"kmin\"+C]=u.X[ZC._i_(ZC.H3(p[\"xmin\"+C],u.EI))],p[\"kmax\"+C]=u.X[ZC._i_(ZC.H3(p[\"xmax\"+C],u.EI))],delete p[\"xmin\"+C],delete p[\"xmax\"+C]),_=!0));for(o=0,s=(r=e.C.BT(\"v\")).length;o=c&&(p[\"zoomy\"+C]=!0,p[\"ymin\"+C]=ZC.CX(A,Z),p[\"ymax\"+C]=ZC.BQ(A,Z),d=!0));_||d?(zingchart.SKIP.EVENT=!0,e.C.A.PH(p)):zingchart.SKIP.EVENT=!0}else(ZC._a_(e.IB-e.LP)>5||ZC._a_(e.IA-e.LO)>5)&&(zingchart.SKIP.EVENT=!0);e.C=null}}},ZC.mobile&&\"normal\"!==zingchart.TOUCHZOOM||(zingchart.DEV.SKIPTRACKERS?ZC.A4(document.body).bind(\"mousedown touchstart\",e.RE):ZC.A4(\"#\"+t+\"-img\").bind(\"mousedown touchstart\",e.RE),ZC.A4(\".zc-node-area\").live(\"mousedown touchstart\",e.RE))}}class A94 extends D0{constructor(e){super(e);var t=this;t.IM=!0,t.ACE=!1,t.C=e,t.G=e.A,t.JI=!1,t.A69=!1,t.H7=null,t.AQ=null,t.Z=null,t.IK=0,t.H9=0,t.PF=0,t.A13=0,t.LW=!1,t.NX=null,t.bBind=!1,t.BY=null,t.A1T=!1}parse(){var e,t=this;t.K=t.C.K+\"-preview\",t.assign_a([[\"live\",\"ACE\",\"b\"],[\"async\",\"LW\",\"b\"],[\"min-distance\",\"PF\",\"i\"],[\"min-distance-x\",\"PF\",\"i\"],[\"min-distance-y\",\"PF\",\"i\"],[\"visible\",\"AM\",\"b\"]]);var i=\"(\"+t.C.AF+\").preview\",a=t.G.B8;function n(e){return[i+\".handler\",i+\".handler-\"+e,i+\".handle\",i+\".handle-\"+e]}t.AQ=new I0(t.C),t.AQ.K=t.C.K+\"-preview-viewport\",a.load(t.AQ.o,[i]),t.AQ.append(t.o),t.AQ.parse(),t.o.label&&(t.BY=[]),t.o.handle&&t.o.handle.label&&(t.JA=new DR(t.C),t.JA.append(t.o.handle.label),t.JA.append({text:\" \"}),t.JA.parse(),t.JA.AM&&(t.A1T=!0)),t.P4=new D0(t.C),a.load(t.P4.o,[i+\".mask\"]),null!==ZC._n_(e=t.o.mask)&&t.P4.append(e),t.P4.parse(),t.UY=new D0(t.C),a.load(t.UY.o,[i+\".active\"]),null!==ZC._n_(e=t.o.active)&&t.UY.append(e),t.UY.parse(),t.IX=new I0(t.AQ),t.HJ=new I0(t.AQ),t.JG=new I0(t.AQ),t.H5=new I0(t.AQ),a.load(t.IX.o,n(\"left\")),a.load(t.HJ.o,n(\"right\")),a.load(t.JG.o,n(\"top\")),a.load(t.H5.o,n(\"bottom\"));for(var l=[\"handle\",\"handler\"],r=0;r=C.AQ.iX&&f.iX+f.I<=C.AQ.iX+C.AQ.I){for(var g=!1,v=0;vu[v].x&&f.iX/g,\" \"),T=Z.FB(Z.A1,null,null).replace(/
/g,\" \")),C.RJ=ZC.Q.I5({cls:\"zc-abs zc-preview-label \"+C.C.K+\"-preview-label\",id:C.K+\"-min-label\",background:C.JA.A0,opacity:C.JA.C5,fontFamily:C.JA.GF,fontSize:C.JA.DH,fontWeight:C.JA.sFontWeight,color:C.JA.C1,padding:0,html:k+\"\",p:A}),C.RJ.style.left=C.AQ.iX+\"px\",C.RJ.style.top=C.AQ.iY+C.AQ.F+\"px\",C.RI=ZC.Q.I5({cls:\"zc-abs zc-preview-label \"+C.C.K+\"-preview-label\",id:C.K+\"-max-label\",background:C.JA.A0,opacity:C.JA.C5,fontFamily:C.JA.GF,fontSize:C.JA.DH,fontWeight:C.JA.sFontWeight,color:C.JA.C1,padding:0,html:T+\"\",p:A}),C.RI.style.left=C.AQ.iX+C.AQ.I+\"px\",C.RI.style.top=C.AQ.iY+C.AQ.F+\"px\",C.IK>ZC.A4(C.RJ).width()?C.RJ.style.left=C.AQ.iX+C.IK-ZC.A4(C.RJ).width()+\"px\":C.RJ.style.left=C.AQ.iX+\"px\",C.AQ.I-C.H9>ZC.A4(C.RI).width()?C.RI.style.left=C.AQ.iX+C.H9+\"px\":C.RI.style.left=C.AQ.iX+C.H9-ZC.A4(C.RI).width()+\"px\"}C.bind(),C.BY&&(C.BY=[])}}reset(){var e=this,t=e.C.BT(\"k\")[0],i=e.C.BT(\"v\",!0)[0];i||(i=e.C.BT(\"v\")[0]),t&&i&&e.update(t.DD,t.DY,i.FW,i.H1,!0)}update(e,t,i,a,n){null===ZC._n_(n)&&(n=!1);var l=this;if(n||(e>=t&&(e=t-1),i>=a&&(i=a-1)),l.AM){var r=l.C.BT(\"k\")[0],o=l.C.BT(\"v\",!0)[0];o||(o=l.C.BT(\"v\")[0]);var s=!0;if(n){if(r&&o){if(r.CP&&o.CP){var C=e,A=t;e=i,t=a,i=C,a=A}r.CP?(null===ZC._n_(a)&&(a=r.A1),null===ZC._n_(i)&&(i=r.V)):(null===ZC._n_(e)&&(e=r.V),null===ZC._n_(t)&&(t=r.A1)),o.CP?(null===ZC._n_(e)&&(e=o.aAutoFit[0]?o.FW:o.B4),null===ZC._n_(t)&&(t=o.aAutoFit[1]?o.H1:o.BM)):(null===ZC._n_(i)&&(i=o.aAutoFit[0]?o.FW:o.B4),null===ZC._n_(a)&&(a=o.aAutoFit[1]?o.H1:o.BM)),r.CP||o.CP?r.AU?l.update((e-o.FW)*l.AQ.I/(o.H1-o.FW),(t-o.FW)*l.AQ.I/(o.H1-o.FW),(i-r.DD)*l.AQ.F/(r.DY-r.DD),(a-r.DD)*l.AQ.F/(r.DY-r.DD)):l.update((e-o.FW)*l.AQ.I/(o.H1-o.FW),(t-o.FW)*l.AQ.I/(o.H1-o.FW),l.AQ.F-(a-r.DD)*l.AQ.F/(r.DY-r.DD),l.AQ.F-(i-r.DD)*l.AQ.F/(r.DY-r.DD)):r.AU?l.update(l.AQ.I-(t-r.DD)*l.AQ.I/(r.DY-r.DD),l.AQ.I-(e-r.DD)*l.AQ.I/(r.DY-r.DD),l.AQ.F-(a-o.FW)*l.AQ.F/(o.H1-o.FW),l.AQ.F-(i-o.FW)*l.AQ.F/(o.H1-o.FW)):l.update((e-r.DD)*l.AQ.I/(r.DY-r.DD),(t-r.DD)*l.AQ.I/(r.DY-r.DD),l.AQ.F-(a-o.FW)*l.AQ.F/(o.H1-o.FW),l.AQ.F-(i-o.FW)*l.AQ.F/(o.H1-o.FW))}}else if(t-et&&(l.H7===l.KN?l.update(t-1,t,i,a):l.H7===l.K1&&l.update(e,e+1,i,a),s=!1),e<0&&(l.H7===l.KN?l.update(0,t,i,a):l.H7===l.KL&&l.update(0,ZC.A4(l.KL).width(),i,a),s=!1),t>l.AQ.I&&(l.H7===l.K1?l.update(e,l.AQ.I,i,a):l.H7===l.KL&&l.update(l.AQ.I-ZC.A4(l.KL).width(),l.AQ.I,i,a),s=!1),i>a&&(l.H7===l.LA?l.update(e,t,i-1,a):l.H7===l.JK&&l.update(e,t,i,a+1),s=!1),i<0&&(l.H7===l.LA?l.update(e,t,0,a):l.H7===l.KL&&l.update(e,t,0,ZC.A4(l.KL).height()),s=!1),a>l.AQ.F&&(l.H7===l.JK?l.update(e,t,i,l.AQ.F):l.H7===l.KL&&l.update(e,t,l.AQ.F-ZC.A4(l.KL).height(),l.AQ.F),s=!1),s){if(r&&r.YN){var Z=l.AQ.I/(r.X.length-(r.DK?0:1));e=Z*Math.round(e/Z),t=ZC.CX(Z*Math.round(t/Z),l.AQ.I)}l.IK=e,l.H9=t,l.L9=i,l.HI=a,(!r.CP&&r.GP||o.CP&&o.GP)&&(l.KN.style.left=ZC._i_(l.AQ.iX+l.IK-l.IX.I/2-l.Q4/2)+\"px\",l.A3Z.style.width=ZC._i_(l.IK)+\"px\",l.K1.style.left=ZC._i_(l.AQ.iX+l.H9-l.HJ.I/2-l.Q4/2)+\"px\",l.XO.style.left=ZC._i_(l.AQ.iX+l.H9)+\"px\",l.XO.style.width=ZC._i_(l.AQ.I-l.H9)+\"px\"),(!o.CP&&o.GP||r.CP&&r.GP)&&(l.LA.style.top=ZC._i_(l.AQ.iY+l.L9-l.JG.F/2-l.Q4/2)+\"px\",l.A66.style.height=ZC._i_(l.L9)+\"px\",l.JK.style.top=ZC._i_(l.AQ.iY+l.HI-l.H5.F/2-l.Q4/2)+\"px\",l.WH.style.top=ZC._i_(l.AQ.iY+l.HI)+\"px\",l.WH.style.height=ZC._i_(l.AQ.F-l.HI)+\"px\"),(r.GP||o.GP)&&(l.KL.style.left=ZC._i_(l.AQ.iX+l.IK)+\"px\",l.KL.style.width=ZC._i_(l.H9-l.IK)+\"px\",l.KL.style.top=ZC._i_(l.AQ.iY+l.L9)+\"px\",l.KL.style.height=ZC._i_(l.HI-l.L9)+\"px\"),l.ACE&&l.JI&&(l.C.OH=!0,l.zoom(!0)),r.GP&&l.A1T&&(r.FH&&\"date\"===r.FH.o.type?(l.RJ.innerHTML=r.FB(r.V,null,null).replace(/
/g,\" \"),l.RI.innerHTML=r.FB(r.A1,null,null).replace(/
/g,\" \")):(l.RJ.innerHTML=r.V,l.RI.innerHTML=r.A1),l.IK>ZC.A4(l.RJ).width()?l.RJ.style.left=l.AQ.iX+l.IK-ZC.A4(l.RJ).width()+\"px\":l.RJ.style.left=l.AQ.iX+\"px\",l.AQ.I-l.H9>ZC.A4(l.RI).width()?l.RI.style.left=l.AQ.iX+l.H9+\"px\":l.RI.style.left=l.AQ.iX+l.H9-ZC.A4(l.RI).width()+\"px\")}}}zoom(e){for(var t,i=this,a={graphid:i.C.K,preview:1,async:i.LW,previewscale:!0,zooming:e},n=i.C.BN,l=i.C.BT(\"k\")[0],r=i.C.BT(\"v\")[0],o=0,s=n.length;oe.AQ.I?(e.IK=e.AQ.I-r,e.H9=e.AQ.I):(e.IK=ZC._i_(l-r/2),e.H9=ZC._i_(l+r/2))}else{var o=a[1]-n.top-e.AQ.iY,s=e.HI-e.L9;o-s/2<0?(e.L9=0,e.HI=s):o+s/2>e.AQ.F?(e.L9=e.AQ.F-s,e.HI=e.AQ.F):(e.L9=ZC._i_(o-s/2),e.HI=ZC._i_(o+s/2))}return e.JI=!1,e.C.OH=!1,e.update(e.IK,e.H9,e.L9,e.HI),e.zoom(!1),!1}},e.Z4=function(n){if(n.preventDefault(),e.G.HE){e.G.HE.C=e.C,e.G.HE.parse();for(var l=n.target;l&&\"BODY\"!==l.tagName.toUpperCase();){if(-1!==ZC.Q.TE(l).indexOf(\"zc-preview-handler\"))break;l=l.parentNode}if((ZC.mobile||!(n.which>1))&&l){var r=ZC.Q.MK(n),o=ZC._tx_(e.G.K),s=ZC.A4(\"#\"+t+\"-top\").offset(),C=(r[0]-s.left)/o[0]-e.AQ.iX,A=(r[1]-s.top)/o[1]-e.AQ.iY;return-1!==l.id.indexOf(\"handler-x-left\")?e.H7=e.KN:-1!==l.id.indexOf(\"handler-x-right\")?e.H7=e.K1:-1!==l.id.indexOf(\"handler-y-top\")?e.H7=e.LA:-1!==l.id.indexOf(\"handler-y-bottom\")?e.H7=e.JK:-1!==l.id.indexOf(\"handler-middle\")&&(e.H7=e.KL,i=C-e.IK,a=A-e.L9),ZC.A4(document.body).bind(\"mousemove touchmove\",e.VK),ZC.A4(document.body).bind(\"mouseup touchend\",e.WY),e.JI=!0,e.A69=!1,!1}}},e.VK=function(n){if(e.JI){e.A69=!0,zingchart.exec(e.G.K,\"setmode\",{mode:\"static,fast\"});var l=ZC._tx_(e.G.K),r=ZC.Q.MK(n),o=ZC.A4(\"#\"+t+\"-top\").offset(),s=(r[0]-o.left)/l[0]-e.AQ.iX,C=(r[1]-o.top)/l[1]-e.AQ.iY;e.H7===e.KN?e.update(s,e.H9,e.L9,e.HI):e.H7===e.K1?e.update(e.IK,s,e.L9,e.HI):e.H7===e.LA?e.update(e.IK,e.H9,C,e.HI):e.H7===e.JK?e.update(e.IK,e.H9,e.L9,C):e.H7===e.KL&&e.update(s-i,s-i+ZC.A4(e.KL).width(),C-a,C-a+ZC.A4(e.KL).height())}return!1},e.WY=function(){return zingchart.exec(e.G.K,\"setmode\",{mode:\"\"}),e.JI&&(ZC.A4(document.body).unbind(\"mousemove touchmove\",e.VK),ZC.A4(document.body).unbind(\"mouseup touchend\",e.WY),e.JI=!1,e.C.OH=!1,e.A69&&e.zoom(!1),e.A69=!1),!1},ZC.A4(\".\"+e.C.K+\"-preview-handler\").bind(\"mousedown touchstart\",e.Z4),ZC.A4(\".\"+e.C.K+\"-preview-mask\").bind(\"click\",e.AEJ),e.bBind=!0}}gc(){ZC.AP.gc(this,[\"Z\",\"C6\",\"o\",\"I9\",\"JC\",\"C\",\"G\",\"AQ\",\"UY\",\"KN\",\"K1\",\"LA\",\"JK\",\"KL\",\"JG\",\"HJ\",\"H5\",\"IX\",\"oMask\",\"P4\",\"A3Z\",\"XO\",\"A66\",\"WH\"])}}class A47 extends D0{constructor(e,t){super(e);var i=this;i.C=e,i.G=e.A,i.JI=!1,i.Z=null,i.BJ=0,i.BH=0,i.A7N=\"\",i.bYX=\"yx\"===i.C.AJ.layout,i.AF=i.sTypeE=i.sTypeN=\"scroll-\"+(t||\"x\"),i.bYX&&(i.AF+=\"i\",i.sTypeE=\"scroll-xi\"===i.AF?\"scroll-y\":\"scroll-x\")}parse(){var e,t=this;t.K=t.C.K+\"-\"+t.sTypeE,t.assign_a([[\"offset-x\",\"BJ\"],[\"offset-y\",\"BH\"]]);var i=\"(\"+t.C.AF+\").\",a=t.G.B8;t.AY=new I0(t.C),a.load(t.AY.o,[i+\"scroll.bar\",i+t.AF+\".bar\"]),null!==ZC._n_(e=t.o.bar)&&t.AY.append(e),t.AY.parse(),t.B0=new I0(t.C),a.load(t.B0.o,[i+\"scroll.handle\",i+t.AF+\".handle\"]),null!==ZC._n_(e=t.o.handle)&&t.B0.append(e),t.B0.parse()}paint(){var e=this,t=e.C.BT(\"k\")[0],i=e.C.BT(\"v\")[0],a=e.C.P;if((\"scroll-x\"===e.AF||\"scroll-xi\"===e.AF)&&t.DD===t.V&&t.DY===t.A1||(\"scroll-y\"===e.AF||\"scroll-yi\"===e.AF)&&i.FW===i.B4&&i.H1===i.BM)return e.unbind(),ZC.A4(\"#\"+e.C.K+\"-\"+e.AF+\"-handle\").remove(),ZC.A4(\"#\"+e.C.K+\"-\"+e.AF+\"-bar\").remove(),void ZC.Q.IP(e.Z,e.G.AC,e.C.iX,e.C.iY,e.C.I,e.C.F);e.Z=ZC.AK(e.C.K+\"-\"+e.sTypeN+\"-c\");var n=ZC.AK(e.G.K+\"-top\");\"scroll-x\"===e.AF||\"scroll-yi\"===e.AF?(e.AY.iX=a.iX+e.BJ,e.AY.iY=a.iY+a.F+t.B1-1+e.BH,e.AY.I=a.I,e.bYX?(e.B0.I=ZC._i_(ZC.BQ(4,e.AY.I*((i.BM-i.B4)/(i.H1-i.FW)))),i.FW===i.B4?i.AU?e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:e.B0.iX=e.AY.iX:i.H1===i.BM?i.AU?e.B0.iX=e.AY.iX:e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:i.AU?e.B0.iX=ZC._i_(e.AY.iX+e.AY.I-e.B0.I-e.AY.I*(i.B4-i.FW)/(i.H1-i.FW)):e.B0.iX=ZC._i_(e.AY.iX+e.AY.I*(i.B4-i.FW)/(i.H1-i.FW))):(e.B0.I=ZC._i_(ZC.BQ(4,e.AY.I*((t.A1-t.V)/(t.DY-t.DD)))),t.DD===t.V?t.AU?e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:e.B0.iX=e.AY.iX:t.DY===t.A1?t.AU?e.B0.iX=e.AY.iX:e.B0.iX=e.AY.iX+e.AY.I-e.B0.I:t.AU?e.B0.iX=ZC._i_(e.AY.iX+e.AY.I-e.B0.I-e.AY.I*(t.V-t.DD)/(t.DY-t.DD)):e.B0.iX=ZC._i_(e.AY.iX+e.AY.I*(t.V-t.DD)/(t.DY-t.DD))),ZC.AK(e.K+\"-handle\")?(ZC.A4(\"#\"+e.K+\"-bar\").css(\"top\",e.AY.iY+\"px\"),ZC.A4(\"#\"+e.K+\"-handle\").css(\"left\",e.B0.iX+\"px\").css(\"top\",e.AY.iY+\"px\").css(ZC._[19],ZC.BQ(15,e.B0.I)+\"px\"),e.paint_()):(e.AAZ=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-x-bar \"+e.C.K+\"-scroll-x-bar\",id:e.K+\"-bar\",wh:e.AY.I+\"/\"+e.AY.F,tl:e.AY.iY+\"/\"+e.AY.iX,opacity:0,p:n}),e.ZY=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-x-handle \"+e.C.K+\"-scroll-x-handle\",id:e.K+\"-handle\",wh:ZC.BQ(15,e.B0.I)+\"/\"+e.AY.F,tl:e.AY.iY+\"/\"+(e.B0.iX-2),background:\"#fff\",opacity:0,p:n}),e.ZY.style.cursor=\"pointer\",e.paint_(),e.JI||e.bind())):(e.AY.iX=a.iX-e.AY.I-1+e.BJ,e.AY.iY=a.iY+e.BH,e.AY.F=a.F,e.bYX?(e.B0.F=ZC._i_(ZC.BQ(4,e.AY.F*((t.A1-t.V)/(t.DY-t.DD)))),t.DD===t.V?t.AU?e.B0.iY=e.AY.iY:e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:t.DY===t.A1?t.AU?e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:e.B0.iY=e.AY.iY:t.AU?e.B0.iY=ZC._i_(e.AY.iY+e.AY.F*(t.V-t.DD)/(t.DY-t.DD)):e.B0.iY=ZC._i_(e.AY.iY+e.AY.F-e.B0.F-e.AY.F*(t.V-t.DD)/(t.DY-t.DD))):(e.B0.F=ZC._i_(ZC.BQ(4,e.AY.F*((i.BM-i.B4)/(i.H1-i.FW)))),i.FW===i.B4?i.AU?e.B0.iY=e.AY.iY:e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:i.H1===i.BM?i.AU?e.B0.iY=e.AY.iY+e.AY.F-e.B0.F:e.B0.iY=e.AY.iY:i.AU?e.B0.iY=ZC._i_(e.AY.iY+e.AY.F*(i.B4-i.FW)/(i.H1-i.FW)):e.B0.iY=ZC._i_(e.AY.iY+e.AY.F-e.B0.F-e.AY.F*(i.B4-i.FW)/(i.H1-i.FW))),ZC.AK(e.K+\"-handle\")?(ZC.A4(\"#\"+e.K+\"-bar\").css(\"left\",e.AY.iX+\"px\"),ZC.A4(\"#\"+e.K+\"-handle\").css(\"top\",e.B0.iY+\"px\").css(\"left\",e.AY.iX+\"px\").css(ZC._[20],ZC.BQ(15,e.B0.F)+\"px\"),e.paint_()):(e.AAX=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-y-bar \"+e.C.K+\"-scroll-y-bar\",id:e.K+\"-bar\",wh:e.AY.I+\"/\"+e.AY.F,tl:e.AY.iY+\"/\"+e.AY.iX,opacity:0,p:n}),e.A04=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-y-handle \"+e.C.K+\"-scroll-y-handle\",id:e.K+\"-handle\",wh:e.AY.I+\"/\"+ZC.BQ(15,e.B0.F),tl:e.B0.iY-2+\"/\"+e.AY.iX,background:\"#fff\",opacity:0,p:n}),e.A04.style.cursor=\"pointer\",e.paint_(),e.JI||e.bind()))}zoom(e){for(var t,i,a,n=this,l={graphid:n.C.K,zooming:e,scroll:!0},r=n.C.BN,o=n.C.BT(\"k\")[0],s=n.C.BT(\"v\")[0],C=0,A=r.length;Ci.C.P.iX+i.C.P.I&&(t.iX=i.C.P.iX+i.C.P.I-t.I),t.iXi.C.P.iY+i.C.P.F&&(t.iY=i.C.P.iY+i.C.P.F-t.F),t.iY1)&&(e.A7N=e.G.KX.join(\",\"),e.G.KX.push(ZC._[38],\"skip_objects_tracking\",ZC._[39],ZC._[40],ZC._[41]),e.G.HE)){e.G.HE.C=e.C,e.G.HE.parse();for(var l=n.target;l&&\"BODY\"!==l.tagName.toUpperCase();){if(-1!==ZC.Q.TE(l).indexOf(\"zc-\"+e.AF+\"-handle\"))break;l=l.parentNode}if((ZC.mobile||!(n.which>1))&&l){var r=ZC.Q.MK(n),o=ZC.A4(\"#\"+t+\"-top\").offset();if(\"scroll-x\"===e.AF||\"scroll-yi\"===e.AF){var s=r[0]-o.left;i=s-e.B0.iX}else{var C=r[1]-o.top;a=C-e.B0.iY}return ZC.A4(document.body).bind(\"mousemove touchmove\",e.RO),ZC.A4(document.body).bind(\"mouseup touchend\",e.NS),e.JI=!0,!1}}},e.RO=function(n){if(e.JI){e.setScrollingFlag(!1);var l=ZC.Q.MK(n),r=ZC.A4(\"#\"+t+\"-top\").offset();if(\"scroll-x\"===e.AF||\"scroll-yi\"===e.AF){var o=l[0]-r.left;o-ie.AY.iX+e.AY.I&&(o>e.AY.iX+e.AY.I+15&&e.overscroll(\"scroll-x-right\"),o=e.AY.iX+e.AY.I+i-e.B0.I),e.update(o-i)}else{var s=l[1]-r.top;s-ae.AY.iY+e.AY.F&&(s>e.AY.iY+e.AY.F+15&&e.overscroll(\"scroll-y-bottom\"),s=e.AY.iY+e.AY.F+a-e.B0.F),e.update(s-a)}}return!1},e.NS=function(t){return e.G.KX=e.A7N.split(\",\"),e.JI&&(ZC.A4(document.body).unbind(\"mousemove touchmove\",e.RO),ZC.A4(document.body).unbind(\"mouseup touchend\",e.NS),e.JI=!1,e.setScrollingFlag(!1),t&&e.zoom(!1)),!1},e.RN=function(i){e.JI=!1,e.setScrollingFlag(!1);var a=ZC.Q.MK(i),n=ZC.A4(\"#\"+t+\"-top\").offset();\"scroll-x\"===e.AF||\"scroll-yi\"===e.AF?a[0]-n.left>e.B0.iX?e.update(ZC.CX(e.AY.iX+e.AY.I-e.B0.I-2*e.B0.AT,e.B0.iX+(a[0]-n.left-e.B0.iX)/4)):e.update(ZC.BQ(e.AY.iX,a[0]-n.left+(e.B0.iX-a[0]+n.left-e.B0.I)/4)):a[1]-n.top>e.B0.iY?e.update(ZC.CX(e.AY.iY+e.AY.F-e.B0.F-2*e.B0.AT,e.B0.iY+(a[1]-n.top-e.B0.iY)/4)):e.update(ZC.BQ(e.AY.iY,a[1]-n.top+(e.B0.iY-a[1]+n.top-e.B0.F)/4)),e.zoom(!1)},ZC.A4(\".\"+e.C.K+\"-\"+e.sTypeE+\"-handle\").bind(\"mousedown touchstart\",e.RP),ZC.A4(\".\"+e.C.K+\"-\"+e.sTypeE+\"-bar\").bind(\"click\",e.RN)}}class A3A extends D0{constructor(e,t){super(e);var i=this;i.BE=e,i.JI=!1,i.Z=null,i.A7N=\"\",i.KW=1,i.H2=1,i.AF=\"scroll-\"+(t||\"y\")}parse(){var e,t=this;t.K=t.BE.K+\"-legend-\"+t.AF;var i=t.BE.A.G.B8,a=\"(\"+t.BE.A.AF+\")\";t.AY=new I0(t.BE),i.load(t.AY.o,[a+\".legend.scroll.bar\",t.AF+\".bar\"]),null!==ZC._n_(e=t.o.bar)&&t.AY.append(e),t.AY.parse(),t.B0=new I0(t.BE),i.load(t.B0.o,[a+\".legend.scroll.handle\",t.AF+\".handle\"]),null!==ZC._n_(e=t.o.handle)&&t.B0.append(e),t.B0.parse()}paint(){var e,t=this;if(!t.JI){t.Z=ZC.AK(t.BE.A.K+\"-legend-scroll-c\");var i=ZC.AK(t.G.K+\"-top\");\"scroll-y\"===t.AF?(t.AY.iX=t.BE.iX+t.BE.I-t.AY.I-1,t.AY.iY=t.BE.EJ,t.AY.F=t.BE.F-(t.BE.KP?t.BE.KP.F:0)-(t.BE.EJ-t.BE.iY),e=Math.ceil(t.BE.B6.length/t.H2-t.BE.EF/t.H2)+1,t.B0.F=t.AY.F/e,t.B0.iY=t.AY.iY,0!==t.BE.D2.min&&(t.B0.iY+=t.BE.D2.min/t.H2*t.B0.F),ZC.AK(t.K+\"-legend-handle\")?(ZC.A4(\"#\"+t.K+\"-legend-handle\").css(\"left\",t.AY.iX+\"px\").css(\"top\",t.B0.iY+\"px\").css(ZC._[20],t.B0.F-0*t.B0.AT+\"px\"),ZC.A4(\"#\"+t.K+\"-legend-bar\").css(\"left\",t.AY.iX+\"px\").css(\"top\",t.AY.iY+\"px\"),ZC.A4(\"#\"+t.BE.K+\"-frame\").css(\"left\",t.BE.iX+\"px\").css(\"top\",t.BE.EJ+\"px\"),t.paint_()):(t.AAX=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-y-bar \"+t.BE.K+\"-scroll-y-legend-bar\",id:t.K+\"-legend-bar\",wh:t.AY.I+\"/\"+t.AY.F,tl:t.AY.iY+\"/\"+t.AY.iX,background:\"#fff\",opacity:0,zidx:1,p:i}),t.A04=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-y-handle \"+t.BE.K+\"-scroll-y-legend-handle\",id:t.K+\"-legend-handle\",wh:t.AY.I-0*t.B0.AT+\"/\"+(t.B0.F-0*t.B0.AT),tl:t.B0.iY+\"/\"+t.AY.iX,background:\"#fff\",opacity:0,zidx:1,p:i}),t.A04.style.cursor=\"pointer\",t.paint_())):\"scroll-x\"===t.AF&&(t.AY.iX=t.BE.iX,t.AY.iY=t.BE.iY+t.BE.F-t.AY.F-1,t.AY.I=t.BE.I,e=Math.ceil(t.BE.B6.length/t.KW-t.BE.EF/t.KW)+1,t.B0.I=t.AY.I/e,t.B0.iX=t.AY.iX,0!==t.BE.D2.min&&(t.B0.iX+=t.BE.D2.min/t.KW*t.B0.I),ZC.AK(t.K+\"-legend-handle\")?(ZC.A4(\"#\"+t.K+\"-legend-handle\").css(\"left\",t.B0.iX+\"px\").css(\"top\",t.AY.iY+\"px\").css(ZC._[19],t.B0.I-0*t.B0.AT+\"px\"),ZC.A4(\"#\"+t.K+\"-legend-bar\").css(\"left\",t.AY.iX+\"px\").css(\"top\",t.AY.iY+\"px\"),ZC.A4(\"#\"+t.BE.K+\"-frame\").css(\"left\",t.BE.iX+\"px\").css(\"top\",t.BE.EJ+\"px\"),t.paint_()):(t.AAZ=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-x-bar \"+t.BE.K+\"-scroll-x-legend-bar\",id:t.K+\"-legend-bar\",wh:t.AY.I+\"/\"+t.AY.F,tl:t.AY.iY+\"/\"+t.AY.iX,background:\"#fff\",opacity:0,zidx:1,p:i}),t.ZY=ZC.Q.I5({cls:\"zc-abs zc-scroll zc-scroll-x-handle \"+t.BE.K+\"-scroll-x-legend-handle\",id:t.K+\"-legend-handle\",wh:t.B0.I-0*t.B0.AT+\"/\"+(t.AY.F-0*t.B0.AT),tl:t.AY.iY+\"/\"+t.B0.iX,background:\"#fff\",opacity:0,zidx:1,p:i}),t.ZY.style.cursor=\"pointer\",t.paint_())),ZC.move||t.bind()}}paint_(){var e,t,i=this;\"scroll-y\"===i.AF?((e=new I0(i)).K=i.BE.K+\"-scroll-y-legend-bar\",e.copy(i.AY),e.Z=i.Z,e.iX=i.AY.iX,e.iY=i.AY.iY,e.I=i.AY.I,e.F=i.AY.F,e.paint(),(t=new I0(i)).K=i.BE.K+\"-scroll-y-legend-handle\",t.copy(i.B0),t.Z=i.Z,t.iX=i.AY.iX,t.iY=i.B0.iY,t.I=i.B0.I,t.F=i.B0.F,t.paint()):\"scroll-x\"===i.AF&&((e=new I0(i)).K=i.BE.K+\"-scroll-x-legend-bar\",e.copy(i.AY),e.Z=i.Z,e.iX=i.AY.iX,e.iY=i.AY.iY,e.I=i.AY.I,e.F=i.AY.F,e.paint(),(t=new I0(i)).K=i.BE.K+\"-scroll-x-legend-handle\",t.copy(i.B0),t.Z=i.Z,t.iX=i.B0.iX,t.iY=i.AY.iY,t.I=i.B0.I,t.F=i.AY.F,t.paint())}update(e){var t,i,a,n,l,r,o=this,s=o.BE;if(\"scroll-y\"===o.AF){if(eo.B0.iX&&!1,e===o.B0.iX)return;o.B0.iX=e,ZC.A4(\"#\"+o.K+\"-legend-handle\").css(\"left\",e+\"px\"),t=o.B0.iX-o.AY.iX,n=Math.ceil(s.B6.length/o.KW-s.EF/o.KW)+1,i=o.AY.I/n,r=o.KW}a=Math.round(t/i),l=s.B6.length-s.EF,s.B6.length%r&&(l+=r-s.B6.length%r),s.D2.min=Math.min(a*r,l),s.D2.max=s.D2.min+s.EF,s.VF(),s.clear(!1),s.parse(),s.paint(),o.paint_(),o.bind()}unbind(){var e=this;ZC.A4(\".\"+e.BE.K+\"-\"+e.AF+\"-legend-handle\").unbind(\"mousedown touchstart\",e.RP),ZC.A4(\".\"+e.BE.K+\"-\"+e.AF+\"-legend-bar\").unbind(\"click\",e.RN)}bind(){var e=this,t=e.G.K,i=0,a=0;e.RP=function(n){if(n.preventDefault(),!(n.button>1)){for(var l=n.target;l&&\"BODY\"!==l.tagName.toUpperCase();){if(-1!==ZC.Q.TE(l).indexOf(\"zc-\"+e.AF+\"-handle\"))break;l=l.parentNode}if((ZC.mobile||!(n.which>1))&&l){var r=ZC.Q.MK(n),o=ZC.A4(\"#\"+t+\"-top\").offset();if(\"scroll-y\"===e.AF){var s=r[1]-o.top;a=s-e.B0.iY}else if(\"scroll-x\"===e.AF){var C=r[0]-o.left;i=C-e.B0.iX}return ZC.A4(document.body).bind(\"mousemove touchmove\",e.RO),ZC.A4(document.body).bind(\"mouseup touchend\",e.NS),e.JI=!0,!1}}},e.RO=function(n){if(n.preventDefault(),e.JI){var l=ZC.Q.MK(n),r=ZC.A4(\"#\"+t+\"-top\").offset();if(\"scroll-y\"===e.AF){var o=l[1]-r.top;o-ae.AY.iY+e.AY.F&&(o=e.AY.iY+e.AY.F+a-e.B0.F),e.update(o-a)}else if(\"scroll-x\"===e.AF){var s=l[0]-r.left;s-ie.AY.iX+e.AY.I&&(s=e.AY.iX+e.AY.I+i-e.B0.I),e.update(s-i)}}return!1},e.NS=function(){return e.G.KX=e.A7N.split(\",\"),e.JI&&(ZC.A4(document.body).unbind(\"mousemove touchmove\",e.RO),ZC.A4(document.body).unbind(\"mouseup touchend\",e.NS),e.JI=!1),!1},e.A49=function(t){(t.detail?-120*t.detail:t.wheelDelta)/120>0?e.update(ZC.BQ(e.AY.iY,e.B0.iY-e.B0.F)):e.update(ZC.CX(e.AY.iY+e.AY.F-e.B0.F,e.B0.iY+e.B0.F))},e.RN=function(i){e.JI=!0;var a=ZC.Q.MK(i),n=ZC.A4(\"#\"+t+\"-top\").offset();\"scroll-y\"===e.AF?a[1]-n.top>e.B0.iY?e.update(ZC.CX(e.AY.iY+e.AY.F-e.B0.F,e.B0.iY+e.B0.F)):e.update(ZC.BQ(e.AY.iY,e.B0.iY-e.B0.F)):\"scroll-x\"===e.AF&&(a[0]-n.left>e.B0.iX?e.update(ZC.CX(e.AY.iX+e.AY.I-e.B0.I,e.B0.iX+e.B0.I)):e.update(ZC.BQ(e.AY.iX,e.B0.iX-e.B0.I))),e.JI=!1},ZC.A4(\".\"+e.BE.K+\"-\"+e.AF+\"-legend-handle\").bind(\"mousedown touchstart\",e.RP),ZC.A4(\".\"+e.BE.K+\"-\"+e.AF+\"-legend-bar\").bind(\"click\",e.RN)}}class A27 extends DR{constructor(e){super(e);var t=this;t.ON=\"legend\",t.B6=null,t.QE=null,t.NO=\"x1\",t.IT=\"hide\",t.RC=\"\",t.Q2=\"\",t.VA=!1,t.VJ=!1,t.U7=\"none\",t.UZ=\"header\",t.EF=9999,t.DC=null,t.BR=null,t.A03=null,t.A2=null,t.NU=null,t.FQ=null,t.KP=null,t.QP=0,t.MJ=0,t.ZD=!0,t.EJ=0,t.GQ=0,t.sAlign=\"\",t.K3=\"\",t.D2={enabled:!1,min:-1,max:-1,page:-1,pages:-1},t.M8=!1,t.NF=!1,t.NG=-1,t.SF=!1,t.A5P=1,t.X4=0,t.LI=!1,t.Y9=!1,t.ZE=!1,t.Y6=[]}highlightItem(e){var t,i,a=this,n=!1,l=ZC.move,r=a.LI;-1!==e&&(r=a.LI||a.A.AZ.A5[e].LI),a.o.item&&null!==ZC._n_(t=a.o.item[\"highlight-item\"])&&(n=ZC._b_(t),null===ZC._n_(a.o[\"highlight-legend\"])&&null===a.A.AZ.A5[e].o[\"highlight-legend\"]&&(r=n)),(n||r)&&(n&&(a.D[\"highlight-item\"]=e),r&&(a.D[\"highlight-legend\"]=ZC._i_(e)),i=a.scrollTo(ZC._i_(e)),a.VF(),a.clear(!0,i),a.ZD=!0,a.parse(),a.fixPlacement(!0),a.paint(),ZC.move=l)}scrollTo(e){var t,i,a=this,n=!1;return e>=0&&(e=a.D2.max)&&(n=!0,\"scroll\"===a.U7?(e%(i=\"scroll-y\"===a.DC.AF?a.DC.H2:a.DC.KW)&&(e-=e%i),a.D2.min=e,a.D2.max=e+a.EF,a.D2.max>a.B6.length&&(a.D2.min=a.B6.length-a.EF,a.B6.length%i&&(a.D2.min=a.D2.min+(i-a.B6.length%i)),a.D2.max=a.B6.length)):\"page\"===a.U7&&(t=Math.floor(e/a.EF),a.D2.min=t*a.EF,a.D2.max=a.D2.min+a.EF,a.D2.page=t+1)),n}parse(){var e,t,i,a,n=this;if(n.D[\"force-margins\"]=!0,n.QP=0,n.MJ=0,null!==ZC._n_(e=n.A.A.D[\"graph-\"+n.A.K+\"-legend-info\"])&&(n.o.x=e.x-n.A.iX,n.o.y=e.y-n.A.iY),ZC.move)n.FQ&&n.FQ.parse(),n.KP&&n.KP.parse();else{a=n.A.G.B8;var l=\"(\"+n.A.AF+\")\";super.parse(),n.assign_a([[\"collapse\",\"M8\",\"b\"],[\"minimize\",\"VA\",\"b\"],[\"draggable\",\"VJ\",\"b\"],[\"shared\",\"SF\",\"b\"],[\"overflow\",\"U7\"],[\"max-items\",\"EF\",\"i\"],[\"group\",\"A5P\",\"i\"],[\"drag-handler\",\"UZ\"],[\"highlight-plot\",\"X4\",\"b\"],[\"highlight-legend\",\"LI\",\"b\"],[\"align\",\"sAlign\"],[\"vertical-align\",\"K3\"]]),n.M8&&!n.VA&&(n.M8=!1),zingchart.DEV.MEDIARULES&&(n.D[\"forced-align-position\"]||(n.alignPosition({align:n.sAlign,\"vertical-align\":n.K3,layout:n.NO}),n.D[\"forced-align-position\"]=!0)),n.X4&&null===ZC._n_(n.o[\"highlight-legend\"])&&(n.LI=n.X4),n.BR=new DR(n),a.load(n.BR.o,l+\".legend.item\"),n.o.item&&null===ZC._n_(n.o.item.visible)&&(n.o.item.visible=!0),n.BR.append(n.o.item),n.BR.parse(),n.A03=new DR(n),a.load(n.A03.o,l+\".legend.item-off\"),n.o[\"item-off\"]&&null===ZC._n_(n.o[\"item-off\"].visible)&&(n.o[\"item-off\"].visible=!0),n.A03.append(n.o[\"item-off\"]),n.A03.parse(),n.A2=new DU(n),a.load(n.A2.o,l+\".legend.marker\"),n.o.marker&&null===ZC._n_(n.o.marker.visible)&&(n.o.marker.visible=!0),n.A2.append(n.o.marker),n.A2.D.type=\"default\",n.A2.D[\"show-marker\"]=!0,n.A2.D[\"show-line\"]=!1,null!==ZC._n_(e=n.A2.o.type)&&(n.A2.D.type=e),null!==ZC._n_(e=n.A2.o[\"show-line\"])&&(n.A2.D[\"show-line\"]=ZC._b_(e)),null!==ZC._n_(e=n.BR.o[\"marker-style\"])&&(n.A2.D.type=e),null!==ZC._n_(e=n.BR.o[\"show-line\"])&&(n.A2.D[\"show-line\"]=ZC._b_(e)),null!==ZC._n_(e=n.BR.o[\"show-marker\"])&&(n.A2.o.visible=ZC._b_(e)),n.A2.parse(),n.NU=new DU(n),a.load(n.NU.o,l+\".legend.marker-off\"),n.o[\"marker-off\"]&&(n.o[\"marker-off\"].visible=!0),n.NU.append(n.o[\"marker-off\"]),n.NU.D.type=\"default\",n.NU.D[\"show-marker\"]=!0,n.NU.D[\"show-line\"]=!1,null!==ZC._n_(e=n.NU.o.type)&&(n.NU.D.type=e),null!==ZC._n_(e=n.NU.o[\"show-line\"])&&(n.NU.D[\"show-line\"]=ZC._b_(e)),null!==ZC._n_(e=n.BR.o[\"marker-style\"])&&(n.NU.D.type=e),null!==ZC._n_(e=n.BR.o[\"show-line\"])&&(n.NU.D[\"show-line\"]=ZC._b_(e)),null!==ZC._n_(e=n.BR.o[\"show-marker\"])&&(n.NU.o.visible=ZC._b_(e)),n.NU.parse(),(null!==ZC._n_(e=n.o.header)||n.VJ||n.VA)&&(n.FQ=new DR(n),n.FQ.ON=\"legendheader\",n.FQ.GN=\"zc-legend-item \"+n.K+\"-header\",n.FQ.K=n.K+\"-header\",a.load(n.FQ.o,l+\".legend.header\"),n.FQ.o.text=n.FQ.o.text||\" \",n.FQ.append(e),n.FQ.parse(),n.FQ.AM||(n.FQ=null)),null!==ZC._n_(e=n.o.footer)&&(n.KP=new DR(n),n.KP.ON=\"legendfooter\",n.KP.GN=\"zc-legend-item \"+n.K+\"-footer\",n.KP.K=n.K+\"-footer\",a.load(n.KP.o,l+\".legend.footer\"),n.KP.append(e),n.KP.parse(),n.KP.AM||(n.KP=null));var r=n.A.AZ.A5;null!==ZC._n_(e=n.o.layout)?n.NO=e:25*r.length>n.A.F&&(n.NO=\"x\"+Math.ceil(25*r.length/n.A.F)),null!==ZC._n_(e=n.o[ZC._[54]])&&(n.IT=e),n.RC=n.Q2=n.IT,null!==ZC._n_(n.o.item)&&null!==ZC._n_(e=n.o.item[ZC._[54]])&&(n.RC=e),null!==ZC._n_(n.o.marker)&&null!==ZC._n_(e=n.o.marker[ZC._[54]])&&(n.Q2=e);var o=function(e){if(r[t]&&r[t].FR(0)){var i=ZC.AP.P1(n.BR.o,r[t].o);e=r[t].FR(0).F0(e,i)}return e},s=[];for(n.B6=[],t=0,i=r.length;tn.D2.pages&&(n.D2.page=n.D2.pages,n.D2.min=(n.D2.page-1)*n.EF,n.D2.max=n.D2.page*n.EF-1),n.D2.page=ZC.CX(n.D2.page,n.D2.pages)):\"scroll\"===n.U7?(e=n.A.D[\"legend-info\"])?(n.D2.min=e.min,n.D2.max=e.max,n.D2.page=e.page):(n.D2.min=0,n.D2.max=n.EF,n.D2.page=1):(n.D2.min=0,n.D2.max=\"hidden\"===n.U7?n.EF:n.B6.length,n.D2.page=1),n.VF(!1),n.B6.sort(function(e,t){return e.D.order-t.D.order}),n.o[\"reverse-series\"]&&n.B6.reverse();var Z=.9*n.A.I;null!==ZC._n_(n.o[ZC._[19]])&&(Z=n.I);var c=0,p=0,u=-ZC.MAX,h=-ZC.MAX,_=n.A2.D[\"show-line\"]?3:2,d=0,f=1,g=1;if(\"float\"===n.NO){for(t=0,i=n.B6.length;t=n.D2.max||n.NF)&&n.B6[t].AM){var v=n.B6[t].I+n.B6[t].DT+n.B6[t].E5+_*n.B6[t].DH;h=ZC.BQ(h,n.B6[t].F+n.B6[t].E6+n.B6[t].DN),c+v>Z?(u=ZC.BQ(u,c),p+=h,c=v,h=ZC.BQ(h,n.B6[t].F+n.B6[t].E6+n.B6[t].DN)):c+=v}u=ZC.BQ(u,c),h!==-ZC.MAX&&(p+=h),u!==-ZC.MAX&&(c=u)}else{var B=0;for(t=0,i=n.B6.length;t=n.D2.max||n.NF||(B+=n.B6[t].AM?1:0);var m=ZC.AO.A2V(n.NO,B);for(f=m[0],g=m[1],t=0,i=n.B6.length;t=n.D2.max||n.NF)&&(\"scroll\"!==n.U7||d<=n.EF)||n.B6[t].AM&&(u=ZC.BQ(u,n.B6[t].I+n.B6[t].DT+n.B6[t].E5+_*n.B6[t].DH),h=ZC.BQ(h,n.B6[t].F+n.B6[t].E6+n.B6[t].DN),1===g&&(p+=n.B6[t].F+n.B6[t].E6+n.B6[t].DN));c=g*u,p=f*h}if(\"page\"===n.U7&&d>n.EF&&(n.D2.enabled=!0),\"scroll\"===n.U7&&d>n.EF&&(n.DC||(!f||f>g?(n.DC=new A3A(n,\"y\"),a.load(n.DC.o,\".scroll-y\")):(n.DC=new A3A(n,\"x\"),a.load(n.DC.o,\".scroll-x\")),n.DC.append(n.o.scroll),n.DC.KW=f,n.DC.H2=g,n.DC.parse()),n.NF||(\"scroll-y\"===n.DC.AF?c+=n.DC.AY.I:p+=n.DC.AY.F)),n.FQ){var b=n.FQ.I;n.VJ&&\"icon\"===n.UZ?(b+=15,n.VA&&(b+=25)):n.VA&&(b+=15),c=ZC.BQ(c,b)}n.KP&&(c=ZC.BQ(c,n.KP.I));var D=!1,E=!1;if(null===ZC._n_(n.o[ZC._[19]])&&(n.o[ZC._[19]]=c,D=!0),null===ZC._n_(n.o[ZC._[20]])&&(n.o[ZC._[20]]=p,E=!0),n.iX=-1,n.iY=-1,!ZC.move&&n.FQ&&null!==ZC._n_(e=n.A.A.D[\"legend\"+n.A.L+\"-xy-ratio\"])){n.locate();var K=n.I+n.EO+n.FN,F=n.F+n.FM+n.FT,X=n.SF?n.A.A:n.A;n.iX=X.I*e[0],n.iX=ZC.BQ(n.iX,1.1),n.o.x=n.iX=ZC.CX(n.iX,X.I-K-2),n.iY=(X.F-n.FQ.F)*e[1],n.iY=ZC.BQ(n.iY,1.1),n.o.y=n.iY=ZC.CX(n.iY,X.F-F-n.FQ.F-2)}if(n.locate(),null!==ZC._n_(n.o.position)&&typeof n.D[\"position-info\"]!==ZC._[31]?(n.D[\"position-info\"][0]>.5&&(n.QP+=n.EO+n.FN),n.D[\"position-info\"][1]>.5?n.MJ+=n.FM+n.FT:(n.FQ&&(n.MJ-=n.FQ.F),n.KP&&(n.MJ-=n.KP.F),n.D2&&n.D2.enabled&&(n.MJ-=20))):((0===n.A.iX||n.iX+n.I/2>n.A.iX+n.A.I/2)&&(n.QP+=n.EO+n.FN),(0===n.A.iY||n.iY+n.F/2>n.A.iY+n.A.F/2)&&(n.MJ+=n.FM+n.FT)),!ZC.move&&(e=n.A.A.D[\"graph-\"+n.A.K+\"-legend-info\"])&&(e.x&&(n.iX=e.x),e.y&&(n.iY=e.y)),n.GQ=n.F,n.EJ=n.iY,n.FQ&&(n.F+=n.FQ.F,n.EJ+=n.FQ.F,n.MJ+=n.FQ.F),n.KP&&(n.F+=n.KP.F,n.MJ+=n.KP.F),n.D2.enabled&&!n.NF){var I=new DR(n);I.AR=\" \",I.append(n.o[\"page-status\"]),null!==ZC._n_(I.o.text)&&\"\"!==I.o.text||(I.o.text=\"#\"),I.parse(),n.F+=I.F+4,n.MJ+=I.F+4}D&&(n.o[ZC._[19]]=null),E&&(n.o[ZC._[20]]=null),n.NF||(n.I+=n.EO+n.FN,n.F+=n.FM+n.FT),n.D[\"default-width\"]&&(n.I=n.D[\"default-width\"])}}alignPosition(e){var t=this;if(null!==ZC._n_(e)){var i=t.A.G.B8.B8.graph.legend,a=e.align||i.align,n=e[\"vertical-align\"]||i[\"vertical-align\"],l=e.layout||i.layout;(a||n)&&(\"center\"===a?(null===ZC._n_(t.o.layout)&&(l=t.o.layout=\"horizontal\"),t.o.position=\"50% \"):t.o.position=\"left\"===a?\"0% \":\"100% \",t.o.position+=\"middle\"===n?\"50%\":\"bottom\"===n?\"100%\":\"0%\",\"horizontal\"!==l&&\"middle\"!==n||(t.o[\"adjust-layout\"]=!0))}}VF(e){var t=this;typeof e===ZC._[31]&&(e=!0),t.A.D[\"legend-info\"]={collapsed:t.NF,min:t.D2.min,max:t.D2.max,page:t.D2.page},e&&(t.A.A.D[\"graph-\"+t.A.K+\"-legend-info\"]={x:t.iX,y:t.iY})}clear(e,t){null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1);var i=this,a=i.A.K+\"-legend-\",n=null;ZC.A4(\".\"+a+\"item\",n).remove(),ZC.A4(\".\"+a+\"header\",n).remove(),ZC.A4(\".\"+a+\"footer\",n).remove(),ZC.A4(\"#\"+a+\"page-status\",n).remove(),e&&!t||(ZC.move||i.unbind(),ZC.A4(\".\"+a+\"page-area\",n).remove(),ZC.A4(\".\"+a+\"header-area\",n).remove(),ZC.A4(\".\"+a+\"item-area\",n).remove(),ZC.A4(\".\"+a+\"marker-area\",n).remove()),ZC.move?ZC.Q.IP(ZC.AK(a+\"c\"),i.A.G.AC,i.A.iX,i.A.iY,i.A.I,i.A.F):ZC.Q.IP(ZC.AK(a+\"c\"),i.A.G.AC,i.iX-2*i.AT-2*i.JZ,i.iY-2*i.AT-2*i.JZ,i.I+4*i.AT+4*i.JZ,i.F+4*i.AT+4*i.JZ),i.DC&&ZC.Q.IP(ZC.AK(a+\"scroll-c\"),i.A.G.AC,i.A.iX,i.A.iY,i.A.I,i.A.F)}unbind(){var e=this;ZC.A4(\"#\"+e.K+\"-frame\").die(ZC.Q.BX(\"mouseover\"),e.zc_legend_mouseover).die(ZC.Q.BX(\"mouseout\"),e.zc_legend_mouseout),ZC.A4(\"#\"+e.K+\"-move-area\").die(ZC.Q.BX(ZC._[47]),e.ZQ),ZC.A4(\"#\"+e.K+\"-minimize-area\").die(ZC.Q.BX(\"click\"),e.YE),ZC.A4(\".\"+e.K+\"-page-area\").die(ZC.Q.BX(\"click\"),e.Z3),e.DC&&e.DC.unbind(),e.BR&&e.BR.o.reorder&&ZC.A4(\".\"+e.A.K+\"-legend-item-area\").die(ZC._[47],e.WJ)}fixPlacement(e){var t=this;if(t.ZD&&null===ZC._n_(t.o.y)||e){if(!t.o.position&&e||(t.iX-=t.QP),t.iX=d.D2.max||d.NF||(v+=d.B6[r].AM?1:0);d.A63=!0,super.paint(),d.FQ&&(d.FQ.iX=d.iX,d.FQ.iY=d.iY,d.FQ.I=d.I,d.FQ.Z=d.FQ.C6=d.Z,d.FQ.paint(),ZC.move||\"canvas\"!==d.A.A.AC&&d.FQ.EB(),d.VJ&&\"icon\"===d.UZ&&((a=new DU(d)).Z=d.Z,a.B7=\"#000\",a.B1=1,a.DP=\"line\",a.append(d.o.icon),n=d.FQ.iX+d.FQ.I-10,l=d.FQ.iY+d.FQ.F/2,a.E=[[n-7,l],[n+7,l],null,[n,l-7],[n,l+7],null,[n-6,l-1],[n-6,l+1],null,[n-5,l-2],[n-5,l+2],null,[n+6,l-1],[n+6,l+1],null,[n+5,l-2],[n+5,l+2],null,[n-1,l-6],[n+1,l-6],null,[n-2,l-5],[n+2,l-5],null,[n-1,l+6],[n+1,l+6],null,[n-2,l+5],[n+2,l+5]],a.parse(),a.paint()),d.VA&&((i=new DU(d)).Z=d.Z,i.B7=ZC.AP.A9Q(d.A0,\"#fff\",\"#000\"),i.B1=1,i.append(d.o.icon),i.DP=\"line\",n=d.FQ.iX+d.FQ.I-10-(d.VJ&&\"icon\"===d.UZ?20:0),l=d.FQ.iY+d.FQ.F/2,i.E=[[n-7,l-2],[n+2,l-2],[n+2,l+7],[n-7,l+7],[n-7,l-2],[n+2,l-2],null,[n-4,l-5],[n+5,l-5],[n+5,l+4],[n-4,l+4],[n-4,l-5],[n+5,l-5]],i.parse(),i.paint())),d.KP&&(d.KP.iX=d.iX,d.KP.iY=d.iY+d.F-d.KP.F,d.KP.I=d.I,d.KP.Z=d.KP.C6=d.Z,d.KP.paint(),ZC.move||\"canvas\"!==d.A.A.AC&&d.KP.EB());var B=ZC.AO.A2V(d.NO,v),m=B[0],b=B[1],D=d.I/b,E=d.GQ/m,K=0,F=0;d.QE=[];var X,I=0,x=-ZC.MAX,y=d.A2.D[\"show-line\"]?3:2,Y=null,w=function(t){var i=t;if(null===ZC._n_(e)&&(e=0),g[X]&&g[X].R[e]){var a=ZC.AP.P1(d.BR.o,g[X].o);t=g[X].FR(e).F0(t,a)}return d.Y9=d.Y9||t!==i,t},G=0;for(d.Y9=!1,r=0,o=d.B6.length;r=d.D2.max||d.NF)){var M=new DR(d);M.copy(d.B6[r]),d.D[\"highlight-legend\"]===r&&(M.append({bold:!0}),null!==ZC._n_(d.o.item)&&M.append(d.o.item[\"highlight-state\"])),X=M.D.index;var L=new DR(d);L.ON=\"legenditem\",L.K=d.K+\"-item_\"+X,L.GN=\"zc-legend-item \"+d.K+\"-item\",L.copy(M),d.A.D[\"plot\"+X+\".visible\"]&&\"off\"!==g[X].o[\"legend-status\"]||L.append(d.A03.o),L.append(g[X].o[\"legend-item\"]),L.F0=w,L.parse(),L.AM?(\"float\"===d.NO?(x=ZC.BQ(x,M.F),null===ZC._n_(Y)?(M.iX=d.iX+d.EO+M.DT+y*M.DH,M.iY=d.EJ+d.FM+M.E6,I=d.EJ):(M.iX=Y.iX+Y.I+Y.E5+M.DT+y*M.DH,ZC._i_(M.iX+M.I+M.E5)>ZC._i_(d.iX+d.I)&&(M.iX=d.iX+d.EO+M.DT+y*M.DH,I+=x+M.E6+M.DN,x=-ZC.MAX),M.iY=I+d.FM+M.E6)):(M.iX=d.iX+(0===F?d.EO:0)+F*D+M.DT+y*M.DH,M.iY=d.EJ+d.FM+K*E+M.E6,++F===b&&(F=0,K++)),Y=M,L.iX=M.iX=ZC._i_(M.iX),L.iY=M.iY=ZC._i_(M.iY),L.Z=L.C6=d.Z,L.iX+=d.BJ,L.iY+=d.BH,X===d.NG&&(d.D[\"calculate-y\"]&&(d.D[\"calculate-y\"]=!1,d.D[\"dragged-offset-y\"]=d.D[\"dragged-y\"]-L.iY),L.iY=d.D[\"dragged-y\"]-d.D[\"dragged-offset-y\"]-L.DH/4),L.paint(),typeof d.D.showhide!==ZC._[31]&&null!==ZC._n_(d.D.showhide)||ZC.move||(\"canvas\"!==d.A.A.AC?L.EB():d.Y6.push(L))):G++;var P=d.A2.D.type;null!==ZC._n_(t=g[X].o[\"legend-marker\"])&&null!==ZC._n_(t.type)&&(P=t.type);var N,R=!1;switch(\"match\"!==P&&\"inherit\"!==P||(R=!0,P=null!==ZC._n_(t=g[X].A2.o.type)?t:\"default\"),-1!==ZC.AV([\"default\",\"square\"],P)?N=new I0(d):(N=new DU(d)).DP=P,N.ON=\"legendmarker\",N.append(d.A2.o),d.A.D[\"plot\"+X+\".visible\"]&&\"off\"!==g[X].o[\"legend-status\"]||N.append(d.NU.o),N.NJ=g[X].NJ,g[X].AF){case\"pie\":case\"pie3d\":case\"nestedpie\":case\"vbar\":case\"vbar3d\":case\"hbar\":case\"hbar3d\":case\"vbullet\":case\"hbullet\":case\"area\":case\"area3d\":case\"gauge\":case\"vfunnel\":case\"hfunnel\":case\"venn\":N.A0=g[X].A0,N.AE=g[X].AE,N.GT=g[X].GT,N.HS=g[X].HS;break;case\"scatter\":case\"hscatter\":case\"bubble\":case\"hbubble\":N.A0=\"-1\"!==g[X].A2.A0?g[X].A2.A0:g[X].A0,N.AE=\"-1\"!==g[X].A2.AE?g[X].A2.AE:g[X].AE,N.GT=\"\"!==g[X].A2.GT?g[X].A2.GT:g[X].GT,N.HS=\"\"!==g[X].A2.HS?g[X].A2.HS:g[X].HS;break;default:N.A0=g[X].B7,N.AE=g[X].B7}\"line\"!==N.DP&&\"area\"!==N.DP||(N.B7=N.A0,N.B1=2),R&&N.append(g[X].A2.o),N.o[\"line-style\"]=\"solid\",N.o.type=N.DP,N.append(g[X].o[\"legend-marker\"]),R&&(N.o.type=N.DP),N.D[\"show-marker\"]=!0,N.D[\"show-line\"]=!1,null!==ZC._n_(t=N.o[\"show-line\"])&&(N.D[\"show-line\"]=ZC._b_(t)),null!==ZC._n_(t=L.o[\"show-line\"])&&(N.D[\"show-line\"]=ZC._b_(t)),null!==ZC._n_(t=L.o[\"show-marker\"])&&(N.o.visible=ZC._b_(t)),-1!==ZC.AV([\"default\",\"square\"],P)&&null!==ZC._n_(t=N.o[ZC._[21]])&&(null===ZC._n_(N.o[ZC._[19]])&&(N.o[ZC._[19]]=2*ZC._i_(t)),null===ZC._n_(N.o[ZC._[20]])&&(N.o[ZC._[20]]=2*ZC._i_(t))),N.K=d.K+\"-marker_\"+X,N.Z=N.C6=d.Z,N.iX=L.iX-y*L.DH+(y-1)*L.DH/2+L.DH/2,N.iY=L.iY+(L.F-L.DH)/2+L.DH/2,N.parse(),d.D[\"highlight-legend\"]===r&&(N.append({size:N.AI+1,width:N.I+2,height:N.F+2}),g[X]&&g[X].R[e]&&g[X].R[e].GI&&N.append({A0:g[X].R[e].GI.A0,AE:g[X].R[e].GI.AE}),null!==ZC._n_(d.o.marker)&&N.append(d.o.marker[\"highlight-state\"]),N.parse()),\"line\"===N.DP?(N.o.points=[[N.iX-1.75*N.AI,N.iY],[N.iX+1.75*N.AI,N.iY]],N.parse()):\"area\"===N.DP&&(N.o.points=[[N.iX-1.75*N.AI,N.iY+N.AI],[N.iX+1.75*N.AI,N.iY+N.AI],[N.iX+1*N.AI,N.iY-N.AI/2],[N.iX,N.iY],[N.iX-1.25*N.AI,N.iY-N.AI],[N.iX-1.75*N.AI,N.iY+N.AI]],N.parse());var H=N.iX+N.BJ,O=N.iY+N.BH;if(-1!==ZC.AV([\"default\",\"square\"],P)&&(N.iX-=N.I/2,N.iY-=N.F/2),d.A.D[\"plot\"+X+\".visible\"]&&\"off\"!==g[X].o[\"legend-status\"]||(N.C5/=4),L.AM&&N.D[\"show-line\"]){var k=ZC.Q.E8(d.Z,d.A.G.AC),T=new D0(d);T.Z=d.Z,T.copy(g[X]),T.o[\"line-style\"]=d.A2.GD,T.append(g[X].o),T.append(d.A2.o),T.append(g[X].o[\"legend-item\"]),T.append(g[X].o[\"legend-marker\"]),T.parse(),d.A.D[\"plot\"+X+\".visible\"]||(T.C5=.25);var Q=[],z=N.AM?2:1;s=\"box\"===N.DP?N.I/2:N.AI,Q.push([H-z*s-(T.B1>1?1:0),O-(T.B1>1?.5:0)]),Q.push([H+z*s,O-(T.B1>1?.5:0)]),T.CY=!0,ZC.CR.paint(k,T,Q)}X===d.NG&&(N.iY=d.D[\"dragged-y\"]-d.D[\"dragged-offset-y\"]/2),N.AM&&L.AM&&N.paint(),d.QE.push(N);var J=!0;if(null!==ZC._n_(t=d.BR.o.toggle)&&(J=ZC._b_(t)),d.D[\"item.toggle\"]=J,(L.AM||N.AM)&&-1===ZC.AV(d.A.G.KX,ZC._[41])){var S=N.BJ+(\"box\"===N.DP?N.iX+N.I/2:N.iX),V=N.BH+(\"box\"===N.DP?N.iY+N.F/2:N.iY);s=\"box\"===N.DP?N.I/2:N.AI,C=\"box\"===N.DP?N.F/2:N.AI;var U=(N.D[\"show-line\"]?2:1)*s;ZC.AK(L.K+\"-area\")||(N.AM&&\"disabled\"!==d.Q2&&\"disabled\"!==N.o[ZC._[54]]&&(ZC.AK(N.K+\"-area\")||ZC.Q.I5({cls:d.K+\"-marker-area zc-legend-marker-area zc-abs\",id:N.K+\"-area\",wh:2*U+\"/\"+2*C,tl:V-C+\"/\"+(S-U),opacity:0,background:\"#fff\",cursor:N.IZ,p:f,zidx:1})),L.AM&&\"disabled\"!==d.RC&&\"disabled\"!==L.o[ZC._[54]]&&(ZC.AK(L.K+\"-area\")||ZC.Q.I5({cls:d.K+\"-item-area zc-legend-item-area zc-abs\",id:L.K+\"-area\",wh:L.I+\"/\"+L.F,tl:L.iY+L.BH+\"/\"+(L.iX+L.BJ),opacity:0,background:\"#fff\",cursor:L.IZ,p:f,zidx:1})))}}if(d.DC&&!d.NF&&(d.DC.paint(),ZC.AK(d.K+\"-scroll-c\").style.display=\"block\"),d.DC&&d.NF&&(ZC.AK(d.K+\"-scroll-c\").style.display=\"none\"),d.D2.enabled&&!d.NF){var W=new DR(d);W.Z=W.C6=d.Z,W.K=d.K+\"-page-status\",W.AR=ZC.HN[\"legend-pagination\"].replace(\"%page%\",d.D2.page).replace(\"%pages%\",d.D2.pages),W.append(d.o[\"page-status\"]),W.parse(),d.I1?ee[ZC._[0]]:$[ZC._[0]],Z.append(d.D2.page>1?d.o[\"page-on\"]:d.o[\"page-off\"]),A=d.iX+d.I/2-W.I/2-6,c=W.iY+W.F/2,Z.parse(),Z.AI=ZC.BQ(Z.AI,8),_=ZC._i_(.75*Z.AI),Z.E=[[A,c-_],[A,c+_],[A-Z.AI,c],[A,c-_]],Z.parse(),Z.AM&&Z.paint(),(u=new DU(d)).Z=u.C6=d.Z,u.K=d.K+\"-page-next\",u.A0=u.AE=d.D2.page1&&ZC.Q.I5({cls:d.K+\"-page-area zc-legend-page-area zc-abs\",id:d.K+\"-page-prev-area\",wh:Z.AI+\"/\"+2*Z.AI,tl:ZC._i_(c+Z.BH-Z.AI)+\"/\"+ZC._i_(A+Z.BJ-Z.AI),opacity:0,p:f,zidx:1}),d.D2.page1)){d.A.A.D[\"graph-\"+d.A.K+\"-legend-info\"]=null;var t=ZC.Q.MK(e),i=ZC.A4(\"#\"+d.A.A.K+\"-top\").offset();d.P5=t[0]-i.left-d.FQ.iX,d.A0O=t[1]-i.top-d.FQ.iY,d.oldcursor=document.body.style.cursor,document.body.style.cursor=\"move\",ZC.A4(document.body).bind(ZC.Q.BX(ZC._[48]),d.ZR),ZC.A4(document.body).bind(ZC.Q.BX(ZC._[49]),d.A1A)}},d.ZR=function(e){var t=ZC.Q.MK(e),i=ZC.A4(\"#\"+d.A.A.K+\"-top\").offset(),a=t[0]-i.left-d.P5,n=t[1]-i.top-d.A0O;if(d.SF?(a=ZC.BQ(a,d.G.iX+2),a=ZC.CX(a,d.G.iX+d.G.I-d.I-2),n=ZC.BQ(n,d.G.iY+2),n=ZC.CX(n,d.G.iY+d.G.F-d.F-4)):(a=ZC.BQ(a,d.A.iX+2),a=ZC.CX(a,d.A.iX+d.A.I-d.I-2),n=ZC.BQ(n,d.A.iY+2),n=ZC.CX(n,d.A.iY+d.A.F-d.F-4)),d.SF||(a-=d.A.iX,n-=d.A.iY),d.o.x=a,d.o.y=n,d.o.position=null,d.clear(!0),d.parse(),d.paint(),d.FQ){var l=d.SF?d.A.A:d.A;d.A.A.D[\"legend\"+d.A.L+\"-xy-ratio\"]=[a/l.I,n/(l.F-d.FQ.F)]}},d.A1A=function(){ZC.move=!1,document.body.style.cursor=d.oldcursor,delete d.oldcursor,ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[48]),d.ZR),ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[49]),d.A1A),d.Y6=[],d.clear(!1),d.parse(),d.paint(),d.VF()},d.Z3=function(e){d.D[\"default-width\"]=null,-1!==(e.targetid||e.target.id).indexOf(\"-page-next-area\")?(d.D2.min+=d.EF,d.D2.max+=d.EF,d.D2.page+=1):(d.D2.min-=d.EF,d.D2.max-=d.EF,d.D2.page-=1),(!(t=d.A.A.D[\"graph-\"+d.A.K+\"-legend-info\"])||null===ZC._n_(t.x)&&null===ZC._n_(t.y))&&(d.iX=null,d.iY=null),d.VF(),d.A.JW()},d.YE=function(e){var t=d.NF?\"legendmaximize\":\"legendminimize\";e&&(d.A.A.D[\"legend-toggling\"]=1),zingchart.exec(d.A.G.K,t,{graphid:d.A.L}),e&&(d.A.A.D[\"legend-toggling\"]=0),e&&(d.A.A.D[\"g\"+d.A.L+\"-legend-collapsed\"]=\"legendminimize\"===t)},d.MX=function(e){ZC.move=!0;var t=ZC.Q.MK(e),i=ZC.A4(\"#\"+d.A.A.K+\"-top\").offset(),a=t[0]-i.left,n=t[1]-i.top;d.D[\"dragged-x\"]=a,d.D[\"dragged-y\"]=n,d.VF(),d.clear(!1),d.parse(),d.paint()},d.WJ=function(e){if(e.preventDefault(),d.G.hideCM(),d.IZ=document.body.style.cursor,document.body.style.cursor=\"move\",ZC.mobile||!(e.which>1)){var t=new RegExp(\"-legend-item_([0-9]+)-area\",\"g\").exec(e.target.id);t&&(d.D[\"dragged-offset-y\"]=0,d.D[\"calculate-y\"]=!0,d.D[\"dragged-x\"]=0,d.D[\"dragged-y\"]=0,d.NG=ZC._i_(t[1]),d.iDragPos=ZC.AV(d.A.AZ.MC,d.NG),ZC.A4(document.body).bind(ZC.Q.BX(ZC._[48]),d.MX),ZC.A4(document.body).bind(ZC.Q.BX(ZC._[49]),d.XQ))}},d.XQ=function(){var e=d.NG,t=d.iDragPos;if(d.NG=-1,d.iDragPos=-1,d.D[\"calculate-y\"]=!1,document.body.style.cursor=d.IZ,ZC.move||(e=-1,t=-1),ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[48]),d.MX),ZC.A4(document.body).unbind(ZC.Q.BX(ZC._[49]),d.XQ),ZC.move&&-1!==e){for(var i=d.A.AZ.A5,a=d.A.AZ.MC,n=0,l=i.length;nd.QE[s].iY&&(o=s);for(i[e].o[\"legend-item\"].order=-1===o?.5:i[a[o]].o[\"legend-item\"].order+.5,s=0,C=d.QE.length;st?i[s].o[\"legend-item\"].orderr&&i[s].o[\"legend-item\"].order--:i[s].o[\"legend-item\"].order>i[e].o[\"legend-item\"].order&&i[s].o[\"legend-item\"].ordert?Math.floor(i[e].o[\"legend-item\"].order):Math.ceil(i[e].o[\"legend-item\"].order),s=0,C=d.QE.length;s=r.left&&ZC.DW[0]<=r.left+zingchart.I4[a].I*l[0]&&ZC.DW[1]>=r.top&&ZC.DW[1]<=r.top+zingchart.I4[a].F*l[1]&&(e=!1)}else window.clearInterval(t.Z7);e&&(c(),KB.GUIDES&&KB.GUIDES[i]&&KB.GUIDES[i].active&&(ZC.AP.C0(\"guide_mouseout\",t.G,t.G.FG()),KB.GUIDES[i].active=!1))},500)),t.QO=function(p){if(zingchart.GUIDE_EV=p,!p.target.id||-1===p.target.id.indexOf(\"-menu-item-\")){var u,h,_,d,f,g,v,B,m,b,D,E,K,F,X,I,x,y,Y,w,G,M,L,P,N;ZC.MAX,ZC.MAX;for(u=0;u0){t.SI=!0;for(var $=!1,ee=0,te=R.length;ee\"),null!==ZC._n_(B.o[\"footer-text\"])&&\"\"===se&&(se=v.F0(B.o[\"footer-text\"],D)+\"
\")),B.AM&&\"\"!==B.AR&&(ZC._b_(B.o[\"single-text\"])?Be.push(v.F0(B.AR,D)):Be.push(v.F0(B.AR,D)+\"
\"))),B.D.pos=le.length,B.D[\"node-value\"]=v.AD,B.D[\"marker-x\"]=F,B.D[\"marker-y\"]=X,B.D[\"guide-style\"]=v.ZV(),Re){default:null===ZC._n_(B.o.x)?fe.CP?v.iY<=f.iY+f.F/2?(B.iY=X-B.F-M,B.ER=\"bottom\"):(B.iY=X+M,B.ER=\"top\"):v.iX>=f.iX+f.I/2?(B.iX=F-B.I-M,B.ER=\"right\"):(B.iX=F+M,B.ER=\"left\"):B.iX-=f.iX,null===ZC._n_(B.o.y)?fe.CP?(B.iX=F-B.I/2,B.iXf.iX+f.I&&(B.iX=f.iX+f.I-B.I)):(B.iY=X-B.F/2,B.iYf.iY+f.F&&(B.iY=f.iY+f.F-B.F)):B.iY-=f.iY,B.DL=[F,X];break;case\"left\":B.iX=F-B.I-M,B.iY=X-B.F/2,B.DL=[F,X];break;case\"right\":B.iX=F+M,B.iY=X-B.F/2,B.DL=[F,X];break;case\"top\":fe.CP?(B.iX=f.iX+f.I-B.I,B.iY=X-B.F/2,B.ER=\"left\",B.DL=[f.iX+f.I-B.I-M,X]):(B.iX=F-B.I/2,B.iY=f.iY,B.ER=\"bottom\",B.DL=[F,B.iY+B.F+M]);break;case\"node-top\":fe.CP?(B.iX=F+2*M,B.iY=X-B.F/2,B.ER=\"left\",B.DL=[F+M,X]):(B.iX=F-B.I/2,B.iY=X-B.F-2*M,B.ER=\"bottom\",B.DL=[F,X-M]);break;case\"bottom\":fe.CP?(B.iX=f.iX,B.iY=X-B.F/2,B.ER=\"right\",B.DL=[f.iX+B.I+M,X]):(B.iX=F-B.I/2,B.iY=f.iY+f.F-B.F,B.ER=\"top\",B.DL=[F,B.iY-M])}ne.push({plotindex:v.A.L,nodeindex:v.L,keyvalue:v.BU||fe.X[v.L],value:v.AD,text:B.AR,x:B.iX,y:B.iY,refx:F,refy:X}),-1===ZC.AV(re,B.AR)&&(s[B]=v,re.push(B.AR)),fe.CP?B.D.diff=_e||-1!==de?ZC._a_(X-d):-1:B.D.diff=_e||-1!==de?ZC._a_(F-_):-1,B.AM&&le.push(B),r[ee][u]=B,ie=!0}}if(!v)continue}if(R[ee].CW&&ZC.DS(v.iX,f.iX-1,f.iX+f.I+1)){if((b=new DR(fe)).Z=b.C6=a,b.K=R[ee].K+\"-guide-scale-x-label-\"+u,b.GN=R[ee].A.K+\"-guide-label \"+R[ee].K+\"-guide-label zc-guide-label\",b.A0=b.AE=fe.B7,b.C1=R[ee].AJ[\"3d\"]?\"#999\":\"#fff\",b.append(R[ee].CW.o[\"scale-label\"]),b.append(R[ee].CW.o[fe.BF+\"-label\"]),b.append(R[ee].AZ.A5[u].o[\"scale-label\"]),b.KV=!0,b.D.nodeidx=v.L,D=ZC.AP.P1(b.o),null===ZC._n_(D[ZC._[12]])){var He=Math.floor(ZC.H3(null!==v.BU?v.BU:v.L,10));D[ZC._[12]]=He<0?1-He:0}if(b.F0=function(e){e=fe.F0(e,g,fe.ED&&R[ee].AZ.A5[u].ED?R[ee].AZ.A5[u]:null,D,!0);var t=R[ee].AZ.A5[u].KG;if(v&&t)for(var i in t){var a;a=t[i]instanceof Array?ZC._c_(t[i][v.L],\"\"):ZC._c_(t[i],\"\"),e=e.replace(\"%data-\"+i,a,\"g\")}return e},b.parse(),M=null!==ZC._n_(b.o.distance)?ZC._i_(b.o.distance):6,b.E4&&b.E4.length&&(b.J0=function(e){return e=v?v.F0(e,D):e.replace(/(%i)|(%node-index)/g,g)},b.DB()&&b.parse()),b.I6&&v&&(b.GL(b,b,null,v.LG(null,!1),b.N7),b.parse()),ue[fe.BF]=b.AR,Xe=ZC._b_(b.o[\"callout-position\"]),Ie=b.o.x,xe=b.o.y,\"opposite\"!==fe.B9?fe.CP?(ye=\"right\",we=fe.D.iX-b.I-M,Ye=[fe.D.iX,K],Ge=K-b.F/2):(ye=\"top\",we=E-b.I/2,Ye=[E,fe.D.iY],Ge=fe.D.iY+M):fe.CP?(ye=\"left\",we=fe.D.iX+M,Ye=[fe.D.iX,K],Ge=K-b.F/2):(ye=\"bottom\",we=E-b.I/2,Ye=[E,fe.D.iY],Ge=fe.D.iY-b.F-M),Xe||(b.ER=ye),Ie||(b.iX=we),Xe||Ie||xe||(b.DL=Ye),xe||(b.iY=Ge),b.AM&&fe.AM&&\"\"!==b.AR){var Oe=!1;if(he.length)for(var ke=0;ke0&&Me<=1&&(R[ee].CW.B1=ZC._i_(Me*fe.A9)),fe.CP?Ce.push([_e||-1!==de?ZC._a_(K-d):-1,[null,[fe.D.iX,K],[R[ee].P.iX+(\"opposite\"===fe.B9?0:R[ee].P.I),K]]]):Ce.push([_e||-1!==de?ZC._a_(E-_):-1,[null,[E,fe.D.iY],[E,R[ee].P.iY+(\"opposite\"===fe.B9?R[ee].P.F:0)]]])}if(ge=R[ee].BK(R[ee].AZ.A5[u].BT(\"v\")[0]),-1===ZC.AV(ce,ge.BF)&&R[ee].HB&&(\"xy\"===R[ee].AJ.layout&&ZC.DS(d,ge.iY,ge.iY+ge.F)||\"yx\"===R[ee].AJ.layout&&ZC.DS(d,ge.iX,ge.iX+ge.I))){var Te=\"single\";R[ee].HB.o.type&&\"multiple\"===R[ee].HB.o.type&&(Te=\"multiple\"),\"multiple\"===Te&&null!==ZC._n_(pe[u])&&(ge.CP?_=pe[u].x:d=pe[u].y),(b=new DR(ge)).Z=b.C6=a,b.K=R[ee].K+\"-guide-scale-y-label-\"+u,b.GN=R[ee].A.K+\"-guide-label \"+R[ee].K+\"-guide-label zc-guide-label\";var Qe=ge.B7;\"multiple\"===Te&&(Qe=R[ee].AZ.A5[u].B7),b.A0=b.AE=Qe,b.C1=R[ee].AJ[\"3d\"]&&\"multiple\"!==Te?\"#999\":\"#fff\",b.append(R[ee].HB.o[\"scale-label\"]),b.append(R[ee].HB.o[ge.BF+\"-label\"]),b.KV=!0;var ze=ge.CP?ge.KZ(_,!0):ge.KZ(d,!0),Je=ze;if(D=ge.LV(),ZC._cp_(ZC.AP.P1(b.o,ge.o),D),null===ZC._n_(D[ZC._[12]])){He=Math.floor(ZC.H3(ze,10));D[ZC._[12]]=He<=0?1-He:0}ze=ge.FB(0,ze,D),b.o.text=ze,b.parse(),M=null!==ZC._n_(b.o.distance)?ZC._i_(b.o.distance):6,b.E4&&b.E4.length&&(b.J0=function(e){return e=e.replace(/(%v)|(%scale-value)/g,Je).replace(/(%t)|(%scale-text)/g,ze).replace(/(%coord)/,ge.CP?_:d)},b.DB()&&b.parse()),b.I6&&v&&(be={value:Je,text:ze,coord:ge.CP?_:d},b.GL(b,b,null,be,b.N7),b.parse()),ue[ge.BF]=b.AR,Xe=ZC._b_(b.o[\"callout-position\"]),Ie=b.o.x,xe=b.o.y,\"opposite\"!==ge.B9?ge.CP?(ye=\"top\",we=_-b.I/2,Ge=ge.D.iY+M,Ye=[_,ge.D.iY]):(ye=\"right\",we=ge.D.iX-b.I-M,Ge=d-b.F/2,Ye=[ge.D.iX,d]):ge.CP?(ye=\"bottom\",we=_-b.I/2,Ge=ge.D.iY-b.F-M,Ye=[_,ge.D.iY]):(ye=\"left\",we=ge.D.iX+M,Ge=d-b.F/2,Ye=[ge.D.iX,d]),Xe||(b.ER=ye),Ie||(b.iX=we),Xe||Ie||xe||(b.DL=Ye),xe||(b.iY=Ge),b.AM&&ge.AM&&(b.D.diff=-1,Ze.push(b),\"multiple\"===Te&&null!==ZC._n_(pe[u])||ce.push(ge.BF),o[ee][u]=b,ie=!0),-1!==String(R[ee].HB.o[ZC._[4]]).indexOf(\"%\")&&(Me=ZC.IQ(R[ee].HB.o[ZC._[4]]))>0&&Me<=1&&(R[ee].HB.B1=ZC._i_(Me*ge.A9)),ge.CP?Ae.push(null,[_,ge.D.iY],[_,R[ee].P.iY+(\"opposite\"===ge.B9?R[ee].P.F:0)]):Ae.push(null,[ge.D.iX,d],[R[ee].P.iX+(\"opposite\"===ge.B9?0:R[ee].P.I),d])}}if(!_e&&Ze.length>1)for(var Se=Ze[Ze.length-1],Ve=ZC._i_((Se.FM+Se.FT+Se.EO+Se.FN)/4),Ue=Ze.length-1;Ue>=0;Ue--)for(var We=Ue;We>=0;We--)Ue!==We&&ZC.AO._boxoverlap2_(Ze[Ue],Ze[We],-Ve)&&(Ze[We].C5=.3,Ze[We].VL=.1);for(m=ZC.MAX,u=0,h=le.length;u=0&&(m=ZC.CX(le[u].D.diff,m));-1!==de&&(m=ZC.BQ(m,de));var je=!1,qe=1,$e=!1;le[0]&&($e=ZC._b_(le[0].o[\"single-text\"]),le[0].o[\"table-columns\"]&&ZC._b_(le[0].o[\"html-mode\"])&&(je=!0,qe=ZC._i_(le[0].o[\"table-columns\"]||\"1\"),me+='')),!ve&&le.length>0&&(\"asc\"!==le[0].o[\"sort-by-value\"]&&\"desc\"!==le[0].o[\"sort-by-value\"]||le.sort(function(e,t){return(e.D[\"node-value\"]-t.D[\"node-value\"])*(\"asc\"===le[0].o[\"sort-by-value\"]?1:-1)}));var et=0;for(P=0,N=le.length;P\"),me+=\"\",et%qe==qe-1&&(me+=\"\"),et++):me+=Be[le[P].D.pos],je||!$e));P++);if(je&&(et%qe!=qe-1&&(me+=\"\"),me+=\"
\"+Be[P]+\"
\"),\"\"!==se&&(me+=se),!ve&&le.length>0&&(_=F=E,d=X=K,\"\"!==me&&(le[0].o.text=je||$e?me:me.substring(0,me.length-4),le[0].parse()),M=null!==ZC._n_(B.o.distance)?ZC._i_(B.o.distance):6,null===ZC._n_(B.o.x)?fe.CP?_=f.iX+f.I/2?le[0].iX=F-le[0].I-M:le[0].iX=F+M:le[0].iX-=f.iX,null===ZC._n_(B.o.y)?fe.CP?ae&&ae.iY>=f.iY+f.F/2?le[0].iY=X-le[0].F-M:le[0].iY=X+M:d0){var at=[];for(m=ZC.MAX,I=0,x=Ce.length;I=0&&(m=ZC.CX(Ce[I][0],m));for(-1!==de&&(m=ZC.BQ(m,de)),I=0,x=Ce.length;I1&&at[1]&&(nt=at[1][0]||-1),R[ee].CW.oMask||(R[ee].CW.oMask=new I0(R[ee]),R[ee].CW.oMask.append({\"background-color\":\"#fff\",alpha:.85}),R[ee].CW.oMask.append(R[ee].CW.o.mask),R[ee].CW.oMask.Z=a,R[ee].CW.oMask.parse()),R[ee].CW.oMask.iX=nt,R[ee].CW.oMask.iY=R[ee].P.iY,R[ee].CW.oMask.I=Math.max(2,R[ee].P.iX+R[ee].P.I-nt+2),R[ee].CW.oMask.F=R[ee].P.F,R[ee].CW.oMask.paint()}if(R[ee].AJ[\"3d\"])for(R[ee].NH(),I=0,x=at.length;I0){if(R[ee].AJ[\"3d\"])for(R[ee].NH(),I=0,x=Ae.length;I=0;u--)ZC.DS(le[u].DL[0],f.iX-5,f.iX+f.I+5)&&ZC.DS(le[u].DL[1],f.iY-5,f.iY+f.F+5)||le.splice(u,1);if(le.length>1)for(var lt=!0;lt;)for(lt=!1,u=0;ule[u+1].iX||!ge.CP&&le[u].iY>le[u+1].iY)){var rt=le[u];le[u]=le[u+1],le[u+1]=rt,lt=!0}if(le.length>0){var ot=[],st=[];for(u=0;uf.iX+f.I)for(Zt=le[u+1].iX-(f.iX+f.I-le[u+1].I),Ct=0,At=le.length;Ct=f.iX?le[Ct].iX-=Zt:(le[Ct].iX=f.iX,Ct>0&&(le[u+1].D[\"marker-y\"]f.iY+f.F)for(Zt=le[u+1].iY-(f.iY+f.F-le[u+1].F),Ct=0,At=le.length;Ct=f.iY?le[Ct].iY-=Zt:(le[Ct].iY=f.iY,Ct>0&&(le[u+1].D[\"marker-x\"]=0&&(m=ZC.CX(le[P].D.diff,m));for(-1!==de&&(m=ZC.BQ(m,de)),w=0,P=0,N=le.length;P1&&vt.paint()}}}(L=R[ee].I1()).items=ne,L.guide={x:F,y:X},L.ev=p,L[\"scale-label\"]=ue,ZC.AP.C0(\"guide_mousemove\",t.G,L),R[ee].PU(!0)}else(L={}).guide={x:F,y:X},L.ev=p,ZC.AP.C0(\"guide_mousemove\",t.G,L)}}}}}},t.zc_guide_touchend=function(){0!==zingchart.DEV.GUIDETIMEOUT&&window.setTimeout(function(){c()},ZC._i_(zingchart.DEV.GUIDETIMEOUT))},ZC.A4(document.body).bind(\"mousemove touchstart touchmove\",t.QO),ZC.A4(document.body).bind(\"touchend\",t.zc_guide_touchend)}}KB.clearGuide=function(e){var t=zingchart.getLoader(e);if(t){zingchart.GUIDE_EV=null;var i=ZC.AK(e+\"-guide-c\"),a=ZC.A4(i).width(),n=ZC.A4(i).height();ZC.A4(\".\"+e+\"-guide-label\").remove(),ZC.Q.IP(i,t.AC,0,0,a,n),ZC.A4(\"#\"+e+\"-defs\").children().each(function(){this.id&&-1!==this.id.indexOf(\"-guide-label-\")&&ZC.Q.ET(this.id)})}},zingchart.extendAPI(\"resetguide\",function(e,t){\"string\"==typeof(t=t||{})&&(t=JSON.parse(t)),KB.GUIDES[e]=KB.GUIDES[e]||{},KB.GUIDES[e].blocked=!1,KB.clearGuide(e)}),zingchart.extendAPI(\"setguide\",function(e,t){\"string\"==typeof(t=t||{})&&(t=JSON.parse(t));var i,a,n=zingchart.getLoader(e),l=n.C7(t[ZC._[3]]),r=l.BK(ZC._[50]);\"xy\"===l.AJ.layout?(i=t.x||r.AX(t.keyvalue),a=l.iY+l.F/2):(i=l.iX+l.I/2,a=t.y||r.AX(t.keyvalue));var o={_pageX_:i,_pageY_:a,type:ZC.mobile?\"touchstart\":ZC._[48],target:{id:e+\"-img\"}};KB.GUIDES=KB.GUIDES||{},KB.GUIDES[e]=KB.GUIDES[e]||{},KB.GUIDES[e].blocked=!0,KB.clearGuide(e),o.fromAPI=!0,n.D4.QO(o)});class AAV extends ZCClass{constructor(e,t){var i=this;i.o=null,i.C=e,i.OA=t}parse(){var e,t=this;t.o=t.C.o;var i,a,n,l,r,o,s,C,A,Z=t.OA,c=\"\\r\\n\",p=\",\",u=!1,h=null,_=null,d=null,f=null,g=null,v=!1,B=!1,m=null,b={};if(null!==ZC._n_(e=t.o[\"html5-csv\"])&&(b=e),null!==ZC._n_(e=t.o.csv)&&(b=e),null!==ZC._n_(e=b.separator)&&(p=e),null!==ZC._n_(e=b.mirrored)&&(u=ZC._b_(e)),null!==ZC._n_(e=b.title)&&(h=ZC._b_(e)),null!==ZC._n_(e=b[\"string-values\"])&&(B=ZC._b_(e)),u?(null!==ZC._n_(e=b[\"horizontal-labels\"])&&(d=ZC._b_(e)),null!==ZC._n_(e=b[\"vertical-labels\"])&&(_=ZC._b_(e))):(null!==ZC._n_(e=b[\"horizontal-labels\"])&&(_=ZC._b_(e)),null!==ZC._n_(e=b[\"vertical-labels\"])&&(d=ZC._b_(e))),null!==ZC._n_(e=b[\"smart-scales\"])&&(f=ZC._b_(e)),null!==ZC._n_(e=b[\"separate-scales\"])&&(g=ZC._b_(e)),null!==ZC._n_(e=b[\"keyval-format\"])&&(v=ZC._b_(e)),null!==ZC._n_(e=b.columns)&&(m=e),null!==ZC._n_(m)&&m.length>0){i=[],null!==ZC._n_(e=b[\"row-separator\"])?c=e:Z.split(/\\n/).length>0?c=\"\\n\":Z.split(/\\r/).length>0&&(c=\"\\r\");var D=Z.split(c),E=0;for(l=0,r=D.length;l1&&1===x[0].length?(null===ZC._n_(t.o.title)?t.o.title={text:x[0][0]}:null===ZC._n_(t.o.title.text)&&(t.o.title.text=x[0][0]),h=!0):h=!1),h&&y++,u){for(i=[],h&&i.push(x[0]),o=y,s=x.length;o.75}_&&(G=x[y],y++);var L=[];if(null===ZC._n_(d))if(_&&-1!==G[0].indexOf(\"\\\\\"))d=!0;else{var P=\"\";for(o=y,s=x.length;o.75}if(d){for(o=y,s=x.length;o0)&&i.push(a.BN[n]);return i}BK(e){for(var t=this,i=0,a=t.BN.length;i0?n[0]:\"\",r=n.length>1?n[1]:\"\",o=n.length>0?n[2]||n[0]:\"\",s=n.length>1?n[3]||n[1]:\"\";\"dynamic\"===e.P.o[ZC._[57]]&&(l=\"dynamic\"),\"dynamic\"===e.P.o[ZC._[58]]&&(r=\"dynamic\"),\"dynamic\"===e.P.o[ZC._[59]]&&(o=\"dynamic\"),\"dynamic\"===e.P.o[ZC._[60]]&&(s=\"dynamic\"),e.P.o.margin=[l,r,o,s].join(\" \")}if(e.D[\"plotarea-margins\"]?e.P.o.margin=e.D[\"plotarea-margin\"]:(e.D[\"plotarea-margins\"]=!0,e.D[\"plotarea-margin\"]=e.P.o.margin,e.D[\"plotarea-margin-top\"]=e.P.o[ZC._[57]],e.D[\"plotarea-margin-right\"]=e.P.o[ZC._[58]],e.D[\"plotarea-margin-bottom\"]=e.P.o[ZC._[59]],e.D[\"plotarea-margin-left\"]=e.P.o[ZC._[60]]),typeof e.D[\"plotarea-p-x\"]!==ZC._[31]&&(e.P.D[\"p-x\"]=e.D[\"plotarea-p-x\"],e.P.D[\"p-y\"]=e.D[\"plotarea-p-y\"],e.P.D[\"p-width\"]=e.D[\"plotarea-p-width\"],e.P.D[\"p-height\"]=e.D[\"plotarea-p-height\"]),null!==ZC._n_(e.P.o[\"adjust-layout\"])&&ZC._b_(e.P.o[\"adjust-layout\"])&&(e.P.o.margin=\"dynamic\"),e.P.parse(),e.AJ[\"3d\"]&&!e.EY.true3d){var C=ZC._a_(ZC._i_(e.EY.depth*ZC.EN(e.EY.angle)));e.P.iY+=C,e.P.F-=C,e.P.I-=ZC._i_(e.EY.depth*ZC.EE(e.EY.angle))}if(typeof e.D[\"plotarea-p-x\"]!==ZC._[31])for(var A=0,Z=e.BN.length;A||
|\\n/).length),\"top\"===c||\"bottom\"===c){if(u=ZC.BQ(u,.465*h.DH+1.025*ZC._a_(ZC.EN(h.AA))*ZC.BQ(h.I,h.F)),A=h.I,Z=u,r&&\"k\"===p.AF){o[p.BF]||(o[p.BF]=[]);var d=null===ZC._n_(h.o[\"auto-align\"])||ZC._b_(h.o[\"auto-align\"]),f=.465*h.DH+1.025*ZC._a_(ZC.EE(h.AA))*ZC.BQ(h.I,h.F);\"default\"===p.B9?(d&&(ZC.DS(ZC._ang_(h.AA),90,180)||ZC.DS(ZC._ang_(h.AA),270,360))&&o[p.BF].push(f),d||o[p.BF].push(f/2)):(d&&(ZC.DS(ZC._ang_(h.AA),0,90)||ZC.DS(ZC._ang_(h.AA),180,270))&&o[p.BF].push(f),d||o[p.BF].push(f/2))}}else A=u=ZC.BQ(u,.465*h.DH+1.025*ZC._a_(ZC.EE(h.AA))*ZC.BQ(h.I,h.F)),Z=h.F;var g=new DR(p);g.copy(p.M),g.AR=p.M.AR,g.parse(),\"\"!==g.AR&&g.AM&&(Z+=g.AA%180==0?g.F:g.I,A+=g.AA%180==0?g.I:g.F)}if(a.o.plotarea||(a.o.plotarea={}),(\"dynamic\"===a.o.plotarea[\"margin-\"+c]||a.P.D[\"d-margin-\"+c])&&(a.P.D[\"d-margin-\"+c]=!1,l[c]=!0,a.o.plotarea[\"margin-\"+c]=\"0\"),l[c]){a.o.plotarea[\"margin-\"+c]=ZC._f_(a.o.plotarea[\"margin-\"+c]||\"0\"),a.D[p.BF+\"-distance\"]=a.o.plotarea[\"margin-\"+c];var v=(\"top\"===c||\"bottom\"===c?ZC._i_(Z):ZC._i_(A))+10+(a.AJ[\"3d\"]?20:0);if(p.VV?a.o.plotarea[\"margin-\"+c]=ZC.BQ(a.o.plotarea[\"margin-\"+c],v):a.o.plotarea[\"margin-\"+c]+=v,null!==ZC._n_(a.o.plotarea[\"margin-\"+c+\"-offset\"])&&(a.o.plotarea[\"margin-\"+c]+=ZC._i_(a.o.plotarea[\"margin-\"+c+\"-offset\"])),!a.A.TZ){var B={},m=a.A.DE.watermark;a.A.B8.load(B,\"loader.gui.watermark\"),m&&ZC._cp_(m,B),1===a.A.o[ZC._[16]].length&&a.A.o[ZC._[16]][0].gui&&(e=a.A.o[ZC._[16]][0].gui.watermark)&&ZC._cp_(e,B);var b=B.position||\"br\";-1===ZC.AV([\"tl\",\"tr\",\"br\",\"bl\"],b)&&(b=\"br\"),(\"bottom\"!==c||\"bl\"!==b&&\"br\"!==b)&&(\"top\"!==c||\"tl\"!==b&&\"tr\"!==b)||(a.o.plotarea[\"margin-\"+c]+=15)}\"bottom\"===c&&(\"xy\"===a.AJ.layout&&a.IC||\"yx\"===a.AJ.layout&&a.IH)&&(a.o.plotarea[\"margin-\"+c]+=15),\"left\"===c&&(\"xy\"===a.AJ.layout&&a.IH||\"yx\"===a.AJ.layout&&a.IC)&&(a.o.plotarea[\"margin-\"+c]+=15),a.D[\"plotarea.d-margin-\"+c]=!0}}}if(r&&l.left&&null!==ZC._n_(a.o.plotarea[ZC._[60]]))for(var D in o){var E=a.BK(D);for(t=0;t1&&(F=ZC._i_(e[1]))):K=F=ZC._i_(e)),a.P.D.tolerance=K,\"svg\"===a.G.AC?((e=ZC.AK(a.K+\"-clip-shape\"))&&e.setAttribute(\"points\",a.LU(K,\"svg\")),(e=ZC.AK(a.K+\"-clip-hover-shape\"))&&e.setAttribute(\"points\",a.LU(F,\"svg\"))):(ZC.A4(\"#\"+a.K+\" div\").each(function(){\"\"!==this.style.clip&&(this.style.clip=a.LU(K))}),(e=ZC.AK(a.K+\"-hover\"))&&\"\"!==e.style.clip&&(e.style.clip=a.LU(F)))}for(t=0,i=a.BN.length;t0)for(A.B8.palette=[],a=0;ai&&(D-=C.KR.F,m+=C.KR.F)}if(C.MZ&&C.MZ.AM&&C.MZ.o[\"adjust-layout\"]&&(v=!0,(i=C.MZ.iY+C.MZ.F/2)>m+D/2&&(D-=C.MZ.F)),C.BA&&C.BA.AM&&C.BA.o[\"adjust-layout\"]&&(v=!0,\"xy\"===C.AJ.layout?(i=C.BA.AQ.iY+C.BA.AQ.F/2)>m+D/2?D-=C.BA.AQ.F+C.BA.AQ.DN:(m=C.BA.AQ.iY+C.BA.AQ.F,D-=C.BA.AQ.F):(f=C.BA.AQ.iX+C.BA.AQ.I/2)2)Y=\"v\";else if(C.BE.F/C.BE.I>2)Y=\"h\";else{Y=Math.max(y.Left*C.F,y.Right*C.F)/Math.max(y.Top*C.I,y.Bottom*C.I)>1?\"h\":\"v\"}if(x)x[0]>=.8?I=x[1]<=.2?\"v\"===Y?\"top\":\"right\":x[1]>=.8&&\"v\"===Y?\"bottom\":\"right\":x[0]<=.2?I=x[1]<=.2?\"v\"===Y?\"top\":\"left\":x[1]>=.8&&\"v\"===Y?\"bottom\":\"left\":x[1]<=.2?I=\"top\":x[1]>=.8&&(I=\"bottom\");else Math.min(y.Top,y.Bottom)/Math.max(y.Top,y.Bottom)y.Bottom?(I=\"top\",C.BE.E6):(I=\"bottom\",C.BE.DN):y.Left>y.Right?(I=\"left\",C.BE.DT):(I=\"right\",C.BE.E5);var w=0;\"top\"===I&&(D=m+D-C.BE.F-C.BE.iY,m=C.BE.iY+C.BE.F),\"bottom\"===I&&(D-=w=D-C.BE.iY+m+C.BE.FM+C.BE.FT),\"left\"===I&&(B+=w=C.BE.iX-C.iX+C.BE.I,b-=w),\"right\"===I&&(b-=w=b-(C.BE.iX-C.iX)+C.BE.EO+C.BE.FN)}else C.BE&&C.BE.fixPlacement();v&&(C.D[\"plotarea-p-x\"]=B,C.D[\"plotarea-p-y\"]=m,C.D[\"plotarea-p-width\"]=b,C.D[\"plotarea-p-height\"]=D,C.setupPlotArea()),C.setupDynamicPlotArea(),C.AZ.parseLayout&&C.AZ.parseLayout(!0),C.BA&&C.BA.o[\"adjust-layout\"]&&(\"xy\"===C.AJ.layout?(null===ZC._n_(C.BA.JC.x)&&(C.BA.AQ.iX=C.P.iX),null===ZC._n_(C.BA.JC[ZC._[19]])&&(C.BA.AQ.I=C.P.I)):(null===ZC._n_(C.BA.JC.y)&&(C.BA.AQ.iY=C.P.iY),null===ZC._n_(C.BA.JC[ZC._[20]])&&(C.BA.AQ.F=C.P.F)));var G=0;for(a=0;a0&&\"canvas\"!==C.G.AC&&C.AZ.A5)for(var L=0,P=C.AZ.A5.length;L-1?A.load(C.A8.o,Z+\".tooltip[dynamic]\"):A.load(C.A8.o,Z+\".tooltip\"),C.A8.append(C.o.tooltip),C.A8.QD=!0,C.A8.parse(),null!==ZC._n_(e=C.o.guide)&&(C.o[\"crosshair-x\"]=e),(null!==ZC._n_(e=C.o[\"crosshair-x\"])||A.PY(\"guide\",C.AF)||A.PY(\"crosshair-x\",C.AF))&&C.AJ[ZC._[23]]&&(C.CW=new D0(C),C.CW.ON=\"crosshairx\",A.load(C.CW.o,[Z+\".guide\",Z+\".crosshair-x\"],!0,!0),C.CW.append(e),C.CW.parse(),C.D[\"guide-on\"]=!0),(null!==ZC._n_(e=C.o[\"crosshair-y\"])||A.PY(\"crosshair-y\",C.AF))&&C.AJ[ZC._[23]]&&(C.HB=new D0(C),C.HB.ON=\"crosshairy\",A.load(C.HB.o,[Z+\".guide\",Z+\".crosshair-y\"],!0,!0),C.HB.append(e),C.HB.parse(),C.D[\"guide-on\"]=!0)),C.O7(),ZC.AP.C0(\"gparse\",C.A,C.I1()),null!==ZC._n_(e=C.o.refresh)&&(C.HV={type:\"full\",interval:10,transport:\"http\",method:\"pull\",\"adjust-scale\":!1,\"max-ticks\":20,\"reset-timeout\":100,\"stop-timeout\":0,storage:!1,\"storage-size\":1e3},ZC._cp_(e,C.HV),C.V0=1),C.MI=\"parse.complete\"}O7(){}PE(){}LU(e,t,i){var a=this,n=(i=i||a.P).iX,l=i.iY,r=i.I,o=i.F;if(\"svg\"===t){if(a.AJ[\"3d\"]){var s,C=[];e=1;var A,Z,c,p,u=[],h=n-ZC.AN.E2,_=l-ZC.AN.E1;s=new CB(a,h+r/2-e,_-e,ZC.AN.FU),p=ZC._i_(s.EA[1]),s=new CB(a,h+r/2-e,_-e,0),c=ZC._i_(s.EA[1]),u.push(new CB(a,h-e,_-e,pZ?ZC.AN.FU:0),new CB(a,h+r+e,_+o+e,A>Z?ZC.AN.FU:0)),s=new CB(a,h+r/2-e,_+o+e,ZC.AN.FU),p=ZC._i_(s.EA[1]),s=new CB(a,h+r/2-e,_+o+e,0),c=ZC._i_(s.EA[1]),u.push(new CB(a,h+r+e,_+o+e,p>c?ZC.AN.FU:0),new CB(a,h-e,_+o+e,p>c?ZC.AN.FU:0)),s=new CB(a,h-e,_+o/2-e,ZC.AN.FU),A=ZC._i_(s.EA[0]),s=new CB(a,h-e,_+o/2-e,0),Z=ZC._i_(s.EA[0]),u.push(new CB(a,h-e,_+o+e,A.25;){i=!0;var a=t.LU(0,\"svg\").split(\" \");for(e=0;et.iX+t.I-t.P.E5||ZC._i_(n[1])t.iY+t.F-t.P.DN)&&(i=!1)}i||(t.EY.zoom-=.05),i&&(t.EY.zoom-=.025)}}}build(){var e,t,i,a,n,l,r,o,s=this,C=s.A.I+\"/\"+s.A.F,A=\"0/0\";if(s.autoFit(),!s.G.usc()){var Z=2,c=6;if(null!==ZC._n_(e=s.P.o[\"mask-tolerance\"])&&(e instanceof Array?(Z=c=ZC._i_(e[0]),e.length>1&&(c=ZC._i_(e[1]))):Z=c=ZC._i_(e)),\"svg\"===s.A.AC&&s.AJ.clip&&(ZC.Q.ET([s.K+\"-clip\",s.K+\"-clip-hover\",s.K+\"-clip-preview\"]),s.A.KH.appendChild(ZC.Q.XY({id:s.K+\"-clip\",path:s.LU(Z,\"svg\")})),s.A.KH.appendChild(ZC.Q.XY({id:s.K+\"-clip-hover\",path:s.LU(c,\"svg\")})),s.BA)){var p=s.AJ[\"3d\"];s.AJ[\"3d\"]=!1,s.A.KH.appendChild(ZC.Q.XY({id:s.K+\"-clip-preview\",path:s.LU(0,\"svg\",s.BA.AQ)})),s.AJ[\"3d\"]=p}var u=!s.AJ.clip,h=u?null:s.LU(Z),_=u?null:\"url(#\"+s.K+\"-clip)\",d=u?null:s.LU(c),f=u?null:\"url(#\"+s.K+\"-clip-hover)\";if(s.BA&&(n=u?null:s.LU(0,s.A.AC,s.BA.AQ),l=u?null:\"url(#\"+s.K+\"-clip-preview)\"),ZC.Q.K4({cls:\"zc-abs\",id:s.K,p:ZC.AK(s.A.K+\"-graphset\"),tl:A,wh:C},s.A.AC),s.A.O9.graph&&ZC.Q.HH({cls:ZC._[24]+\" zc-persistent\",id:s.K+\"-c\",p:ZC.AK(s.K),wh:C},s.A.AC),ZC.Q.K4({id:s.K+\"-plotarea\",p:ZC.AK(s.K),tl:A,wh:C,position:\"absolute\"},s.A.AC),s.o.plotarea&&s.A.O9.plotarea&&ZC.Q.HH({cls:ZC._[24],id:s.K+\"-plotarea-c\",p:ZC.AK(s.K+\"-plotarea\"),wh:C},s.A.AC),\"null\"!==s.AF&&s.A.O9.plots){for(ZC.Q.K4({id:s.K+\"-scales-bl\",p:ZC.AK(s.K),tl:A,wh:C,position:\"absolute\",\"clip-path\":_,clip:h},s.A.AC),t=0;t=0;a--)ZC.AK(s.K+\"-plots-bl-\"+a)||ZC.Q.K4({id:s.K+\"-plots-bl-\"+a,p:ZC.AK(s.K),after:ZC.AK(s.K+\"-scales-bl\"),tl:A,wh:C,position:\"absolute\",\"clip-path\":_,clip:h},s.A.AC),(r=ZC.Q.HH({cls:\"zc-abs zc-layer zc-bl\",id:s.K+\"-plot-\"+o+\"-bl-\"+a+\"-c\",p:ZC.AK(s.K+\"-plots-bl-\"+a),wh:C},s.A.AC)).setAttribute(\"data-clip\",s.LU(Z,\"box\")),r.style.display=\"block\";for(t=0;t=0;a--)ZC.AK(s.K+\"-plots-fl-\"+a)||ZC.Q.K4({id:s.K+\"-plots-fl-\"+a,p:ZC.AK(s.K),after:ZC.AK(s.K+\"-scales-ml-\"+(s.W0-1)+\"-c\"),tl:A,wh:C,position:\"absolute\"},s.A.AC),(r=ZC.Q.HH({cls:\"zc-abs zc-layer zc-fl\",id:s.K+\"-plot-\"+o+\"-fl-\"+a+\"-c\",p:ZC.AK(s.K+\"-plots-fl-\"+a),wh:C},s.A.AC)).setAttribute(\"data-clip\",s.LU(c,\"box\")),r.style.display=\"block\";for(zingchart.DEV.PLOTSHLAYER&&(ZC.Q.K4({id:s.K+\"-plots-hover\",p:ZC.AK(s.K),tl:A,wh:C,position:\"absolute\"},s.A.AC),ZC.Q.HH({cls:\"zc-abs zc-layer zc-fl\",id:s.K+\"-plots-hover-c\",p:ZC.AK(s.K+\"-plots-hover\"),wh:C},s.A.AC)),ZC.Q.K4({id:s.K+\"-scales-fl\",p:ZC.AK(s.K),tl:A,wh:C,position:\"absolute\",\"clip-path\":_,clip:h},s.A.AC),t=0;t=0;a--)-1!==Z.childNodes[a].className.indexOf(r.K+\"-node-area\")&&Z.removeChild(Z.childNodes[a]);ZC.Q.ET(r.A.K+\"-map\"),ZC.AK(r.A.K+\"-top\").appendChild(Z),ZC.AK(r.A.K+\"-img\").setAttribute(\"useMap\",\"#\"+r.A.K+\"-map\")}switch(r.AZ.HX=[],ZC.A4(\".\"+r.K+\"-value-box\",A).remove(),ZC.A4(\".\"+r.K+\"-scale-marker-label\",A).remove(),ZC.A4(\".\"+r.K+\"-scale-item\",A).remove(),ZC.A4(\".\"+r.K+\"-scale-label\",A).remove(),ZC.A4(\".\"+r.K+\"-guide-label\",A).remove(),ZC.A4(\".\"+r.K+\"-shape-label\",A).remove(),ZC.A4(\".\"+r.K+\"-mapshape-label\",A).remove(),e||ZC.A4(\".\"+r.K+\"-preview-item\",A).remove(),r.A.AC){case\"svg\":for(a=0,n=r.AZ.A5.length;a=h.B4&&g[A].R[l].BU<=h.BM:g[A].R[l].L>=h.V&&g[A].R[l].L<=h.A1)?(s=g[A].R[l].AD,_=Math.min(_,s),d=Math.max(d,s),u?(u=!1,g[A].R[l].BU?B.push([g[A].R[l].BU,0]):B.push(0),p=s):g[A].R[l].BU?B.push([g[A].R[l].BU,100*(s-p)/p]):B.push(100*(s-p)/p)):g[A].R[l].BU?B.push([g[A].R[l].BU,0]):B.push(0);f[\"p-\"+Z]=[].concat(B)}if(v>0){for(_=ZC.MAX,d=-ZC.MAX,Z=0;Z=0&&E[l].TM&&(K=l);if(null!==ZC._n_(K)){var F=E[K].AX(0);for(l=0;l=0&&E[l].TM){var X=E[l].AX(0);if(ZC._a_(X-F)>=1)for(var I=!0,x=0;I;)X>F?E[l].CP?E[l].AU?E[l].A6+=1:E[l].BW+=1:E[l].AU?E[l].BW+=1:E[l].A6+=1:E[l].CP?E[l].AU?E[l].BW+=1:E[l].A6+=1:E[l].AU?E[l].A6+=1:E[l].BW+=1,x++,E[l].GY(),E[l].T8(),(x>(E[l].CP?o.P.I:o.P.F)||ZC._a_(E[l].AX(0)-F)<1)&&(I=!1)}}}for(l=0,r=o.BN.length;l1&&(zingchart.SKIP.EVENT||ZC.AP.C0(\"load\",e.A,e.A.FG()))),e.A.D[\"fire-complete\"]=!0,(e.D[\"graph-JW\"]||e.LW&&e.AZ.A5.length>1)&&(zingchart.SKIP.EVENT||ZC.AP.C0(\"complete\",e.A,e.A.FG()),e.D[\"graph-JW\"]=null)),0!==e.A.QV.length&&e.A.QV[e.A.QV.length-1]===e.A.D.json||(e.A.QV[e.A.O3]!==e.A.D.json&&(e.A.QV.length=e.A.O3+1),e.A.QV[e.A.O3]=e.A.D.json)}JW(e,t){var i=this;null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1),i.A.MQ(i),i.D[\"graph-JW\"]=!0,i.clear(e,t),i.parse(),i.UO&&i.UO(),i.paint(e),i.BA&&i.BA.setScalesInfo(),i.HM=!1,zingchart.SKIP.CSV=!1}TV(ev,E7,FD){if(2!==ev.button){var s=this,C,PL=[\"\"];switch(null!==ZC._n_(FD)&&(PL=FD.split(\"=\")),PL[0]){case\"_blank\":window.open(E7,\"_blank\");break;case\"_top\":window.top.location.href=E7;break;case\"_parent\":window.parent.location.href=E7;break;case\"window\":null!==ZC._n_(PL[1])&&\"\"!==PL[1]&&(window.top[PL[1]].location.href=E7);break;case\"graph\":var YL=null;if(\"()\"===E7.substring(E7.length-2)||\"javascript:\"===E7.substring(0,11))try{var EH=E7.replace(\"javascript:\",\"\").replace(\"()\",\"\");eval(EH)&&(YL=eval(EH).call(s))}catch(e){}null!==ZC._n_(PL[1])&&\"\"!==PL[1]?\"_top\"===PL[1]||\"_parent\"===PL[1]?(s.A.MQ(),YL?zingchart.exec(s.A.K,\"setdata\",{data:YL}):s.A.load(null,E7)):(C=s.A.OI(PL[1]),C&&(s.A.MQ(C),s.A.D[\"tr-ev-\"+C.L]=!0,s.A.O3++,YL?zingchart.exec(s.A.K,\"setdata\",{graphid:PL[1],data:YL}):s.A.load(PL[1],E7))):(C=s.A.AH[0],s.A.MQ(C),YL?zingchart.exec(s.A.K,\"setdata\",{graphid:C.K,data:YL}):(s.A.D[\"tr-ev-\"+C.L]=!0,s.A.O3++,s.A.load(C.K,E7)));break;default:window.location.href=E7}}}HT(e,t,i){var a=this;if(null===ZC._n_(i)&&(i=a.AZ.A5.length-1),null!==ZC._n_(e)&&typeof e!==ZC._[31])return a.AZ.A5[e];if(null===ZC._n_(t)||typeof t===ZC._[31])return a.AZ.A5[i];for(var n=0,l=a.AZ.A5.length;n0){for(v=[],B=0,m=r.E.length;B0?1:-1:0}),s.FO=s.FO.sort(function(e,t){return e.zindex-t.zindex==0?e.index-t.index:e.zindex-t.zindex})},K2.prototype.Y5=function(e,t){typeof e===ZC._[31]&&(e=!1),typeof t===ZC._[31]&&(t=!1);var i,a=this,n=[a.K+\"-objects-bottom-sh-c\",a.K+\"-objects-bottom-c\",a.K+\"-objects-top-sh-c\",a.K+\"-objects-top-c\",a.K+\"-objects-front-c\",a.K+\"-objects-print-c\"];ZC.SKIPMAPS||n.push(a.K+\"-objects-maps-sh-c\",a.K+\"-objects-maps-c\");for(var l=0;l';\"top\"===t.o[ZC._[7]]?r.push(a):l.push(a)}}function s(e){if(n.FI[e]){var i=n.FI[e],a=i instanceof R5?i.BD:i;if((!ZC.SKIPMAPS||!a.o[\"map-item\"])&&a.AM){if(null!==ZC._n_(t=i.D.hook)){var o=n.OM(t);-1!==o[0]&&(a.iX=ZC._i_(o[0])),-1!==o[1]&&(a.iY=ZC._i_(o[1]))}if(!i.D[\"3d\"]||i.D[\"3dtx\"]){i.Z=n.G.usc()?n.G.mc(\"top\"):ZC.AK(n.K+\"-objects-\"+(a.JV<0?\"bottom\":\"top\")+\"-c\"),i.C6=n.G.usc()?n.G.mc(\"top\"):ZC.AK(n.K+\"-objects-\"+(a.JV<0?\"bottom\":\"top\")+\"-sh-c\"),a.o[\"map-item\"]&&(i.Z=n.G.usc()?n.G.mc(\"top\"):ZC.AK(n.K+\"-objects-maps-c\"),i.C6=n.G.usc()?n.G.mc(\"top\"):ZC.AK(n.K+\"-objects-maps-sh-c\"));var s=\"\";null!==ZC._n_(t=a.o.limit)&&(\"x\"===t?s=\"x\":\"y\"===t?s=\"y\":\"xy\"===t&&(s=\"xy\")),(\"\"===s||\"x\"===s&&ZC.DS(a.iX-a.BJ,n.P.iX-2,n.P.iX+n.P.I+2)||\"y\"===s&&ZC.DS(a.iY-a.BH,n.P.iY-2,n.P.iY+n.P.F+2)||\"xy\"===s&&ZC.DS(a.iX+a.BJ,n.P.iX-2,n.P.iX+n.P.I-2)&&ZC.DS(a.iY+a.BH,n.P.iY-2,n.P.iY+n.P.F+2))&&(i.WW=!1,i.D[\"print-canvas\"]=n.K+\"-\"+(a.o[\"map-item\"]?\"maps\":\"objects\")+ZC._[15],i.paint())}if(!i.KE&&!n.QF&&\"normal\"===zingchart.OBJECTMODE){var C=a.A1S();if(ZC.AK(n.A.K+\"-map\"))for(var A=1,Z=C.length;A1?\"--\"+A:\"\")+ZC._[30]+C[A]+'\" data-z-sort=\"'+a.AA9+'\"'+c+\" />\";\"top\"===i.o[ZC._[7]]?r.push(p):l.push(p)}}}}}function C(e){var t=n.LQ[e];if(t.AM)if(t.Z=t.C6=n.G.usc()?n.G.mc(\"top\"):ZC.AK(n.K+\"-objects-\"+(t.JV<0?\"bottom\":\"top\")+\"-c\"),null!==ZC._n_(t.o.repeat)&&ZC._b_(t.o.repeat)){var i=ZC._i_(ZC._c_(t.o.items,0)),a=null;if(t.o.inactive&&((a=new I0(t.A)).copy(t),a.append(t.o.inactive),a.parse(),a.Z=a.C6=t.Z),i>0||a){var l=ZC._i_(ZC._c_(t.o.rows,-1)),r=ZC._i_(ZC._c_(t.o.cols,-1)),o=ZC._i_(ZC._c_(t.o[\"space-x\"],0)),s=ZC._i_(ZC._c_(t.o[\"space-y\"],0)),C=ZC._i_(ZC._c_(t.o[\"offset-row\"],0)),A=ZC._i_(ZC._c_(t.o[\"offset-col\"],0));-1!==l&&-1===r?r=Math.ceil(i/l):-1===l&&-1!==r?l=Math.ceil(i/r):-1===l&&-1===r&&(r=Math.ceil(Math.sqrt(i)),l=Math.ceil(i/r));for(var Z=t.iX,c=t.iY,p=t.K,u=0;u0||l.length>0)&&ZC.AK(n.A.K+\"-map\")){if(n.A5G){var c=function(e,t){return-1!==e.indexOf(\"data-map\")&&-1!==t.indexOf(\"data-map\")?ZC.AP.N6(t)-ZC.AP.N6(e):ZC.AP.N6(e)-ZC.AP.N6(t)};r.sort(c),l.sort(c)}zingchart.DEV.MAPSONBOTTOM?window.setTimeout(function(){ZC.AK(n.A.K+\"-map\").innerHTML=r.join(\"\")+ZC.AK(n.A.K+\"-map\").innerHTML+l.join(\"\")},33):ZC.AK(n.A.K+\"-map\").innerHTML=r.join(\"\")+ZC.AK(n.A.K+\"-map\").innerHTML+l.join(\"\")}n.A.D[\"fire-load\"]||ZC.AP.C0(\"objectsready\",n.A,n.I1())},K2.prototype.RB=function(e,t,i,a){var n,l,r,o,s=this;switch(i=i||\"hover\",e){case\"shape\":var C=s.FI[t],A=C instanceof R5?C.BD:C;if(null!==ZC._n_(A.o[i+\"-state\"])){if(!a&&A.o.group)for(r=0,o=s.FI.length;r4096&&i.FH&&\"date\"===i.FH.o.type&&null!==(b=ZC._nfind_(f,B,0,B.R.length-1))&&(m=B.FR(b,3)),!m)for(b=0,D=B.R.length;b=0;o--)(null!==ZC._n_(C[o].id)&&-1!==ZC.AV(l,C[o].id)||null!==ZC._n_(C[o].cls)&&-1!==ZC.AV(r,C[o].cls)||null!==ZC._n_(C[o][\"class\"])&&-1!==ZC.AV(r,C[o][\"class\"])||i.group&&C[o].group===i.group)&&(null!==ZC._n_(C[o].id)&&v.push(C[o].id),C.splice(o,1),c=!0);for(o=0;o=50?P0:1e3*P0,\"full\"===s.HV.type)\"http\"===s.HV.transport?ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.A.MQ(s),ZC.ZW(function(){s.A.load(s.K,s.AAL)})},P0):\"websockets\"===s.HV.transport&&ZC.websockets&&(s.G.SP[s.K]?\"pull\"===s.HV.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.G.SP[s.K].send(\"zingchart.getdata\")},P0)):(ws=new WebSocket(s.HV.url,\"zingchart\"),ws.onopen=function(){ws.send(\"zingchart.\"+s.HV.type),ws.send(\"zingchart.\"+s.HV.method),ws.send(\"zingchart.getdata\")},ws.onmessage=function(e){\"ready\"===s.MI&&(s.A.MQ(s),s.MI=\"full\",ZC.ZW(function(){zingchart.exec(s.A.K,\"setdata\",{graphid:s.K,data:e.data,softclear:!0})}))},s.G.SP[s.K]=ws));else if(\"feed\"===s.HV.type&&null!==ZC._n_(s.HV.url)){if(null!==ZC._n_(s.HV.curtain)){var OL=s.BT(\"k\");if(OL.length>0&&(ZC.Q.ET(s.K+\"-curtain-t\"),OL[0].OS>0)){var M7=new DR(s);s.A.B8.load(M7.o,\"(\"+s.AF+\").refresh.curtain\"),M7.append(s.HV.curtain),M7.parse(),M7.AM&&(OL[0].CP&&M7.F<=OL[0].OS||!OL[0].CP&&M7.I<=OL[0].OS)&&(M7.K=s.K+\"-curtain-t\",M7.IU=ZC.AK(s.A.K+\"-text-top\"),OL[0].CP?(M7.F>OL[0].OS&&(M7.AR=\"\",M7.parse()),M7.iX=s.P.iX,M7.iY=OL[0].AU?s.P.iY:s.P.iY+s.P.F-OL[0].OS,M7.I=s.P.I,M7.F=OL[0].OS):(M7.I>OL[0].OS&&(M7.AR=\"\",M7.parse()),M7.iX=OL[0].AU?s.P.iX+s.P.I-OL[0].OS:s.P.iX,M7.iY=s.P.iY,M7.I=OL[0].OS,M7.F=s.P.F),M7.Z=M7.C6=ZC.AK(s.K+\"-scales-ml-0-c\"),M7.paint())}}var A1J=s.HV.transport,A4V=ZC._i_(s.HV[\"reset-timeout\"]),A5E=ZC._i_(s.HV[\"stop-timeout\"]),AAD=ZC._b_(s.HV.storage),A0R=!0;null!==ZC._n_(s.HV[\"preserve-data\"])&&(A0R=ZC._b_(s.HV[\"preserve-data\"]));var A51=function(KI){for(var U5=eval(\"(\"+KI+\")\"),i,A7,A90=U5 instanceof Array?U5:[U5],r=0,rLen=A90.length;rZC._i_(s.HV[\"max-ticks\"])&&s.o[BF][ZC._[5]].splice(0,1),s.G.o[ZC._[16]][s.L][BF][ZC._[5]].push(DJ[BF]),(s.o[BF][ZC._[5]].length>A4V||1===s.MH[1])&&(s.G.o[ZC._[16]][s.L][BF][ZC._[5]]=[],s.o[BF][ZC._[5]]=[],s.G.D[\"graph\"+s.L+\".zoom\"]&&(s.G.D[\"graph\"+s.L+\".zoom\"].xmin=null,s.G.D[\"graph\"+s.L+\".zoom\"].xmax=null),s.IC&&(s.IC.unbind(),ZC.Q.IP(ZC.AK(s.K+\"-scroll-x-c\"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A4(\"#\"+s.K+\"-scroll-x-handle\").remove(),ZC.A4(\"#\"+s.K+\"-scroll-x-bar\").remove()),s.IH&&(s.IH.unbind(),ZC.Q.IP(ZC.AK(s.K+\"-scroll-y-c\"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A4(\"#\"+s.K+\"-scroll-y-handle\").remove(),ZC.A4(\"#\"+s.K+\"-scroll-y-bar\").remove())),ZC.webstorage&&AAD&&ZC.AP.storage.push(\"zingchart.scale.\"+s.K+\".\"+BF,\"\"+DJ[BF]))}for(i=0,A7=s.AZ.A5.length;iZC._i_(s.HV[\"max-ticks\"])&&s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].splice(0,1)):s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[A44],ZC.webstorage&&AAD&&(H=DJ[\"plot\"+i],\"object\"==typeof H&&(H=H.join(\"###\")),ZC.AP.storage.push(\"zingchart.plot.\"+s.K+\".plot\"+i,\"\"+H)),(s.o[ZC._[11]][i][ZC._[5]].length>A4V||1===s.MH[1])&&(ZC.AP.C0(\"feed_clear\",s.A,s.I1(),DJ),s.G.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[])}MV=s.A3U()}(\"ready\"===s.MI||s.GB)&&(1===s.MH[1]&&(s.MH[1]=0),(MV<=A5E||0===A5E)&&(s.MI=\"feed\",ZC.ZW(function(){ZC.AK(s.A.K+\"-main\")&&(ZC.AP.C0(\"feed_step\",s.G,s.I1(),s.o),s.parse(),s.clear(!0),s.UO(),s.paint(!0,!0))})))};if(\"http\"===A1J||\"js\"===A1J){var E7=s.HV.url;ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){if(1===s.MH[0]||1===s.MH[1])if(s.A.MQ(s),\"http\"===A1J){var EV=[\"query-string\"===s.A.N8?\"zcrandom=\"+Math.random():\"\",zingchart.ZCOUTPUT?\"zcoutput=\"+s.G.AC:\"\"].join(\"&\");ZC.A4.ajax({type:\"GET\",url:E7,beforeSend:function(e){s.A.S9.data||\"http-headers\"!==s.A.N8||e.setRequestHeader(ZC._[45],\"Thu, 01 Jan 1970 00:00:00 GMT\")},data:EV,dataType:\"text\",error:function(){},success:function(e){A51(e)}})}else if(\"()\"===E7.substring(E7.length-2)||\"javascript:\"===E7.substring(0,11))try{var EH=E7.replace(\"javascript:\",\"\").replace(\"()\",\"\");eval(EH)&&eval(EH).call(s,function(e){A51(e)},s.I1())}catch(e){}},P0)}else\"websockets\"===A1J&&ZC.websockets&&(s.G.SP[s.K]?\"pull\"===s.HV.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.G.SP[s.K].send(\"zingchart.getdata\")},P0)):(ws=new WebSocket(s.HV.url,\"zingchart\"),ws.onopen=function(){ws.send(\"zingchart.\"+s.HV.type),ws.send(\"zingchart.\"+s.HV.method),ws.send(\"zingchart.startfeed\"),\"pull\"===s.HV.method&&ws.send(\"zingchart.getdata\")},ws.onmessage=function(e){1!==s.MH[0]&&1!==s.MH[1]||A51(e.data)},s.G.SP[s.K]=ws))}}},zingchart.ABX=function(e,t,i){var a;document.getElementById(\"zc-fullscreen\")&&(e=\"zc-fullscreen\"),\"string\"==typeof(i=i||{})&&(i=JSON.parse(i));var n=zingchart.getLoader(e);if(n){var l=n.C7(i[ZC._[3]]);switch(t){case\"clearfeed\":l.MH[1]=1,0===l.MH[0]&&ZC.ZW(function(){l.parse(),l.clear(!0),l.UO(),l.paint(!0,!0)});break;case\"getinterval\":return l.HV.interval;case\"setinterval\":ZC.AP.C0(\"feed_interval_modify\",n,l.I1()),l.o.refresh=l.o.refresh||{},l.o.refresh.interval=i.interval||1;break;case\"stopfeed\":1===l.MH[0]&&(ZC.AP.C0(\"feed_stop\",n,l.I1()),l.MH[0]=0,null!==ZC._n_(a=n.SP[l.K])&&a.send(\"zingchart.stopfeed\"));break;case\"startfeed\":0===l.MH[0]&&(ZC.AP.C0(\"feed_start\",n,l.I1()),l.MH[0]=1,null!==ZC._n_(a=n.SP[l.K])&&a.send(\"zingchart.startfeed\"),ZC.ZW(function(){l.parse(),l.clear(!0),l.UO(),l.paint(!0,!0)}))}}return null},ZC.AP.A4X=function(e){for(var t={},i=[],a=0,n=(i=\"object\"==typeof e?e:JSON.parse(e)).length;a0){for(var A=0;A1))){var a,n,l,r=i.targetid||i.target.id,o=ZC._b_(t.BE.BR.o.reorder);ZC.mobile&&t.G.A8&&t.G.A8.hide();var s=\"item\";-1!==r.indexOf(\"-legend-marker_\")&&(s=\"marker\"),t.L8(),i.preventDefault();var C=t.BE.IT;\"item\"===s?C=t.BE.RC:\"marker\"===s&&(C=t.BE.Q2),t.A.KE&&(C=\"remove\"),t.D[\"legend-last-trigger\"]=s;var A=ZC._i_(r.replace(t.K+\"-legend-item_\",\"\").replace(t.K+\"-legend-marker_\",\"\").replace(\"-area\",\"\"));if(t.o[ZC._[11]]&&t.o[ZC._[11]][A]){if(null!==ZC._n_(e=t.o[ZC._[11]][A][\"legend-item\"])){var Z=e.url||\"\",c=e.target||\"\";\"\"!==Z&&t.TV(i,Z,c)}t.o[ZC._[11]][A].visible=!0}var p,u,h,_=t.AZ.A5[A].T9(i);switch(_.visible=ZC._b_(t.D[\"plot\"+A+\".visible\"]),ZC.AP.C0(\"legend_\"+s+\"_click\",t.A,_),C){default:break;case\"hide\":case\"remove\":if(i.shiftKey){var d=0;for(a=0,n=t.AZ.A5.length;a=0;t--)typeof a.o[t]===ZC._[31]&&a.o.splice(t,1);if(null===ZC._n_(a.D[\"plot-sort\"])&&(a.D[\"plot-sort\"]=!1),a.o.length>1){for(t=0,i=a.o.length;tn[t+1][\"z-index\"]){a.D[\"plot-sort\"]=!0;var o=n[t];n[t]=n[t+1],n[t+1]=o;var s=l[t];l[t]=l[t+1],l[t+1]=s,r=!1}}a.MC=l}else a.MC=[0];for(a.A5=[],t=0,i=a.o.length;t0)if(e.A5.length>100&&!e.C.LW)for(var i=0;iZC.AP.N6(i)?1:ZC.AP.N6(e)a(i)&&t.A.AJ[\"3d\"]?1:a(e)ZC.AP.N6(i)?1:ZC.AP.N6(e)=10&&(A=1),l.A5.length>=20&&(A=1.25),l.A5.length>=30&&(A=1.5);var Z=o.DF;for(t=0,i=l.A5.length;t=0&&p<=90||p>=270&&p<=360?i.iX+i.I-(c.I+25):i.iX+(c.I+25))-a)/ZC.EE(p),n=ZC.CX(n,2*t/i.I),t=i.F/2-(c.F/2+10),n=ZC.CX(n,2*t/i.F)}}n=ZC.BQ(.15,ZC.CX(.85,n)),\"auto\"===i.o[\"size-factor\"]&&(i.o[\"size-factor\"]=i.JT=n)}}class A86 extends LT{constructor(e){super(e),this.A2Y={}}HO(){return new Y0(this)}paint(){this.A2Y={},super.paint()}}class A7C extends A0Y{HO(){return new TR(this)}}class A6Z extends A10{HO(){return new TS(this)}}class A8L extends LT{HO(){return new XZ(this)}}class A2M extends LT{parse(){var e,t,i,a,n,l=this;for(l.B4=ZC.MAX,l.BM=-ZC.MAX,l.A8A=[],l.SN=[],super.parse(),e=0,t=l.A5.length;e0||n.T7.length>0||n.A2.o[\"top-state\"])&&(n.ZI=!1),n.GA=new D0(n),s.load(n.GA.o,B(\"hover-marker\")),n.GA.append(n.o.marker),n.GA.append(n.o[\"hover-marker\"]),null!==ZC._n_(e=n.o[\"selected-marker\"])&&(n.PV=new D0(n),s.load(n.PV.o,B(\"selected-marker\")),n.PV.append(e)),null!==ZC._n_(e=n.o[\"background-marker\"])&&(n.PS=new D0(n),s.load(n.PS.o,B(\"background-marker\")),n.PS.append(e)),n.ID&&(n.VM=new D0(n),n.VM.append(n.o.marker),null!==ZC._n_(e=n.o[\"highlight-marker\"])&&(s.load(n.VM.o,B(\"highlight-marker\")),n.VM.append(e))),\"normal\"!==n.A1F&&(n.T5||n.PV)&&(n.IO=!1),\"fast\"===n.A1F&&(n.IO=!0),n.A8=new DR(n),n.o.tooltip&&n.o.tooltip.placement&&n.o.tooltip.placement.indexOf(\"node\")>-1?s.load(n.A8.o,\"(\"+n.AF+\").tooltip[dynamic]\"):s.load(n.A8.o,n.AF+\".tooltip\"),n.A8.append(n.o.tooltip),null!==ZC._n_(e=n.o.error)&&(n.JH=new DU(n),s.load(n.JH.o,B(\"error\")),n.JH.append(e),null===ZC._n_(n.JH.o[ZC._[21]])&&(n.JH.o[ZC._[21]]=4)),null!==ZC._n_(e=n.o[ZC._[17]])){if(e instanceof Array)for(n.U=new D0(n),s.load(n.U.o,B(ZC._[17])),null!==ZC._n_(t=n.C.o.plot)&&n.U.append(t[ZC._[17]]),n.U.append(e[0]),e.length>1&&(n.O4=[]),i=1;i1?(null===ZC._n_(n.X[i][1])||\"string\"==typeof n.X[i][1]&&\"NULL\"===n.X[i][1].toUpperCase())&&(f=!0):(null===ZC._n_(n.X[i])||\"string\"==typeof n.X[i]&&\"NULL\"===n.X[i].toUpperCase())&&(f=!0),\"piano\"===n.C.AF&&(f=!1)),f)n.R.push(null);else{!n.IO||\"xy\"!==n.C.AJ.layout&&\"yx\"!==n.C.AJ.layout?c=n.FY():n.GS[1]||(\"bubble\"===n.AF||\"scatter\"===n.AF?n.GS[1]=c=n.FY():(n.GS[0]=n.FY(),n.GS[1]=c=n.FY(),n.GS[2]=n.FY(),n.GS[3]=n.FY())),c.K=n.K+\"-node-\"+i,\"string\"==typeof n.X[i]&&zingchart.QUOTEDVALUES&&(n.X[i]=ZC._f_(n.X[i])),c.o={value:n.X[i]},\"string\"==typeof n.X[i]&&(c.A2W=!0),c.L=i,n.o[\"hint-ts\"]?(c.D.plotidx=n.L,c.D.nodeidx=c.L,c.K=n.K+\"-node-\"+c.L,c.BU=n.X[i][0],c.AD=n.X[i][1]):c.parse(),(a<256||zingchart.DEV.CHECKDECIMALS)&&null!==ZC._n_(c.AD)&&2===(Z=c.AD.toString().split(\".\")).length&&(d=ZC.BQ(d,Z[1].length)),c.BU&&(null!==u&&ZC._a_(c.BU-u)>0&&h.push(ZC._a_(c.BU-u)),u=c.BU),n.A.XA=n.A.XA||{};var g=n.A.XA[\"s\"+n.DX];if(g&&(null!==u?-1===ZC.AV(g,c.BU)&&g.push(c.BU):-1===ZC.AV(g,i)&&g.push(i)),!n.IO||\"xy\"!==n.C.AJ.layout&&\"yx\"!==n.C.AJ.layout)n.R.push(c);else{var v={iX:c.iX,iY:c.iY,L:c.L,BU:c.BU,AD:c.AD,CQ:c.AD,DM:c.DM,JJ:c.JJ};\"bubble\"===n.AF&&(v.SW=c.SW),n.R.push(v)}null!==c.BU&&(n.QB[0]=Math.min(n.QB[0],c.BU),n.QB[1]=Math.max(n.QB[1],c.BU)),n.C.D[\"plot\"+n.L+\".visible\"]&&(zingchart.DEV.PLOTSTATS||\"100%\"===n.KY)&&n.CA&&(null===ZC._n_(n.A.F8[i])?(n.A.F8[i]={},n.A.F8[i][\"%total-\"+n.DX]=c.AD):null===ZC._n_(n.A.F8[i][\"%total-\"+n.DX])?n.A.F8[i][\"%total-\"+n.DX]=c.AD:n.A.F8[i][\"%total-\"+n.DX]+=c.AD),zingchart.DEV.PLOTSTATS&&(_.push(c.AD),n.K0?(n.K0[\"%plot-max-index\"]=i,n.K0[\"%plot-sum\"]+=c.AD,a<256&&(n.K0[\"%plot-values\"]+=\",\"+c.AD)):n.K0={\"%plot-min-index\":i,\"%plot-max-index\":i,\"%plot-sum\":c.AD,\"%plot-values\":c.AD},n.A.F8||(n.A.F8={}),n.AM&&(null===ZC._n_(n.A.F8[\"%pstack-\"+i+\"-\"+n.DX+\"-sum\"])?(n.A.F8[\"%pstack-\"+i+\"-\"+n.DX+\"-sum\"]=c.AD,n.A.F8[\"%pstack-\"+i+\"-\"+n.DX+\"-stack-length\"]=1):(n.A.F8[\"%pstack-\"+i+\"-\"+n.DX+\"-sum\"]+=c.AD,n.A.F8[\"%pstack-\"+i+\"-\"+n.DX+\"-stack-length\"]+=1)))}}(n.X.length<256||zingchart.DEV.CHECKDECIMALS)&&n.K0&&null!==ZC._n_(n.K0[\"%plot-sum\"])&&2===(Z=n.K0[\"%plot-sum\"].toString().split(\".\")).length&&ZC._i_(Z[1])>d&&(n.K0[\"%plot-sum\"]=ZC._f_(n.K0[\"%plot-sum\"].toFixed(ZC.CX(20,d)))),zingchart.DEV.PLOTSTATS?(n.K0&&(n.K0[\"%plot-average\"]=n.K0[\"%plot-sum\"]/n.X.length,n.K0[\"%plot-average\"]=ZC._f_(n.K0[\"%plot-average\"].toFixed(ZC.CX(20,d+2)))),_.length>0&&(n.K0[\"%plot-min-value\"]=ZC.YH(_),n.K0[\"%plot-max-value\"]=ZC.A1Y(_))):n.K0={\"%plot-min-index\":0,\"%plot-max-index\":n.X.length,\"%plot-sum\":-1,\"%plot-values\":\"\",\"%plot-average\":-1,\"%plot-min-value\":-1,\"%plot-max-value\":-1},u&&h.length>0&&(n.AAQ=ZC.YH(h),n.A32=ZC.A1Y(h))}}function B(e){var t=[\"(\"+n.AF+\").plot.\"+e];return n.sTypeX&&t.push(\"(\"+n.sTypeX+\").plot.\"+e),t}}mapPointsToPreview(e,t){for(var i=this,a=i.C.P,n=i.C.BA.AQ,l=[],r=0,o=e.length;r0||ZC.DS(n.R[t].BU,n.B2.X[n.B2.V],n.B2.X[n.B2.A1]))&&a++;n.SCl.I&&(n.UK=!0),n.N0>=a&&(n.RG=!0)}else n.N0>n.B2.A1-n.B2.V&&(n.RG=!0);n.W=1,n.B2.ED&&n.ED||(a=n.B2.A1-n.B2.V,n.SCl.I&&(n.UK=!0),!n.QU&&a*n.YG>l.I&&(n.W=ZC.BQ(1,ZC._i_(a*n.YG/l.I)))),n.B2.ED&&n.ED&&(n.QU||a*n.YG>l.I&&(n.W=ZC.BQ(1,ZC._i_(a*n.YG/l.I)))),n.C.OH&&(n.QU=!1,n.W*=n.YV)}null!==ZC._n_(n.Y4)&&n.W>n.Y4&&(n.W=n.Y4)}OC(e){var t,i,a,n=this;null!==ZC._n_(e)&&e||(e=!1),n.B2&&\"log\"===n.B2.C8&&(e=!0),n.VS(e);var l=null;if(e||n.LZ)n.A.A5X=!1,function u(e,t){for(var i=e;i0||ZC.DS(n.R[t].BU,n.B2.X[n.B2.V],n.B2.X[n.B2.A1])||r&&o&&n.R[t+a]&&n.R[t+a].BU>=n.B2.X[n.B2.V])&&(r&&o&&n.R[t-a]&&((l=n.FR(t-a)).Z=n.KK,l.paint(),l.JJ=!0,o=!1,C++),(l=n.FR(t)).Z=n.KK,l.paint(),l.JJ=!0,C++,o=!1,s=t);r&&C>0&&n.R[s+a]&&((l=n.FR(s+a)).Z=n.KK,l.paint(),l.JJ=!0)}else{a=n.G7=n.HK=n.W;var A=0,Z=1,c=null;if(!r){var p=\"vbar\"===n.AF?n.C.P.I:n.C.P.F;A=4/(\"vbar\"===n.AF?n.C.P.F:n.C.P.I)*(n.CK.BM-n.CK.B4),Z=1+ZC._i_((n.B2.A1-n.B2.V)/(2*p)),a=1}for(t=n.B2.V;t<=n.B2.A1;t+=a)(n.B2.A1-n.B2.V)%n.W!=0&&r&&(n.B2.A1-t==0?(n.G7=a,n.HK=1):n.B2.A1-t<=n.W&&(n.G7=n.W,n.HK=n.B2.A1-t,a=n.B2.A1-t)),n.R[t]?(l=n.FR(t),(r||n.QU||!r&&null===c||ZC._a_(l.AD-c)>A||t%Z==0)&&(l.Z=n.KK,l.paint(),l.JJ=!0,n.R[t].JJ=!0),c=l.AD):n.CA&&-1!==ZC.AV([\"vbar\",\"hbar\",\"vbar3d\",\"hbar3d\"],n.AF)&&n.PR()}}}CN(e,t){var i=this;if(i.UU[e+t])return i.UU[e+t];var a=null;return a=i.G.usc()?ZC.AK(i.G.K+\"-main-c\"+(\"fl\"===e?\"-top\":\"\")):i.G.KE||i.C.AJ[\"3d\"]?ZC.AK(i.C.K+\"-plots-\"+e+\"-c\"):ZC.AK(i.C.K+\"-plot-\"+i.L+\"-\"+e+\"-\"+t+\"-c\"),i.UU[e+t]||(i.UU[e+t]=a),a}T9(e){var t=this;return{id:t.G.K,graphid:t.C.K,graphidx:t.C.L,plotid:t.H6,plotindex:t.L,plottext:t.AR,ev:e?ZC.A4.BX(e):null,xdata:t.KG}}UQ(e,t){ZC.AP.C0(\"plot_\"+t,this.G,this.T9(e))}applyJsRuleSvg(e,t,i){var a;if(a=e.o[\"js-rule-svg\"]){var n=ZC.AK(t),l=ZC.evalFn(a.replace(\"javascript:\",\"\").replace(\"()\",\"\"),window);if(n&&l)try{var r=l.call(this,i);for(var o in r)n.setAttribute(o,r[o])}catch(s){}}}sharedZScale(){var e=this,t=e.C,i=t.P;if(t.o[\"scale-z\"]&&t.D[\"plot\"+e.L+\".visible\"]){var a,n,l,r,o;if(a=new CB(t,i.iX+i.I-ZC.AN.E2+10,i.iY+i.F-ZC.AN.E1,e.D[\"z-mid\"]),(n=new DR(e)).GN=t.K+\"-scale-z-item \"+t.K+\"-scale-item zc-scale-item\",n.K=t.K+\"-scale-z-item_\"+e.L,n.AR=t.o[\"scale-z\"][ZC._[5]][e.L],n.Z=n.C6=e.G.usc()?e.G.mc():ZC.AK(t.K+\"-scales-ml-0-c\"),o=ZC.Q.E8(n.Z,e.G.AC),n.IU=e.G.usc()?ZC.AK(e.G.K+\"-main\"):ZC.AK(e.G.K+\"-text\"),n.append(t.o[\"scale-z\"].item),n.parse(),n.AA+=n.VR?0:ZC.DG.A3G(t,n),n.iX=a.EA[0],n.iY=a.EA[1],n.o[\"auto-align\"]&&n.VR&&(n.iY-=n.F/2),n.paint(),null===ZC._n_(e.D[\"scale-z-item-max-width\"])&&(e.D[\"scale-z-item-max-width\"]=0),e.D[\"scale-z-item-max-width\"]=ZC.BQ(e.D[\"scale-z-item-max-width\"],n.I),e.D[\"z-cnt\"]===e.D[\"z-plots\"]-1&&t.o[\"scale-z\"].label){var s,C;a=new CB(t,i.iX+i.I-ZC.AN.E2+20+e.D[\"scale-z-item-max-width\"],i.iY+i.F-ZC.AN.E1,ZC.AN.FU/2),(n=new DR(e)).GN=t.K+\"-scale-z-label \"+t.K+\"-scale-label zc-scale-label\",n.K=t.K+\"-scale-z-label\",n.Z=n.C6=e.G.usc()?e.G.mc():ZC.AK(t.K+\"-scales-ml-0-c\"),o=ZC.Q.E8(n.Z,e.G.AC),n.IU=e.G.usc()?ZC.AK(e.G.K+\"-main\"):ZC.AK(e.G.K+\"-text\"),n.append(t.o[\"scale-z\"].label),n.parse(),s=new CB(t,i.iX+i.I-ZC.AN.E2,i.iY+i.F-ZC.AN.E1,0),C=new CB(t,i.iX+i.I-ZC.AN.E2,i.iY+i.F-ZC.AN.E1,ZC.AN.FU);var A=ZC.UB(Math.atan((C.EA[1]-s.EA[1])/(C.EA[0]-s.EA[0])));n.AA+=n.VR?0:A,n.iX=a.EA[0],n.iY=a.EA[1],n.paint()}if(t.o[\"scale-z\"].tick&&((r=new DU(e)).B7=\"#cccccc\",r.B1=1,r.AI=6,r.append(t.o[\"scale-z\"].tick),r.parse(),r.AM&&r.B1>0)){r.K=t.K+\"-scale-z-tick-\"+e.L;for(var Z=[],c=[[i.iX+i.I,i.iY+i.F],[i.iX+i.I+r.AI,i.iY+i.F]],p=0;p0&&r.AM&&(r.A0=r.AE=r.B7,(l=ZC.DG.D9(r,t,i.iX+i.I-ZC.AN.E2-r.B1,i.iX+i.I-ZC.AN.E2,i.iY+i.F-ZC.AN.E1,i.iY+i.F-ZC.AN.E1,0,ZC.AN.FU,\"x\")).K=t.K+\"-scale-z-axis\",t.CJ.add(l))),e.D[\"z-cnt\"]>0&&t.o[\"scale-z\"].guide&&((r=new D0(e)).B7=\"#cccccc\",r.B1=1,r.append(t.o[\"scale-z\"].guide),r.parse(),r.B1>0&&r.AM&&(r.A0=r.AE=r.B7,(l=ZC.DG.D9(r,t,i.iX-ZC.AN.E2,i.iX+i.I-ZC.AN.E2,i.iY+i.F-ZC.AN.E1,i.iY+i.F-ZC.AN.E1+r.B1,e.D[\"z-cnt\"]*e.D[\"z-depth\"],e.D[\"z-cnt\"]*e.D[\"z-depth\"],\"y\")).K=t.K+\"-scale-z-guideh-\"+e.L,t.CJ.add(l),(l=ZC.DG.D9(r,t,i.iX-ZC.AN.E2,i.iX-ZC.AN.E2,i.iY-ZC.AN.E1,i.iY+i.F-ZC.AN.E1,e.D[\"z-cnt\"]*e.D[\"z-depth\"],e.D[\"z-cnt\"]*e.D[\"z-depth\"]+r.B1,\"y\")).K=t.K+\"-scale-z-guidev-\"+e.L,t.CJ.add(l))),t.o[\"scale-z\"].items&&t.o[\"scale-z\"].items.length){(r=new D0(e)).A0=r.AE=\"#ff9900\",r.C5=.25;var u=e.D[\"z-cnt\"]%t.o[\"scale-z\"].items.length;r.append(t.o[\"scale-z\"].items[u]),r.parse(),(l=ZC.DG.D9(r,t,i.iX-ZC.AN.E2,i.iX+i.I-ZC.AN.E2,i.iY+i.F-ZC.AN.E1,i.iY+i.F-ZC.AN.E1,e.D[\"z-cnt\"]*e.D[\"z-depth\"],e.D[\"z-cnt\"]*e.D[\"z-depth\"]+e.D[\"z-depth\"],\"z\")).K=e.K+\"-item-\",t.CJ.add(l)}}}gc(){if(this.R)for(var e=0;e1&&\"spline\"===v&&(v=\"segmented\"),o.B2.ED&&o.ED){for(i=o.W,e=0,t=o.R.length;e0||ZC.DS(o.R[e].BU,o.B2.X[o.B2.V],o.B2.X[o.B2.A1])||p&&o.R[e+i]&&o.R[e+i].BU>=o.B2.X[o.B2.V])&&(p&&o.R[e-i]&&(-1===_&&(_=e-i),d=e-i,p=!1,u++),-1===_&&(_=e),d=e,u++,p=!1,a=e);u>0&&o.R[a+i]&&(-1===_&&(_=a+i),d=a+i,o.R[a+i].JJ=!0)}else _=o.B2.V,d=o.LZ?o.R.length:o.B2.A1;o.W=g;var B=-1;i=o.W;var m=null,b=null,D=0,E=1;a=_,s?d-_>o.C.P.F&&(D=4/o.C.P.I*(o.CK.BM-o.CK.B4),E=ZC._i_((d-_)/(4*o.C.P.F))):d-_>o.C.P.I&&(D=4/o.C.P.F*(o.CK.BM-o.CK.B4),E=ZC._i_((d-_)/(4*o.C.P.I))),o.o[\"sampling-threshold\"]&&(D*=Math.max(1,(d-_)/ZC._i_(o.o[\"sampling-threshold\"])),E*=Math.max(1,(d-_)/ZC._i_(o.o[\"sampling-threshold\"])));for(o.E=[],e=_;e<=d;e+=i){var K=!1;if(((d-_)%o.W!=0||o.B2.ED&&o.ED)&&d-e<=o.W&&(i=ZC.BQ(1,d-e),K=!0),o.QN&&!K&&o.R[e])if(null===ZC._n_(m))m=o.R[e].CQ,a=e,b=0;else{if(Math.abs(o.R[e].CQ-m)_&&(_=d)),Z.D[\"min-y\"]=Math.min(h,_),Z.D[\"max-y\"]=Math.max(h,_),Z.CA&&Z.A.F3){var f=ZC.MAX,g=-ZC.MAX;for(e=0,t=Z.A.F3.length;e1&&\"spline\"===N&&(N=\"segmented\"),Z.B2.ED&&Z.ED){for(a=Z.W,e=0,t=Z.R.length;e0||ZC.DS(Z.R[e].BU,Z.B2.X[Z.B2.V],Z.B2.X[Z.B2.A1])||y&&Z.R[e+a]&&Z.R[e+a].BU>=Z.B2.X[Z.B2.V])&&(y&&Z.R[e-a]&&(-1===G&&(G=e-a),M=e-a,y=!1,Y++),-1===G&&(G=e),M=e,Y++,y=!1,i=e);Y>0&&Z.R[i+a]&&(-1===G&&(G=i+a),M=i+a,Z.R[i+a].JJ=!0)}else G=Z.B2.V,M=Z.LZ?Z.R.length:Z.B2.A1;Z.W=P,b||Z.A.D5&&(E=Z.A.D5.reverse());var R=null,H=null,O=0,k=1;i=G,c?M-G>Z.C.P.F&&(O=4/Z.C.P.I*(Z.CK.BM-Z.CK.B4),k=ZC._i_((M-G)/(4*Z.C.P.F))):M-G>Z.C.P.I&&(O=4/Z.C.P.F*(Z.CK.BM-Z.CK.B4),k=ZC._i_((M-G)/(4*Z.C.P.I)));var T=!1,Q=!1,z=-1;a=Z.W,T=!0,!Z.A.S7&&b&&(Z.A.S7={},Z.A.W6={});var J=null,S=null;if(Z.A.S7&&!Z.A.S7[\"s\"+Z.DX]&&b){Z.A.S7[\"s\"+Z.DX]={},Z.A.W6[\"s\"+Z.DX]={};var V=Z.A.XA[\"s\"+Z.DX];for(e=0;e<=V.length;e++)null!==ZC._n_(V[e])&&(n=Z.B2.ED?ZC._i_(Z.B2.AX(V[e])):ZC._i_(Z.B2.H4(V[e])),Z.A.S7[\"s\"+Z.DX][n]=x,Z.A.W6[\"s\"+Z.DX][n]=x)}for(b&&(J=Z.A.S7[\"s\"+Z.DX],S=Z.A.W6[\"s\"+Z.DX]),e=G;e<=M;e+=a){var U=!1;if(((M-G)%Z.W!=0||Z.B2.ED&&Z.ED)&&M-e<=Z.W&&(a=ZC.BQ(1,M-e),U=!0),Z.QN&&!U&&Z.R[e])if(null===ZC._n_(R))R=Z.R[e].CQ,i=e,H=0;else{if(Math.abs(Z.R[e].CQ-R)Z.B2.iY&&(K.push([x,Z.B2.iY]),K.push([x,w.iY]),E.push([x,w.iY])):w.iX>Z.B2.iX&&(K.push([Z.B2.iX,x]),K.push([w.iX,x]),E.push([w.iX,x])),T=!1),D.push([w.iX,w.iY]),b?c?S[ZC._i_(w.iY)]=w.iX:S[ZC._i_(w.iX)]=w.iY:(K.push([w.iX,w.iY]),E.push([w.iX,w.iY]));break;case\"spline\":c?(F.push(w.iX),X.push(w.iY),1===F.length&&(F.push(w.iX),X.push(w.iY))):(F.push(w.iY),X.push(w.iX),1===F.length&&(F.push(w.iY),X.push(w.iX)));break;case\"stepped\":var W=Z.B2.AU?-1:1;switch(Z.SY){default:(r=Z.FR(e-a,0))&&(r.setup(),l=ZC.AO.JY(Z.R[e-a].iX,Z.R[e-a].iY,w.iX,w.iY),D.push(c?[w.iX,l[1]]:[l[0],w.iY]),b?c?S[ZC._i_(l[1])-W]=w.iX:S[ZC._i_(l[0])+W]=w.iY:(K.push(c?[w.iX,l[1]]:[l[0],w.iY]),E.push(c?[w.iX,l[1]]:[l[0],w.iY]))),D.push([w.iX,w.iY]),b?c?S[ZC._i_(w.iY)]=w.iX:S[ZC._i_(w.iX)]=w.iY:(K.push([w.iX,w.iY]),E.push([w.iX,w.iY])),(o=Z.FR(e+a,0))&&(o.setup(),l=ZC.AO.JY(w.iX,w.iY,Z.R[e+a].iX,Z.R[e+a].iY),D.push(c?[w.iX,l[1]]:[l[0],w.iY]),b?c?S[ZC._i_(l[1])+W]=w.iX:S[ZC._i_(l[0])-W]=w.iY:(K.push(c?[w.iX,l[1]]:[l[0],w.iY]),E.push(c?[w.iX,l[1]]:[l[0],w.iY])));break;case\"before\":(r=Z.FR(e-a,0))&&(r.setup(),D.push([Z.R[e-a].iX,Z.R[e-a].iY],[Z.R[e-a].iX,w.iY]),b?c?(S[ZC._i_(w.iY)+W]=Z.R[e-a].iX,S[ZC._i_(w.iY)]=Z.R[e-a].iX):(S[ZC._i_(Z.R[e-a].iX)]=Z.R[e-a].iY,S[ZC._i_(Z.R[e-a].iX)+W]=w.iY):(K.push([Z.R[e-a].iX,Z.R[e-a].iY],[Z.R[e-a].iX,w.iY]),E.push([Z.R[e-a].iX,Z.R[e-a].iY],[Z.R[e-a].iX,w.iY]))),D.push([w.iX,w.iY]),b?c?S[ZC._i_(w.iY)]=w.iX:S[ZC._i_(w.iX)]=w.iY:(K.push([w.iX,w.iY]),E.push([w.iX,w.iY]));break;case\"after\":D.push([w.iX,w.iY]),b?c?S[ZC._i_(w.iY)]=w.iX:S[ZC._i_(w.iX)]=w.iY:(K.push([w.iX,w.iY]),E.push([w.iX,w.iY])),(o=Z.FR(e+a,0))&&(o.setup(),D.push([Z.R[e+a].iX,w.iY],[Z.R[e+a].iX,Z.R[e+a].iY]),b?c?(S[ZC._i_(w.iY)-W]=Z.R[e+a].iX,S[ZC._i_(Z.R[e+a].iY)]=Z.R[e+a].iX):(S[ZC._i_(Z.R[e+a].iX)-W]=w.iY,S[ZC._i_(Z.R[e+a].iX)]=Z.R[e+a].iY):(K.push([Z.R[e+a].iX,w.iY],[Z.R[e+a].iX,Z.R[e+a].iY]),E.push([Z.R[e+a].iX,w.iY],[Z.R[e+a].iX,Z.R[e+a].iY])))}}L&&w.MR(ZC.Q.E8(Z.CN(\"fl\",0),Z.G.AC)),(Z.RG&&m||Z.FX||Z.U)&&w.OR(),w.JJ=!0}else null!==ZC._n_(Z.o[\"connect-nulls\"])&&ZC._b_(Z.o[\"connect-nulls\"])||(D.push(null),F.push(null),X.push(null),b||(E.length-1>=0&&E.push(c?[x,E[E.length-1][1]]:[E[E.length-1][0],x]),K.length-1>=0&&K.push(c?[x,E[E.length-1][1]]:[E[E.length-1][0],x]),Q=!0))}if(\"segmented\"!==N&&\"stepped\"!==N||b||E.length-1>=0&&(c?E.push([x,E[E.length-1][1]]):E.push([E[E.length-1][0],x])),\"spline\"===N){F.push(F[F.length-1]),X.push(X[X.length-1]),D=[],b||E.push(c?[x,X[0]]:[X[0],x]);for(var j=1;j0){var te=K[K.length-1];c||te[0]=1&&(n=e.CC/e.B2.A9);var l=e.CS;e.CS>=1&&(l=e.CS/e.B2.A9);var r=1-n-l,o=ZC._x_(r/(3*a+1));e.CC=n+o+3*(i-1)*o,e.CS=1-e.CC-2*o}}}PR(){var e,t=this;if(t.RS)return t.RS;if(t.o[\"fast-dimensions\"]&&t.A.A5[0].RS)return t.A.A5[0].RS;t.bKeyWidth&&(t.assign_a([[\"bar-width\",\"D1\",\"fp\"]]),t.D1=Math.round((t.B2.CP?t.B2.F:t.B2.I)*(t.D1/(t.B2.BM-t.B2.B4))));var i,a=t.B2.A9*t.W,n=0;for(t.A.K9[t.AF]=t.A.K9[t.AF]||[],e=0;e1&&(p/=n-1),p<0&&(c=a-A-Z-(p=0)*(n-1))),u=(c=ZC.BQ(c,1*n))/n):n>1&&(p=0,u=c/n,d<=1&&(d*=u),Z=(h=a-(c=n*(u-(d=ZC.CX(d,u)))+d)-p*(n-1))-(A=h*(_=0===Z?1:A/Z)/(1+_)),A<1&&(c-=1-A))):(c=a-A-Z,0===t.EZ||n<=1?((p=t.F4)<=1&&(p*=c/n),Z=(h=a-c-(p=ZC.BQ(0,p))*(n-1))-(A=h*(_=0===Z?1:A/Z)/(1+_)),A<1&&(A=Z=0,p=a-c,n>1&&(p/=n-1),p<0&&(c=a-A-Z-(p=0)*(n-1))),u=(c=ZC.BQ(c,1*n))/n):n>1&&(p=0,u=c/n,d>1&&(d=u/d),d*=u=c/(n-n*d+d),Z=(h=a-c-p*(n-1))-(A=h*(_=0===Z?1:A/Z)/(1+_)),A<1&&(c-=1-A))),-1!==t.ZL&&u>t.ZL&&!t.D.bw&&(t.D1=t.ZL,t.D.bw=!0,t.PR(),t.D.bw=null),t.RS={A9:a,ES:i,CC:A,CS:Z,F4:p,D1:u,EZ:d},{A9:a,ES:i,CC:A,CS:Z,F4:p,D1:u,EZ:d}}paint(){var e=this;super.paint(),e.KK=e.CN(\"bl\",0);var t=e.FE;e.A36=!1,e.SO=null;var i=1;e.B2.ED&&(i=e.R.length/(e.B2.DY-e.B2.DD)),0!==e.E4.length||e.I6||e.C.KM||\"svg\"!==e.G.AC||!(e.B2.A1-e.B2.V>2048||e.B2.ED&&i*(e.B2.A1-e.B2.V)>2048)||(e.A36=!0,null===ZC._n_(e.o[\"rect-shortcut\"])&&(e.FE=!0)),e.FE||(e.A36=!1),e.OC(),e.FE=t,e.RefNode=null,e.WB=null}}class QW extends A2P{constructor(e){super(e),this.AF=\"vbar\"}FY(){return new ZT(this)}}class R1 extends A2P{constructor(e){super(e),this.AF=\"hbar\"}FY(){return new ZS(this)}}class PG extends WK{constructor(e,t){super(e),this.AF=t||\"scatter\",this.P9=\"markerbg\",this.bPoly=!1,this.HY=.5}FY(){return new A6J(this)}parse(){var e=this;e.BP=e.NK(),e.C1=e.BP[0],e.A0=e.BP[1],e.AE=e.BP[1],e.B7=e.BP[2],e.BV=e.BP[2],e.N9(),super.parse(),e.assign_a([[\"alpha-area\",\"HY\",\"f\",0,1]]),e.B2=e.C.BK(e.BT(\"k\")[0]),e.CK=e.C.BK(e.BT(\"v\")[0])}paint(){var e,t,i,a=this;if(super.paint(),a.KK=a.CN(\"bl\",0),a._oCtxNode=ZC.Q.E8(a.CN(\"bl\",0),a.G.AC),!a.IO||a.C.AJ[\"3d\"]||\"fast\"!==a.A1F||0!==a.SC)a.OC(!0);else{var n=null,l=a.B2,r=a.CK;a.VS(!0);var o=new DU(a.A);for(o.Z=a.CN(\"bl\",1),o.C6=a.CN(\"bl\",0),o.B7=a.BP[3],o.BV=a.BP[3],o.A0=a.BP[2],\"bubble\"===a.AF||\"hbubble\"===a.AF?o.AE=a.BP[1]:o.AE=a.BP[2],o.append(a.A2.o),o.parse(),t=0;t<=a.R.length;t++)if(n=a.FR(t)){var s=!1;l.CP?ZC.DS(n.iX,r.iX+(r.AU?r.BW:r.A6)-1,r.iX+r.I-(r.AU?r.A6:r.BW)+1)&&ZC.DS(n.iY,l.iY+(l.AU?l.BW:l.A6)-1,l.iY+l.F-(l.AU?l.A6:l.BW)+1)&&(s=!0):ZC.DS(n.iX,l.iX+(l.AU?l.BW:l.A6)-1,l.iX+l.I-(l.AU?l.A6:l.BW)+1)&&ZC.DS(n.iY,r.iY+(r.AU?r.A6:r.BW)-1,r.iY+r.F-(r.AU?r.BW:r.A6)+1)&&(s=!0),s&&(n.JJ=!0,a.R[t].JJ=!0,o.K=n.K+\"-marker\",o.iX=n.iX,o.iY=n.iY,\"circle\"!==o.DP&&o.parse(),\"none\"!==a.J6&&(a.C.J1[a.L]||a.C.KM)&&(o.o={},o.OT={},a.C.CG[\"p\"+a.L]&&a.C.CG[\"p\"+a.L][\"n\"+t]?o.OT=a.PV?a.PV.o:{}:\"none\"!==a.OD&&(\"plot\"===a.OD&&a.C.J1[t]||\"graph\"===a.OD&&a.C.KM)&&(o.OT=a.PS?a.PS.o:{}),o.B7=a.BP[3],o.BV=a.BP[3],o.A0=a.BP[2],\"bubble\"===a.AF||\"hbubble\"===a.AF?o.AE=a.BP[1]:o.AE=a.BP[2],o.append(a.A2.o),o.parse()),o.paint())}}if(a.bPoly){for(e=[],t=0,i=a.R.length;t=e.VB&&(e.QH=.2,e.VB=1),e.B2=e.C.BK(e.BT(\"k\")[0]),e.CK=e.C.BK(e.BT(\"v\")[0])}paint(){var e=this;super.paint(),e.KK=e.CN(\"bl\",0),e.A5R=e.A48=-ZC.MAX,e.YT=e.XC=ZC.MAX,e.A6W=e.A5W=0;for(var t=0,i=e.A.A5.length;tl&&(i.W=ZC._i_(5*(i.B2.A1-i.B2.V)/l));var r=i.B2.ED;if(r&&i.QB[0]===ZC.MAX&&i.QB[1]===-ZC.MAX&&(r=!1),r)for(e=0,t=i.R.length;e0?i.iX=n.AX(100*i.CQ/i.A.A.F8[i.L][\"%total-\"+i.A.DX]):i.iX=n.AX(100*i.CQ):i.iX=n.AX(i.CQ+0)):(null!==i.BU?i.iX=a.AX(i.BU):i.A.LZ?\"bar\"===i.A.sMetaType?i.iX=a.H4(i.A.RF):i.iX=a.H4(i.A.RF)+i.A.RZ+i.L*(a.A9-2*i.A.RZ)/(i.A.R.length-1)-a.A9/2:i.iX=a.H4(i.L),i.A.CA&&\"100%\"===i.A.KY?i.A.A.F8[i.L][\"%total-\"+i.A.DX]>0?i.iY=n.AX(100*i.CQ/i.A.A.F8[i.L][\"%total-\"+i.A.DX]):i.iY=n.AX(100*i.CQ):i.iY=n.AX(i.CQ+0)),i.A.IO&&(i.A.R[i.L].iX=i.iX,i.A.R[i.L].iY=i.iY),i.JR=l}i.IM||(0!==i.A.E4.length||-1===ZC.AV([\"line\",\"area\",\"vbar\",\"hbar\",\"line3d\",\"area3d\",\"vbar3d\",\"hbar3d\"],i.A.AF)||i.A.o.override?ZC.A4.browser.mozilla?(i.copy(i.A),i.E4=i.A.E4,i.DB(),i.parse(!1),i.N=i):i.A.o.override?(i.copy(i.A),i.E4=i.A.E4,i.DB(),i.parse(!1),i.N=i):(e=i.A9J(i.A.E4),null===ZC._n_(t=i.A.A6K[e])?(i.copy(i.A),i.E4=i.A.E4,i.DB(),i.parse(!1),i.N=i,i.A.A6K[e]=i):i.N=t):i.N=i.A,i.A.o.override&&(i.N.D.plotidx=i.A.L,i.N.D.nodeidx=i.L,i.N.parse(!1)),i.IM=!0)}HC(){var e,t=this;if(t.o[ZC._[9]]instanceof Array&&(t.CI=t.o[ZC._[9]].join(\" \"),\"string\"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.B2.IW,t.o[ZC._[9]][0]))?t.BU=e:(t.A.B2.IW.push(t.o[ZC._[9]][0]),t.BU=t.A.B2.IW.length-1):t.BU=parseFloat(t.o[ZC._[9]][0]),\"string\"==typeof t.o[ZC._[9]][1]?-1!==(e=ZC.AV(t.A.CK.JP,t.o[ZC._[9]][1]))?t.AD=e:(t.A.CK.JP.push(t.o[ZC._[9]][1]),t.AD=t.A.CK.JP.length-1):t.AD=parseFloat(t.o[ZC._[9]][1]),null!==t.BU&&t.A.TB(t.BU,t.L),t.A.Z5>0&&t.o[ZC._[9]].length>t.A.Z5))for(var i=t.o[ZC._[9]].length-t.A.Z5;i0&&l.A.O4.length>t-1&&l.F7(e,t+1),l.AM||\"pie\"===l.A.AF||\"pie3d\"===l.A.AF){var r,o=1===t?l.A.U:l.A.O4[t-2];if(o){if(l.A.A7P)(r=l.A.A7P).K=l.K+\"-value-box-\"+t,r.Z=r.C6=l.G.usc()?l.G.mc(\"top\"):l.C.AJ[\"3d\"]||l.G.KE?ZC.AK(l.C.K+\"-plots-vb-c\"):ZC.AK(l.C.K+\"-plot-\"+l.A.L+\"-vb-c\"),r.IU=l.G.usc()?ZC.AK(l.C.A.K+\"-top\"):ZC.AK(l.C.A.K+\"-text\"),r.D.plotidx=l.A.L,r.D.nodeidx=l.L,n=ZC.AP.P1(r.o,l.A.o),r.F0=function(e){return l.F0(e,n)},r.parse();else{r=new DR(l.A),o.o.rules||l.A.U.I6||(a=\"all\",null!==ZC._n_(i=o.o.type)&&(a=i),\"pie\"===l.C.AF||\"nestedpie\"===l.C.AF||\"pie3d\"===l.C.AF||\"all\"!==a||l.A.O4&&0!==l.A.O4.length||(l.A.A7P=r)),r.append(o.o),l.appendToValueBox&&!e&&(r.parse(),r.append(l.appendToValueBox(r))),r.GN=l.C.K+\"-value-box \"+l.C.K+\"-plot-\"+l.A.L+\"-value-box zc-value-box\",r.K=l.K+\"-value-box-\"+t,r.Z=r.C6=l.G.usc()?l.G.mc(\"top\"):l.C.AJ[\"3d\"]||l.G.KE?ZC.AK(l.C.K+\"-plots-vb-c\"):ZC.AK(l.C.K+\"-plot-\"+l.A.L+\"-vb-c\"),r.IU=l.G.usc()?ZC.AK(l.C.A.K+\"-top\"):ZC.AK(l.C.A.K+\"-text\"),n=ZC.AP.P1(r.o,l.A.o),r.F0=function(e){return l.F0(e,n)};var s=l.JB(r);if(null!==ZC._n_(i=s.color)&&(r.C1=i),null!==ZC._n_(i=s[ZC._[0]])&&(r.A0=r.AE=i),r.D.plotidx=l.A.L,r.D.nodeidx=l.L,l.A.U.I6&&(l.A.U.GL(l.A.U,r,null,l.LG(null,!1)),r.parse()),r.parse(),r.J0=function(e){return l.J0(e)},r.DB()&&r.parse(),!l.A.ZG){var C=new DR(l.A);C.copy(r),l.A.ZG=C}if(a=\"all\",null!==ZC._n_(i=o.o.type)&&(a=i),r.AM){r.AM=!1;var A=l.A.o[ZC._[17]].text||\"\";if(\"values(\"===a.substring(0,7)){var Z=a.substring(7,a.length).replace(\")\",\"\").split(\",\");-1!==ZC.AV(Z,l.AD)&&(r.AM=!0)}else{var c=a.split(\",\"),p={min:\"%plot-min-value\",max:\"%plot-max-value\",first:\"%plot-min-index\",last:\"%plot-max-index\"};for(var u in p)-1!==ZC.AV(c,u)&&((\"first\"!==u&&\"last\"!==u||l.L!==l.A.K0[p[u]])&&(\"min\"!==u&&\"max\"!==u||l.AD!==l.A.K0[p[u]])||(\"object\"==typeof A&&null!==ZC._n_(A[u])&&(r.o.text=A[u],r.parse()),r.AM=!0));-1!==ZC.AV(c,\"all\")&&(r.AM=!0)}}}if(l.C.D[\"plot\"+l.A.L+\".visible\"]||(r.D[\"css-display\"]=\"none\"),e)return r;if(r.AM&&null!==ZC._n_(r.AR)&&\"\"!==r.AR){var h=l.HG(r);r.D.positioninfo=h,r.iX=h[0],r.iY=h[1];var _={};if(-1!==r.iX&&-1!==r.iY){var d=!1;if(null!==ZC._n_(r.o.overlap)&&!ZC._b_(r.o.overlap)){_={x:r.iX,y:r.iY,width:r.I,height:r.F};for(var f=0,g=l.A.A.ZH.length;f=a.LJ&&!a.AU||i.AD=i.AD&&i.AD<=o?l=\"bottom\":r<=i.AD&&i.AD>=o?l=\"top\":r>=i.AD&&i.AD>=o?l=r/i.AD>i.AD/o?\"bottom\":\"top\":r<=i.AD&&i.AD<=o&&(l=i.AD/r>o/i.AD?\"top\":\"bottom\")}var s=e.I,C=e.F,A=i.iX-s/2,Z=i.iY-C/2;switch(l){case\"top\":Z-=n*(C/2+4);break;case\"bottom\":Z+=n*(C/2+4);break;case\"left\":A-=s/2+4;break;case\"right\":A+=s/2+4}return i.C.AJ[\"3d\"]||(A=ZC.BQ(i.C.P.iX-s/2,A),A=ZC.CX(i.C.P.iX+i.C.P.I-s/2,A),Z=ZC.BQ(i.C.P.iY-C,Z),Z=ZC.CX(i.C.P.iY+i.C.P.F,Z)),null!==ZC._n_(e.o.x)&&(A=e.iX),null!==ZC._n_(e.o.y)&&(Z=e.iY),[ZC._i_(A),ZC._i_(Z)]}OR(e,t){var i,a,n,l,r,o=this;if(typeof o.A.bBS===ZC._[31]&&(o.A.bBS=-1===ZC.AV([\"bubble\",\"hbubble\",\"scatter\",\"hscatter\"],o.A.AF)),null!==ZC._n_(o.A.o[\"markers-on-top\"])&&(o.A.bBS=ZC._b_(o.A.o[\"markers-on-top\"])),!o.C.OH||!o.A.bBS){null===ZC._n_(e)&&(e=!1),null===ZC._n_(t)&&(t=!1);var s=o.C.P.D.tolerance||2;if(ZC.DS(o.iX,o.C.P.iX-s,o.C.P.iX+o.C.P.I+s)&&ZC.DS(o.iY,o.C.P.iY-s,o.C.P.iY+o.C.P.F+s)){var C=o.C.K+ZC._[34]+o.C.K+ZC._[35]+o.A.L+ZC._[6];if(-1===ZC.AV(o.G.KX,ZC._[39])&&o.A.FX){if(o.A.YJ&&!zingchart.DEV.SKIPTRACKERS){var A=o.getNodeData(\"points\");-1!==ZC.AV(o.G.KX,ZC._[42])&&-1!==ZC.AV([\"line\",\"area\"],o.A.AF)&&typeof A===ZC._[31]&&o.paint(!0),\"\"!==(n=typeof o.D.polypoints===ZC._[31]?ZC.AO.Q6(ZC.AO.ZN(A,ZC.BQ(6,o.A.B1/2)),4):ZC.AO.Q6(A,4))&&o.A.A.HX.push(ZC.Q.GG(\"poly\",o.A.E7,o.N.IZ)+'class=\"'+C+'\" id=\"'+o.K+ZC._[30]+n+'\" />')}if((\"area\"===o.A.AF||\"area3d\"===o.A.AF||\"radar\"===o.A.AF&&(\"area\"===o.A.CV||\"range\"===o.A.CV))&&o.A.XV){var Z=o.getNodeData(\"pointsarea\");\"\"!==(n=ZC.AO.Q6(Z,4))&&o.A.A.HX.push(ZC.Q.GG(\"poly\",o.A.E7,o.A.IZ)+'class=\"'+C+'\" id=\"'+o.K+'--area\" coords=\"'+n+'\" />')}}if(o.A.U||!o.A.IO||!o.A.A2.o||\"none\"!==o.A.A2.o.type&&(null===ZC._n_(o.A.A2.o.visible)||ZC._b_(o.A.A2.o.visible))){if(t||o.A.RG){if(o.A.HF)l=o.A.HF,\"svg\"!==o.G.AC&&(e?(r=new CB(o.C,o.iX-ZC.AN.E2,o.iY-ZC.AN.E1,o.A.D[\"z-start\"]||0),l.iX=ZC._x_(r.EA[0]),l.iY=ZC._x_(r.EA[1]),o.D[\"3dxy\"]=[l.iX,l.iY]):(l.iX=ZC._x_(o.iX),l.iY=ZC._x_(o.iY)),l.D.plotidx=o.A.L,l.D.nodeidx=o.L,l.K=o.K+\"-marker\",l.parse(!0));else{if(o.IO?o.A._oMarker?l=o.A._oMarker:o.A._oMarker=l=new DU(o.A):l=new DU(o.A),l.K=o.K+\"-marker\",l.D[\"p-width\"]=o.A.B2.A9,l.D[\"p-height\"]=o.A.CK.A9,o.A.bBS)l.Z=o.A.CN(\"fl\",0),l.C6=o.A.CN(\"fl\",0);else if(l.Z=o.A.CN(\"bl\",1),l.C6=o.A.CN(\"bl\",0),Object&&Object.keys&&Object.keys(o.C.CG).length>0){var c=o.C.CG[\"p\"+o.A.L];\"none\"!==o.A.J6&&c&&c[\"n\"+o.L]&&(l.Z=o.A.CN(\"bl\",2))}e?(r=new CB(o.C,o.iX-ZC.AN.E2,o.iY-ZC.AN.E1,o.A.D[\"z-start\"]||0),l.iX=ZC._x_(r.EA[0]),l.iY=ZC._x_(r.EA[1]),o.D[\"3dxy\"]=[l.iX,l.iY]):(l.iX=ZC._x_(o.iX),l.iY=ZC._x_(o.iY)),l.B7=o.A.BP[3],l.BV=o.A.BP[3],l.A0=o.A.BP[2],\"bubble\"===o.A.AF||\"hbubble\"===o.A.AF?l.AE=o.A.BP[1]:l.AE=o.A.BP[2],l.append(o.A.A2.o),null!==ZC._n_(o.D[\"marker.size\"])&&(l.AI=o.D[\"marker.size\"]),l.D.plotidx=o.A.L,l.D.nodeidx=o.L,\"none\"!==o.A.J6&&(o.C.J1[o.A.L]||o.C.KM)&&(o.C.CG[\"p\"+o.A.L]&&o.C.CG[\"p\"+o.A.L][\"n\"+o.L]?l.OT=o.A.PV?o.A.PV.o:{}:\"none\"!==o.A.OD&&(\"plot\"===o.A.OD&&o.C.J1[o.A.L]||\"graph\"===o.A.OD&&o.C.KM)&&(l.OT=o.A.PS?o.A.PS.o:{})),null!==ZC._n_(i=o.A.o.marker)&&null!==ZC._n_(i.styles)&&null!==ZC._n_(a=i.styles[o.L])&&(\"string\"==typeof a?l.append({\"background-color\":ZC.AP.R0(a,20),\"line-color\":ZC.AP.JQ(a,20),\"border-color\":ZC.AP.JQ(a,20)}):l.append(a)),l.parse(),l.J0=function(e){return o.J0(e)},l.DB()&&l.parse()}if(o.D[\"marker.size\"]=ZC.BQ(2.02,o.D[\"marker.size\"]||l.AI),l.DI=C,!(e||ZC.DS(l.iX,o.C.P.iX-2,o.C.P.iX+o.C.P.I+2)&&ZC.DS(l.iY,o.C.P.iY-2,o.C.P.iY+o.C.P.F+2)))return;if(l.I6&&(o.A.ZI=!1,l.GL(l,l,null,o.LG(null,!1)),l.parse()),o.NE=l,l.AM&&\"none\"!==l.AF){var p=function(){if(o.A.bBS||o.MR(ZC.Q.E8(o.A.CN(\"bl\",0),o.G.AC)),o.D[\"marker.type\"]=l.DP,o.A.FX&&-1===ZC.AV(o.G.KX,ZC._[40])&&!zingchart.DEV.SKIPTRACKERS){var e=o.D[\"3dxy\"]?o.D[\"3dxy\"][0]:o.iX,t=o.D[\"3dxy\"]?o.D[\"3dxy\"][1]:o.iY,i=parseInt(e+l.BJ+ZC.MAPTX,10),a=parseInt(t+l.BH+ZC.MAPTX,10),n=parseInt(ZC.BQ(ZC.mobile?6:3,o.D[\"marker.size\"]+1)*(ZC.mobile?1.25:1.05),10),r=!0;if(typeof o.A.aLastMarkerXY!==ZC._[31])Math.sqrt((i-o.A.aLastMarkerXY[0])*(i-o.A.aLastMarkerXY[0])+(a-o.A.aLastMarkerXY[1])*(a-o.A.aLastMarkerXY[1]))'):o.A.A.HX.push(ZC.Q.GG(\"circle\",o.A.E7,o.A.IZ)+'class=\"'+C+'\" id=\"'+o.K+\"--marker\"+ZC._[30]+i+\",\"+a+\",\"+n+'\" />'))}if(o.A.U&&(o.A.D.vboxid=o.K,o.F7()),!o.A.bBS&&o.C.BA&&o.C.BA.IM&&o.A.QS&&o.C.BA.AM){var s=o.C.P,A=o.C.BA,Z=A.AQ,c=o.A.HF||l,p=new DU(o.A);p.copy(c);var u=(o.iX-s.iX)/s.I,h=(o.iY-s.iY)/s.F,_=Math.min(Z.F/s.F,Z.I/s.I);p.iX=Z.iX+Z.AT+u*(Z.I-2*Z.AT),p.iY=Z.iY+Z.AT+h*(Z.F-2*Z.AT),p.K=o.K+\"-marker-preview\",p.DI=o.A.K+\"-preview\";var d=c.AI;null!==ZC._n_(o.D[\"marker.size\"])&&(d=o.D[\"marker.size\"]),p.AI=ZC.BQ(2.02,.9*_*d),p.Z=p.C6=A.Z,p.parse(),p.paint()}},u=!1;if((!o.A.bBS||\"radar\"===o.A.AF&&\"dots\"===o.A.CV)&&(u=!0),o.A.GB&&u&&!o.C.HM){var h=l,_={},d=l.C5,f=l.AI,g=l.iX,v=l.iY;h.iX=g,h.iY=v,_.x=g,_.y=v;var B,m=o.A.LH,b=o.C.P;for(B in h.C5=0,_.alpha=d,3===m?(h.AI=2,_.size=f):8===m?(h.iX=g-b.iX,_.x=g):9===m?(h.iX=g+b.iX,_.x=g):10===m?(h.iY=v-b.iY,_.y=v):11===m&&(h.iY=v+b.iY,_.y=v),o.A.FV)h[E9.GO[ZC.EC(B)]]=o.A.FV[B],_[ZC.EC(B)]=o.N[E9.GO[ZC.EC(B)]];if(null===ZC._n_(o.C.EL)&&(o.C.EL={}),null!==ZC._n_(o.C.EL[o.A.L+\"-\"+o.L]))for(B in o.C.EL[o.A.L+\"-\"+o.L])h[E9.GO[ZC.EC(B)]]=o.C.EL[o.A.L+\"-\"+o.L][B];o.C.EL[o.A.L+\"-\"+o.L]={},ZC._cp_(_,o.C.EL[o.A.L+\"-\"+o.L]);var D=new E9(h,_,o.A.JL,o.A.LB,E9.RU[o.A.LF],function(){p()});D.AW=o,D.OK=function(){o.MR(ZC.Q.E8(o.A.CN(\"bl\",0),o.G.AC))},o.L5(D)}else{var E=\"circle\"===l.DP?\"circle\":\"path\";if(o.A.HL){var K=function(t,i){var a=t.cloneNode(!1),n=o.iX,r=o.iY;if(e){var s=new CB(o.C,n-ZC.AN.E2,r-ZC.AN.E1,o.A.D[\"z-start\"]||0);n=ZC._x_(s.EA[0]),r=ZC._x_(s.EA[1]),o.D[\"3dxy\"]=[n,r]}a.setAttribute(\"transform\",\"translate(\"+ZC._i_(n-l.iX)+\",\"+ZC._i_(r-l.iY)+\") \"+(a.getAttribute(\"transform\")||\"\")),a.setAttribute(\"id\",i),\"bubble\"!==o.A.AF&&\"hbubble\"!==o.A.AF||a.setAttribute(\"r\",o.D[\"marker.size\"]),t.parentNode.appendChild(a)};l.ME&&K(o.A.RM,o.K+\"-marker-sh-\"+E),K(o.A.HL,o.K+\"-marker-\"+E),l.D8&&K(o.A.QQ,o.K+\"-marker-imgfill\")}else{l.paint();var F=l.A0!==l.AE;if(!o.C.J1[o.A.L]&&o.A.ZI&&!F)if(\"svg\"===o.G.AC){if(-1===ZC.AV([\"pie\",\"square\",\"rect\",\"rectangle\",\"cross\",\"plus\",\"custom\"],l.DP))if(o.A.HF=l,zingchart.DEV.DOMFRAGMENTS&&document.querySelector){for(var X in o.G.G1)o.A.HL||(o.A.HL=o.G.G1[X].querySelector(\"#\"+o.K+\"-marker-\"+E)),l.ME&&!o.A.RM&&(o.A.RM=o.G.G1[X].querySelector(\"#\"+o.K+\"-marker-sh-\"+E)),l.D8&&!o.A.QQ&&(o.A.QQ=o.G.G1[X].querySelector(\"#\"+o.K+\"-marker-imgfill\")||o.G.G1[X].querySelector(\"#\"+o.K+\"-marker-path-imgfill\"));o.A.HL||(o.A.HL=ZC.AK(o.K+\"-marker-\"+E),l.ME&&(o.A.RM=ZC.AK(o.K+\"-marker-sh-\"+E)),l.D8&&(o.A.QQ=ZC.AK(o.K+\"-marker-imgfill\")))}else o.A.HL=ZC.AK(o.K+\"-marker-\"+E),l.ME&&(o.A.RM=ZC.AK(o.K+\"-marker-sh-\"+E)),l.D8&&(o.A.QQ=ZC.AK(o.K+\"-marker-imgfill\")||ZC.AK(o.K+\"-marker-path-imgfill\"))}else\"bubble\"!==o.A.AF&&\"hbubble\"!==o.A.AF&&(e||(o.A.HF=l))}\"svg\"===o.G.AC&&o.A.applyJsRuleSvg(o.A.A2,o.K+\"-marker-\"+E,o.LG()),p()}}else o.A.U&&o.F7()}else o.A.U&&o.F7()}}}}L5(e,t){var i,a=this,n=a.C.M3,l=n.PQ,r=a.A.U3;switch(r){default:t&&n.add(t),n.add(e);break;case 1:case 2:case 3:if(t){var o=\"all\";if(1===r?o=\"plots-group-\"+a.L+\"-area\":2===r&&(o=\"nodes-group-\"+a.A.L+\"-area\"),null===ZC._n_(l[o])){var s=new A2X(o);n.A5T(s,t.XT)}l[o].add(t)}if(i=\"all\",1===r?i=\"plots-group-\"+a.L:2===r&&(i=\"nodes-group-\"+a.A.L),null===ZC._n_(l[i])){var C=new A2X(i);n.A5T(C,e.XT)}l[i].add(e)}}SA(e){var t=this;t.A.IO&&t.A.bXY&&(t.RT(),e&&(\"scatter\"!==t.A.AF&&\"hscatter\"!==t.A.AF&&\"bubble\"!==t.A.AF&&\"hbubble\"!==t.A.AF||t.paint(!0)));var i=t.A.BP;t.LL({layer:e,type:\"shape\",id:\"marker\",marker:!0,initcb:function(){this.DP=t.D[\"marker.type\"],this.iX=t.iX,this.iY=t.iY,\"bubble\"===t.A.AF||\"hbubble\"===t.A.AF?(this.AE=i[3],this.A0=i[2]):(this.B7=i[3],this.BV=i[3],this.A0=i[2],this.AE=i[1]),this.AI=t.D[\"marker.size\"]}})}YF(e){var t=this;t.LL({layer:e,type:\"line\",id:\"line\",initcb:function(){this.B7=t.A.BP[3]}})}LL(e){if(!ZC.move){var t,i,a,n,l,r,o=this,s=e.layer||\"hover\",C=e.id||\"\",A=!1;switch(o.GI=null,null!==ZC._n_(t=e.marker)&&(A=ZC._b_(t)),s){case\"hover\":null!==ZC._n_(o.C.CG[\"p\"+o.A.L])&&null!==ZC._n_(o.C.CG[\"p\"+o.A.L][\"n\"+o.L])||(a=A?o.A.GA:o.A.II,n=\"hover\");break;case\"highlight\":a=A?o.A.VM:o.A.SE,n=\"hover\"}if(null!==ZC._n_(e.state)&&(a=e.state),a&&o.C.D[\"plot\"+o.A.L+\".visible\"]&&a.AM){switch(e.type){case\"box\":(r=new I0(o.A)).QD=!0;break;case\"line\":r=new DU(o.A),l=ZC.Q.E8(o.C.K+\"-\"+n+\"-c\",o.G.AC),r.CY=!1;break;case\"shape\":r=new DU(o.A);break;case\"area\":r=new DU(o.A),l=ZC.Q.E8(o.C.K+\"-\"+n+\"-c\",o.G.AC)}if(A&&(r.D[\"p-width\"]=o.A.B2.A9,r.D[\"p-height\"]=o.A.CK.A9),zingchart.DEV.PLOTSHLAYER&&\"hover\"===n?r.Z=r.C6=ZC.AK(o.C.K+\"-plots-hover-c\"):r.Z=r.C6=ZC.AK(o.C.K+\"-\"+n+\"-c\"),r.K=o.K+\"-\"+(\"\"!==C?C+\"-\":\"\")+s,r.D.plotidx=o.A.L,r.D.nodeidx=o.L,\"hover\"!==s&&(r.A2L=!0),e.initcb&&e.initcb.call(r),r.append(a.o),e.parsecb&&e.parsecb.call(r),\"hover\"===s&&null!==ZC._n_(t=o.A.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(i=t.styles[o.L])&&(\"string\"==typeof i?r.append({\"background-color\":i,\"line-color\":i,\"border-color\":i}):r.append(i)),null!==ZC._n_(t=o.A.o[s+\"-state\"])&&null!==ZC._n_(t.styles)&&null!==ZC._n_(i=t.styles[o.L])&&(\"string\"==typeof i?r.append({\"background-color\":i,\"line-color\":i,\"border-color\":i}):r.append(i)),o.A.I6&&o.GL(r,s),\"hover\"===s&&o.A.A2&&o.A.A2.I6&&(o.A.A2.GL(o.A.A2,r,null,o.LG(null,!1)),r.parse()),r.parse(),r.J0=function(e){return o.J0(e)},r.DB()&&r.parse(),r.AM){switch(e.setupcb&&e.setupcb.call(r),e.type){case\"box\":case\"shape\":r.locate(2),r.paint();break;case\"line\":ZC.CR.setup(l,r),\"plot\"===o.A.A4B?ZC.CR.paint(l,r,o.A.VI):ZC.CR.paint(l,r,o.getNodeData(\"points\"));break;case\"area\":\"spline\"!==o.A.CV&&(null!==ZC._n_(t=a.o[\"alpha-area\"])&&(r.C5=ZC._f_(t)),ZC.CR.setup(l,r),r.paint())}o.GI=r}}}}MR(){}setup(){}I2(){}L8(){var e=this;ZC.Q.ET([e.K+\"-hover-gradient\",e.K+\"-marker-hover-gradient\",e.G.K+\"-tooltip-text-gradient\",e.G.K+\"-tooltip-text-sh-gradient\"])}LG(e,t){var i=this;typeof t===ZC._[31]&&(t=!0);var a=!1;\"none\"!==i.A.J6&&i.C.CG&&i.C.CG[\"p\"+i.A.L]&&i.C.CG[\"p\"+i.A.L][\"n\"+i.L]&&(a=!0);var n={id:i.C.A.K,graphid:i.C.K,graphindex:i.C.L,plotid:i.A.H6,plotindex:i.A.L,nodeindex:i.L,key:null===i.BU?i.L:i.BU,scaleval:i.A.B2?i.A.B2.X[null===i.BU?i.L:i.BU]:null,scaletext:i.A.B2?i.A.B2.FB(i.L,null===i.BU?null:i.A):null,value:i.AD,text:t?i.F0(i.A.K5):i.A.K5,ev:e?ZC.A4.BX(e):null,x:i.iX,y:i.iY,width:i.I,height:i.F,size:i.D[\"marker.size\"]||1,selected:a};for(var l in i.A.KG)i.A.KG[l]instanceof Array?null!==ZC._n_(i.A.KG[l][i.L])&&(n[\"data-\"+l]=i.A.KG[l][i.L]):n[\"data-\"+l]=i.A.KG[l];return n}OZ(e,t){ZC.AP.C0(\"node_\"+t,this.G,this.LG(e))}}class A3N extends MF{setup(){this.RT()}JB(){return{color:this.A.IO?this.A.B7:this.N.B7}}KC(){return{\"background-color\":this.N.B7,\"border-color\":this.N.B7,color:this.N.C1}}getTooltipPosition(e,t){super.getTooltipPosition(e,t,this.NE.AI)}paint(e){var t=this;typeof e===ZC._[31]&&(e=!1),super.paint();var i=t.A.OW,a=t.A.QK,n=t.A.B2,l=t.A.R;if(t.setup(),!t.A.IO||t.C.AJ[\"3d\"]||t.A.FX){t.N.CY=t.CY=!1,t.N.C6=t.A.CN(\"bl\",0);var r=[],o=t.A.CV;(t.C.OH||t.A.UK)&&\"spline\"===t.A.CV&&(o=\"segmented\");var s=typeof t.A.G7!==ZC._[31]?t.A.G7:t.A.W,C=typeof t.A.HK!==ZC._[31]?t.A.HK:t.A.W,A=!0,Z=!0;(null===ZC._n_(l[t.L-s])||\"log\"!==n.C8&&!n.ED&&t.L<=n.V)&&(A=!1);var c,p,u,h,_=t.A.LZ?t.A.R.length:n.A1;switch((null===ZC._n_(l[t.L+C])||\"log\"!==n.C8&&!n.ED&&t.L>=_)&&(Z=!1),o){default:A&&(t.A.FR(t.L-s,0).setup(),t.A.VC&&(c=ZC.AO.JY(t.A.R[t.L-s].iX,t.A.R[t.L-s].iY,t.A.R[t.L].iX,t.A.R[t.L].iY),r.push(c))),r.push([t.iX,t.iY]),Z&&(t.A.FR(t.L+C,2).setup(),c=t.A.VC?ZC.AO.JY(t.A.R[t.L].iX,t.A.R[t.L].iY,t.A.R[t.L+C].iX,t.A.R[t.L+C].iY,t.N.C5):[l[t.L+C].iX,l[t.L+C].iY],r.push(c));break;case\"spline\":if(t.A.E&&(r=t.A.E),t.A.E=[],l[t.L+1]){var d=[],f=[];for(p=-1;p<3;p++)l[t.L+p]?(t.A.FR(t.L+p,2).setup(),i?(d.push(l[t.L+p].iX),f.push(l[t.L+p].iY)):(d.push(l[t.L+p].iY),f.push(l[t.L+p].iX))):0===d.length?i?(f.push(t.iY),d.push(t.iX)):(f.push(t.iX),d.push(t.iY)):(d.push(d[d.length-1]),f.push(f[f.length-1]));var g=ZC._a_(f[2]-f[1]);g=Math.min(g,Math.max(t.C.I,t.C.F));var v=ZC.AO.YS(t.A.QL,d,g);if(t.A.VC){for(p=0;p1&&(b.E=E,D.points=r);for(h in t.A.FV)b[E9.GO[ZC.EC(h)]]=t.A.FV[h],D[ZC.EC(h)]=B[E9.GO[ZC.EC(h)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+\"-\"+t.L]))for(h in t.C.EL[t.A.L+\"-\"+t.L])b[E9.GO[ZC.EC(h)]]=t.C.EL[t.A.L+\"-\"+t.L][h];t.C.EL[t.A.L+\"-\"+t.L]={},ZC._cp_(D,t.C.EL[t.A.L+\"-\"+t.L]);var X=new E9(b,D,t.A.JL,t.A.LB,E9.RU[t.A.LF],function(){I()});X.AW=t,X.OK=function(){t.MR(ZC.Q.E8(t.A.CN(\"bl\",1),t.G.AC))},X.IR=a,t.L5(X)}else ZC.CR.paint(a,B,r),I()}}function I(){!t.C.OH&&ZC.DS(t.iX,n.iX-1,n.iX+n.I+1)&&ZC.DS(t.iY,n.iY-1,n.iY+n.F+1)&&(t.OR(),t.MR(ZC.Q.E8(t.A.CN(\"bl\",1),t.G.AC)),t.A.U&&t.A.U.AM&&t.A.D.vboxid!==t.K&&t.F7())}}paintPreview(e,t){var i=this;if(i.C.BA&&i.C.BA.IM&&i.A.QS){var a,n=i.A.mapPointsToPreview(t);i.A.WQ?a=i.A.WQ:(a=new D0(i),i.A.WQ=a),a.copy(e),a.K=i.K+\"-line-preview\",a.DI=i.A.K+\"-preview\";var l=ZC.Q.E8(i.C.BA.Z,i.G.AC);a.B1=1;var r=i.o[\"preview-state\"];r&&(a.append(r),a.parse()),ZC.CR.paint(l,a,n,null,3)}}I2(e){var t=this;ZC.move||(t.YF(e),t.A.RG&&t.SA(e))}}class A3O extends MF{setup(){this.RT()}JB(){return{color:this.A.IO?this.A.B7:this.N.B7}}KC(){return{\"background-color\":this.N.B7,\"border-color\":this.N.B7,color:this.N.C1}}getTooltipPosition(e,t){return super.getTooltipPosition(e,t,this.NE.AI)}paint(e){var t,i,a,n,l,r,o,s,C=this;typeof e===ZC._[31]&&(e=!1),super.paint();var A=C.A.OW,Z=C.A.QK,c=C.A.B2,p=C.A.CK,u=C.A.R;if(C.setup(),!C.A.IO||C.C.AJ[\"3d\"]||C.A.FX){C.N.CY=C.CY=!1,C.N.C6=C.A.CN(\"bl\",1);var h=p.H8,_=p.AX(h);_=A?ZC._l_(_,p.iX,p.iY+p.I):ZC._l_(_,p.iY,p.iY+p.F);var d=c.DK?c.A9/2:0,f=[],g=[],v=[],B=null;null!==ZC._n_(C.A.A.F3)&&null!==ZC._n_(C.A.A.F3[C.L])&&(B=C.A.A.F3[C.L]);var m=C.A.CV;(C.C.OH||C.A.UK)&&\"spline\"===C.A.CV&&(m=\"segmented\"),i=C.N.B1/2-1,a=\"svg\"===C.G.AC&&ZC.mobile?C.N.HY/4:0,\"vml\"===C.G.AC&&C.A.GB&&(a=.5),C.C.AJ[\"3d\"]&&(1===C.A.HY?a=1:(a=C.A.HY/3,\"canvas\"===C.G.AC&&(ZC.A4.browser.msie||ZC.A4.browser.opera)&&(a=.5)),c.AU&&(a=-a));var b,D=typeof C.A.G7!==ZC._[31]?C.A.G7:C.A.W,E=typeof C.A.HK!==ZC._[31]?C.A.HK:C.A.W,K=!0,F=!0;(!u[C.L-D]||\"log\"!==c.C8&&!c.ED&&C.L<=c.V)&&(K=!1);var X=C.A.LZ?C.A.R.length:c.A1;switch((!u[C.L+E]||\"log\"!==c.C8&&!c.ED&&C.L>=X)&&(F=!1),m){default:if(K)C.A.FR(C.L-D,0).setup(),C.A.VC?(l=ZC.AO.JY(u[C.L-D].iX,u[C.L-D].iY,u[C.L].iX,u[C.L].iY),v.push([ZC._i_(l[0])-a,l[1]-i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(l[0])-a,_]),g.push([ZC._i_(l[0])-a,l[1]+i]),f.push([l[0],l[1]])):g.push([ZC._i_(C.iX),_]);else if(c.ED||C.L!==c.V)C.A.CA&&null!==ZC._n_(B)?(b=C.A.A.A5[C.A.L-1])&&b.R[C.L]&&g.push([ZC._i_(C.iX),b.R[C.L].iY+i]):(g.push([ZC._i_(C.iX),_]),v.push([ZC._i_(C.iX-c.A9/2),_]),v.push([ZC._i_(C.iX),_]));else if(c.AU)C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.I-c.BW-d),_]),g.push([ZC._i_(c.iX+c.I-c.BW-d),C.iY+i]);else{var I=ZC._i_(c.iX+c.A6+d);C.A.LZ&&(I=c.H4(C.A.RF)-c.A9/2),C.A.CA&&null!==ZC._n_(B)||g.push([I,_]),g.push([I,C.iY+i])}v.push([ZC._i_(C.iX),C.iY-i]),g.push([ZC._i_(C.iX),C.iY+i]),f.push([C.iX,C.iY]),F?(C.A.FR(C.L+E,2).setup(),n=C.A.VC?ZC.AO.JY(u[C.L].iX,u[C.L].iY,u[C.L+E].iX,u[C.L+E].iY):[u[C.L+E].iX,u[C.L+E].iY],v.push([ZC._i_(n[0]),n[1]-i]),g.push([ZC._i_(n[0]),n[1]+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(n[0]),_]),l=C.A.VC?ZC.AO.JY(u[C.L].iX,u[C.L].iY,u[C.L+E].iX,u[C.L+E].iY,C.N.C5):[u[C.L+E].iX,u[C.L+E].iY],f.push([l[0],l[1]])):C.L===c.A1?c.AU?(g.push([c.iX+c.A6-d,C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.A6-d),_])):(g.push([c.iX+c.I-c.BW-d,C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.I-c.BW-d),_])):C.A.CA&&null!==ZC._n_(B)?(b=C.A.A.A5[C.A.L-1])&&b.R[C.L]&&g.push([ZC._i_(C.iX),b.R[C.L].iY+i]):(g.push([ZC._i_(C.iX),_]),v.push([ZC._i_(C.iX),_]),v.push([ZC._i_(C.iX+c.A9/2),_]));break;case\"spline\":if(null!==ZC._n_(C.A.D5)&&(v=C.A.D5),null!==ZC._n_(C.A.AG)&&(g=C.A.AG),C.A.D5=[],C.A.AG=[],null!==ZC._n_(C.A.E)&&(f=C.A.E),C.A.E=[],u[C.L+1]){var x=[],y=[];for(r=-1;r<3;r++)u[C.L+r]?(C.A.FR(C.L+r,2).setup(),A?(x.push(u[C.L+r].iX),y.push(u[C.L+r].iY)):(x.push(u[C.L+r].iY),y.push(u[C.L+r].iX))):0===x.length?A?(y.push(C.iY),x.push(C.iX)):(y.push(C.iX),x.push(C.iY)):(x.push(x[x.length-1]),y.push(y[y.length-1]));var Y=ZC._a_(y[2]-y[1]);Y=Math.min(Y,Math.max(C.C.I,C.C.F));var w=ZC.AO.YS(C.A.QL,x,Y);if(C.A.VC){for(0===g.length&&(C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(C.iX+(c.AU?-1:1)*w[0][0]*Y),_])),r=0;r0&&g.push([g[g.length-1][0],_]);break;case\"stepped\":if(K)switch(C.A.FR(C.L-D,0).setup(),l=ZC.AO.JY(u[C.L-D].iX,u[C.L-D].iY,u[C.L].iX,u[C.L].iY),C.A.SY){default:v.push([ZC._i_(l[0])-a,C.iY-i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(l[0])-a,_]),g.push([ZC._i_(l[0])-a,C.iY+i]),f.push(A?[u[C.L-D].iX,l[1]]:[l[0],u[C.L-D].iY]),f.push(A?[C.iX,l[1]]:[l[0],C.iY]);break;case\"before\":v.push([ZC._i_(u[C.L-D].iX)-a,C.iY-i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(u[C.L-D].iX)-a,_]),g.push([ZC._i_(u[C.L-D].iX)-a,C.iY+i]),f.push([u[C.L-D].iX,u[C.L-D].iY]),f.push([u[C.L-D].iX,C.iY]);break;case\"after\":v.push([ZC._i_(C.iX)-a,C.iY-i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(C.iX)-a,_]),g.push([ZC._i_(C.iX)-a,C.iY+i])}else c.ED||C.L!==c.V?C.A.CA&&null!==ZC._n_(B)?(b=C.A.A.A5[C.A.L-1])&&b.R[C.L]&&g.push([ZC._i_(C.iX),b.R[C.L].iY+i]):(g.push([ZC._i_(C.iX),_]),v.push([ZC._i_(C.iX-c.A9/2),_]),v.push([ZC._i_(C.iX),_])):c.AU?(C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.I-c.BW-d),_]),g.push([ZC._i_(c.iX+c.I-c.BW-d),C.iY+i])):(C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.A6+d),_]),g.push([ZC._i_(c.iX+c.A6+d),C.iY+i]));if(v.push([ZC._i_(C.iX),C.iY-i]),g.push([ZC._i_(C.iX),C.iY+i]),f.push([C.iX,C.iY]),F)switch(C.A.FR(C.L+E,2).setup(),l=ZC.AO.JY(u[C.L].iX,u[C.L].iY,u[C.L+E].iX,u[C.L+E].iY,C.N.C5),C.A.SY){default:v.push([ZC._i_(l[0]),C.iY-i]),g.push([ZC._i_(l[0]),C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(l[0]),_]),f.push(A?[C.iX,l[1]]:[l[0],C.iY]);break;case\"before\":v.push([ZC._i_(C.iX),C.iY-i]),g.push([ZC._i_(C.iX),C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(C.iX),_]);break;case\"after\":v.push([ZC._i_(u[C.L+E].iX),C.iY-i]),g.push([ZC._i_(u[C.L+E].iX),C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(u[C.L+E].iX),_]),f.push([u[C.L+E].iX,C.iY]),f.push([u[C.L+E].iX,u[C.L+E].iY])}else C.L===c.A1?c.AU?(g.push([c.iX+c.A6-d,C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.A6-d),_])):(g.push([c.iX+c.I-c.BW-d,C.iY+i]),C.A.CA&&null!==ZC._n_(B)||g.push([ZC._i_(c.iX+c.I-c.BW-d),_])):C.A.CA&&null!==ZC._n_(B)?(b=C.A.A.A5[C.A.L-1])&&b.R[C.L]&&g.push([ZC._i_(C.iX),b.R[C.L].iY+i]):(g.push([ZC._i_(C.iX),_]),v.push([ZC._i_(C.iX),_]),v.push([ZC._i_(C.iX+c.A9/2),_]))}if(C.A.CA&&null!==ZC._n_(B))for(r=B.length-1;r>=0;r--)g.push(B[r]);if(C.setNodeData({points:f,pointsarea:g}),\"ready\"!==C.C.MI&&(C.A.VI=C.A.VI.concat(f)),null===ZC._n_(C.A.A.F3)&&(C.A.A.F3=[]),C.A.A.F3[C.L]=v,!e&&!C.C.AJ[\"3d\"]){var G=C.N=C.A.I3(C,C.N),M=C.C.K+ZC._[34]+C.C.K+ZC._[35]+C.A.L+ZC._[6];G.DI=M,G.K=C.K,C.A.I6&&C.GL(G);var L,P=C.C.P;if(0!==C.A.E4.length||C.A.I6||typeof C.A.A9W===ZC._[31]||C.N.o.override||C.C.KM?((L=new DU(C.A)).copy(G),L.C5=C.A.HY):L=C.A.A9W,C.GL(L),L.C5=ZC._f_(L.o[\"alpha-area\"]||\"1\"),L.CY=!1,L.LC=!0,L.B1=0,L.AT=0,L.EX=0,L.G9=0,L.Z=C.A.CN(\"bl\",C.C.CA?0:1),L.E=g,L.CZ=[P.iX,P.iY,P.iX+P.I,P.iY+P.F],null!==ZC._n_(t=C.A.D[\"min-y\"])&&(L.D[\"bound-1\"]=t,L.CZ[1]=t),null!==ZC._n_(t=C.A.D[\"max-y\"])&&(L.D[\"bound-3\"]=t,L.CZ[3]=t),L.K=C.K+\"-area\",C.A.GB||(L.D.areanode=!0),ZC.CR.setup(Z,G),C.paintPreview(G,f,g),C.A.GB&&!C.C.HM){var N=new DU(C),R={};N.copy(G),N.K=C.K,N.Z=C.A.CN(\"bl\",2),N.C6=C.A.CN(\"bl\",1),N.E=f;var H=L,O={},k=[],T=[];N.E=f,R.points=f,H.E=g,O.points=g;var Q=C.A.LH,z=C.C.P;N.C5=0,R.alpha=G.C5,H.C5=0,O.alpha=C.A.HY;var J,S=function(e){for(var t=e?g:f,i=e?T:k,a=0;a1&&(e?(H.E=T,O.points=g):(N.E=k,R.points=f))};for(J in S(),S(!0),C.A.FV)N[E9.GO[ZC.EC(J)]]=C.A.FV[J],R[ZC.EC(J)]=G[E9.GO[ZC.EC(J)]],H[E9.GO[ZC.EC(J)]]=C.A.FV[J],O[ZC.EC(J)]=G[E9.GO[ZC.EC(J)]];if(null===ZC._n_(C.C.EL)&&(C.C.EL={}),null===ZC._n_(C.C.T2)&&(C.C.T2={}),null!==ZC._n_(C.C.EL[C.A.L+\"-\"+C.L])){for(J in C.C.EL[C.A.L+\"-\"+C.L])N[E9.GO[ZC.EC(J)]]=C.C.EL[C.A.L+\"-\"+C.L][J];for(J in C.C.T2[C.A.L+\"-\"+C.L])H[E9.GO[ZC.EC(J)]]=C.C.T2[C.A.L+\"-\"+C.L][J]}C.C.EL[C.A.L+\"-\"+C.L]={},ZC._cp_(R,C.C.EL[C.A.L+\"-\"+C.L]),C.C.T2[C.A.L+\"-\"+C.L]={},ZC._cp_(O,C.C.T2[C.A.L+\"-\"+C.L]);var V=new E9(N,R,C.A.JL,C.A.LB,E9.RU[C.A.LF],function(){W()});V.AW=C,V.OK=function(){C.MR(ZC.Q.E8(C.A.CN(\"bl\",1),C.G.AC))},V.IR=Z;var U=new E9(H,O,C.A.JL,C.A.LB,E9.RU[C.A.LF],function(){});U.AW=C,C.L5(V,U)}else L.paint(),0!==C.A.E4.length||typeof C.A.A9W!==ZC._[31]||C.N.o.override||C.C.KM||C.C.HM||(C.A.A9W=L),ZC.CR.paint(Z,G,f),W()}}function W(){!C.C.OH&&ZC.DS(C.iX,c.iX-1,c.iX+c.I+1)&&ZC.DS(C.iY,c.iY-1,c.iY+c.F+1)&&(C.OR(),C.MR(ZC.Q.E8(C.A.CN(\"bl\",1),C.G.AC)),C.A.U&&C.A.U.AM&&C.A.D.vboxid!==C.K&&C.F7())}}paintPreview(e,t,i){var a=this;if(a.C.BA&&a.C.BA.IM&&a.A.QS){var n,l=a.C.P,r=a.C.BA,o=a.A.mapPointsToPreview(i),s=new DU(a.A);s.copy(e),s.CY=!0,s.LC=!0,s.B1=0,s.AT=0,s.EX=0,s.G9=0,s.C5=a.A.HY,s.CZ=[l.iX,l.iY,l.iX+l.I,l.iY+l.F],s.K=a.K+\"-area-preview\",s.DI=a.A.K+\"-preview\",s.Z=r.Z;var C=a.A.o[\"preview-state\"];C&&(null!==ZC._n_(C[\"alpha-area\"])?(n=C.alpha,C.alpha=C[\"alpha-area\"]):C.alpha=s.C5,s.append(C),s.parse(),null!==ZC._n_(n)?C.alpha=n:delete C.alpha),s.E=o,s.paint();var A,Z=a.A.mapPointsToPreview(t);a.A.WQ?A=a.A.WQ:(A=new D0(a),a.A.WQ=A),A.copy(e),A.K=a.K+\"-line-preview\",A.DI=a.A.K+\"-preview\";var c=ZC.Q.E8(r.Z,a.G.AC);A.B1=1,C&&(A.append(C),A.parse()),ZC.CR.paint(c,A,Z,null,3)}}I2(e){var t=this;ZC.move||(t.A.OW||t.LL({layer:e,type:\"area\",initcb:function(){this.A0=t.A.BP[2],this.AE=t.A.BP[2],this.E=t.getNodeData(\"pointsarea\")||[]},setupcb:function(){this.B1=0,this.AT=0,this.C5=t.A.HY;var e=t.C.P;this.CZ=[e.iX,e.iY,e.iX+e.I,e.iY+e.F]}}),t.YF(e),t.A.RG&&t.SA(e))}}class ZT extends MF{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT(\"v\")[0]);return[e.iX+e.I/2,e.iY+(t.AU?e.F:0),{reference:e,center:!0}]}HG(e){var t=this,i=\"top-out\",a=t.C.BK(t.A.BT(\"v\")[0]),n=t.AD>=a.H8&&!a.AU||t.ADt.C.P.iY+t.C.P.F-r-5+p[2]&&(s=t.C.P.iY+t.C.P.F-r-5+p[2]-Z)),[ZC._i_(o),ZC._i_(s)]}getPMap(){var e=super.getPMap();return this.addPMap(e,\"barWidth\",\"I\"),e}paint(e){var t,i=this;if(super.paint(),!i.C.AJ[\"3d\"]){typeof e===ZC._[31]&&(e=!1);var a=i.A.B2,n=i.A.CK;i.setup();var l,r,o,s,C,A=n.H8,Z=n.AX(A),c=i.A.PR(),p=c.A9,u=c.ES,h=c.CC,_=c.CS,d=c.F4,f=c.D1,g=c.EZ;if(e?u=i.A.D[\"node-\"+i.L+\"-bar-index\"]:i.A.D[\"node-\"+i.L+\"-bar-index\"]=c.ES,i.A.CA){l=0;for(var v=i.A.A.KF[u],B=0;B0){var F=f;(f=i.A.D1)<=1&&(f*=F),K+=(F-f)/2}var X=f,I=i.iY,x=null!==ZC._n_(i.A.M4[i.L])?i.A.M4[i.L]:0;if(I=i.A.CA&&\"100%\"===i.A.KY?n.AX(100*(i.CQ+x)/i.A.A.F8[i.L][\"%total-\"+i.A.DX]):n.AX(i.CQ+x),i.A.CA){r=\"100%\"===i.A.KY?n.AX(100*(i.CQ-i.AD+x)/i.A.A.F8[i.L][\"%total-\"+i.A.DX]):n.AX(i.CQ-i.AD+x),I=ZC._i_(I),r=ZC._i_(r);var y=!n.AU&&i.AD>=0||n.AU&&i.AD<=0?-1:1,Y=0,w=0;\"\"!==i.A.Q8?(Y=i.UW(i.A.Q8)[0],w=0):Y=i.A.AT,\"\"!==i.A.NZ?(w=i.UW(i.A.NZ)[0],Y=0):w=i.A.AT,Y!==w&&(y=0),o=I-r+y*Y,i.AD<0&&(I=r),n.AU?o>0&&(o=ZC._a_(o),I=r):o<0&&(o=ZC._a_(o),I=r-o),n.AU&&i.AD<0&&(o+=w)}else r=n.AX(x),(o=I-r)<0?(o=ZC._a_(o),I=r-o):I=r;if(i.A.U2&&i.A.CA&&i.A.L>0&&i.A.A.A5[i.A.L-1].R[i.L]&&0===i.A.A.A5[i.A.L-1].R[i.L].AD&&(o-=1,I+=n.AU?1:-1),o<2&&(i.AD>0||i.A.U2)&&(o=1,n.AU?i.A.CA&&i.A.L>0&&(I-=1):i.A.CA?0===i.A.L&&(I-=1):I=x?r-1:Z-2),i.I=X,i.F=o,i.iX=K,i.iY=I,n.AU?i.AD>=n.H8?i.iYVal=I+i.F:i.iYVal=I:i.AD>=n.H8?i.iYVal=I:i.iYVal=I+i.F,i.C.CW){var G=\"middle\";i.C.CW.o.marker&&null!==ZC._n_(t=i.C.CW.o.marker.alignment)&&(G=t),null!==ZC._n_(i.A.o[\"guide-marker\"])&&null!==ZC._n_(t=i.A.o[\"guide-marker\"].alignment)&&(G=t),\"node\"===G&&(i.D.A6B=i.iX+i.I/2)}if(!e){var M;i.setNodeData({x:K,y:I,w:X,h:o});var L=!0;if(\"none\"!==i.A.J6||i.C.J1[i.A.L]||i.C.KM||i.A.T7&&i.A.T7[i.L]?(M=i.N=i.A.I3(i,i.N),L=!1):M=i.N,(0!==i.A.E4.length||i.A.I6||i.N.o.override||i.C.KM)&&(L=!1),i.AM){var P;switch(i.A.CV){default:0!==i.A.E4.length||i.A.I6||typeof i.A.U6===ZC._[31]||i.N.o.override||i.C.KM?(P=new I0(i.A)).copy(M):P=i.A.U6,i.A.I6&&(i.GL(P),P.parse()),P.FE=i.A.FE,P.K=i.K,P.iX=K,P.iY=I,P.I=i.I,P.F=i.F,a.A9<5&&P.I<5?(P.I=ZC.BQ(1,P.I)+1,P.N5=!1,P.CY=!1):(P.N5=!0,P.CY=!0),P.I<5&&a.A1!==a.V&&i.C.P.I/(a.A1-a.V)<1&&(P.R7=!0);break;case\"pyramid\":case\"cone\":0!==i.A.E4.length||i.A.I6||typeof i.A.U6===ZC._[31]||i.N.o.override||i.C.KM?(P=new DU(i.A)).copy(M):P=i.A.U6,i.A.I6&&(i.GL(P),P.parse()),P.K=i.K,n.AU&&!i.A.CA?(C=i.AD>=0?0:i.F,s=i.AD>=0?i.F:0):(C=i.AD>=0?i.F:0,s=i.AD>=0?0:i.F),P.E=[],P.E.push([K+i.I/2-b*i.I/2,I+C],[K+i.I/2+b*i.I/2,I+C]),i.A.CA&&0!==D?P.E.push([K+i.I/2+D*i.I/2,I+s],[K+i.I/2-D*i.I/2,I+s]):P.E.push([K+i.I/2,I+s]),P.E.push([P.E[0][0],P.E[0][1]]),i.setNodeData({points:P.E}),P.iX=K,P.iY=I,P.locate(2)}P.Z=i.A.CN(\"bl\",1),P.C6=i.A.CN(\"bl\",0),i.paintPreview(M,L);var N=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6];P.DI=N;var R=ZC._c_(i.A.o.tolerance,5),H=function(){if(typeof i.paint_!==ZC._[31]&&i.paint_(),i.MR(ZC.Q.E8(P.Z,i.G.AC)),ZC.AO._boxoverlap2_(i,i.C.P,R)&&i.A.FX&&-1===ZC.AV(i.G.KX,ZC._[39])){var e=X<5?.5:-.5,t=o<3?.5:-.5,a=ZC.Q.GG(\"rect\",i.A.E7,P.IZ)+'class=\"'+N+'\" id=\"'+i.K+ZC._[30]+ZC._i_(K+i.A.BJ+ZC.MAPTX-e)+\",\"+ZC._i_(I+i.A.BH+ZC.MAPTX-t)+\",\"+ZC._i_(K+i.A.BJ+X+ZC.MAPTX+e)+\",\"+ZC._i_(I+i.A.BH+o+ZC.MAPTX+t)+'\" />';i.A.A.HX.push(a)}i.A.U&&i.A.U.AM&&i.F7()};if(i.A.GB&&!i.C.HM){var O=P,k={};O.iX=K,O.iY=I,O.I=X,O.F=o,k.x=K,k.y=I,k.width=X,k.height=o;var T,Q=i.A.LH,z=i.C.P;for(T in O.C5=0,k.alpha=M.C5,2===Q?(O.iY=z.iY+z.F/2,O.F=1,k.height=i.F,k.y=I):3===Q?(O.iY=z.iY,O.F=1,k.height=i.F,k.y=I):4===Q?(O.iY=z.iY+z.F,O.F=1,k.height=i.F,k.y=I):5===Q?(O.iX=z.iX,O.I=1,k.width=i.I,k.x=K):6===Q?(O.iX=z.iX+z.I,O.I=1,k.width=i.I,k.x=K):7===Q?(O.iX=z.iX+z.I/2,O.I=1,k.width=i.I,k.x=K):8===Q?(O.iX=K-z.I,k.x=K):9===Q?(O.iX=K+z.I,k.x=K):10===Q?(O.iY=I-z.F,k.y=I):11===Q?(O.iY=I+z.F,k.y=I):12===Q?(O.I=1,k.width=i.I):13===Q&&(O.F=1,k.height=i.F),i.A.FV)O[E9.GO[ZC.EC(T)]]=i.A.FV[T],k[ZC.EC(T)]=M[E9.GO[ZC.EC(T)]];if(null===ZC._n_(i.C.EL)&&(i.C.EL={}),null!==ZC._n_(i.C.EL[i.A.L+\"-\"+i.L]))for(T in i.C.EL[i.A.L+\"-\"+i.L])O[E9.GO[ZC.EC(T)]]=i.C.EL[i.A.L+\"-\"+i.L][T];if(i.C.EL[i.A.L+\"-\"+i.L]={},ZC._cp_(k,i.C.EL[i.A.L+\"-\"+i.L]),ZC.AO._boxoverlap2_(i,i.C.P,R)){var J=new E9(O,k,i.A.JL,i.A.LB,E9.RU[i.A.LF],function(){H()});J.AW=i,J.OK=function(){i.MR(ZC.Q.E8(P.Z,i.G.AC))},i.L5(J)}}else{if(P.AM||0===i.A.E4.length&&!i.A.I6)if(i.A.WB||(i.A.WB={iX:P.iX,iY:P.iY,F:P.F}),i.A.A36)if(i.A.SO)if(i.A.SO.el&&\"RECT\"===i.A.SO.el.tagName.toUpperCase()){var S=!1;if(i.A.QN&&i.A.WB&&ZC._a_(P.iX-i.A.WB.iX)<.75&&ZC._a_(P.iY-i.A.WB.iY)<1.5&&ZC._a_(P.F-i.A.WB.F)<1.5&&(S=!0),!S){i.A.WB={iX:P.iX,iY:P.iY,F:P.F};var V=i.A.SO.el.cloneNode(!1);V.setAttribute(\"id\",i.K),V.setAttribute(\"x\",i.iX),V.setAttribute(\"y\",i.iY),V.setAttribute(ZC._[20],i.F),i.A.SO.df?i.G.G1[P.Z.id].appendChild(V):i.A.SO.el.parentNode.appendChild(V)}}else P.paint();else P.paint(),i.A.SO={id:P.K+\"-path\"},zingchart.DEV.DOMFRAGMENTS&&document.querySelector&&i.G.G1&&i.G.G1[P.Z.id]?(i.A.SO.df=!0,i.A.SO.el=i.G.G1[P.Z.id].querySelector(\"#\"+P.K+\"-path\")):(i.A.SO.df=!1,i.A.SO.el=ZC.AK(i.A.SO.id));else ZC.AO._boxoverlap2_(i,i.C.P,R)&&P.paint();P.AM&&H()}\"svg\"===i.G.AC&&i.A.applyJsRuleSvg(i.A,i.K+\"-path\",i.LG()),0!==i.A.E4.length||i.A.I6||typeof i.A.U6!==ZC._[31]||i.N.o.override||i.C.KM||i.A.GB||(i.A.U6=P)}}}}paintPreview(e,t){var i,a,n=this;if(n.C.BA&&n.C.BA.IM&&n.A.QS){var l=n.C.P,r=n.C.BA,o=r.AQ,s=(n.iX-l.iX)/l.I,C=(n.iY-l.iY)/l.F;n.A.WO?i=n.A.WO:(i=new I0(n.A),n.A.WO=i,i.copy(e),(a=n.A.o[\"preview-state\"])&&(i.append(a),i.parse())),t||(i.copy(e),(a=n.A.o[\"preview-state\"])&&(i.append(a),i.parse())),i.K=n.K+\"-preview\",i.DI=n.A.K+\"-preview\",i.iX=o.iX+o.AT+s*(o.I-2*o.AT),i.iY=o.iY+o.AT+C*(o.F-2*o.AT),i.I=n.I/l.I*(o.I-2*o.AT),i.F=n.F/l.F*(o.F-2*o.AT),o.I/n.A.R.length<10?(i.I=i.I+.5,i.N5=!1,i.CY=!1):(i.N5=!0,i.CY=!0),i.Z=i.C6=r.Z,i.paint()}}I2(e){var t=this;if(e=e||\"hover\",!ZC.move){var i=\"\";switch(t.A.CV){default:i=\"box\";break;case\"pyramid\":i=\"shape\"}t.LL({layer:e,type:i,initcb:function(){this.A0=t.A.BP[3],this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.AE=t.A.BP[2]},setupcb:function(){switch(t.A.CV){default:this.iX=t.getNodeData(\"x\"),this.iY=t.getNodeData(\"y\"),this.I=t.getNodeData(\"w\"),this.F=t.getNodeData(\"h\");var e=t.C.P;this.iYe.iY+e.F&&(this.F=e.iY+e.F-this.iY);break;case\"pyramid\":case\"cone\":this.E=t.getNodeData(\"points\")}}}),t.MR(ZC.Q.E8(t.C.K+ZC._[22],t.G.AC),!0),t.A.RS=null}}}class ZS extends MF{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT(\"v\")[0]);return[e.iX+(t.AU?0:e.I),e.iY+e.F/2,{reference:e,center:!0}]}HG(e){var t=this,i=\"top-out\",a=t.C.BK(t.A.BT(\"v\")[0]),n=t.AD>=a.H8&&!a.AU||t.AD0){var D=h;(h=t.A.D1)<=1&&(h*=D),b+=(D-h)/2}var E=h,K=t.iX,F=null!==ZC._n_(t.A.M4[t.L])?t.A.M4[t.L]:0;if(K=t.A.CA&&\"100%\"===t.A.KY?a.AX(100*(t.CQ+F)/t.A.A.F8[t.L][\"%total-\"+t.A.DX]):a.AX(t.CQ+F),t.A.CA){l=\"100%\"===t.A.KY?a.AX(100*(t.CQ-t.AD+F)/t.A.A.F8[t.L][\"%total-\"+t.A.DX]):a.AX(t.CQ-t.AD+F),K=ZC._i_(K),l=ZC._i_(l);var X=!a.AU&&t.AD>=0||a.AU&&t.AD<=0?1:-1,I=0,x=0;\"\"!==t.A.OP?(I=t.UW(t.A.OP)[0],x=0):I=t.A.AT,\"\"!==t.A.PI?(x=t.UW(t.A.PI)[0],I=0):x=t.A.AT,I!==x&&(X=0),r=K-l+X*I,t.AD>0?K=l:r=ZC._a_(r),a.AU?r>0?(r=ZC._a_(r),K=l):(r=ZC._a_(r),K-=r):r<0&&(r=ZC._a_(r),K=l-r)}else l=a.AX(F),(r=K-l)<0?(r=ZC._a_(r),K=l-r):K=l;if(t.A.U2&&t.A.CA&&t.A.L>0&&t.A.A.A5[t.A.L-1].R[t.L]&&0===t.A.A.A5[t.A.L-1].R[t.L].AD&&(r-=1,K+=a.AU?-1:1),r<1&&(t.AD>0||t.A.U2)&&(r=1,a.AU?t.A.CA?0===t.A.L&&(K-=1):K-=2:t.A.L>0&&t.A.CA&&(K-=1)),t.I=r,t.F=E,t.iX=K,t.iY=b,a.AU?t.AD>=a.H8?t.iXVal=K:t.iXVal=K+t.I:t.AD>=a.H8?t.iXVal=K+t.I:t.iXVal=K,!e){var y;t.setNodeData({x:K,y:b,w:r,h:E});var Y=!0;if(\"none\"!==t.A.J6||t.C.J1[t.A.L]||t.C.KM||t.A.T7&&t.A.T7[t.L]?(y=t.N=t.A.I3(t,t.N),Y=!1):y=t.N,(0!==t.A.E4.length||t.A.I6||t.N.o.override||t.C.KM)&&(Y=!1),t.AM){var w;switch(t.A.CV){default:0!==t.A.E4.length||t.A.I6||typeof t.A.U6===ZC._[31]||t.N.o.override||t.C.KM?(w=new I0(t.A)).copy(y):w=t.A.U6,t.A.I6&&(t.GL(w),w.parse()),w.FE=t.A.FE,w.K=t.K,w.iX=K,w.iY=b,w.I=t.I,w.F=t.F,i.A9<5&&w.F<5?(w.F=ZC.BQ(1,w.F)+1,w.N5=!1,w.CY=!1):(w.N5=!0,w.CY=!0),w.F<5&&i.A1!==i.V&&t.C.P.F/(i.A1-i.V)<1&&(w.R7=!0);break;case\"pyramid\":case\"cone\":0!==t.A.E4.length||t.A.I6||typeof t.A.U6===ZC._[31]||t.N.o.override||t.C.KM?(w=new DU(t.A)).copy(y):w=t.A.U6,t.A.I6&&(t.GL(w),w.parse()),w.K=t.K,a.AU&&!t.A.CA?(s=t.AD>=0?t.I:0,o=t.AD>=0?0:t.I):(s=t.AD>=0?0:t.I,o=t.AD>=0?t.I:0),w.E=[],w.E.push([K+s,b+t.F/2-v*t.F/2],[K+s,b+t.F/2+v*t.F/2]),t.A.CA&&0!==B?w.E.push([K+o,b+t.F/2+B*t.F/2],[K+o,b+t.F/2-B*t.F/2]):w.E.push([K+o,b+t.F/2]),w.E.push([w.E[0][0],w.E[0][1]]),t.D.points=w.E,w.iX=K,w.iY=b,w.locate(2)}w.Z=t.A.CN(\"bl\",1),w.C6=t.A.CN(\"bl\",0),t.paintPreview(y,Y);var G=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];w.DI=G;var M=ZC._c_(t.A.o.tolerance,5),L=function(){if(typeof t.paint_!==ZC._[31]&&t.paint_(),t.MR(ZC.Q.E8(w.Z,t.G.AC)),ZC.AO._boxoverlap2_(t,t.C.P,M)&&t.A.FX&&-1===ZC.AV(t.G.KX,ZC._[39])){var e=r<3?.5:-.5,i=E<5?.5:-.5,a=ZC.Q.GG(\"rect\",t.A.E7,w.IZ)+'class=\"'+G+'\" id=\"'+t.K+ZC._[30]+ZC._i_(K+t.A.BJ+ZC.MAPTX-e)+\",\"+ZC._i_(b+t.A.BH+ZC.MAPTX-i)+\",\"+ZC._i_(K+t.A.BJ+r+ZC.MAPTX+e)+\",\"+ZC._i_(b+t.A.BH+E+ZC.MAPTX+i)+'\" />';t.A.A.HX.push(a)}t.A.U&&t.A.U.AM&&t.F7()};if(t.A.GB&&!t.C.HM){var P=w,N={};P.iX=K,P.iY=b,P.I=r,P.F=E,N.x=K,N.y=b,N.width=r,N.height=E;var R,H=t.A.LH,O=t.C.P;for(R in P.C5=0,N.alpha=y.C5,2===H?(P.iX=O.iX+O.I/2,P.I=1,N.width=t.I,N.x=K):3===H?(P.iX=O.iX+O.I,P.I=1,N.width=t.I,N.x=K):4===H?(P.iX=O.iX,P.I=1,N.width=t.I,N.x=K):5===H?(P.iY=O.iY+O.F,P.F=1,N.height=t.F,N.y=b):6===H?(P.iY=O.iY,P.F=1,N.height=t.F,N.y=b):7===H?(P.iY=O.iY+O.F/2,P.F=1,N.height=t.F,N.y=b):8===H?(P.iY=b+O.F,N.y=b):9===H?(P.iY=b-O.F,N.y=b):10===H?(P.iX=K+O.I,N.x=K):11===H?(P.iX=K-O.I,N.x=K):12===H?(P.F=1,N.height=t.F):13===H&&(P.I=1,N.width=t.I),t.A.FV)P[E9.GO[ZC.EC(R)]]=t.A.FV[R],N[ZC.EC(R)]=t.N[E9.GO[ZC.EC(R)]];if(null===ZC._n_(t.C.EL)&&(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+\"-\"+t.L]))for(R in t.C.EL[t.A.L+\"-\"+t.L])P[E9.GO[ZC.EC(R)]]=t.C.EL[t.A.L+\"-\"+t.L][R];if(t.C.EL[t.A.L+\"-\"+t.L]={},ZC._cp_(N,t.C.EL[t.A.L+\"-\"+t.L]),ZC.AO._boxoverlap2_(t,t.C.P,M)){var k=new E9(P,N,t.A.JL,t.A.LB,E9.RU[t.A.LF],function(){L()});k.AW=t,k.OK=function(){t.MR(ZC.Q.E8(w.Z,t.G.AC))},t.L5(k)}}else(w.AM||0===t.A.E4.length&&!t.A.I6)&&ZC.AO._boxoverlap2_(t,t.C.P,M)&&w.paint(),w.AM&&L();\"svg\"===t.G.AC&&t.A.applyJsRuleSvg(t.A,t.K+\"-path\",t.LG()),0!==t.A.E4.length||t.A.I6||typeof t.A.U6!==ZC._[31]||t.N.o.override||t.C.KM||t.A.GB||(t.A.U6=w)}}}}paintPreview(e,t){var i,a,n=this;if(n.C.BA&&n.C.BA.IM&&n.A.QS){var l=n.C.P,r=n.C.BA,o=r.AQ,s=(n.iX-l.iX)/l.I,C=(n.iY-l.iY)/l.F;n.A.WO?i=n.A.WO:(i=new I0(n.A),n.A.WO=i,i.copy(e),(a=n.A.o[\"preview-state\"])&&(i.append(a),i.parse())),t||(i.copy(e),(a=n.A.o[\"preview-state\"])&&(i.append(a),i.parse())),i.K=n.K+\"-preview\",i.DI=n.A.K+\"-preview\",i.iX=o.iX+o.AT+s*(o.I-2*o.AT),i.iY=o.iY+o.AT+C*(o.F-2*o.AT),i.I=n.I/l.I*(o.I-2*o.AT),i.F=n.F/l.F*(o.F-2*o.AT),o.I/n.A.R.length<10?(i.I=i.I+.5,i.N5=!1,i.CY=!1):(i.N5=!0,i.CY=!0),i.Z=i.C6=r.Z,i.paint()}}I2(e){var t=this;if(!ZC.move){var i=\"\";switch(t.A.CV){default:i=\"box\";break;case\"pyramid\":i=\"shape\"}t.LL({layer:e,type:i,initcb:function(){this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.A0=t.A.BP[3],this.AE=t.A.BP[2]},setupcb:function(){switch(t.A.CV){default:this.iX=t.getNodeData(\"x\"),this.iY=t.getNodeData(\"y\"),this.I=t.getNodeData(\"w\"),this.F=t.getNodeData(\"h\");var e=t.C.P;this.iXe.iX+e.I&&(this.I=e.iX+e.I-this.iX);break;case\"pyramid\":case\"cone\":this.E=t.getNodeData(\"points\")}}}),t.MR(ZC.Q.E8(t.C.K+ZC._[22],t.G.AC),!0),t.A.RS=null}}}class A6J extends MF{setup(){var e=this,t=e.A.B2,i=e.A.CK,a=[t.V,t.A1,i.V,i.A1];if(e.JR!==a){if(\"scatter\"===e.A.AF){if(e.A.LZ&&e.A.QB){var n=ZC.AO.WU(e.A.QB[0],e.A.QB[1]),l=(e.BU-n[0])/(n[1]-n[0]);e.iX=t.H4(e.A.RF)-t.A9/2+e.A.RZ+l*(t.A9-2*e.A.RZ)}else e.iX=t.AX(e.BU);e.iY=i.AX(e.AD)}else e.iY=t.AX(e.BU),e.iX=i.AX(e.AD);e.JR=a}e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BU=this.L)}JB(){return{color:\"-1\"===this.A.A2.A0?this.N.A0:this.A.A2.A0}}getTooltipPosition(e,t){return super.getTooltipPosition(e,t,this.NE.AI)}KC(){return{\"background-color\":\"-1\"===this.A.A2.AE?this.N.AE:this.A.A2.AE,\"border-color\":\"-1\"===this.A.A2.AE?this.N.AE:this.A.A2.AE,color:this.N.C1}}paint(e){var t=this;super.paint();var i=t.A.B2,a=t.A.CK;t.setup(),e||(i.CP?ZC.DS(t.iX,a.iX+(a.AU?a.BW:a.A6)-1,a.iX+a.I-(a.AU?a.A6:a.BW)+1)&&ZC.DS(t.iY,i.iY+(i.AU?i.BW:i.A6)-1,i.iY+i.F-(i.AU?i.A6:i.BW)+1)&&t.OR(!1,!0):ZC.DS(t.iX,i.iX+(i.AU?i.BW:i.A6)-1,i.iX+i.I-(i.AU?i.A6:i.BW)+1)&&ZC.DS(t.iY,a.iY+(a.AU?a.A6:a.BW)-1,a.iY+a.F-(a.AU?a.BW:a.A6)+1)&&t.OR(!1,!0))}I2(e){ZC.move||this.SA(e)}}class A76 extends MF{constructor(e){super(e),this.SW=null}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BU=this.L),this.o[ZC._[9]]instanceof Array&&null!==ZC._n_(this.o[ZC._[9]][2])?this.SW=ZC._f_(this.o[ZC._[9]][2]):this.SW=2}JB(){return{color:\"-1\"===this.A.A2.A0?this.N.A0:this.A.A2.A0}}getTooltipPosition(e,t){var i=this.A.getSize(ZC._a_(this.SW));return super.getTooltipPosition(e,t,i)}KC(){return{\"background-color\":\"-1\"===this.A.A2.AE?this.N.AE:this.A.A2.AE,\"border-color\":\"-1\"===this.A.A2.AE?this.N.AE:this.A.A2.AE,color:this.N.C1}}F0(e,t,i,a){var n=this,l=n.A.LV();ZC._cp_(t,l);var r=ZC.AP.GJ(n.SW,l);return n.CU=[[\"%v0\",n.BU],[\"%v1\",n.AD],[\"%v2\",r],[\"%node-size-value\",r]],e=super.F0(e,t,i,a)}setup(){var e=this,t=e.A.B2,i=e.A.CK,a=[t.V,t.A1,i.V,i.A1];if(e.JR!==a){if(\"bubble\"===e.A.AF){if(e.A.LZ&&e.A.QB){var n=ZC.AO.WU(e.A.QB[0],e.A.QB[1]),l=(e.BU-n[0])/(n[1]-n[0]);e.iX=t.H4(e.A.RF)-t.A9/2+e.A.RZ+l*(t.A9-2*e.A.RZ)}else e.iX=t.AX(e.BU);e.iY=i.AX(e.AD)}else e.iY=t.AX(e.BU),e.iX=i.AX(e.AD);e.JR=a}e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}HG(e){var t,i=this,a=\"auto\";null!==ZC._n_(t=e.o[ZC._[7]])&&(a=t);var n=e.I,l=e.F,r=i.D[\"marker.size\"],o=i.iX-n/2,s=i.iY-l/2,C=0,A=0;switch(a){case\"top\":s-=l/2+r,A=i.iY-i.C.P.iY+r;break;case\"bottom\":s+=l/2+r,A=i.C.P.iY+i.C.P.F-i.iY+r;break;case\"left\":o-=n/2+r,C=i.iX-i.C.P.iX+r;break;case\"right\":o+=n/2+r,C=i.C.P.iX+i.C.P.I-i.iX+r}return null!==ZC._n_(e.o.x)&&(o=e.iX),null!==ZC._n_(e.o.y)&&(s=e.iY),oi.C.P.iX+i.C.P.I&&(o=i.C.P.iX+i.C.P.I-n-C),si.C.P.iY+i.C.P.F&&(s=i.C.P.iY+i.C.P.F-l-A),[ZC._i_(o),ZC._i_(s)]}paint(e){var t=this;typeof e===ZC._[31]&&(e=!1),super.paint();var i=t.A.B2,a=t.A.CK;t.setup(),t.D[\"marker.size\"]=t.A.getSize(ZC._a_(t.SW)),e||(i.CP?ZC.DS(t.iX,a.iX+(a.AU?a.BW:a.A6)-1,a.iX+a.I-(a.AU?a.A6:a.BW)+1)&&ZC.DS(t.iY,i.iY+(i.AU?i.BW:i.A6)-1,i.iY+i.F-(i.AU?i.A6:i.BW)+1)&&t.OR(!1,!0):ZC.DS(t.iX,i.iX+(i.AU?i.BW:i.A6)-1,i.iX+i.I-(i.AU?i.A6:i.BW)+1)&&ZC.DS(t.iY,a.iY+(a.AU?a.A6:a.BW)-1,a.iY+a.F-(a.AU?a.BW:a.A6)+1)&&t.OR(!1,!0))}I2(e){ZC.move||this.SA(e)}}class A9I extends MF{constructor(e){super(e),this.U=null}parse(){super.parse()}X6(){super.X6();var e=this.C.D;e.update.npv=e.update[\"node-percent-value\"]=this.F0(\"%npv\")}F0(e,t,i,a){var n=this,l=n.A.LV();ZC._cp_(t,l),-1===e.indexOf(\"%npv\")&&-1===e.indexOf(\"%node-percent-value\")||null!==ZC._n_(l[ZC._[12]])&&-1!==l[ZC._[12]]||(l[ZC._[12]]=1);var r=0,o=\"0\";if(n.A.A.KQ[n.L]>0&&(o=\"\"+(r=100*n.AD/n.A.A.KQ[n.L])),n.A.A.A5.length>1&&n.A.L===n.A.A.A5.length-1){var s=0;if(null===ZC._n_(n.A.o.totals)){for(var C=0;C0&&(Z=\"\"+(A=100*n.A.A.A5[C].R[n.L].AD/n.A.A.KQ[n.L])),null!==ZC._n_(l[ZC._[12]])&&(Z=A.toFixed(ZC.BQ(0,ZC._i_(l[ZC._[12]])))),s+=ZC._f_(Z)}o=\"\"+(r=Math.max(0,100-s))}}null!==ZC._n_(l[ZC._[12]])&&(o=r.toFixed(ZC.BQ(0,ZC._i_(l[ZC._[12]]))));var c,p=ZC._f_(n.A.A.KQ[n.L]||\"0\");return c=ZC.AP.GJ(p,l,n.A),n.CU=[[\"%node-percent-value\",o],[\"%npv\",o],[\"%pie-total-value\",c]],e=super.F0(e,t,i,a)}getTooltipPosition(e,t){var i,a,n,l=this,r=(l.B3+l.BI)/2%360;switch(t){case\"out\":a=(i=ZC.AO.BL(l.iX,l.iY,l.AI+l.DQ+e.DQ,r))[0]+l.BJ,n=i[1]+l.BH,r>270&&r<=360?n-=e.F:r>90&&r<=180?a-=e.I:r>180&&r<=270&&(a-=e.I,n-=e.F);break;case\"center\":a=(i=ZC.AO.BL(l.iX,l.iY,l.CM+.5*(l.AI-l.CM)+l.DQ,r))[0]+l.BJ,n=i[1]+l.BH;break;default:a=l.iX+l.BJ,n=l.iY+l.BH}return{x:a,y:n}}OM(e){var t,i=this,a=(i.B3+i.BI)/2%360,n=0;null!==ZC._n_(t=e[\"offset-r\"])&&(n=ZC._f_(ZC._p_(t))),n<1&&(n*=i.AI);var l=ZC.AO.BL(i.iX,i.iY,i.CM+.6*(i.AI-i.CM)+i.DQ+n,a);return[l[0],l[1],{reference:i,center:!0}]}A8B(){var e=this,t=(e.B3+e.BI)/2%360,i=ZC.AO.BL(e.iX,e.iY,e.CM+.5*(e.AI-e.CM)+e.DQ,t);return[i[0],i[1]]}setup(){var e=this,t=e.C.BK(e.A.BT(\"k\")[0]),i=e.L%t.H2,a=Math.floor(e.L/t.H2);e.iX=t.iX+i*t.GK+t.GK/2+t.BJ,e.iY=t.iY+a*t.GE+t.GE/2+t.BH,e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}JB(e){var t,i={},a=\"out\";return null!==ZC._n_(t=e.o[ZC._[7]])&&(a=t),i.color=\"out\"===a?this.A0:this.C1,i}HG(e){var t,i=this,a=\"out\";null!==ZC._n_(t=e.o[ZC._[7]])&&(a=t);var n,l,r,o,s,C=e.I,A=e.F,Z=(i.B3+i.BI)/2%360,c=Z;if(\"out\"===a){Z=c=i.A.A.YO[\"n\"+i.L][i.A.L];var p=function(t,a){a<0&&(a=360+a),a%=360;var n=(s=ZC.AO.BL(i.iX,i.iY,t+i.DQ+e.DQ+20,a))[0]+e.BJ-C/2,l=s[1]+e.BH-A/2;return a>=0&&a<=90||a>=270&&a<=360?n+=C/2+10:n-=C/2+10,[n,l]},u=p(i.AI,c);n=u[0],l=u[1],i.U=e;var h={x:n,y:l,width:C,height:A},_=zingchart.DEV.SPREADTYPE;o=!0;for(var d=0,f=0,g=-1,v=0,B=0;o&&B<1024;){o=!1;for(var m=0,b=i.A.A.UC.length;mi.C.P.iX+i.C.P.I||h.xi.C.P.iY+i.C.P.F||h.y100&&(v=0,0===_?(d=0,f+=2):1===_&&(f=0,d+=.4,g*=-1)))}n=h.x,l=h.y,Z=c+d,r={text:i.A.AR,x:h.x,y:h.y,width:C,height:A,plotindex:i.A.L,nodeindex:i.L},i.A.A.UC.push(r)}else if(\"in\"===a||\"radial\"===a){var D=i.CM<30?.65:.5;n=(s=i.B3%360==i.BI%360?0===i.CM?[i.iX,i.iY]:ZC.AO.BL(i.iX,i.iY,i.CM+.3*(i.AI-i.CM)+i.DQ+e.DQ,270):ZC.AO.BL(i.iX,i.iY,i.CM+D*(i.AI-i.CM)+i.DQ+e.DQ,Z))[0]-C/2+i.BJ,l=s[1]-A/2+i.BH}else if(-1!==a.indexOf(\"fixed=\")){var E=a.split(/=|;|,/),K=(i.AI+i.CM)/2,F=Z;E[1]&&(K=(K=ZC.IQ(E[1],!0))>=-1&&K<=1||-1!==E[1].indexOf(\"%\")?i.CM+i.DQ+K*(i.AI-i.CM):i.CM+i.DQ+K),E[2]&&(F=(F=ZC.IQ(E[2],!0))>=-1&&F<=1||-1!==E[2].indexOf(\"%\")?i.B3+F*(i.BI-i.B3):i.B3+F),E[3]&&(\"+\"===E[3].charAt(0)||\"-\"===E[3].charAt(0)?(F%=360,e.AA=F+ZC._f_(E[3]),e.AA>90&&e.AA<270&&(e.AA+=180)):e.AA=ZC._f_(E[3])),n=(s=ZC.AO.BL(i.iX,i.iY,K,F))[0]-C/2,l=s[1]-A/2}else\"center\"===a&&(n=i.iX-C/2+i.BJ,l=i.iY-A/2+i.BH);return o&&(n=-9999,l=-9999,e.AM=!1),null!==ZC._n_(e.o.x)&&(n=e.iX),null!==ZC._n_(e.o.y)&&(l=e.iY),n>=-2&&(n=ZC._a_(n)),l>=-2&&(l=ZC._a_(l)),[ZC._i_(n),ZC._i_(l),Z]}appendToValueBox(e){var t=this,i={};if(\"radial\"===e.o[ZC._[7]]){var a=.9*ZC._a_(t.AI-t.CM),n=Math.PI*(t.AI+t.CM)*.9*ZC._a_(t.BI-t.B3)/360,l=ZC._i_(Math.max(a,n)/(.75*e.DH));if(null===ZC._n_(e.o.visible)?i.visible=1===t.A.A.A5.length||n>1.25*e.DH:i.visible=e.JC.visible,null===ZC._n_(e.o[\"max-chars\"])&&(i[\"max-chars\"]=l),null===ZC._n_(e.o.angle)){var r=(t.B3+t.BI)/2%360;t.A.A.A5.length>1?n>a?r>0&&r<180?r-=90:r+=90:r>90&&r<270&&(r+=180):r=0,i.angle=r}}return i}F7(e,t){var i,a=this,n=super.F7(e,t);if(e)return n;if(a.AM&&n.AM&&null!==ZC._n_(n.AR)&&\"\"!==n.AR){var l=\"out\";if(null!==ZC._n_(i=n.o[ZC._[7]])&&(l=i),\"out\"===l){var r=!0;if(null!==ZC._n_(i=n.o.connected)&&(r=ZC._b_(i)),r){var o=new DU(a.A);o.Z=o.C6=a.A.CN(\"bl\",0),o.append(a.A.C2.o),o.K=a.K+\"-connector\",o.B7=a.A0,o.DP=\"line\",o.E=[];var s=n.D.positioninfo,C=(a.B3+a.BI)/2%360,A=ZC.AO.BL(a.iX,a.iY,a.AI+a.DQ,C);A[0]+=a.BJ,A[1]+=a.BH,o.E.push(A);var Z=ZC.AO.BL(a.iX,a.iY,a.AI+a.DQ+10,C);Z[0]+=a.BJ,Z[1]+=a.BH,n.iX>=a.iX?\"vml\"===a.G.AC?o.E.push([s[0],s[1]+n.F/2]):o.E.push([Z[0],Z[1],s[0],s[1]+n.F/2]):\"vml\"===a.G.AC?o.E.push([s[0]+n.I+2,s[1]+n.F/2]):o.E.push([Z[0],Z[1],s[0]+n.I+2,s[1]+n.F/2]),o.parse(),o.J0=function(e){return a.J0(e)},o.DB()&&o.parse(),o.AM&&o.paint()}}}}paint(){var e,t=this;if(super.paint(),!(t.AD<0)){var i=t.C.BK(t.A.BT(\"k\")[0]);t.setup();var a=\"pie-sel-\"+t.A.L+\"-\"+t.L;if(t.o.detached&&typeof t.C.D[a]===ZC._[31]&&(t.C.D[a]=!0),t.AI=ZC.CX(i.GE,i.GK)/2,null!==ZC._n_(t.A.o[ZC._[21]])){var n=ZC.IQ(t.A.o[ZC._[21]],!1);t.AI=n<=1?t.AI*n:n}else t.AI=i.JT*t.AI;t.CM<=1&&(t.CM*=t.AI),t.CM=Math.max(0,t.CM),t.o[ZC._[8]]=t.CM,t.DQ<=1&&(t.DQ*=t.AI),t.o[\"offset-r\"]=t.DQ,t.C.D[a]&&(t.DQ+=ZC._i_(.15*t.AI));var l=t.N=t.A.I3(t,t);if(t.GL(l),t.AD>=0||0===t.A.A.KQ[t.L]){var r=new DU(t.A);r.K=t.K,r.Z=t.A.CN(\"bl\",1),r.C6=t.A.CN(\"bl\",0),r.copy(l);var o=t.iX,s=t.iY;t.DQ>0&&(o=(e=ZC.AO.BL(t.iX,t.iY,t.DQ,(t.B3+t.BI)/2))[0],s=e[1]),r.iX=o,r.iY=s,r.AI=t.AI,r.o[ZC._[21]]=t.AI,r.DP=\"pie\",r.B3=ZC._f_(t.B3),r.BI=ZC._f_(t.BI),r.CM=t.CM,r.D.plotidx=t.A.L,r.D.nodeidx=t.L,r.parse(),t.G2=r;var C=function(){if(!t.A.KE&&t.AM){var e=r.F1(),i=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],a=ZC.Q.GG(\"poly\",t.A.E7,t.A.IZ)+'class=\"'+i+'\" id=\"'+t.K+ZC._[30]+e+'\" />';t.A.A.HX.push(a)}t.A.U&&t.F7()};if(t.A.GB&&!t.C.HM){var A=r,Z={};A.iX=o,A.iY=s,A.B3=t.B3,A.BI=t.BI,Z.angleStart=t.B3,Z.angleEnd=t.BI,Z.x=o,Z.y=s;var c,p=t.A.LH;for(c in A.C5=0,Z.alpha=l.C5,2===p?(A.BI=t.B3,Z.angleEnd=t.BI):3===p?(A.AI=t.CM,Z.size=t.AI):4===p?(e=ZC.AO.BL(t.iX,t.iY,1.2*t.AI,(t.B3+t.BI)/2),A.iX=e[0],A.iY=e[1],Z.x=o,Z.y=s):5===p&&(A.B3=A.BI=(t.B3+t.BI)/2,Z.angleStart=t.B3,Z.angleEnd=t.BI),t.A.FV)A[E9.GO[ZC.EC(c)]]=t.A.FV[c],Z[ZC.EC(c)]=l[E9.GO[ZC.EC(c)]];if(null===ZC._n_(t.C.EL)&&(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+\"-\"+t.L]))for(c in t.C.EL[t.A.L+\"-\"+t.L])A[E9.GO[ZC.EC(c)]]=t.C.EL[t.A.L+\"-\"+t.L][c];t.C.EL[t.A.L+\"-\"+t.L]={},ZC._cp_(Z,t.C.EL[t.A.L+\"-\"+t.L]);var u=new E9(A,Z,t.A.JL,t.A.LB,E9.RU[t.A.LF],function(){C()});u.AW=t,t.L5(u)}else r.paint(),C()}else t.A.U&&t.F7()}}I2(e){var t=this;ZC.move||t.LL({layer:e,type:\"shape\",initcb:function(){if(this.copy(t),this.iX=t.iX,this.iY=t.iY,t.DQ>0){var e=ZC.AO.BL(t.iX,t.iY,t.DQ,(t.B3+t.BI)/2);this.iX=e[0],this.iY=e[1]}this.AI=t.AI,this.DP=\"pie\",this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.B3=ZC._f_(t.B3),this.BI=ZC._f_(t.BI),this.CM=t.CM},parsecb:function(){this.o[ZC._[21]]=t.AI,this.o[ZC._[8]]=t.CM,this.o[\"offset-r\"]=t.DQ}})}OZ(e,t){var i=this;if(super.OZ(e,t),\"click\"===t&&e.which<=1&&i.A.A89){zingchart.SKIP.ANIMATION=!0,zingchart.SKIP.EVENT=!0;var a=\"pie-sel-\"+i.A.L+\"-\"+i.L;i.C.D[a]=typeof i.C.D[a]===ZC._[31]||!i.C.D[a],i.C.JW(),zingchart.SKIP.EVENT=!1,zingchart.SKIP.ANIMATION=!1}}}class A4Y extends MF{setup(){var e=this,t=e.C.BK(e.A.BT(\"k\")[0]);e.iX=t.iX+t.I/2+t.BJ,e.iY=t.iY+t.F/2+t.BH,e.IM||(e.copy(e.A),e.o[ZC._[8]]=null,e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}A8B(){var e=this,t=(e.B3+e.BI)/2%360,i=ZC.AO.BL(e.iX,e.iY,e.CM+e.D.bandwidth/2+e.DQ,t);return[i[0],i[1]]}F0(e,t,i,a){var n=this,l=n.A.LV();ZC._cp_(t,l);var r=100*n.AD/n.A.A.KQ[n.L],o=\"\"+r;return null!==ZC._n_(l[ZC._[12]])&&(o=r.toFixed(ZC.BQ(0,ZC._i_(l[ZC._[12]])))),n.CU=[[\"%node-percent-value\",o],[\"%npv\",o]],e=super.F0(e,t,i,a)}JB(e){var t={},i=\"in\";return null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]),t.color=\"out\"===i?this.A0:this.C1,t}HG(e){var t=this,i=\"in\";null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]);var a,n,l,r=e.I,o=e.F,s=(t.B3+t.BI)/2%360;return\"out\"===i?t.L===t.A.R.length-1?(l=ZC.AO.BL(t.iX,t.iY,t.A.UG+t.A.R.length*(t.D.bandwidth+t.D.bandspace)+15+e.DQ,s),a=s>=0&&s<90||s>=270&&s<360?l[0]+10+t.BJ:l[0]-r-10+t.BJ,n=l[1]-o/2+t.BH):(a=-1,n=-1):(a=(l=ZC.AO.BL(t.iX,t.iY,t.CM+t.D.bandwidth/2+e.DQ,s))[0]-r/2+t.BJ,n=l[1]-o/2+t.BH),null!==ZC._n_(e.o.x)&&(a=e.iX),null!==ZC._n_(e.o.y)&&(n=e.iY),[ZC._i_(a),ZC._i_(n),s]}F7(e){var t=this,i=super.F7(e);if(e)return i;if(i.AM&&null!==ZC._n_(i.AR)&&\"\"!==i.AR){var a=\"in\";if(null!==ZC._n_(i.o[ZC._[7]])&&(a=i.o[ZC._[7]]),\"out\"===a&&t.L===t.A.R.length-1){var n=new DU(t.A);n.Z=n.C6=t.G.usc()?t.G.mc(\"top\"):t.C.AJ[\"3d\"]||t.G.KE?ZC.AK(t.C.K+\"-plots-vb-c\"):ZC.AK(t.C.K+\"-plot-\"+t.A.L+\"-vb-c\"),n.append(t.A.C2.o),n.B7=t.A0,n.DP=\"line\",n.E=[];var l=(t.B3+t.BI)/2%360,r=ZC.AO.BL(t.iX,t.iY,t.CM+t.D.bandwidth+i.DQ,l),o=ZC.AO.BL(t.iX,t.iY,t.A.UG+t.A.R.length*(t.D.bandwidth+t.D.bandspace)+15+i.DQ,l);r[0]+=t.BJ,o[0]+=t.BJ,r[1]+=t.BH,o[1]+=t.BH,n.E.push(r),l>=0&&l<90||l>=270&&l<360?n.E.push([o[0],o[1],o[0]+10,o[1]]):n.E.push([o[0],o[1],o[0]-10,o[1]]),n.parse(),n.J0=function(e){return t.J0(e)},n.DB()&&n.parse(),n.AM&&n.paint()}}}paint(){var e,t=this;super.paint();var i=t.C.BK(t.A.BT(\"k\")[0]);t.setup(),t.AI=ZC.CX(i.I,i.F)/2,t.AI=i.JT*t.AI,t.CM=t.A.UG,t.CM<1&&(t.CM=t.A.UG*t.AI);var a=t.A.SX;a<1&&(a=t.A.SX*t.AI);var n=2,l=t.AI-t.CM;if(null!==ZC._n_(t.A.aBandWidths)&&null!==ZC._n_(t.A.aBandWidths[t.L])){(n=ZC._f_(t.A.aBandWidths[t.L]))>1&&(n/=100),n=ZC._i_(l*n),n=ZC.BQ(n,2);for(var r=0,o=0;o1&&(r/=100),r=ZC._i_(l*r),t.CM+=r,t.AI=t.CM+n}else n=(l-(t.A.R.length-1)*a)/t.A.R.length,n=ZC.BQ(n,2),t.CM+=t.L*(n+a),t.AI=t.CM+n;var s=t.N=t.A.I3(t,t);t.GL(s);var C=new DU(t.A);C.K=t.K,C.Z=t.A.CN(\"bl\",1),C.C6=t.A.CN(\"bl\",0),C.copy(s),C.iX=t.iX,C.iY=t.iY,C.DP=\"pie\",C.B3=t.B3,C.BI=t.BI,C.CM=t.CM,C.AI=t.AI,C.parse();var A=C.CM;function Z(){var e=C.F1(),i=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],a=ZC.Q.GG(\"poly\",t.A.E7,t.A.IZ)+'class=\"'+i+'\" id=\"'+t.K+ZC._[30]+e+'\" />';t.A.A.HX.push(a),t.A.U&&t.A.U.AM&&t.F7()}if(t.D.bandwidth=n,t.D.bandspace=a,t.A.GB&&!t.C.HM){var c=C,p={};c.B3=t.B3,c.BI=t.BI,p.angleStart=t.B3,p.angleEnd=t.BI;var u=t.A.LH;if(c.C5=0,p.alpha=s.C5,2===u)c.BI=t.B3,p.angleEnd=t.BI;else if(3===u)c.CM=A+t.D.bandwidth,p.slice=A;else if(4===u){var h=ZC.AO.BL(t.iX,t.iY,t.AI,(t.B3+t.BI)/2);c.iX=h[0],c.iY=h[1],p.x=t.iX,p.y=t.iY}else 5===u&&(c.B3=c.BI=(t.B3+t.BI)/2,p.angleStart=t.B3,p.angleEnd=t.BI);for(e in t.A.FV)c[E9.GO[ZC.EC(e)]]=t.A.FV[e],p[ZC.EC(e)]=s[E9.GO[ZC.EC(e)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+\"-\"+t.L]))for(e in t.C.EL[t.A.L+\"-\"+t.L])c[E9.GO[ZC.EC(e)]]=t.C.EL[t.A.L+\"-\"+t.L][e];t.C.EL[t.A.L+\"-\"+t.L]={},ZC._cp_(p,t.C.EL[t.A.L+\"-\"+t.L]);var _=new E9(c,p,t.A.JL,t.A.LB,E9.RU[t.A.LF],function(){Z()});_.AW=t,t.L5(_)}else C.paint(),Z()}I2(e){var t=this;ZC.move||t.LL({layer:e,type:\"shape\",initcb:function(){this.copy(t),this.iX=t.iX,this.iY=t.iY,this.DP=\"pie\",this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.B3=t.B3,this.BI=t.BI,this.CM=t.CM,this.AI=t.AI},parsecb:function(){this.o[ZC._[8]]=null}})}}class A7O extends MF{constructor(e){super(e);var t=this;t.CF=null,t.CL=null,t.MT=\"max\"}F0(e,t,i,a){var n=this;return\"range\"===n.A.CV&&(n.CU=[[\"%node-min-value\",n.CF],[\"%node-max-value\",n.CL]]),e=super.F0(e,t,i,a)}HC(){var e=this;if(\"range\"===e.A.CV&&e.o[ZC._[9]]instanceof Array){var t=e.o[ZC._[9]].length;t>2&&(e.BU=ZC._f_(e.o[ZC._[9]][0])),e.CF=ZC._f_(e.o[ZC._[9]][t-2]),e.CL=ZC._f_(e.o[ZC._[9]][t-1]),e.AD=e.CQ=e.CL,e.DM.push(e.CF)}else super.HC()}setup(){var e=this,t=e.A.B2,i=e.A.CK,a=[t.V,t.A1,i.V,i.A1];if(e.JR!==a){var n;n=\"range\"===e.A.CV?i.ST(\"min\"===e.MT?e.CF:e.CL):i.ST(e.CQ);var l=null!==ZC._n_(e.BU),r=t.A4C(l?e.BU:e.L,n,l);e.iX=r[0],e.iY=r[1],e.JR=a}e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}HG(e){var t,i=this,a=i.A.B2,n=i.A.CK,l=i.C.BK(\"scale\"),r=l.iX+l.I/2,o=l.iY+l.F/2,s=e.I,C=e.F,A=\"out\";null!==ZC._n_(e.o[ZC._[7]])&&(A=e.o[ZC._[7]]);var Z=1.15;switch(A){case\"out\":Z=1.15;break;case\"over\":Z=1;break;case\"in\":Z=.85;break;case\"middle\":Z=.5}var c,p,u=a.EG/(a.X.length-(360===a.EG||a.DK?0:1)),h=n.ST(i.CQ);switch(i.A.CV){case\"matrix\":case\"piano\":var _=(ZC.CX(l.I/2,l.F/2)*l.JT-n.A6)/i.A.A.A5.length;c=n.A6+i.A.L*_,p=n.A6+(i.A.L+1)*_,t=ZC.AO.BL(r,o,(c+p)/2*Z+e.DQ,a.DF+(a.DK?u/2:0)+i.L*u);break;default:if(null!==ZC._n_(i.BU)){var d=a.DF+a.EG*(i.BU-a.B4)/(a.BM-a.B4);t=ZC.AO.BL(r,o,n.A6+h*Z+e.DQ,d)}else t=ZC.AO.BL(r,o,n.A6+h*Z+e.DQ,a.DF+(a.DK?u/2:0)+i.L*u)}return t[0]-=s/2,t[1]-=C/2,null!==ZC._n_(e.o.x)&&(t[0]=e.iX),null!==ZC._n_(e.o.y)&&(t[1]=e.iY),[ZC._i_(t[0]),ZC._i_(t[1])]}JB(){return{color:\"rose\"===this.A.CV?this.A0:this.B7}}KC(){return{\"background-color\":\"rose\"===this.A.CV?this.A0:this.B7,\"border-color\":\"rose\"===this.A.CV?this.A0:this.B7,color:this.C1}}paint(){var e,t,i=this;super.paint();var a,n=i.A.QK,l=i.A.A5D,r=i.A.B2,o=i.A.CK,s=i.A.R;i.setup(),i.CY=!1,i.C6=i.A.CN(\"bl\",0);var C,A,Z=[],c=[],p=[],u=[],h=\"range\"===i.A.CV;function _(){if(i.A.SC>=i.A.R.length&&i.A.YJ){var e=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],t=\"\",n=\"\";-1!==ZC.AV([\"line\",\"area\",\"range\"],i.A.CV)?\"\"!==(n=\"range\"!==i.A.CV||i.A.XV?ZC.AO.Q6(ZC.AO.ZN(i.D.points),4):ZC.AO.Q6(c,4))&&(t=ZC.Q.GG(\"poly\",i.A.E7,i.A.IZ)+'class=\"'+e+'\" id=\"'+i.K+ZC._[30]+n+'\" />'):-1!==ZC.AV([\"rose\",\"column\",\"bar\",\"matrix\",\"piano\"],i.A.CV)&&(n=a.F1(),t=ZC.Q.GG(\"poly\",i.A.E7,i.A.IZ)+'class=\"'+e+'\" id=\"'+i.K+ZC._[30]+n+'\" data-z-sort=\"'+(i.A.A.A5.length-i.A.L)+'\" />'),i.A.A.HX.push(t)}i.A.U&&i.A.D.vboxid!==i.K&&i.F7()}var d=i.N=i.A.I3(i,i);if(i.A.I6&&i.GL(d),-1!==ZC.AV([\"line\",\"area\",\"range\"],i.A.CV)){Z=[],c=[],p=[],u=[];var f=i.iX,g=i.iY,v=i.iX,B=i.iY;h&&(i.MT=\"max\",i.setup(),f=i.iX,g=i.iY,i.MT=\"min\",i.setup(),v=i.iX,B=i.iY),i.A.IO&&(i.A.E.push([f,g]),i.A.AG.push([f,g])),i.L>0?(A=s[i.L-1])&&(A.MT=\"max\",A.setup(),C=ZC.AO.JY(A.iX,A.iY,f,g),Z.push(C),c.push(C),h&&(A.MT=\"min\",A.setup(),C=ZC.AO.JY(A.iX,A.iY,v,B),p.push(C),u.push(C))):(A=s[i.A.R.length-1])&&(A.MT=\"max\",A.setup(),C=ZC.AO.JY(A.iX,A.iY,f,g),Z.push(C),c.push(C),h&&(A.MT=\"min\",A.setup(),C=ZC.AO.JY(A.iX,A.iY,v,B),p.push(C),u.push(C))),Z.push([f,g]),c.push([f,g]),h&&(p.push([v,B]),u.push([v,B])),i.L')}}}I2(e){var t=this;if(!ZC.move&&(super.I2(e),t.FK&&t.FK.AM)){var i=new I0(t.A);i.copy(t.FK),i.Z=ZC.AK(t.C.K+ZC._[22]),i.ME=!1,i.iX=t.FK.iX,i.iY=t.FK.iY,i.paint()}}}class A6G extends ZS{constructor(e){super(e),this.FK=null}F0(e,t,i,a){var n=this,l=n.A.LV();ZC._cp_(t,l);var r=ZC.AP.GJ(n.A.QA[n.L],l);return n.CU=[[\"%node-goal-value\",r],[\"%g\",r]],e=super.F0(e,t,i,a)}HG(e){var t=this;return\"goal\"===ZC._n_(e.o[ZC._[7]])?[t.FK.iX+t.FK.I,t.FK.iY+t.FK.F/2-e.F/2]:super.HG(e)}HC(){var e,t=this;if(t.DM=[],t.CI=t.o[ZC._[9]],\"string\"==typeof t.o[ZC._[9]]){var i=ZC.AV(t.A.CK.JP,t.o[ZC._[9]]);-1!==i?t.AD=i:(t.A.CK.JP.push(t.o[ZC._[9]]),t.AD=t.A.CK.JP.length-1)}else t.AD=ZC._f_(t.o[ZC._[9]]);t.A.o.goals&&null!==ZC._n_(e=t.A.o.goals[t.L])&&t.DM.push(ZC._f_(e))}paint(){super.paint()}paint_(){var e,t,i=this;if(null!==ZC._n_(i.A.QA[i.L])&&i.AM){var a=i.A.CK.AX(i.A.QA[i.L]);i.FK=new I0(i.A),i.FK.K=i.K+\"-goal\",i.FK.copy(i.A.FK),i.FK.Z=i.A.CN(\"fl\",0),i.FK.C6=i.A.CN(\"fl\",0),i.FK.J0=function(e){return i.J0(e)},i.FK.DB()&&i.FK.parse(),null!==ZC._n_(e=i.FK.o)&&null!==ZC._n_(e.styles)&&null!==ZC._n_(t=e.styles[i.L])&&(\"string\"==typeof t?i.FK.append({\"background-color\":t}):i.FK.append(t),i.FK.parse());var n=.2;if(null!==ZC._n_(e=i.FK.o.extension)&&(n=ZC._f_(e)),i.FK.iY=i.getNodeData(\"y\")-i.F*n,i.FK.F=i.F*(1+2*n),null===ZC._n_(i.A.FK.o[ZC._[19]])&&(i.FK.I=ZC.CX(5,i.C.P.I/30)),i.FK.iX=a-i.FK.I/2,i.FK.AM){i.FK.paint();var l=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6];i.A.A.HX.push(ZC.Q.GG(\"rect\",i.A.E7,i.A.IZ)+'class=\"'+l+'\" id=\"'+i.K+\"--goal\"+ZC._[30]+ZC._i_(i.FK.iX+i.A.BJ+ZC.MAPTX)+\",\"+ZC._i_(i.FK.iY+i.A.BH+ZC.MAPTX)+\",\"+ZC._i_(i.FK.iX+i.A.BJ+i.FK.I+ZC.MAPTX)+\",\"+ZC._i_(i.FK.iY+i.A.BH+i.FK.F+ZC.MAPTX)+'\" />')}}}I2(e){var t=this;if(!ZC.move&&(super.I2(e),t.FK&&t.FK.AM)){var i=new I0(t.A);i.copy(t.FK),i.Z=ZC.AK(t.C.K+ZC._[22]),i.ME=!1,i.iX=t.FK.iX,i.iY=t.FK.iY,i.paint()}}}class A7R extends MF{HC(){var e,t=this;t.o[ZC._[9]]instanceof Array&&null!==ZC._n_(t.o[ZC._[9]][1])&&(t.CI=t.o[ZC._[9]][1],\"string\"==typeof t.o[ZC._[9]][0]?-1!==(e=ZC.AV(t.A.B2.IW,t.o[ZC._[9]][0]))?t.BU=e:(t.A.B2.IW.push(t.o[ZC._[9]][0]),t.BU=t.A.B2.IW.length-1):t.BU=ZC._f_(t.o[ZC._[9]][0]),\"string\"==typeof t.o[ZC._[9]][1]?-1!==(e=ZC.AV(t.A.CK.JP,t.o[ZC._[9]][1]))?t.AD=e:(t.A.CK.JP.push(t.o[ZC._[9]][1]),t.AD=t.A.CK.JP.length-1):t.AD=ZC._f_(t.o[ZC._[9]][1]),null!==t.BU&&t.A.TB(t.BU,t.L))}setup(){var e=this,t=e.A.B2,i=e.A.CK,a=[t.V,t.A1,i.V,i.A1];e.JR!==a&&(t.AU?e.iX=t.iX+t.I-t.A6-(e.L-t.V+1)*t.A9:e.iX=t.iX+t.A6+(e.L-t.V)*t.A9,i.AU?e.iY=i.iY+i.A6+(e.A.L-i.B4)*i.A9:e.iY=i.iY+i.F-i.A6-(e.A.L-i.B4+1)*i.A9,e.JR=a),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0),e.GL(e)}HG(e){var t=this,i=\"over\";null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]);var a=e.I,n=e.F,l=t.iX+t.I/2-a/2,r=t.iY+t.F/2-n/2;switch(i){case\"top\":r-=t.F/2+n/2+2;break;case\"left\":l-=t.I/2+a/2+2;break;case\"bottom\":r+=t.F/2+n/2+2;break;case\"right\":l+=t.I/2+a/2+2}return null!==ZC._n_(e.o.x)&&(l=e.iX),null!==ZC._n_(e.o.y)&&(r=e.iY),[ZC._i_(l),ZC._i_(r)]}JB(){return{color:\"#000\"}}getFormatValue(){return this.CI}F0(e,t,i,a){var n,l=this,r=l.A.CK,o=l.A.L;return n=null!==ZC._n_(r.BY[o])?r.BY[o]:r.X[o],l.CU=[[\"%y\",n],[\"%scale-value-label\",n]],e=super.F0(e,t,i,a)}RT(){var e=this;e.setup();var t,i=e.A.B2,a=e.A.CK;switch(e.A.A7U){case\"plot-max\":t=(ZC._f_(e.AD)-e.A.YT)/(e.A.A5R-e.A.YT);break;case\"plot-total\":t=(ZC._f_(e.AD)-e.A.YT)/(e.A.A6W-e.A.YT);break;case\"chart-max\":t=(ZC._f_(e.AD)-e.A.XC)/(e.A.A48-e.A.XC);break;case\"chart-total\":t=(ZC._f_(e.AD)-e.A.XC)/(e.A.A5W-e.A.XC)}switch(ZC.PK(t)||(t=.5),e.I=i.A9,e.F=a.A9,e.A.CV){case\"alpha\":case\"brightness\":e.C5=e.A.QH+t*(e.A.VB-e.A.QH);break;case\"horizontal\":e.I=1.01+e.A.QH*i.A9+t*i.A9*(e.A.VB-e.A.QH),i.AU&&(e.iX=e.iX+i.A9-e.I);break;case\"vertical\":e.F=1.01+e.A.QH*a.A9+t*a.A9*(e.A.VB-e.A.QH),a.AU||(e.iY=e.iY+a.A9-e.F);break;case\"size\":e.I=1.01+e.A.QH*i.A9+t*i.A9*(e.A.VB-e.A.QH),e.F=1.01+e.A.QH*a.A9+t*a.A9*(e.A.VB-e.A.QH),e.iX+=(i.A9-e.I)/2,e.iY+=(a.A9-e.F)/2}e.iX-=e.AT/2,e.iY-=e.AT/2,e.I+=e.AT,e.F+=e.AT}paint(){var e=this;super.paint(),e.RT();var t=e.C.P;if(!(e.iY+5=t.iY+t.F)){if(e.AM){var i=zingchart.pool.getInstance(\"I0\",e,e.A.K+\"-piano-box\");if(i.K=e.K,i.copy(e),(\"none\"!==e.A.J6||e.C.J1[e.A.L]||e.C.KM||e.A.T7&&e.A.T7[e.L])&&i.copy(e.A.I3(e,i)),i.iX=e.iX,i.iY=e.iY,i.I=e.I,i.F=e.F,i.Z=e.A.CN(\"bl\",1),i.C6=e.A.CN(\"bl\",0),(-1!==i.BV&&i.AT>0||i.Q8+i.OP+i.NZ+i.PI!==\"\"||-1!==i.A0||-1!==i.AE||\"\"!==i.D8||\"\"!==i.GT||\"\"!==i.HS)&&(i.paint(),!i.KE)){var a=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6];e.A.A.HX.push(ZC.Q.GG(\"rect\",e.A.E7,e.A.IZ)+'class=\"'+a+'\" id=\"'+e.K+ZC._[30]+ZC._i_(e.iX+ZC.MAPTX)+\",\"+ZC._i_(e.iY+ZC.MAPTX)+\",\"+ZC._i_(e.iX+e.I+ZC.MAPTX)+\",\"+ZC._i_(e.iY+e.F+ZC.MAPTX)+'\" />')}}e.A.U&&e.A.U.AM&&e.F7()}}I2(e){var t=this;ZC.move||t.LL({layer:e,type:\"box\",initcb:function(){this.AE=t.A.BP[3],this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.A0=t.A.BP[2]},setupcb:function(){this.iX=t.iX,this.iY=t.iY,this.I=t.I,this.F=t.F}})}}class A6F extends MF{setup(){var e=this,t=e.A.B2,i=e.A.CK,a=[t.V,t.A1,i.V,i.A1];e.JR!==a&&(t.AU?e.iX=t.iX+t.I-t.A6-(e.L+1)*t.A9:e.iX=t.iX+t.A6+e.L*t.A9,i.AU?e.iY=i.iY+i.A6+e.A.L*i.A9:e.iY=i.iY+i.F-i.A6-(e.A.L+1)*i.A9,e.JR=a),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}F0(e,t,i,a){var n,l,r=this,o=ZC._f_(r.A.A.F8[\"%pstack-\"+r.L+\"-0-sum\"]||\"0\"),s=r.A.LV();if(ZC._cp_(t,s),r.CU=[],r.A.L>0&&r.A.A.A5[r.A.L-1]&&r.A.A.A5[r.A.L-1].R[r.L]?l=\"\"+(n=100*r.AD/r.A.A.A5[r.A.L-1].R[r.L].AD):(n=100,l=\"100\"),null!==ZC._n_(s[ZC._[12]])&&(l=n.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),r.CU.push([\"%output-percent-value\",l]),o>0){var C=100*r.AD/o,A=\"\"+C;null!==ZC._n_(s[ZC._[12]])&&(A=C.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),r.CU.push([\"%node-percent-value\",A]),r.CU.push([\"%npv\",A])}return e=super.F0(e,t,i,a)}paint(){var e,t,i,a,n,l,r,o,s,C,A,Z,c,p=this;super.paint();var u=p.A.B2,h=p.A.CK;p.setup(),\"static\"===p.A.A35?(p.C.AZ.SN[p.L],e=p.C.AZ.A8A[p.L]):(p.C.AZ.B4,e=p.C.AZ.BM);var _=p.A.L6;_<=1&&(_*=u.A9);var d=p.A.NV;d<=1&&(d*=u.A9);var f=p.A.M6;f<=1&&(f*=u.A9);var g=u.A9-_-d-f,v=f+g*(p.AD/e),B=0;p.A.L+1')}for(t=0,i=p.A.P6.length;t0&&r.A.A.A5[r.A.L-1]&&r.A.A.A5[r.A.L-1].R[r.L]?l=\"\"+(n=100*r.AD/r.A.A.A5[r.A.L-1].R[r.L].AD):(n=100,l=\"100\"),null!==ZC._n_(s[ZC._[12]])&&(l=n.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),r.CU.push([\"%output-percent-value\",l]),o>0){var C=100*r.AD/o,A=\"\"+C;null!==ZC._n_(s[ZC._[12]])&&(A=C.toFixed(ZC.BQ(0,ZC._i_(s[ZC._[12]])))),r.CU.push([\"%node-percent-value\",A]),r.CU.push([\"%npv\",A])}return e=super.F0(e,t,i,a)}HG(e){var t,i=this,a=i.A.B2,n=i.A.CK;null!==ZC._n_(e.o[ZC._[7]])&&(t=e.o[ZC._[7]]);var l=i.iX+n.A9/2-e.I/2,r=i.iY+a.A9/2-e.F/2,o=i.D[\"entry-exit\"],s=(o[0]+o[1])/2;switch(t){case\"in\":case\"auto\":break;case\"top\":l=i.iX+n.A9-e.I-5;break;case\"bottom\":l=i.iX+5;break;case\"left\":r=i.iY+a.A9/2-s/2+5;break;case\"left-out\":r=i.iY+a.A9/2-s/2-e.F-5;break;case\"right\":r=i.iY+a.A9/2+s/2-e.F-5;break;case\"right-out\":r=i.iY+a.A9/2+s/2+5}return null!==ZC._n_(e.o.x)&&(l=e.iX),null!==ZC._n_(e.o.y)&&(r=e.iY),[ZC._i_(l),ZC._i_(r)]}paint(){var e,t,i,a,n,l,r,o,s,C,A,Z,c,p=this;super.paint();var u=p.A.B2,h=p.A.CK;p.setup(),\"static\"===p.A.A35?(p.C.AZ.SN[p.L],e=p.C.AZ.A8A[p.L]):(p.C.AZ.B4,e=p.C.AZ.BM);var _=p.A.L6;_<=1&&(_*=u.A9);var d=p.A.NV;d<=1&&(d*=u.A9);var f=p.A.M6;f<=1&&(f*=u.A9);var g=u.A9-_-d-f,v=f+g*(p.AD/e),B=0;p.A.L+1')}for(t=0,i=p.A.P6.length;te.AD?(e.A.o[\"trend-up\"]&&(e.J4.append(e.A.o[\"trend-up\"]),e.J4.parse()),e.A.N2.up||(e.A.N2.up=new DR(e.A),e.A.N2.up.copy(e.J4),e.A.N2[ZC._[21]]++)):(e.A.o[\"trend-equal\"]&&(e.J4.append(e.A.o[\"trend-equal\"]),e.J4.parse()),e.A.N2.equal||(e.A.N2.equal=new DR(e.A),e.A.N2.equal.copy(e.J4),e.A.N2[ZC._[21]]++)),e.IM=!0),e.A.IO){e.DM[2]e.AD?e.J4=e.A.N2.up:e.J4=e.A.N2.equal;var n=ZC.CX(e.D.XR,e.D.VZ),l=ZC.BQ(e.D.XR,e.D.VZ)-ZC.CX(e.D.XR,e.D.VZ);l<2&&(l=2),e.D.A87=n+l/2}}F0(e,t,i,a){var n=this,l=n.A.LV();function r(e){return ZC.AP.GJ(e,l)}return ZC._cp_(t,l),n.CU=[[\"%node-value-stock-open\",r(n.AD)],[\"%open\",r(n.AD)],[\"%v0\",r(n.AD)],[\"%node-value-stock-high\",r(n.DM[0])],[\"%high\",r(n.DM[0])],[\"%v1\",r(n.DM[0])],[\"%node-value-stock-low\",r(n.DM[1])],[\"%low\",r(n.DM[1])],[\"%v2\",r(n.DM[1])],[\"%node-value-stock-close\",r(n.DM[2])],[\"%close\",r(n.DM[2])],[\"%v3\",r(n.DM[2])]],e=super.F0(e,t,i,a)}HC(){var e,t,i=this;if(i.DM=[],i.o[ZC._[9]]instanceof Array&&5===i.o[ZC._[9]].length)i.BU=ZC._f_(i.o[ZC._[9]][0]),null!==i.BU&&(null!==ZC._n_(i.A.K7[i.BU])&&-1!==ZC.AV(i.A.K7[i.BU],i.L)||i.A.TB(i.BU,i.L)),t=[i.o[ZC._[9]][1],i.o[ZC._[9]][2],i.o[ZC._[9]][3],i.o[ZC._[9]][4]];else if(i.o[ZC._[9]][1]instanceof Array){if(\"string\"==typeof i.o[ZC._[9]][0]){var a=ZC.AV(i.A.B2.IW,i.o[ZC._[9]][0]);-1!==a?i.BU=a:(i.A.B2.IW.push(i.o[ZC._[9]][0]),i.BU=i.A.B2.IW.length-1)}else i.BU=ZC._f_(i.o[ZC._[9]][0]);null!==i.BU&&(null!==ZC._n_(i.A.K7[i.BU])&&-1!==ZC.AV(i.A.K7[i.BU],i.L)||i.A.TB(i.BU,i.L)),t=i.o[ZC._[9]][1]}else t=i.o[ZC._[9]];i.CI=t.join(\" \"),i.AD=ZC._f_(t[0]),null!==ZC._n_(e=t[1])&&i.DM.push(ZC._f_(e)),null!==ZC._n_(e=t[2])&&i.DM.push(ZC._f_(e)),null!==ZC._n_(e=t[3])&&i.DM.push(ZC._f_(e))}JB(){var e=this,t={};return e.DM[2]1&&(c>1?Z=(C-(l-1)*A+(l-1)*c)/l:c*=Z=(C-(l-1)*A)/(l-(l-1)*c)),Z=ZC._l_(Z,1,C);var p=t.iX-a/2+o+n*(Z+A)-n*c;p=ZC._l_(p,t.iX-a/2+o,t.iX+a/2-s);var u,h=Z,_=ZC.CX(t.D.XR,t.D.VZ),d=ZC.BQ(t.D.XR,t.D.VZ)-ZC.CX(t.D.XR,t.D.VZ);if(d<2&&(d=2),o+s===0&&(p-=.5,h+=1),t.I=h,t.F=d,t.iX=p,t.D.A87=_+d/2,t.setNodeData({x:p,y:_,w:h,h:d}),t.AM){u=ZC.Q.E8(t.G.usc()?t.G.K+\"-main-c\":t.G.KE?t.C.K+\"-plots-bl-c\":t.C.K+\"-plot-\"+t.A.L+\"-bl-1-c\",t.G.AC);var f=t.iX+t.I/2;t.DM[2]t.AD&&(e=t.A.o[\"trend-up\"])?(t.D[ZC._[73]]=e[ZC._[73]],t.D[ZC._[72]]=e[ZC._[72]]):t.DM[2]===t.AD&&(e=t.A.o[\"trend-equal\"])&&(t.D[ZC._[73]]=e[ZC._[73]],t.D[ZC._[72]]=e[ZC._[72]]);var g,v=t.A.I3(t,t.J4);switch(t.A.CV){default:var B,m;(g=[]).push([f,t.D.AAM],[f,ZC.CX(t.D.XR,t.D.VZ)],null,[f,t.D.AB8],[f,ZC.BQ(t.D.XR,t.D.VZ)]),ZC.CR.paint(u,v,g),m=t.DM[2]t.AD?t.A.ACQ:t.A.ABS,0!==t.A.E4.length||typeof m===ZC._[31]||t.N.o.override||t.C.KM?(B=new I0(t.A)).copy(v):B=m,t.GL(B),B.Z=t.A.CN(\"bl\",1),B.C6=t.A.CN(\"bl\",0),B.K=t.K,B.iX=p,B.iY=_,B.I=t.I,B.F=t.F,B.paint(),0!==t.A.E4.length||typeof m!==ZC._[31]||t.N.o.override||t.C.KM||(t.DM[2]t.AD?t.A.ACQ=B:t.A.ABS=B);break;case\"whisker\":case\"ohlc\":g=[];var b=Math.max(t.I/4,4);g.push([f,t.D.AAM],[f,t.D.AB8],null,[f-b,t.D.XR],[f,t.D.XR],null,[f+b,t.D.VZ],[f,t.D.VZ]),t.GL(v),ZC.CR.paint(u,v,g)}if(t.A.FX){var D=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];t.A.A.HX.push(ZC.Q.GG(\"rect\",t.A.E7,t.A.IZ)+'class=\"'+D+'\" id=\"'+t.K+ZC._[30]+ZC._i_(p+ZC.MAPTX)+\",\"+ZC._i_(t.D.AAM+ZC.MAPTX)+\",\"+ZC._i_(p+h+ZC.MAPTX)+\",\"+ZC._i_(t.D.AB8+ZC.MAPTX)+'\" />')}t.A.U&&t.A.U.AM&&t.F7()}}I2(){var e=this;if(!ZC.move&&e.A.II&&e.A.AM)switch(super.I2(),e.A.CV){case\"candlestick\":var t=new I0(e.A);t.K=e.K+\"-hover\",t.Z=ZC.AK(e.C.K+ZC._[22]),t.C1=e.A.BP[0],t.AE=e.A.BP[3],t.B7=e.A.BP[1],t.BV=e.A.BP[1],t.A0=e.A.BP[2],t.append(e.A.II.o),t.QD=!0,t.parse(),t.J0=function(t){return e.J0(t)},t.DB()&&t.parse(),e.DM[2]e.AD&&e.A.o[\"trend-up\"]?(t.append(e.A.o[\"trend-up\"]),t.append(e.A.o[ZC._[71]]),e.A.o[\"trend-up\"][ZC._[71]]&&t.append(e.A.o[\"trend-up\"][ZC._[71]]),t.parse()):e.DM[2]===e.AD&&e.A.o[\"trend-equal\"]&&(t.append(e.A.o[\"trend-equal\"]),t.append(e.A.o[ZC._[71]]),e.A.o[\"trend-equal\"][ZC._[71]]&&t.append(e.A.o[\"trend-equal\"][ZC._[71]]),t.parse()),t.iX=e.getNodeData(\"x\"),t.iY=e.getNodeData(\"y\"),t.I=e.getNodeData(\"w\"),t.F=e.getNodeData(\"h\");var i=e.C.P;t.iYi.iY+i.F&&(t.F=i.iY+i.F-t.iY),t.AM&&t.paint()}}}class A82 extends MF{setup(){var e=this,t=e.C.BK(e.A.BT(\"k\")[0]),i=e.C.BK(e.A.BT(\"v\")[0]),a=e.L%t.H2,n=Math.floor(e.L/t.H2),l=i.EG/(i.BM-i.B4);e.iX=t.iX+a*t.GK+t.GK/2,e.iY=t.iY+n*t.GE+t.GE/2,e.D.angle=i.DF-i.EG/2+l*(e.AD-i.B4),i.AU&&(e.D.angle=i.DF+i.EG/2-l*(e.AD-i.B4)),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(!1),e.IM=!0)}HG(e){var t,i,a,n=e.I,l=e.F,r=this,o=r.C.BK(r.A.BT(\"k\")[0]),s=ZC.CX(o.GK/2,o.GE/2)*o.JT,C=r.L%o.H2,A=Math.floor(r.L/o.H2),Z=o.iX+C*o.GK+o.GK/2+o.BJ,c=o.iY+A*o.GE+o.GE/2+o.BH;switch(e.o[ZC._[7]]){case\"center\":i=Z-n/2+r.BJ,a=c-l/2+r.BH;break;case\"edge\":i=(t=ZC.AO.BL(Z,c,s+e.DQ,r.D.angle))[0]-n/2+r.BJ,a=t[1]-l/2+r.BH;break;case\"tip\":i=(t=ZC.AO.BL(Z,c,r.D[ZC._[21]]+e.DQ,r.D.angle))[0]-n/2+r.BJ,a=t[1]-l/2+r.BH;break;default:i=(t=ZC.AO.BL(Z,c,s/2+e.DQ,r.D.angle))[0]-n/2+r.BJ,a=t[1]-l/2+r.BH}return null!==ZC._n_(e.o.x)&&(i=e.iX),null!==ZC._n_(e.o.y)&&(a=e.iY),[ZC._i_(i),ZC._i_(a)]}JB(){return{color:this.A0}}KC(){return{\"background-color\":this.A0,\"border-color\":this.B7,color:this.C1}}paint(){var e,t=this;super.paint(),t.setup(),t.CY=!1;var i=t.C.BK(t.A.BT(\"k\")[0]),a=ZC.CX(i.GK/2,i.GE/2)*i.JT,n=t.L%i.H2,l=Math.floor(t.L/i.H2),r=i.iX+n*i.GK+i.GK/2+i.BJ,o=i.iY+l*i.GE+i.GE/2+i.BH,s=ZC.IQ(t.A.o[ZC._[21]]||\"0.9\",!1);s>0&&s<=1&&(s*=a),t.D[ZC._[21]]=s;var C=t.N=t.A.I3(t,t),A=new DU(t.A);function Z(i){var n=[],l=t.A.HZ;l[4]>-1&&l[4]<1&&(l[4]=ZC._i_(l[4]*a));var C=ZC.AO.BL(r,o,l[4],i);if(l[0]>=0)for(e=-l[2];e<=180+l[2];e+=5)n.push(ZC.AO.BL(C[0],C[1],l[0],i+270-e));else n.push(ZC.AO.BL(C[0],C[1],ZC._a_(l[0]),i-90)),n.push(ZC.AO.BL(C[0],C[1],ZC._a_(l[0]),i+90));if(0===l[1])n.push(ZC.AO.BL(r,o,s>0?s:.9*a,i));else if(l[1]>0)for(C=ZC.AO.BL(r,o,s>0?s:.9*a,i),e=-l[3];e<=180+l[3];e+=5)n.push(ZC.AO.BL(C[0],C[1],l[1],i-270-e));else C=ZC.AO.BL(r,o,(s>0?s:.9*a)+l[1],i),n.push(ZC.AO.BL(C[0],C[1],ZC._a_(l[1]/(90/l[3])),i+90),ZC.AO.BL(C[0],C[1],ZC._a_(l[1]),i+90),ZC.AO.BL(r,o,s>0?s:.9*a,i),ZC.AO.BL(C[0],C[1],ZC._a_(l[1]),i+270),ZC.AO.BL(C[0],C[1],ZC._a_(l[1]/(90/l[3])),i+270));return n.push([n[0][0],n[0][1]]),n}function c(){var e=A.F1(),i=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],a=ZC.Q.GG(\"poly\",t.A.E7,t.A.IZ)+'class=\"'+i+'\" id=\"'+t.K+ZC._[30]+e+'\" />';t.A.A.HX.push(a)}A.copy(C),A.Z=t.A.CN(\"bl\",1),A.C6=t.A.CN(\"bl\",0),A.K=t.K+\"-arrow\";var p=t.C.BK(t.A.BT(\"v\")[0]),u=p.DF-p.EG/2,h=Z(t.D.angle);if(t.D.points=h,A.DP=\"poly\",A.E=h,A.parse(),A.J0=function(e){return t.J0(e)},A.DB()&&A.parse(),t.A.GB&&!t.C.HM){var _,d=A,f={},g=t.A.LH;for(_ in d.C5=0,f.alpha=C.C5,2===g&&(d.A34=u,f.A34=t.D.angle),t.A.FV)d[E9.GO[ZC.EC(_)]]=t.A.FV[_],f[ZC.EC(_)]=C[E9.GO[ZC.EC(_)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+\"-\"+t.L]))for(_ in t.C.EL[t.A.L+\"-\"+t.L]){var v=E9.GO[ZC.EC(_)];null===ZC._n_(v)&&(v=_),d[v]=t.C.EL[t.A.L+\"-\"+t.L][_]}t.C.EL[t.A.L+\"-\"+t.L]={},ZC._cp_(f,t.C.EL[t.A.L+\"-\"+t.L]);var B=new E9(d,f,t.A.JL,t.A.LB,E9.RU[t.A.LF],function(){c()});B.AW=t,B.A0W=function(e,t){null!==ZC._n_(t.A34)&&(e.E=Z(t.A34))},t.L5(B),t.A.U&&t.F7()}else A.paint(),t.A.U&&t.F7(),c()}I2(e){var t=this;ZC.move||t.LL({layer:e,type:\"shape\",initcb:function(){this.copy(t),this.B7=t.A.BP[1],this.BV=t.A.BP[1],this.A0=t.A.BP[3],this.AE=t.A.BP[2],this.E=t.D.points,this.Z=this.C6=t.A.CN(\"bl\",2)}})}}class A7T extends MF{constructor(e){super(e);var t=this;t.CF=null,t.CL=null,t.MT=\"min\"}F0(e,t,i,a){var n=this;return n.CU=[[\"%range-set\",n.MT],[\"%node-min-value\",n.CF],[\"%node-max-value\",n.CL]],e=super.F0(e,t,i,a)}HC(){var e,t,i=this;i.o[ZC._[9]][1]instanceof Array?(\"string\"==typeof i.o[ZC._[9]][0]?-1!==(t=ZC.AV(i.A.B2.IW,i.o[ZC._[9]][0]))?i.BU=t:(i.A.B2.IW.push(i.o[ZC._[9]][0]),i.BU=i.A.B2.IW.length-1):i.BU=ZC._f_(i.o[ZC._[9]][0]),null!==i.BU&&(null!==ZC._n_(i.A.K7[i.BU])&&-1!==ZC.AV(i.A.K7[i.BU],i.L)||i.A.TB(i.BU,i.L)),e=i.o[ZC._[9]][1]):e=i.o[ZC._[9]],\"string\"==typeof e[0]?-1!==(t=ZC.AV(i.A.CK.JP,e[0]))?i.CF=t:(i.A.CK.JP.push(e[0]),i.CF=i.A.CK.JP.length-1):i.CF=ZC._f_(e[0]),i.DM.push(i.CF),\"string\"==typeof e[1]?-1!==(t=ZC.AV(i.A.CK.JP,e[1]))?i.CL=t:(i.A.CK.JP.push(e[1]),i.CL=i.A.CK.JP.length-1):i.CL=ZC._f_(e[1]),i.CI=e.join(\" \"),i.AD=i.CL}setup(){var e=this,t=e.A.OW,i=e.A.B2,a=e.A.CK,n=[i.V,i.A1,a.V,a.A1,e.MT];null===ZC._n_(e.AG)&&(e.AG=[]),e.JR!==n&&(t?(null!==e.BU?e.iY=i.AX(e.BU):e.iY=i.H4(e.L),e.iX=a.AX(\"min\"===e.MT?e.CF:e.CL)):(null!==e.BU?e.iX=i.AX(e.BU):e.iX=i.H4(e.L),e.iY=a.AX(\"min\"===e.MT?e.CF:e.CL)),e.JR=n),e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse()),e.D.NC=a.AX(e.CF),e.D.RH=a.AX(e.CL),e.IM=!0}JB(){return{color:this.B7}}KC(){return{\"background-color\":this.B7,\"border-color\":this.B7,color:this.C1}}paint(){var e,t=this;super.paint();var i=t.A.B2,a=t.A.QK,n=t.A.OW,l=t.A.R;t.setup(),null!==ZC._n_(t.A.o[t.MT+\"-line\"])&&(t.append(t.A.o[t.MT+\"-line\"]),t.parse()),t.CY=!1,t.C6=t.A.CN(\"bl\",1);var r,o,s,C,A,Z,c,p,u,h,_,d,f,g=[],v=[];switch(t.A.CV){default:var B=!0;!i.ED&&t.L<=i.V&&(B=!1),l[t.L-t.A.W]||(B=!1),B&&(l[t.L-t.A.W].MT=t.MT,l[t.L-t.A.W].setup(),n?(o=[t.D.NC,t.iY],s=[l[t.L-t.A.W].D.NC,l[t.L-t.A.W].iY],C=[t.D.RH,t.iY],A=[l[t.L-t.A.W].D.RH,l[t.L-t.A.W].iY],Z=ZC.AO.A5S(o,s,C,A),r=ZC.DS(Z[1],l[t.L-t.A.W].iY,t.iY)?Z:ZC.AO.JY(l[t.L-t.A.W].iX,l[t.L-t.A.W].iY,l[t.L].iX,l[t.L].iY),v.push([r[0],ZC._i_(r[1])]),g.push([r[0],r[1]])):(o=[t.iX,t.D.NC],s=[l[t.L-t.A.W].iX,l[t.L-t.A.W].D.NC],C=[t.iX,t.D.RH],A=[l[t.L-t.A.W].iX,l[t.L-t.A.W].D.RH],Z=ZC.AO.A5S(o,s,C,A),r=ZC.DS(Z[0],l[t.L-t.A.W].iX,t.iX)?Z:ZC.AO.JY(l[t.L-t.A.W].iX,l[t.L-t.A.W].iY,l[t.L].iX,l[t.L].iY),v.push([ZC._i_(r[0]),r[1]]),g.push([r[0],r[1]]))),n?v.push([t.iX,ZC._i_(t.iY)]):v.push([ZC._i_(t.iX),t.iY]),g.push([t.iX,t.iY]);var m=!0;!i.ED&&t.L>=i.A1&&(m=!1),l[t.L+t.A.W]||(m=!1),m&&(l[t.L+t.A.W].MT=t.MT,l[t.L+t.A.W].setup(),n?(o=[t.D.NC,t.iY],s=[l[t.L+t.A.W].D.NC,l[t.L+t.A.W].iY],C=[t.D.RH,t.iY],A=[l[t.L+t.A.W].D.RH,l[t.L+t.A.W].iY],Z=ZC.AO.A5S(o,s,C,A),r=ZC.DS(Z[1],l[t.L+t.A.W].iY,t.iY)?Z:ZC.AO.JY(l[t.L].iX,l[t.L].iY,l[t.L+t.A.W].iX,l[t.L+t.A.W].iY),v.push([r[0],ZC._i_(r[1])]),g.push([r[0],r[1]])):(o=[t.iX,t.D.NC],s=[l[t.L+t.A.W].iX,l[t.L+t.A.W].D.NC],C=[t.iX,t.D.RH],A=[l[t.L+t.A.W].iX,l[t.L+t.A.W].D.RH],Z=ZC.AO.A5S(o,s,C,A),r=ZC.DS(Z[0],l[t.L+t.A.W].iX,t.iX)?Z:ZC.AO.JY(l[t.L].iX,l[t.L].iY,l[t.L+t.A.W].iX,l[t.L+t.A.W].iY),v.push([ZC._i_(r[0]),r[1]]),g.push([r[0],r[1]])));break;case\"spline\":if(typeof t.D[\"intersect.index\"]===ZC._[31]&&(t.D[\"intersect.index\"]=-1,l[t.L+t.A.W])){var b=[],D=[],E=[];for(c=-1;c<3;c++)l[t.L+c]?(l[t.L+c].setup(),b.push(l[t.L+c].D.NC),E.push(l[t.L+c].D.RH),n?D.push(l[t.L+c].iY):D.push(l[t.L+c].iX)):(b.push(t.D.NC),E.push(t.D.RH),n?D.push(t.iY):D.push(t.iX));u=ZC._a_(D[2]-D[1]);var K=ZC.AO.YS(t.A.QL,b,ZC._i_(u)),F=ZC.AO.YS(t.A.QL,E,ZC._i_(u));if(l[t.L+t.A.W].CF===l[t.L+t.A.W].CL)t.D[\"intersect.index\"]=K.length;else{var X=K[0][1]-F[0][1];for(c=1,p=K.length;c=0;c--)t.AG.push(t.A.SJ.max[c]);if(null!==ZC._n_(e=t.A.SJ.min))for(c=0,p=e.length;c=0;c--)t.AG.push(v[c]);if(\"max\"===t.MT){var w=new DU(t.A);w.K=t.K+\"-area\",w.Z=t.A.CN(\"bl\",0),w.copy(t),w.B1=0,w.AT=0,w.EX=0,w.G9=0,w.parse(),w.E=t.AG,w.C5=t.A.HY;var G=t.C.P;for(w.CZ=[G.iX,G.iY,G.iX+G.I,G.iY+G.F],w.paint(),t.D.pointsarea=[],c=0,p=t.AG.length;c'))}\"min\"===t.MT?t.D.points=g:(t.D.points.push(null),t.D.points=t.D.points.concat(g));var M=new D0(t);M.copy(t),M.append(t.A.o[t.MT+\"-line\"]),M.parse(),ZC.CR.setup(a,M),ZC.CR.paint(a,M,g),\"max\"===t.MT&&t.paintPreview(t,t.D.points,t.D.pointsarea);if(n?ZC.DS(t.iY,i.iY-1,i.iY+i.F+1)&&ZC.DS(t.iX,i.iX-1,i.iX+i.I+1):ZC.DS(t.iX,i.iX-1,i.iX+i.I+1)&&ZC.DS(t.iY,i.iY-1,i.iY+i.F+1)){var L=new DU(t.A);L.K=t.K+\"-marker-\"+t.MT,L.Z=L.C6=t.A.CN(\"fl\",0),L.iX=t.iX,L.iY=t.iY,L.B7=t.A.BP[3],L.BV=t.A.BP[3],L.A0=t.A.BP[2],L.AE=t.A.BP[2],L.append(t.A.A2.o),t.A.o[t.MT+\"-marker\"]&&L.append(t.A.o[t.MT+\"-marker\"]),L.parse(),L.J0=function(e){return t.J0(e)},L.DB()&&L.parse(),L.AM&&\"none\"!==L.AF&&(t.A.N0>i.A1-i.V&&L.paint(),t.D[\"marker.type\"]=L.DP,d=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],i.AU&&g.reverse(),t.A.FX&&(\"\"!==(f=ZC.AO.Q6(ZC.AO.ZN(t.D.points),4))?t.A.A.HX.push(ZC.Q.GG(\"poly\",t.A.E7,t.A.IZ)+'class=\"'+d+'\" id=\"'+t.K+\"--\"+t.MT+ZC._[30]+f+'\" />'):t.A.A.HX.push(ZC.Q.GG(\"circle\",t.A.E7,t.A.IZ)+'class=\"'+d+'\" id=\"'+t.K+\"--\"+t.MT+ZC._[30]+ZC._i_(L.iX+ZC.MAPTX)+\",\"+ZC._i_(L.iY+ZC.MAPTX)+\",\"+ZC._i_(1.5*ZC.BQ(3,L.AI))+'\" />'))),t.A.U&&t.A.U.AM&&t.F7()}}paintPreview(e,t,i){var a=this;if(a.C.BA&&a.C.BA.IM&&a.A.QS){var n=a.C.P,l=a.C.BA,r=a.A.mapPointsToPreview(i),o=new DU(a.A);o.copy(e),o.CY=!0,o.LC=!0,o.B1=0,o.AT=0,o.EX=0,o.G9=0,o.C5=a.A.HY,o.CZ=[n.iX,n.iY,n.iX+n.I,n.iY+n.F],o.K=a.K+\"-area-preview\",o.Z=l.Z,o.E=r,o.paint();var s,C=a.A.mapPointsToPreview(t);a.A.WQ?s=a.A.WQ:(s=new D0(a),a.A.WQ=s),s.copy(e);var A=ZC.Q.E8(l.Z,a.G.AC);s.B1=1,ZC.CR.paint(A,s,C,null,3)}}I2(){var e=this,t=e.A.OW;if(!ZC.move){var i=e.A.B2;if(e.A.GA&&e.A.AM){var a=ZC.Q.E8(e.C.K+ZC._[22],e.G.AC),n=new DU(e.A);if(n.K=e.K+\"-area-hover\",n.Z=ZC.AK(e.C.K+ZC._[22]),n.LC=!0,n.copy(e),n.append(e.A.II.o),n.E=e.D.pointsarea,n.parse(),n.AM){n.C5=e.A.HY;var l=e.C.P;n.CZ=[l.iX,l.iY,l.iX+l.I,l.iY+l.F],ZC.CR.setup(a,n),n.paint()}var r=ZC.Q.E8(e.C.K+ZC._[22],e.G.AC),o=new D0(e.A);o.K=e.K+\"-line-hover\",o.CY=!1,o.B7=e.A.BP[3],o.append(e.A.II.o),o.parse(),o.J0=function(t){return e.J0(t)},o.DB()&&o.parse(),o.AM&&(ZC.CR.setup(r,o),ZC.CR.paint(r,o,e.D.points))}if(e.A.N0>i.A1-i.V&&e.A.GA&&e.A.AM){super.I2();var s=new DU(e.A);s.K=e.K+\"-marker-max-hover\",s.Z=ZC.AK(e.C.K+ZC._[22]),s.DP=e.D[\"marker.type\"],t?(s.iY=e.iY,s.iX=e.D.RH):(s.iX=e.iX,s.iY=e.D.RH),s.B7=e.A.BP[3],s.BV=e.A.BP[3],s.A0=e.A.BP[2],s.AE=e.A.BP[2],s.append(e.A.GA.o),s.parse(),s.J0=function(t){return e.J0(t)},s.DB()&&s.parse(),s.AM&&\"none\"!==s.AF&&s.paint(),s.K=e.K+\"-marker-min-hover\",t?s.iX=e.D.NC:s.iY=e.D.NC,s.AM&&\"none\"!==s.AF&&s.paint()}}}}class A7I extends MF{constructor(e){super(e),this.U=null}parse(){super.parse()}X6(){super.X6();var e=this.C.D;e.update.npv=e.update[\"node-percent-value\"]=this.F0(\"%npv\")}F0(e,t,i,a){var n=this,l=n.A.LV();ZC._cp_(t,l),-1===e.indexOf(\"%npv\")&&-1===e.indexOf(\"%node-percent-value\")||null!==ZC._n_(l[ZC._[12]])&&-1!==l[ZC._[12]]||(l[ZC._[12]]=1);var r=0,o=\"0\";if(n.A.A.KQ[n.L]>0&&(o=\"\"+(r=100*n.AD/n.A.A.KQ[n.L])),n.A.A.A5.length>1&&n.A.L===n.A.A.A5.length-1){var s=0;if(null===ZC._n_(n.A.o.totals)){for(var C=0;C0&&(Z=\"\"+(A=100*n.A.A.A5[C].R[n.L].AD/n.A.A.KQ[n.L])),null!==ZC._n_(l[ZC._[12]])&&(Z=A.toFixed(ZC.BQ(0,ZC._i_(l[ZC._[12]])))),s+=ZC._f_(Z)}o=\"\"+(r=Math.max(0,100-s))}}null!==ZC._n_(l[ZC._[12]])&&(o=r.toFixed(ZC.BQ(0,ZC._i_(l[ZC._[12]]))));var c,p=ZC._f_(n.A.A.KQ[n.L]||\"0\");return c=ZC.AP.GJ(p,l,n.A),n.CU=[[\"%node-percent-value\",o],[\"%npv\",o],[\"%pie-total-value\",c]],e=super.F0(e,t,i,a)}OM(e){var t,i=this,a=(i.B3+i.BI)/2%360,n=0;null!==ZC._n_(t=e[\"offset-r\"])&&(n=ZC._f_(ZC._p_(t))),n<1&&(n*=i.AI);var l=new CB(i.C,(i.CM+.5*(i.AI-i.CM)+i.DQ+n)*ZC.EE(a),(i.CM+.5*(i.AI-i.CM)+i.DQ+n)*ZC.EN(a),0).EA;return[l[0],l[1],{reference:i,center:!0}]}setup(){var e=this,t=e.C.BK(e.A.BT(\"k\")[0]),i=e.L%t.H2,a=Math.floor(e.L/t.H2);e.iX=t.iX+i*t.GK+t.GK/2+t.BJ,e.iY=t.iY+a*t.GE+t.GE/2+t.BH,e.IM||(e.copy(e.A),e.E4=e.A.E4,e.DB()&&e.parse(),e.IM=!0)}JB(e){var t={},i=\"out\";return null!==ZC._n_(e.o[ZC._[7]])&&(i=e.o[ZC._[7]]),t.color=\"out\"===i?this.A0:this.C1,t}HG(e){var t,i=this,a=\"out\";null!==ZC._n_(t=e.o[ZC._[7]])&&(a=t);var n,l,r,o,s,C=e.I,A=e.F,Z=(i.B3+i.BI)/2%360,c=Z;if(\"out\"===a){Z=c=i.A.A.YO[\"n\"+i.L][i.A.L];var p=function(t,a){a<0&&(a=360+a),a%=360;var n=ZC.AO.BL(i.iX,i.iY,t+i.DQ+e.DQ+20,a),l=i.C.EY[ZC._[27]];l>45&&i.A.A.A5.length>10&&(i.C.EY[ZC._[27]]=45+(l-45)/3),s=new CB(i.C,n[0]-ZC.AN.E2,n[1]-ZC.AN.E1,0),i.C.EY[ZC._[27]]=l,n[0]=s.EA[0],n[1]=s.EA[1];var r=n[0]+e.BJ-C/2,o=n[1]+e.BH-A/2;return a>=0&&a<=90||a>=270&&a<=360?r+=C/2+10:r-=C/2+10,[r,o]},u=p(i.AI,c);n=u[0],l=u[1],i.U=e;var h={x:n,y:l,width:C,height:A},_=zingchart.DEV.SPREADTYPE;o=!0;for(var d=0,f=0,g=-1,v=0,B=0;o&&B<1024;){o=!1;for(var m=0,b=i.A.A.UC.length;m10?-8:-2)||h.x+e.I>i.C.P.iX+i.C.P.I||h.xi.C.P.iY+i.C.P.F||h.y100&&(v=0,0===_?(d=0,f+=4):1===_&&(f=0,d+=1,g*=-1)))}n=h.x,l=h.y,Z=c+d,r={text:i.A.AR,x:h.x,y:h.y,width:C,height:A,plotindex:i.A.L,nodeindex:i.L},i.A.A.UC.push(r)}else if(\"in\"===a){var D=i.CM<30?.65:.5,E=ZC.AO.BL(i.iX,i.iY,i.CM+D*(i.AI-i.CM)+i.DQ+e.DQ,Z);s=new CB(i.C,E[0]-ZC.AN.E2,E[1]-ZC.AN.E1,0),E[0]=s.EA[0],E[1]=s.EA[1],n=E[0]+e.BJ-C/2,l=E[1]+e.BH-A/2}else\"center\"===a&&(n=(s=new CB(i.C,i.iX-ZC.AN.E2,i.iY-ZC.AN.E1,0)).EA[0]+e.BJ-C/2,l=s.EA[1]+e.BH-A/2);return o&&(n=-9999,l=-9999,e.AM=!1),null!==ZC._n_(e.o.x)&&(n=e.iX),null!==ZC._n_(e.o.y)&&(l=e.iY),n>=-2&&(n=ZC._a_(n)),l>=-2&&(l=ZC._a_(l)),[ZC._i_(n),ZC._i_(l),Z]}F7(e,t){var i,a=this,n=super.F7(e,t);if(e)return n;if(a.AM&&n.AM&&null!==ZC._n_(n.AR)&&\"\"!==n.AR){var l=\"out\";if(null!==ZC._n_(n.o[ZC._[7]])&&(l=n.o[ZC._[7]]),\"out\"===l){var r=!0;if(null!==ZC._n_(i=n.o.connected)&&(r=ZC._b_(i)),r){var o=new DU(a.A);o.Z=o.C6=a.A.CN(\"bl\",0),o.append(a.A.C2.o),o.B7=a.A0,o.DP=\"line\",o.E=[];var s=n.D.positioninfo,C=(a.B3+a.BI)/2%360,A=0;C>=0&&C<=180&&(A=a.D.thickness/2);var Z=ZC.AO.BL(a.iX,a.iY,a.AI+a.DQ+n.DQ,C);(Z=new CB(a.C,Z[0]-ZC.AN.E2,Z[1]-ZC.AN.E1,A).EA)[0]+=a.BJ,Z[1]+=a.BH,o.E.push(Z);var c=ZC.AO.BL(a.iX,a.iY,a.AI+a.DQ+n.DQ+20,C);(c=new CB(a.C,c[0]-ZC.AN.E2,c[1]-ZC.AN.E1,A).EA)[0]+=a.BJ,c[1]+=a.BH,n.iX>=a.iX?o.E.push([c[0],c[1],s[0],s[1]+n.F/2]):o.E.push([c[0],c[1],s[0]+n.I+2,s[1]+n.F/2]),o.parse(),o.J0=function(e){return a.J0(e)},o.DB()&&o.parse(),o.AM&&o.paint()}}}}paint(){var e,t,i,a,n,l,r,o,s,C=this,A=C.C.CJ,Z=C.C.BK(C.A.BT(\"k\")[0]),c=C.C.EY[ZC._[27]],p=C.C.EY[ZC._[28]];C.setup();var u=\"pie-sel-\"+C.A.L+\"-\"+C.L;if(C.o.detached&&typeof C.C.D[u]===ZC._[31]&&(C.C.D[u]=!0),!(C.AD<0)){var h=ZC.BQ(.7,ZC.EE(c));C.AI=ZC.CX(Z.GE/h,Z.GK)/2,null!==ZC._n_(C.A.o[ZC._[21]])?C.AI=C.A.AI:C.AI=Z.JT*C.AI,C.CM<1&&(C.CM*=C.AI),C.CM=Math.max(0,C.CM),C.o[ZC._[8]]=C.CM,C.DQ<1&&(C.DQ*=C.AI),C.o[\"offset-r\"]=C.DQ;var _=C.A.NT;-1===_&&(_=C.AI/5),C.D.thickness=_;var d=C.iX-ZC.AN.E2,f=C.iY-ZC.AN.E1;C.B3=ZC._i_(C.B3),C.BI=ZC._i_(C.BI);var g=(C.B3+C.BI)/2;C.C.D[u]&&(C.DQ+=ZC._i_(.15*C.AI)),C.DQ>0&&(d+=C.DQ*ZC.EE(g),f+=C.DQ*ZC.EN(g));var v=C.N=C.A.I3(C,C);v.DI=C.K+\"-3dfacet\";var B=new D0(C);if(B.copy(v),B.A0=ZC.AP.JQ(ZC.AP.G8(B.A0)),B.AE=ZC.AP.JQ(ZC.AP.G8(B.AE)),C.AD>=0||0===C.A.A.KQ[C.L]){for(r=[],e=C.B3,r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),0]),e=C.B3;e<=C.BI;e+=1)r.push([d+C.AI*ZC.EE(e),f+C.AI*ZC.EN(e),0]);for(e=C.BI,r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),0]),e=C.BI;e>=C.B3;e-=1)r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),0]);if((t=ZC.DG.D6(v,C.C,r)).K=C.K+\"-facet1\",A.add(t),i=null,C.B3%360>=0+p&&C.B3%360<180+p||C.BI%360>0+p){o=C.B3,s=C.BI;var m=function(e,t,a){var n,l=[];for(n=e,l.push([d+C.AI*ZC.EE(n),f+C.AI*ZC.EN(n),0]),n=e;n<=t;n+=1)l.push([d+C.AI*ZC.EE(n),f+C.AI*ZC.EN(n),0]);for(n=t,l.push([d+C.AI*ZC.EE(n),f+C.AI*ZC.EN(n),_]),n=t;n>=e;n-=1)l.push([d+C.AI*ZC.EE(n),f+C.AI*ZC.EN(n),_]);(i=ZC.DG.D6(B,C.C,l)).ML=[.01,1,1,1],i.K=C.K+\"-facet2\"+a,A.add(i)};o<180&&s>360?(m(o=o<0?o+360:o,180,1),m(360,s,2)):(o=ZC.BQ(o,s>360?365:5),(s=ZC.CX(s,s>360?535:175))>o&&m(o,s,1))}if(l=null,C.CM>0+p&&C.BI>180+p){for(r=[],e=C.B3,o=C.B3,C.B3<180+p&&C.BI>180+p&&(e=180+p,o=180+p),r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),0]),e=o;e<=C.BI;e+=1)r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),0]);for(e=C.BI,r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),_]),e=C.BI;e>=o;e-=1)r.push([d+C.CM*ZC.EE(e),f+C.CM*ZC.EN(e),_]);(l=ZC.DG.D6(B,C.C,r)).K=C.K+\"-facet3\",A.add(l)}var b=function(e,t,i){return[[d+e*ZC.EE(i),f+e*ZC.EN(i),0],[d+e*ZC.EE(i),f+e*ZC.EN(i),_],[d+t*ZC.EE(i),f+t*ZC.EN(i),_],[d+t*ZC.EE(i),f+t*ZC.EN(i),0]]};(a=ZC.DG.D6(B,C.C,{points:b(C.CM,C.AI,C.B3),mathpoints:b(C.CM+1,C.AI+1,C.B3-1)})).K=C.K+\"-facet4\",A.add(a),(n=ZC.DG.D6(B,C.C,{points:b(C.CM,C.AI,C.BI),mathpoints:b(C.CM+1,C.AI+1,C.BI+1)})).K=C.K+\"-facet5\",A.add(n);var D=C.C.K+ZC._[34]+C.C.K+ZC._[35]+C.A.L+ZC._[6],E=ZC.Q.GG(\"poly\",C.A.E7)+'class=\"'+D+'\" id=\"'+C.K,K=C.A.A.HX;K.push(E+'--top\" data-z-sort=\"1\" coords=\"'+t.F1()+'\" />'),i&&K.push(E+'--outer\" data-z-sort=\"1\" coords=\"'+i.F1()+'\" />'),(C.CM>0||C.DQ>0)&&(l&&K.push(E+'--inner\" data-z-sort=\"2\" coords=\"'+l.F1()+'\" />'),K.push(E+'--start\" data-z-sort=\"2\" coords=\"'+a.F1()+'\" />',E+'--end\" data-z-sort=\"2\" coords=\"'+n.F1()+'\" />'))}C.A.U&&C.F7()}}OZ(e,t){var i=this;if(super.OZ(e,t),\"click\"===t&&e.which<=1&&i.A.A89){var a=\"pie-sel-\"+i.A.L+\"-\"+i.L;i.C.D[a]=typeof i.C.D[a]===ZC._[31]||!i.C.D[a],i.C.JW()}}}class A70 extends ZT{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT(\"v\")[0]),i=e.iX+e.I/2,a=e.iY+(t.AU?e.F:0),n=new CB(e.C,i-ZC.AN.E2,a-ZC.AN.E1,e.A.D[\"z-start\"]);return[ZC._i_(n.EA[0]),ZC._i_(n.EA[1]),{reference:e,center:!0}]}HG(e){var t=super.HG(e);if(\"-1/-1\"!==t.join(\"/\")){var i=new CB(this.C,t[0]+e.I/2-ZC.AN.E2,t[1]+e.F/2-ZC.AN.E1,this.A.D[\"z-mid\"]);return[ZC._i_(i.EA[0])-e.I/2,ZC._i_(i.EA[1])-e.F/2]}return t}paint(e){var t,i=this;super.paint(),typeof e===ZC._[31]&&(e=!1);var a=i.C.CJ,n=i.A.B2,l=i.A.CK;i.setup();var r,o,s,C,A,Z,c,p,u,h,_,d,f,g,v,B,m=i.A.PR(),b=m.A9,D=m.ES,E=m.CC,K=m.CS,F=m.F4,X=m.D1,I=m.EZ;if(e?D=i.A.D[\"node-\"+i.L+\"-bar-index\"]:i.A.D[\"node-\"+i.L+\"-bar-index\"]=m.ES,i.A.CA){s=0;var x=i.A.A.KF[D];for(r=0;r0&&(i.CQ!==i.AD&&(Y=(s-i.CQ+i.AD)/s),w=(s-i.CQ)/s),l.AU){var G=Y;Y=w,w=G}i.A.LZ&&(D=i.L);var M=i.iX-b/2+E+D*(X+F)-D*I;if(M=ZC._l_(M,i.iX-b/2+E,i.iX+b/2-K),i.A.D1>0){var L=X;(X=i.A.D1)<=1&&(X*=L),M+=(L-X)/2}var P=X,N=i.iY,R=null!==ZC._n_(i.A.M4[i.L])?i.A.M4[i.L]:0;if(N=i.A.CA&&\"100%\"===i.A.KY?l.AX(100*(i.CQ+R)/i.A.A.F8[i.L][\"%total-\"+i.A.DX]):l.AX(i.CQ+R),i.A.CA?(A=N-(C=\"100%\"===i.A.KY?l.AX(100*(i.CQ-i.AD+R)/i.A.A.F8[i.L][\"%total-\"+i.A.DX]):l.AX(i.CQ-i.AD+R)),i.AD<0&&(N=C),l.AU?A>0&&(A=ZC._a_(A),N=C):A<0&&(N=C-(A=ZC._a_(A)))):N=(A=N-(C=l.AX(R)))<0?C-(A=ZC._a_(A)):C,E+K===0&&(M-=.5,P+=1),i.I=P,i.F=A,i.iX=M,i.iY=N,l.AU?i.AD>=l.H8?i.iYVal=N+i.F:i.iYVal=N:i.AD>=l.H8?i.iYVal=N:i.iYVal=N+i.F,i.C.CW){var H=\"middle\";i.C.CW.o.marker&&null!==ZC._n_(t=i.C.CW.o.marker.alignment)&&(H=t),null!==ZC._n_(i.A.o[\"guide-marker\"])&&null!==ZC._n_(t=i.A.o[\"guide-marker\"].alignment)&&(H=t),\"node\"===H&&(i.D.A6B=i.iX+i.I/2)}if(!e){var O,k,T,Q=M-ZC.AN.E2,z=N-ZC.AN.E1,J=0,S=ZC.AN.FU,V=0,U=S;if(i.A.A40){if(k=J,\"mixed3d\"===i.C.AF||\"mixed\"===i.C.AF){for(O=1,r=0,o=i.A.A.A5.length;rr&&V--);U/=O,V=O-V-1}k=V*U+.2*U,T=(V+1)*U-.2*U}if(null!==ZC._n_(i.A.o[\"z-start\"])&&(k=ZC._i_(i.A.o[\"z-start\"])),null!==ZC._n_(i.A.o[\"z-end\"])&&(T=ZC._i_(i.A.o[\"z-end\"])),null!==ZC._n_(i.A.o.depth)){var W=ZC._i_(i.A.o.depth);k=V*U+U/2-W,T=V*U+U/2+W}J=k,S=T-k,i.A.D[\"z-plots\"]=O,i.A.D[\"z-cnt\"]=V,i.A.D[\"z-depth\"]=U,i.A.D[\"z-start\"]=k,i.A.D[\"z-mid\"]=(k+T)/2;var j=i.N=i.A.I3(i,i.N);if(j.DI=i.K+\"-3dfacet\",i.A.I6&&(i.GL(j),j.parse()),j.AM){var q=new D0(i);q.copy(j),q.A0=ZC.AP.JQ(ZC.AP.G8(q.A0)),q.AE=ZC.AP.JQ(ZC.AP.G8(q.AE)),q.BV=ZC.AP.JQ(ZC.AP.G8(q.BV));var $=new D0(i);$.copy(j),$.A0=ZC.AP.JQ(ZC.AP.G8($.A0),15),$.AE=ZC.AP.JQ(ZC.AP.G8($.AE),15),$.BV=ZC.AP.JQ(ZC.AP.G8($.BV),15);var ee=new D0(i);ee.copy(j);var te=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],ie=ZC.Q.GG(\"poly\",i.A.E7,i.N.IZ)+'class=\"'+te+'\" id=\"'+i.K,ae=i.C.EY.true3d,ne=i.I/2,le=S/2,re=Y*ne,oe=w*ne,se=w*le,Ce=Y*le;l.AU&&!i.A.CA?(Z=i.AD>=0?0:i.F,c=i.AD>=0?i.F:0):(Z=i.AD>=0?i.F:0,c=i.AD>=0?0:i.F);var Ae=i.A.A.HX,Ze=ZC.CX(le,ne),ce=i.C.EY[ZC._[28]],pe=i.C.EY.angle,ue=ZC.EE(pe)*le,he=ZC.EN(pe)*le;ae||(Ze=ZC.CX(2*ue,ne));var _e=function(e){var t=0,a=i.A.L,r=i.L,o=i.A.A.A5.length,s=i.A.R.length;switch((i.A.CA?\"s\":\"\")+(n.AU?\"k\":\"\")+(l.AU?\"v\":\"\")){case\"\":case\"v\":t=10*a+1e4*r+e;break;case\"sv\":t=10*(o-a)+1e4*r+e;break;case\"k\":t=10*a+1e4*(s-r)+e;break;case\"skv\":t=10*(o-a)+1e4*(s-r)+e;break;case\"kv\":t=10*a+1e4*(s-r)+e;break;case\"s\":t=10*a+1e4*r+e;break;case\"sk\":t=10*a+1e4*(s-r)+e}return t},de=ZC.MAX,fe=-ZC.MAX,ge=ZC.MAX,ve=-ZC.MAX,Be=ZC.MAX,me=-ZC.MAX,be=ZC.MAX,De=-ZC.MAX;if(\"cylinder\"===i.A.CV)for(B=0;B<=360;B+=4)(u=new CB(i.C,Q+ZC.EN(B)*Ze+ne,z,J+ZC.EE(B)*Ze+le)).EA[0]ve&&(ve=u.EA[0],fe=B),(u=new CB(i.C,Q+ZC.EN(B)*Ze+ne,z+i.F,J+ZC.EE(B)*Ze+le)).EA[0]De&&(De=u.EA[0],me=B);var Ee=i.A.o.facets||{};switch(i.A.CV){default:Ee.bottom?((p=new D0(i)).copy(q),p.append(Ee.bottom),p.parse(),f=ZC.DG.D9(p,i.C,Q+.1,Q+i.I-.1,z+i.F-.1,z+i.F-.1,J+.1,J+S-.1,\"x\")):f=ZC.DG.D9(q,i.C,Q+.1,Q+i.I-.1,z+i.F-.1,z+i.F-.1,J+.1,J+S-.1,\"x\"),f.K=i.K+\"-facet1\",f.G0=_e(1),a.add(f),Ee.top?((p=new D0(i)).copy(q),p.append(Ee.top),p.parse(),d=ZC.DG.D9(p,i.C,Q+.1,Q+i.I-.1,z+.1,z+.1,J+.1,J+S-.1,\"x\")):d=ZC.DG.D9(q,i.C,Q+.1,Q+i.I-.1,z+.1,z+.1,J+.1,J+S-.1,\"x\"),d.K=i.K+\"-facet2\",d.G0=_e(3),a.add(d),Ee.left?((p=new D0(i)).copy($),p.append(Ee.left),p.parse(),g=ZC.DG.D9(p,i.C,Q+.1,Q+.1,z+.1,z+i.F-.1,J+.1,J+S-.1,\"z\")):g=ZC.DG.D9($,i.C,Q+.1,Q+.1,z+.1,z+i.F-.1,J+.1,J+S-.1,\"z\"),g.K=i.K+\"-facet3\",g.G0=_e(2),a.add(g),Ee.right?((p=new D0(i)).copy($),p.append(Ee.right),p.parse(),v=ZC.DG.D9(p,i.C,Q+i.I-.1,Q+i.I-.1,z+.1,z+i.F-.1,J+.1,J+S-.1,\"z\")):v=ZC.DG.D9($,i.C,Q+i.I-.1,Q+i.I-.1,z+.1,z+i.F-.1,J+.1,J+S-.1,\"z\"),v.K=i.K+\"-facet4\",v.G0=_e(4),a.add(v),Ee.front?((p=new D0(i)).copy(ee),p.append(Ee.front),p.parse(),_=ZC.DG.D9(p,i.C,Q+.1,Q+i.I-.1,z+.1,z+i.F-.1,J+.1,J+.1,\"y\")):_=ZC.DG.D9(ee,i.C,Q+.1,Q+i.I-.1,z+.1,z+i.F-.1,J+.1,J+.1,\"y\"),_.K=i.K+\"-facet5\",_.G0=_e(5),a.add(_),i.A.FX&&(1===w&&Ae.push(ie+\"--top\"+ZC._[30]+d.F1()+'\" />'),Ae.push(ie+\"--left\"+ZC._[30]+g.F1()+'\" />',ie+\"--right\"+ZC._[30]+v.F1()+'\" />',ie+\"--front\"+ZC._[30]+_.F1()+'\" data-z-sort=\"-100\" />'));break;case\"pyramid\":Ee.bottom?((p=new D0(i)).copy(q),p.append(Ee.bottom),p.parse(),f=ZC.DG.D9(p,i.C,Q+ne-re,Q+ne+re,z+Z,z+Z,J+le-Ce,J+le+Ce,\"x\")):f=ZC.DG.D9(q,i.C,Q+ne-re,Q+ne+re,z+Z,z+Z,J+le-Ce,J+le+Ce,\"x\"),f.K=i.K+\"-facet1\",f.G0=_e(l.AU&&!i.A.CA?6:1),a.add(f),h=[[Q+ne-re,z+Z,J+le-Ce],[Q+ne+re,z+Z,J+le-Ce]],i.A.CA&&0!==w?h.push([Q+ne+oe,z+c,J+le-se],[Q+ne-oe,z+c,J+le-se]):h.push([Q+ne,z+c,J+le]),Ee.front?((p=new D0(i)).copy(j),p.append(Ee.front),p.parse(),_=ZC.DG.D6(p,i.C,h)):_=ZC.DG.D6(j,i.C,h),_.K=i.K+\"-facet2\",_.G0=_e(3),a.add(_),h=[[Q+ne-re,z+Z,J+le-Ce],[Q+ne-re,z+Z,J+le+Ce]],i.A.CA&&0!==w?h.push([Q+ne-oe,z+c,J+le+se],[Q+ne-oe,z+c,J+le-se]):h.push([Q+ne,z+c,J+le]),Ee.left?((p=new D0(i)).copy($),p.append(Ee.left),p.parse(),g=ZC.DG.D6(p,i.C,h)):g=ZC.DG.D6($,i.C,h),g.K=i.K+\"-facet3\",g.G0=_e(2),a.add(g),h=[[Q+ne+re,z+Z,J+le-Ce],[Q+ne+re,z+Z,J+le+Ce]],i.A.CA&&0!==w?h.push([Q+ne+oe,z+c,J+le+se],[Q+ne+oe,z+c,J+le-se]):h.push([Q+ne,z+c,J+le]),Ee.right?((p=new D0(i)).copy($),p.append(Ee.right),p.parse(),v=ZC.DG.D6(p,i.C,h)):v=ZC.DG.D6($,i.C,h),v.K=i.K+\"-facet4\",v.G0=_e(4),a.add(v),i.A.CA&&0!==w&&(h=[[Q+ne-oe,z+c,J+le-se],[Q+ne-oe,z+c,J+le+se],[Q+ne+oe,z+c,J+le+se],[Q+ne+oe,z+c,J+le-se]],Ee.top?((p=new D0(i)).copy(q),p.append(Ee.top),p.parse(),d=ZC.DG.D6(p,i.C,h)):d=ZC.DG.D6(q,i.C,h),d.K=i.K+\"-facet5\",d.G0=_e(5),a.add(d)),i.A.FX&&Ae.push(ie+\"--left\"+ZC._[30]+g.F1()+'\" />',ie+\"--right\"+ZC._[30]+v.F1()+'\" />',ie+\"--front\"+ZC._[30]+_.F1()+'\" data-z-sort=\"-100\" />');break;case\"cylinder\":if(h=[],ae)for(B=0;B<=360;B+=5)h.push([Q+ZC.EN(B)*Ze+ne,z+i.F,J+ZC.EE(B)*Ze+le]);else for(B=0;B<=360;B+=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze+ne+ue,N+i.F+ZC.EN(B)*(Ze/2)-he],h.push(u);if(Ee.bottom?((p=new D0(i)).copy(q),p.append(Ee.bottom),p.parse(),f=ZC.DG.D6(p,i.C,h,!ae)):f=ZC.DG.D6(q,i.C,h,!ae),f.K=i.K+\"-facet1\",f.G0=_e(1),a.add(f),h=[],ae)for(B=0;B<=360;B+=5)h.push([Q+ZC.EN(B)*Ze+ne,z,J+ZC.EE(B)*Ze+le]);else for(B=0;B<=360;B+=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze+ne+ue,N+ZC.EN(B)*(Ze/2)-he],h.push(u);if(Ee.top?((p=new D0(i)).copy(q),p.append(Ee.top),p.parse(),d=ZC.DG.D6(p,i.C,h,!ae)):d=ZC.DG.D6(q,i.C,h,!ae),d.K=i.K+\"-facet2\",d.G0=_e(3),a.add(d),h=[],ae){for(B=ZC.CX(de,fe);B<=ZC.BQ(de,fe);B+=1)h.push([Q+ZC.EN(B)*Ze+ne,z,J+ZC.EE(B)*Ze+le]);for(h.push([Q+ZC.EN(B)*Ze+ne,z+i.F,J+ZC.EE(B)*Ze+le]),B=ZC.BQ(Be,me);B>=ZC.CX(Be,me);B-=1)h.push([Q+ZC.EN(B)*Ze+ne,z+i.F,J+ZC.EE(B)*Ze+le])}else{for(B=0;B<=180;B+=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze+ne+ue,N+i.F+ZC.EN(B)*(Ze/2)-he],h.push(u);for(B=180;B>=0;B-=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze+ne+ue,N+ZC.EN(B)*(Ze/2)-he],h.push(u)}Ee.front?((p=new D0(i)).copy(j),p.append(Ee.front),p.parse(),_=ZC.DG.D6(p,i.C,h,!ae)):_=ZC.DG.D6(j,i.C,h,!ae),_.K=i.K+\"-facet3\",_.G0=_e(2),a.add(_),i.A.FX&&Ae.push(ie+\"--front\"+ZC._[30]+_.F1()+'\" data-z-sort=\"-100\" />',ie+\"--top\"+ZC._[30]+d.F1()+'\" />');break;case\"cone\":if(h=[],ae)for(B=0;B<=360;B+=5)h.push([Q+ZC.EN(B)*Ze*Y+ne,z+Z,J+ZC.EE(B)*Ze*Y+le]);else for(B=0;B<=360;B+=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze*Y+ne+ue,N+Z+ZC.EN(B)*(Ze/2)*Y-he],h.push(u);if(Ee.bottom?((p=new D0(i)).copy(q),p.append(Ee.bottom),p.parse(),f=ZC.DG.D6(p,i.C,h,!ae)):f=ZC.DG.D6(q,i.C,h,!ae),f.K=i.K+\"-facet1\",f.G0=_e(1),a.add(f),h=[],ae){for(B=90+ce;B<=270+ce;B+=5)h.push([Q+ZC.EN(B)*Ze*Y+ne,z+Z,J+ZC.EE(B)*Ze*Y+le]);if(i.A.CA&&0!==w)for(B=270+ce;B>=90+ce;B-=5)h.push([Q+ZC.EN(B)*Ze*w+ne,z+c,J+ZC.EE(B)*Ze*w+le]);else h.push([Q+ne,z+c,J+le])}else{for(B=0;B<=180;B+=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze*Y+ne+ue,N+Z+ZC.EN(B)*(Ze/2)*Y-he],h.push(u);if(i.A.CA&&0!==w)for(B=180;B>=0;B-=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze*w+ne+ue,N+c+ZC.EN(B)*(Ze/2)*w-he],h.push(u);else(u=new CB(i.C,0,0,0)).EA=[M+ne+ue,N+c-he],h.push(u)}if(Ee.front?((p=new D0(i)).copy(j),p.append(Ee.front),p.parse(),_=ZC.DG.D6(p,i.C,h,!ae)):_=ZC.DG.D6(j,i.C,h,!ae),_.K=i.K+\"-facet2\",_.G0=_e(2),a.add(_),i.A.CA&&0!==w){if(h=[],ae)for(B=0;B<=360;B+=5)h.push([Q+ZC.EN(B)*Ze*w+ne,z+c,J+ZC.EE(B)*Ze*w+le]);else for(B=0;B<=360;B+=5)(u=new CB(i.C,0,0,0)).EA=[M+ZC.EE(B)*Ze*w+ne+ue,N+c+ZC.EN(B)*(Ze/2)*w-he],h.push(u);Ee.top?((p=new D0(i)).copy(q),p.append(Ee.top),p.parse(),d=ZC.DG.D6(p,i.C,h,!ae)):d=ZC.DG.D6(q,i.C,h,!ae),d.K=i.K+\"-facet3\",a.add(d),d.G0=_e(3)}i.A.FX&&Ae.push(ie+\"--front\"+ZC._[30]+_.F1()+'\" data-z-sort=\"-100\" />')}i.A.U&&i.A.U.AM&&i.F7()}i.paintPreview(j)}}I2(){}}class A71 extends ZS{setup(){this.RT()}OM(){var e=this;e.paint(!0);var t=e.C.BK(e.A.BT(\"v\")[0]),i=e.iX+(t.AU?0:e.I),a=e.iY+e.F/2,n=new CB(e.C,i-ZC.AN.E2,a-ZC.AN.E1,e.A.D[\"z-start\"]);return[ZC._i_(n.EA[0]),ZC._i_(n.EA[1]),{reference:e,center:!0}]}HG(e){var t=super.HG(e);if(\"-1/-1\"!==t.join(\"/\")){var i=new CB(this.C,t[0]-ZC.AN.E2,t[1]-ZC.AN.E1,this.A.D[\"z-start\"]);return[ZC._i_(i.EA[0]),ZC._i_(i.EA[1])]}return t}paint(e){var t=this;super.paint(),typeof e===ZC._[31]&&(e=!1);var i=t.C.CJ,a=t.A.B2,n=t.A.CK;t.setup();var l,r,o,s,C,A,Z,c,p,u,h,_,d,f,g=t.A.PR(),v=g.A9,B=g.ES,m=g.CC,b=g.CS,D=g.F4,E=g.D1,K=g.EZ;if(e?B=t.A.D[\"node-\"+t.L+\"-bar-index\"]:t.A.D[\"node-\"+t.L+\"-bar-index\"]=g.ES,t.A.CA){l=0;for(var F=t.A.A.KF[B],X=0;X0){var G=E;(E=t.A.D1)<=1&&(E*=G),w+=(G-E)/2}var M=E,L=t.iX,P=null!==ZC._n_(t.A.M4[t.L])?t.A.M4[t.L]:0;if(L=t.A.CA&&\"100%\"===t.A.KY?n.AX(100*(t.CQ+P)/t.A.A.F8[t.L][\"%total-\"+t.A.DX]):n.AX(t.CQ+P),t.A.CA?(o=L-(r=\"100%\"===t.A.KY?n.AX(100*(t.CQ-t.AD+P)/t.A.A.F8[t.L][\"%total-\"+t.A.DX]):n.AX(t.CQ-t.AD+P)),t.AD>0?L=r:o=ZC._a_(o),n.AU?o>0?(o=ZC._a_(o),L=r):L-=o=ZC._a_(o):o<0&&(L=r-(o=ZC._a_(o)))):L=(o=L-(r=n.AX(P)))<0?r-(o=ZC._a_(o)):r,m+b===0&&(w-=.5,M+=1),t.I=o,t.F=M,t.iX=L,t.iY=w,n.AU?t.AD>=n.H8?t.iXVal=L:t.iXVal=L+t.I:t.AD>=n.H8?t.iXVal=L+t.I:t.iXVal=L,!e){var N=L+o-ZC.AN.E2,R=w-ZC.AN.E1,H=0,O=ZC.AN.FU;null!==ZC._n_(t.A.o[\"z-start\"])&&(H=ZC._i_(t.A.o[\"z-start\"])),null!==ZC._n_(t.A.o[\"z-end\"])&&(O=ZC._i_(t.A.o[\"z-end\"])-H),t.A.D[\"z-start\"]=H,t.A.D[\"z-mid\"]=H+O/2;var k=t.N=t.A.I3(t,t.N);if(k.DI=t.K+\"-3dfacet\",t.A.I6&&(t.GL(k),k.parse()),k.AM){var T=new D0(t);T.copy(k),T.A0=ZC.AP.JQ(ZC.AP.G8(T.A0)),T.AE=ZC.AP.JQ(ZC.AP.G8(T.AE)),T.BV=ZC.AP.JQ(ZC.AP.G8(T.BV));var Q=new D0(t);Q.copy(k),Q.A0=ZC.AP.JQ(ZC.AP.G8(Q.A0),15),Q.AE=ZC.AP.JQ(ZC.AP.G8(Q.AE),15),Q.BV=ZC.AP.JQ(ZC.AP.G8(Q.BV),15);var z=new D0(t);z.copy(k);var J=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],S=ZC.Q.GG(\"poly\",t.A.E7,t.N.IZ)+'class=\"'+J+'\" id=\"'+t.K,V=t.C.EY.true3d,U=t.F/2,W=O/2,j=x*U,q=y*U,$=y*W,ee=x*W;n.AU&&!t.A.CA?(C=t.AD>=0?0:t.I,s=t.AD>=0?t.I:0):(C=t.AD>=0?t.I:0,s=t.AD>=0?0:t.I);var te=t.A.A.HX,ie=ZC.CX(W,U),ae=t.C.EY[ZC._[27]],ne=t.C.EY.angle,le=ZC.EE(ne)*W,re=ZC.EN(ne)*W;V||(ie=ZC.CX(2*re,U));var oe=function(e){var i=-1,l=t.A.L,r=t.L,o=t.A.A.A5.length,s=t.A.R.length;switch((t.A.CA?\"s\":\"\")+(a.AU?\"k\":\"\")+(n.AU?\"v\":\"\")){case\"\":case\"v\":case\"sv\":i=10*(o-l)+1e4*r+e;break;case\"k\":case\"skv\":case\"kv\":i=10*(o-l)+1e4*(s-r)+e;break;case\"s\":i=10*l+1e4*r+e;break;case\"sk\":i=10*l+1e4*(s-r)+e}return ZC._i_(i)},se=t.A.o.facets||{};switch(t.A.CV){default:se.left?((A=new D0(t)).copy(Q),A.append(se.left),A.parse(),Z=ZC.DG.D9(A,t.C,N-t.I+.1,N-.1,R+.1,R+.1,H+.1,H+O-.1,\"x\")):Z=ZC.DG.D9(Q,t.C,N-t.I+.1,N-.1,R+.1,R+.1,H+.1,H+O-.1,\"x\"),Z.K=t.K+\"-facet1\",Z.G0=oe(5),i.add(Z),se.right?((A=new D0(t)).copy(Q),A.append(se.right),A.parse(),h=ZC.DG.D9(A,t.C,N-t.I+.1,N-.1,R+t.F-.1,R+t.F-.1,H+.1,H+O-.1,\"x\")):h=ZC.DG.D9(Q,t.C,N-t.I+.1,N-.1,R+t.F-.1,R+t.F-.1,H+.1,H+O-.1,\"x\"),h.K=t.K+\"-facet2\",h.G0=oe(1),i.add(h),se.bottom?((A=new D0(t)).copy(T),A.append(se.bottom),A.parse(),c=ZC.DG.D9(A,t.C,N-t.I+.1,N-t.I+.1,R+t.F-.1,R+.1,H+.1,H+O-.1,\"z\")):c=ZC.DG.D9(T,t.C,N-t.I+.1,N-t.I+.1,R+t.F-.1,R+.1,H+.1,H+O-.1,\"z\"),c.K=t.K+\"-facet3\",c.G0=oe(2),i.add(c),se.top?((A=new D0(t)).copy(T),A.append(se.top),A.parse(),p=ZC.DG.D9(A,t.C,N-.1,N-.1,R+t.F-.1,R+.1,H+.1,H+O-.1,\"z\")):p=ZC.DG.D9(T,t.C,N-.1,N-.1,R+t.F-.1,R+.1,H+.1,H+O-.1,\"z\"),p.K=t.K+\"-facet4\",p.G0=oe(3),i.add(p),se.front?((A=new D0(t)).copy(z),A.append(se.front),A.parse(),u=ZC.DG.D9(A,t.C,N-t.I+.1,N-.1,R+t.F-.1,R+.1,H+.1,H+.1,\"y\")):u=ZC.DG.D9(z,t.C,N-t.I+.1,N-.1,R+t.F-.1,R+.1,H+.1,H+.1,\"y\"),u.K=t.K+\"-facet5\",u.G0=oe(4),i.add(u),t.A.FX&&(t.A.CA||te.push(S+\"--top\"+ZC._[30]+p.F1()+'\" />'),te.push(S+\"--left\"+ZC._[30]+Z.F1()+'\" />',S+\"--right\"+ZC._[30]+h.F1()+'\" />',S+\"--front\"+ZC._[30]+u.F1()+'\" data-z-sort=\"-100\" />'));break;case\"pyramid\":se.bottom?((A=new D0(t)).copy(T),A.append(se.bottom),A.parse(),c=ZC.DG.D9(A,t.C,N-C,N-C,R+U-j,R+U+j,W-ee,W+ee,\"z\")):c=ZC.DG.D9(T,t.C,N-C,N-C,R+U-j,R+U+j,W-ee,W+ee,\"z\"),c.K=t.K+\"-facet1\",c.G0=oe(n.AU&&!t.A.CA?6:1),i.add(c),f=[[N-C,R+U-j,W-ee],[N-C,R+U+j,W-ee]],t.A.CA&&0!==y?f.push([N-s,R+U+q,W-$],[N-s,R+U-q,W-$]):f.push([N-s,R+U,O/2]),se.front?((A=new D0(t)).copy(k),A.append(se.front),A.parse(),u=ZC.DG.D6(A,t.C,f)):u=ZC.DG.D6(k,t.C,f),u.K=t.K+\"-facet2\",u.G0=oe(3),i.add(u),f=[[N-C,R+U-j,W-ee],[N-C,R+U-j,W+ee]],t.A.CA&&0!==y?f.push([N-s,R+U-q,W+$],[N-s,R+U-q,W-$]):f.push([N-s,R+t.F/2,O/2]),se.left?((A=new D0(t)).copy(Q),A.append(se.left),A.parse(),Z=ZC.DG.D6(A,t.C,f)):Z=ZC.DG.D6(Q,t.C,f),Z.K=t.K+\"-facet3\",Z.G0=oe(4),i.add(Z),f=[[N-C,R+U+j,W-ee],[N-C,R+U+j,W+ee]],t.A.CA&&0!==y?f.push([N-s,R+U+q,W+$],[N-s,R+U+q,W-$]):f.push([N-s,R+U,O/2]),se.right?((A=new D0(t)).copy(Q),A.append(se.right),A.parse(),h=ZC.DG.D6(A,t.C,f)):h=ZC.DG.D6(Q,t.C,f),h.K=t.K+\"-facet4\",h.G0=oe(2),i.add(h),t.A.CA&&0!==y&&(se.top?((A=new D0(t)).copy(T),A.append(se.top),A.parse(),p=ZC.DG.D9(A,t.C,N-s,N-s,R+U-q,R+U+q,W-$,W+$,\"z\")):p=ZC.DG.D9(T,t.C,N-s,N-s,R+U-q,R+U+q,W-$,W+$,\"z\"),p.K=t.K+\"-facet5\",p.G0=oe(5),i.add(p)),t.A.FX&&te.push(S+\"--left\"+ZC._[30]+Z.F1()+'\" />',S+\"--right\"+ZC._[30]+h.F1()+'\" />',S+\"--front\"+ZC._[30]+u.F1()+'\" data-z-sort=\"-100\" />');break;case\"cylinder\":if(f=[],V)for(_=0;_<=360;_+=5)f.push([N-t.I,R+ZC.EN(_)*ie+U,H+ZC.EE(_)*ie+W]);else for(_=0;_<=360;_+=5)(d=new CB(t.C,0,0,0)).EA=[L+ZC.EE(_)*(ie/2)+le,w+U+ZC.EN(_)*ie-re],f.push(d);if(se.bottom?((A=new D0(t)).copy(T),A.append(se.bottom),A.parse(),c=ZC.DG.D6(A,t.C,f,!V)):c=ZC.DG.D6(T,t.C,f,!V),c.K=t.K+\"-facet1\",c.G0=oe(1),i.add(c),f=[],V){for(_=90-ae;_<=270-ae;_+=5)f.push([N-t.I,R+ZC.EN(_)*ie+U,H+ZC.EE(_)*ie+W]);for(f.push([N,R+ZC.EN(_)*ie+U,H+ZC.EE(_)*ie+W]),_=270-ae;_>=90-ae;_-=5)f.push([N,R+ZC.EN(_)*ie+U,H+ZC.EE(_)*ie+W])}else{for(_=90;_<=270;_+=5)(d=new CB(t.C,0,0,0)).EA=[L+ZC.EE(_)*(ie/2)+le,w+U+ZC.EN(_)*ie-re],f.push(d);for(_=270;_>=90;_-=5)(d=new CB(t.C,0,0,0)).EA=[L+ZC.EE(_)*(ie/2)+t.I+le,w+U+ZC.EN(_)*ie-re],f.push(d)}if(se.front?((A=new D0(t)).copy(k),A.append(se.front),A.parse(),u=ZC.DG.D6(A,t.C,f,!V)):u=ZC.DG.D6(k,t.C,f,!V),u.K=t.K+\"-facet2\",u.G0=oe(2),i.add(u),f=[],V)for(_=0;_<=360;_+=5)f.push([N,R+ZC.EN(_)*ie+U,H+ZC.EE(_)*ie+W]);else for(_=0;_<=360;_+=5)(d=new CB(t.C,0,0,0)).EA=[L+ZC.EE(_)*(ie/2)+t.I+le,w+U+ZC.EN(_)*ie-re],f.push(d);se.top?((A=new D0(t)).copy(T),A.append(se.top),A.parse(),p=ZC.DG.D6(A,t.C,f,!V)):p=ZC.DG.D6(T,t.C,f,!V),p.K=t.K+\"-facet3\",p.G0=oe(3),i.add(p),t.A.FX&&te.push(S+\"--front\"+ZC._[30]+u.F1()+'\" data-z-sort=\"-100\" />',S+\"--top\"+ZC._[30]+p.F1()+'\" />');break;case\"cone\":if(f=[],V)for(_=0;_<=360;_+=5)f.push([N-C,R+ZC.EN(_)*ie*x+U,ZC.EE(_)*ie*x+W]);else for(_=0;_<=360;_+=5)(d=new CB(t.C,0,0,0)).EA=[L+s+ZC.EE(_)*(ie/2)*x+le,w+U+ZC.EN(_)*ie*x-re],f.push(d);if(se.bottom?((A=new D0(t)).copy(T),A.append(se.bottom),A.parse(),c=ZC.DG.D6(A,t.C,f,!V)):c=ZC.DG.D6(T,t.C,f,!V),c.K=t.K+\"-facet1\",c.G0=oe(1),i.add(c),f=[],V){for(_=90-ae;_<=270-ae;_+=5)f.push([N-C,R+ZC.EN(_)*ie*x+U,ZC.EE(_)*ie*x+W]);if(t.A.CA&&0!==y)for(_=270-ae;_>=90-ae;_-=5)f.push([N-s,R+ZC.EN(_)*ie*y+U,ZC.EE(_)*ie*y+W]);else f.push([N-s,R+U,ie])}else{for(_=90;_<=270;_+=5)(d=new CB(t.C,0,0,0)).EA=[L+s+ZC.EE(_)*(ie/2)*x+le,w+U+ZC.EN(_)*ie*x-re],f.push(d);if(t.A.CA&&0!==y)for(_=270;_>=90;_-=5)(d=new CB(t.C,0,0,0)).EA=[L+C+ZC.EE(_)*(ie/2)*y+le,w+U+ZC.EN(_)*ie*y-re],f.push(d);else(d=new CB(t.C,0,0,0)).EA=[L+C+le,w+U-re],f.push(d)}if(se.front?((A=new D0(t)).copy(k),A.append(se.front),A.parse(),u=ZC.DG.D6(A,t.C,f,!V)):u=ZC.DG.D6(k,t.C,f,!V),u.K=t.K+\"-facet2\",u.G0=oe(2),i.add(u),t.A.CA&&0!==y){if(f=[],V)for(_=0;_<=360;_+=5)f.push([N-s,R+ZC.EN(_)*ie*y+U,ZC.EE(_)*ie*y+W]);else for(_=0;_<=360;_+=5)(d=new CB(t.C,0,0,0)).EA=[L+C+ZC.EE(_)*(ie/2)*y+le,w+U+ZC.EN(_)*ie*y-re],f.push(d);se.top?((A=new D0(t)).copy(T),A.append(se.top),A.parse(),p=ZC.DG.D6(A,t.C,f,!V)):p=ZC.DG.D6(T,t.C,f,!V),p.K=t.K+\"-facet3\",p.G0=oe(3),i.add(p)}t.A.FX&&te.push(S+\"--front\"+ZC._[30]+u.F1()+'\" data-z-sort=\"-100\" />')}}t.A.U&&t.A.U.AM&&t.F7()}}I2(){}}class A72 extends A3N{setup(){this.RT()}JB(){return{color:this.N.B7}}KC(){return{\"background-color\":this.N.B7,\"border-color\":this.N.B7,color:this.N.C1}}HG(e){var t=super.HG(e);return new CB(this.C,t[0]-ZC.AN.E2,t[1]-ZC.AN.E1,this.A.D[\"z-start\"]).EA}paint(){var e,t,i=this;super.paint();var a,n=i.D.points;(a=\"none\"!==i.A.J6?i.N=i.A.I3(i,i.N):i.N).DI=i.K+\"-3dfacet\",i.A.I6&&i.GL(a);var l=0,r=-1,o=ZC.AN.FU;if(\"hide\"===i.C.getToggleAction())i.A.CA?r=0:(l=i.A.A.A5.length,r=i.A.L,o/=l);else if(i.A.CA)r=0;else{for(e=0;ee&&r--);o/=l,r=l-r-1}a.A0=a.AE=a.B7,\"spline\"===i.A.CV&&(a.BV=a.B7);var s=i.A.A.HX,C=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],A=ZC.Q.GG(\"poly\",i.A.E7,i.N.IZ)+'class=\"'+C+'\" id=\"'+i.K,Z=r*o,c=(r+1)*o;if(null!==ZC._n_(i.A.o[\"z-start\"])&&(Z=ZC._i_(i.A.o[\"z-start\"])),null!==ZC._n_(i.A.o[\"z-end\"])&&(c=ZC._i_(i.A.o[\"z-end\"])),null!==ZC._n_(i.A.o.depth)){var p=ZC._i_(i.A.o.depth);Z=r*o+o/2-p,c=r*o+o/2+p}i.A.D[\"z-plots\"]=l,i.A.D[\"z-cnt\"]=r,i.A.D[\"z-depth\"]=o,i.A.D[\"z-start\"]=Z,i.A.D[\"z-mid\"]=(Z+c)/2;var u,h,_,d=[],f=[],g=a;ZC._a_(Z-c)<=2&&(i.C.CJ.SS[i.A.K]||(i.C.CJ.SS[i.A.K]={zIndex:i.A.L,style:a,points:[]},i.C.CJ.SS[i.A.K].style.ME=!1,i.C.CJ.SS[i.A.K].style.B1=ZC.BQ(1,ZC._i_(ZC._a_(Z-c)/1))));for(var v=0;v2){var B=-ZC._i_(ZC.UB(Math.atan((n[v+1][1]-n[v][1])/(n[v+1][0]-n[v][0]))));(g=new D0(i)).copy(a),g.A0=ZC.AP.JQ(ZC.AP.G8(g.A0),B),g.AE=ZC.AP.JQ(ZC.AP.G8(g.AE),B),g.BV=ZC.AP.JQ(ZC.AP.G8(g.BV),B)}var m,b,D,E;if(i.A.oP0&&ZC._a_(Z-c)<=2?((m=i.A.oP0).parse(i.C,n[v][0]-ZC.AN.E2,n[v][1]-ZC.AN.E1,Z),(b=i.A.oP1).parse(i.C,n[v+1][0]-ZC.AN.E2,n[v+1][1]-ZC.AN.E1,Z),(D=i.A.oP2).parse(i.C,n[v+1][0]-ZC.AN.E2,n[v+1][1]-ZC.AN.E1,c-1),(E=i.A.oP3).parse(i.C,n[v][0]-ZC.AN.E2,n[v][1]-ZC.AN.E1,c-1)):(m=i.A.oP0=new CB(i.C,n[v][0]-ZC.AN.E2,n[v][1]-ZC.AN.E1,Z),b=i.A.oP1=new CB(i.C,n[v+1][0]-ZC.AN.E2,n[v+1][1]-ZC.AN.E1,Z),D=i.A.oP2=new CB(i.C,n[v+1][0]-ZC.AN.E2,n[v+1][1]-ZC.AN.E1,c-1),E=i.A.oP3=new CB(i.C,n[v][0]-ZC.AN.E2,n[v][1]-ZC.AN.E1,c-1)),ZC._a_(Z-c)>2?((u=new ZZ(g,i.C)).K=i.K+\"-facet\"+v,u.add(m),u.add(b),u.add(D),u.add(E),i.C.CJ.add(u)):(i.C.CJ.SS[i.A.K].points.push(m.EA),v===n.length-2&&i.C.CJ.SS[i.A.K].points.push(b.EA),\"spline\"===i.A.CV&&(m=new CB(i.C,n[v][0]-ZC.AN.E2,n[v][1]-ZC.AN.E1,Z-10),E=new CB(i.C,n[v][0]-ZC.AN.E2,n[v][1]-ZC.AN.E1,c-1+10))),d.push(m.EA),f.push(E.EA),i.A.FX&&\"spline\"!==i.A.CV)if(ZC._a_(Z-c)>2)t=u.F1();else{for(h=ZC.AO.ZN([m.EA,b.EA],4),_=0;_')}\"spline\"===i.A.CV?(i.D.polypoints=!0,i.D.points=d.concat(f.reverse())):i.D.points=null,i.A.A2.o&&(\"spline\"===i.A.CV||\"none\"===i.A.A2.o.type||null!==ZC._n_(i.A.A2.o.visible)&&!ZC._b_(i.A.A2.o.visible))&&\"spline\"!==i.A.CV||i.OR(!0),i.A.U&&i.A.U.AM&&i.F7(),i.paintPreview(a,n)}I2(){}}class A73 extends A3O{setup(){this.RT()}JB(){return{color:this.N.B7}}KC(){return{\"background-color\":this.N.B7,\"border-color\":this.N.B7,color:this.N.C1}}HG(e){var t=super.HG(e);return new CB(this.C,t[0]-ZC.AN.E2,t[1]-ZC.AN.E1,this.A.D[\"z-start\"]).EA}paint(){var e,t,i=this;super.paint();var a=i.A.CK,n=a.H8,l=a.AX(n);l=ZC._l_(l,a.iY,a.iY+a.F);var r,o=i.D.points,s=i.D.pointsarea;(r=\"none\"!==i.A.J6?i.N=i.A.I3(i,i.N):i.N).DI=i.K+\"-3dfacet\",i.A.I6&&i.GL(r);var C=0,A=-1,Z=ZC.AN.FU;if(\"hide\"===i.C.getToggleAction())i.A.CA?A=0:(C=i.A.A.A5.length,A=i.A.L,Z/=C);else if(i.A.CA)A=0;else{for(e=0;ee&&A--);Z/=C,A=C-A-1}var c=new D0(i);c.copy(r),c.A0=c.AE=r.B7,\"spline\"===i.A.CV&&(c.BV=r.B7);var p=new D0(i);p.copy(r),p.LC=!0,p.AT=0,p.C5=i.A.HY,p.A0=ZC.AP.R0(ZC.AP.G8(p.A0),30),p.AE=ZC.AP.R0(ZC.AP.G8(p.AE),30);var u=i.A.A.HX,h=i.C.K+ZC._[34]+i.C.K+ZC._[35]+i.A.L+ZC._[6],_=ZC.Q.GG(\"poly\",i.A.E7,i.N.IZ)+'class=\"'+h+'\" id=\"'+i.K,d=[],f=[],g=A*Z,v=(A+1)*Z;if(null!==ZC._n_(i.A.o[\"z-start\"])&&(g=ZC._i_(i.A.o[\"z-start\"])),null!==ZC._n_(i.A.o[\"z-end\"])&&(v=ZC._i_(i.A.o[\"z-end\"])),null!==ZC._n_(i.A.o.depth)){var B=ZC._i_(i.A.o.depth);g=A*Z+Z/2-B,v=A*Z+Z/2+B}i.A.D[\"z-plots\"]=C,i.A.D[\"z-cnt\"]=A,i.A.D[\"z-depth\"]=Z,i.A.D[\"z-start\"]=g,i.A.D[\"z-mid\"]=(g+v)/2;var m,b,D=new ZZ(p,i.C);for(m=0,b=s.length;m2){var F=-ZC._i_(ZC.UB(Math.atan((o[m+1][1]-o[m][1])/(o[m+1][0]-o[m][0]))));(K=new D0(i)).copy(c),K.A0=ZC.AP.JQ(ZC.AP.G8(K.A0),F),K.AE=ZC.AP.JQ(ZC.AP.G8(K.AE),F),K.BV=ZC.AP.JQ(ZC.AP.G8(K.BV),F)}var X=new CB(i.C,o[m][0]-ZC.AN.E2,o[m][1]-ZC.AN.E1,g),I=new CB(i.C,o[m+1][0]-ZC.AN.E2,o[m+1][1]-ZC.AN.E1,g),x=new CB(i.C,o[m+1][0]-ZC.AN.E2,o[m+1][1]-ZC.AN.E1,v-1),y=new CB(i.C,o[m][0]-ZC.AN.E2,o[m][1]-ZC.AN.E1,v-1);if(ZC._a_(g-v)>2?((D=new ZZ(K,i.C)).K=i.K+\"-facet\"+m,D.add(X),D.add(I),D.add(x),D.add(y),i.C.CJ.add(D)):(i.C.CJ.SS[i.A.K].points.push(X.EA),m===o.length-2&&i.C.CJ.SS[i.A.K].points.push(I.EA),\"spline\"===i.A.CV&&(X=new CB(i.C,o[m][0]-ZC.AN.E2,o[m][1]-ZC.AN.E1,g-10),y=new CB(i.C,o[m][0]-ZC.AN.E2,o[m][1]-ZC.AN.E1,v-1+10))),d.push(X.EA),f.push(y.EA),i.A.FX&&\"spline\"!==i.A.CV)if(ZC._a_(g-v)>2)t=D.F1();else{for(var Y=ZC.AO.ZN([D.E[0].EA,D.E[1].EA],4),w=0;w')}\"spline\"===i.A.CV?(i.D.polypoints=!0,i.D.points=d.concat(f.reverse())):i.D.points=null,i.A.A2.o&&(\"none\"===i.A.A2.o.type||null!==ZC._n_(i.A.A2.o.visible)&&!ZC._b_(i.A.A2.o.visible))&&\"spline\"!==i.A.CV||i.OR(!0),i.A.U&&i.A.U.AM&&i.F7(),i.paintPreview(r,o,s)}I2(){}}class A8O extends MF{constructor(e){super(e),this.X9=0,this.XG=0}F0(e,t,i,a){var n=this,l=null;return l=n.A.L=3)t.A.U&&t.F7();else{super.paint();var i=t.N=t.A.I3(t,t),a=new DU(t.A);a.K=t.K,a.Z=t.A.CN(\"bl\",1),a.C6=t.A.CN(\"bl\",0),a.copy(i);var n=t.iX,l=t.iY;if(a.iX=n,a.iY=l,a.AI=t.AI,a.DP=\"circle\",a.D.plotidx=t.A.L,a.D.nodeidx=t.L,a.parse(),t.FP=a,t.A.GB&&!t.C.HM){var r=a,o={};r.iX=n,r.iY=l,o.x=n,o.y=l;var s=t.A.LH;if(r.C5=0,o.alpha=i.C5,3===s)r.AI=2,o.size=t.AI;else if(4===s){switch(t.A.L){case 0:r.iX=n-3*t.AI,r.iY=l;break;case 1:r.iX=n+3*t.AI,r.iY=l;break;case 2:r.iX=n,r.iY=l-3*t.AI}o.x=n,o.y=l}for(e in t.A.FV)r[E9.GO[ZC.EC(e)]]=t.A.FV[e],o[ZC.EC(e)]=i[E9.GO[ZC.EC(e)]];if(t.C.EL||(t.C.EL={}),null!==ZC._n_(t.C.EL[t.A.L+\"-\"+t.L]))for(e in t.C.EL[t.A.L+\"-\"+t.L])r[E9.GO[ZC.EC(e)]]=t.C.EL[t.A.L+\"-\"+t.L][e];t.C.EL[t.A.L+\"-\"+t.L]={},ZC._cp_(o,t.C.EL[t.A.L+\"-\"+t.L]);var C=new E9(r,o,t.A.JL,t.A.LB,E9.RU[t.A.LF],function(){A()});C.AW=t,t.L5(C)}else a.paint(),A()}function A(){var e=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6],i=ZC.Q.GG(\"circle\",t.A.E7,t.A.IZ)+'class=\"'+e+'\" id=\"'+t.K+ZC._[30]+ZC._i_(t.iX+ZC.MAPTX)+\",\"+ZC._i_(t.iY+ZC.MAPTX)+\",\"+ZC._i_(ZC.BQ(ZC.mobile?6:3,t.AI)*(ZC.mobile?2:1.2))+'\" />';t.A.A.HX.push(i),t.A.U&&t.F7()}}I2(e){var t=this;ZC.move||t.LL({layer:e,type:\"shape\",initcb:function(){this.DP=\"circle\",this.A0=t.A.BP[3],this.AE=t.A.BP[3]},setupcb:function(){this.iX=t.iX,this.iY=t.iY,this.AI=t.AI}})}}MF.prototype.MR=function(e,t){var i,a,n=this;if(typeof t===ZC._[31]&&(t=!1),t)typeof n.D.pointserror!==ZC._[31]&&((i=new D0(n)).copy(n.A),n.A.JH&&(i.copy(n.A.JH),i.append(n.A.JH.o[ZC._[71]])),i.parse(),i.K=n.K+\"--error-hover\",i.AM&&ZC.CR.paint(e,i,n.D.pointserror));else{var l=n.A.CK,r=n.A.B2;if(0!==n.A.SD.length){var o=null,s=null,C=!0;n.A.SD.length<=2?(null!==ZC._n_(n.A.SD[0])&&n.A.SD[0]instanceof Array&&(C=!1),null!==ZC._n_(n.A.SD[1])&&n.A.SD[1]instanceof Array&&(C=!1)):C=!1,C?(o=n.A.SD[0],s=n.A.SD[1]):null!==ZC._n_(a=n.A.SD[n.L])&&a instanceof Array&&(o=s=a[0],2===a.length&&(s=a[1])),n.D[\"node-error-plus\"]=o,n.D[\"node-error-minus\"]=s,-1!==(o+\"\").indexOf(\"%\")&&(o=ZC.IQ(o))<=1&&(o*=n.AD),-1!==(s+\"\").indexOf(\"%\")&&(s=ZC.IQ(s))<=1&&(s*=n.AD);var A=[],Z=ZC.IQ(n.A.JH&&n.A.JH.o[ZC._[21]]||.5);Z<=1&&(Z=\"vbar\"===n.A.AF?ZC._i_(Z*n.I):\"hbar\"===n.A.AF?ZC._i_(Z*n.F):ZC._i_(Z*r.A9));var c,p=0;if(p=r.CP?n.F:n.I,null!==ZC._n_(o)){var u=l.AX(n.CQ+o);r.CP?(c=l.AU?n.AD<0?n.iX+n.I:n.iX:n.AD>0?n.iX+n.I:n.iX,A.push([u,n.iY+p/2-Z/2],[u,n.iY+p/2+Z/2],null,[u,n.iY+p/2],[c,n.iY+p/2])):(c=l.AU?n.AD>0?n.iY+n.F:n.iY:n.AD<0?n.iY+n.F:n.iY,A.push([n.iX+p/2-Z/2,u],[n.iX+p/2+Z/2,u],null,[n.iX+p/2,u],[n.iX+p/2,c]))}if(null!==ZC._n_(s)){var h=l.AX(n.CQ-s);r.CP?(c=l.AU?n.AD<0?n.iX+n.I:n.iX:n.AD>0?n.iX+n.I:n.iX,A.push(null,[h,n.iY+p/2-Z/2],[h,n.iY+p/2+Z/2],null,[h,n.iY+p/2],[c,n.iY+p/2])):(c=l.AU?n.AD>0?n.iY+n.F:n.iY:n.AD<0?n.iY+n.F:n.iY,A.push(null,[n.iX+p/2-Z/2,h],[n.iX+p/2+Z/2,h],null,[n.iX+p/2,h],[n.iX+p/2,c]))}(i=new D0(n)).copy(n.A),n.A.JH&&i.copy(n.A.JH),i.parse(),i.K=n.K+\"--error\",i.CY=!1,ZC.CR.paint(e,i,A),n.D.pointserror=A}}};class HD extends I0{constructor(e){super(e);var t=this;t.G=t.A.A,t.BF=\"\",t.X=[],t.BY=[],t.A67=[],t.DK=!1,t.M=null,t.BR=null,t.IY=null,t.D4=null,t.GM=0,t.IG=null,t.G3=null,t.H8=0,t.PA=null,t.L=1,t.A6=0,t.A4Q=0,t.BW=0,t.AU=!1,t.CP=!1,t.A9=0,t.iStepMultiplier=1,t.DV=-1,t.RL=ZC.HN[ZC._[13]]||\"\",t.S6=ZC.HN[ZC._[14]]||\".\",t.A0D=!1,t.SQ=2,t.A3C=!1,t.TY=\"\",t.A0I=\"standard\",t.CH=null,t.AF=\"\",t.EF=ZC.MAX,t.M9=ZC.MAX,t.GP=!1,t.YN=!1,t.LX=null,t.NY=null,t.QE=[],t.E3=1,t.B4=-1,t.BM=-1,t.SR=-1,t.FW=-1,t.H1=-1,t.C8=\"lin\",t.EI=10,t.FH=null,t.PB=1,t.QD=!0,t.A11=!1,t.aAutoFit=[!1,!1],t.M2=null,t.X3=null,t.TM=!1,t.I7=-1,t.YZ=!1,t.B9=\"default\",t.QC=!1,t.VV=!1,t.RD=1,t.sMaster=\"\",t.bNormalize=!0}parse(){super.parse();var e,t=this;if(null!==ZC._n_(e=t.o.step))if(ZC.PK(e))t.E3=ZC._f_(e);else{var i=e.replace(/[0-9]/gi,\"\"),a=parseInt(e.replace(/[^0-9]/gi,\"\"),10);switch(a=a||1,i){case\"second\":t.E3=1e3*a;break;case\"minute\":t.E3=1e3*a*60;break;case\"hour\":t.E3=1e3*a*60*60;break;case\"day\":t.E3=1e3*a*60*60*24;break;case\"week\":t.E3=1e3*a*60*60*24*7;break;case\"month\":t.E3=2629743e3*a;break;case\"year\":t.E3=31556926e3*a}}if(null!==ZC._n_(t.o.multiplier)&&null===ZC._n_(t.o.short)&&(t.o.short=t.o.multiplier),t.assign_a([[ZC._[10],\"BY\"],[\"tooltip-text\",\"A67\"],[\"format\",\"CH\"],[\"offset-start\",\"A6\",\"i\"],[\"offset-start\",\"A4Q\",\"i\"],[\"offset-end\",\"BW\",\"i\"],[\"minor-ticks\",\"GM\",\"i\"],[\"step-multiplier\",\"iStepMultiplier\",\"i\"],[\"index\",\"L\",\"i\"],[\"mirrored\",\"AU\",\"b\"],[\"zooming\",\"GP\",\"b\"],[\"zoom-snap\",\"YN\",\"b\"],[\"fixed-step\",\"QC\",\"b\"],[\"zoom-to\",\"LX\"],[\"force-view\",\"YZ\",\"b\"],[\"zoom-to-values\",\"NY\"],[\"items-overlap\",\"A11\",\"b\"],[\"used\",\"TM\",\"b\"],[\"max-labels\",\"EF\",\"i\"],[\"max-items\",\"EF\",\"i\"],[\"ref-value\",\"H8\",\"f\"],[ZC._[12],\"DV\",\"ia\"],[ZC._[14],\"S6\"],[ZC._[13],\"RL\"],[\"short\",\"A3C\",\"b\"],[\"short-unit\",\"TY\"],[\"negation\",\"A0I\"],[\"exponent\",\"A0D\",\"b\"],[ZC._[25],\"SQ\",\"ia\"],[\"progression\",\"C8\"],[\"log-base\",\"EI\",\"fa\"],[\"scale-factor\",\"PB\",\"fa\"],[\"show-labels\",\"M2\"],[\"max-decimals\",\"I7\",\"i\"],[ZC._[7],\"B9\"],[\"factor\",\"RD\",\"f\"],[\"master\",\"sMaster\"],[\"blended\",\"VV\",\"b\"],[\"ranged\",\"DK\",\"b\"],[\"normalize\",\"bNormalize\",\"b\"]]),\"log\"===t.C8&&null===ZC._n_(t.o[\"minor-ticks\"])&&(t.GM=Math.max(0,t.EI-2)),null!==ZC._n_(e=t.o[\"auto-fit\"])&&(e.length?(t.aAutoFit[0]=ZC._b_(e[0]),t.aAutoFit[1]=ZC._b_(e[e.length-1])):t.aAutoFit[0]=t.aAutoFit[1]=ZC._b_(e)),\"string\"==typeof t.BY){var n=t.BY.split(\":\"),l=1;3===n.length&&(l=ZC._f_(n[2])),t.BY=[];for(var r=ZC._f_(n[0]);r1&&(t.B9=\"opposite\"),null!==ZC._n_(e=t.o.markers))for(var c=0,p=e.length;c=0&&n<=1&&(n=\"x\"===a||\"y\"===a?t.A.P[\"x\"===a?\"iX\":\"iY\"]+ZC._i_(n*t.A.P[\"x\"===a?\"I\":\"F\"]):ZC._i_(n*t.A.P[i[a]])),t[i[a]]=n}null!==ZC._n_(e=t.o.offset)&&(t.A6=t.BW=ZC._f_(ZC._p_(e))),null!==ZC._n_(e=t.o[\"offset-start\"])&&(t.A6=ZC._f_(ZC._p_(e))),null!==ZC._n_(e=t.o[\"offset-end\"])&&(t.BW=ZC._f_(ZC._p_(e)));var l=\"k\"===t.AF&&!t.CP||\"v\"===t.AF&&t.CP?t.I:t.F;t.A6<1&&(t.A6*=l),t.BW<1&&(t.BW*=l)}W8(e){var t=this;null!==ZC._n_(t.o.rules)&&(t.X3||(t.X3=new HD(t.A)),t.X3.append(t.o),t.X3.parse(),t.X3.J0=e,t.X3.DB()&&(t.X3.parse(),t.DV=t.X3.DV,t.CH=t.X3.CH))}GY(){}T8(){}ZX(){}HC(){}clear(){}build(){}LV(){var e,t=this,i={negation:t.A0I,\"thousands-separator\":t.RL,\"decimals-separator\":t.S6,decimals:t.DV,\"max-decimals\":t.I7,short:t.A3C,\"short-unit\":t.TY,exponent:t.A0D,\"exponent-decimals\":t.SQ};if(t.FH)switch(t.FH.o.type){case\"date\":i[ZC._[68]]=!0,null!==ZC._n_(e=t.FH.o.text)&&(t.FH.o.all=e);var a=t.X[t.A1]-t.X[t.V],n=\"\",l=\"\",r={},o=[\"msecond\",\"second\",\"minute\",\"hour\",\"day\",\"month\",\"year\"];for(var s in o)r[o[s]]=ZC.HN[\"date-formats\"][o[s]];l=0<=a&&a<=1e3?\"msecond\":1e3\").length),\"h\"===s?(r+=e.F,o=ZC.BQ(o,ZC._a_(ZC.EN(Z))*ZC.BQ(e.I,e.F))):\"w\"===s&&(r+=e.I,o=ZC.BQ(o,ZC._a_(ZC.EE(Z))*ZC.BQ(e.I,e.F))),e.EB(),null===ZC._n_(a.o.tooltip)&&e.KE||(null!==ZC._n_(a.o.tooltip)&&(a.o.tooltip.text=a.o.tooltip.text||\"%scale-value\"),C.push(ZC.AP.OE(a.A.K,e))))}return{tdim:r,mdim:o,overlaps:!p}}TL(e,t){var i=this;if(\"v\"===i.AF&&(i.H8!==i.B4&&i.H8!==i.BM||(null===ZC._n_(i.o[\"ref-line\"])||null!==ZC._n_(i.o[\"ref-line\"])&&null===ZC._n_(i.o[\"ref-line\"].visible))&&(i.PA.AM=!1)),i.PA.K=i.K+\"-ref-line\",i.X.length>0&&i.PA.AM&&!i.A.AJ[\"3d\"]&&i.PA.B1>0){\"inherit\"===i.PA.o[\"line-color\"]&&-1!==t&&(i.PA.B7=t);var a=i.H8;if(\"k\"===i.AF&&!i.CP||\"v\"===i.AF&&i.CP){var n=i.AX(a);n>=i.iX&&n<=i.iX+i.I&&ZC.CR.paint(e,i.PA,[[n,i.iY],[n,i.iY+i.F]])}else{var l=i.AX(a);l>=i.iY&&l<=i.iY+i.F&&ZC.CR.paint(e,i.PA,[[i.iX,l],[i.iX+i.I,l]])}}}paint_(){}VU(){for(var e=this,t=0,i=e.QE.length;t0&&e.QE[t].paint()}gc(){ZC.AP.gc(this,[\"X\",\"BY\",\"Z\",\"C6\",\"D4\",\"BR\",\"M\",\"G3\",\"IG\",\"PA\",\"IY\",\"J0\",\"o\",\"I9\",\"JC\",\"A\",\"G\"])}}class A41 extends HD{constructor(e){super(e);var t=this;t.ED=!1,t.AF=\"k\",t.DD=-1,t.DY=-1,t.V=-1,t.A1=-1,t.VO=1,t.DV=null,t.OS=0,t.A54=!1,t.O8=!1,t.UP={},t.IW=[]}zoomTo(e,t){var i=this;if(i.GP){null!==ZC._n_(e)?i.V=e:i.V=i.DD,null!==ZC._n_(t)?i.A1=t:i.A1=i.DY;var a=i.IW;if(a.length>0?(i.B4=ZC.AV(a,i.X[i.V]),i.BM=ZC.AV(a,i.X[i.A1])):(i.B4=i.X[i.V],i.BM=i.X[i.A1]),i.G.HE.C||(i.G.HE.C=i.A),i.A.HE&&null!==ZC._n_(i.A.HE.o.shared)&&ZC._b_(i.A.HE.o.shared)&&i.A.K===i.G.HE.C.K)for(var n=0,l=i.G.AH.length;n0&&e.BR.AA%180==0){for(var a=ZC.BQ(1,ZC._i_(t/20)),n=0,l=0;l||
|\\n/),o=0,s=0,C=r.length;s/gi,\"\").replace(/<\\/.+?>/gi,\"\").length);i+=o,n++}i=.75*i/Math.max(1,n)}else i=15;e.CP?e.EF=ZC._i_((e.F-e.A6-e.BW)/15):e.EF=ZC._i_((e.I-e.A6-e.BW)/i),e.EF=ZC.CX(e.EF,10),(e.BM-e.B4)/e.E3+1ZC._f_(o[1])){var C=o[0];o[0]=o[1],o[1]=C}if(s<=0&&(s=1),o.length>1){for(var A=0,Z=0,c=0,p=(\"\"+s).split(\".\"),u=ZC._f_(o[0]);u<=ZC._f_(o[1]);u+=s){var h=(\"\"+u).split(\".\");p.length>1&&h.length>1&&p[1].length>0&&h[1].length>=9&&ZC._a_(h[1].length-p[1].length)>2?(A+=p[1].length,Z=ZC.BQ(Z,p[1].length),c++,null!==(l=ZC._n_(r.o[ZC._[12]]))?r.X.push(ZC._f_(Number(u).toFixed(ZC._i_(l)))):r.X.push(ZC._f_(ZC._fixed_(Number(u),p[1].length))),u=ZC._f_(ZC._fixed_(Number(u),p[1].length))):(A+=h[1]?h[1].length:0,Z=ZC.BQ(Z,h[1]?h[1].length:0),c++,null!==(l=ZC._n_(r.o[ZC._[12]]))?r.X.push(ZC._f_(Number(u).toFixed(ZC._i_(l)))):r.X.push(u))}null===ZC._n_(r.o[ZC._[12]])&&(A=Math.ceil(A/c),r.DV=ZC._a_(Z-A)<=1?Z:A)}}if(2===e){var _=0,d=[];0===r.X.length?(t=ZC.MAX,i=-ZC.MAX):(t=r.X[0],i=r.X[r.X.length-1]);var f,g,v=r.A.AZ.A5,B=!1;for(a=0,n=v.length;ar.X.length&&r.X.length>0&&!r.ED)for(a=r.X.length;a<_;a++);var F=0;for(a=0;a0&&(t=0),B&&i<_-1&&(i=_-1),null!==ZC._n_(r.o[\"min-value\"])&&(t=ZC._f_(r.o[\"min-value\"])),null!==ZC._n_(r.o[\"max-value\"])&&(i=ZC._f_(r.o[\"max-value\"])),i-t0&&(r.E3=Math.pow(10,Math.floor(ZC.H3(i-t)/Math.LN10))),r.O8||r.Q3(t,i,!0),0===t&&0===i&&\"0,1\"===r.X.join(\",\")&&(r.X=[0]);else if(null!==ZC._n_(r.o[\"max-value\"])){f=0,g=0,null!==ZC._n_(r.o[\"min-value\"])&&(f=ZC._f_(r.o[\"min-value\"])),g=ZC._f_(r.o[\"max-value\"]),a=0;var X=f;if(r.FH&&null!==ZC._n_(r.FH.o.type))switch(r.FH.o.type){case\"date\":r.E3=r.XH(f,g)}else(g-f)/r.E3>1e4&&(r.E3=Math.pow(10,ZC.BQ(1,ZC._i_(ZC.H3(ZC._a_(g-f),10)-4))));for(;X0?(r.B4=r.V,r.BM=r.A1):(r.B4=ZC._f_(r.X[r.V]),r.BM=ZC._f_(r.X[r.A1])),r.NY){-1===ZC.AV(r.X,r.NY[0])&&ZC.PK(r.NY[0])&&null!==ZC._n_(r.X[0])&&-1!==r.SR&&(r.NY[0]=r.X[0]+r.SR*Math.floor((r.NY[0]-r.X[0])/r.SR)),-1===ZC.AV(r.X,r.NY[1])&&ZC.PK(r.NY[1])&&null!==ZC._n_(r.X[0])&&-1!==r.SR&&(r.NY[1]=r.X[0]+r.SR*Math.ceil((r.NY[1]-r.X[0])/r.SR));var I=ZC.AV(r.X,r.NY[0]),x=ZC.AV(r.X,r.NY[1]);r.LX=[-1===I?0:I,-1===x?r.X.length-1:x]}r.LX&&-1!==r.V&&-1!==r.A1&&((r.LX[0]>r.A1||r.LX[0]r.A1||r.LX[1]1e4&&(r=(p-c)/1e4,l=Math.ceil(ZC.H3(r)/Math.LN10),r=Math.pow(10,l)),null===ZC._n_(o.o[\"min-value\"])&&c!==p&&(s&&C||(c-=c%r)),null===ZC._n_(o.o[\"max-value\"])&&c!==p&&(s&&C||(p=p-p%r+(p%r==0?0:r))),l=Math.floor(ZC.H3(r)/Math.LN10);var u,h=a[3];if(l=12&&B++,v=(v+g)%12,(31===m&&(3===v||5===v||8===v||10===v)||m>28&&1===v)&&(m=1===v?B%4==0&&B%100!=0||B%400==0?29:28:30);var b=new Date(B,v,m,_[3],_[4],_[5]),D=b.getTimezoneOffset(),E=b.getTime()+6e4*(d-D);o.X.push(E),E1.005&&(y=!0,++x>ZC.CX(20,-1===o.I7?99:o.I7)&&(y=!1));else X=null!==x?ZC._f_(ZC._fixed_(u,Math.max(x,F))):ZC._f_(ZC._fixed_(u,F));o.X.push(X)}}else for(r=ZC._f_((t-e)/o.VO),n=0;n<=o.VO;n++)u=e+r*n,h<0&&(u=ZC._f_(u.toFixed(-h))),o.X.push(u);o.V=0,o.A1=o.X.length-1,o.DD=0,o.DY=o.X.length-1,o.B4=ZC._f_(o.X[o.V]),o.BM=ZC._f_(o.X[o.A1])}XH(e,t,i){typeof i===ZC._[31]&&(i=!1);var a=t-e,n=Math.floor(ZC.H3(a)/Math.LN10);return null===ZC._n_(this.o.step)||i?n<=3?1:4===n?1e3:5===n?1e4:6===n?2e4:7===n?3e4:8===n?6e4:9===n?6e5:10===n?12e5:11===n?18e5:36e5:this.E3}parse(){super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null!==ZC._n_(this.o[ZC._[5]])&&(this.TM=!0)}}class A01 extends HD{constructor(e){super(e);var t=this;t.AF=\"v\",t.V=-1,t.A1=-1,t.VO=0,t.DV=null,t.KY=\"normal\",t.JP=[]}zoomTo(e,t){var i,a,n=this;if(n.GP){null!==ZC._n_(e)?n.B4=e:n.B4=n.FW,null!==ZC._n_(t)?n.BM=t:n.BM=n.H1,(\"piano\"===n.A.AF||n.QC)&&(n.B4=ZC._i_(n.B4),n.BM=ZC._i_(n.BM)),n.Q3(n.B4,n.BM,!1);var l=n.A.BT(\"v\");for(i=0;iZC._f_(g[1])){var v=g[0];g[0]=g[1],g[1]=v}if(o<=0&&(o=1),null!==ZC._n_(s.o[\"fixed-items\"])&&(o=(ZC._f_(g[1])-ZC._f_(g[0]))/ZC.BQ(1,ZC._i_(s.o[\"fixed-items\"])-1),s.VO=ZC.BQ(1,ZC._i_(s.o[\"fixed-items\"])-1)),g.length>1){for(var B=0,m=0,b=0,D=(\"\"+o).split(\".\"),E=ZC._f_(g[0]);E<=ZC._f_(g[1]);E+=o)n=(\"\"+E).split(\".\"),D.length>1&&n.length>1&&D[1].length>0&&n[1].length>=9&&ZC._a_(n[1].length-D[1].length)>2?(B+=D[1].length,m=ZC.BQ(m,D[1].length),b++,s.X.push(ZC._f_(ZC._fixed_(Number(E),D[1].length)))):(B+=ZC._i_(n[1]?n[1].length:0),m=ZC.BQ(m,n[1]?n[1].length:0),b++,s.X.push(E));E-ZC._f_(g[1])!=0&&ZC._a_(E-ZC._f_(g[1]))/o<1e-8&&s.X.push(ZC._f_(g[1])),null===ZC._n_(s.o[ZC._[12]])&&(B=(n=(\"\"+o).split(\".\"))[1]?n[1].length:Math.ceil(B/b),s.DV=ZC._a_(m-B)<=1?m:B)}}s.V=0,s.A1=s.X.length-1,s.E3=o,c.length>1?(Z=ZC.YH(s.X,!0),s.B4=ZC.YH(s.X),s.BM=ZC.A1Y(s.X)):(s.B4=s.X[0],s.BM=s.X[s.X.length-1]),\"log\"===s.C8&&(0===s.B4&&(A=Math.floor(ZC.H3(Z,s.EI)),s.B4=Math.pow(s.EI,Math.min(-1,A))),s.Q3(ZC.H3(s.B4,s.EI),ZC.H3(s.BM,s.EI),!1))}if(2===e){var K={};null===ZC._n_(s.o[ZC._[5]])&&(s.X=[],l=ZC.MAX,r=-ZC.MAX);var F=[],X=s.A.AZ.A5;for(i=0,a=X.length;i=0||!x?K[X[i].DX][G]=[X[i].R[Y].AD,0]:K[X[i].DX][G]=[0,X[i].R[Y].AD]:X[i].R[Y].AD>=0||!x?K[X[i].DX][G][0]+=X[i].R[Y].AD:K[X[i].DX][G][1]+=X[i].R[Y].AD,X[i].R[Y].AD>=0||!x?X[i].R[Y].CQ=K[X[i].DX][G][0]:X[i].R[Y].CQ=K[X[i].DX][G][1],null===ZC._n_(s.o[ZC._[5]])&&F.push(K[X[i].DX][G][0]+M,K[X[i].DX][G][1]+M);else if(null===ZC._n_(s.o[ZC._[5]])){F.push(X[i].R[Y].AD+M),0!==M&&F.push(M);for(var L=0,P=X[i].R[Y].DM.length;L0&&(Z=ZC.YH(F,!0),l=ZC.YH(F),r=ZC.A1Y(F)),0!==s.X.length||l!==Number.MAX_VALUE&&r!==Number.MIN_VALUE||(s.X=[0,1],l=0,r=1),null===ZC._n_(s.o[ZC._[5]])&&(null!==ZC._n_(s.o[\"min-value\"])&&\"auto\"!==s.o[\"min-value\"]?l=ZC._f_(s.o[\"min-value\"]):l>0&&\"auto\"!==s.o[\"min-value\"]&&\"log\"!==s.C8&&(l=0),null!==ZC._n_(s.o[\"max-value\"])&&(r=ZC._f_(s.o[\"max-value\"])),l===ZC.MAX&&r===-ZC.MAX?(s.V=0,s.A1=0,s.B4=0,s.BM=0):\"log\"===s.C8?(0===l&&(A=Math.floor(ZC.H3(Z,s.EI)),l=Math.pow(s.EI,Math.min(-1,A))),s.Q3(ZC.H3(l,s.EI),ZC.H3(r,s.EI),!1)):s.Q3(l,r,!0))}2===e&&(-1===s.FW&&-1===s.H1&&(s.FW=s.B4,s.H1=s.BM),-1===s.SR&&(s.SR=s.E3)),\"auto\"===s.o[\"min-value\"]&&null===ZC._n_(s.o[\"ref-value\"])&&(s.H8=s.B4),0===s.VO&&(s.VO=ZC._i_((s.BM-s.B4)/s.E3));var N=s.G.D[\"graph\"+s.A.L+\".zoom\"];if(null===ZC._n_(s.G.D[ZC._[53]])||s.G.D[ZC._[53]]){var R=1===s.L?\"\":\"-\"+s.L;2===e&&typeof N!==ZC._[31]&&null!==ZC._n_(N[\"ymin\"+R])&&null!==ZC._n_(N[\"ymax\"+R])&&(ZC.DS(N[\"ymin\"+R],s.B4,s.BM)||(N[\"ymin\"+R]=s.B4),ZC.DS(N[\"ymax\"+R],s.B4,s.BM)||(N[\"ymax\"+R]=s.BM),s.LX=[N[\"ymin\"+R],N[\"ymax\"+R]])}else s.G.D[\"graph\"+s.A.L+\".zoom\"]={};s.LX&&(s.A.A1M=!0)}Q3(e,t,i){var a,n,l,r,o=this;\"piano\"!==o.A.AF&&!o.QC&&o.JP.length>1&&(e=0),o.TY.length&&null===ZC._n_(o.o[\"scale-factor\"])&&(l=Math.floor(ZC.H3(ZC._a_(t),ZC._f_(o.TY[0]))),o.PB=Math.pow(ZC._f_(o.TY[0]),l)/Math.pow(1e3,l),o.D[\"max-power\"]=l);var s=(r=o.FH&&\"date\"===o.FH.o.type?ZC.AO.WU(e,t,\"lin\"===o.C8?o.E3:null,o.PB,o.bNormalize,o.EF):ZC.AO.WU(e,t,\"lin\"===o.C8?o.o.step:null,o.PB,o.bNormalize,o.EF))[0],C=r[1],A=!1;n=Math.floor(r[0]),\"log\"===o.C8&&(l=Math.ceil(r[1]),r[1]-r[0]>=.5?A=!0:r=ZC.AO.WU(Math.pow(o.EI,r[0]),Math.pow(o.EI,r[1]),null,o.PB,o.bNormalize));var Z,c,p=r[0],u=r[1],h=r[2];null!==ZC._n_(o.o[\"fixed-items\"])&&(h=(u-p)/ZC.BQ(1,ZC._i_(o.o[\"fixed-items\"])-1)),o.QC&&t===e&&(t+h<=o.BM?t+=h:e-=h),1!==o.RD&&(p*=o.RD,u*=o.RD,h*=o.RD),null!==ZC._n_(o.D[\"o-decimals\"])?o.DV=o.D[\"o-decimals\"]:o.D[\"o-decimals\"]=o.DV,null===ZC._n_(o.o[ZC._[12]])&&(\"log\"===o.C8&&A?o.DV=n<0?null:0:n<0?o.DV=r[3]:o.A3C||(o.DV=0));var _,d,f,g=!0;if(A){var v,B;n=Math.floor(p),l=Math.ceil(u),_=Math.pow(o.EI,e),d=Math.pow(o.EI,t),o.X=[];var m=[0,2,5];for(B=[0,1,2,3,4,5,6,7,8,9,10],a=n;a<=l;a++){var b=r[3];if(b=a<0?Math.max(ZC._a_(a),b):0,a===l)for(v=0;v=p&&c<=u&&o.X.push(c):o.X.push(c),Z+=h,Z=ZC._f_(Z.toFixed(r[3]))}while(Z<=u);g&&(o.DV+=1)}\"log\"===o.C8&&(s=ZC.H3(p,o.EI),C=ZC.H3(u,o.EI),o.X.push(p),o.X.push(u),o.X.sort(function(e,t){return e-t}))}o.E3=h,o.V=0,o.A1=o.X.length-1,i?(o.B4=s,o.BM=C):(o.B4=e,o.BM=t)}parse(){var e=this;e.assign_a([[\"stack-type\",\"KY\"]]),(e.A.CA&&\"100%\"===e.A.KY||\"100%\"===e.KY)&&null===ZC._n_(e.o[ZC._[5]])&&(e.o[ZC._[5]]=\"0:100:20\",e.o.format=\"%v%\"),super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null===ZC._n_(this.D[ZC._[12]])&&(this.D[ZC._[12]]=null!==ZC._n_(this.DV)?this.DV:-1),null!==ZC._n_(this.o[ZC._[5]])&&(this.TM=!0)}}class TF extends A41{constructor(e){super(e)}parse(){super.parse()}GY(){var e=this;e.A1===e.V?e.A9=e.I-e.A6-e.BW:e.A9=(e.I-e.A6-e.BW)/(e.A1-e.V+(e.DK?1:0))}HC(e){super.HC(e),this.GY()}zoomTo(e,t){super.zoomTo(e,t);this.GY()}clear(){}build(){super.build()}KZ(e){var t,i=this;return t=i.AU?(i.iX+i.I-i.A6-e)/(i.I-i.A6-i.BW):(e-i.iX-i.A6)/(i.I-i.A6-i.BW),i.B4+ZC._f_((i.BM-i.B4)*t)}MU(e,t,i){var a,n,l,r=this;typeof i===ZC._[31]&&(i=!1);var o=r.DK?r.A9:0;l=r.AU?(r.iX+r.I-e-r.A6-o/2)/(r.I-r.A6-r.BW-o):(e-r.iX-r.A6-o/2)/(r.I-r.A6-r.BW-o);var s,C=!1;if(t)for(s in t.K7){C=!0;break}if(t&&!r.O8&&C){var A=r.X[r.V];\"string\"==typeof A&&(A=ZC.AV(r.IW,A)),\"log\"===r.C8&&(A=ZC.H3(A,r.EI));var Z=r.X[r.A1];\"string\"==typeof Z&&(Z=ZC.AV(r.IW,Z)),\"log\"===r.C8&&(Z=ZC.H3(Z,r.EI));var c=A+ZC._f_((Z-A)*l);\"log\"===r.C8&&(c=Math.pow(r.EI,c));var p=ZC.MAX;for(s in n=null,t.K7)(a=Math.abs(s-c))t.A32){var u=Math.ceil((Z-A)/(r.I-r.A6-r.BW));if(t.X.length<2&&(u*=100),p>u)return null}return n}var h=r.V,_=r.A1;return r.ED&&(null!==ZC._n_(a=r.X[h])&&(h=a),null!==ZC._n_(a=r.X[_])&&(_=a)),\"log\"===r.C8&&(h=ZC.H3(h,r.EI),_=ZC.H3(_,r.EI)),n=i?r.DK?h+(_-h+1)*l:h+(_-h)*l:r.DK?r.V+(r.A1-r.V+1)*l:r.V+(r.A1-r.V)*l,\"log\"===r.C8?(n=Math.pow(r.EI,n),n=Math.floor(n)-1):(n=r.DK?Math.floor(n):ZC._i_(n),n=ZC.BQ(0,n),n=ZC.CX(r.DY,n)),n}H4(e){var t=this;t.V,t.A1;return t.ED&&!t.O8&&(t.B4,t.BM),\"log\"===t.C8&&(e=ZC.H3(e+1,t.EI)),t.AU?t.iX+t.I-t.A6-(e-t.V+(t.DK?1:0))*t.A9+(t.DK?t.A9/2:0):t.iX+t.A6+(e-t.V)*t.A9+(t.DK?t.A9/2:0)}AX(e){var t,i,a,n,l,r=this;if(\"log\"===r.C8&&(e=ZC.H3(e,r.EI)),r.O8){var o=r.UP[e];return r.H4(o)}return-1!==(t=ZC.AV(r.IW,e))?r.H4(t):!r.A54&&(r.ED||r.FH&&\"date\"===r.FH.o.type)?(n=r.X[r.V],l=r.X[r.A1],\"log\"===r.C8&&(n=ZC.H3(n,r.EI),l=ZC.H3(l,r.EI)),l===n?i=0:(a=l-n,i=(r.I-r.A6-r.BW-(r.DK?r.A9:0))/a),r.AU?r.iX+r.I-r.A6-(e-n)*i-(r.DK?r.A9/2:0):r.iX+r.A6+(e-n)*i+(r.DK?r.A9/2:0)):(n=r.B4,l=r.BM,\"log\"===r.C8&&(n=ZC.H3(n,r.EI),l=ZC.H3(l,r.EI)),l===n?i=0:(a=l-n+(r.DK?1:0),i=(r.I-r.A6-r.BW)/a),r.AU?r.iX+r.I-r.A6-(e-n)*i-(r.DK?r.A9/2:0):r.iX+r.A6+(e-n)*i+(r.DK?r.A9/2:0))}paint(){var e,t,i,a,n,l,r,o,s,C,A,Z,c,p,u,h,_,d=this;super.paint(),null!==ZC._n_(d.A.A.D[d.BF+\"-feed-offset-start\"])&&(d.A6=d.A.A.D[d.BF+\"-feed-offset-start\"]),\"bubble\"!==d.A.AF&&\"scatter\"!==d.A.AF||(-1===d.A6&&-1===d.BW||1===d.X.length)&&(d.A6=d.BW=d.I/(d.X.length+1),d.GY());var f=d.Y3(),g=0,v=1,B=1,m={};for(t=0,i=d.A.BN.length;t0;P--)d.iStepMultiplier>P&&d.A1-d.V<=P*d.iStepMultiplier&&(L=P);G*=L,M*=L;var N,R,H,O=0,k=d.A9*G/(d.GM+1),T=d.AU?d.iX+d.BW:d.iX+d.A6,Q=d.AU?d.iX+d.I-d.A6:d.iX+d.I-d.BW;if(null===ZC._n_(E)&&(E=n),l=d.G.usc()?d.G.mc():ZC.AK(d.A.K+\"-scales-ml-0-c\"),o=ZC.Q.E8(l,d.G.AC),r=d.G.usc()?d.G.mc():ZC.AK(d.A.K+\"-scales-bl-0-c\"),s=ZC.Q.E8(r,d.G.AC),\"inherit\"===d.o[\"line-color\"]&&-1!==f&&(d.B7=f),d.A.AJ[\"3d\"]){if((u=ZC.DG.D9(d,d.A,d.iX-ZC.AN.E2,d.iX-ZC.AN.E2+d.I,n-ZC.AN.E1,n-ZC.AN.E1,-1,ZC.AN.FU+1,\"x\")).K=d.K+\"-line\",d.A.EY.true3d&&(d.A.EY[ZC._[27]]>0?u.ML=[1===d.L?-100:100,1,1]:u.ML=[1===d.L?100:-100,1,1]),d.A.CJ.add(u),null!==ZC._n_(d.o.axis)){var z=new D0(d);z.append(d.o.axis),z.parse(),z.A0=z.AE=z.B7,(u=ZC.DG.D9(z,d.A,d.iX-ZC.AN.E2,d.iX-ZC.AN.E2+d.I,n-ZC.AN.E1,n-ZC.AN.E1,-z.B1/2,z.B1/2,\"x\")).K=d.K+\"-axis\",d.A.CJ.add(u)}}else{A=[[d.iX-1,w],[d.iX+d.I+1,w]];var J=d.K;d.K+=\"-line\",ZC.CR.paint(o,d,A),d.K=J}if(d.X.length>0&&d.D4.AM){var S=null===ZC._n_(d.D4.o[\"offset-start\"])?0:ZC._i_(d.D4.o[\"offset-start\"]),V=null===ZC._n_(d.D4.o[\"offset-end\"])?0:ZC._i_(d.D4.o[\"offset-end\"]);if(d.D4.o.items&&d.D4.o.items.length>0&&!d.A.AJ[\"3d\"])for(h=new I0(d),t=d.V;t0)for(d.GV=0,t=d.V;t<=d.A1+(d.DK?1:0);t++)if(d.K8=t,t===d.V||t===d.A1+(d.DK?1:0)||(t-d.V)%G==0){(d.D4.E4.length>0||t===d.V)&&((p=new D0(d)).Z=p.C6=r,p.copy(d.D4),p.J0=Xe,p.DB()&&p.parse()),A=[],Z=t-d.V,c=d.AU?d.iX+d.I-d.A6-Z*d.A9:d.iX+d.A6+Z*d.A9;var U=d.iY+S,W=d.F-S-V;if(p.AM)if(d.A.AJ[\"3d\"]){var j=new D0(d);j.copy(p),null!==ZC._n_(d.o[\"scale-z\"])&&null!==ZC._n_(e=d.o[\"scale-z\"].guide)&&(j.append(e),j.parse()),j.A0=j.AE=j.B7,u=ZC.DG.D9(j,d.A,c-ZC.AN.E2-j.B1/2,c-ZC.AN.E2+j.B1/2,n-ZC.AN.E1,n-ZC.AN.E1,0,ZC.AN.FU,\"z\"),d.A.CJ.add(u),p.A0=p.AE=p.B7,(u=ZC.DG.D9(p,d.A,c-ZC.AN.E2-p.B1/2,c-ZC.AN.E2+p.B1/2,U-ZC.AN.E1,U+W-ZC.AN.E1,ZC.AN.FU+2,ZC.AN.FU+2,\"y\")).K=d.K+\"-guide-\"+t,d.A.CJ.add(u)}else A.push([c,U],[c,U+W]),p.K=d.K+\"-guide-\"+t,ZC.CR.paint(s,p,A);d.GV++}}if(d.X.length>0&&d.G3.AM&&!d.A.AJ[\"3d\"]&&d.G3.o.items&&d.G3.o.items.length>0)for(h=new I0(d),t=d.V;t0)for(t=d.V;t0&&d.IY.AM){switch(d.IY.o[ZC._[7]]){case\"inner\":break;case\"outer\":O+=x;break;default:O+=x/2}if(!zingchart.DEV.SMARTDATELABELS||!d.FH||\"date\"!==d.FH.o.type)for(d.GV=0,t=d.V;t<=d.A1+(d.DK?1:0);t++)if(t===d.V||t===d.A1+(d.DK?1:0)||(t-d.V)%G==0){d.K8=t;var q=x;switch(A=[],Z=t-d.V,(d.IY.E4.length>0||t===d.V)&&((p=new DU(d)).copy(d.IY),\"inherit\"===d.IY.o[\"line-color\"]&&-1!==f&&(p.B7=f),p.J0=Xe,p.DB()&&p.parse(),p.AI>1&&(q=p.AI)),c=d.AU?d.iX+d.I-d.A6-Z*d.A9:d.iX+d.A6+Z*d.A9,p.o[ZC._[7]]){case\"ref-auto\":A.push([c,E+q/2],[c,E-q/2]);break;case\"ref-top\":A.push([c,E-q],[c,E]);break;case\"ref-bottom\":A.push([c,E+q],[c,E]);break;case\"inner\":A.push([c,n-(D?q:-q)],[c,n]);break;case\"outer\":A.push([c,n],[c,n+(D?q:-q)]);break;default:A.push([c,n+q/2],[c,n-q/2])}if(p.AM){for(R=ZC._i_(p.o[\"offset-x\"]||\"0\"),H=ZC._i_(p.o[\"offset-y\"]||\"0\"),N=0;N0&&d.GM>0&&d.IG.AM&&!d.A.AJ[\"3d\"])for(t=d.V;t0&&d.BR.AM)if(zingchart.DEV.SMARTDATELABELS&&d.FH&&\"date\"===d.FH.o.type){var _e=d.getOptimalDateInterval(d.X[d.A1]-d.X[d.V]),de=_e[0];Ae=_e[1];var fe=_e[2],ge=_e[3];pe=_e[4];var ve=fe*Math.ceil(d.X[d.V]/fe),Be=fe*Math.floor(d.X[d.A1]/fe),me=\"\";d.GV=0;var be=!0;for(t=ve;t<=Be;t+=fe){be=!0;var De=ZC.AP.YP(t,de,d.A.V3,d.A.NL);if(De!==me){switch(ge){case\"yr\":pe>15&&(be=ZC._i_(De)%2==0);break;case\"mon\":pe>15&&(be=ZC._i_(De)%3==0);break;case\"day\":pe>45?be=1===ZC._i_(De)||15===ZC._i_(De):pe>30?be=1===ZC._i_(De)||10===ZC._i_(De)||20===ZC._i_(De):pe>15&&(be=1===ZC._i_(De)||10===ZC._i_(De)||15===ZC._i_(De)||20===ZC._i_(De)||25===ZC._i_(De));break;case\"hr\":pe>45?be=ZC._i_(De)%12==0:pe>30?be=ZC._i_(De)%6==0:pe>15&&(be=ZC._i_(De)%3==0);break;case\"min\":case\"sec\":pe>45?be=ZC._i_(De)%30==0:pe>30?be=ZC._i_(De)%10==0:pe>15&&(be=ZC._i_(De)%5==0)}be&&(Ie(t,!0),me=De)}}Ce.AM&&(Ce.K=d.K+\"-ticks\",ZC.CR.paint(o,Ce,se))}else for(d.GV=0,Ie(d.V),d.GV=d.A1-d.V,Ie(d.A1),d.GV=1,t=d.V+1;t0&&ZC.AK(d.A.A.K+\"-map\")&&(ZC.AK(d.A.A.K+\"-map\").innerHTML+=he.join(\"\")),null!==ZC._n_(d.o.transform)&&\"date\"===d.o.transform.type&&d.paintTransformDate()}function Xe(e){return e=(e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,d.A1-d.V)).replace(/(%c)|(%scale-position)/g,d.GV)).replace(/(%i)|(%scale-index)/g,d.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(d.X[d.K8])?d.X[d.K8]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(d.BY[d.K8])?d.BY[d.K8]:\"\")).replace(/%scale-day-of-week/g,ZC.AP.YP(d.X[d.K8],\"%w\",d.A.V3,d.A.NL))}function Ie(e,t,i,a){var l;if(d.K8=e,Z=e-d.V,(d.BR.E4.length>0||e===d.V||!ne||d.BR.I6||i)&&(ne=new DR(d)),ne.copy(d.BR),ne.GN=d.K+\"-item \"+d.A.K+\"-scale-item zc-scale-item\",ne.K=d.A.K+\"-\"+d.BF.replace(/\\-/g,\"_\")+\"-item_\"+(a?\"c\"+a:e),ne.D[\"p-width\"]=d.A9,d.CH=re,d.DV=oe,i||d.W8(Xe),l=t?ZC.AP.YP(e,Ae,d.A.V3,d.A.NL):a||d.FB(e,null,null),!i&&d.BR.I6&&d.GL(d.BR,ne,null,{index:e,cnt:Z,text:l},d.BR.N7),null===ZC._n_(d.M2)||-1!==ZC.AV(d.M2,l)){if(ne.AR=l,ne.Z=ne.C6=d.G.usc()?d.G.mc():ZC.AK(d.A.K+\"-scales-ml-0-c\"),ne.IU=d.G.usc()?ZC.AK(d.G.K+\"-main\"):ZC.AK(d.G.K+\"-text\"),ne.D.nodeidx=e,ne.parse(),d.BR.A2S&&d.BR.AA%180==0&&(ne.o[ZC._[19]]=ZC._i_(.9*d.A9),ne.parse()),\"inherit\"!==d.BR.o[\"font-color\"]&&\"inherit\"!==d.BR.o.color||-1===f||(ne.C1=f),i||(ne.J0=Xe,ne.DB()&&ne.parse()),ne.o[\"auto-fit\"]&&(ne.I=ZC._i_(d.A9)),t?(c=d.AX(e),ne.iX=c-ne.I/2-(d.DK?d.A9/2:0)):i?(c=d.AX(e),ne.iX=c-ne.I/2):d.AU?(c=d.iX+d.I-d.A6-Z*d.A9,ne.iX=c-ne.I/2-(d.DK?d.A9/2:0)):(c=d.iX+d.A6+Z*d.A9,ne.iX=c-ne.I/2+(d.DK?d.A9/2:0)),d.A.BA&&d.A.BA.BY&&d.A.BA.IM){for(var r=!1,o=0;o10*ZC.SEC&&(r=2),e>30*ZC.SEC&&(r=5),e>60*ZC.SEC&&(r=10)):2*ZC.MIN10*ZC.MIN&&(r=2),e>30*ZC.MIN&&(r=5),e>60*ZC.MIN&&(r=10)):2*ZC.HR6*ZC.HR&&(r=2),e>12*ZC.HR&&(r=4),e>24*ZC.HR&&(r=6)):2*ZC.DAY12*ZC.DAY&&(l=[1,5,9,13,17,21,25,29]),e>24*ZC.DAY&&(l=[1,6,11,16,21,26])):2*ZC.MON9*ZC.MON&&(l=[1,4,7,10])):(a=\"%Y\",n=\"%Y\",e>9*ZC.YR&&(r=3),e>16*ZC.YR&&(r=4),e>25*ZC.YR&&(r=5))}o(i.X[i.A1]-i.X[i.V]);var s=null,C=null,A=[],Z=!1,c=!1;function p(e){var c,p;if(null!==ZC._n_(i.X[e])&&\"\"!==i.X[e]){if(i.O8&&e!==i.V&&e!==i.A1&&null!==ZC._n_(i.X[e-1])&&\"\"!==i.X[e-1]&&null!==ZC._n_(i.X[e])&&\"\"!==i.X[e]){var u=i.X[e]-i.X[e-1];null!==ZC._n_(C)&&C!==u&&o(C,!0),C=u}var h=ZC.AP.YP(i.X[e],a,i.A.V3,i.A.NL);if(h!==s&&ZC._i_(h)%r==0&&(0===l.length||-1!==ZC.AV(l,ZC._i_(h)))){var _,d=!0,f=e-i.V;c=i.AU?i.iX+i.I-i.A6-f*i.A9:i.iX+i.A6+f*i.A9+(i.DK?i.A9/2:0);var g=new DR(i);i.G.B8.load(g.o,\"graph.SCALE.transform[date].item\"),null!==ZC._n_(_=i.o.transform.item)&&g.append(_),g.GN=i.K+\"-item \"+i.A.K+\"-scale-item zc-scale-item\",g.K=i.K+\"-date-item-\"+e;var v=ZC.AP.YP(i.X[e],n,i.A.V3,i.A.NL);g.AR=v,g.Z=g.C6=i.G.usc()?i.G.mc():ZC.AK(i.A.K+\"-scales-ml-0-c\"),g.IU=i.G.usc()?ZC.AK(i.G.K+\"-main\"):ZC.AK(i.G.K+\"-text\"),g.parse(),i.AU?g.iX=c-g.I/2-(i.DK?i.A9/2:0):g.iX=c,g.iY=i.iY,i.A.AJ[\"3d\"]&&(i.A.NH(),p=new CB(i.A,g.iX+g.I/2-ZC.AN.E2,g.iY+g.F/2-ZC.AN.E1,0),g.iX=p.EA[0]-g.I/2,g.iY=p.EA[1]-g.F/2);var B=[g.iX+g.BJ,g.iY+g.BH,g.I,g.F];if(g.AA%180==90&&(B=[g.iX+g.BJ+g.I/2-g.F/2,g.iY+g.BH+g.F/2-g.I/2,g.F,g.I]),i.A.BA&&i.A.BA.IM){for(var m=!1,b=0;b=i.iX&&g.iX+g.I<=i.iX+i.I&&i.A.BA.BY.push({x:ZC._i_(g.iX),text:g.AR})}if(g.AM&&Z){if(d=!0,!i.A11){if(e===i.V||e===i.A1)d=!0;else for(var D=0,E=A.length;Di.iX+i.BJ+i.I&&(d=!1)}if(d){A.push(B),g.paint(),g.EB();var K=new D0(i);null!==ZC._n_(_=i.o.transform.guide)&&K.append(_),K.B1=1,K.B7=\"#ccc\",K.parse();var F=[];if(F.push([c,i.iY],[c,i.iY+i.F]),i.A.AJ[\"3d\"]){i.A.NH();for(var X=0,I=F.length;X0&&(Z=!1,null!==ZC._n_(e=i.o.transform.item)&&(Z=!(null!==ZC._n_(e.visible)&&!ZC._b_(e.visible))),c=!1,i.A.BA&&i.A.BA.BY&&(c=!0),Z||c)){p(i.V),p(i.A1);for(var u=i.V+1;u0;R--)g.iStepMultiplier>R&&g.A1-g.V<=R*g.iStepMultiplier&&(N=R);P*=N,L*=N;var H=0,O=g.A9*P/(g.GM+1);if(n=g.G.usc()?g.G.mc():ZC.AK(g.A.K+\"-scales-ml-0-c\"),l=ZC.Q.E8(n,g.G.AC),r=g.G.usc()?g.G.mc():ZC.AK(g.A.K+\"-scales-bl-0-c\"),o=ZC.Q.E8(r,g.G.AC),g.TM||g.YZ||null!==ZC._n_(g.A.o[g.BF])){if(\"inherit\"===g.o[\"line-color\"]&&-1!==v&&(g.B7=v),g.A.AJ[\"3d\"]){if((c=ZC.DG.D9(g,g.A,a-ZC.AN.E2,a-ZC.AN.E2,g.iY-ZC.AN.E1,g.iY-ZC.AN.E1+g.F,-1,ZC.AN.FU+1,\"y\")).K=g.K+\"-line\",g.A.EY.true3d&&(g.A.EY[ZC._[28]]>0?c.ML=[1===g.L?-100:100,1,1]:c.ML=[1===g.L?100:-100,1,1]),g.A.CJ.add(c),null!==ZC._n_(g.o.axis)){var k=new D0(g);k.append(g.o.axis),k.parse(),k.A0=k.AE=k.B7,(c=ZC.DG.D9(k,g.A,a-ZC.AN.E2,a-ZC.AN.E2,g.iY-ZC.AN.E1,g.iY-ZC.AN.E1+g.F,-k.B1/2,k.B1/2,\"y\")).K=g.K+\"-axis\",g.A.CJ.add(c)}}else{C=[[M,g.iY+g.F],[M,g.iY]];var T=g.K;g.K+=\"-line\",ZC.CR.paint(l,g,C),g.K=T}var Q=0,z=0,J=[],S=[];if(g.TM||g.YZ){if(g.X.length>0&&g.D4.AM){var V=null===ZC._n_(g.D4.o[\"offset-start\"])?0:ZC._i_(g.D4.o[\"offset-start\"]),U=null===ZC._n_(g.D4.o[\"offset-end\"])?0:ZC._i_(g.D4.o[\"offset-end\"]);if(g.D4.o.items&&g.D4.o.items.length>0&&!g.A.AJ[\"3d\"])for(g.GV=0,p=new I0(g),t=g.V;t0)for(g.GV=0,t=g.V;t<=g.A1+(g.DK?1:0);t++)if(g.K8=t,t===g.V||t===g.A1||t%P==0){(g.D4.E4.length>0||t===g.V||\"log\"===g.C8)&&((Z=new D0(g)).Z=Z.C6=r,\"log\"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?Z.copy(g.D4):Z.copy(g.G3):Z.copy(g.D4),Z.J0=ce,Z.DB()&&Z.parse()),C=[],A=t-g.V;var W=g.iX+V,j=g.I-V-U;if(s=\"log\"===g.C8?g.AX(g.X[t]):g.AU?g.iY+g.A6+A*g.A9:g.iY+g.F-g.A6-A*g.A9,Z.AM)if(g.A.AJ[\"3d\"]){var q=new D0(g);q.copy(Z),null!==ZC._n_(g.o[\"scale-z\"])&&null!==ZC._n_(e=g.o[\"scale-z\"].guide)&&(q.append(e),q.parse()),q.A0=q.AE=q.B7,c=ZC.DG.D9(q,g.A,a-ZC.AN.E2,a-ZC.AN.E2,s-ZC.AN.E1-q.B1/2,s-ZC.AN.E1+q.B1/2,0,ZC.AN.FU,\"y\"),g.A.CJ.add(c),Z.A0=Z.AE=Z.B7,(c=ZC.DG.D9(Z,g.A,W-ZC.AN.E2,W-ZC.AN.E2+j,s-ZC.AN.E1-Z.B1/2,s-ZC.AN.E1+Z.B1/2,ZC.AN.FU+2,ZC.AN.FU+2,\"x\")).K=g.K+\"-guide-\"+t,g.A.CJ.add(c)}else C.push([W,s],[W+j,s]),Z.K=g.K+\"-guide-\"+t,ZC.CR.paint(o,Z,C);g.GV++}}if(g.X.length>0&&g.G3.AM&&O>2&&!g.A.AJ[\"3d\"]){if(g.G3.o.items&&g.G3.o.items.length>0)for(p=new I0(g),t=g.V;t0&&\"log\"!==g.C8)for(t=g.V;t0&&g.IY.AM){switch(g.IY.o[ZC._[7]]){case\"inner\":break;case\"outer\":H+=Y;break;default:H+=Y/2}for(g.GV=0,_=ZC.AV(g.X,0),t=g.V;t<=g.A1+(g.DK?1:0);t++){g.K8=t;var ie=-1;if((t===g.V||t===g.A1||t%P==0||ZC._b_(g.o[\"show-zero\"])&&t===_)&&(C=[],A=t-g.V,(g.IY.E4.length>0||t===g.V||\"log\"===g.C8)&&(Z=new D0(g),\"log\"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?Z.copy(g.IY):(Z.copy(g.IG),ie=Y,Y=w):Z.copy(g.IY),\"inherit\"===g.IY.o[\"line-color\"]&&-1!==v&&(Z.B7=v),Z.J0=ce,Z.DB()&&Z.parse()),s=\"log\"===g.C8?g.AX(g.X[t]):g.AU?g.iY+g.A6+A*g.A9:g.iY+g.F-g.A6-A*g.A9,ZC.DS(s,g.A.P.iY,g.A.P.iY+g.A.P.F))){switch(Z.o[ZC._[7]]){case\"ref-right\":C.push([F,s],[F+Y,s]);break;case\"ref-left\":C.push([F,s],[F-Y,s]);break;case\"ref-auto\":C.push([F-Y/2,s],[F+Y/2,s]);break;case\"inner\":C.push([a,s],[a+(K?Y:-Y),s]);break;case\"outer\":C.push([a,s],[a-(K?Y:-Y),s]);break;default:C.push([a+Y/2,s],[a-Y/2,s])}if(-1!==ie&&(Y=ie,ie=-1),Z.AM){for(ee=ZC._i_(Z.o[\"offset-x\"]||\"0\"),te=ZC._i_(Z.o[\"offset-y\"]||\"0\"),$=0;$0&&g.IG.AM&&g.GM>0&&O>5&&!g.A.AJ[\"3d\"]&&\"log\"!==g.C8)for(t=g.V;t0||e===g.V||!d||g.BR.I6)&&(d=new DR(g)),d.copy(g.BR),d.GN=g.K+\"-item \"+g.A.K+\"-scale-item zc-scale-item\",d.K=g.A.K+\"-\"+g.BF.replace(/\\-/g,\"_\")+\"-item_\"+e,g.CH=re,g.DV=oe,g.W8(ce),t=(\"piano\"===g.A.AF||g.QC)&&g.BY.length?g.FB(e+g.B4):g.FB(e),g.BR.I6&&g.GL(g.BR,d,null,{index:e,cnt:A,text:t},g.BR.N7),null===ZC._n_(g.M2)||-1!==ZC.AV(g.M2,t)){switch(d.AR=t,d.Z=d.C6=g.G.usc()?g.G.mc():ZC.AK(g.A.K+\"-scales-ml-0-c\"),d.IU=g.G.usc()?ZC.AK(g.G.K+\"-main\"):ZC.AK(g.G.K+\"-text\"),d.parse(),\"inherit\"!==g.BR.o[\"font-color\"]&&\"inherit\"!==g.BR.o.color||-1===v||(d.C1=v),d.J0=ce,d.DB()&&d.parse(),d.o[ZC._[7]]){case\"ref-left\":d.iX=F-d.I-Y;break;case\"ref-right\":d.iX=F+Y;break;case\"ref-auto\":X&&X.R[e]?(X.FR(e).setup(),X.FR(e).iX0&&g.BR.AM)if(\"log\"===g.C8){var Ce=[];for(t=g.V;t<=g.A1;t++)ZC.AO._int_(ZC.H3(g.X[t],g.EI))&&(g.GV=t,se(t),Ce.push(t));for(t=g.V;t<=g.A1;t++)-1===ZC.AV(Ce,t)&&(g.GV=t,se(t))}else for(g.GV=0,se(g.V),g.GV=g.A1-g.V,se(g.A1),-1!==(_=ZC.AV(g.X,0))&&ZC._b_(g.o[\"show-zero\"])&&(g.GV=_,se(_)),g.GV=1,t=g.V+1;t0&&ZC.AK(g.A.A.K+\"-map\")&&(ZC.AK(g.A.A.K+\"-map\").innerHTML+=S.join(\"\"))}}function ce(e){return e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,g.A1-g.V)).replace(/(%c)|(%scale-position)/g,g.GV)).replace(/(%i)|(%scale-index)/g,g.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(g.X[g.K8])?g.X[g.K8]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(g.BY[g.K8])?g.BY[g.K8]:\"\")}}}class VE extends A41{constructor(e){super(e),this.CP=!0}parse(){super.parse()}GY(){var e=this;e.A1===e.V?e.A9=e.F-e.A6-e.BW:e.A9=(e.F-e.A6-e.BW)/(e.A1-e.V+(e.DK?1:0))}HC(e){super.HC(e),this.GY()}clear(){}build(){super.build()}zoomTo(e,t){super.zoomTo(e,t),this.GY()}KZ(e){var t,i=this;return t=i.AU?(e-i.iY-i.A6)/(i.F-i.A6-i.BW):(i.iY+i.F-i.A6-e)/(i.F-i.A6-i.BW),i.B4+ZC._f_((i.BM-i.B4)*t)}MU(e,t,i){var a,n,l,r,o=this;typeof i===ZC._[31]&&(i=!1);var s=o.DK?o.A9:0;l=o.AU?(e-o.iY-o.A6-s/2)/(o.F-o.A6-o.BW-s):(o.iY+o.F-e-o.A6-s/2)/(o.F-o.A6-o.BW-s);var C=!1;if(t)for(r in t.K7){C=!0;break}if(t&&!o.O8&&C){var A=o.X[o.V];\"string\"==typeof A&&(A=ZC.AV(o.IW,A)),\"log\"===o.C8&&(A=ZC.H3(A,o.EI));var Z=o.X[o.A1];\"string\"==typeof Z&&(Z=ZC.AV(o.IW,Z)),\"log\"===o.C8&&(Z=ZC.H3(Z,o.EI));var c=A+ZC._f_((Z-A)*l);\"log\"===o.C8&&(c=Math.pow(o.EI,c));var p=ZC.MAX;for(r in n=null,t.K7)(a=Math.abs(r-c))t.A32){var u=Math.ceil((Z-A)/(o.I-o.A6-o.BW));if(t.X.length<2&&(u*=100),p>u)return null}return n}var h=o.V,_=o.A1;return o.ED&&(null!==ZC._n_(a=o.X[h])&&(h=a),null!==ZC._n_(a=o.X[_])&&(_=a)),\"log\"===o.C8&&(h=ZC.H3(h,o.EI),_=ZC.H3(_,o.EI)),n=i?o.DK?h+(_-h+1)*l:h+(_-h)*l:o.DK?o.V+(o.A1-o.V+1)*l:o.V+(o.A1-o.V)*l,\"log\"===o.C8?(n=Math.pow(o.EI,n),n=Math.floor(n)-1):(n=o.DK?Math.floor(n):ZC._i_(n),n=ZC.BQ(0,n),n=ZC.CX(o.DY,n)),n}H4(e){var t=this;t.V,t.A1;return t.ED&&!t.O8&&(t.B4,t.BM),\"log\"===t.C8&&(e=ZC.H3(e+1,t.EI)),t.AU?t.iY+t.A6+(e-t.V)*t.A9+(t.DK?t.A9/2:0):t.iY+t.F-t.A6-(e-t.V)*t.A9-(t.DK?t.A9/2:0)}AX(e){var t,i,a,n,l,r=this;if(\"log\"===r.C8&&(e=ZC.H3(e,r.EI)),r.O8){var o=r.UP[e];return r.H4(o)}return-1!==(t=ZC.AV(r.IW,e))?r.H4(t):!r.A54&&(r.ED||r.FH&&\"date\"===r.FH.o.type)?(n=r.X[r.V],l=r.X[r.A1],\"log\"===r.C8&&(n=ZC.H3(n,r.EI),l=ZC.H3(l,r.EI)),l===n?a=0:(i=l-n,a=(r.F-r.A6-r.BW-(r.DK?r.A9:0))/i),r.AU?r.iY+r.A6+(e-n)*a+(r.DK?r.A9/2:0):r.iY+r.F-r.A6-(e-n)*a-(r.DK?r.A9/2:0)):(n=r.B4,l=r.BM,\"log\"===r.C8&&(n=ZC.H3(n,r.EI),l=ZC.H3(l,r.EI)),l===n?a=0:(i=l-n+(r.DK?1:0),a=(r.F-r.A6-r.BW)/i),r.AU?r.iY+r.A6+(e-n)*a+(r.DK?r.A9/2:0):r.iY+r.F-r.A6-(e-n)*a-(r.DK?r.A9/2:0))}paint(){var e,t,i,a,n,l,r,o,s,C,A,Z,c,p,u,h,_,d=this;if(d.AM){super.paint(),null!==ZC._n_(d.A.A.D[d.BF+\"-feed-offset-start\"])&&(d.A6=d.A.A.D[d.BF+\"-feed-offset-start\"]),\"hbubble\"!==d.A.AF&&\"hscatter\"!==d.A.AF||(-1===d.A6&&-1===d.BW||1===d.X.length)&&(d.A6=d.BW=d.F/(d.X.length+1),d.GY());var f=d.Y3(),g=0,v=1,B=1,m={};for(t=0,i=d.A.BN.length;t0;P--)d.iStepMultiplier>P&&d.A1-d.V<=P*d.iStepMultiplier&&(L=P);G*=L,M*=L;var N,R,H,O=0,k=d.A9*G/(d.GM+1);if(null===ZC._n_(E)&&(E=n),l=d.G.usc()?d.G.mc():ZC.AK(d.A.K+\"-scales-ml-0-c\"),r=ZC.Q.E8(l,d.G.AC),o=d.G.usc()?d.G.mc():ZC.AK(d.A.K+\"-scales-bl-0-c\"),s=ZC.Q.E8(o,d.G.AC),\"inherit\"===d.o[\"line-color\"]&&-1!==f&&(d.B7=f),d.A.AJ[\"3d\"])(p=ZC.DG.D9(d,d.A,n-ZC.AN.E2,n-ZC.AN.E2,d.iY-ZC.AN.E1,d.iY-ZC.AN.E1+d.F,-1,ZC.AN.FU+1,\"y\")).K=d.K+\"-line\",d.A.EY.true3d&&(d.A.EY[ZC._[27]]>0?p.ML=[1===d.L?-100:100,1,1]:p.ML=[1===d.L?100:-100,1,1]),d.A.CJ.add(p);else{A=[[w,d.iY+d.F],[w,d.iY]];var T=d.K;d.K+=\"-line\",ZC.CR.paint(r,d,A),d.K=T}if(d.X.length>0&&d.D4.AM){var Q=null===ZC._n_(d.D4.o[\"offset-start\"])?0:ZC._i_(d.D4.o[\"offset-start\"]),z=null===ZC._n_(d.D4.o[\"offset-end\"])?0:ZC._i_(d.D4.o[\"offset-end\"]);if(d.D4.o.items&&d.D4.o.items.length>0&&!d.A.AJ[\"3d\"])for(u=new I0(d),t=d.V;t0)for(d.GV=0,t=d.V;t<=d.A1+(d.DK?1:0);t++)if(d.K8=t,t===d.V||t===d.A1+(d.DK?1:0)||(t-d.V)%G==0){(d.D4.E4.length>0||t===d.V)&&((c=new D0(d)).Z=c.C6=o,c.copy(d.D4),c.J0=Ae,c.DB()&&c.parse()),C=t-d.V,A=[],Z=d.AU?d.iY+d.A6+C*d.A9:d.iY+d.F-d.A6-C*d.A9;var J=d.iX+Q,S=d.I-Q-z;if(c.AM)if(d.A.AJ[\"3d\"]){var V=new D0(d);V.copy(c),null!==ZC._n_(d.o[\"scale-z\"])&&null!==ZC._n_(e=d.o[\"scale-z\"].guide)&&(V.append(e),V.parse()),V.A0=V.AE=V.B7,p=ZC.DG.D9(V,d.A,n-ZC.AN.E2,n-ZC.AN.E2,Z-ZC.AN.E1-V.B1/2,Z-ZC.AN.E1+V.B1/2,0,ZC.AN.FU,\"z\"),d.A.CJ.add(p),c.A0=c.AE=c.B7,(p=ZC.DG.D9(c,d.A,J-ZC.AN.E2,J-ZC.AN.E2+S,Z-ZC.AN.E1-V.B1/2,Z-ZC.AN.E1+V.B1/2,ZC.AN.FU+2,ZC.AN.FU+2,\"x\")).K=d.K+\"-guide-\"+t,d.A.CJ.add(p)}else A.push([J,Z],[J+S,Z]),c.K=d.K+\"-guide-\"+t,ZC.CR.paint(s,c,A);d.GV++}}if(d.X.length>0&&d.G3.AM&&!d.A.AJ[\"3d\"]){if(d.G3.o.items&&d.G3.o.items.length>0)for(u=new I0(d),t=d.V;t0)for(t=d.V;t0&&d.IY.AM&&(!d.A.AJ[\"3d\"]||!d.A.EY.true3d)){switch(d.IY.o[ZC._[7]]){case\"inner\":break;case\"outer\":O+=x;break;default:O+=x/2}for(d.GV=0,t=d.V;t<=d.A1+(d.DK?1:0);t++)if(d.K8=t,t===d.V||t===d.A1+(d.DK?1:0)||(t-d.V)%G==0){switch(A=[],C=t-d.V,(d.IY.E4.length>0||t===d.V)&&((c=new D0(d)).copy(d.IY),\"inherit\"===d.IY.o[\"line-color\"]&&-1!==f&&(c.B7=f),c.J0=Ae,c.DB()&&c.parse()),Z=d.AU?d.iY+d.A6+C*d.A9:d.iY+d.F-d.A6-C*d.A9,c.o[ZC._[7]]){case\"ref-auto\":A.push([E-x/2,Z],[E+x/2,Z]);break;case\"ref-left\":A.push([E-x,Z],[E,Z]);break;case\"ref-right\":A.push([E+x,Z],[E,Z]);break;case\"inner\":A.push([n,Z],[n+(D?x:-x),Z]);break;case\"outer\":A.push([n,Z],[n-(D?x:-x),Z]);break;default:A.push([n+x/2,Z],[n-x/2,Z])}if(c.AM){for(R=ZC._i_(c.o[\"offset-x\"]||\"0\"),H=ZC._i_(c.o[\"offset-y\"]||\"0\"),N=0;N0&&d.GM>0&&d.IG.AM&&!d.A.AJ[\"3d\"])for(t=d.V;t1&&d.BR.AM)for(d.GV=0,Ze(d.V),d.GV=d.A1-d.V,Ze(d.A1),d.GV=1,t=d.V+1;t0&&ZC.AK(d.A.A.K+\"-map\")&&(ZC.AK(d.A.A.K+\"-map\").innerHTML+=re.join(\"\"))}}function Ae(e){return e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,d.A1-d.V)).replace(/(%c)|(%scale-position)/g,d.GV)).replace(/(%i)|(%scale-index)/g,d.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(d.X[d.K8])?d.X[d.K8]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(d.BY[d.K8])?d.BY[d.K8]:\"\")}function Ze(e,t,i){d.K8=e,C=e-d.V,(d.BR.E4.length>0||e===d.V||!q||d.BR.I6)&&(q=new DR(d)),q.copy(d.BR),q.K=d.A.K+\"-\"+d.BF.replace(/\\-/g,\"_\")+\"-item_\"+(i?\"c\"+i:e),q.GN=d.K+\"-item \"+d.A.K+\"-scale-item zc-scale-item\",q.D[\"p-height\"]=d.A9,d.CH=ee,d.DV=te,d.W8(Ae);var a=\"\";if(a=i||d.FB(e),d.BR.I6&&d.GL(d.BR,q,null,{index:e,cnt:C,text:a},d.BR.N7),null===ZC._n_(d.M2)||-1!==ZC.AV(d.M2,a)){switch(q.AR=a,q.Z=q.C6=d.G.usc()?d.G.mc():ZC.AK(d.A.K+\"-scales-ml-0-c\"),q.IU=d.G.usc()?ZC.AK(d.G.K+\"-main\"):ZC.AK(d.G.K+\"-text\"),q.D.nodeidx=e,q.parse(),\"inherit\"!==d.BR.o[\"font-color\"]&&\"inherit\"!==d.BR.o.color||-1===f||(q.C1=f),q.J0=Ae,q.DB()&&q.parse(),q.o[\"auto-fit\"]&&(q.F=ZC._i_(d.A9)),q.o[ZC._[7]]){case\"inner\":q.iX=D?n+x:n-q.I-x;break;case\"ref-left\":q.iX=E-q.I-x;break;case\"ref-right\":q.iX=E+x;break;case\"ref-auto\":K&&K.R[e]?(K.R[e].setup(),K.R[e].iX0;P--)g.iStepMultiplier>P&&g.A1-g.V<=P*g.iStepMultiplier&&(L=P);M*=L,G*=L;var N=0,R=g.A9*M/(g.GM+1);if(n=g.G.usc()?g.G.mc():ZC.AK(g.A.K+\"-scales-ml-0-c\"),l=ZC.Q.E8(n,g.G.AC),r=g.G.usc()?g.G.mc():ZC.AK(g.A.K+\"-scales-bl-0-c\"),o=ZC.Q.E8(r,g.G.AC),g.TM||g.YZ||null!==ZC._n_(g.A.o[g.BF])){if(\"inherit\"===g.o[\"line-color\"]&&-1!==v&&(g.B7=v),g.A.AJ[\"3d\"])(c=ZC.DG.D9(g,g.A,g.iX-ZC.AN.E2,g.iX-ZC.AN.E2+g.I,a-ZC.AN.E1,a-ZC.AN.E1,-1,ZC.AN.FU+1,\"x\")).K=g.K+\"-line\",g.A.EY.true3d&&(g.A.EY[ZC._[28]]>0?c.ML=[1===g.L?-100:100,1,1]:c.ML=[1===g.L?100:-100,1,1]),g.A.CJ.add(c);else{s=[[g.iX,w],[g.iX+g.I,w]];var H=g.K;g.K+=\"-line\",ZC.CR.paint(l,g,s),g.K=H}var O=[],k=0,T=0,Q=[];if(g.TM||g.YZ){if(g.X.length>0&&g.D4.AM){var z=null===ZC._n_(g.D4.o[\"offset-start\"])?0:ZC._i_(g.D4.o[\"offset-start\"]),J=null===ZC._n_(g.D4.o[\"offset-end\"])?0:ZC._i_(g.D4.o[\"offset-end\"]);if(g.D4.o.items&&g.D4.o.items.length>0&&!g.A.AJ[\"3d\"])for(g.GV=0,_=new I0(g),t=g.V;t0)for(g.GV=0,t=g.V;t<=g.A1+(g.DK?1:0);t++)if(g.K8=t,t===g.V||t===g.A1||t%M==0){(g.D4.E4.length>0||t===g.V||\"log\"===g.C8)&&((Z=new D0(g)).Z=Z.C6=r,\"log\"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?Z.copy(g.D4):Z.copy(g.G3):Z.copy(g.D4),Z.J0=oe,Z.DB()&&Z.parse()),s=[],C=t-g.V;var S=g.iY+z,V=g.F-z-J;if(A=\"log\"===g.C8?g.AX(g.X[t]):g.AU?g.iX+g.I-g.A6-C*g.A9:g.iX+g.A6+C*g.A9,Z.AM)if(g.A.AJ[\"3d\"]){var U=new D0(g);U.copy(Z),null!==ZC._n_(g.o[\"scale-z\"])&&null!==ZC._n_(e=g.o[\"scale-z\"].guide)&&(U.append(e),U.parse()),U.A0=U.AE=U.B7,c=ZC.DG.D9(U,g.A,A-ZC.AN.E2-U.B1/2,A-ZC.AN.E2+U.B1/2,a-ZC.AN.E1,a-ZC.AN.E1,0,ZC.AN.FU,\"z\"),g.A.CJ.add(c),Z.A0=Z.AE=Z.B7,(c=ZC.DG.D9(Z,g.A,A-ZC.AN.E2-Z.B1/2,A-ZC.AN.E2+Z.B1/2,S-ZC.AN.E1,S-ZC.AN.E1+V,ZC.AN.FU+2,ZC.AN.FU+2,\"y\")).K=g.K+\"-guide-\"+t,g.A.CJ.add(c)}else s.push([A,S],[A,S+V]),Z.K=g.K+\"-guide-\"+t,ZC.CR.paint(o,Z,s);g.GV++}}if(g.X.length>0&&g.G3.AM&&R>2&&!g.A.AJ[\"3d\"]){if(g.G3.o.items&&g.G3.o.items.length>0)for(_=new I0(g),t=g.V;t0&&\"log\"!==g.C8)for(t=g.V;t0&&g.IY.AM&&(!g.A.AJ[\"3d\"]||!g.A.EY.true3d)){switch(g.IY.o[ZC._[7]]){case\"inner\":break;case\"outer\":N+=x;break;default:N+=x/2}for(g.GV=0,d=ZC.AV(g.X,0),t=g.V;t<=g.A1+(g.DK?1:0);t++){g.K8=t;var $=-1;if((t===g.V||t===g.A1||t%M==0||ZC._b_(g.o[\"show-zero\"])&&t===d)&&(s=[],C=t-g.V,(g.IY.E4.length>0||t===g.V||\"log\"===g.C8)&&(Z=new D0(g),\"log\"===g.C8?ZC.AO._int_(ZC.H3(g.X[t],g.EI))?Z.copy(g.IY):(Z.copy(g.IG),$=x,x=y):Z.copy(g.IY),\"inherit\"===g.IY.o[\"line-color\"]&&-1!==v&&(Z.B7=v),Z.J0=oe,Z.DB()&&Z.parse()),A=\"log\"===g.C8?g.AX(g.X[t]):g.AU?g.iX+g.I-g.A6-C*g.A9:g.iX+g.A6+C*g.A9,ZC.DS(A,g.A.P.iX,g.A.P.iX+g.A.P.I))){switch(Z.o[ZC._[7]]){case\"inner\":s.push([A,a-(K?x:-x)],[A,a]);break;case\"outer\":s.push([A,a],[A,a+(K?x:-x)]);break;default:s.push([A,a+x/2],[A,a-x/2])}if(-1!==$&&(x=$,$=-1),Z.AM){for(j=ZC._i_(Z.o[\"offset-x\"]||\"0\"),q=ZC._i_(Z.o[\"offset-y\"]||\"0\"),W=0;W0&&g.IG.AM&&g.GM>0&&R>5&&!g.A.AJ[\"3d\"]&&\"log\"!==g.C8)for(t=g.V;t0||e===g.V||!f||g.BR.I6)&&(f=new DR(g)),f.copy(g.BR),f.GN=g.K+\"-item \"+g.A.K+\"-scale-item zc-scale-item\",f.K=g.A.K+\"-\"+g.BF.replace(/\\-/g,\"_\")+\"-item_\"+e,g.CH=te,g.DV=ie,g.W8(oe),t=(\"piano\"===g.A.AF||g.QC)&&g.BY.length?g.FB(e+g.B4):g.FB(e),g.BR.I6&&g.GL(g.BR,f,null,{index:e,cnt:C,text:t},g.BR.N7),null===ZC._n_(g.M2)||-1!==ZC.AV(g.M2,t)){switch(f.AR=t,f.Z=f.C6=g.G.usc()?g.G.mc():ZC.AK(g.A.K+\"-scales-ml-0-c\"),f.IU=g.G.usc()?ZC.AK(g.G.K+\"-main\"):ZC.AK(g.G.K+\"-text\"),f.parse(),\"inherit\"!==g.BR.o[\"font-color\"]&&\"inherit\"!==g.BR.o.color||-1===v||(f.C1=v),f.J0=oe,f.E4=g.BR.E4,f.DB()&&f.parse(),f.o[ZC._[7]]){case\"inner\":f.iY=K?a-f.KS-x:a+x;break;default:f.iY=K?a+x:a-f.KS-x}if(\"log\"===g.C8?f.iX=g.AX(g.X[e])-f.I/2:g.AU?f.iX=g.iX+g.I-g.A6-C*g.A9-f.I/2-(g.DK?g.A9/2:0):f.iX=g.iX+g.A6+C*g.A9-f.I/2+(g.DK?g.A9/2:0),ee=g.MA(f,ee,\"h\"),g.BR.o[\"auto-align\"]&&g.BR.AA%180!=0){var i=ZC.DS(g.BR.AA,0,180)?K?1:-1:1===K?-1:1;f.iX+=i*f.I*ZC.EE(g.BR.AA)/2,f.iY+=i*(f.I*ZC.EN(g.BR.AA)/2-f.F*ZC.EN(g.BR.AA)/2)}if(ZC.DS(f.iX+f.I/2,g.A.P.iX,g.A.P.iX+g.A.P.I)){var n=g.UR(f,e,{items:0,lcoords:O,lstep:G,tdim:k,mdim:T,dim:\"h\",html:Q});k=n.tdim,T=n.mdim,g.GV++}}};if(g.X.length>0&&g.BR.AM)if(\"log\"===g.C8){var ne=[];for(t=g.V;t<=g.A1;t++)ZC.AO._int_(ZC.H3(g.X[t],g.EI))&&(g.GV=t,ae(t),ne.push(t));for(t=g.V;t<=g.A1;t++)-1===ZC.AV(ne,t)&&(g.GV=t,ae(t))}else for(g.GV=0,ae(g.V),g.GV=g.A1-g.V,ae(g.A1),-1!==(d=ZC.AV(g.X,0))&&ZC._b_(g.o[\"show-zero\"])&&(g.GV=d,ae(d)),g.GV=1,t=g.V+1;t0&&ZC.AK(g.A.A.K+\"-map\")&&(ZC.AK(g.A.A.K+\"-map\").innerHTML+=Q.join(\"\"))}}}function oe(e){return e=(e=(e=(e=(e=e.replace(/%scale-last-position/g,g.A1-g.V)).replace(/(%c)|(%scale-position)/g,g.GV)).replace(/(%i)|(%scale-index)/g,g.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(g.X[g.K8])?g.X[g.K8]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(g.BY[g.K8])?g.BY[g.K8]:\"\")}}}class YK extends A41{constructor(e){super(e);var t=this;t.NO=\"\",t.KW=1,t.H2=1,t.GK=0,t.GE=0,t.JT=.6}parse(){var e=this;super.parse(),e.iX+=e.DT,e.iY+=e.E6,e.I-=e.DT+e.E5,e.F-=e.E6+e.DN,e.YQ(\"layout\",\"NO\"),null!==ZC._n_(e.o[\"size-factor\"])&&(e.JT=ZC._f_(ZC._p_(e.o[\"size-factor\"])))}HC(e){var t=this;super.HC(e),0===t.X.length&&(t.X=[\"\"]);var i=ZC.AO.A2V(t.NO,t.X.length,!1);t.KW=i[0],t.H2=i[1],t.GK=t.I/t.H2,t.GE=t.F/t.KW}WG(){var e=this;super.WG(),e.GK=e.I/e.H2,e.GE=e.F/e.KW}clear(){}build(){super.build()}paint(){var e,t,i,a,n,l=this;if(l.AM){if(super.paint(),e=ZC.Q.E8(l.G.usc()?l.G.K+\"-main-c\":l.A.K+\"-scales-ml-0-c\",l.G.AC),t=ZC.Q.E8(l.G.usc()?l.G.K+\"-main-c\":l.A.K+\"-scales-bl-0-c\",l.G.AC),(i=[]).push([l.iX,l.iY],[l.iX+l.I,l.iY],[l.iX+l.I,l.iY+l.F],[l.iX,l.iY+l.F],[l.iX,l.iY]),ZC.CR.paint(e,l,i),l.D4.AM){if(l.D4.o.items&&l.D4.o.items.length>0)for(a=0,n=l.X.length;a0){for(i=[],a=0;a<=l.H2;a++)i.push([l.iX+a*l.GK,l.iY],[l.iX+a*l.GK,l.iY+l.F],null);for(a=0;a<=l.KW;a++)i.push([l.iX,l.iY+a*l.GE],[l.iX+l.I,l.iY+a*l.GE],null);ZC.CR.paint(t,l.D4,i)}}var A,Z=[];if(l.BR.AM){for(a=0,n=l.X.length;a0&&ZC.AK(l.A.A.K+\"-map\")&&(ZC.AK(l.A.A.K+\"-map\").innerHTML+=Z.join(\"\"))}}function c(e){(l.BR.E4.length>0||0===e)&&(A=new DR(l)),A.copy(l.BR);var t=e%l.H2,i=Math.floor(e/l.H2);A.GN=l.K+\"-item \"+l.A.K+\"-scale-item zc-scale-item\",A.K=l.A.K+\"-\"+l.BF.replace(/\\-/g,\"_\")+\"-item_\"+e;var a=l.FB(e);if((null===ZC._n_(l.M2)||-1!==ZC.AV(l.M2,a))&&(A.AR=a,A.Z=l.G.usc()?l.G.mc():ZC.AK(l.A.K+\"-scales-ml-0-c\"),A.parse(),A.J0=function(t){return t=(t=(t=t.replace(/%i/g,e)).replace(/%v/g,null!==ZC._n_(l.X[e])?l.X[e]:\"\")).replace(/%l/g,null!==ZC._n_(l.BY[e])?l.BY[e]:\"\")},A.E4=l.BR.E4,A.DB()&&A.parse(),A.AM)){var n=\"bottom\";null!==ZC._n_(l.BR.o[ZC._[7]])&&(n=l.BR.o[ZC._[7]]);var r=l.iX+t*l.GK,o=l.iY+i*l.GE;switch(n){case\"top-left\":A.iX=r,A.iY=o;break;case\"top-right\":A.iX=r+l.GK-A.I,A.iY=o;break;case\"bottom-left\":A.iX=r,A.iY=o+l.GE-A.F;break;case\"bottom-right\":A.iX=r+l.GK-A.I,A.iY=o+l.GE-A.F;break;case\"top\":A.iX=r+l.GK/2-A.I/2,A.iY=o;break;case\"right\":A.iX=r+l.GK-A.I,A.iY=o+l.GE/2-A.F/2;break;case\"left\":A.iX=r,A.iY=o+l.GE/2-A.F/2;break;default:A.iX=r+l.GK/2-A.I/2,A.iY=o+l.GE-A.F}A.paint(),A.EB(),null===ZC._n_(l.o.tooltip)&&A.KE||Z.push(ZC.AP.OE(l.A.K,A))}}}}class A95 extends A41{constructor(e){super(e);this.DF=0,this.EG=360}parse(){var e,t=this;super.parse(),null!==ZC._n_(e=t.o[\"ref-angle\"])&&(t.DF=ZC._i_(e)%360),null!==ZC._n_(e=t.o.aperture)&&(t.EG=ZC._i_(e)%360,0===t.EG&&(t.EG=360))}}class ABO extends A01{constructor(e){super(e)}parse(){super.parse()}GY(){}HC(e){super.HC(e),this.GY()}clear(){super.clear()}build(){super.build()}paint(){super.paint()}}class A8R extends ABO{constructor(e){super(e);var t=this;t.DF=-90,t.EG=180,t.QJ=null,t.J2=null,t.CV=\"circle\"}parse(){var e,t=this;super.parse(),null!==ZC._n_(e=t.o[\"ref-angle\"])&&(t.DF=ZC._i_(e)%360),null!==ZC._n_(e=t.o.aperture)&&(t.EG=ZC._i_(e)),null!==ZC._n_(e=t.o.center)&&(t.QJ=new DU(t),t.QJ.append(e),t.QJ.parse()),null!==ZC._n_(e=t.o.ring)&&(t.J2=new DU(t),t.G.B8.load(t.J2.o,[t.A.AF+\".\"+t.BF+\".ring\"]),t.J2.append(e),t.J2.parse())}HC(e){super.HC(e)}clear(){}build(){super.build()}AX(e){var t=this,i=t.A.BK(\"scale\"),a=i.iX+i.I/2,n=i.iY+i.F/2,l=t.A.BK(\"scale-\"+t.L);l||(l=t.A.BK(\"scale\"));var r=ZC.CX(l.GK/2,l.GE/2)*l.JT,o=t.BM-t.B4,s=t.EG/o;return ZC.AO.BL(a,n,r,t.DF-t.EG/2+s*(e-t.B4))}H4(e){return this.AX(this.X[e])}paintMarker(e){var t,i=this;if(e.F9){var a,n=i.A.BK(\"scale-\"+i.L);if(n||(n=i.A.BK(\"scale\")),e.AM){var l=i.A.K+\"-scales-\"+(\"top\"===e.B9?\"f\":\"b\")+\"l-0-c\";e.Z=e.C6=ZC.AK(i.G.usc()?n.G.K+\"-main-c\":l),a=ZC.Q.E8(e.Z,i.G.AC);var r=ZC.CX(n.GK/2,n.GE/2)*n.JT,o=ZC.IQ(e.o[\"offset-start\"]||\"0\");o>0&&o<1&&(o*=r);var s=ZC.IQ(e.o[\"offset-end\"]||\"0\");s>0&&s<1&&(s*=r),e.M&&(e.M.Z=i.G.usc()?i.G.mc():ZC.AK(i.A.K+\"-scales-ml-0-c\"),e.M.K=e.A.A.K+\"-\"+e.A.BF.replace(/\\-/g,\"_\")+\"-marker_\"+e.L,e.M.GN=e.A.K+\"-marker-label \"+e.A.A.K+\"-scale-marker-label zc-scale-marker-label\");for(var C=0;C0){var h=i.DF-i.EG/2+i.EG*(e.F9[0]-i.B4)/(i.BM-i.B4);A=h;var _=[];_.push(ZC.AO.BL(p,u,o,h)),_.push(ZC.AO.BL(p,u,r-s,h)),2===_.length&&(ZC.CR.setup(a,e),ZC.CR.paint(a,e,_))}break;case\"area\":if(e.F9.length>1){var d=i.DF-i.EG/2+i.EG*(e.F9[0]-i.B4)/(i.BM-i.B4),f=i.DF-i.EG/2+i.EG*(e.F9[1]-i.B4)/(i.BM-i.B4);A=(d+f)/2;var g=new DU(e);g.Z=e.Z,g.append(e.o),g.append({size:r-s,slice:o,type:\"pie\",\"angle-start\":d,\"angle-end\":f}),g.K=n.K+\"-marker-\"+e.L,g.iX=p,g.iY=u,g.parse(),g.paint()}}if(e.M){var v;null!==ZC._n_(t=e.M.o[\"offset-r\"])?v=ZC._f_(ZC._p_(t)):v<1?v*=r-s-o:v=0;var B=ZC.AO.BL(p,u,(r-s-o)/2+v,A);e.M.iX=B[0]-e.M.I/2,e.M.iY=B[1]-e.M.F/2,e.M.paint()}}}}}paint(){var e,t,i,a,n,l,r,o,s,C=this;if(C.AM&&0!==C.X.length){C.AU&&C.X.reverse(),e=ZC.Q.E8(C.G.usc()?C.G.K+\"-main-c\":C.A.K+\"-scales-bl-0-c\",C.G.AC);var A=ZC._i_(C.IY.o[ZC._[21]]||8),Z=ZC._i_(C.IG.o[ZC._[21]]||4),c=0,p=ZC.BQ(1,Math.ceil((C.A1-C.V)/(C.M9-1))),u=ZC.BQ(1,Math.ceil((C.A1-C.V)/(C.EF-1))),h=C.A.BK(\"scale-\"+C.L);h||(h=C.A.BK(\"scale\"));for(var _,d,f,g=ZC.CX(h.GK/2,h.GE/2)*h.JT,v=C.EG/(C.X.length-1),B=0;B0)for(t=0;t0)for(t=0,i=C.X.length;t0&&C.GM>0)for(t=0,i=C.X.length;t0&&(n.paint(),360===C.EG&&(n.K=C.K+\"-ring-inner\",n.o[ZC._[21]]=g-a,n.parse(),n.paint())),C.J2.o.items&&C.J2.o.items.length>0||C.J2.o.rules))for(t=0;t0&&n.paint();if(C.IY.AM){switch(C.IY.o[ZC._[7]]){case\"outer\":c+=A;break;default:c+=A/2}for(l=[],t=0,i=C.X.length;t0){for(l=[],t=0,i=C.X.length;t0&&ZC.AK(C.A.A.K+\"-map\")&&(ZC.AK(C.A.A.K+\"-map\").innerHTML+=F.join(\"\"))}}}function Y(e){return e=(e=(e=(e=e.replace(/%i/g,t)).replace(/%k/g,t)).replace(/%v/g,null!==ZC._n_(C.X[t])?C.X[t]:\"\")).replace(/%l/g,null!==ZC._n_(C.BY[t])?C.BY[t]:\"\")}}paint_(){var e=this,t=e.A.BK(\"scale-\"+e.L);t||(t=e.A.BK(\"scale\"));for(var i=0;i0){var v=0;for(i=0,a=s.X.length-(360===s.EG||s.DK?0:1);i0)for(i=0,a=s.X.length+(s.DK?1:0);i0&&ZC.AK(s.A.A.K+\"-map\")&&(ZC.AK(s.A.A.K+\"-map\").innerHTML+=X.join(\"\"))}}function I(e){return e=(e=(e=e.replace(/(%i)|(%scale-index)/g,i)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(s.X[i])?s.X[i]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(s.BY[i])?s.BY[i]:\"\")}function x(e){(s.BR.E4.length>0||0===e)&&(Z=new DR(s)),Z.copy(s.BR),Z.GN=s.K+\"-item \"+s.A.K+\"-scale-item zc-scale-item\",Z.K=s.A.K+\"-\"+s.BF.replace(/\\-/g,\"_\")+\"-item_\"+e;var t=s.FB(e);if(null===ZC._n_(s.M2)||-1!==ZC.AV(s.M2,t)){Z.AR=t,Z.Z=Z.C6=s.G.usc()?s.G.mc():ZC.AK(s.A.K+\"-scales-ml-0-c\"),Z.parse(),Z.J0=function(t){return t=(t=(t=t.replace(/(%i)|(%scale-index)/g,e)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(s.X[e])?s.X[e]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(s.BY[e])?s.BY[e]:\"\")},Z.E4=s.BR.E4,Z.DB()&&Z.parse();var i=ZC.IQ(Z.DQ,!0);if(i>-1&&i<1&&(i*=h),o=s.DF+e*g+(s.DK?g/2:0),s.BR.o[\"auto-align\"]){var a=1.25;1-ZC._a_(ZC.EE(o))>.7&&(a=2.5*(1-ZC._a_(ZC.EE(o))));var n=(1-ZC._a_(ZC.EE(o)))*Z.DH*a;F=ZC.AO.BL(d,f,h+i+p+n,o),ZC.EE(o)>0?(Z.iX=F[0],Z.iY=F[1]-Z.F/2):(Z.iX=F[0]-Z.I,Z.iY=F[1]-Z.F/2)}else s.BR.o[\"auto-rotate\"]?(F=ZC.AO.BL(d,f,h+i+p+Z.F/2,o),Z.iX=F[0]-Z.I/2,Z.iY=F[1]-Z.F/2,Z.AA=o+90):(F=ZC.AO.BL(d,f,h+i+p+ZC._a_(10*ZC.EN(o))+ZC._a_(Z.I/2*ZC.EE(o)),o),Z.iX=F[0]-Z.I/2,Z.iY=F[1]-Z.F/2);Z.AM&&(Z.paint(),Z.EB(),null===ZC._n_(s.o.tooltip)&&Z.KE||(null!==ZC._n_(s.o.tooltip)&&(s.o.tooltip.text=s.o.tooltip.text||\"%scale-value\"),X.push(ZC.AP.OE(s.A.K,Z))))}}}}class A8V extends A01{constructor(e){super(e)}I2(e){super.parse()}GY(){var e=this,t=e.A.BK(\"scale\"),i=ZC.CX(t.I/2,t.F/2)*t.JT;e.A9=(i-e.A6-e.BW)/(e.A1-e.V)}HC(e){super.HC(e),this.GY()}T8(){var e=this,t=e.A.BK(\"scale\"),i=ZC.CX(t.I/2,t.F/2)*t.JT;e.EF=ZC.BQ(2,ZC._i_((i-e.A6-e.BW)/20))}ST(e){var t=this,i=t.A.BK(\"scale\"),a=ZC.CX(i.I/2,i.F/2)*i.JT,n=t.BM-t.B4,l=(a-t.A6-t.BW)/n;return(e-t.B4)*l}AX(e){var t=this,i=t.ST(e),a=t.A.BK(\"scale-k\"),n=t.A.BK(\"scale\"),l=n.iX+n.I/2+n.BJ,r=n.iY+n.F/2+n.BH;return ZC.AO.BL(l,r,i,a.DF)}clear(){}build(){super.build()}paint(){var e,t,i,a,n,l,r,o=this;if(o.AM&&0!==o.X.length){super.paint(),e=ZC.Q.E8(o.G.usc()?o.G.K+\"-main-c\":o.A.K+\"-scales-ml-0-c\",o.G.AC),t=ZC.Q.E8(o.G.usc()?o.G.K+\"-main-c\":o.A.K+\"-scales-bl-0-c\",o.G.AC);var s,C,A=o.A.BK(\"scale-k\"),Z=ZC._i_(o.IY.o[ZC._[21]]||8),c=Math.ceil((o.A1-o.V)/(o.EF-1)),p=Math.ceil((o.A1-o.V)/(o.M9-1)),u=o.A.BK(\"scale\"),h=ZC.CX(u.I/2,u.F/2)*u.JT,_=u.iX+u.I/2+u.BJ,d=u.iY+u.F/2+u.BH,f=A.EG/(A.X.length-(360===A.EG||A.DK?0:1));if(o.D4.AM){if(o.D4.o.items&&o.D4.o.items.length>0)for(i=0,a=o.X.length;i=0;n--)r.push(ZC.AO.BL(_,d,o.A6+(i+1)*o.A9,A.DF+n*f));B.E=r,B.parse(),B.B1=0,B.AT=0,B.EX=0,B.G9=0;var m=o.A.P;B.CZ=[m.iX,m.iY,m.iX+m.I,m.iY+m.F],B.paint()}}if(o.D4.B1>0)for(i=0,a=o.X.length;i0&&((r=[]).push(ZC.AO.BL(_,d,o.A6,A.DF),ZC.AO.BL(_,d,h-o.BW,A.DF)),ZC.CR.paint(e,o.PA,r)),o.IY.AM){switch(o.IY.o[ZC._[7]]){case\"inner\":break;case\"outer\":Z;break;default:Z/2}for(r=[],i=0,a=o.X.length;i0&&o.BR.AM)for(o.GV=0,Y(o.V),o.GV=o.A1-o.V,Y(o.A1),o.GV=1,i=o.V+1;i0&&ZC.AK(o.A.A.K+\"-map\")&&(ZC.AK(o.A.A.K+\"-map\").innerHTML+=C.join(\"\"))}function x(e){return e=(e=(e=e.replace(/(%i)|(%scale-index)/g,i)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(o.X[i])?o.X[i]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(o.BY[i])?o.BY[i]:\"\")}function y(e){return e=(e=(e=(e=e.replace(/(%c)|(%scale-position)/g,o.GV)).replace(/(%i)|(%scale-index)/g,o.K8)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(o.X[o.K8])?o.X[o.K8]:\"\")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(o.BY[o.K8])?o.BY[o.K8]:\"\")}function Y(e){o.K8=e,(s=new DR(o)).copy(o.BR),s.K=o.A.K+\"-\"+o.BF.replace(/\\-/g,\"_\")+\"-item_\"+e,s.GN=o.K+\"-item \"+o.A.K+\"-scale-item zc-scale-item\";var t=o.FB(e);if(s.AR=t,null===ZC._n_(o.M2)||-1!==ZC.AV(o.M2,t)){s.Z=s.C6=o.G.usc()?o.G.mc():ZC.AK(o.A.K+\"-scales-fl-0-c\"),s.parse(),s.J0=y,s.DB()&&s.parse();var i=ZC.AO.BL(_,d,o.A6+e*o.A9,A.DF);switch(s.F=s.KS,s.I=s.NW,A.DF%180==0?(s.iX=i[0]-s.I/2,s.iY=i[1]):(s.iX=i[0],s.iY=i[1]-s.F/2),o.IY.o[ZC._[7]]){case\"inner\":break;case\"outer\":A.DF%180==0?s.iY+=Z:s.iX+=Z;break;default:A.DF%180==0?s.iY+=Z/2:s.iX+=Z/2}s.AM&&(s.paint(),s.EB(),null===ZC._n_(o.o.tooltip)&&s.KE||(null!==ZC._n_(o.o.tooltip)&&(o.o.tooltip.text=o.o.tooltip.text||\"%scale-value\"),C.push(ZC.AP.OE(o.A.K,s))))}}}}class A9H extends DU{constructor(e){super(e);var t=this;t.C5=.95,t.L=0,t.AF=null,t.M=null,t.F9=null,t.A6M=!1,t.B9=\"bottom\",t.A6=0,t.BW=0,t.MS=\"normal\",t.OB=\"normal\",t.PZ=[5,5],t.A0U=[0,0],t.ZJ=\"\"}parse(){super.parse();var e,t=this;t.assign_a([[\"type\",\"AF\"],[\"value-range\",\"A6M\",\"b\"],[\"offset-start\",\"A6\",\"i\"],[\"offset-end\",\"BW\",\"i\"],[ZC._[7],\"B9\"],[\"pair-scale\",\"ZJ\"],[\"label-placement\",\"MS\"],[\"label-alignment\",\"OB\"],[\"range\",\"F9\"]]),null===ZC._n_(t.o.alpha)&&(t.o.alpha=\"area\"===t.AF?.25:.95),null!==ZC._n_(e=t.o[\"label-tolerance\"])&&(\"object\"==typeof e&&e.length?(t.PZ[0]=ZC._i_(e[0]||\"5\"),t.PZ[1]=ZC._i_(e[1]||\"5\")):t.PZ[0]=t.PZ[1]=ZC._i_(e||\"5\")),t.assign_a([[\"alpha\",\"C5\",\"f\",0,1]]),null===ZC._n_(e=t.o.label)&&null===ZC._n_(t.o.text)||(t.M=new DR(t),t.A.A.A.B8.load(t.M.o,[\"(\"+t.A.AF+\").SCALE.marker.label\"]),null!==ZC._n_(t.o.text)&&t.M.append({text:t.o.text}),t.M.append(e),t.M.parse(),t.A0U=[t.M.BJ,t.M.BH])}paint(){var e,t,i,a,n,l,r,o=this;if(o.F9)if(-1===o.A.BF.indexOf(\"scale-r\")){if(o.AM){var s,C,A,Z,c=o.A,p=o.A.A.P.AT,u=c.A.K+\"-scales-\"+(\"top\"===o.B9?\"f\":\"b\")+\"l-0-c\";o.Z=o.C6=ZC.AK(c.G.usc()?c.G.K+\"-main-c\":u),e=ZC.Q.E8(o.Z,c.G.AC),n=[];var h,_,d=0,f=0;o.BJ>-1&&o.BJ<1&&(o.BJ=Math.ceil(o.BJ*c.A9)),o.BH>-1&&o.BH<1&&(o.BH=Math.ceil(o.BH*c.A9)),o.M&&(o.M.Z=c.G.usc()?c.G.mc():ZC.AK(c.A.K+\"-scales-ml-0-c\"),o.M.K=o.A.A.K+\"-\"+o.A.BF.replace(/\\-/g,\"_\")+\"-marker_\"+o.L,o.M.GN=o.A.K+\"-marker-label \"+o.A.A.K+\"-scale-marker-label zc-scale-marker-label\");var g=function(e,t){var i;return-1!==(t+\"\").indexOf(\"%\")?(i=ZC._f_(t.replace(\"%\",\"\")),i=\"k\"===e.AF?ZC._i_(i*(e.DY-e.DD)/100):i*(e.H1-e.FW)/100):i=t,o.A6M||\"v\"===e.AF?e.AX(i):e.H4(i)};if(\"poly\"===o.AF){var v,B,m,b;for(_=o.A.A,\"k\"===c.AF?(v=c,B=\"\"===o.ZJ?_.BT(\"v\")[0]:_.BK(o.ZJ)||_.BT(\"v\")[0]):\"v\"===c.AF&&(B=c,v=\"\"===o.ZJ?_.BT(\"k\")[0]:_.BK(o.ZJ)||_.BT(\"k\")[0]),l=0,r=o.F9.length;l=3){if(n[0].join(\"/\")!==n[n.length-1].join(\"/\")&&n.push([n[0][0],n[0][1]]),c.A.AJ[\"3d\"])for(c.A.NH(),t=0,i=n.length;t=4)){if(c.A.AJ[\"3d\"])for(c.A.NH(),t=0,i=n.length;tc.iY+c.F/2?\"normal\":\"opposite\"),o.M.BJ=o.M.BH=0,(-1!==c.BF.indexOf(ZC._[50])&&!c.CP||-1!==c.BF.indexOf(ZC._[51])&&c.CP)&&null===ZC._n_(o.M.o.angle)&&(o.M.AA=270),-1!==c.BF.indexOf(ZC._[50])&&!c.CP||-1!==c.BF.indexOf(ZC._[51])&&c.CP?(o.M.AA%180==90&&(o.M.BJ-=(c.AU?-1:1)*(o.M.I/2-o.M.F/2),o.M.BH-=o.M.I/2-o.M.F/2,\"opposite\"===o.MS&&(o.M.BH=-o.M.I/2+o.M.F/2),\"opposite\"===K&&(o.M.BJ-=o.M.F)),o.M.AA%180==0&&(\"opposite\"===o.MS&&(o.M.BH=-o.M.I+o.M.F),\"opposite\"===K&&(o.M.BJ-=o.M.I))):(o.M.AA%180==90&&(o.M.BJ-=o.M.I/2-o.M.F/2,o.M.BH-=(c.AU?-1:1)*(o.M.I/2-o.M.F/2),\"opposite\"===o.MS&&(o.M.BJ=o.M.I/2-o.M.F/2),\"opposite\"===K&&(o.M.BH+=o.M.I)),o.M.AA%180==0&&\"opposite\"===K&&(o.M.BH+=o.M.F)),o.M.BJ+=o.A0U[0]+o.BJ,o.M.BH+=o.A0U[1]+o.BH),c.A.AJ[\"3d\"]&&(a=new CB(c.A,o.M.iX-ZC.AN.E2,o.M.iY-ZC.AN.E1,ZC.AN.FU),o.M.iX=a.EA[0],o.M.iY=a.EA[1]),ZC.DS(o.M.iX+o.M.BJ+(o.M.AA%180==0?o.M.I/2:o.M.F/2),o.A.A.P.iX-o.PZ[0],o.A.A.P.iX+o.A.A.P.I+o.PZ[0])&&ZC.DS(o.M.iY+o.M.BH+(o.M.AA%180==0?o.M.F/2:o.M.I/2),o.A.A.P.iY-o.PZ[1],o.A.A.P.iY+o.A.A.P.F+o.PZ[1])&&(o.M.paint(),o.M.EB(),!o.M.KE&&\"normal\"===zingchart.OBJECTMODE&&(c.D[\"marker_text_\"+o.L]=o.M.AR,_=o.A.A,ZC.AK(_.A.K+\"-map\"))))){var F=ZC.AP.OE(_.K,o.M);ZC.AK(_.A.K+\"-map\").innerHTML=ZC.AK(_.A.K+\"-map\").innerHTML+F}}}else o.A.paintMarker(o)}}class A2X extends ZCClass{constructor(e){super();var t=this;t.M3=null,t.A4Z=0,t.P7=[],t.BF=e,t.A3Y=!0}add(e){var t=this;t.P7.push(e),e.K6=t,e.M3=t.M3,e.BZ.U0=!0,e.XJ=t.P7.length-1,t.A3Y=!1}}class E9 extends ZCClass{constructor(e,t,i,a,n,l){super();var r=this;for(var o in r.M3=null,r.BZ=e,r.AW=null,r.A50=0,r.IR=null,r.O=t||{},r.A52=i||500,r.XT=a||-1,r.A0W=null,r.TD=null,r.OK=null,null!==ZC._n_(l)&&(r.TD=l),r.A5Q=E9.linear,null!==ZC._n_(n)&&\"\"!==n&&(r.A5Q=n),r.ADI={},r.C4={},r.ACP=[],r.RQ=ZC._i_(r.A52/PN.UJ),r.RQ>100&&(r.RQ=100),(ZC.vml||ZC.mobile)&&(r.RQ=ZC._i_(r.RQ/4)),r.RQ<5&&(r.RQ=5),r.O)null!==ZC._n_(E9.GO[o])?r.C4[o]=r.BZ[E9.GO[o]]:r.C4[o]=r.BZ[o];r.W=0,r.K6=null,r.XJ=-1}status(){return this.W+1>this.RQ?0:1}step(){var e,t,i,a,n,l,r=this,o=1,s=r.M3.C.G.AC;if(r.W++,r.W>r.RQ&&(r.W===r.RQ+1&&-1!==r.XJ&&(r.K6.A4Z++,r.K6.A4Z===r.K6.P7.length&&(r.K6.A3Y=!0)),o=0),o){var C={};if(r.W===r.RQ)C=r.O,r.A50=1;else for(var A in r.A50=r.A5Q(r.W,0,1,r.RQ),r.O)switch(A){case\"points\":var Z=[];for(n=0,l=r.O[A].length;n0?window.setTimeout(function(){i.start()},t+1):i.start()))}add(e){var t=this;e.M3=t,e.XT>0?(t.P7.push(e),window.setTimeout(function(){e.BZ.U0=!0,t.S2||t.start()},e.XT+1)):(e.BZ.U0=!0,t.P7.push(e),t.S2||t.start())}start(){var e=this;e.S2=!0,ZC.AP.C0(\"animation_start\",e.C.A,{id:e.C.A.K,graphid:e.C.K});var t=!0;!function i(){t||e.step(),t=!1,e.S2&&(e.C3=window.requestAnimFrame(i))}()}step(){var e,t=this,i=0;if(t.S2){for(var a=0,n=t.P7.length;aZC.AP.N6(t)?1:-1}),t.innerHTML+=i.C.AZ.HX.join(\"\"))},33),i.C.A2G(),i.S2=!1;for(var a=0,n=i.P7.length;a0&&Z<1&&(Z*=d),s=[].concat(h);var f=0,g=\"\";for(C=1,i=h.length-1;i>=0;i--)h[i][ZC._[5]]&&null!==ZC._n_(h[i][ZC._[5]][0])&&h[i][ZC._[5]][0]\",h[i][ZC._[8]]=u,_.push(h[i]),h.splice(i,1),C++);f>0&&(C>2?(A={values:[f],detach:!1,\"data-group\":[1],\"tooltip-text\":g=g.substring(0,g.length-4)},ZC._cp_(c,A),h.push(A),zingchart.bind(e.id,\"plot_click\",function(t){if(t.xdata.group){var i=zingchart.getLoader(t.id);if(!i)return;var a=zingchart.getGraph(i,t.graphid);for(var n in a.getAttributes())\"pie-sel-\"===n.substring(0,8)&&a.setAttribute(n,null);zingchart.exec(e.id,\"setseriesdata\",{data:_}),window.setTimeout(function(){var t=zingchart.exec(e.id,\"getobjectinfo\",{object:\"node\",plotindex:0,nodeindex:0}),i={id:\"navpie_btnback\",x:t.x,y:t.y,text:\"< Back\",anchor:\"c\",cursor:\"hand\"};ZC._cp_(p,i),zingchart.exec(e.id,\"addobject\",{type:\"label\",data:i})},1)}}),zingchart.bind(e.id,\"label_click\",function(t){if(\"navpie_btnback\"===t.label.id){var i=zingchart.getLoader(t.id);if(!i)return;var a=zingchart.getGraph(i,t.graphid);for(var n in a.getAttributes())\"pie-sel-\"===n.substring(0,8)&&a.setAttribute(n,null);zingchart.exec(e.id,\"removeobject\",{type:\"label\",id:\"navpie_btnback\"}),zingchart.exec(e.id,\"setseriesdata\",{data:h})}})):r[ZC._[11]]=[].concat(s))}else{var v=0,B=[];for(i=0;i0&&Z<1&&(Z*=v),s=[].concat(h);var m=[],b=[];for(C=1,i=h.length-1;i>=0;i--)if(B[i]\";_.push(h[i]),h.splice(i,1),C++}if(m.length)if(C>2){for(a=0;a index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : nativeAssign;\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","exports.f = Object.getOwnPropertySymbols;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","import { default as zingchart } from './zingchart-es6.min.js';\nlet ZC = window.ZC;\nexport {zingchart as default, ZC};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","/*!\n * vue-router v3.4.9\n * (c) 2020 Evan You\n * @license MIT\n */\n/* */\n\nfunction assert (condition, message) {\n if (!condition) {\n throw new Error((\"[vue-router] \" + message))\n }\n}\n\nfunction warn (condition, message) {\n if (process.env.NODE_ENV !== 'production' && !condition) {\n typeof console !== 'undefined' && console.warn((\"[vue-router] \" + message));\n }\n}\n\nfunction extend (a, b) {\n for (var key in b) {\n a[key] = b[key];\n }\n return a\n}\n\n/* */\n\nvar encodeReserveRE = /[!'()*]/g;\nvar encodeReserveReplacer = function (c) { return '%' + c.charCodeAt(0).toString(16); };\nvar commaRE = /%2C/g;\n\n// fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\nvar encode = function (str) { return encodeURIComponent(str)\n .replace(encodeReserveRE, encodeReserveReplacer)\n .replace(commaRE, ','); };\n\nfunction decode (str) {\n try {\n return decodeURIComponent(str)\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, (\"Error decoding \\\"\" + str + \"\\\". Leaving it intact.\"));\n }\n }\n return str\n}\n\nfunction resolveQuery (\n query,\n extraQuery,\n _parseQuery\n) {\n if ( extraQuery === void 0 ) extraQuery = {};\n\n var parse = _parseQuery || parseQuery;\n var parsedQuery;\n try {\n parsedQuery = parse(query || '');\n } catch (e) {\n process.env.NODE_ENV !== 'production' && warn(false, e.message);\n parsedQuery = {};\n }\n for (var key in extraQuery) {\n var value = extraQuery[key];\n parsedQuery[key] = Array.isArray(value)\n ? value.map(castQueryParamValue)\n : castQueryParamValue(value);\n }\n return parsedQuery\n}\n\nvar castQueryParamValue = function (value) { return (value == null || typeof value === 'object' ? value : String(value)); };\n\nfunction parseQuery (query) {\n var res = {};\n\n query = query.trim().replace(/^(\\?|#|&)/, '');\n\n if (!query) {\n return res\n }\n\n query.split('&').forEach(function (param) {\n var parts = param.replace(/\\+/g, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n\n if (res[key] === undefined) {\n res[key] = val;\n } else if (Array.isArray(res[key])) {\n res[key].push(val);\n } else {\n res[key] = [res[key], val];\n }\n });\n\n return res\n}\n\nfunction stringifyQuery (obj) {\n var res = obj\n ? Object.keys(obj)\n .map(function (key) {\n var val = obj[key];\n\n if (val === undefined) {\n return ''\n }\n\n if (val === null) {\n return encode(key)\n }\n\n if (Array.isArray(val)) {\n var result = [];\n val.forEach(function (val2) {\n if (val2 === undefined) {\n return\n }\n if (val2 === null) {\n result.push(encode(key));\n } else {\n result.push(encode(key) + '=' + encode(val2));\n }\n });\n return result.join('&')\n }\n\n return encode(key) + '=' + encode(val)\n })\n .filter(function (x) { return x.length > 0; })\n .join('&')\n : null;\n return res ? (\"?\" + res) : ''\n}\n\n/* */\n\nvar trailingSlashRE = /\\/?$/;\n\nfunction createRoute (\n record,\n location,\n redirectedFrom,\n router\n) {\n var stringifyQuery = router && router.options.stringifyQuery;\n\n var query = location.query || {};\n try {\n query = clone(query);\n } catch (e) {}\n\n var route = {\n name: location.name || (record && record.name),\n meta: (record && record.meta) || {},\n path: location.path || '/',\n hash: location.hash || '',\n query: query,\n params: location.params || {},\n fullPath: getFullPath(location, stringifyQuery),\n matched: record ? formatMatch(record) : []\n };\n if (redirectedFrom) {\n route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery);\n }\n return Object.freeze(route)\n}\n\nfunction clone (value) {\n if (Array.isArray(value)) {\n return value.map(clone)\n } else if (value && typeof value === 'object') {\n var res = {};\n for (var key in value) {\n res[key] = clone(value[key]);\n }\n return res\n } else {\n return value\n }\n}\n\n// the starting route that represents the initial state\nvar START = createRoute(null, {\n path: '/'\n});\n\nfunction formatMatch (record) {\n var res = [];\n while (record) {\n res.unshift(record);\n record = record.parent;\n }\n return res\n}\n\nfunction getFullPath (\n ref,\n _stringifyQuery\n) {\n var path = ref.path;\n var query = ref.query; if ( query === void 0 ) query = {};\n var hash = ref.hash; if ( hash === void 0 ) hash = '';\n\n var stringify = _stringifyQuery || stringifyQuery;\n return (path || '/') + stringify(query) + hash\n}\n\nfunction isSameRoute (a, b) {\n if (b === START) {\n return a === b\n } else if (!b) {\n return false\n } else if (a.path && b.path) {\n return (\n a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') &&\n a.hash === b.hash &&\n isObjectEqual(a.query, b.query)\n )\n } else if (a.name && b.name) {\n return (\n a.name === b.name &&\n a.hash === b.hash &&\n isObjectEqual(a.query, b.query) &&\n isObjectEqual(a.params, b.params)\n )\n } else {\n return false\n }\n}\n\nfunction isObjectEqual (a, b) {\n if ( a === void 0 ) a = {};\n if ( b === void 0 ) b = {};\n\n // handle null value #1566\n if (!a || !b) { return a === b }\n var aKeys = Object.keys(a).sort();\n var bKeys = Object.keys(b).sort();\n if (aKeys.length !== bKeys.length) {\n return false\n }\n return aKeys.every(function (key, i) {\n var aVal = a[key];\n var bKey = bKeys[i];\n if (bKey !== key) { return false }\n var bVal = b[key];\n // query values can be null and undefined\n if (aVal == null || bVal == null) { return aVal === bVal }\n // check nested equality\n if (typeof aVal === 'object' && typeof bVal === 'object') {\n return isObjectEqual(aVal, bVal)\n }\n return String(aVal) === String(bVal)\n })\n}\n\nfunction isIncludedRoute (current, target) {\n return (\n current.path.replace(trailingSlashRE, '/').indexOf(\n target.path.replace(trailingSlashRE, '/')\n ) === 0 &&\n (!target.hash || current.hash === target.hash) &&\n queryIncludes(current.query, target.query)\n )\n}\n\nfunction queryIncludes (current, target) {\n for (var key in target) {\n if (!(key in current)) {\n return false\n }\n }\n return true\n}\n\nfunction handleRouteEntered (route) {\n for (var i = 0; i < route.matched.length; i++) {\n var record = route.matched[i];\n for (var name in record.instances) {\n var instance = record.instances[name];\n var cbs = record.enteredCbs[name];\n if (!instance || !cbs) { continue }\n delete record.enteredCbs[name];\n for (var i$1 = 0; i$1 < cbs.length; i$1++) {\n if (!instance._isBeingDestroyed) { cbs[i$1](instance); }\n }\n }\n }\n}\n\nvar View = {\n name: 'RouterView',\n functional: true,\n props: {\n name: {\n type: String,\n default: 'default'\n }\n },\n render: function render (_, ref) {\n var props = ref.props;\n var children = ref.children;\n var parent = ref.parent;\n var data = ref.data;\n\n // used by devtools to display a router-view badge\n data.routerView = true;\n\n // directly use parent context's createElement() function\n // so that components rendered by router-view can resolve named slots\n var h = parent.$createElement;\n var name = props.name;\n var route = parent.$route;\n var cache = parent._routerViewCache || (parent._routerViewCache = {});\n\n // determine current view depth, also check to see if the tree\n // has been toggled inactive but kept-alive.\n var depth = 0;\n var inactive = false;\n while (parent && parent._routerRoot !== parent) {\n var vnodeData = parent.$vnode ? parent.$vnode.data : {};\n if (vnodeData.routerView) {\n depth++;\n }\n if (vnodeData.keepAlive && parent._directInactive && parent._inactive) {\n inactive = true;\n }\n parent = parent.$parent;\n }\n data.routerViewDepth = depth;\n\n // render previous view if the tree is inactive and kept-alive\n if (inactive) {\n var cachedData = cache[name];\n var cachedComponent = cachedData && cachedData.component;\n if (cachedComponent) {\n // #2301\n // pass props\n if (cachedData.configProps) {\n fillPropsinData(cachedComponent, data, cachedData.route, cachedData.configProps);\n }\n return h(cachedComponent, data, children)\n } else {\n // render previous empty view\n return h()\n }\n }\n\n var matched = route.matched[depth];\n var component = matched && matched.components[name];\n\n // render empty node if no matched route or no config component\n if (!matched || !component) {\n cache[name] = null;\n return h()\n }\n\n // cache component\n cache[name] = { component: component };\n\n // attach instance registration hook\n // this will be called in the instance's injected lifecycle hooks\n data.registerRouteInstance = function (vm, val) {\n // val could be undefined for unregistration\n var current = matched.instances[name];\n if (\n (val && current !== vm) ||\n (!val && current === vm)\n ) {\n matched.instances[name] = val;\n }\n }\n\n // also register instance in prepatch hook\n // in case the same component instance is reused across different routes\n ;(data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n matched.instances[name] = vnode.componentInstance;\n };\n\n // register instance in init hook\n // in case kept-alive component be actived when routes changed\n data.hook.init = function (vnode) {\n if (vnode.data.keepAlive &&\n vnode.componentInstance &&\n vnode.componentInstance !== matched.instances[name]\n ) {\n matched.instances[name] = vnode.componentInstance;\n }\n\n // if the route transition has already been confirmed then we weren't\n // able to call the cbs during confirmation as the component was not\n // registered yet, so we call it here.\n handleRouteEntered(route);\n };\n\n var configProps = matched.props && matched.props[name];\n // save route and configProps in cache\n if (configProps) {\n extend(cache[name], {\n route: route,\n configProps: configProps\n });\n fillPropsinData(component, data, route, configProps);\n }\n\n return h(component, data, children)\n }\n};\n\nfunction fillPropsinData (component, data, route, configProps) {\n // resolve props\n var propsToPass = data.props = resolveProps(route, configProps);\n if (propsToPass) {\n // clone to prevent mutation\n propsToPass = data.props = extend({}, propsToPass);\n // pass non-declared props as attrs\n var attrs = data.attrs = data.attrs || {};\n for (var key in propsToPass) {\n if (!component.props || !(key in component.props)) {\n attrs[key] = propsToPass[key];\n delete propsToPass[key];\n }\n }\n }\n}\n\nfunction resolveProps (route, config) {\n switch (typeof config) {\n case 'undefined':\n return\n case 'object':\n return config\n case 'function':\n return config(route)\n case 'boolean':\n return config ? route.params : undefined\n default:\n if (process.env.NODE_ENV !== 'production') {\n warn(\n false,\n \"props in \\\"\" + (route.path) + \"\\\" is a \" + (typeof config) + \", \" +\n \"expecting an object, function or boolean.\"\n );\n }\n }\n}\n\n/* */\n\nfunction resolvePath (\n relative,\n base,\n append\n) {\n var firstChar = relative.charAt(0);\n if (firstChar === '/') {\n return relative\n }\n\n if (firstChar === '?' || firstChar === '#') {\n return base + relative\n }\n\n var stack = base.split('/');\n\n // remove trailing segment if:\n // - not appending\n // - appending to trailing slash (last segment is empty)\n if (!append || !stack[stack.length - 1]) {\n stack.pop();\n }\n\n // resolve relative path\n var segments = relative.replace(/^\\//, '').split('/');\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n if (segment === '..') {\n stack.pop();\n } else if (segment !== '.') {\n stack.push(segment);\n }\n }\n\n // ensure leading slash\n if (stack[0] !== '') {\n stack.unshift('');\n }\n\n return stack.join('/')\n}\n\nfunction parsePath (path) {\n var hash = '';\n var query = '';\n\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n hash = path.slice(hashIndex);\n path = path.slice(0, hashIndex);\n }\n\n var queryIndex = path.indexOf('?');\n if (queryIndex >= 0) {\n query = path.slice(queryIndex + 1);\n path = path.slice(0, queryIndex);\n }\n\n return {\n path: path,\n query: query,\n hash: hash\n }\n}\n\nfunction cleanPath (path) {\n return path.replace(/\\/\\//g, '/')\n}\n\nvar isarray = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n\n/**\n * Expose `pathToRegexp`.\n */\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g');\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = options && options.delimiter || '/';\n var res;\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length;\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1];\n continue\n }\n\n var next = str[index];\n var prefix = res[2];\n var name = res[3];\n var capture = res[4];\n var group = res[5];\n var modifier = res[6];\n var asterisk = res[7];\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path);\n path = '';\n }\n\n var partial = prefix != null && next != null && next !== prefix;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = res[2] || defaultDelimiter;\n var pattern = capture || group;\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')\n });\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index);\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path);\n }\n\n return tokens\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length);\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n }\n }\n\n return function (obj, opts) {\n var path = '';\n var data = obj || {};\n var options = opts || {};\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n path += token;\n\n continue\n }\n\n var value = data[token.name];\n var segment;\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix;\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j]);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment;\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1')\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys (re, keys) {\n re.keys = keys;\n return re\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n });\n }\n }\n\n return attachKeys(path, keys)\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = [];\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source);\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n\n return attachKeys(regexp, keys)\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options);\n keys = [];\n }\n\n options = options || {};\n\n var strict = options.strict;\n var end = options.end !== false;\n var route = '';\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n route += escapeString(token);\n } else {\n var prefix = escapeString(token.prefix);\n var capture = '(?:' + token.pattern + ')';\n\n keys.push(token);\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*';\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?';\n } else {\n capture = prefix + '(' + capture + ')?';\n }\n } else {\n capture = prefix + '(' + capture + ')';\n }\n\n route += capture;\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/');\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n }\n\n if (end) {\n route += '$';\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys)\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options);\n keys = [];\n }\n\n options = options || {};\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */ (keys))\n }\n\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)\n}\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n\n/* */\n\n// $flow-disable-line\nvar regexpCompileCache = Object.create(null);\n\nfunction fillParams (\n path,\n params,\n routeMsg\n) {\n params = params || {};\n try {\n var filler =\n regexpCompileCache[path] ||\n (regexpCompileCache[path] = pathToRegexp_1.compile(path));\n\n // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n // and fix #3106 so that you can work with location descriptor object having params.pathMatch equal to empty string\n if (typeof params.pathMatch === 'string') { params[0] = params.pathMatch; }\n\n return filler(params, { pretty: true })\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n // Fix #3072 no warn if `pathMatch` is string\n warn(typeof params.pathMatch === 'string', (\"missing param for \" + routeMsg + \": \" + (e.message)));\n }\n return ''\n } finally {\n // delete the 0 if it was added\n delete params[0];\n }\n}\n\n/* */\n\nfunction normalizeLocation (\n raw,\n current,\n append,\n router\n) {\n var next = typeof raw === 'string' ? { path: raw } : raw;\n // named target\n if (next._normalized) {\n return next\n } else if (next.name) {\n next = extend({}, raw);\n var params = next.params;\n if (params && typeof params === 'object') {\n next.params = extend({}, params);\n }\n return next\n }\n\n // relative params\n if (!next.path && next.params && current) {\n next = extend({}, next);\n next._normalized = true;\n var params$1 = extend(extend({}, current.params), next.params);\n if (current.name) {\n next.name = current.name;\n next.params = params$1;\n } else if (current.matched.length) {\n var rawPath = current.matched[current.matched.length - 1].path;\n next.path = fillParams(rawPath, params$1, (\"path \" + (current.path)));\n } else if (process.env.NODE_ENV !== 'production') {\n warn(false, \"relative params navigation requires a current route.\");\n }\n return next\n }\n\n var parsedPath = parsePath(next.path || '');\n var basePath = (current && current.path) || '/';\n var path = parsedPath.path\n ? resolvePath(parsedPath.path, basePath, append || next.append)\n : basePath;\n\n var query = resolveQuery(\n parsedPath.query,\n next.query,\n router && router.options.parseQuery\n );\n\n var hash = next.hash || parsedPath.hash;\n if (hash && hash.charAt(0) !== '#') {\n hash = \"#\" + hash;\n }\n\n return {\n _normalized: true,\n path: path,\n query: query,\n hash: hash\n }\n}\n\n/* */\n\n// work around weird flow bug\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\n\nvar noop = function () {};\n\nvar Link = {\n name: 'RouterLink',\n props: {\n to: {\n type: toTypes,\n required: true\n },\n tag: {\n type: String,\n default: 'a'\n },\n exact: Boolean,\n append: Boolean,\n replace: Boolean,\n activeClass: String,\n exactActiveClass: String,\n ariaCurrentValue: {\n type: String,\n default: 'page'\n },\n event: {\n type: eventTypes,\n default: 'click'\n }\n },\n render: function render (h) {\n var this$1 = this;\n\n var router = this.$router;\n var current = this.$route;\n var ref = router.resolve(\n this.to,\n current,\n this.append\n );\n var location = ref.location;\n var route = ref.route;\n var href = ref.href;\n\n var classes = {};\n var globalActiveClass = router.options.linkActiveClass;\n var globalExactActiveClass = router.options.linkExactActiveClass;\n // Support global empty active class\n var activeClassFallback =\n globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n var exactActiveClassFallback =\n globalExactActiveClass == null\n ? 'router-link-exact-active'\n : globalExactActiveClass;\n var activeClass =\n this.activeClass == null ? activeClassFallback : this.activeClass;\n var exactActiveClass =\n this.exactActiveClass == null\n ? exactActiveClassFallback\n : this.exactActiveClass;\n\n var compareTarget = route.redirectedFrom\n ? createRoute(null, normalizeLocation(route.redirectedFrom), null, router)\n : route;\n\n classes[exactActiveClass] = isSameRoute(current, compareTarget);\n classes[activeClass] = this.exact\n ? classes[exactActiveClass]\n : isIncludedRoute(current, compareTarget);\n\n var ariaCurrentValue = classes[exactActiveClass] ? this.ariaCurrentValue : null;\n\n var handler = function (e) {\n if (guardEvent(e)) {\n if (this$1.replace) {\n router.replace(location, noop);\n } else {\n router.push(location, noop);\n }\n }\n };\n\n var on = { click: guardEvent };\n if (Array.isArray(this.event)) {\n this.event.forEach(function (e) {\n on[e] = handler;\n });\n } else {\n on[this.event] = handler;\n }\n\n var data = { class: classes };\n\n var scopedSlot =\n !this.$scopedSlots.$hasNormal &&\n this.$scopedSlots.default &&\n this.$scopedSlots.default({\n href: href,\n route: route,\n navigate: handler,\n isActive: classes[activeClass],\n isExactActive: classes[exactActiveClass]\n });\n\n if (scopedSlot) {\n if (scopedSlot.length === 1) {\n return scopedSlot[0]\n } else if (scopedSlot.length > 1 || !scopedSlot.length) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\n false,\n (\"RouterLink with to=\\\"\" + (this.to) + \"\\\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.\")\n );\n }\n return scopedSlot.length === 0 ? h() : h('span', {}, scopedSlot)\n }\n }\n\n if (this.tag === 'a') {\n data.on = on;\n data.attrs = { href: href, 'aria-current': ariaCurrentValue };\n } else {\n // find the first child and apply listener and href\n var a = findAnchor(this.$slots.default);\n if (a) {\n // in case the is a static node\n a.isStatic = false;\n var aData = (a.data = extend({}, a.data));\n aData.on = aData.on || {};\n // transform existing events in both objects into arrays so we can push later\n for (var event in aData.on) {\n var handler$1 = aData.on[event];\n if (event in on) {\n aData.on[event] = Array.isArray(handler$1) ? handler$1 : [handler$1];\n }\n }\n // append new listeners for router-link\n for (var event$1 in on) {\n if (event$1 in aData.on) {\n // on[event] is always a function\n aData.on[event$1].push(on[event$1]);\n } else {\n aData.on[event$1] = handler;\n }\n }\n\n var aAttrs = (a.data.attrs = extend({}, a.data.attrs));\n aAttrs.href = href;\n aAttrs['aria-current'] = ariaCurrentValue;\n } else {\n // doesn't have child, apply listener to self\n data.on = on;\n }\n }\n\n return h(this.tag, data, this.$slots.default)\n }\n};\n\nfunction guardEvent (e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) { return }\n // don't redirect when preventDefault called\n if (e.defaultPrevented) { return }\n // don't redirect on right click\n if (e.button !== undefined && e.button !== 0) { return }\n // don't redirect if `target=\"_blank\"`\n if (e.currentTarget && e.currentTarget.getAttribute) {\n var target = e.currentTarget.getAttribute('target');\n if (/\\b_blank\\b/i.test(target)) { return }\n }\n // this may be a Weex event which doesn't have this method\n if (e.preventDefault) {\n e.preventDefault();\n }\n return true\n}\n\nfunction findAnchor (children) {\n if (children) {\n var child;\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n if (child.tag === 'a') {\n return child\n }\n if (child.children && (child = findAnchor(child.children))) {\n return child\n }\n }\n }\n}\n\nvar _Vue;\n\nfunction install (Vue) {\n if (install.installed && _Vue === Vue) { return }\n install.installed = true;\n\n _Vue = Vue;\n\n var isDef = function (v) { return v !== undefined; };\n\n var registerInstance = function (vm, callVal) {\n var i = vm.$options._parentVnode;\n if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n i(vm, callVal);\n }\n };\n\n Vue.mixin({\n beforeCreate: function beforeCreate () {\n if (isDef(this.$options.router)) {\n this._routerRoot = this;\n this._router = this.$options.router;\n this._router.init(this);\n Vue.util.defineReactive(this, '_route', this._router.history.current);\n } else {\n this._routerRoot = (this.$parent && this.$parent._routerRoot) || this;\n }\n registerInstance(this, this);\n },\n destroyed: function destroyed () {\n registerInstance(this);\n }\n });\n\n Object.defineProperty(Vue.prototype, '$router', {\n get: function get () { return this._routerRoot._router }\n });\n\n Object.defineProperty(Vue.prototype, '$route', {\n get: function get () { return this._routerRoot._route }\n });\n\n Vue.component('RouterView', View);\n Vue.component('RouterLink', Link);\n\n var strats = Vue.config.optionMergeStrategies;\n // use the same hook merging strategy for route hooks\n strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n\n/* */\n\nvar inBrowser = typeof window !== 'undefined';\n\n/* */\n\nfunction createRouteMap (\n routes,\n oldPathList,\n oldPathMap,\n oldNameMap\n) {\n // the path list is used to control path matching priority\n var pathList = oldPathList || [];\n // $flow-disable-line\n var pathMap = oldPathMap || Object.create(null);\n // $flow-disable-line\n var nameMap = oldNameMap || Object.create(null);\n\n routes.forEach(function (route) {\n addRouteRecord(pathList, pathMap, nameMap, route);\n });\n\n // ensure wildcard routes are always at the end\n for (var i = 0, l = pathList.length; i < l; i++) {\n if (pathList[i] === '*') {\n pathList.push(pathList.splice(i, 1)[0]);\n l--;\n i--;\n }\n }\n\n if (process.env.NODE_ENV === 'development') {\n // warn if routes do not include leading slashes\n var found = pathList\n // check for missing leading slash\n .filter(function (path) { return path && path.charAt(0) !== '*' && path.charAt(0) !== '/'; });\n\n if (found.length > 0) {\n var pathNames = found.map(function (path) { return (\"- \" + path); }).join('\\n');\n warn(false, (\"Non-nested routes must include a leading slash character. Fix the following routes: \\n\" + pathNames));\n }\n }\n\n return {\n pathList: pathList,\n pathMap: pathMap,\n nameMap: nameMap\n }\n}\n\nfunction addRouteRecord (\n pathList,\n pathMap,\n nameMap,\n route,\n parent,\n matchAs\n) {\n var path = route.path;\n var name = route.name;\n if (process.env.NODE_ENV !== 'production') {\n assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n assert(\n typeof route.component !== 'string',\n \"route config \\\"component\\\" for path: \" + (String(\n path || name\n )) + \" cannot be a \" + \"string id. Use an actual component instead.\"\n );\n\n warn(\n // eslint-disable-next-line no-control-regex\n !/[^\\u0000-\\u007F]+/.test(path),\n \"Route with path \\\"\" + path + \"\\\" contains unencoded characters, make sure \" +\n \"your path is correctly encoded before passing it to the router. Use \" +\n \"encodeURI to encode static segments of your path.\"\n );\n }\n\n var pathToRegexpOptions =\n route.pathToRegexpOptions || {};\n var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n\n if (typeof route.caseSensitive === 'boolean') {\n pathToRegexpOptions.sensitive = route.caseSensitive;\n }\n\n var record = {\n path: normalizedPath,\n regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n components: route.components || { default: route.component },\n instances: {},\n enteredCbs: {},\n name: name,\n parent: parent,\n matchAs: matchAs,\n redirect: route.redirect,\n beforeEnter: route.beforeEnter,\n meta: route.meta || {},\n props:\n route.props == null\n ? {}\n : route.components\n ? route.props\n : { default: route.props }\n };\n\n if (route.children) {\n // Warn if route is named, does not redirect and has a default child route.\n // If users navigate to this route by name, the default child will\n // not be rendered (GH Issue #629)\n if (process.env.NODE_ENV !== 'production') {\n if (\n route.name &&\n !route.redirect &&\n route.children.some(function (child) { return /^\\/?$/.test(child.path); })\n ) {\n warn(\n false,\n \"Named Route '\" + (route.name) + \"' has a default child route. \" +\n \"When navigating to this named route (:to=\\\"{name: '\" + (route.name) + \"'\\\"), \" +\n \"the default child route will not be rendered. Remove the name from \" +\n \"this route and use the name of the default child route for named \" +\n \"links instead.\"\n );\n }\n }\n route.children.forEach(function (child) {\n var childMatchAs = matchAs\n ? cleanPath((matchAs + \"/\" + (child.path)))\n : undefined;\n addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n });\n }\n\n if (!pathMap[record.path]) {\n pathList.push(record.path);\n pathMap[record.path] = record;\n }\n\n if (route.alias !== undefined) {\n var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n for (var i = 0; i < aliases.length; ++i) {\n var alias = aliases[i];\n if (process.env.NODE_ENV !== 'production' && alias === path) {\n warn(\n false,\n (\"Found an alias with the same value as the path: \\\"\" + path + \"\\\". You have to remove that alias. It will be ignored in development.\")\n );\n // skip in dev to make it work\n continue\n }\n\n var aliasRoute = {\n path: alias,\n children: route.children\n };\n addRouteRecord(\n pathList,\n pathMap,\n nameMap,\n aliasRoute,\n parent,\n record.path || '/' // matchAs\n );\n }\n }\n\n if (name) {\n if (!nameMap[name]) {\n nameMap[name] = record;\n } else if (process.env.NODE_ENV !== 'production' && !matchAs) {\n warn(\n false,\n \"Duplicate named routes definition: \" +\n \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + (record.path) + \"\\\" }\"\n );\n }\n }\n}\n\nfunction compileRouteRegex (\n path,\n pathToRegexpOptions\n) {\n var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n if (process.env.NODE_ENV !== 'production') {\n var keys = Object.create(null);\n regex.keys.forEach(function (key) {\n warn(\n !keys[key.name],\n (\"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\")\n );\n keys[key.name] = true;\n });\n }\n return regex\n}\n\nfunction normalizePath (\n path,\n parent,\n strict\n) {\n if (!strict) { path = path.replace(/\\/$/, ''); }\n if (path[0] === '/') { return path }\n if (parent == null) { return path }\n return cleanPath(((parent.path) + \"/\" + path))\n}\n\n/* */\n\n\n\nfunction createMatcher (\n routes,\n router\n) {\n var ref = createRouteMap(routes);\n var pathList = ref.pathList;\n var pathMap = ref.pathMap;\n var nameMap = ref.nameMap;\n\n function addRoutes (routes) {\n createRouteMap(routes, pathList, pathMap, nameMap);\n }\n\n function match (\n raw,\n currentRoute,\n redirectedFrom\n ) {\n var location = normalizeLocation(raw, currentRoute, false, router);\n var name = location.name;\n\n if (name) {\n var record = nameMap[name];\n if (process.env.NODE_ENV !== 'production') {\n warn(record, (\"Route with name '\" + name + \"' does not exist\"));\n }\n if (!record) { return _createRoute(null, location) }\n var paramNames = record.regex.keys\n .filter(function (key) { return !key.optional; })\n .map(function (key) { return key.name; });\n\n if (typeof location.params !== 'object') {\n location.params = {};\n }\n\n if (currentRoute && typeof currentRoute.params === 'object') {\n for (var key in currentRoute.params) {\n if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n location.params[key] = currentRoute.params[key];\n }\n }\n }\n\n location.path = fillParams(record.path, location.params, (\"named route \\\"\" + name + \"\\\"\"));\n return _createRoute(record, location, redirectedFrom)\n } else if (location.path) {\n location.params = {};\n for (var i = 0; i < pathList.length; i++) {\n var path = pathList[i];\n var record$1 = pathMap[path];\n if (matchRoute(record$1.regex, location.path, location.params)) {\n return _createRoute(record$1, location, redirectedFrom)\n }\n }\n }\n // no match\n return _createRoute(null, location)\n }\n\n function redirect (\n record,\n location\n ) {\n var originalRedirect = record.redirect;\n var redirect = typeof originalRedirect === 'function'\n ? originalRedirect(createRoute(record, location, null, router))\n : originalRedirect;\n\n if (typeof redirect === 'string') {\n redirect = { path: redirect };\n }\n\n if (!redirect || typeof redirect !== 'object') {\n if (process.env.NODE_ENV !== 'production') {\n warn(\n false, (\"invalid redirect option: \" + (JSON.stringify(redirect)))\n );\n }\n return _createRoute(null, location)\n }\n\n var re = redirect;\n var name = re.name;\n var path = re.path;\n var query = location.query;\n var hash = location.hash;\n var params = location.params;\n query = re.hasOwnProperty('query') ? re.query : query;\n hash = re.hasOwnProperty('hash') ? re.hash : hash;\n params = re.hasOwnProperty('params') ? re.params : params;\n\n if (name) {\n // resolved named direct\n var targetRecord = nameMap[name];\n if (process.env.NODE_ENV !== 'production') {\n assert(targetRecord, (\"redirect failed: named route \\\"\" + name + \"\\\" not found.\"));\n }\n return match({\n _normalized: true,\n name: name,\n query: query,\n hash: hash,\n params: params\n }, undefined, location)\n } else if (path) {\n // 1. resolve relative redirect\n var rawPath = resolveRecordPath(path, record);\n // 2. resolve params\n var resolvedPath = fillParams(rawPath, params, (\"redirect route with path \\\"\" + rawPath + \"\\\"\"));\n // 3. rematch with existing query and hash\n return match({\n _normalized: true,\n path: resolvedPath,\n query: query,\n hash: hash\n }, undefined, location)\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, (\"invalid redirect option: \" + (JSON.stringify(redirect))));\n }\n return _createRoute(null, location)\n }\n }\n\n function alias (\n record,\n location,\n matchAs\n ) {\n var aliasedPath = fillParams(matchAs, location.params, (\"aliased route with path \\\"\" + matchAs + \"\\\"\"));\n var aliasedMatch = match({\n _normalized: true,\n path: aliasedPath\n });\n if (aliasedMatch) {\n var matched = aliasedMatch.matched;\n var aliasedRecord = matched[matched.length - 1];\n location.params = aliasedMatch.params;\n return _createRoute(aliasedRecord, location)\n }\n return _createRoute(null, location)\n }\n\n function _createRoute (\n record,\n location,\n redirectedFrom\n ) {\n if (record && record.redirect) {\n return redirect(record, redirectedFrom || location)\n }\n if (record && record.matchAs) {\n return alias(record, location, record.matchAs)\n }\n return createRoute(record, location, redirectedFrom, router)\n }\n\n return {\n match: match,\n addRoutes: addRoutes\n }\n}\n\nfunction matchRoute (\n regex,\n path,\n params\n) {\n var m = path.match(regex);\n\n if (!m) {\n return false\n } else if (!params) {\n return true\n }\n\n for (var i = 1, len = m.length; i < len; ++i) {\n var key = regex.keys[i - 1];\n if (key) {\n // Fix #1994: using * with props: true generates a param named 0\n params[key.name || 'pathMatch'] = typeof m[i] === 'string' ? decode(m[i]) : m[i];\n }\n }\n\n return true\n}\n\nfunction resolveRecordPath (path, record) {\n return resolvePath(path, record.parent ? record.parent.path : '/', true)\n}\n\n/* */\n\n// use User Timing api (if present) for more accurate key precision\nvar Time =\n inBrowser && window.performance && window.performance.now\n ? window.performance\n : Date;\n\nfunction genStateKey () {\n return Time.now().toFixed(3)\n}\n\nvar _key = genStateKey();\n\nfunction getStateKey () {\n return _key\n}\n\nfunction setStateKey (key) {\n return (_key = key)\n}\n\n/* */\n\nvar positionStore = Object.create(null);\n\nfunction setupScroll () {\n // Prevent browser scroll behavior on History popstate\n if ('scrollRestoration' in window.history) {\n window.history.scrollRestoration = 'manual';\n }\n // Fix for #1585 for Firefox\n // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n // Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with\n // window.location.protocol + '//' + window.location.host\n // location.host contains the port and location.hostname doesn't\n var protocolAndPath = window.location.protocol + '//' + window.location.host;\n var absolutePath = window.location.href.replace(protocolAndPath, '');\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, window.history.state);\n stateCopy.key = getStateKey();\n window.history.replaceState(stateCopy, '', absolutePath);\n window.addEventListener('popstate', handlePopState);\n return function () {\n window.removeEventListener('popstate', handlePopState);\n }\n}\n\nfunction handleScroll (\n router,\n to,\n from,\n isPop\n) {\n if (!router.app) {\n return\n }\n\n var behavior = router.options.scrollBehavior;\n if (!behavior) {\n return\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n }\n\n // wait until re-render finishes before scrolling\n router.app.$nextTick(function () {\n var position = getScrollPosition();\n var shouldScroll = behavior.call(\n router,\n to,\n from,\n isPop ? position : null\n );\n\n if (!shouldScroll) {\n return\n }\n\n if (typeof shouldScroll.then === 'function') {\n shouldScroll\n .then(function (shouldScroll) {\n scrollToPosition((shouldScroll), position);\n })\n .catch(function (err) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, err.toString());\n }\n });\n } else {\n scrollToPosition(shouldScroll, position);\n }\n });\n}\n\nfunction saveScrollPosition () {\n var key = getStateKey();\n if (key) {\n positionStore[key] = {\n x: window.pageXOffset,\n y: window.pageYOffset\n };\n }\n}\n\nfunction handlePopState (e) {\n saveScrollPosition();\n if (e.state && e.state.key) {\n setStateKey(e.state.key);\n }\n}\n\nfunction getScrollPosition () {\n var key = getStateKey();\n if (key) {\n return positionStore[key]\n }\n}\n\nfunction getElementPosition (el, offset) {\n var docEl = document.documentElement;\n var docRect = docEl.getBoundingClientRect();\n var elRect = el.getBoundingClientRect();\n return {\n x: elRect.left - docRect.left - offset.x,\n y: elRect.top - docRect.top - offset.y\n }\n}\n\nfunction isValidPosition (obj) {\n return isNumber(obj.x) || isNumber(obj.y)\n}\n\nfunction normalizePosition (obj) {\n return {\n x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n y: isNumber(obj.y) ? obj.y : window.pageYOffset\n }\n}\n\nfunction normalizeOffset (obj) {\n return {\n x: isNumber(obj.x) ? obj.x : 0,\n y: isNumber(obj.y) ? obj.y : 0\n }\n}\n\nfunction isNumber (v) {\n return typeof v === 'number'\n}\n\nvar hashStartsWithNumberRE = /^#\\d/;\n\nfunction scrollToPosition (shouldScroll, position) {\n var isObject = typeof shouldScroll === 'object';\n if (isObject && typeof shouldScroll.selector === 'string') {\n // getElementById would still fail if the selector contains a more complicated query like #main[data-attr]\n // but at the same time, it doesn't make much sense to select an element with an id and an extra selector\n var el = hashStartsWithNumberRE.test(shouldScroll.selector) // $flow-disable-line\n ? document.getElementById(shouldScroll.selector.slice(1)) // $flow-disable-line\n : document.querySelector(shouldScroll.selector);\n\n if (el) {\n var offset =\n shouldScroll.offset && typeof shouldScroll.offset === 'object'\n ? shouldScroll.offset\n : {};\n offset = normalizeOffset(offset);\n position = getElementPosition(el, offset);\n } else if (isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n } else if (isObject && isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n\n if (position) {\n // $flow-disable-line\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n left: position.x,\n top: position.y,\n // $flow-disable-line\n behavior: shouldScroll.behavior\n });\n } else {\n window.scrollTo(position.x, position.y);\n }\n }\n}\n\n/* */\n\nvar supportsPushState =\n inBrowser &&\n (function () {\n var ua = window.navigator.userAgent;\n\n if (\n (ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&\n ua.indexOf('Mobile Safari') !== -1 &&\n ua.indexOf('Chrome') === -1 &&\n ua.indexOf('Windows Phone') === -1\n ) {\n return false\n }\n\n return window.history && typeof window.history.pushState === 'function'\n })();\n\nfunction pushState (url, replace) {\n saveScrollPosition();\n // try...catch the pushState call to get around Safari\n // DOM Exception 18 where it limits to 100 pushState calls\n var history = window.history;\n try {\n if (replace) {\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, history.state);\n stateCopy.key = getStateKey();\n history.replaceState(stateCopy, '', url);\n } else {\n history.pushState({ key: setStateKey(genStateKey()) }, '', url);\n }\n } catch (e) {\n window.location[replace ? 'replace' : 'assign'](url);\n }\n}\n\nfunction replaceState (url) {\n pushState(url, true);\n}\n\n/* */\n\nfunction runQueue (queue, fn, cb) {\n var step = function (index) {\n if (index >= queue.length) {\n cb();\n } else {\n if (queue[index]) {\n fn(queue[index], function () {\n step(index + 1);\n });\n } else {\n step(index + 1);\n }\n }\n };\n step(0);\n}\n\n// When changing thing, also edit router.d.ts\nvar NavigationFailureType = {\n redirected: 2,\n aborted: 4,\n cancelled: 8,\n duplicated: 16\n};\n\nfunction createNavigationRedirectedError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.redirected,\n (\"Redirected when going from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (stringifyRoute(\n to\n )) + \"\\\" via a navigation guard.\")\n )\n}\n\nfunction createNavigationDuplicatedError (from, to) {\n var error = createRouterError(\n from,\n to,\n NavigationFailureType.duplicated,\n (\"Avoided redundant navigation to current location: \\\"\" + (from.fullPath) + \"\\\".\")\n );\n // backwards compatible with the first introduction of Errors\n error.name = 'NavigationDuplicated';\n return error\n}\n\nfunction createNavigationCancelledError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.cancelled,\n (\"Navigation cancelled from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (to.fullPath) + \"\\\" with a new navigation.\")\n )\n}\n\nfunction createNavigationAbortedError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.aborted,\n (\"Navigation aborted from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (to.fullPath) + \"\\\" via a navigation guard.\")\n )\n}\n\nfunction createRouterError (from, to, type, message) {\n var error = new Error(message);\n error._isRouter = true;\n error.from = from;\n error.to = to;\n error.type = type;\n\n return error\n}\n\nvar propertiesToLog = ['params', 'query', 'hash'];\n\nfunction stringifyRoute (to) {\n if (typeof to === 'string') { return to }\n if ('path' in to) { return to.path }\n var location = {};\n propertiesToLog.forEach(function (key) {\n if (key in to) { location[key] = to[key]; }\n });\n return JSON.stringify(location, null, 2)\n}\n\nfunction isError (err) {\n return Object.prototype.toString.call(err).indexOf('Error') > -1\n}\n\nfunction isNavigationFailure (err, errorType) {\n return (\n isError(err) &&\n err._isRouter &&\n (errorType == null || err.type === errorType)\n )\n}\n\n/* */\n\nfunction resolveAsyncComponents (matched) {\n return function (to, from, next) {\n var hasAsync = false;\n var pending = 0;\n var error = null;\n\n flatMapComponents(matched, function (def, _, match, key) {\n // if it's a function and doesn't have cid attached,\n // assume it's an async component resolve function.\n // we are not using Vue's default async resolving mechanism because\n // we want to halt the navigation until the incoming component has been\n // resolved.\n if (typeof def === 'function' && def.cid === undefined) {\n hasAsync = true;\n pending++;\n\n var resolve = once(function (resolvedDef) {\n if (isESModule(resolvedDef)) {\n resolvedDef = resolvedDef.default;\n }\n // save resolved on async factory in case it's used elsewhere\n def.resolved = typeof resolvedDef === 'function'\n ? resolvedDef\n : _Vue.extend(resolvedDef);\n match.components[key] = resolvedDef;\n pending--;\n if (pending <= 0) {\n next();\n }\n });\n\n var reject = once(function (reason) {\n var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n process.env.NODE_ENV !== 'production' && warn(false, msg);\n if (!error) {\n error = isError(reason)\n ? reason\n : new Error(msg);\n next(error);\n }\n });\n\n var res;\n try {\n res = def(resolve, reject);\n } catch (e) {\n reject(e);\n }\n if (res) {\n if (typeof res.then === 'function') {\n res.then(resolve, reject);\n } else {\n // new syntax in Vue 2.3\n var comp = res.component;\n if (comp && typeof comp.then === 'function') {\n comp.then(resolve, reject);\n }\n }\n }\n }\n });\n\n if (!hasAsync) { next(); }\n }\n}\n\nfunction flatMapComponents (\n matched,\n fn\n) {\n return flatten(matched.map(function (m) {\n return Object.keys(m.components).map(function (key) { return fn(\n m.components[key],\n m.instances[key],\n m, key\n ); })\n }))\n}\n\nfunction flatten (arr) {\n return Array.prototype.concat.apply([], arr)\n}\n\nvar hasSymbol =\n typeof Symbol === 'function' &&\n typeof Symbol.toStringTag === 'symbol';\n\nfunction isESModule (obj) {\n return obj.__esModule || (hasSymbol && obj[Symbol.toStringTag] === 'Module')\n}\n\n// in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\nfunction once (fn) {\n var called = false;\n return function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n if (called) { return }\n called = true;\n return fn.apply(this, args)\n }\n}\n\n/* */\n\nvar History = function History (router, base) {\n this.router = router;\n this.base = normalizeBase(base);\n // start with a route object that stands for \"nowhere\"\n this.current = START;\n this.pending = null;\n this.ready = false;\n this.readyCbs = [];\n this.readyErrorCbs = [];\n this.errorCbs = [];\n this.listeners = [];\n};\n\nHistory.prototype.listen = function listen (cb) {\n this.cb = cb;\n};\n\nHistory.prototype.onReady = function onReady (cb, errorCb) {\n if (this.ready) {\n cb();\n } else {\n this.readyCbs.push(cb);\n if (errorCb) {\n this.readyErrorCbs.push(errorCb);\n }\n }\n};\n\nHistory.prototype.onError = function onError (errorCb) {\n this.errorCbs.push(errorCb);\n};\n\nHistory.prototype.transitionTo = function transitionTo (\n location,\n onComplete,\n onAbort\n) {\n var this$1 = this;\n\n var route;\n // catch redirect option https://github.com/vuejs/vue-router/issues/3201\n try {\n route = this.router.match(location, this.current);\n } catch (e) {\n this.errorCbs.forEach(function (cb) {\n cb(e);\n });\n // Exception should still be thrown\n throw e\n }\n var prev = this.current;\n this.confirmTransition(\n route,\n function () {\n this$1.updateRoute(route);\n onComplete && onComplete(route);\n this$1.ensureURL();\n this$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n\n // fire ready cbs once\n if (!this$1.ready) {\n this$1.ready = true;\n this$1.readyCbs.forEach(function (cb) {\n cb(route);\n });\n }\n },\n function (err) {\n if (onAbort) {\n onAbort(err);\n }\n if (err && !this$1.ready) {\n // Initial redirection should not mark the history as ready yet\n // because it's triggered by the redirection instead\n // https://github.com/vuejs/vue-router/issues/3225\n // https://github.com/vuejs/vue-router/issues/3331\n if (!isNavigationFailure(err, NavigationFailureType.redirected) || prev !== START) {\n this$1.ready = true;\n this$1.readyErrorCbs.forEach(function (cb) {\n cb(err);\n });\n }\n }\n }\n );\n};\n\nHistory.prototype.confirmTransition = function confirmTransition (route, onComplete, onAbort) {\n var this$1 = this;\n\n var current = this.current;\n this.pending = route;\n var abort = function (err) {\n // changed after adding errors with\n // https://github.com/vuejs/vue-router/pull/3047 before that change,\n // redirect and aborted navigation would produce an err == null\n if (!isNavigationFailure(err) && isError(err)) {\n if (this$1.errorCbs.length) {\n this$1.errorCbs.forEach(function (cb) {\n cb(err);\n });\n } else {\n warn(false, 'uncaught error during route navigation:');\n console.error(err);\n }\n }\n onAbort && onAbort(err);\n };\n var lastRouteIndex = route.matched.length - 1;\n var lastCurrentIndex = current.matched.length - 1;\n if (\n isSameRoute(route, current) &&\n // in the case the route map has been dynamically appended to\n lastRouteIndex === lastCurrentIndex &&\n route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]\n ) {\n this.ensureURL();\n return abort(createNavigationDuplicatedError(current, route))\n }\n\n var ref = resolveQueue(\n this.current.matched,\n route.matched\n );\n var updated = ref.updated;\n var deactivated = ref.deactivated;\n var activated = ref.activated;\n\n var queue = [].concat(\n // in-component leave guards\n extractLeaveGuards(deactivated),\n // global before hooks\n this.router.beforeHooks,\n // in-component update hooks\n extractUpdateHooks(updated),\n // in-config enter guards\n activated.map(function (m) { return m.beforeEnter; }),\n // async components\n resolveAsyncComponents(activated)\n );\n\n var iterator = function (hook, next) {\n if (this$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route))\n }\n try {\n hook(route, current, function (to) {\n if (to === false) {\n // next(false) -> abort navigation, ensure current URL\n this$1.ensureURL(true);\n abort(createNavigationAbortedError(current, route));\n } else if (isError(to)) {\n this$1.ensureURL(true);\n abort(to);\n } else if (\n typeof to === 'string' ||\n (typeof to === 'object' &&\n (typeof to.path === 'string' || typeof to.name === 'string'))\n ) {\n // next('/') or next({ path: '/' }) -> redirect\n abort(createNavigationRedirectedError(current, route));\n if (typeof to === 'object' && to.replace) {\n this$1.replace(to);\n } else {\n this$1.push(to);\n }\n } else {\n // confirm transition and pass on the value\n next(to);\n }\n });\n } catch (e) {\n abort(e);\n }\n };\n\n runQueue(queue, iterator, function () {\n // wait until async components are resolved before\n // extracting in-component enter guards\n var enterGuards = extractEnterGuards(activated);\n var queue = enterGuards.concat(this$1.router.resolveHooks);\n runQueue(queue, iterator, function () {\n if (this$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route))\n }\n this$1.pending = null;\n onComplete(route);\n if (this$1.router.app) {\n this$1.router.app.$nextTick(function () {\n handleRouteEntered(route);\n });\n }\n });\n });\n};\n\nHistory.prototype.updateRoute = function updateRoute (route) {\n this.current = route;\n this.cb && this.cb(route);\n};\n\nHistory.prototype.setupListeners = function setupListeners () {\n // Default implementation is empty\n};\n\nHistory.prototype.teardown = function teardown () {\n // clean up event listeners\n // https://github.com/vuejs/vue-router/issues/2341\n this.listeners.forEach(function (cleanupListener) {\n cleanupListener();\n });\n this.listeners = [];\n\n // reset current history route\n // https://github.com/vuejs/vue-router/issues/3294\n this.current = START;\n this.pending = null;\n};\n\nfunction normalizeBase (base) {\n if (!base) {\n if (inBrowser) {\n // respect tag\n var baseEl = document.querySelector('base');\n base = (baseEl && baseEl.getAttribute('href')) || '/';\n // strip full URL origin\n base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n } else {\n base = '/';\n }\n }\n // make sure there's the starting slash\n if (base.charAt(0) !== '/') {\n base = '/' + base;\n }\n // remove trailing slash\n return base.replace(/\\/$/, '')\n}\n\nfunction resolveQueue (\n current,\n next\n) {\n var i;\n var max = Math.max(current.length, next.length);\n for (i = 0; i < max; i++) {\n if (current[i] !== next[i]) {\n break\n }\n }\n return {\n updated: next.slice(0, i),\n activated: next.slice(i),\n deactivated: current.slice(i)\n }\n}\n\nfunction extractGuards (\n records,\n name,\n bind,\n reverse\n) {\n var guards = flatMapComponents(records, function (def, instance, match, key) {\n var guard = extractGuard(def, name);\n if (guard) {\n return Array.isArray(guard)\n ? guard.map(function (guard) { return bind(guard, instance, match, key); })\n : bind(guard, instance, match, key)\n }\n });\n return flatten(reverse ? guards.reverse() : guards)\n}\n\nfunction extractGuard (\n def,\n key\n) {\n if (typeof def !== 'function') {\n // extend now so that global mixins are applied.\n def = _Vue.extend(def);\n }\n return def.options[key]\n}\n\nfunction extractLeaveGuards (deactivated) {\n return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true)\n}\n\nfunction extractUpdateHooks (updated) {\n return extractGuards(updated, 'beforeRouteUpdate', bindGuard)\n}\n\nfunction bindGuard (guard, instance) {\n if (instance) {\n return function boundRouteGuard () {\n return guard.apply(instance, arguments)\n }\n }\n}\n\nfunction extractEnterGuards (\n activated\n) {\n return extractGuards(\n activated,\n 'beforeRouteEnter',\n function (guard, _, match, key) {\n return bindEnterGuard(guard, match, key)\n }\n )\n}\n\nfunction bindEnterGuard (\n guard,\n match,\n key\n) {\n return function routeEnterGuard (to, from, next) {\n return guard(to, from, function (cb) {\n if (typeof cb === 'function') {\n if (!match.enteredCbs[key]) {\n match.enteredCbs[key] = [];\n }\n match.enteredCbs[key].push(cb);\n }\n next(cb);\n })\n }\n}\n\n/* */\n\nvar HTML5History = /*@__PURE__*/(function (History) {\n function HTML5History (router, base) {\n History.call(this, router, base);\n\n this._startLocation = getLocation(this.base);\n }\n\n if ( History ) HTML5History.__proto__ = History;\n HTML5History.prototype = Object.create( History && History.prototype );\n HTML5History.prototype.constructor = HTML5History;\n\n HTML5History.prototype.setupListeners = function setupListeners () {\n var this$1 = this;\n\n if (this.listeners.length > 0) {\n return\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function () {\n var current = this$1.current;\n\n // Avoiding first `popstate` event dispatched in some browsers but first\n // history route not updated since async guard at the same time.\n var location = getLocation(this$1.base);\n if (this$1.current === START && location === this$1._startLocation) {\n return\n }\n\n this$1.transitionTo(location, function (route) {\n if (supportsScroll) {\n handleScroll(router, route, current, true);\n }\n });\n };\n window.addEventListener('popstate', handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener('popstate', handleRoutingEvent);\n });\n };\n\n HTML5History.prototype.go = function go (n) {\n window.history.go(n);\n };\n\n HTML5History.prototype.push = function push (location, onComplete, onAbort) {\n var this$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.ensureURL = function ensureURL (push) {\n if (getLocation(this.base) !== this.current.fullPath) {\n var current = cleanPath(this.base + this.current.fullPath);\n push ? pushState(current) : replaceState(current);\n }\n };\n\n HTML5History.prototype.getCurrentLocation = function getCurrentLocation () {\n return getLocation(this.base)\n };\n\n return HTML5History;\n}(History));\n\nfunction getLocation (base) {\n var path = window.location.pathname;\n if (base && path.toLowerCase().indexOf(base.toLowerCase()) === 0) {\n path = path.slice(base.length);\n }\n return (path || '/') + window.location.search + window.location.hash\n}\n\n/* */\n\nvar HashHistory = /*@__PURE__*/(function (History) {\n function HashHistory (router, base, fallback) {\n History.call(this, router, base);\n // check history fallback deeplinking\n if (fallback && checkFallback(this.base)) {\n return\n }\n ensureSlash();\n }\n\n if ( History ) HashHistory.__proto__ = History;\n HashHistory.prototype = Object.create( History && History.prototype );\n HashHistory.prototype.constructor = HashHistory;\n\n // this is delayed until the app mounts\n // to avoid the hashchange listener being fired too early\n HashHistory.prototype.setupListeners = function setupListeners () {\n var this$1 = this;\n\n if (this.listeners.length > 0) {\n return\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function () {\n var current = this$1.current;\n if (!ensureSlash()) {\n return\n }\n this$1.transitionTo(getHash(), function (route) {\n if (supportsScroll) {\n handleScroll(this$1.router, route, current, true);\n }\n if (!supportsPushState) {\n replaceHash(route.fullPath);\n }\n });\n };\n var eventType = supportsPushState ? 'popstate' : 'hashchange';\n window.addEventListener(\n eventType,\n handleRoutingEvent\n );\n this.listeners.push(function () {\n window.removeEventListener(eventType, handleRoutingEvent);\n });\n };\n\n HashHistory.prototype.push = function push (location, onComplete, onAbort) {\n var this$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(\n location,\n function (route) {\n pushHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n HashHistory.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(\n location,\n function (route) {\n replaceHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n HashHistory.prototype.go = function go (n) {\n window.history.go(n);\n };\n\n HashHistory.prototype.ensureURL = function ensureURL (push) {\n var current = this.current.fullPath;\n if (getHash() !== current) {\n push ? pushHash(current) : replaceHash(current);\n }\n };\n\n HashHistory.prototype.getCurrentLocation = function getCurrentLocation () {\n return getHash()\n };\n\n return HashHistory;\n}(History));\n\nfunction checkFallback (base) {\n var location = getLocation(base);\n if (!/^\\/#/.test(location)) {\n window.location.replace(cleanPath(base + '/#' + location));\n return true\n }\n}\n\nfunction ensureSlash () {\n var path = getHash();\n if (path.charAt(0) === '/') {\n return true\n }\n replaceHash('/' + path);\n return false\n}\n\nfunction getHash () {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var index = href.indexOf('#');\n // empty path\n if (index < 0) { return '' }\n\n href = href.slice(index + 1);\n\n return href\n}\n\nfunction getUrl (path) {\n var href = window.location.href;\n var i = href.indexOf('#');\n var base = i >= 0 ? href.slice(0, i) : href;\n return (base + \"#\" + path)\n}\n\nfunction pushHash (path) {\n if (supportsPushState) {\n pushState(getUrl(path));\n } else {\n window.location.hash = path;\n }\n}\n\nfunction replaceHash (path) {\n if (supportsPushState) {\n replaceState(getUrl(path));\n } else {\n window.location.replace(getUrl(path));\n }\n}\n\n/* */\n\nvar AbstractHistory = /*@__PURE__*/(function (History) {\n function AbstractHistory (router, base) {\n History.call(this, router, base);\n this.stack = [];\n this.index = -1;\n }\n\n if ( History ) AbstractHistory.__proto__ = History;\n AbstractHistory.prototype = Object.create( History && History.prototype );\n AbstractHistory.prototype.constructor = AbstractHistory;\n\n AbstractHistory.prototype.push = function push (location, onComplete, onAbort) {\n var this$1 = this;\n\n this.transitionTo(\n location,\n function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index + 1).concat(route);\n this$1.index++;\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n AbstractHistory.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1 = this;\n\n this.transitionTo(\n location,\n function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index).concat(route);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n AbstractHistory.prototype.go = function go (n) {\n var this$1 = this;\n\n var targetIndex = this.index + n;\n if (targetIndex < 0 || targetIndex >= this.stack.length) {\n return\n }\n var route = this.stack[targetIndex];\n this.confirmTransition(\n route,\n function () {\n var prev = this$1.current;\n this$1.index = targetIndex;\n this$1.updateRoute(route);\n this$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n },\n function (err) {\n if (isNavigationFailure(err, NavigationFailureType.duplicated)) {\n this$1.index = targetIndex;\n }\n }\n );\n };\n\n AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation () {\n var current = this.stack[this.stack.length - 1];\n return current ? current.fullPath : '/'\n };\n\n AbstractHistory.prototype.ensureURL = function ensureURL () {\n // noop\n };\n\n return AbstractHistory;\n}(History));\n\n/* */\n\nvar VueRouter = function VueRouter (options) {\n if ( options === void 0 ) options = {};\n\n this.app = null;\n this.apps = [];\n this.options = options;\n this.beforeHooks = [];\n this.resolveHooks = [];\n this.afterHooks = [];\n this.matcher = createMatcher(options.routes || [], this);\n\n var mode = options.mode || 'hash';\n this.fallback =\n mode === 'history' && !supportsPushState && options.fallback !== false;\n if (this.fallback) {\n mode = 'hash';\n }\n if (!inBrowser) {\n mode = 'abstract';\n }\n this.mode = mode;\n\n switch (mode) {\n case 'history':\n this.history = new HTML5History(this, options.base);\n break\n case 'hash':\n this.history = new HashHistory(this, options.base, this.fallback);\n break\n case 'abstract':\n this.history = new AbstractHistory(this, options.base);\n break\n default:\n if (process.env.NODE_ENV !== 'production') {\n assert(false, (\"invalid mode: \" + mode));\n }\n }\n};\n\nvar prototypeAccessors = { currentRoute: { configurable: true } };\n\nVueRouter.prototype.match = function match (raw, current, redirectedFrom) {\n return this.matcher.match(raw, current, redirectedFrom)\n};\n\nprototypeAccessors.currentRoute.get = function () {\n return this.history && this.history.current\n};\n\nVueRouter.prototype.init = function init (app /* Vue component instance */) {\n var this$1 = this;\n\n process.env.NODE_ENV !== 'production' &&\n assert(\n install.installed,\n \"not installed. Make sure to call `Vue.use(VueRouter)` \" +\n \"before creating root instance.\"\n );\n\n this.apps.push(app);\n\n // set up app destroyed handler\n // https://github.com/vuejs/vue-router/issues/2639\n app.$once('hook:destroyed', function () {\n // clean out app from this.apps array once destroyed\n var index = this$1.apps.indexOf(app);\n if (index > -1) { this$1.apps.splice(index, 1); }\n // ensure we still have a main app or null if no apps\n // we do not release the router so it can be reused\n if (this$1.app === app) { this$1.app = this$1.apps[0] || null; }\n\n if (!this$1.app) { this$1.history.teardown(); }\n });\n\n // main app previously initialized\n // return as we don't need to set up new history listener\n if (this.app) {\n return\n }\n\n this.app = app;\n\n var history = this.history;\n\n if (history instanceof HTML5History || history instanceof HashHistory) {\n var handleInitialScroll = function (routeOrError) {\n var from = history.current;\n var expectScroll = this$1.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll && 'fullPath' in routeOrError) {\n handleScroll(this$1, routeOrError, from, false);\n }\n };\n var setupListeners = function (routeOrError) {\n history.setupListeners();\n handleInitialScroll(routeOrError);\n };\n history.transitionTo(\n history.getCurrentLocation(),\n setupListeners,\n setupListeners\n );\n }\n\n history.listen(function (route) {\n this$1.apps.forEach(function (app) {\n app._route = route;\n });\n });\n};\n\nVueRouter.prototype.beforeEach = function beforeEach (fn) {\n return registerHook(this.beforeHooks, fn)\n};\n\nVueRouter.prototype.beforeResolve = function beforeResolve (fn) {\n return registerHook(this.resolveHooks, fn)\n};\n\nVueRouter.prototype.afterEach = function afterEach (fn) {\n return registerHook(this.afterHooks, fn)\n};\n\nVueRouter.prototype.onReady = function onReady (cb, errorCb) {\n this.history.onReady(cb, errorCb);\n};\n\nVueRouter.prototype.onError = function onError (errorCb) {\n this.history.onError(errorCb);\n};\n\nVueRouter.prototype.push = function push (location, onComplete, onAbort) {\n var this$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1.history.push(location, resolve, reject);\n })\n } else {\n this.history.push(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1.history.replace(location, resolve, reject);\n })\n } else {\n this.history.replace(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.go = function go (n) {\n this.history.go(n);\n};\n\nVueRouter.prototype.back = function back () {\n this.go(-1);\n};\n\nVueRouter.prototype.forward = function forward () {\n this.go(1);\n};\n\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents (to) {\n var route = to\n ? to.matched\n ? to\n : this.resolve(to).route\n : this.currentRoute;\n if (!route) {\n return []\n }\n return [].concat.apply(\n [],\n route.matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return m.components[key]\n })\n })\n )\n};\n\nVueRouter.prototype.resolve = function resolve (\n to,\n current,\n append\n) {\n current = current || this.history.current;\n var location = normalizeLocation(to, current, append, this);\n var route = this.match(location, current);\n var fullPath = route.redirectedFrom || route.fullPath;\n var base = this.history.base;\n var href = createHref(base, fullPath, this.mode);\n return {\n location: location,\n route: route,\n href: href,\n // for backwards compat\n normalizedTo: location,\n resolved: route\n }\n};\n\nVueRouter.prototype.addRoutes = function addRoutes (routes) {\n this.matcher.addRoutes(routes);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nObject.defineProperties( VueRouter.prototype, prototypeAccessors );\n\nfunction registerHook (list, fn) {\n list.push(fn);\n return function () {\n var i = list.indexOf(fn);\n if (i > -1) { list.splice(i, 1); }\n }\n}\n\nfunction createHref (base, fullPath, mode) {\n var path = mode === 'hash' ? '#' + fullPath : fullPath;\n return base ? cleanPath(base + '/' + path) : path\n}\n\nVueRouter.install = install;\nVueRouter.version = '3.4.9';\nVueRouter.isNavigationFailure = isNavigationFailure;\nVueRouter.NavigationFailureType = NavigationFailureType;\n\nif (inBrowser && window.Vue) {\n window.Vue.use(VueRouter);\n}\n\nexport default VueRouter;\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","/*!\n * Vue.js v2.6.12\n * (c) 2014-2020 Evan You\n * Released under the MIT License.\n */\n/* */\n\nvar emptyObject = Object.freeze({});\n\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef (v) {\n return v === undefined || v === null\n}\n\nfunction isDef (v) {\n return v !== undefined && v !== null\n}\n\nfunction isTrue (v) {\n return v === true\n}\n\nfunction isFalse (v) {\n return v === false\n}\n\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive (value) {\n return (\n typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean'\n )\n}\n\n/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\n\nfunction toRawType (value) {\n return _toString.call(value).slice(8, -1)\n}\n\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject (obj) {\n return _toString.call(obj) === '[object Object]'\n}\n\nfunction isRegExp (v) {\n return _toString.call(v) === '[object RegExp]'\n}\n\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex (val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val)\n}\n\nfunction isPromise (val) {\n return (\n isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function'\n )\n}\n\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString (val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val)\n}\n\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber (val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n\n}\n\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap (\n str,\n expectsLowerCase\n) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase\n ? function (val) { return map[val.toLowerCase()]; }\n : function (val) { return map[val]; }\n}\n\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\n/**\n * Remove an item from an array.\n */\nfunction remove (arr, item) {\n if (arr.length) {\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1)\n }\n }\n}\n\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn (obj, key) {\n return hasOwnProperty.call(obj, key)\n}\n\n/**\n * Create a cached version of a pure function.\n */\nfunction cached (fn) {\n var cache = Object.create(null);\n return (function cachedFn (str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str))\n })\n}\n\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })\n});\n\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n});\n\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase()\n});\n\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n\n/* istanbul ignore next */\nfunction polyfillBind (fn, ctx) {\n function boundFn (a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx)\n }\n\n boundFn._length = fn.length;\n return boundFn\n}\n\nfunction nativeBind (fn, ctx) {\n return fn.bind(ctx)\n}\n\nvar bind = Function.prototype.bind\n ? nativeBind\n : polyfillBind;\n\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray (list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret\n}\n\n/**\n * Mix properties into target object.\n */\nfunction extend (to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to\n}\n\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject (arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res\n}\n\n/* eslint-disable no-unused-vars */\n\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop (a, b, c) {}\n\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n\n/* eslint-enable no-unused-vars */\n\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n\n/**\n * Generate a string containing static keys from compiler modules.\n */\nfunction genStaticKeys (modules) {\n return modules.reduce(function (keys, m) {\n return keys.concat(m.staticKeys || [])\n }, []).join(',')\n}\n\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual (a, b) {\n if (a === b) { return true }\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i])\n })\n } else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime()\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key])\n })\n } else {\n /* istanbul ignore next */\n return false\n }\n } catch (e) {\n /* istanbul ignore next */\n return false\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b)\n } else {\n return false\n }\n}\n\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf (arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val)) { return i }\n }\n return -1\n}\n\n/**\n * Ensure a function is called only once.\n */\nfunction once (fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\n\nvar ASSET_TYPES = [\n 'component',\n 'directive',\n 'filter'\n];\n\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch'\n];\n\n/* */\n\n\n\nvar config = ({\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to record perf\n */\n performance: false,\n\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n});\n\n/* */\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved (str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5F\n}\n\n/**\n * Define a property.\n */\nfunction def (obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp((\"[^\" + (unicodeRegExp.source) + \".$_\\\\d]\"));\nfunction parsePath (path) {\n if (bailRE.test(path)) {\n return\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj) { return }\n obj = obj[segments[i]];\n }\n return obj\n }\n}\n\n/* */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\nvar weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');\nvar isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\nvar isPhantomJS = UA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n\n// Firefox has a \"watch\" function on Object.prototype...\nvar nativeWatch = ({}).watch;\n\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n })); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\nvar _Set;\n/* istanbul ignore if */ // $flow-disable-line\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /*@__PURE__*/(function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\nvar warn = noop;\nvar tip = noop;\nvar generateComponentTrace = (noop); // work around flow check\nvar formatComponentName = (noop);\n\nif (process.env.NODE_ENV !== 'production') {\n var hasConsole = typeof console !== 'undefined';\n var classifyRE = /(?:^|[-_])(\\w)/g;\n var classify = function (str) { return str\n .replace(classifyRE, function (c) { return c.toUpperCase(); })\n .replace(/[-_]/g, ''); };\n\n warn = function (msg, vm) {\n var trace = vm ? generateComponentTrace(vm) : '';\n\n if (config.warnHandler) {\n config.warnHandler.call(null, msg, vm, trace);\n } else if (hasConsole && (!config.silent)) {\n console.error((\"[Vue warn]: \" + msg + trace));\n }\n };\n\n tip = function (msg, vm) {\n if (hasConsole && (!config.silent)) {\n console.warn(\"[Vue tip]: \" + msg + (\n vm ? generateComponentTrace(vm) : ''\n ));\n }\n };\n\n formatComponentName = function (vm, includeFile) {\n if (vm.$root === vm) {\n return ''\n }\n var options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm;\n var name = options.name || options._componentTag;\n var file = options.__file;\n if (!name && file) {\n var match = file.match(/([^/\\\\]+)\\.vue$/);\n name = match && match[1];\n }\n\n return (\n (name ? (\"<\" + (classify(name)) + \">\") : \"\") +\n (file && includeFile !== false ? (\" at \" + file) : '')\n )\n };\n\n var repeat = function (str, n) {\n var res = '';\n while (n) {\n if (n % 2 === 1) { res += str; }\n if (n > 1) { str += str; }\n n >>= 1;\n }\n return res\n };\n\n generateComponentTrace = function (vm) {\n if (vm._isVue && vm.$parent) {\n var tree = [];\n var currentRecursiveSequence = 0;\n while (vm) {\n if (tree.length > 0) {\n var last = tree[tree.length - 1];\n if (last.constructor === vm.constructor) {\n currentRecursiveSequence++;\n vm = vm.$parent;\n continue\n } else if (currentRecursiveSequence > 0) {\n tree[tree.length - 1] = [last, currentRecursiveSequence];\n currentRecursiveSequence = 0;\n }\n }\n tree.push(vm);\n vm = vm.$parent;\n }\n return '\\n\\nfound in\\n\\n' + tree\n .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.target) {\n Dep.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\n\nfunction pushTarget (target) {\n targetStack.push(target);\n Dep.target = target;\n}\n\nfunction popTarget () {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions,\n asyncFactory\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n};\n\nvar prototypeAccessors = { child: { configurable: true } };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function (text) {\n if ( text === void 0 ) text = '';\n\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(),\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions,\n vnode.asyncFactory\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\n\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\n\nfunction toggleObserving (value) {\n shouldObserve = value;\n}\n\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n if (hasProto) {\n protoAugment(value, arrayMethods);\n } else {\n copyAugment(value, arrayMethods, arrayKeys);\n }\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive$$1(obj, keys[i]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment a target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment a target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value) || value instanceof VNode) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n shouldObserve &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive$$1 (\n obj,\n key,\n val,\n customSetter,\n shallow\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) && arguments.length === 2) {\n val = obj[key];\n }\n\n var childOb = !shallow && observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n // #7981: for accessor properties without setter\n if (getter && !setter) { return }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot set reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive$$1(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot delete reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (process.env.NODE_ENV !== 'production') {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n\n var keys = hasSymbol\n ? Reflect.ownKeys(from)\n : Object.keys(from);\n\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n // in case the object is already observed...\n if (key === '__ob__') { continue }\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (\n toVal !== fromVal &&\n isPlainObject(toVal) &&\n isPlainObject(fromVal)\n ) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nfunction mergeDataOrFn (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n typeof childVal === 'function' ? childVal.call(this, this) : childVal,\n typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal\n )\n }\n } else {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm, vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm, vm)\n : parentVal;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n}\n\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n if (childVal && typeof childVal !== 'function') {\n process.env.NODE_ENV !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n\n return parentVal\n }\n return mergeDataOrFn(parentVal, childVal)\n }\n\n return mergeDataOrFn(parentVal, childVal, vm)\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n var res = childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal;\n return res\n ? dedupeHooks(res)\n : res\n}\n\nfunction dedupeHooks (hooks) {\n var res = [];\n for (var i = 0; i < hooks.length; i++) {\n if (res.indexOf(hooks[i]) === -1) {\n res.push(hooks[i]);\n }\n }\n return res\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (\n parentVal,\n childVal,\n vm,\n key\n) {\n var res = Object.create(parentVal || null);\n if (childVal) {\n process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\n return extend(res, childVal)\n } else {\n return res\n }\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n // work around Firefox's Object.prototype.watch...\n if (parentVal === nativeWatch) { parentVal = undefined; }\n if (childVal === nativeWatch) { childVal = undefined; }\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key$1 in childVal) {\n var parent = ret[key$1];\n var child = childVal[key$1];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key$1] = parent\n ? parent.concat(child)\n : Array.isArray(child) ? child : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.inject =\nstrats.computed = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n if (childVal && process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n if (childVal) { extend(ret, childVal); }\n return ret\n};\nstrats.provide = mergeDataOrFn;\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n validateComponentName(key);\n }\n}\n\nfunction validateComponentName (name) {\n if (!new RegExp((\"^[a-zA-Z][\\\\-\\\\.0-9_\" + (unicodeRegExp.source) + \"]*$\")).test(name)) {\n warn(\n 'Invalid component name: \"' + name + '\". Component names ' +\n 'should conform to valid custom element name in html5 specification.'\n );\n }\n if (isBuiltInTag(name) || config.isReservedTag(name)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + name\n );\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options, vm) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (process.env.NODE_ENV !== 'production') {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(props)) + \".\",\n vm\n );\n }\n options.props = res;\n}\n\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject (options, vm) {\n var inject = options.inject;\n if (!inject) { return }\n var normalized = options.inject = {};\n if (Array.isArray(inject)) {\n for (var i = 0; i < inject.length; i++) {\n normalized[inject[i]] = { from: inject[i] };\n }\n } else if (isPlainObject(inject)) {\n for (var key in inject) {\n var val = inject[key];\n normalized[key] = isPlainObject(val)\n ? extend({ from: key }, val)\n : { from: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(inject)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def$$1 = dirs[key];\n if (typeof def$$1 === 'function') {\n dirs[key] = { bind: def$$1, update: def$$1 };\n }\n }\n }\n}\n\nfunction assertObjectType (name, value, vm) {\n if (!isPlainObject(value)) {\n warn(\n \"Invalid value for option \\\"\" + name + \"\\\": expected an Object, \" +\n \"but got \" + (toRawType(value)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (process.env.NODE_ENV !== 'production') {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child, vm);\n normalizeInject(child, vm);\n normalizeDirectives(child);\n\n // Apply extends and mixins on the child options,\n // but only if it is a raw options object that isn't\n // the result of another mergeOptions call.\n // Only merged options has the _base property.\n if (!child._base) {\n if (child.extends) {\n parent = mergeOptions(parent, child.extends, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n }\n\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\n\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // boolean casting\n var booleanIndex = getTypeIndex(Boolean, prop.type);\n if (booleanIndex > -1) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (value === '' || value === hyphenate(key)) {\n // only cast empty string / same name to boolean if\n // boolean has higher priority\n var stringIndex = getTypeIndex(String, prop.type);\n if (stringIndex < 0 || booleanIndex < stringIndex) {\n value = true;\n }\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldObserve = shouldObserve;\n toggleObserving(true);\n observe(value);\n toggleObserving(prevShouldObserve);\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n // skip validation for weex recycle-list child component props\n !(false)\n ) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (process.env.NODE_ENV !== 'production' && isObject(def)) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i]);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n\n if (!valid) {\n warn(\n getInvalidTypeMessage(name, value, expectedTypes),\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\nfunction assertType (value, type) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n var t = typeof value;\n valid = t === expectedType.toLowerCase();\n // for primitive wrapper objects\n if (!valid && t === 'object') {\n valid = value instanceof type;\n }\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n valid = value instanceof type;\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ''\n}\n\nfunction isSameType (a, b) {\n return getType(a) === getType(b)\n}\n\nfunction getTypeIndex (type, expectedTypes) {\n if (!Array.isArray(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1\n }\n for (var i = 0, len = expectedTypes.length; i < len; i++) {\n if (isSameType(expectedTypes[i], type)) {\n return i\n }\n }\n return -1\n}\n\nfunction getInvalidTypeMessage (name, value, expectedTypes) {\n var message = \"Invalid prop: type check failed for prop \\\"\" + name + \"\\\".\" +\n \" Expected \" + (expectedTypes.map(capitalize).join(', '));\n var expectedType = expectedTypes[0];\n var receivedType = toRawType(value);\n var expectedValue = styleValue(value, expectedType);\n var receivedValue = styleValue(value, receivedType);\n // check if we need to specify expected value\n if (expectedTypes.length === 1 &&\n isExplicable(expectedType) &&\n !isBoolean(expectedType, receivedType)) {\n message += \" with value \" + expectedValue;\n }\n message += \", got \" + receivedType + \" \";\n // check if we need to specify received value\n if (isExplicable(receivedType)) {\n message += \"with value \" + receivedValue + \".\";\n }\n return message\n}\n\nfunction styleValue (value, type) {\n if (type === 'String') {\n return (\"\\\"\" + value + \"\\\"\")\n } else if (type === 'Number') {\n return (\"\" + (Number(value)))\n } else {\n return (\"\" + value)\n }\n}\n\nfunction isExplicable (value) {\n var explicitTypes = ['string', 'number', 'boolean'];\n return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })\n}\n\nfunction isBoolean () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\n // See: https://github.com/vuejs/vuex/issues/1505\n pushTarget();\n try {\n if (vm) {\n var cur = vm;\n while ((cur = cur.$parent)) {\n var hooks = cur.$options.errorCaptured;\n if (hooks) {\n for (var i = 0; i < hooks.length; i++) {\n try {\n var capture = hooks[i].call(cur, err, vm, info) === false;\n if (capture) { return }\n } catch (e) {\n globalHandleError(e, cur, 'errorCaptured hook');\n }\n }\n }\n }\n }\n globalHandleError(err, vm, info);\n } finally {\n popTarget();\n }\n}\n\nfunction invokeWithErrorHandling (\n handler,\n context,\n args,\n vm,\n info\n) {\n var res;\n try {\n res = args ? handler.apply(context, args) : handler.call(context);\n if (res && !res._isVue && isPromise(res) && !res._handled) {\n res.catch(function (e) { return handleError(e, vm, info + \" (Promise/async)\"); });\n // issue #9511\n // avoid catch triggering multiple times when nested calls\n res._handled = true;\n }\n } catch (e) {\n handleError(e, vm, info);\n }\n return res\n}\n\nfunction globalHandleError (err, vm, info) {\n if (config.errorHandler) {\n try {\n return config.errorHandler.call(null, err, vm, info)\n } catch (e) {\n // if the user intentionally throws the original error in the handler,\n // do not log it twice\n if (e !== err) {\n logError(e, null, 'config.errorHandler');\n }\n }\n }\n logError(err, vm, info);\n}\n\nfunction logError (err, vm, info) {\n if (process.env.NODE_ENV !== 'production') {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n}\n\n/* */\n\nvar isUsingMicroTask = false;\n\nvar callbacks = [];\nvar pending = false;\n\nfunction flushCallbacks () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n}\n\n// Here we have async deferring wrappers using microtasks.\n// In 2.5 we used (macro) tasks (in combination with microtasks).\n// However, it has subtle problems when state is changed right before repaint\n// (e.g. #6813, out-in transitions).\n// Also, using (macro) tasks in event handler would cause some weird behaviors\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\n// So we now use microtasks everywhere, again.\n// A major drawback of this tradeoff is that there are some scenarios\n// where microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690, which have workarounds)\n// or even between bubbling of the same event (#6566).\nvar timerFunc;\n\n// The nextTick behavior leverages the microtask queue, which can be accessed\n// via either native Promise.then or MutationObserver.\n// MutationObserver has wider support, however it is seriously bugged in\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n// completely stops working after triggering a few times... so, if native\n// Promise is available, we will use it:\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n timerFunc = function () {\n p.then(flushCallbacks);\n // In problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n isUsingMicroTask = true;\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n // PhantomJS and iOS 7.x\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n)) {\n // Use MutationObserver where native Promise is not available,\n // e.g. PhantomJS, iOS7, Android 4.4\n // (#6466 MutationObserver is unreliable in IE11)\n var counter = 1;\n var observer = new MutationObserver(flushCallbacks);\n var textNode = document.createTextNode(String(counter));\n observer.observe(textNode, {\n characterData: true\n });\n timerFunc = function () {\n counter = (counter + 1) % 2;\n textNode.data = String(counter);\n };\n isUsingMicroTask = true;\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n // Fallback to setImmediate.\n // Technically it leverages the (macro) task queue,\n // but it is still a better choice than setTimeout.\n timerFunc = function () {\n setImmediate(flushCallbacks);\n };\n} else {\n // Fallback to setTimeout.\n timerFunc = function () {\n setTimeout(flushCallbacks, 0);\n };\n}\n\nfunction nextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n timerFunc();\n }\n // $flow-disable-line\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve) {\n _resolve = resolve;\n })\n }\n}\n\n/* */\n\nvar mark;\nvar measure;\n\nif (process.env.NODE_ENV !== 'production') {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n // perf.clearMeasures(name)\n };\n }\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (process.env.NODE_ENV !== 'production') {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n 'referenced during render. Make sure that this property is reactive, ' +\n 'either in the data option, or for class-based components, by ' +\n 'initializing the property. ' +\n 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',\n target\n );\n };\n\n var warnReservedPrefix = function (target, key) {\n warn(\n \"Property \\\"\" + key + \"\\\" must be accessed with \\\"$data.\" + key + \"\\\" because \" +\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n 'prevent conflicts with Vue internals. ' +\n 'See: https://vuejs.org/v2/api/#data',\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' && isNative(Proxy);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) ||\n (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));\n if (!has && !isAllowed) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar seenObjects = new _Set();\n\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse (val) {\n _traverse(val, seenObjects);\n seenObjects.clear();\n}\n\nfunction _traverse (val, seen) {\n var i, keys;\n var isA = Array.isArray(val);\n if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {\n return\n }\n if (val.__ob__) {\n var depId = val.__ob__.dep.id;\n if (seen.has(depId)) {\n return\n }\n seen.add(depId);\n }\n if (isA) {\n i = val.length;\n while (i--) { _traverse(val[i], seen); }\n } else {\n keys = Object.keys(val);\n i = keys.length;\n while (i--) { _traverse(val[keys[i]], seen); }\n }\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns, vm) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments$1, vm, \"v-on handler\");\n }\n } else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\")\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n createOnceHandler,\n vm\n) {\n var name, def$$1, cur, old, event;\n for (name in on) {\n def$$1 = cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\nfunction mergeVNodeHook (def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n\n function wrappedHook () {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove(invoker.fns, wrappedHook);\n }\n\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n } else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n } else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\n/* */\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.