@arcgis/charts-components 5.1.0-next.102 → 5.1.0-next.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/cdn/{BGHKBRAY.js → 2M3QHMVT.js} +1 -1
  2. package/dist/cdn/{PECU6KQ5.js → 44WAX54V.js} +1 -1
  3. package/dist/cdn/{7RRIPRBW.js → 46FRVXGN.js} +1 -1
  4. package/dist/cdn/{2WMGX4LG.js → 4QDMPF2Z.js} +1 -1
  5. package/dist/cdn/{7BIC7WRS.js → 4QY6OX3P.js} +1 -1
  6. package/dist/cdn/535EYM2S.js +2 -0
  7. package/dist/cdn/{JP5QECNE.js → 5ICPKLCV.js} +1 -1
  8. package/dist/cdn/{BIBH7Z6B.js → 5NDSTEEP.js} +1 -1
  9. package/dist/cdn/{ETKEDYJI.js → 5SWROIFW.js} +1 -1
  10. package/dist/cdn/{QCLX4TIM.js → 62AZBWN6.js} +1 -1
  11. package/dist/cdn/6CU5NNEB.js +2 -0
  12. package/dist/cdn/{4A46GMQH.js → 6Q3U3Q2H.js} +1 -1
  13. package/dist/cdn/{2L4KRFAO.js → A3ECNKD5.js} +1 -1
  14. package/dist/cdn/AF5JNJYB.js +2 -0
  15. package/dist/cdn/AJEKA5BB.js +2 -0
  16. package/dist/cdn/{QNEGICXV.js → ANKUXKQT.js} +1 -1
  17. package/dist/cdn/{AKNI6ZDM.js → BBGJNQBF.js} +1 -1
  18. package/dist/cdn/{OXOPYUOS.js → BIJ5FJUG.js} +1 -1
  19. package/dist/cdn/{54JMGDNM.js → BTEXXB6S.js} +1 -1
  20. package/dist/cdn/{533OIYHT.js → BZX2LHXY.js} +1 -1
  21. package/dist/cdn/{VOTMKVNY.js → CFK5YLDQ.js} +1 -1
  22. package/dist/cdn/{KHK4ESCR.js → CGCD4ZJD.js} +1 -1
  23. package/dist/cdn/{GCLBISUU.js → CKH3BOED.js} +1 -1
  24. package/dist/cdn/{KZQPT32K.js → CMNWBPPD.js} +1 -1
  25. package/dist/cdn/{KDU3ISRJ.js → CYE4O6RG.js} +1 -1
  26. package/dist/cdn/{GG4V6IWC.js → DDBIFHQ7.js} +1 -1
  27. package/dist/cdn/{PE5WVBYF.js → DG75GFE6.js} +1 -1
  28. package/dist/cdn/E45G67GV.js +2 -0
  29. package/dist/cdn/{PSDHB4WG.js → EEHJJR7J.js} +1 -1
  30. package/dist/cdn/{3NHSJC2V.js → EP2F4RUL.js} +1 -1
  31. package/dist/cdn/{ZAKAJKUI.js → ER7YWWC3.js} +1 -1
  32. package/dist/cdn/{LTPICGE4.js → EYWFMAWS.js} +1 -1
  33. package/dist/cdn/FJJG6LPW.js +2 -0
  34. package/dist/cdn/{FTTFIYT7.js → FN5G5OOX.js} +1 -1
  35. package/dist/cdn/{FSPMT24F.js → GAFM4W2B.js} +1 -1
  36. package/dist/cdn/GIHLPFOY.js +2 -0
  37. package/dist/cdn/{M6AWZ4GQ.js → GRNTZDIK.js} +1 -1
  38. package/dist/cdn/{V3TCGIPS.js → H3TCGWEI.js} +1 -1
  39. package/dist/cdn/H63HCQMI.js +2 -0
  40. package/dist/cdn/{J34XNLVV.js → H6LVCGA4.js} +1 -1
  41. package/dist/cdn/{DQOPCAYH.js → H6TOBMQF.js} +1 -1
  42. package/dist/cdn/{JIJTDQNZ.js → HEYOWQCI.js} +1 -1
  43. package/dist/cdn/{B5DED64I.js → HMDNWF2T.js} +1 -1
  44. package/dist/cdn/I7H423CV.js +2 -0
  45. package/dist/cdn/{TQG6RDX5.js → IDQW4OK4.js} +1 -1
  46. package/dist/cdn/IJUUEUTT.js +2 -0
  47. package/dist/cdn/{GN55TJMJ.js → INB2MMTY.js} +1 -1
  48. package/dist/cdn/{3TYKSX6S.js → JEF5BVP6.js} +1 -1
  49. package/dist/cdn/{NLPIWZ6O.js → JEM2CP4Y.js} +1 -1
  50. package/dist/cdn/{4AP7OF2H.js → JHGTT4HB.js} +1 -1
  51. package/dist/cdn/{HZLHE35F.js → JUJS6BOX.js} +1 -1
  52. package/dist/cdn/JYGAEK3T.js +2 -0
  53. package/dist/cdn/K2C6GCAV.js +55 -0
  54. package/dist/cdn/{N72JHWOW.js → K4LPGEHO.js} +1 -1
  55. package/dist/cdn/K7V2MBUM.js +7 -0
  56. package/dist/cdn/{LRLFI235.js → KRVRR3HB.js} +1 -1
  57. package/dist/cdn/{OM2N4R7B.js → KVDSHZQG.js} +1 -1
  58. package/dist/cdn/{TNXVGUYE.js → KZCTSDC2.js} +1 -1
  59. package/dist/cdn/{CBAUBDVW.js → L5JTMR43.js} +1 -1
  60. package/dist/cdn/LHTFQV7O.js +2 -0
  61. package/dist/cdn/LLANAZ4Q.js +2 -0
  62. package/dist/cdn/{GR2MDXNR.js → MQO74O3S.js} +1 -1
  63. package/dist/cdn/{ZIAGMMWU.js → MXZL7L2M.js} +1 -1
  64. package/dist/cdn/{R2R6BF6O.js → N7JN65PM.js} +1 -1
  65. package/dist/cdn/{OGYHFMDK.js → NWPL6PSS.js} +1 -1
  66. package/dist/cdn/{JII3X6GD.js → OGGI5CEA.js} +1 -1
  67. package/dist/cdn/{L5ESAQAD.js → P67VCX5W.js} +1 -1
  68. package/dist/cdn/{NJOCWENE.js → PYKI26OB.js} +1 -1
  69. package/dist/cdn/{GSIQ3AM5.js → QK3GTNUN.js} +4 -4
  70. package/dist/cdn/{TCJ5YAK5.js → QKGJQWIQ.js} +1 -1
  71. package/dist/cdn/{QQNMK2QL.js → RKJFPB3U.js} +1 -1
  72. package/dist/cdn/{UOUARC5O.js → S35W77ES.js} +1 -1
  73. package/dist/cdn/{ZNOJBKUZ.js → SM3SJU22.js} +1 -1
  74. package/dist/cdn/{3LHIBPWU.js → SPUI6X3I.js} +1 -1
  75. package/dist/cdn/{QCNYOXG2.js → SRHPUOHT.js} +1 -1
  76. package/dist/cdn/{Y4DORYPQ.js → TTJJB2VV.js} +1 -1
  77. package/dist/cdn/{ABRBND33.js → UH2EHXZV.js} +1 -1
  78. package/dist/cdn/{XEDWXXF3.js → UKJA76JU.js} +1 -1
  79. package/dist/cdn/{DOKKZWPP.js → VB6ZKRJB.js} +1 -1
  80. package/dist/cdn/{JQAYCBRF.js → VTQOCGLJ.js} +1 -1
  81. package/dist/cdn/{BYMLWT4F.js → W2GLPAXC.js} +1 -1
  82. package/dist/cdn/{SCVQSDX5.js → WJNLW2T7.js} +1 -1
  83. package/dist/cdn/{SXLPETPI.js → WR7AZUEI.js} +1 -1
  84. package/dist/cdn/{WMLNHOVN.js → WV47SKDM.js} +1 -1
  85. package/dist/cdn/{N3QESBWD.js → XLSZ2F32.js} +1 -1
  86. package/dist/cdn/{C6VFUQYR.js → XTNNL4PR.js} +1 -1
  87. package/dist/cdn/{6WQO34EX.js → Y26KONXO.js} +1 -1
  88. package/dist/cdn/{437PRHGP.js → Z3XJ2MY2.js} +1 -1
  89. package/dist/cdn/{FXE7IJTK.js → ZAF4OPMM.js} +1 -1
  90. package/dist/cdn/{7JYYEL7C.js → ZYA35QY2.js} +1 -1
  91. package/dist/cdn/index.js +1 -1
  92. package/dist/chunks/bar-chart-model.js +8 -8
  93. package/dist/chunks/bar-chart-series.js +6 -6
  94. package/dist/chunks/box-plot-data.js +34 -32
  95. package/dist/chunks/box-plot-model.js +115 -107
  96. package/dist/chunks/chart-model.js +7 -7
  97. package/dist/chunks/chart-ui-utils2.js +4 -4
  98. package/dist/chunks/data-labels-visibility.js +5 -5
  99. package/dist/chunks/data.js +11 -11
  100. package/dist/chunks/gauge-model.js +6 -6
  101. package/dist/chunks/generate-x-axis-title.js +5 -5
  102. package/dist/chunks/heat-chart-model.js +9 -9
  103. package/dist/chunks/histogram-data.js +5 -5
  104. package/dist/chunks/index.js +5565 -5489
  105. package/dist/chunks/index2.js +1 -1
  106. package/dist/chunks/interfaces.js +5 -5
  107. package/dist/chunks/line-chart-model.js +23 -23
  108. package/dist/chunks/model-setter.js +35 -34
  109. package/dist/chunks/model-with-y-guides.js +5 -5
  110. package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
  111. package/dist/chunks/pie-chart-data.js +15 -15
  112. package/dist/chunks/pie-chart-model.js +42 -41
  113. package/dist/chunks/radar-chart-model.js +7 -7
  114. package/dist/chunks/rotated-state.js +5 -5
  115. package/dist/chunks/scatterplot-model.js +6 -6
  116. package/dist/chunks/serial-chart-data.js +334 -320
  117. package/dist/chunks/serial-chart-model.js +148 -139
  118. package/dist/chunks/series-length.js +11 -11
  119. package/dist/chunks/series.js +6 -6
  120. package/dist/chunks/setup-utils.js +26 -25
  121. package/dist/chunks/time-zone.js +1 -1
  122. package/dist/chunks/type-guards2.js +20 -19
  123. package/dist/chunks/utils.js +108 -105
  124. package/dist/chunks/utils2.js +6 -6
  125. package/dist/chunks/web-component-utils.js +6816 -436
  126. package/dist/chunks/x-bounds.js +5 -5
  127. package/dist/components/arcgis-chart/customElement.d.ts +1 -0
  128. package/dist/components/arcgis-chart/customElement.js +9585 -15607
  129. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  130. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -6
  131. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +7 -7
  132. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
  133. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +7 -7
  134. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +6 -6
  135. package/dist/components/arcgis-charts-config-box-plot/customElement.js +6 -6
  136. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -5
  137. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +4 -4
  138. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +6 -6
  139. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +6 -6
  140. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +6 -6
  141. package/dist/components/arcgis-charts-config-create-flow/customElement.js +3 -2
  142. package/dist/components/arcgis-charts-config-font-style/customElement.js +6 -6
  143. package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
  144. package/dist/components/arcgis-charts-config-format-popover/customElement.js +6 -6
  145. package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
  146. package/dist/components/arcgis-charts-config-guide/customElement.js +11 -11
  147. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +5 -5
  148. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +6 -6
  149. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +6 -6
  150. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +6 -6
  151. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +6 -6
  152. package/dist/components/arcgis-charts-config-histogram/customElement.js +6 -6
  153. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +6 -6
  154. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -4
  155. package/dist/components/arcgis-charts-config-line-chart/customElement.js +6 -6
  156. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -4
  157. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +4 -4
  158. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  159. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -6
  160. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +6 -6
  161. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
  162. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
  163. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  164. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +6 -6
  165. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -6
  166. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +5 -5
  167. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -4
  168. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +6 -6
  169. package/dist/components/arcgis-charts-config-view-charts/customElement.js +6 -6
  170. package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
  171. package/dist/docs/api.json +1 -1
  172. package/dist/docs/docs.json +1 -1
  173. package/dist/docs/vscode.html-custom-data.json +1 -1
  174. package/dist/docs/web-types.json +1 -1
  175. package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
  176. package/dist/model/chart-model/chart-model-base.d.ts +2 -2
  177. package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
  178. package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
  179. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
  180. package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
  181. package/dist/model/shared/setup-utils.d.ts +5 -2
  182. package/dist/utils/data/categorical-data/index.d.ts +3 -1
  183. package/dist/utils/data/index.d.ts +3 -3
  184. package/dist/utils/layer/query-features/index.d.ts +6 -0
  185. package/package.json +3 -3
  186. package/dist/cdn/BVLDD7VH.js +0 -2
  187. package/dist/cdn/D4THJNNH.js +0 -2
  188. package/dist/cdn/EYGUUZ64.js +0 -58
  189. package/dist/cdn/FPOY54UW.js +0 -2
  190. package/dist/cdn/FRTL3JKO.js +0 -2
  191. package/dist/cdn/HRWT2MVN.js +0 -2
  192. package/dist/cdn/JXUQXIWS.js +0 -2
  193. package/dist/cdn/KJXMX3GJ.js +0 -2
  194. package/dist/cdn/OG6XNLNH.js +0 -2
  195. package/dist/cdn/SN4BIMRO.js +0 -2
  196. package/dist/cdn/VFNQXIXU.js +0 -2
  197. package/dist/cdn/W553UCBH.js +0 -4
  198. package/dist/cdn/WTPRSRPB.js +0 -2
  199. package/dist/cdn/XOY4K5NH.js +0 -2
  200. package/dist/cdn/YEOSKZ4Q.js +0 -2
@@ -0,0 +1,7 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{a as Dt}from"./QVD6LHQ2.js";import p from"./4QDMPF2Z.js";import o from"./K2C6GCAV.js";import n from"./AJEKA5BB.js";import{c as Nc,e as nn,f as Vc,g as Pc,h as Gc,i as Ys,j as pa}from"./S5OM65RV.js";import{a as ZB,g as JB}from"./7BDNLABD.js";import m from"./H6TOBMQF.js";import{a as og}from"./FPDW4F45.js";import{a as _c}from"./4QCCCXMK.js";import l from"./BBGJNQBF.js";import k from"./K4LPGEHO.js";import j from"./H63HCQMI.js";import i from"./S35W77ES.js";import h from"./JYGAEK3T.js";import g from"./46FRVXGN.js";import f from"./XTNNL4PR.js";import e from"./UH2EHXZV.js";import d from"./XLSZ2F32.js";import c from"./GIHLPFOY.js";import b from"./535EYM2S.js";import{p as ic,q as lg,r as Hs,s as cg,t as Za}from"./KYO65OVO.js";import a from"./QK3GTNUN.js";import{g as Me,h as Ze,k as or,l as _i,t as Ql,v as Sl,w as sf,x as ds,y as GA}from"./URX6VCYJ.js";import{a as Kh,b as Nh,c as ul,g as sr}from"./6ES4YKXX.js";import{a as YB}from"./IJUUEUTT.js";import{d as zt,e as GB,f as WB,g as zB,h as Rc,n as Kc,t as XB}from"./T5RPAQYI.js";import"./EZM4ZDQI.js";import{a as I,b as rf,e as ne,f as Be,h as ls,j as vl,k as me,l as cs,n as Fl,p as ee,q as af,r as dr,u as xl,y as xA,z as nf}from"./ETLJKITO.js";import{A as Dh,B as Mh,G as _h,H as Rh,g as Hh,h as Th,i as Jr,l as Oh,n as Ge,y as kh,z as dl}from"./GDFOZNYR.js";import{a as _a,b as Lh,d as Eh}from"./QPIMTXPL.js";export default $arcgis.t(([it,{substitute:to},Zc,,,,,,,,,,,,,,,,,,,,{$a:bi,$b:Vl,$d:Es,Ab:gf,Ad:Jl,B:gr,Bb:ti,Bd:Wf,C:gs,Cd:zf,D:pi,Db:Bf,Dd:Xf,Fb:we,Fd:Ya,G:Pa,Gd:ql,H:Aa,Hc:Gl,Hd:Yf,Ib:mf,Ic:Nt,Id:Zf,Ja:Dl,Jb:Re,Jd:Jf,Kc:Ss,Kd:qf,Ld:jf,Md:$f,Nd:Ag,Ob:ys,Oc:Qf,Od:eg,Qa:se,Qb:vs,Qd:Is,Ra:AA,Rb:pf,Rd:Vt,Sb:Nl,Sc:Wl,Sd:sa,Tb:Fs,Td:Fe,U:Ga,Ua:Ml,Vb:Cf,Vd:oa,Wa:Ci,Wb:wf,X:Hl,Xa:ms,Xb:ea,Xc:zl,Xd:tg,Ya:_l,Yb:xs,Yd:ig,Z:cf,Za:wi,Zb:bf,Zd:jl,_a:Br,_b:ii,_c:Sf,_d:Ls,ab:Rl,ac:WA,ae:rg,ba:Bs,bb:df,bd:aa,be:ag,c:ur,ca:Tl,cb:Wa,cc:_t,cd:Us,ce:ng,d:hr,da:Ol,db:mt,dc:ta,eb:mr,ec:yf,ed:MA,ee:$l,fb:ps,fd:Xl,fe:sg,gc:pt,gd:na,ge:Ac,h:us,hb:uf,hc:vf,hd:Uf,he:wr,i:of,ib:hf,ic:Rt,id:If,j:Ri,jb:ff,jc:ia,jd:Lf,je:ec,k:Bt,kb:Cs,kc:Xa,kd:Ef,l:fr,lb:Mt,lc:Pl,ld:Hf,m:$r,ma:kl,mc:Qs,md:Tf,n:Ai,nb:ws,nd:Of,ne:tc,o:Ul,ob:Ki,oc:Cr,od:kf,oe:la,p:mi,pb:yi,pc:Kt,pd:Df,q:hs,qd:Mf,r:Il,rd:_f,s:RA,sb:Kl,sd:Rf,t:fs,tb:bs,tc:Ff,td:Yl,ub:bA,ud:Kf,v:Ll,vb:Le,vd:Nf,wb:pr,wc:xf,wd:Vf,x:lf,xb:je,xc:ra,xd:Zl,y:El,yb:za,yd:Pf,zb:ei,zd:Gf},,,,,,,{a:dg,b:ug,c:hg,d:fg,e:rc,f:ac,g:gg,h:Bg},{a:PB},,,,{b:Am,r:Wc},{b:qB,c:jB,e:$B},{$:Af,$a:Vg,$b:QA,$c:SB,A:as,Aa:Hg,Ab:vr,Ac:Ur,Ad:Xi,B:ae,Ba:qa,Bb:$a,Bc:ma,Bd:Oc,C:Na,Ca:Ee,Cb:Fr,Cc:hB,Cd:Ws,D:he,Da:Tg,Db:dc,Dc:fB,Dd:kc,E:lt,Ea:Og,Eb:Yg,Ec:gB,Ed:RB,F:cr,Fa:de,Fb:Zg,Fc:BB,Fd:zs,G:_e,Ga:At,Gb:ga,Gc:Ir,Gd:Hr,H:jt,Ha:xe,Hb:Jg,Hc:Lr,Hd:KB,I:ZA,Ia:kg,Ib:qg,Ic:yt,Id:Xs,J:jr,Ja:dt,Jb:Rs,Jc:en,Jd:NB,K:Ae,Ka:ri,Kb:Ks,Kc:Ps,Kd:rn,L:ns,La:br,Lb:Ns,Lc:et,Ld:an,M:Va,Ma:ua,Mb:jA,Mc:mB,N:Zh,Na:Pt,Nb:zA,Nc:tn,O:tt,Oa:Dg,Ob:jg,Oc:pB,Od:Dc,P:Jh,Pa:Vi,Pb:$g,Pc:Cc,Pd:Mc,Q:$t,Qa:yr,Qb:uc,Qc:wc,Qd:VB,R:gt,Ra:Gt,Rb:Ba,Rc:CB,S:fe,Sa:Mg,Sb:AB,Sc:wB,T:ss,Ta:Os,Tb:Ht,Tc:bB,U:Ie,Ua:vi,Ub:hc,Uc:yB,V:qh,Va:_g,Vb:eB,Vc:vB,W:Ce,Wa:ks,Wb:tB,Wc:FB,X:ct,Xa:Ct,Xb:We,Xc:bc,Y:jh,Ya:Rg,Yb:iB,Yc:Gs,Z:yl,Za:Kg,Zb:rB,Zc:xB,_:$h,_a:Ng,_b:Oe,_c:QB,a:Ra,aa:os,ab:$,ac:bt,ad:yc,b:Je,ba:ef,bb:TA,bc:ai,bd:vc,c:qe,ca:tf,cb:He,cc:xr,cd:Fc,d:Vh,da:$e,db:Et,dc:xi,dd:xc,e:Ph,ea:mg,eb:Te,ec:Qr,ed:Qc,f:hl,fa:Ts,fb:Qe,fc:Vs,fd:Sc,g:fl,ga:Ja,gb:Pg,gc:ut,gd:Uc,h:qr,ha:pg,hb:be,hc:fc,hd:Ic,i:Gh,ia:Cg,ib:Fi,ic:aB,id:UB,j:Lt,ja:ca,jb:JA,jc:nB,jd:Lc,k:gl,ka:Ni,kb:Gg,kc:sB,kd:Ec,l:Bl,la:wg,lb:Wg,lc:gc,ld:Hc,m:is,ma:bg,mb:Ds,mc:oB,md:IB,n:Wh,na:yg,nb:ge,nc:lB,nd:LB,o:Ka,oa:nc,ob:wt,oc:cB,od:EB,p:zh,pa:vg,pb:ha,pc:dB,pd:HB,q:ml,qa:Fg,qb:oc,qc:Pi,qd:Tc,r:Xh,ra:xg,rb:R,rc:Wt,rd:Qi,s:pl,sa:da,sb:lc,sc:Gi,sd:TB,t:Cl,ta:Qg,tb:fa,tc:Sr,td:OB,u:Bi,ua:Sg,ub:zg,uc:Bc,ud:kB,v:Yh,va:sc,vb:cc,vc:mc,vd:DB,w:wl,wa:Ug,wb:Xg,wc:pc,wd:MB,x:bl,xa:Ig,xb:ja,xc:uB,xd:_B,y:rs,ya:Lg,yb:Ms,yc:An,yd:Er,z:lr,za:Eg,zb:_s,zc:Wi,zd:zi},{f:em,h:tm}])=>{var am=Lh((zc,Xc)=>{(function(e,A){typeof zc=="object"&&typeof Xc<"u"?Xc.exports=A():typeof define=="function"&&define.amd?define(A):(e=typeof globalThis<"u"?globalThis:e||self,e.html2canvas=A())})(zc,(function(){"use strict";var e=function(l,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var C in c)Object.prototype.hasOwnProperty.call(c,C)&&(d[C]=c[C])},e(l,s)};function A(l,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");e(l,s);function d(){this.constructor=l}l.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}var t=function(){return t=Object.assign||function(s){for(var d,c=1,C=arguments.length;c<C;c++){d=arguments[c];for(var y in d)Object.prototype.hasOwnProperty.call(d,y)&&(s[y]=d[y])}return s},t.apply(this,arguments)};function i(l,s,d,c){function C(y){return y instanceof d?y:new d(function(U){U(y)})}return new(d||(d=Promise))(function(y,U){function T(V){try{N(c.next(V))}catch(Y){U(Y)}}function H(V){try{N(c.throw(V))}catch(Y){U(Y)}}function N(V){V.done?y(V.value):C(V.value).then(T,H)}N((c=c.apply(l,s||[])).next())})}function r(l,s){var d={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},c,C,y,U;return U={next:T(0),throw:T(1),return:T(2)},typeof Symbol=="function"&&(U[Symbol.iterator]=function(){return this}),U;function T(N){return function(V){return H([N,V])}}function H(N){if(c)throw new TypeError("Generator is already executing.");for(;d;)try{if(c=1,C&&(y=N[0]&2?C.return:N[0]?C.throw||((y=C.return)&&y.call(C),0):C.next)&&!(y=y.call(C,N[1])).done)return y;switch(C=0,y&&(N=[N[0]&2,y.value]),N[0]){case 0:case 1:y=N;break;case 4:return d.label++,{value:N[1],done:!1};case 5:d.label++,C=N[1],N=[0];continue;case 7:N=d.ops.pop(),d.trys.pop();continue;default:if(y=d.trys,!(y=y.length>0&&y[y.length-1])&&(N[0]===6||N[0]===2)){d=0;continue}if(N[0]===3&&(!y||N[1]>y[0]&&N[1]<y[3])){d.label=N[1];break}if(N[0]===6&&d.label<y[1]){d.label=y[1],y=N;break}if(y&&d.label<y[2]){d.label=y[2],d.ops.push(N);break}y[2]&&d.ops.pop(),d.trys.pop();continue}N=s.call(l,d)}catch(V){N=[6,V],C=0}finally{c=y=0}if(N[0]&5)throw N[1];return{value:N[0]?N[1]:void 0,done:!0}}}function a(l,s,d){if(d||arguments.length===2)for(var c=0,C=s.length,y;c<C;c++)(y||!(c in s))&&(y||(y=Array.prototype.slice.call(s,0,c)),y[c]=s[c]);return l.concat(y||s)}for(var n=(function(){function l(s,d,c,C){this.left=s,this.top=d,this.width=c,this.height=C}return l.prototype.add=function(s,d,c,C){return new l(this.left+s,this.top+d,this.width+c,this.height+C)},l.fromClientRect=function(s,d){return new l(d.left+s.windowBounds.left,d.top+s.windowBounds.top,d.width,d.height)},l.fromDOMRectList=function(s,d){var c=Array.from(d).find(function(C){return C.width!==0});return c?new l(c.left+s.windowBounds.left,c.top+s.windowBounds.top,c.width,c.height):l.EMPTY},l.EMPTY=new l(0,0,0,0),l})(),o=function(l,s){return n.fromClientRect(l,s.getBoundingClientRect())},u=function(l){var s=l.body,d=l.documentElement;if(!s||!d)throw new Error("Unable to get document size");var c=Math.max(Math.max(s.scrollWidth,d.scrollWidth),Math.max(s.offsetWidth,d.offsetWidth),Math.max(s.clientWidth,d.clientWidth)),C=Math.max(Math.max(s.scrollHeight,d.scrollHeight),Math.max(s.offsetHeight,d.offsetHeight),Math.max(s.clientHeight,d.clientHeight));return new n(0,0,c,C)},h=function(l){for(var s=[],d=0,c=l.length;d<c;){var C=l.charCodeAt(d++);if(C>=55296&&C<=56319&&d<c){var y=l.charCodeAt(d++);(y&64512)===56320?s.push(((C&1023)<<10)+(y&1023)+65536):(s.push(C),d--)}else s.push(C)}return s},g=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];if(String.fromCodePoint)return String.fromCodePoint.apply(String,l);var d=l.length;if(!d)return"";for(var c=[],C=-1,y="";++C<d;){var U=l[C];U<=65535?c.push(U):(U-=65536,c.push((U>>10)+55296,U%1024+56320)),(C+1===d||c.length>16384)&&(y+=String.fromCharCode.apply(String,c),c.length=0)}return y},f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=typeof Uint8Array>"u"?[]:new Uint8Array(256),B=0;B<f.length;B++)m[f.charCodeAt(B)]=B;for(var w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=typeof Uint8Array>"u"?[]:new Uint8Array(256),b=0;b<w.length;b++)p[w.charCodeAt(b)]=b;for(var v=function(l){var s=l.length*.75,d=l.length,c,C=0,y,U,T,H;l[l.length-1]==="="&&(s--,l[l.length-2]==="="&&s--);var N=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(s):new Array(s),V=Array.isArray(N)?N:new Uint8Array(N);for(c=0;c<d;c+=4)y=p[l.charCodeAt(c)],U=p[l.charCodeAt(c+1)],T=p[l.charCodeAt(c+2)],H=p[l.charCodeAt(c+3)],V[C++]=y<<2|U>>4,V[C++]=(U&15)<<4|T>>2,V[C++]=(T&3)<<6|H&63;return N},S=function(l){for(var s=l.length,d=[],c=0;c<s;c+=2)d.push(l[c+1]<<8|l[c]);return d},Q=function(l){for(var s=l.length,d=[],c=0;c<s;c+=4)d.push(l[c+3]<<24|l[c+2]<<16|l[c+1]<<8|l[c]);return d},L=5,D=11,_=2,k=D-L,P=65536>>L,j=1<<L,E=j-1,K=1024>>L,F=P+K,W=F,aA=32,J=W+aA,dA=65536>>D,eA=1<<k,hA=eA-1,X=function(l,s,d){return l.slice?l.slice(s,d):new Uint16Array(Array.prototype.slice.call(l,s,d))},z=function(l,s,d){return l.slice?l.slice(s,d):new Uint32Array(Array.prototype.slice.call(l,s,d))},gA=function(l,s){var d=v(l),c=Array.isArray(d)?Q(d):new Uint32Array(d),C=Array.isArray(d)?S(d):new Uint16Array(d),y=24,U=X(C,y/2,c[4]/2),T=c[5]===2?X(C,(y+c[4])/2):z(c,Math.ceil((y+c[4])/4));return new lA(c[0],c[1],c[2],c[3],U,T)},lA=(function(){function l(s,d,c,C,y,U){this.initialValue=s,this.errorValue=d,this.highStart=c,this.highValueIndex=C,this.index=y,this.data=U}return l.prototype.get=function(s){var d;if(s>=0){if(s<55296||s>56319&&s<=65535)return d=this.index[s>>L],d=(d<<_)+(s&E),this.data[d];if(s<=65535)return d=this.index[P+(s-55296>>L)],d=(d<<_)+(s&E),this.data[d];if(s<this.highStart)return d=J-dA+(s>>D),d=this.index[d],d+=s>>L&hA,d=this.index[d],d=(d<<_)+(s&E),this.data[d];if(s<=1114111)return this.data[this.highValueIndex]}return this.errorValue},l})(),iA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",UA=typeof Uint8Array>"u"?[]:new Uint8Array(256),HA=0;HA<iA.length;HA++)UA[iA.charCodeAt(HA)]=HA;var IA="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",OA=50,ce=1,$A=2,Se=3,Ke=4,x=5,rA=7,q=8,M=9,O=10,G=11,nA=12,sA=13,Z=14,cA=15,CA=16,uA=17,SA=18,te=19,_A=20,ze=21,Ot=22,rt=23,xt=24,NA=25,Xt=26,oi=27,Xe=28,pn=29,li=30,xo=31,_r=32,$i=33,ci=34,Si=35,Qo=36,ya=37,So=38,Cn=39,wn=40,Uo=41,Nd=42,gC=43,BC=[9001,65288],Vd="!",KA="\xD7",bn="\xF7",Io=gA(IA),di=[li,Qo],Lo=[ce,$A,Se,x],Pd=[O,q],Gd=[oi,Xt],mC=Lo.concat(Pd),Wd=[So,Cn,wn,ci,Si],pC=[cA,sA],CC=function(l,s){s===void 0&&(s="strict");var d=[],c=[],C=[];return l.forEach(function(y,U){var T=Io.get(y);if(T>OA?(C.push(!0),T-=OA):C.push(!1),["normal","auto","loose"].indexOf(s)!==-1&&[8208,8211,12316,12448].indexOf(y)!==-1)return c.push(U),d.push(CA);if(T===Ke||T===G){if(U===0)return c.push(U),d.push(li);var H=d[U-1];return mC.indexOf(H)===-1?(c.push(c[U-1]),d.push(H)):(c.push(U),d.push(li))}if(c.push(U),T===xo)return d.push(s==="strict"?ze:ya);if(T===Nd||T===pn)return d.push(li);if(T===gC)return y>=131072&&y<=196605||y>=196608&&y<=262141?d.push(ya):d.push(li);d.push(T)}),[c,d,C]},Eo=function(l,s,d,c){var C=c[d];if(Array.isArray(l)?l.indexOf(C)!==-1:l===C)for(var y=d;y<=c.length;){y++;var U=c[y];if(U===s)return!0;if(U!==O)break}if(C===O)for(var y=d;y>0;){y--;var T=c[y];if(Array.isArray(l)?l.indexOf(T)!==-1:l===T)for(var H=d;H<=c.length;){H++;var U=c[H];if(U===s)return!0;if(U!==O)break}if(T!==O)break}return!1},zd=function(l,s){for(var d=l;d>=0;){var c=s[d];if(c===O)d--;else return c}return 0},wC=function(l,s,d,c,C){if(d[c]===0)return KA;var y=c-1;if(Array.isArray(C)&&C[y]===!0)return KA;var U=y-1,T=y+1,H=s[y],N=U>=0?s[U]:0,V=s[T];if(H===$A&&V===Se)return KA;if(Lo.indexOf(H)!==-1)return Vd;if(Lo.indexOf(V)!==-1||Pd.indexOf(V)!==-1)return KA;if(zd(y,s)===q)return bn;if(Io.get(l[y])===G||(H===_r||H===$i)&&Io.get(l[T])===G||H===rA||V===rA||H===M||[O,sA,cA].indexOf(H)===-1&&V===M||[uA,SA,te,xt,Xe].indexOf(V)!==-1||zd(y,s)===Ot||Eo(rt,Ot,y,s)||Eo([uA,SA],ze,y,s)||Eo(nA,nA,y,s))return KA;if(H===O)return bn;if(H===rt||V===rt)return KA;if(V===CA||H===CA)return bn;if([sA,cA,ze].indexOf(V)!==-1||H===Z||N===Qo&&pC.indexOf(H)!==-1||H===Xe&&V===Qo||V===_A||di.indexOf(V)!==-1&&H===NA||di.indexOf(H)!==-1&&V===NA||H===oi&&[ya,_r,$i].indexOf(V)!==-1||[ya,_r,$i].indexOf(H)!==-1&&V===Xt||di.indexOf(H)!==-1&&Gd.indexOf(V)!==-1||Gd.indexOf(H)!==-1&&di.indexOf(V)!==-1||[oi,Xt].indexOf(H)!==-1&&(V===NA||[Ot,cA].indexOf(V)!==-1&&s[T+1]===NA)||[Ot,cA].indexOf(H)!==-1&&V===NA||H===NA&&[NA,Xe,xt].indexOf(V)!==-1)return KA;if([NA,Xe,xt,uA,SA].indexOf(V)!==-1)for(var Y=y;Y>=0;){var tA=s[Y];if(tA===NA)return KA;if([Xe,xt].indexOf(tA)!==-1)Y--;else break}if([oi,Xt].indexOf(V)!==-1)for(var Y=[uA,SA].indexOf(H)!==-1?U:y;Y>=0;){var tA=s[Y];if(tA===NA)return KA;if([Xe,xt].indexOf(tA)!==-1)Y--;else break}if(So===H&&[So,Cn,ci,Si].indexOf(V)!==-1||[Cn,ci].indexOf(H)!==-1&&[Cn,wn].indexOf(V)!==-1||[wn,Si].indexOf(H)!==-1&&V===wn||Wd.indexOf(H)!==-1&&[_A,Xt].indexOf(V)!==-1||Wd.indexOf(V)!==-1&&H===oi||di.indexOf(H)!==-1&&di.indexOf(V)!==-1||H===xt&&di.indexOf(V)!==-1||di.concat(NA).indexOf(H)!==-1&&V===Ot&&BC.indexOf(l[T])===-1||di.concat(NA).indexOf(V)!==-1&&H===SA)return KA;if(H===Uo&&V===Uo){for(var wA=d[y],fA=1;wA>0&&(wA--,s[wA]===Uo);)fA++;if(fA%2!==0)return KA}return H===_r&&V===$i?KA:bn},bC=function(l,s){s||(s={lineBreak:"normal",wordBreak:"normal"});var d=CC(l,s.lineBreak),c=d[0],C=d[1],y=d[2];(s.wordBreak==="break-all"||s.wordBreak==="break-word")&&(C=C.map(function(T){return[NA,li,Nd].indexOf(T)!==-1?ya:T}));var U=s.wordBreak==="keep-all"?y.map(function(T,H){return T&&l[H]>=19968&&l[H]<=40959}):void 0;return[c,C,U]},yC=(function(){function l(s,d,c,C){this.codePoints=s,this.required=d===Vd,this.start=c,this.end=C}return l.prototype.slice=function(){return g.apply(void 0,this.codePoints.slice(this.start,this.end))},l})(),vC=function(l,s){var d=h(l),c=bC(d,s),C=c[0],y=c[1],U=c[2],T=d.length,H=0,N=0;return{next:function(){if(N>=T)return{done:!0,value:null};for(var V=KA;N<T&&(V=wC(d,y,C,++N,U))===KA;);if(V!==KA||N===T){var Y=new yC(d,V,H,N);return H=N,{value:Y,done:!1}}return{done:!0,value:null}}}},FC=1,xC=2,va=4,Xd=8,yn=10,Yd=47,Fa=92,QC=9,SC=32,vn=34,xa=61,UC=35,IC=36,LC=37,Fn=39,xn=40,Qa=41,EC=95,at=45,HC=33,TC=60,OC=62,kC=64,DC=91,MC=93,_C=61,RC=123,Qn=63,KC=125,Zd=124,NC=126,VC=128,Jd=65533,Ho=42,Ar=43,PC=44,GC=58,WC=59,Sa=46,zC=0,XC=8,YC=11,ZC=14,JC=31,qC=127,Yt=-1,qd=48,jd=97,$d=101,jC=102,$C=117,A0=122,Au=65,eu=69,tu=70,e0=85,t0=90,Ye=function(l){return l>=qd&&l<=57},i0=function(l){return l>=55296&&l<=57343},Rr=function(l){return Ye(l)||l>=Au&&l<=tu||l>=jd&&l<=jC},r0=function(l){return l>=jd&&l<=A0},a0=function(l){return l>=Au&&l<=t0},n0=function(l){return r0(l)||a0(l)},s0=function(l){return l>=VC},Sn=function(l){return l===yn||l===QC||l===SC},Un=function(l){return n0(l)||s0(l)||l===EC},iu=function(l){return Un(l)||Ye(l)||l===at},o0=function(l){return l>=zC&&l<=XC||l===YC||l>=ZC&&l<=JC||l===qC},Ui=function(l,s){return l!==Fa?!1:s!==yn},In=function(l,s,d){return l===at?Un(s)||Ui(s,d):Un(l)?!0:!!(l===Fa&&Ui(l,s))},To=function(l,s,d){return l===Ar||l===at?Ye(s)?!0:s===Sa&&Ye(d):Ye(l===Sa?s:l)},l0=function(l){var s=0,d=1;(l[s]===Ar||l[s]===at)&&(l[s]===at&&(d=-1),s++);for(var c=[];Ye(l[s]);)c.push(l[s++]);var C=c.length?parseInt(g.apply(void 0,c),10):0;l[s]===Sa&&s++;for(var y=[];Ye(l[s]);)y.push(l[s++]);var U=y.length,T=U?parseInt(g.apply(void 0,y),10):0;(l[s]===eu||l[s]===$d)&&s++;var H=1;(l[s]===Ar||l[s]===at)&&(l[s]===at&&(H=-1),s++);for(var N=[];Ye(l[s]);)N.push(l[s++]);var V=N.length?parseInt(g.apply(void 0,N),10):0;return d*(C+T*Math.pow(10,-U))*Math.pow(10,H*V)},c0={type:2},d0={type:3},u0={type:4},h0={type:13},f0={type:8},g0={type:21},B0={type:9},m0={type:10},p0={type:11},C0={type:12},w0={type:14},Ln={type:23},b0={type:1},y0={type:25},v0={type:24},F0={type:26},x0={type:27},Q0={type:28},S0={type:29},U0={type:31},Oo={type:32},ru=(function(){function l(){this._value=[]}return l.prototype.write=function(s){this._value=this._value.concat(h(s))},l.prototype.read=function(){for(var s=[],d=this.consumeToken();d!==Oo;)s.push(d),d=this.consumeToken();return s},l.prototype.consumeToken=function(){var s=this.consumeCodePoint();switch(s){case vn:return this.consumeStringToken(vn);case UC:var d=this.peekCodePoint(0),c=this.peekCodePoint(1),C=this.peekCodePoint(2);if(iu(d)||Ui(c,C)){var y=In(d,c,C)?xC:FC,U=this.consumeName();return{type:5,value:U,flags:y}}break;case IC:if(this.peekCodePoint(0)===xa)return this.consumeCodePoint(),h0;break;case Fn:return this.consumeStringToken(Fn);case xn:return c0;case Qa:return d0;case Ho:if(this.peekCodePoint(0)===xa)return this.consumeCodePoint(),w0;break;case Ar:if(To(s,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(s),this.consumeNumericToken();break;case PC:return u0;case at:var T=s,H=this.peekCodePoint(0),N=this.peekCodePoint(1);if(To(T,H,N))return this.reconsumeCodePoint(s),this.consumeNumericToken();if(In(T,H,N))return this.reconsumeCodePoint(s),this.consumeIdentLikeToken();if(H===at&&N===OC)return this.consumeCodePoint(),this.consumeCodePoint(),v0;break;case Sa:if(To(s,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(s),this.consumeNumericToken();break;case Yd:if(this.peekCodePoint(0)===Ho)for(this.consumeCodePoint();;){var V=this.consumeCodePoint();if(V===Ho&&(V=this.consumeCodePoint(),V===Yd))return this.consumeToken();if(V===Yt)return this.consumeToken()}break;case GC:return F0;case WC:return x0;case TC:if(this.peekCodePoint(0)===HC&&this.peekCodePoint(1)===at&&this.peekCodePoint(2)===at)return this.consumeCodePoint(),this.consumeCodePoint(),y0;break;case kC:var Y=this.peekCodePoint(0),tA=this.peekCodePoint(1),wA=this.peekCodePoint(2);if(In(Y,tA,wA)){var U=this.consumeName();return{type:7,value:U}}break;case DC:return Q0;case Fa:if(Ui(s,this.peekCodePoint(0)))return this.reconsumeCodePoint(s),this.consumeIdentLikeToken();break;case MC:return S0;case _C:if(this.peekCodePoint(0)===xa)return this.consumeCodePoint(),f0;break;case RC:return p0;case KC:return C0;case $C:case e0:var fA=this.peekCodePoint(0),BA=this.peekCodePoint(1);return fA===Ar&&(Rr(BA)||BA===Qn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(s),this.consumeIdentLikeToken();case Zd:if(this.peekCodePoint(0)===xa)return this.consumeCodePoint(),B0;if(this.peekCodePoint(0)===Zd)return this.consumeCodePoint(),g0;break;case NC:if(this.peekCodePoint(0)===xa)return this.consumeCodePoint(),m0;break;case Yt:return Oo}return Sn(s)?(this.consumeWhiteSpace(),U0):Ye(s)?(this.reconsumeCodePoint(s),this.consumeNumericToken()):Un(s)?(this.reconsumeCodePoint(s),this.consumeIdentLikeToken()):{type:6,value:g(s)}},l.prototype.consumeCodePoint=function(){var s=this._value.shift();return typeof s>"u"?-1:s},l.prototype.reconsumeCodePoint=function(s){this._value.unshift(s)},l.prototype.peekCodePoint=function(s){return s>=this._value.length?-1:this._value[s]},l.prototype.consumeUnicodeRangeToken=function(){for(var s=[],d=this.consumeCodePoint();Rr(d)&&s.length<6;)s.push(d),d=this.consumeCodePoint();for(var c=!1;d===Qn&&s.length<6;)s.push(d),d=this.consumeCodePoint(),c=!0;if(c){var C=parseInt(g.apply(void 0,s.map(function(H){return H===Qn?qd:H})),16),y=parseInt(g.apply(void 0,s.map(function(H){return H===Qn?tu:H})),16);return{type:30,start:C,end:y}}var U=parseInt(g.apply(void 0,s),16);if(this.peekCodePoint(0)===at&&Rr(this.peekCodePoint(1))){this.consumeCodePoint(),d=this.consumeCodePoint();for(var T=[];Rr(d)&&T.length<6;)T.push(d),d=this.consumeCodePoint();var y=parseInt(g.apply(void 0,T),16);return{type:30,start:U,end:y}}else return{type:30,start:U,end:U}},l.prototype.consumeIdentLikeToken=function(){var s=this.consumeName();return s.toLowerCase()==="url"&&this.peekCodePoint(0)===xn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===xn?(this.consumeCodePoint(),{type:19,value:s}):{type:20,value:s}},l.prototype.consumeUrlToken=function(){var s=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Yt)return{type:22,value:""};var d=this.peekCodePoint(0);if(d===Fn||d===vn){var c=this.consumeStringToken(this.consumeCodePoint());return c.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Yt||this.peekCodePoint(0)===Qa)?(this.consumeCodePoint(),{type:22,value:c.value}):(this.consumeBadUrlRemnants(),Ln)}for(;;){var C=this.consumeCodePoint();if(C===Yt||C===Qa)return{type:22,value:g.apply(void 0,s)};if(Sn(C))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Yt||this.peekCodePoint(0)===Qa?(this.consumeCodePoint(),{type:22,value:g.apply(void 0,s)}):(this.consumeBadUrlRemnants(),Ln);if(C===vn||C===Fn||C===xn||o0(C))return this.consumeBadUrlRemnants(),Ln;if(C===Fa)if(Ui(C,this.peekCodePoint(0)))s.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ln;else s.push(C)}},l.prototype.consumeWhiteSpace=function(){for(;Sn(this.peekCodePoint(0));)this.consumeCodePoint()},l.prototype.consumeBadUrlRemnants=function(){for(;;){var s=this.consumeCodePoint();if(s===Qa||s===Yt)return;Ui(s,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},l.prototype.consumeStringSlice=function(s){for(var d=5e4,c="";s>0;){var C=Math.min(d,s);c+=g.apply(void 0,this._value.splice(0,C)),s-=C}return this._value.shift(),c},l.prototype.consumeStringToken=function(s){var d="",c=0;do{var C=this._value[c];if(C===Yt||C===void 0||C===s)return d+=this.consumeStringSlice(c),{type:0,value:d};if(C===yn)return this._value.splice(0,c),b0;if(C===Fa){var y=this._value[c+1];y!==Yt&&y!==void 0&&(y===yn?(d+=this.consumeStringSlice(c),c=-1,this._value.shift()):Ui(C,y)&&(d+=this.consumeStringSlice(c),d+=g(this.consumeEscapedCodePoint()),c=-1))}c++}while(!0)},l.prototype.consumeNumber=function(){var s=[],d=va,c=this.peekCodePoint(0);for((c===Ar||c===at)&&s.push(this.consumeCodePoint());Ye(this.peekCodePoint(0));)s.push(this.consumeCodePoint());c=this.peekCodePoint(0);var C=this.peekCodePoint(1);if(c===Sa&&Ye(C))for(s.push(this.consumeCodePoint(),this.consumeCodePoint()),d=Xd;Ye(this.peekCodePoint(0));)s.push(this.consumeCodePoint());c=this.peekCodePoint(0),C=this.peekCodePoint(1);var y=this.peekCodePoint(2);if((c===eu||c===$d)&&((C===Ar||C===at)&&Ye(y)||Ye(C)))for(s.push(this.consumeCodePoint(),this.consumeCodePoint()),d=Xd;Ye(this.peekCodePoint(0));)s.push(this.consumeCodePoint());return[l0(s),d]},l.prototype.consumeNumericToken=function(){var s=this.consumeNumber(),d=s[0],c=s[1],C=this.peekCodePoint(0),y=this.peekCodePoint(1),U=this.peekCodePoint(2);if(In(C,y,U)){var T=this.consumeName();return{type:15,number:d,flags:c,unit:T}}return C===LC?(this.consumeCodePoint(),{type:16,number:d,flags:c}):{type:17,number:d,flags:c}},l.prototype.consumeEscapedCodePoint=function(){var s=this.consumeCodePoint();if(Rr(s)){for(var d=g(s);Rr(this.peekCodePoint(0))&&d.length<6;)d+=g(this.consumeCodePoint());Sn(this.peekCodePoint(0))&&this.consumeCodePoint();var c=parseInt(d,16);return c===0||i0(c)||c>1114111?Jd:c}return s===Yt?Jd:s},l.prototype.consumeName=function(){for(var s="";;){var d=this.consumeCodePoint();if(iu(d))s+=g(d);else if(Ui(d,this.peekCodePoint(0)))s+=g(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(d),s}},l})(),au=(function(){function l(s){this._tokens=s}return l.create=function(s){var d=new ru;return d.write(s),new l(d.read())},l.parseValue=function(s){return l.create(s).parseComponentValue()},l.parseValues=function(s){return l.create(s).parseComponentValues()},l.prototype.parseComponentValue=function(){for(var s=this.consumeToken();s.type===31;)s=this.consumeToken();if(s.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(s);var d=this.consumeComponentValue();do s=this.consumeToken();while(s.type===31);if(s.type===32)return d;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},l.prototype.parseComponentValues=function(){for(var s=[];;){var d=this.consumeComponentValue();if(d.type===32)return s;s.push(d),s.push()}},l.prototype.consumeComponentValue=function(){var s=this.consumeToken();switch(s.type){case 11:case 28:case 2:return this.consumeSimpleBlock(s.type);case 19:return this.consumeFunction(s)}return s},l.prototype.consumeSimpleBlock=function(s){for(var d={type:s,values:[]},c=this.consumeToken();;){if(c.type===32||L0(c,s))return d;this.reconsumeToken(c),d.values.push(this.consumeComponentValue()),c=this.consumeToken()}},l.prototype.consumeFunction=function(s){for(var d={name:s.value,values:[],type:18};;){var c=this.consumeToken();if(c.type===32||c.type===3)return d;this.reconsumeToken(c),d.values.push(this.consumeComponentValue())}},l.prototype.consumeToken=function(){var s=this._tokens.shift();return typeof s>"u"?Oo:s},l.prototype.reconsumeToken=function(s){this._tokens.unshift(s)},l})(),Ua=function(l){return l.type===15},Kr=function(l){return l.type===17},ie=function(l){return l.type===20},I0=function(l){return l.type===0},ko=function(l,s){return ie(l)&&l.value===s},nu=function(l){return l.type!==31},Nr=function(l){return l.type!==31&&l.type!==4},Zt=function(l){var s=[],d=[];return l.forEach(function(c){if(c.type===4){if(d.length===0)throw new Error("Error parsing function args, zero tokens for arg");s.push(d),d=[];return}c.type!==31&&d.push(c)}),d.length&&s.push(d),s},L0=function(l,s){return s===11&&l.type===12||s===28&&l.type===29?!0:s===2&&l.type===3},Ii=function(l){return l.type===17||l.type===15},ye=function(l){return l.type===16||Ii(l)},su=function(l){return l.length>1?[l[0],l[1]]:[l[0]]},Ne={type:17,number:0,flags:va},Do={type:16,number:50,flags:va},Li={type:16,number:100,flags:va},Ia=function(l,s,d){var c=l[0],C=l[1];return[le(c,s),le(typeof C<"u"?C:c,d)]},le=function(l,s){if(l.type===16)return l.number/100*s;if(Ua(l))switch(l.unit){case"rem":case"em":return 16*l.number;default:return l.number}return l.number},ou="deg",lu="grad",cu="rad",du="turn",En={name:"angle",parse:function(l,s){if(s.type===15)switch(s.unit){case ou:return Math.PI*s.number/180;case lu:return Math.PI/200*s.number;case cu:return s.number;case du:return Math.PI*2*s.number}throw new Error("Unsupported angle type")}},uu=function(l){return l.type===15&&(l.unit===ou||l.unit===lu||l.unit===cu||l.unit===du)},hu=function(l){var s=l.filter(ie).map(function(d){return d.value}).join(" ");switch(s){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ne,Ne];case"to top":case"bottom":return Qt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ne,Li];case"to right":case"left":return Qt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Li,Li];case"to bottom":case"top":return Qt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Li,Ne];case"to left":case"right":return Qt(270)}return 0},Qt=function(l){return Math.PI*l/180},Ei={name:"color",parse:function(l,s){if(s.type===18){var d=E0[s.name];if(typeof d>"u")throw new Error('Attempting to parse an unsupported color function "'+s.name+'"');return d(l,s.values)}if(s.type===5){if(s.value.length===3){var c=s.value.substring(0,1),C=s.value.substring(1,2),y=s.value.substring(2,3);return Ti(parseInt(c+c,16),parseInt(C+C,16),parseInt(y+y,16),1)}if(s.value.length===4){var c=s.value.substring(0,1),C=s.value.substring(1,2),y=s.value.substring(2,3),U=s.value.substring(3,4);return Ti(parseInt(c+c,16),parseInt(C+C,16),parseInt(y+y,16),parseInt(U+U,16)/255)}if(s.value.length===6){var c=s.value.substring(0,2),C=s.value.substring(2,4),y=s.value.substring(4,6);return Ti(parseInt(c,16),parseInt(C,16),parseInt(y,16),1)}if(s.value.length===8){var c=s.value.substring(0,2),C=s.value.substring(2,4),y=s.value.substring(4,6),U=s.value.substring(6,8);return Ti(parseInt(c,16),parseInt(C,16),parseInt(y,16),parseInt(U,16)/255)}}if(s.type===20){var T=ui[s.value.toUpperCase()];if(typeof T<"u")return T}return ui.TRANSPARENT}},Hi=function(l){return(255&l)===0},De=function(l){var s=255&l,d=255&l>>8,c=255&l>>16,C=255&l>>24;return s<255?"rgba("+C+","+c+","+d+","+s/255+")":"rgb("+C+","+c+","+d+")"},Ti=function(l,s,d,c){return(l<<24|s<<16|d<<8|Math.round(c*255)<<0)>>>0},fu=function(l,s){if(l.type===17)return l.number;if(l.type===16){var d=s===3?1:255;return s===3?l.number/100*d:Math.round(l.number/100*d)}return 0},gu=function(l,s){var d=s.filter(Nr);if(d.length===3){var c=d.map(fu),C=c[0],y=c[1],U=c[2];return Ti(C,y,U,1)}if(d.length===4){var T=d.map(fu),C=T[0],y=T[1],U=T[2],H=T[3];return Ti(C,y,U,H)}return 0};function Mo(l,s,d){return d<0&&(d+=1),d>=1&&(d-=1),d<1/6?(s-l)*d*6+l:d<1/2?s:d<2/3?(s-l)*6*(2/3-d)+l:l}var Bu=function(l,s){var d=s.filter(Nr),c=d[0],C=d[1],y=d[2],U=d[3],T=(c.type===17?Qt(c.number):En.parse(l,c))/(Math.PI*2),H=ye(C)?C.number/100:0,N=ye(y)?y.number/100:0,V=typeof U<"u"&&ye(U)?le(U,1):1;if(H===0)return Ti(N*255,N*255,N*255,1);var Y=N<=.5?N*(H+1):N+H-N*H,tA=N*2-Y,wA=Mo(tA,Y,T+1/3),fA=Mo(tA,Y,T),BA=Mo(tA,Y,T-1/3);return Ti(wA*255,fA*255,BA*255,V)},E0={hsl:Bu,hsla:Bu,rgb:gu,rgba:gu},La=function(l,s){return Ei.parse(l,au.create(s).parseComponentValue())},ui={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},H0={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(l,s){return s.map(function(d){if(ie(d))switch(d.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},T0={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Hn=function(l,s){var d=Ei.parse(l,s[0]),c=s[1];return c&&ye(c)?{color:d,stop:c}:{color:d,stop:null}},mu=function(l,s){var d=l[0],c=l[l.length-1];d.stop===null&&(d.stop=Ne),c.stop===null&&(c.stop=Li);for(var C=[],y=0,U=0;U<l.length;U++){var T=l[U].stop;if(T!==null){var H=le(T,s);H>y?C.push(H):C.push(y),y=H}else C.push(null)}for(var N=null,U=0;U<C.length;U++){var V=C[U];if(V===null)N===null&&(N=U);else if(N!==null){for(var Y=U-N,tA=C[N-1],wA=(V-tA)/(Y+1),fA=1;fA<=Y;fA++)C[N+fA-1]=wA*fA;N=null}}return l.map(function(BA,kA){var FA=BA.color;return{color:FA,stop:Math.max(Math.min(1,C[kA]/s),0)}})},O0=function(l,s,d){var c=s/2,C=d/2,y=le(l[0],s)-c,U=C-le(l[1],d);return(Math.atan2(U,y)+Math.PI*2)%(Math.PI*2)},k0=function(l,s,d){var c=typeof l=="number"?l:O0(l,s,d),C=Math.abs(s*Math.sin(c))+Math.abs(d*Math.cos(c)),y=s/2,U=d/2,T=C/2,H=Math.sin(c-Math.PI/2)*T,N=Math.cos(c-Math.PI/2)*T;return[C,y-N,y+N,U-H,U+H]},kt=function(l,s){return Math.sqrt(l*l+s*s)},pu=function(l,s,d,c,C){var y=[[0,0],[0,s],[l,0],[l,s]];return y.reduce(function(U,T){var H=T[0],N=T[1],V=kt(d-H,c-N);return(C?V<U.optimumDistance:V>U.optimumDistance)?{optimumCorner:T,optimumDistance:V}:U},{optimumDistance:C?1/0:-1/0,optimumCorner:null}).optimumCorner},D0=function(l,s,d,c,C){var y=0,U=0;switch(l.size){case 0:l.shape===0?y=U=Math.min(Math.abs(s),Math.abs(s-c),Math.abs(d),Math.abs(d-C)):l.shape===1&&(y=Math.min(Math.abs(s),Math.abs(s-c)),U=Math.min(Math.abs(d),Math.abs(d-C)));break;case 2:if(l.shape===0)y=U=Math.min(kt(s,d),kt(s,d-C),kt(s-c,d),kt(s-c,d-C));else if(l.shape===1){var T=Math.min(Math.abs(d),Math.abs(d-C))/Math.min(Math.abs(s),Math.abs(s-c)),H=pu(c,C,s,d,!0),N=H[0],V=H[1];y=kt(N-s,(V-d)/T),U=T*y}break;case 1:l.shape===0?y=U=Math.max(Math.abs(s),Math.abs(s-c),Math.abs(d),Math.abs(d-C)):l.shape===1&&(y=Math.max(Math.abs(s),Math.abs(s-c)),U=Math.max(Math.abs(d),Math.abs(d-C)));break;case 3:if(l.shape===0)y=U=Math.max(kt(s,d),kt(s,d-C),kt(s-c,d),kt(s-c,d-C));else if(l.shape===1){var T=Math.max(Math.abs(d),Math.abs(d-C))/Math.max(Math.abs(s),Math.abs(s-c)),Y=pu(c,C,s,d,!1),N=Y[0],V=Y[1];y=kt(N-s,(V-d)/T),U=T*y}break}return Array.isArray(l.size)&&(y=le(l.size[0],c),U=l.size.length===2?le(l.size[1],C):y),[y,U]},M0=function(l,s){var d=Qt(180),c=[];return Zt(s).forEach(function(C,y){if(y===0){var U=C[0];if(U.type===20&&U.value==="to"){d=hu(C);return}else if(uu(U)){d=En.parse(l,U);return}}var T=Hn(l,C);c.push(T)}),{angle:d,stops:c,type:1}},Tn=function(l,s){var d=Qt(180),c=[];return Zt(s).forEach(function(C,y){if(y===0){var U=C[0];if(U.type===20&&["top","left","right","bottom"].indexOf(U.value)!==-1){d=hu(C);return}else if(uu(U)){d=(En.parse(l,U)+Qt(270))%Qt(360);return}}var T=Hn(l,C);c.push(T)}),{angle:d,stops:c,type:1}},_0=function(l,s){var d=Qt(180),c=[],C=1,y=0,U=3,T=[];return Zt(s).forEach(function(H,N){var V=H[0];if(N===0){if(ie(V)&&V.value==="linear"){C=1;return}else if(ie(V)&&V.value==="radial"){C=2;return}}if(V.type===18){if(V.name==="from"){var Y=Ei.parse(l,V.values[0]);c.push({stop:Ne,color:Y})}else if(V.name==="to"){var Y=Ei.parse(l,V.values[0]);c.push({stop:Li,color:Y})}else if(V.name==="color-stop"){var tA=V.values.filter(Nr);if(tA.length===2){var Y=Ei.parse(l,tA[1]),wA=tA[0];Kr(wA)&&c.push({stop:{type:16,number:wA.number*100,flags:wA.flags},color:Y})}}}}),C===1?{angle:(d+Qt(180))%Qt(360),stops:c,type:C}:{size:U,shape:y,stops:c,position:T,type:C}},Cu="closest-side",wu="farthest-side",bu="closest-corner",yu="farthest-corner",vu="circle",Fu="ellipse",xu="cover",Qu="contain",R0=function(l,s){var d=0,c=3,C=[],y=[];return Zt(s).forEach(function(U,T){var H=!0;if(T===0){var N=!1;H=U.reduce(function(Y,tA){if(N)if(ie(tA))switch(tA.value){case"center":return y.push(Do),Y;case"top":case"left":return y.push(Ne),Y;case"right":case"bottom":return y.push(Li),Y}else(ye(tA)||Ii(tA))&&y.push(tA);else if(ie(tA))switch(tA.value){case vu:return d=0,!1;case Fu:return d=1,!1;case"at":return N=!0,!1;case Cu:return c=0,!1;case xu:case wu:return c=1,!1;case Qu:case bu:return c=2,!1;case yu:return c=3,!1}else if(Ii(tA)||ye(tA))return Array.isArray(c)||(c=[]),c.push(tA),!1;return Y},H)}if(H){var V=Hn(l,U);C.push(V)}}),{size:c,shape:d,stops:C,position:y,type:2}},On=function(l,s){var d=0,c=3,C=[],y=[];return Zt(s).forEach(function(U,T){var H=!0;if(T===0?H=U.reduce(function(V,Y){if(ie(Y))switch(Y.value){case"center":return y.push(Do),!1;case"top":case"left":return y.push(Ne),!1;case"right":case"bottom":return y.push(Li),!1}else if(ye(Y)||Ii(Y))return y.push(Y),!1;return V},H):T===1&&(H=U.reduce(function(V,Y){if(ie(Y))switch(Y.value){case vu:return d=0,!1;case Fu:return d=1,!1;case Qu:case Cu:return c=0,!1;case wu:return c=1,!1;case bu:return c=2,!1;case xu:case yu:return c=3,!1}else if(Ii(Y)||ye(Y))return Array.isArray(c)||(c=[]),c.push(Y),!1;return V},H)),H){var N=Hn(l,U);C.push(N)}}),{size:c,shape:d,stops:C,position:y,type:2}},K0=function(l){return l.type===1},N0=function(l){return l.type===2},_o={name:"image",parse:function(l,s){if(s.type===22){var d={url:s.value,type:0};return l.cache.addImage(s.value),d}if(s.type===18){var c=Su[s.name];if(typeof c>"u")throw new Error('Attempting to parse an unsupported image function "'+s.name+'"');return c(l,s.values)}throw new Error("Unsupported image type "+s.type)}};function V0(l){return!(l.type===20&&l.value==="none")&&(l.type!==18||!!Su[l.name])}var Su={"linear-gradient":M0,"-moz-linear-gradient":Tn,"-ms-linear-gradient":Tn,"-o-linear-gradient":Tn,"-webkit-linear-gradient":Tn,"radial-gradient":R0,"-moz-radial-gradient":On,"-ms-radial-gradient":On,"-o-radial-gradient":On,"-webkit-radial-gradient":On,"-webkit-gradient":_0},P0={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(l,s){if(s.length===0)return[];var d=s[0];return d.type===20&&d.value==="none"?[]:s.filter(function(c){return Nr(c)&&V0(c)}).map(function(c){return _o.parse(l,c)})}},G0={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(l,s){return s.map(function(d){if(ie(d))switch(d.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},W0={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(l,s){return Zt(s).map(function(d){return d.filter(ye)}).map(su)}},z0={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(l,s){return Zt(s).map(function(d){return d.filter(ie).map(function(c){return c.value}).join(" ")}).map(X0)}},X0=function(l){switch(l){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Vr;(function(l){l.AUTO="auto",l.CONTAIN="contain",l.COVER="cover"})(Vr||(Vr={}));var Y0={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(l,s){return Zt(s).map(function(d){return d.filter(Z0)})}},Z0=function(l){return ie(l)||ye(l)},kn=function(l){return{name:"border-"+l+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},J0=kn("top"),q0=kn("right"),j0=kn("bottom"),$0=kn("left"),Dn=function(l){return{name:"border-radius-"+l,initialValue:"0 0",prefix:!1,type:1,parse:function(s,d){return su(d.filter(ye))}}},Aw=Dn("top-left"),ew=Dn("top-right"),tw=Dn("bottom-right"),iw=Dn("bottom-left"),Mn=function(l){return{name:"border-"+l+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(s,d){switch(d){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},rw=Mn("top"),aw=Mn("right"),nw=Mn("bottom"),sw=Mn("left"),_n=function(l){return{name:"border-"+l+"-width",initialValue:"0",type:0,prefix:!1,parse:function(s,d){return Ua(d)?d.number:0}}},ow=_n("top"),lw=_n("right"),cw=_n("bottom"),dw=_n("left"),uw={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},hw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(l,s){return s==="rtl"?1:0}},fw={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(l,s){return s.filter(ie).reduce(function(d,c){return d|gw(c.value)},0)}},gw=function(l){switch(l){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bw={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(l,s){switch(s){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},mw={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(l,s){return s.type===20&&s.value==="normal"?0:s.type===17||s.type===15?s.number:0}},Rn;(function(l){l.NORMAL="normal",l.STRICT="strict"})(Rn||(Rn={}));var pw={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(l,s){return s==="strict"?Rn.STRICT:Rn.NORMAL}},Cw={name:"line-height",initialValue:"normal",prefix:!1,type:4},Uu=function(l,s){return ie(l)&&l.value==="normal"?1.2*s:l.type===17?s*l.number:ye(l)?le(l,s):s},ww={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(l,s){return s.type===20&&s.value==="none"?null:_o.parse(l,s)}},bw={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(l,s){return s==="inside"?0:1}},Ro={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(l,s){switch(s){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Kn=function(l){return{name:"margin-"+l,initialValue:"0",prefix:!1,type:4}},yw=Kn("top"),vw=Kn("right"),Fw=Kn("bottom"),xw=Kn("left"),Qw={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(l,s){return s.filter(ie).map(function(d){switch(d.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Sw={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(l,s){return s==="break-word"?"break-word":"normal"}},Nn=function(l){return{name:"padding-"+l,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Uw=Nn("top"),Iw=Nn("right"),Lw=Nn("bottom"),Ew=Nn("left"),Hw={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(l,s){switch(s){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Tw={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(l,s){switch(s){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ow={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(l,s){return s.length===1&&ko(s[0],"none")?[]:Zt(s).map(function(d){for(var c={color:ui.TRANSPARENT,offsetX:Ne,offsetY:Ne,blur:Ne},C=0,y=0;y<d.length;y++){var U=d[y];Ii(U)?(C===0?c.offsetX=U:C===1?c.offsetY=U:c.blur=U,C++):c.color=Ei.parse(l,U)}return c})}},kw={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(l,s){switch(s){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Dw={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(l,s){if(s.type===20&&s.value==="none")return null;if(s.type===18){var d=Rw[s.name];if(typeof d>"u")throw new Error('Attempting to parse an unsupported transform function "'+s.name+'"');return d(s.values)}return null}},Mw=function(l){var s=l.filter(function(d){return d.type===17}).map(function(d){return d.number});return s.length===6?s:null},_w=function(l){var s=l.filter(function(H){return H.type===17}).map(function(H){return H.number}),d=s[0],c=s[1];s[2],s[3];var C=s[4],y=s[5];s[6],s[7],s[8],s[9],s[10],s[11];var U=s[12],T=s[13];return s[14],s[15],s.length===16?[d,c,C,y,U,T]:null},Rw={matrix:Mw,matrix3d:_w},Iu={type:16,number:50,flags:va},Kw=[Iu,Iu],Nw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(l,s){var d=s.filter(ye);return d.length!==2?Kw:[d[0],d[1]]}},Vw={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(l,s){switch(s){case"hidden":return 1;case"collapse":return 2;default:return 0}}},Ea;(function(l){l.NORMAL="normal",l.BREAK_ALL="break-all",l.KEEP_ALL="keep-all"})(Ea||(Ea={}));for(var Pw={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(l,s){switch(s){case"break-all":return Ea.BREAK_ALL;case"keep-all":return Ea.KEEP_ALL;default:return Ea.NORMAL}}},Gw={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(l,s){if(s.type===20)return{auto:!0,order:0};if(Kr(s))return{auto:!1,order:s.number};throw new Error("Invalid z-index number parsed")}},Lu={name:"time",parse:function(l,s){if(s.type===15)switch(s.unit.toLowerCase()){case"s":return 1e3*s.number;case"ms":return s.number}throw new Error("Unsupported time type")}},Ww={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(l,s){return Kr(s)?s.number:1}},zw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Xw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(l,s){return s.filter(ie).map(function(d){switch(d.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(d){return d!==0})}},Yw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(l,s){var d=[],c=[];return s.forEach(function(C){switch(C.type){case 20:case 0:d.push(C.value);break;case 17:d.push(C.number.toString());break;case 4:c.push(d.join(" ")),d.length=0;break}}),d.length&&c.push(d.join(" ")),c.map(function(C){return C.indexOf(" ")===-1?C:"'"+C+"'"})}},Zw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Jw={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(l,s){return Kr(s)?s.number:ie(s)&&s.value==="bold"?700:400}},qw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(l,s){return s.filter(ie).map(function(d){return d.value})}},jw={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(l,s){switch(s){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},Ue=function(l,s){return(l&s)!==0},$w={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(l,s){if(s.length===0)return[];var d=s[0];return d.type===20&&d.value==="none"?[]:s}},Ab={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(l,s){if(s.length===0)return null;var d=s[0];if(d.type===20&&d.value==="none")return null;for(var c=[],C=s.filter(nu),y=0;y<C.length;y++){var U=C[y],T=C[y+1];if(U.type===20){var H=T&&Kr(T)?T.number:1;c.push({counter:U.value,increment:H})}}return c}},eb={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(l,s){if(s.length===0)return[];for(var d=[],c=s.filter(nu),C=0;C<c.length;C++){var y=c[C],U=c[C+1];if(ie(y)&&y.value!=="none"){var T=U&&Kr(U)?U.number:0;d.push({counter:y.value,reset:T})}}return d}},tb={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(l,s){return s.filter(Ua).map(function(d){return Lu.parse(l,d)})}},ib={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(l,s){if(s.length===0)return null;var d=s[0];if(d.type===20&&d.value==="none")return null;var c=[],C=s.filter(I0);if(C.length%2!==0)return null;for(var y=0;y<C.length;y+=2){var U=C[y].value,T=C[y+1].value;c.push({open:U,close:T})}return c}},Eu=function(l,s,d){if(!l)return"";var c=l[Math.min(s,l.length-1)];return c?d?c.open:c.close:""},rb={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(l,s){return s.length===1&&ko(s[0],"none")?[]:Zt(s).map(function(d){for(var c={color:255,offsetX:Ne,offsetY:Ne,blur:Ne,spread:Ne,inset:!1},C=0,y=0;y<d.length;y++){var U=d[y];ko(U,"inset")?c.inset=!0:Ii(U)?(C===0?c.offsetX=U:C===1?c.offsetY=U:C===2?c.blur=U:c.spread=U,C++):c.color=Ei.parse(l,U)}return c})}},ab={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(l,s){var d=[0,1,2],c=[];return s.filter(ie).forEach(function(C){switch(C.value){case"stroke":c.push(1);break;case"fill":c.push(0);break;case"markers":c.push(2);break}}),d.forEach(function(C){c.indexOf(C)===-1&&c.push(C)}),c}},nb={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},sb={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(l,s){return Ua(s)?s.number:0}},ob=(function(){function l(s,d){var c,C;this.animationDuration=yA(s,tb,d.animationDuration),this.backgroundClip=yA(s,H0,d.backgroundClip),this.backgroundColor=yA(s,T0,d.backgroundColor),this.backgroundImage=yA(s,P0,d.backgroundImage),this.backgroundOrigin=yA(s,G0,d.backgroundOrigin),this.backgroundPosition=yA(s,W0,d.backgroundPosition),this.backgroundRepeat=yA(s,z0,d.backgroundRepeat),this.backgroundSize=yA(s,Y0,d.backgroundSize),this.borderTopColor=yA(s,J0,d.borderTopColor),this.borderRightColor=yA(s,q0,d.borderRightColor),this.borderBottomColor=yA(s,j0,d.borderBottomColor),this.borderLeftColor=yA(s,$0,d.borderLeftColor),this.borderTopLeftRadius=yA(s,Aw,d.borderTopLeftRadius),this.borderTopRightRadius=yA(s,ew,d.borderTopRightRadius),this.borderBottomRightRadius=yA(s,tw,d.borderBottomRightRadius),this.borderBottomLeftRadius=yA(s,iw,d.borderBottomLeftRadius),this.borderTopStyle=yA(s,rw,d.borderTopStyle),this.borderRightStyle=yA(s,aw,d.borderRightStyle),this.borderBottomStyle=yA(s,nw,d.borderBottomStyle),this.borderLeftStyle=yA(s,sw,d.borderLeftStyle),this.borderTopWidth=yA(s,ow,d.borderTopWidth),this.borderRightWidth=yA(s,lw,d.borderRightWidth),this.borderBottomWidth=yA(s,cw,d.borderBottomWidth),this.borderLeftWidth=yA(s,dw,d.borderLeftWidth),this.boxShadow=yA(s,rb,d.boxShadow),this.color=yA(s,uw,d.color),this.direction=yA(s,hw,d.direction),this.display=yA(s,fw,d.display),this.float=yA(s,Bw,d.cssFloat),this.fontFamily=yA(s,Yw,d.fontFamily),this.fontSize=yA(s,Zw,d.fontSize),this.fontStyle=yA(s,jw,d.fontStyle),this.fontVariant=yA(s,qw,d.fontVariant),this.fontWeight=yA(s,Jw,d.fontWeight),this.letterSpacing=yA(s,mw,d.letterSpacing),this.lineBreak=yA(s,pw,d.lineBreak),this.lineHeight=yA(s,Cw,d.lineHeight),this.listStyleImage=yA(s,ww,d.listStyleImage),this.listStylePosition=yA(s,bw,d.listStylePosition),this.listStyleType=yA(s,Ro,d.listStyleType),this.marginTop=yA(s,yw,d.marginTop),this.marginRight=yA(s,vw,d.marginRight),this.marginBottom=yA(s,Fw,d.marginBottom),this.marginLeft=yA(s,xw,d.marginLeft),this.opacity=yA(s,Ww,d.opacity);var y=yA(s,Qw,d.overflow);this.overflowX=y[0],this.overflowY=y[y.length>1?1:0],this.overflowWrap=yA(s,Sw,d.overflowWrap),this.paddingTop=yA(s,Uw,d.paddingTop),this.paddingRight=yA(s,Iw,d.paddingRight),this.paddingBottom=yA(s,Lw,d.paddingBottom),this.paddingLeft=yA(s,Ew,d.paddingLeft),this.paintOrder=yA(s,ab,d.paintOrder),this.position=yA(s,Tw,d.position),this.textAlign=yA(s,Hw,d.textAlign),this.textDecorationColor=yA(s,zw,(c=d.textDecorationColor)!==null&&c!==void 0?c:d.color),this.textDecorationLine=yA(s,Xw,(C=d.textDecorationLine)!==null&&C!==void 0?C:d.textDecoration),this.textShadow=yA(s,Ow,d.textShadow),this.textTransform=yA(s,kw,d.textTransform),this.transform=yA(s,Dw,d.transform),this.transformOrigin=yA(s,Nw,d.transformOrigin),this.visibility=yA(s,Vw,d.visibility),this.webkitTextStrokeColor=yA(s,nb,d.webkitTextStrokeColor),this.webkitTextStrokeWidth=yA(s,sb,d.webkitTextStrokeWidth),this.wordBreak=yA(s,Pw,d.wordBreak),this.zIndex=yA(s,Gw,d.zIndex)}return l.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},l.prototype.isTransparent=function(){return Hi(this.backgroundColor)},l.prototype.isTransformed=function(){return this.transform!==null},l.prototype.isPositioned=function(){return this.position!==0},l.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},l.prototype.isFloating=function(){return this.float!==0},l.prototype.isInlineLevel=function(){return Ue(this.display,4)||Ue(this.display,33554432)||Ue(this.display,268435456)||Ue(this.display,536870912)||Ue(this.display,67108864)||Ue(this.display,134217728)},l})(),lb=(function(){function l(s,d){this.content=yA(s,$w,d.content),this.quotes=yA(s,ib,d.quotes)}return l})(),Hu=(function(){function l(s,d){this.counterIncrement=yA(s,Ab,d.counterIncrement),this.counterReset=yA(s,eb,d.counterReset)}return l})(),yA=function(l,s,d){var c=new ru,C=d!==null&&typeof d<"u"?d.toString():s.initialValue;c.write(C);var y=new au(c.read());switch(s.type){case 2:var U=y.parseComponentValue();return s.parse(l,ie(U)?U.value:s.initialValue);case 0:return s.parse(l,y.parseComponentValue());case 1:return s.parse(l,y.parseComponentValues());case 4:return y.parseComponentValue();case 3:switch(s.format){case"angle":return En.parse(l,y.parseComponentValue());case"color":return Ei.parse(l,y.parseComponentValue());case"image":return _o.parse(l,y.parseComponentValue());case"length":var T=y.parseComponentValue();return Ii(T)?T:Ne;case"length-percentage":var H=y.parseComponentValue();return ye(H)?H:Ne;case"time":return Lu.parse(l,y.parseComponentValue())}break}},cb="data-html2canvas-debug",db=function(l){var s=l.getAttribute(cb);switch(s){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ko=function(l,s){var d=db(l);return d===1||s===d},Jt=(function(){function l(s,d){if(this.context=s,this.textNodes=[],this.elements=[],this.flags=0,Ko(d,3))debugger;this.styles=new ob(s,window.getComputedStyle(d,null)),Al(d)&&(this.styles.animationDuration.some(function(c){return c>0})&&(d.style.animationDuration="0s"),this.styles.transform!==null&&(d.style.transform="none")),this.bounds=o(this.context,d),Ko(d,4)&&(this.flags|=16)}return l})(),ub="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Tu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ha=typeof Uint8Array>"u"?[]:new Uint8Array(256),Vn=0;Vn<Tu.length;Vn++)Ha[Tu.charCodeAt(Vn)]=Vn;for(var hb=function(l){var s=l.length*.75,d=l.length,c,C=0,y,U,T,H;l[l.length-1]==="="&&(s--,l[l.length-2]==="="&&s--);var N=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(s):new Array(s),V=Array.isArray(N)?N:new Uint8Array(N);for(c=0;c<d;c+=4)y=Ha[l.charCodeAt(c)],U=Ha[l.charCodeAt(c+1)],T=Ha[l.charCodeAt(c+2)],H=Ha[l.charCodeAt(c+3)],V[C++]=y<<2|U>>4,V[C++]=(U&15)<<4|T>>2,V[C++]=(T&3)<<6|H&63;return N},fb=function(l){for(var s=l.length,d=[],c=0;c<s;c+=2)d.push(l[c+1]<<8|l[c]);return d},gb=function(l){for(var s=l.length,d=[],c=0;c<s;c+=4)d.push(l[c+3]<<24|l[c+2]<<16|l[c+1]<<8|l[c]);return d},er=5,No=11,Vo=2,Bb=No-er,Ou=65536>>er,mb=1<<er,Po=mb-1,pb=1024>>er,Cb=Ou+pb,wb=Cb,bb=32,yb=wb+bb,vb=65536>>No,Fb=1<<Bb,xb=Fb-1,ku=function(l,s,d){return l.slice?l.slice(s,d):new Uint16Array(Array.prototype.slice.call(l,s,d))},Qb=function(l,s,d){return l.slice?l.slice(s,d):new Uint32Array(Array.prototype.slice.call(l,s,d))},Sb=function(l,s){var d=hb(l),c=Array.isArray(d)?gb(d):new Uint32Array(d),C=Array.isArray(d)?fb(d):new Uint16Array(d),y=24,U=ku(C,y/2,c[4]/2),T=c[5]===2?ku(C,(y+c[4])/2):Qb(c,Math.ceil((y+c[4])/4));return new Ub(c[0],c[1],c[2],c[3],U,T)},Ub=(function(){function l(s,d,c,C,y,U){this.initialValue=s,this.errorValue=d,this.highStart=c,this.highValueIndex=C,this.index=y,this.data=U}return l.prototype.get=function(s){var d;if(s>=0){if(s<55296||s>56319&&s<=65535)return d=this.index[s>>er],d=(d<<Vo)+(s&Po),this.data[d];if(s<=65535)return d=this.index[Ou+(s-55296>>er)],d=(d<<Vo)+(s&Po),this.data[d];if(s<this.highStart)return d=yb-vb+(s>>No),d=this.index[d],d+=s>>er&xb,d=this.index[d],d=(d<<Vo)+(s&Po),this.data[d];if(s<=1114111)return this.data[this.highValueIndex]}return this.errorValue},l})(),Du="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ib=typeof Uint8Array>"u"?[]:new Uint8Array(256),Pn=0;Pn<Du.length;Pn++)Ib[Du.charCodeAt(Pn)]=Pn;var Lb=1,Go=2,Wo=3,Mu=4,_u=5,Eb=7,Ru=8,zo=9,Xo=10,Ku=11,Nu=12,Vu=13,Pu=14,Yo=15,Hb=function(l){for(var s=[],d=0,c=l.length;d<c;){var C=l.charCodeAt(d++);if(C>=55296&&C<=56319&&d<c){var y=l.charCodeAt(d++);(y&64512)===56320?s.push(((C&1023)<<10)+(y&1023)+65536):(s.push(C),d--)}else s.push(C)}return s},Tb=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];if(String.fromCodePoint)return String.fromCodePoint.apply(String,l);var d=l.length;if(!d)return"";for(var c=[],C=-1,y="";++C<d;){var U=l[C];U<=65535?c.push(U):(U-=65536,c.push((U>>10)+55296,U%1024+56320)),(C+1===d||c.length>16384)&&(y+=String.fromCharCode.apply(String,c),c.length=0)}return y},Ob=Sb(ub),St="\xD7",Zo="\xF7",kb=function(l){return Ob.get(l)},Db=function(l,s,d){var c=d-2,C=s[c],y=s[d-1],U=s[d];if(y===Go&&U===Wo)return St;if(y===Go||y===Wo||y===Mu||U===Go||U===Wo||U===Mu)return Zo;if(y===Ru&&[Ru,zo,Ku,Nu].indexOf(U)!==-1||(y===Ku||y===zo)&&(U===zo||U===Xo)||(y===Nu||y===Xo)&&U===Xo||U===Vu||U===_u||U===Eb||y===Lb)return St;if(y===Vu&&U===Pu){for(;C===_u;)C=s[--c];if(C===Pu)return St}if(y===Yo&&U===Yo){for(var T=0;C===Yo;)T++,C=s[--c];if(T%2===0)return St}return Zo},Mb=function(l){var s=Hb(l),d=s.length,c=0,C=0,y=s.map(kb);return{next:function(){if(c>=d)return{done:!0,value:null};for(var U=St;c<d&&(U=Db(s,y,++c))===St;);if(U!==St||c===d){var T=Tb.apply(null,s.slice(C,c));return C=c,{value:T,done:!1}}return{done:!0,value:null}}}},_b=function(l){for(var s=Mb(l),d=[],c;!(c=s.next()).done;)c.value&&d.push(c.value.slice());return d},Rb=function(l){var s=123;if(l.createRange){var d=l.createRange();if(d.getBoundingClientRect){var c=l.createElement("boundtest");c.style.height=s+"px",c.style.display="block",l.body.appendChild(c),d.selectNode(c);var C=d.getBoundingClientRect(),y=Math.round(C.height);if(l.body.removeChild(c),y===s)return!0}}return!1},Kb=function(l){var s=l.createElement("boundtest");s.style.width="50px",s.style.display="block",s.style.fontSize="12px",s.style.letterSpacing="0px",s.style.wordSpacing="0px",l.body.appendChild(s);var d=l.createRange();s.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var c=s.firstChild,C=h(c.data).map(function(H){return g(H)}),y=0,U={},T=C.every(function(H,N){d.setStart(c,y),d.setEnd(c,y+H.length);var V=d.getBoundingClientRect();y+=H.length;var Y=V.x>U.x||V.y>U.y;return U=V,N===0?!0:Y});return l.body.removeChild(s),T},Nb=function(){return typeof new Image().crossOrigin<"u"},Vb=function(){return typeof new XMLHttpRequest().responseType=="string"},Pb=function(l){var s=new Image,d=l.createElement("canvas"),c=d.getContext("2d");if(!c)return!1;s.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{c.drawImage(s,0,0),d.toDataURL()}catch{return!1}return!0},Gu=function(l){return l[0]===0&&l[1]===255&&l[2]===0&&l[3]===255},Gb=function(l){var s=l.createElement("canvas"),d=100;s.width=d,s.height=d;var c=s.getContext("2d");if(!c)return Promise.reject(!1);c.fillStyle="rgb(0, 255, 0)",c.fillRect(0,0,d,d);var C=new Image,y=s.toDataURL();C.src=y;var U=Jo(d,d,0,0,C);return c.fillStyle="red",c.fillRect(0,0,d,d),Wu(U).then(function(T){c.drawImage(T,0,0);var H=c.getImageData(0,0,d,d).data;c.fillStyle="red",c.fillRect(0,0,d,d);var N=l.createElement("div");return N.style.backgroundImage="url("+y+")",N.style.height=d+"px",Gu(H)?Wu(Jo(d,d,0,0,N)):Promise.reject(!1)}).then(function(T){return c.drawImage(T,0,0),Gu(c.getImageData(0,0,d,d).data)}).catch(function(){return!1})},Jo=function(l,s,d,c,C){var y="http://www.w3.org/2000/svg",U=document.createElementNS(y,"svg"),T=document.createElementNS(y,"foreignObject");return U.setAttributeNS(null,"width",l.toString()),U.setAttributeNS(null,"height",s.toString()),T.setAttributeNS(null,"width","100%"),T.setAttributeNS(null,"height","100%"),T.setAttributeNS(null,"x",d.toString()),T.setAttributeNS(null,"y",c.toString()),T.setAttributeNS(null,"externalResourcesRequired","true"),U.appendChild(T),T.appendChild(C),U},Wu=function(l){return new Promise(function(s,d){var c=new Image;c.onload=function(){return s(c)},c.onerror=d,c.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(l))})},Ve={get SUPPORT_RANGE_BOUNDS(){var l=Rb(document);return Object.defineProperty(Ve,"SUPPORT_RANGE_BOUNDS",{value:l}),l},get SUPPORT_WORD_BREAKING(){var l=Ve.SUPPORT_RANGE_BOUNDS&&Kb(document);return Object.defineProperty(Ve,"SUPPORT_WORD_BREAKING",{value:l}),l},get SUPPORT_SVG_DRAWING(){var l=Pb(document);return Object.defineProperty(Ve,"SUPPORT_SVG_DRAWING",{value:l}),l},get SUPPORT_FOREIGNOBJECT_DRAWING(){var l=typeof Array.from=="function"&&typeof window.fetch=="function"?Gb(document):Promise.resolve(!1);return Object.defineProperty(Ve,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:l}),l},get SUPPORT_CORS_IMAGES(){var l=Nb();return Object.defineProperty(Ve,"SUPPORT_CORS_IMAGES",{value:l}),l},get SUPPORT_RESPONSE_TYPE(){var l=Vb();return Object.defineProperty(Ve,"SUPPORT_RESPONSE_TYPE",{value:l}),l},get SUPPORT_CORS_XHR(){var l="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ve,"SUPPORT_CORS_XHR",{value:l}),l},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var l=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ve,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:l}),l}},Ta=(function(){function l(s,d){this.text=s,this.bounds=d}return l})(),Wb=function(l,s,d,c){var C=Yb(s,d),y=[],U=0;return C.forEach(function(T){if(d.textDecorationLine.length||T.trim().length>0)if(Ve.SUPPORT_RANGE_BOUNDS){var H=zu(c,U,T.length).getClientRects();if(H.length>1){var N=qo(T),V=0;N.forEach(function(tA){y.push(new Ta(tA,n.fromDOMRectList(l,zu(c,V+U,tA.length).getClientRects()))),V+=tA.length})}else y.push(new Ta(T,n.fromDOMRectList(l,H)))}else{var Y=c.splitText(T.length);y.push(new Ta(T,zb(l,c))),c=Y}else Ve.SUPPORT_RANGE_BOUNDS||(c=c.splitText(T.length));U+=T.length}),y},zb=function(l,s){var d=s.ownerDocument;if(d){var c=d.createElement("html2canvaswrapper");c.appendChild(s.cloneNode(!0));var C=s.parentNode;if(C){C.replaceChild(c,s);var y=o(l,c);return c.firstChild&&C.replaceChild(c.firstChild,c),y}}return n.EMPTY},zu=function(l,s,d){var c=l.ownerDocument;if(!c)throw new Error("Node has no owner document");var C=c.createRange();return C.setStart(l,s),C.setEnd(l,s+d),C},qo=function(l){if(Ve.SUPPORT_NATIVE_TEXT_SEGMENTATION){var s=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(s.segment(l)).map(function(d){return d.segment})}return _b(l)},Xb=function(l,s){if(Ve.SUPPORT_NATIVE_TEXT_SEGMENTATION){var d=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(d.segment(l)).map(function(c){return c.segment})}return Jb(l,s)},Yb=function(l,s){return s.letterSpacing!==0?qo(l):Xb(l,s)},Zb=[32,160,4961,65792,65793,4153,4241],Jb=function(l,s){for(var d=vC(l,{lineBreak:s.lineBreak,wordBreak:s.overflowWrap==="break-word"?"break-word":s.wordBreak}),c=[],C,y=function(){if(C.value){var U=C.value.slice(),T=h(U),H="";T.forEach(function(N){Zb.indexOf(N)===-1?H+=g(N):(H.length&&c.push(H),c.push(g(N)),H="")}),H.length&&c.push(H)}};!(C=d.next()).done;)y();return c},qb=(function(){function l(s,d,c){this.text=jb(d.data,c.textTransform),this.textBounds=Wb(s,this.text,c,d)}return l})(),jb=function(l,s){switch(s){case 1:return l.toLowerCase();case 3:return l.replace($b,Ay);case 2:return l.toUpperCase();default:return l}},$b=/(^|\s|:|-|\(|\))([a-z])/g,Ay=function(l,s,d){return l.length>0?s+d.toUpperCase():l},Xu=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C.src=c.currentSrc||c.src,C.intrinsicWidth=c.naturalWidth,C.intrinsicHeight=c.naturalHeight,C.context.cache.addImage(C.src),C}return s})(Jt),Yu=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C.canvas=c,C.intrinsicWidth=c.width,C.intrinsicHeight=c.height,C}return s})(Jt),Zu=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this,y=new XMLSerializer,U=o(d,c);return c.setAttribute("width",U.width+"px"),c.setAttribute("height",U.height+"px"),C.svg="data:image/svg+xml,"+encodeURIComponent(y.serializeToString(c)),C.intrinsicWidth=c.width.baseVal.value,C.intrinsicHeight=c.height.baseVal.value,C.context.cache.addImage(C.svg),C}return s})(Jt),Ju=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C.value=c.value,C}return s})(Jt),jo=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C.start=c.start,C.reversed=typeof c.reversed=="boolean"&&c.reversed===!0,C}return s})(Jt),ey=[{type:15,flags:0,unit:"px",number:3}],ty=[{type:16,flags:0,number:50}],iy=function(l){return l.width>l.height?new n(l.left+(l.width-l.height)/2,l.top,l.height,l.height):l.width<l.height?new n(l.left,l.top+(l.height-l.width)/2,l.width,l.width):l},ry=function(l){var s=l.type===ay?new Array(l.value.length+1).join("\u2022"):l.value;return s.length===0?l.placeholder||"":s},Gn="checkbox",Wn="radio",ay="password",qu=707406591,$o=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;switch(C.type=c.type.toLowerCase(),C.checked=c.checked,C.value=ry(c),(C.type===Gn||C.type===Wn)&&(C.styles.backgroundColor=3739148031,C.styles.borderTopColor=C.styles.borderRightColor=C.styles.borderBottomColor=C.styles.borderLeftColor=2779096575,C.styles.borderTopWidth=C.styles.borderRightWidth=C.styles.borderBottomWidth=C.styles.borderLeftWidth=1,C.styles.borderTopStyle=C.styles.borderRightStyle=C.styles.borderBottomStyle=C.styles.borderLeftStyle=1,C.styles.backgroundClip=[0],C.styles.backgroundOrigin=[0],C.bounds=iy(C.bounds)),C.type){case Gn:C.styles.borderTopRightRadius=C.styles.borderTopLeftRadius=C.styles.borderBottomRightRadius=C.styles.borderBottomLeftRadius=ey;break;case Wn:C.styles.borderTopRightRadius=C.styles.borderTopLeftRadius=C.styles.borderBottomRightRadius=C.styles.borderBottomLeftRadius=ty;break}return C}return s})(Jt),ju=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this,y=c.options[c.selectedIndex||0];return C.value=y&&y.text||"",C}return s})(Jt),$u=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C.value=c.value,C}return s})(Jt),Ah=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;C.src=c.src,C.width=parseInt(c.width,10)||0,C.height=parseInt(c.height,10)||0,C.backgroundColor=C.styles.backgroundColor;try{if(c.contentWindow&&c.contentWindow.document&&c.contentWindow.document.documentElement){C.tree=th(d,c.contentWindow.document.documentElement);var y=c.contentWindow.document.documentElement?La(d,getComputedStyle(c.contentWindow.document.documentElement).backgroundColor):ui.TRANSPARENT,U=c.contentWindow.document.body?La(d,getComputedStyle(c.contentWindow.document.body).backgroundColor):ui.TRANSPARENT;C.backgroundColor=Hi(y)?Hi(U)?C.styles.backgroundColor:U:y}}catch{}return C}return s})(Jt),ny=["OL","UL","MENU"],zn=function(l,s,d,c){for(var C=s.firstChild,y=void 0;C;C=y)if(y=C.nextSibling,ih(C)&&C.data.trim().length>0)d.textNodes.push(new qb(l,C,d.styles));else if(Pr(C))if(lh(C)&&C.assignedNodes)C.assignedNodes().forEach(function(T){return zn(l,T,d,c)});else{var U=eh(l,C);U.styles.isVisible()&&(sy(C,U,c)?U.flags|=4:oy(U.styles)&&(U.flags|=2),ny.indexOf(C.tagName)!==-1&&(U.flags|=8),d.elements.push(U),C.slot,C.shadowRoot?zn(l,C.shadowRoot,U,c):!Yn(C)&&!rh(C)&&!Zn(C)&&zn(l,C,U,c))}},eh=function(l,s){return tl(s)?new Xu(l,s):ah(s)?new Yu(l,s):rh(s)?new Zu(l,s):ly(s)?new Ju(l,s):cy(s)?new jo(l,s):dy(s)?new $o(l,s):Zn(s)?new ju(l,s):Yn(s)?new $u(l,s):sh(s)?new Ah(l,s):new Jt(l,s)},th=function(l,s){var d=eh(l,s);return d.flags|=4,zn(l,s,d,d),d},sy=function(l,s,d){return s.styles.isPositionedWithZIndex()||s.styles.opacity<1||s.styles.isTransformed()||el(l)&&d.styles.isTransparent()},oy=function(l){return l.isPositioned()||l.isFloating()},ih=function(l){return l.nodeType===Node.TEXT_NODE},Pr=function(l){return l.nodeType===Node.ELEMENT_NODE},Al=function(l){return Pr(l)&&typeof l.style<"u"&&!Xn(l)},Xn=function(l){return typeof l.className=="object"},ly=function(l){return l.tagName==="LI"},cy=function(l){return l.tagName==="OL"},dy=function(l){return l.tagName==="INPUT"},uy=function(l){return l.tagName==="HTML"},rh=function(l){return l.tagName==="svg"},el=function(l){return l.tagName==="BODY"},ah=function(l){return l.tagName==="CANVAS"},nh=function(l){return l.tagName==="VIDEO"},tl=function(l){return l.tagName==="IMG"},sh=function(l){return l.tagName==="IFRAME"},oh=function(l){return l.tagName==="STYLE"},hy=function(l){return l.tagName==="SCRIPT"},Yn=function(l){return l.tagName==="TEXTAREA"},Zn=function(l){return l.tagName==="SELECT"},lh=function(l){return l.tagName==="SLOT"},ch=function(l){return l.tagName.indexOf("-")>0},fy=(function(){function l(){this.counters={}}return l.prototype.getCounterValue=function(s){var d=this.counters[s];return d&&d.length?d[d.length-1]:1},l.prototype.getCounterValues=function(s){var d=this.counters[s];return d||[]},l.prototype.pop=function(s){var d=this;s.forEach(function(c){return d.counters[c].pop()})},l.prototype.parse=function(s){var d=this,c=s.counterIncrement,C=s.counterReset,y=!0;c!==null&&c.forEach(function(T){var H=d.counters[T.counter];H&&T.increment!==0&&(y=!1,H.length||H.push(1),H[Math.max(0,H.length-1)]+=T.increment)});var U=[];return y&&C.forEach(function(T){var H=d.counters[T.counter];U.push(T.counter),H||(H=d.counters[T.counter]=[]),H.push(T.reset)}),U},l})(),dh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},uh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},gy={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},By={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Gr=function(l,s,d,c,C,y){return l<s||l>d?ka(l,C,y.length>0):c.integers.reduce(function(U,T,H){for(;l>=T;)l-=T,U+=c.values[H];return U},"")+y},hh=function(l,s,d,c){var C="";do d||l--,C=c(l)+C,l/=s;while(l*s>=s);return C},pe=function(l,s,d,c,C){var y=d-s+1;return(l<0?"-":"")+(hh(Math.abs(l),y,c,function(U){return g(Math.floor(U%y)+s)})+C)},tr=function(l,s,d){d===void 0&&(d=". ");var c=s.length;return hh(Math.abs(l),c,!1,function(C){return s[Math.floor(C%c)]})+d},Wr=1,Oi=2,ki=4,Oa=8,hi=function(l,s,d,c,C,y){if(l<-9999||l>9999)return ka(l,4,C.length>0);var U=Math.abs(l),T=C;if(U===0)return s[0]+T;for(var H=0;U>0&&H<=4;H++){var N=U%10;N===0&&Ue(y,Wr)&&T!==""?T=s[N]+T:N>1||N===1&&H===0||N===1&&H===1&&Ue(y,Oi)||N===1&&H===1&&Ue(y,ki)&&l>100||N===1&&H>1&&Ue(y,Oa)?T=s[N]+(H>0?d[H-1]:"")+T:N===1&&H>0&&(T=d[H-1]+T),U=Math.floor(U/10)}return(l<0?c:"")+T},fh="\u5341\u767E\u5343\u842C",gh="\u62FE\u4F70\u4EDF\u842C",Bh="\u30DE\u30A4\u30CA\u30B9",il="\uB9C8\uC774\uB108\uC2A4",ka=function(l,s,d){var c=d?". ":"",C=d?"\u3001":"",y=d?", ":"",U=d?" ":"";switch(s){case 0:return"\u2022"+U;case 1:return"\u25E6"+U;case 2:return"\u25FE"+U;case 5:var T=pe(l,48,57,!0,c);return T.length<4?"0"+T:T;case 4:return tr(l,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",C);case 6:return Gr(l,1,3999,dh,3,c).toLowerCase();case 7:return Gr(l,1,3999,dh,3,c);case 8:return pe(l,945,969,!1,c);case 9:return pe(l,97,122,!1,c);case 10:return pe(l,65,90,!1,c);case 11:return pe(l,1632,1641,!0,c);case 12:case 49:return Gr(l,1,9999,uh,3,c);case 35:return Gr(l,1,9999,uh,3,c).toLowerCase();case 13:return pe(l,2534,2543,!0,c);case 14:case 30:return pe(l,6112,6121,!0,c);case 15:return tr(l,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",C);case 16:return tr(l,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",C);case 17:case 48:return hi(l,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",fh,"\u8CA0",C,Oi|ki|Oa);case 47:return hi(l,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",gh,"\u8CA0",C,Wr|Oi|ki|Oa);case 42:return hi(l,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",fh,"\u8D1F",C,Oi|ki|Oa);case 41:return hi(l,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",gh,"\u8D1F",C,Wr|Oi|ki|Oa);case 26:return hi(l,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Bh,C,0);case 25:return hi(l,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Bh,C,Wr|Oi|ki);case 31:return hi(l,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",il,y,Wr|Oi|ki);case 33:return hi(l,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",il,y,0);case 32:return hi(l,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",il,y,Wr|Oi|ki);case 18:return pe(l,2406,2415,!0,c);case 20:return Gr(l,1,19999,By,3,c);case 21:return pe(l,2790,2799,!0,c);case 22:return pe(l,2662,2671,!0,c);case 22:return Gr(l,1,10999,gy,3,c);case 23:return tr(l,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return tr(l,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return pe(l,3302,3311,!0,c);case 28:return tr(l,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",C);case 29:return tr(l,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",C);case 34:return pe(l,3792,3801,!0,c);case 37:return pe(l,6160,6169,!0,c);case 38:return pe(l,4160,4169,!0,c);case 39:return pe(l,2918,2927,!0,c);case 40:return pe(l,1776,1785,!0,c);case 43:return pe(l,3046,3055,!0,c);case 44:return pe(l,3174,3183,!0,c);case 45:return pe(l,3664,3673,!0,c);case 46:return pe(l,3872,3881,!0,c);default:return pe(l,48,57,!0,c)}},mh="data-html2canvas-ignore",ph=(function(){function l(s,d,c){if(this.context=s,this.options=c,this.scrolledElements=[],this.referenceElement=d,this.counters=new fy,this.quoteDepth=0,!d.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(d.ownerDocument.documentElement,!1)}return l.prototype.toIFrame=function(s,d){var c=this,C=my(s,d);if(!C.contentWindow)return Promise.reject("Unable to find iframe window");var y=s.defaultView.pageXOffset,U=s.defaultView.pageYOffset,T=C.contentWindow,H=T.document,N=wy(C).then(function(){return i(c,void 0,void 0,function(){var V,Y;return r(this,function(tA){switch(tA.label){case 0:return this.scrolledElements.forEach(Fy),T&&(T.scrollTo(d.left,d.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(T.scrollY!==d.top||T.scrollX!==d.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(T.scrollX-d.left,T.scrollY-d.top,0,0))),V=this.options.onclone,Y=this.clonedReferenceElement,typeof Y>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:H.fonts&&H.fonts.ready?[4,H.fonts.ready]:[3,2];case 1:tA.sent(),tA.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Cy(H)]:[3,4];case 3:tA.sent(),tA.label=4;case 4:return typeof V=="function"?[2,Promise.resolve().then(function(){return V(H,Y)}).then(function(){return C})]:[2,C]}})})});return H.open(),H.write(yy(document.doctype)+"<html></html>"),vy(this.referenceElement.ownerDocument,y,U),H.replaceChild(H.adoptNode(this.documentElement),H.documentElement),H.close(),N},l.prototype.createElementClone=function(s){if(Ko(s,2))debugger;if(ah(s))return this.createCanvasClone(s);if(nh(s))return this.createVideoClone(s);if(oh(s))return this.createStyleClone(s);var d=s.cloneNode(!1);return tl(d)&&(tl(s)&&s.currentSrc&&s.currentSrc!==s.src&&(d.src=s.currentSrc,d.srcset=""),d.loading==="lazy"&&(d.loading="eager")),ch(d)?this.createCustomElementClone(d):d},l.prototype.createCustomElementClone=function(s){var d=document.createElement("html2canvascustomelement");return rl(s.style,d),d},l.prototype.createStyleClone=function(s){try{var d=s.sheet;if(d&&d.cssRules){var c=[].slice.call(d.cssRules,0).reduce(function(y,U){return U&&typeof U.cssText=="string"?y+U.cssText:y},""),C=s.cloneNode(!1);return C.textContent=c,C}}catch(y){if(this.context.logger.error("Unable to access cssRules property",y),y.name!=="SecurityError")throw y}return s.cloneNode(!1)},l.prototype.createCanvasClone=function(s){var d;if(this.options.inlineImages&&s.ownerDocument){var c=s.ownerDocument.createElement("img");try{return c.src=s.toDataURL(),c}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",s)}}var C=s.cloneNode(!1);try{C.width=s.width,C.height=s.height;var y=s.getContext("2d"),U=C.getContext("2d");if(U)if(!this.options.allowTaint&&y)U.putImageData(y.getImageData(0,0,s.width,s.height),0,0);else{var T=(d=s.getContext("webgl2"))!==null&&d!==void 0?d:s.getContext("webgl");if(T){var H=T.getContextAttributes();H?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",s)}U.drawImage(s,0,0)}return C}catch{this.context.logger.info("Unable to clone canvas as it is tainted",s)}return C},l.prototype.createVideoClone=function(s){var d=s.ownerDocument.createElement("canvas");d.width=s.offsetWidth,d.height=s.offsetHeight;var c=d.getContext("2d");try{return c&&(c.drawImage(s,0,0,d.width,d.height),this.options.allowTaint||c.getImageData(0,0,d.width,d.height)),d}catch{this.context.logger.info("Unable to clone video as it is tainted",s)}var C=s.ownerDocument.createElement("canvas");return C.width=s.offsetWidth,C.height=s.offsetHeight,C},l.prototype.appendChildNode=function(s,d,c){(!Pr(d)||!hy(d)&&!d.hasAttribute(mh)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(d)))&&(!this.options.copyStyles||!Pr(d)||!oh(d))&&s.appendChild(this.cloneNode(d,c))},l.prototype.cloneChildNodes=function(s,d,c){for(var C=this,y=s.shadowRoot?s.shadowRoot.firstChild:s.firstChild;y;y=y.nextSibling)if(Pr(y)&&lh(y)&&typeof y.assignedNodes=="function"){var U=y.assignedNodes();U.length&&U.forEach(function(T){return C.appendChildNode(d,T,c)})}else this.appendChildNode(d,y,c)},l.prototype.cloneNode=function(s,d){if(ih(s))return document.createTextNode(s.data);if(!s.ownerDocument)return s.cloneNode(!1);var c=s.ownerDocument.defaultView;if(c&&Pr(s)&&(Al(s)||Xn(s))){var C=this.createElementClone(s);C.style.transitionProperty="none";var y=c.getComputedStyle(s),U=c.getComputedStyle(s,":before"),T=c.getComputedStyle(s,":after");this.referenceElement===s&&Al(C)&&(this.clonedReferenceElement=C),el(C)&&Sy(C);var H=this.counters.parse(new Hu(this.context,y)),N=this.resolvePseudoContent(s,C,U,Da.BEFORE);ch(s)&&(d=!0),nh(s)||this.cloneChildNodes(s,C,d),N&&C.insertBefore(N,C.firstChild);var V=this.resolvePseudoContent(s,C,T,Da.AFTER);return V&&C.appendChild(V),this.counters.pop(H),(y&&(this.options.copyStyles||Xn(s))&&!sh(s)||d)&&rl(y,C),(s.scrollTop!==0||s.scrollLeft!==0)&&this.scrolledElements.push([C,s.scrollLeft,s.scrollTop]),(Yn(s)||Zn(s))&&(Yn(C)||Zn(C))&&(C.value=s.value),C}return s.cloneNode(!1)},l.prototype.resolvePseudoContent=function(s,d,c,C){var y=this;if(c){var U=c.content,T=d.ownerDocument;if(!(!T||!U||U==="none"||U==="-moz-alt-content"||c.display==="none")){this.counters.parse(new Hu(this.context,c));var H=new lb(this.context,c),N=T.createElement("html2canvaspseudoelement");rl(c,N),H.content.forEach(function(Y){if(Y.type===0)N.appendChild(T.createTextNode(Y.value));else if(Y.type===22){var tA=T.createElement("img");tA.src=Y.value,tA.style.opacity="1",N.appendChild(tA)}else if(Y.type===18){if(Y.name==="attr"){var wA=Y.values.filter(ie);wA.length&&N.appendChild(T.createTextNode(s.getAttribute(wA[0].value)||""))}else if(Y.name==="counter"){var fA=Y.values.filter(Nr),BA=fA[0],kA=fA[1];if(BA&&ie(BA)){var FA=y.counters.getCounterValue(BA.value),vA=kA&&ie(kA)?Ro.parse(y.context,kA.value):3;N.appendChild(T.createTextNode(ka(FA,vA,!1)))}}else if(Y.name==="counters"){var YA=Y.values.filter(Nr),BA=YA[0],DA=YA[1],kA=YA[2];if(BA&&ie(BA)){var LA=y.counters.getCounterValues(BA.value),pA=kA&&ie(kA)?Ro.parse(y.context,kA.value):3,VA=DA&&DA.type===0?DA.value:"",PA=LA.map(function(nt){return ka(nt,pA,!1)}).join(VA);N.appendChild(T.createTextNode(PA))}}}else if(Y.type===20)switch(Y.value){case"open-quote":N.appendChild(T.createTextNode(Eu(H.quotes,y.quoteDepth++,!0)));break;case"close-quote":N.appendChild(T.createTextNode(Eu(H.quotes,--y.quoteDepth,!1)));break;default:N.appendChild(T.createTextNode(Y.value))}}),N.className=al+" "+nl;var V=C===Da.BEFORE?" "+al:" "+nl;return Xn(d)?d.className.baseValue+=V:d.className+=V,N}}},l.destroy=function(s){return s.parentNode?(s.parentNode.removeChild(s),!0):!1},l})(),Da;(function(l){l[l.BEFORE=0]="BEFORE",l[l.AFTER=1]="AFTER"})(Da||(Da={}));var my=function(l,s){var d=l.createElement("iframe");return d.className="html2canvas-container",d.style.visibility="hidden",d.style.position="fixed",d.style.left="-10000px",d.style.top="0px",d.style.border="0",d.width=s.width.toString(),d.height=s.height.toString(),d.scrolling="no",d.setAttribute(mh,"true"),l.body.appendChild(d),d},py=function(l){return new Promise(function(s){if(l.complete){s();return}if(!l.src){s();return}l.onload=s,l.onerror=s})},Cy=function(l){return Promise.all([].slice.call(l.images,0).map(py))},wy=function(l){return new Promise(function(s,d){var c=l.contentWindow;if(!c)return d("No window assigned for iframe");var C=c.document;c.onload=l.onload=function(){c.onload=l.onload=null;var y=setInterval(function(){C.body.childNodes.length>0&&C.readyState==="complete"&&(clearInterval(y),s(l))},50)}})},by=["all","d","content"],rl=function(l,s){for(var d=l.length-1;d>=0;d--){var c=l.item(d);by.indexOf(c)===-1&&s.style.setProperty(c,l.getPropertyValue(c))}return s},yy=function(l){var s="";return l&&(s+="<!DOCTYPE ",l.name&&(s+=l.name),l.internalSubset&&(s+=l.internalSubset),l.publicId&&(s+='"'+l.publicId+'"'),l.systemId&&(s+='"'+l.systemId+'"'),s+=">"),s},vy=function(l,s,d){l&&l.defaultView&&(s!==l.defaultView.pageXOffset||d!==l.defaultView.pageYOffset)&&l.defaultView.scrollTo(s,d)},Fy=function(l){var s=l[0],d=l[1],c=l[2];s.scrollLeft=d,s.scrollTop=c},xy=":before",Qy=":after",al="___html2canvas___pseudoelement_before",nl="___html2canvas___pseudoelement_after",Ch=`{
3
+ content: "" !important;
4
+ display: none !important;
5
+ }`,Sy=function(l){Uy(l,"."+al+xy+Ch+`
6
+ .`+nl+Qy+Ch)},Uy=function(l,s){var d=l.ownerDocument;if(d){var c=d.createElement("style");c.textContent=s,l.appendChild(c)}},wh=(function(){function l(){}return l.getOrigin=function(s){var d=l._link;return d?(d.href=s,d.href=d.href,d.protocol+d.hostname+d.port):"about:blank"},l.isSameOrigin=function(s){return l.getOrigin(s)===l._origin},l.setContext=function(s){l._link=s.document.createElement("a"),l._origin=l.getOrigin(s.location.href)},l._origin="about:blank",l})(),Iy=(function(){function l(s,d){this.context=s,this._options=d,this._cache={}}return l.prototype.addImage=function(s){var d=Promise.resolve();return this.has(s)||(ol(s)||Ty(s))&&(this._cache[s]=this.loadImage(s)).catch(function(){}),d},l.prototype.match=function(s){return this._cache[s]},l.prototype.loadImage=function(s){return i(this,void 0,void 0,function(){var d,c,C,y,U=this;return r(this,function(T){switch(T.label){case 0:return d=wh.isSameOrigin(s),c=!sl(s)&&this._options.useCORS===!0&&Ve.SUPPORT_CORS_IMAGES&&!d,C=!sl(s)&&!d&&!ol(s)&&typeof this._options.proxy=="string"&&Ve.SUPPORT_CORS_XHR&&!c,!d&&this._options.allowTaint===!1&&!sl(s)&&!ol(s)&&!C&&!c?[2]:(y=s,C?[4,this.proxy(y)]:[3,2]);case 1:y=T.sent(),T.label=2;case 2:return this.context.logger.debug("Added image "+s.substring(0,256)),[4,new Promise(function(H,N){var V=new Image;V.onload=function(){return H(V)},V.onerror=N,(Oy(y)||c)&&(V.crossOrigin="anonymous"),V.src=y,V.complete===!0&&setTimeout(function(){return H(V)},500),U._options.imageTimeout>0&&setTimeout(function(){return N("Timed out ("+U._options.imageTimeout+"ms) loading image")},U._options.imageTimeout)})];case 3:return[2,T.sent()]}})})},l.prototype.has=function(s){return typeof this._cache[s]<"u"},l.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},l.prototype.proxy=function(s){var d=this,c=this._options.proxy;if(!c)throw new Error("No proxy defined");var C=s.substring(0,256);return new Promise(function(y,U){var T=Ve.SUPPORT_RESPONSE_TYPE?"blob":"text",H=new XMLHttpRequest;H.onload=function(){if(H.status===200)if(T==="text")y(H.response);else{var Y=new FileReader;Y.addEventListener("load",function(){return y(Y.result)},!1),Y.addEventListener("error",function(tA){return U(tA)},!1),Y.readAsDataURL(H.response)}else U("Failed to proxy resource "+C+" with status code "+H.status)},H.onerror=U;var N=c.indexOf("?")>-1?"&":"?";if(H.open("GET",""+c+N+"url="+encodeURIComponent(s)+"&responseType="+T),T!=="text"&&H instanceof XMLHttpRequest&&(H.responseType=T),d._options.imageTimeout){var V=d._options.imageTimeout;H.timeout=V,H.ontimeout=function(){return U("Timed out ("+V+"ms) proxying "+C)}}H.send()})},l})(),Ly=/^data:image\/svg\+xml/i,Ey=/^data:image\/.*;base64,/i,Hy=/^data:image\/.*/i,Ty=function(l){return Ve.SUPPORT_SVG_DRAWING||!ky(l)},sl=function(l){return Hy.test(l)},Oy=function(l){return Ey.test(l)},ol=function(l){return l.substr(0,4)==="blob"},ky=function(l){return l.substr(-3).toLowerCase()==="svg"||Ly.test(l)},mA=(function(){function l(s,d){this.type=0,this.x=s,this.y=d}return l.prototype.add=function(s,d){return new l(this.x+s,this.y+d)},l})(),zr=function(l,s,d){return new mA(l.x+(s.x-l.x)*d,l.y+(s.y-l.y)*d)},Jn=(function(){function l(s,d,c,C){this.type=1,this.start=s,this.startControl=d,this.endControl=c,this.end=C}return l.prototype.subdivide=function(s,d){var c=zr(this.start,this.startControl,s),C=zr(this.startControl,this.endControl,s),y=zr(this.endControl,this.end,s),U=zr(c,C,s),T=zr(C,y,s),H=zr(U,T,s);return d?new l(this.start,c,U,H):new l(H,T,y,this.end)},l.prototype.add=function(s,d){return new l(this.start.add(s,d),this.startControl.add(s,d),this.endControl.add(s,d),this.end.add(s,d))},l.prototype.reverse=function(){return new l(this.end,this.endControl,this.startControl,this.start)},l})(),Ut=function(l){return l.type===1},Dy=(function(){function l(s){var d=s.styles,c=s.bounds,C=Ia(d.borderTopLeftRadius,c.width,c.height),y=C[0],U=C[1],T=Ia(d.borderTopRightRadius,c.width,c.height),H=T[0],N=T[1],V=Ia(d.borderBottomRightRadius,c.width,c.height),Y=V[0],tA=V[1],wA=Ia(d.borderBottomLeftRadius,c.width,c.height),fA=wA[0],BA=wA[1],kA=[];kA.push((y+H)/c.width),kA.push((fA+Y)/c.width),kA.push((U+BA)/c.height),kA.push((N+tA)/c.height);var FA=Math.max.apply(Math,kA);FA>1&&(y/=FA,U/=FA,H/=FA,N/=FA,Y/=FA,tA/=FA,fA/=FA,BA/=FA);var vA=c.width-H,YA=c.height-tA,DA=c.width-Y,LA=c.height-BA,pA=d.borderTopWidth,VA=d.borderRightWidth,PA=d.borderBottomWidth,EA=d.borderLeftWidth,ve=le(d.paddingTop,s.bounds.width),nt=le(d.paddingRight,s.bounds.width),ft=le(d.paddingBottom,s.bounds.width),re=le(d.paddingLeft,s.bounds.width);this.topLeftBorderDoubleOuterBox=y>0||U>0?ue(c.left+EA/3,c.top+pA/3,y-EA/3,U-pA/3,qA.TOP_LEFT):new mA(c.left+EA/3,c.top+pA/3),this.topRightBorderDoubleOuterBox=y>0||U>0?ue(c.left+vA,c.top+pA/3,H-VA/3,N-pA/3,qA.TOP_RIGHT):new mA(c.left+c.width-VA/3,c.top+pA/3),this.bottomRightBorderDoubleOuterBox=Y>0||tA>0?ue(c.left+DA,c.top+YA,Y-VA/3,tA-PA/3,qA.BOTTOM_RIGHT):new mA(c.left+c.width-VA/3,c.top+c.height-PA/3),this.bottomLeftBorderDoubleOuterBox=fA>0||BA>0?ue(c.left+EA/3,c.top+LA,fA-EA/3,BA-PA/3,qA.BOTTOM_LEFT):new mA(c.left+EA/3,c.top+c.height-PA/3),this.topLeftBorderDoubleInnerBox=y>0||U>0?ue(c.left+EA*2/3,c.top+pA*2/3,y-EA*2/3,U-pA*2/3,qA.TOP_LEFT):new mA(c.left+EA*2/3,c.top+pA*2/3),this.topRightBorderDoubleInnerBox=y>0||U>0?ue(c.left+vA,c.top+pA*2/3,H-VA*2/3,N-pA*2/3,qA.TOP_RIGHT):new mA(c.left+c.width-VA*2/3,c.top+pA*2/3),this.bottomRightBorderDoubleInnerBox=Y>0||tA>0?ue(c.left+DA,c.top+YA,Y-VA*2/3,tA-PA*2/3,qA.BOTTOM_RIGHT):new mA(c.left+c.width-VA*2/3,c.top+c.height-PA*2/3),this.bottomLeftBorderDoubleInnerBox=fA>0||BA>0?ue(c.left+EA*2/3,c.top+LA,fA-EA*2/3,BA-PA*2/3,qA.BOTTOM_LEFT):new mA(c.left+EA*2/3,c.top+c.height-PA*2/3),this.topLeftBorderStroke=y>0||U>0?ue(c.left+EA/2,c.top+pA/2,y-EA/2,U-pA/2,qA.TOP_LEFT):new mA(c.left+EA/2,c.top+pA/2),this.topRightBorderStroke=y>0||U>0?ue(c.left+vA,c.top+pA/2,H-VA/2,N-pA/2,qA.TOP_RIGHT):new mA(c.left+c.width-VA/2,c.top+pA/2),this.bottomRightBorderStroke=Y>0||tA>0?ue(c.left+DA,c.top+YA,Y-VA/2,tA-PA/2,qA.BOTTOM_RIGHT):new mA(c.left+c.width-VA/2,c.top+c.height-PA/2),this.bottomLeftBorderStroke=fA>0||BA>0?ue(c.left+EA/2,c.top+LA,fA-EA/2,BA-PA/2,qA.BOTTOM_LEFT):new mA(c.left+EA/2,c.top+c.height-PA/2),this.topLeftBorderBox=y>0||U>0?ue(c.left,c.top,y,U,qA.TOP_LEFT):new mA(c.left,c.top),this.topRightBorderBox=H>0||N>0?ue(c.left+vA,c.top,H,N,qA.TOP_RIGHT):new mA(c.left+c.width,c.top),this.bottomRightBorderBox=Y>0||tA>0?ue(c.left+DA,c.top+YA,Y,tA,qA.BOTTOM_RIGHT):new mA(c.left+c.width,c.top+c.height),this.bottomLeftBorderBox=fA>0||BA>0?ue(c.left,c.top+LA,fA,BA,qA.BOTTOM_LEFT):new mA(c.left,c.top+c.height),this.topLeftPaddingBox=y>0||U>0?ue(c.left+EA,c.top+pA,Math.max(0,y-EA),Math.max(0,U-pA),qA.TOP_LEFT):new mA(c.left+EA,c.top+pA),this.topRightPaddingBox=H>0||N>0?ue(c.left+Math.min(vA,c.width-VA),c.top+pA,vA>c.width+VA?0:Math.max(0,H-VA),Math.max(0,N-pA),qA.TOP_RIGHT):new mA(c.left+c.width-VA,c.top+pA),this.bottomRightPaddingBox=Y>0||tA>0?ue(c.left+Math.min(DA,c.width-EA),c.top+Math.min(YA,c.height-PA),Math.max(0,Y-VA),Math.max(0,tA-PA),qA.BOTTOM_RIGHT):new mA(c.left+c.width-VA,c.top+c.height-PA),this.bottomLeftPaddingBox=fA>0||BA>0?ue(c.left+EA,c.top+Math.min(LA,c.height-PA),Math.max(0,fA-EA),Math.max(0,BA-PA),qA.BOTTOM_LEFT):new mA(c.left+EA,c.top+c.height-PA),this.topLeftContentBox=y>0||U>0?ue(c.left+EA+re,c.top+pA+ve,Math.max(0,y-(EA+re)),Math.max(0,U-(pA+ve)),qA.TOP_LEFT):new mA(c.left+EA+re,c.top+pA+ve),this.topRightContentBox=H>0||N>0?ue(c.left+Math.min(vA,c.width+EA+re),c.top+pA+ve,vA>c.width+EA+re?0:H-EA+re,N-(pA+ve),qA.TOP_RIGHT):new mA(c.left+c.width-(VA+nt),c.top+pA+ve),this.bottomRightContentBox=Y>0||tA>0?ue(c.left+Math.min(DA,c.width-(EA+re)),c.top+Math.min(YA,c.height+pA+ve),Math.max(0,Y-(VA+nt)),tA-(PA+ft),qA.BOTTOM_RIGHT):new mA(c.left+c.width-(VA+nt),c.top+c.height-(PA+ft)),this.bottomLeftContentBox=fA>0||BA>0?ue(c.left+EA+re,c.top+LA,Math.max(0,fA-(EA+re)),BA-(PA+ft),qA.BOTTOM_LEFT):new mA(c.left+EA+re,c.top+c.height-(PA+ft))}return l})(),qA;(function(l){l[l.TOP_LEFT=0]="TOP_LEFT",l[l.TOP_RIGHT=1]="TOP_RIGHT",l[l.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",l[l.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(qA||(qA={}));var ue=function(l,s,d,c,C){var y=4*((Math.sqrt(2)-1)/3),U=d*y,T=c*y,H=l+d,N=s+c;switch(C){case qA.TOP_LEFT:return new Jn(new mA(l,N),new mA(l,N-T),new mA(H-U,s),new mA(H,s));case qA.TOP_RIGHT:return new Jn(new mA(l,s),new mA(l+U,s),new mA(H,N-T),new mA(H,N));case qA.BOTTOM_RIGHT:return new Jn(new mA(H,s),new mA(H,s+T),new mA(l+U,N),new mA(l,N));case qA.BOTTOM_LEFT:default:return new Jn(new mA(H,N),new mA(H-U,N),new mA(l,s+T),new mA(l,s))}},qn=function(l){return[l.topLeftBorderBox,l.topRightBorderBox,l.bottomRightBorderBox,l.bottomLeftBorderBox]},My=function(l){return[l.topLeftContentBox,l.topRightContentBox,l.bottomRightContentBox,l.bottomLeftContentBox]},jn=function(l){return[l.topLeftPaddingBox,l.topRightPaddingBox,l.bottomRightPaddingBox,l.bottomLeftPaddingBox]},_y=(function(){function l(s,d,c){this.offsetX=s,this.offsetY=d,this.matrix=c,this.type=0,this.target=6}return l})(),$n=(function(){function l(s,d){this.path=s,this.target=d,this.type=1}return l})(),Ry=(function(){function l(s){this.opacity=s,this.type=2,this.target=6}return l})(),Ky=function(l){return l.type===0},bh=function(l){return l.type===1},Ny=function(l){return l.type===2},yh=function(l,s){return l.length===s.length?l.some(function(d,c){return d===s[c]}):!1},Vy=function(l,s,d,c,C){return l.map(function(y,U){switch(U){case 0:return y.add(s,d);case 1:return y.add(s+c,d);case 2:return y.add(s+c,d+C);case 3:return y.add(s,d+C)}return y})},vh=(function(){function l(s){this.element=s,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return l})(),Fh=(function(){function l(s,d){if(this.container=s,this.parent=d,this.effects=[],this.curves=new Dy(this.container),this.container.styles.opacity<1&&this.effects.push(new Ry(this.container.styles.opacity)),this.container.styles.transform!==null){var c=this.container.bounds.left+this.container.styles.transformOrigin[0].number,C=this.container.bounds.top+this.container.styles.transformOrigin[1].number,y=this.container.styles.transform;this.effects.push(new _y(c,C,y))}if(this.container.styles.overflowX!==0){var U=qn(this.curves),T=jn(this.curves);yh(U,T)?this.effects.push(new $n(U,6)):(this.effects.push(new $n(U,2)),this.effects.push(new $n(T,4)))}}return l.prototype.getEffects=function(s){for(var d=[2,3].indexOf(this.container.styles.position)===-1,c=this.parent,C=this.effects.slice(0);c;){var y=c.effects.filter(function(H){return!bh(H)});if(d||c.container.styles.position!==0||!c.parent){if(C.unshift.apply(C,y),d=[2,3].indexOf(c.container.styles.position)===-1,c.container.styles.overflowX!==0){var U=qn(c.curves),T=jn(c.curves);yh(U,T)||C.unshift(new $n(T,6))}}else C.unshift.apply(C,y);c=c.parent}return C.filter(function(H){return Ue(H.target,s)})},l})(),ll=function(l,s,d,c){l.container.elements.forEach(function(C){var y=Ue(C.flags,4),U=Ue(C.flags,2),T=new Fh(C,l);Ue(C.styles.display,2048)&&c.push(T);var H=Ue(C.flags,8)?[]:c;if(y||U){var N=y||C.styles.isPositioned()?d:s,V=new vh(T);if(C.styles.isPositioned()||C.styles.opacity<1||C.styles.isTransformed()){var Y=C.styles.zIndex.order;if(Y<0){var tA=0;N.negativeZIndex.some(function(fA,BA){return Y>fA.element.container.styles.zIndex.order?(tA=BA,!1):tA>0}),N.negativeZIndex.splice(tA,0,V)}else if(Y>0){var wA=0;N.positiveZIndex.some(function(fA,BA){return Y>=fA.element.container.styles.zIndex.order?(wA=BA+1,!1):wA>0}),N.positiveZIndex.splice(wA,0,V)}else N.zeroOrAutoZIndexOrTransformedOrOpacity.push(V)}else C.styles.isFloating()?N.nonPositionedFloats.push(V):N.nonPositionedInlineLevel.push(V);ll(T,V,y?V:d,H)}else C.styles.isInlineLevel()?s.inlineLevel.push(T):s.nonInlineLevel.push(T),ll(T,s,d,H);Ue(C.flags,8)&&xh(C,H)})},xh=function(l,s){for(var d=l instanceof jo?l.start:1,c=l instanceof jo?l.reversed:!1,C=0;C<s.length;C++){var y=s[C];y.container instanceof Ju&&typeof y.container.value=="number"&&y.container.value!==0&&(d=y.container.value),y.listValue=ka(d,y.container.styles.listStyleType,!0),d+=c?-1:1}},Py=function(l){var s=new Fh(l,null),d=new vh(s),c=[];return ll(s,d,d,c),xh(s.container,c),d},Qh=function(l,s){switch(s){case 0:return It(l.topLeftBorderBox,l.topLeftPaddingBox,l.topRightBorderBox,l.topRightPaddingBox);case 1:return It(l.topRightBorderBox,l.topRightPaddingBox,l.bottomRightBorderBox,l.bottomRightPaddingBox);case 2:return It(l.bottomRightBorderBox,l.bottomRightPaddingBox,l.bottomLeftBorderBox,l.bottomLeftPaddingBox);default:return It(l.bottomLeftBorderBox,l.bottomLeftPaddingBox,l.topLeftBorderBox,l.topLeftPaddingBox)}},Gy=function(l,s){switch(s){case 0:return It(l.topLeftBorderBox,l.topLeftBorderDoubleOuterBox,l.topRightBorderBox,l.topRightBorderDoubleOuterBox);case 1:return It(l.topRightBorderBox,l.topRightBorderDoubleOuterBox,l.bottomRightBorderBox,l.bottomRightBorderDoubleOuterBox);case 2:return It(l.bottomRightBorderBox,l.bottomRightBorderDoubleOuterBox,l.bottomLeftBorderBox,l.bottomLeftBorderDoubleOuterBox);default:return It(l.bottomLeftBorderBox,l.bottomLeftBorderDoubleOuterBox,l.topLeftBorderBox,l.topLeftBorderDoubleOuterBox)}},Wy=function(l,s){switch(s){case 0:return It(l.topLeftBorderDoubleInnerBox,l.topLeftPaddingBox,l.topRightBorderDoubleInnerBox,l.topRightPaddingBox);case 1:return It(l.topRightBorderDoubleInnerBox,l.topRightPaddingBox,l.bottomRightBorderDoubleInnerBox,l.bottomRightPaddingBox);case 2:return It(l.bottomRightBorderDoubleInnerBox,l.bottomRightPaddingBox,l.bottomLeftBorderDoubleInnerBox,l.bottomLeftPaddingBox);default:return It(l.bottomLeftBorderDoubleInnerBox,l.bottomLeftPaddingBox,l.topLeftBorderDoubleInnerBox,l.topLeftPaddingBox)}},zy=function(l,s){switch(s){case 0:return As(l.topLeftBorderStroke,l.topRightBorderStroke);case 1:return As(l.topRightBorderStroke,l.bottomRightBorderStroke);case 2:return As(l.bottomRightBorderStroke,l.bottomLeftBorderStroke);default:return As(l.bottomLeftBorderStroke,l.topLeftBorderStroke)}},As=function(l,s){var d=[];return Ut(l)?d.push(l.subdivide(.5,!1)):d.push(l),Ut(s)?d.push(s.subdivide(.5,!0)):d.push(s),d},It=function(l,s,d,c){var C=[];return Ut(l)?C.push(l.subdivide(.5,!1)):C.push(l),Ut(d)?C.push(d.subdivide(.5,!0)):C.push(d),Ut(c)?C.push(c.subdivide(.5,!0).reverse()):C.push(c),Ut(s)?C.push(s.subdivide(.5,!1).reverse()):C.push(s),C},Sh=function(l){var s=l.bounds,d=l.styles;return s.add(d.borderLeftWidth,d.borderTopWidth,-(d.borderRightWidth+d.borderLeftWidth),-(d.borderTopWidth+d.borderBottomWidth))},es=function(l){var s=l.styles,d=l.bounds,c=le(s.paddingLeft,d.width),C=le(s.paddingRight,d.width),y=le(s.paddingTop,d.width),U=le(s.paddingBottom,d.width);return d.add(c+s.borderLeftWidth,y+s.borderTopWidth,-(s.borderRightWidth+s.borderLeftWidth+c+C),-(s.borderTopWidth+s.borderBottomWidth+y+U))},Xy=function(l,s){return l===0?s.bounds:l===2?es(s):Sh(s)},Yy=function(l,s){return l===0?s.bounds:l===2?es(s):Sh(s)},cl=function(l,s,d){var c=Xy(Yr(l.styles.backgroundOrigin,s),l),C=Yy(Yr(l.styles.backgroundClip,s),l),y=Zy(Yr(l.styles.backgroundSize,s),d,c),U=y[0],T=y[1],H=Ia(Yr(l.styles.backgroundPosition,s),c.width-U,c.height-T),N=Jy(Yr(l.styles.backgroundRepeat,s),H,y,c,C),V=Math.round(c.left+H[0]),Y=Math.round(c.top+H[1]);return[N,V,Y,U,T]},Xr=function(l){return ie(l)&&l.value===Vr.AUTO},ts=function(l){return typeof l=="number"},Zy=function(l,s,d){var c=s[0],C=s[1],y=s[2],U=l[0],T=l[1];if(!U)return[0,0];if(ye(U)&&T&&ye(T))return[le(U,d.width),le(T,d.height)];var H=ts(y);if(ie(U)&&(U.value===Vr.CONTAIN||U.value===Vr.COVER)){if(ts(y)){var N=d.width/d.height;return N<y!=(U.value===Vr.COVER)?[d.width,d.width/y]:[d.height*y,d.height]}return[d.width,d.height]}var V=ts(c),Y=ts(C),tA=V||Y;if(Xr(U)&&(!T||Xr(T))){if(V&&Y)return[c,C];if(!H&&!tA)return[d.width,d.height];if(tA&&H){var wA=V?c:C*y,fA=Y?C:c/y;return[wA,fA]}var BA=V?c:d.width,kA=Y?C:d.height;return[BA,kA]}if(H){var FA=0,vA=0;return ye(U)?FA=le(U,d.width):ye(T)&&(vA=le(T,d.height)),Xr(U)?FA=vA*y:(!T||Xr(T))&&(vA=FA/y),[FA,vA]}var YA=null,DA=null;if(ye(U)?YA=le(U,d.width):T&&ye(T)&&(DA=le(T,d.height)),YA!==null&&(!T||Xr(T))&&(DA=V&&Y?YA/c*C:d.height),DA!==null&&Xr(U)&&(YA=V&&Y?DA/C*c:d.width),YA!==null&&DA!==null)return[YA,DA];throw new Error("Unable to calculate background-size for element")},Yr=function(l,s){var d=l[s];return typeof d>"u"?l[0]:d},Jy=function(l,s,d,c,C){var y=s[0],U=s[1],T=d[0],H=d[1];switch(l){case 2:return[new mA(Math.round(c.left),Math.round(c.top+U)),new mA(Math.round(c.left+c.width),Math.round(c.top+U)),new mA(Math.round(c.left+c.width),Math.round(H+c.top+U)),new mA(Math.round(c.left),Math.round(H+c.top+U))];case 3:return[new mA(Math.round(c.left+y),Math.round(c.top)),new mA(Math.round(c.left+y+T),Math.round(c.top)),new mA(Math.round(c.left+y+T),Math.round(c.height+c.top)),new mA(Math.round(c.left+y),Math.round(c.height+c.top))];case 1:return[new mA(Math.round(c.left+y),Math.round(c.top+U)),new mA(Math.round(c.left+y+T),Math.round(c.top+U)),new mA(Math.round(c.left+y+T),Math.round(c.top+U+H)),new mA(Math.round(c.left+y),Math.round(c.top+U+H))];default:return[new mA(Math.round(C.left),Math.round(C.top)),new mA(Math.round(C.left+C.width),Math.round(C.top)),new mA(Math.round(C.left+C.width),Math.round(C.height+C.top)),new mA(Math.round(C.left),Math.round(C.height+C.top))]}},qy="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Uh="Hidden Text",jy=(function(){function l(s){this._data={},this._document=s}return l.prototype.parseMetrics=function(s,d){var c=this._document.createElement("div"),C=this._document.createElement("img"),y=this._document.createElement("span"),U=this._document.body;c.style.visibility="hidden",c.style.fontFamily=s,c.style.fontSize=d,c.style.margin="0",c.style.padding="0",c.style.whiteSpace="nowrap",U.appendChild(c),C.src=qy,C.width=1,C.height=1,C.style.margin="0",C.style.padding="0",C.style.verticalAlign="baseline",y.style.fontFamily=s,y.style.fontSize=d,y.style.margin="0",y.style.padding="0",y.appendChild(this._document.createTextNode(Uh)),c.appendChild(y),c.appendChild(C);var T=C.offsetTop-y.offsetTop+2;c.removeChild(y),c.appendChild(this._document.createTextNode(Uh)),c.style.lineHeight="normal",C.style.verticalAlign="super";var H=C.offsetTop-c.offsetTop+2;return U.removeChild(c),{baseline:T,middle:H}},l.prototype.getMetrics=function(s,d){var c=s+" "+d;return typeof this._data[c]>"u"&&(this._data[c]=this.parseMetrics(s,d)),this._data[c]},l})(),Ih=(function(){function l(s,d){this.context=s,this.options=d}return l})(),$y=1e4,Av=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C._activeEffects=[],C.canvas=c.canvas?c.canvas:document.createElement("canvas"),C.ctx=C.canvas.getContext("2d"),c.canvas||(C.canvas.width=Math.floor(c.width*c.scale),C.canvas.height=Math.floor(c.height*c.scale),C.canvas.style.width=c.width+"px",C.canvas.style.height=c.height+"px"),C.fontMetrics=new jy(document),C.ctx.scale(C.options.scale,C.options.scale),C.ctx.translate(-c.x,-c.y),C.ctx.textBaseline="bottom",C._activeEffects=[],C.context.logger.debug("Canvas renderer initialized ("+c.width+"x"+c.height+") with scale "+c.scale),C}return s.prototype.applyEffects=function(d){for(var c=this;this._activeEffects.length;)this.popEffect();d.forEach(function(C){return c.applyEffect(C)})},s.prototype.applyEffect=function(d){this.ctx.save(),Ny(d)&&(this.ctx.globalAlpha=d.opacity),Ky(d)&&(this.ctx.translate(d.offsetX,d.offsetY),this.ctx.transform(d.matrix[0],d.matrix[1],d.matrix[2],d.matrix[3],d.matrix[4],d.matrix[5]),this.ctx.translate(-d.offsetX,-d.offsetY)),bh(d)&&(this.path(d.path),this.ctx.clip()),this._activeEffects.push(d)},s.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},s.prototype.renderStack=function(d){return i(this,void 0,void 0,function(){var c;return r(this,function(C){switch(C.label){case 0:return c=d.element.container.styles,c.isVisible()?[4,this.renderStackContent(d)]:[3,2];case 1:C.sent(),C.label=2;case 2:return[2]}})})},s.prototype.renderNode=function(d){return i(this,void 0,void 0,function(){return r(this,function(c){switch(c.label){case 0:if(Ue(d.container.flags,16))debugger;return d.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(d)]:[3,3];case 1:return c.sent(),[4,this.renderNodeContent(d)];case 2:c.sent(),c.label=3;case 3:return[2]}})})},s.prototype.renderTextWithLetterSpacing=function(d,c,C){var y=this;if(c===0)this.ctx.fillText(d.text,d.bounds.left,d.bounds.top+C);else{var U=qo(d.text);U.reduce(function(T,H){return y.ctx.fillText(H,T,d.bounds.top+C),T+y.ctx.measureText(H).width},d.bounds.left)}},s.prototype.createFontStyle=function(d){var c=d.fontVariant.filter(function(U){return U==="normal"||U==="small-caps"}).join(""),C=av(d.fontFamily).join(", "),y=Ua(d.fontSize)?""+d.fontSize.number+d.fontSize.unit:d.fontSize.number+"px";return[[d.fontStyle,c,d.fontWeight,y,C].join(" "),C,y]},s.prototype.renderTextNode=function(d,c){return i(this,void 0,void 0,function(){var C,y,U,T,H,N,V,Y,tA=this;return r(this,function(wA){return C=this.createFontStyle(c),y=C[0],U=C[1],T=C[2],this.ctx.font=y,this.ctx.direction=c.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",H=this.fontMetrics.getMetrics(U,T),N=H.baseline,V=H.middle,Y=c.paintOrder,d.textBounds.forEach(function(fA){Y.forEach(function(BA){switch(BA){case 0:tA.ctx.fillStyle=De(c.color),tA.renderTextWithLetterSpacing(fA,c.letterSpacing,N);var kA=c.textShadow;kA.length&&fA.text.trim().length&&(kA.slice(0).reverse().forEach(function(FA){tA.ctx.shadowColor=De(FA.color),tA.ctx.shadowOffsetX=FA.offsetX.number*tA.options.scale,tA.ctx.shadowOffsetY=FA.offsetY.number*tA.options.scale,tA.ctx.shadowBlur=FA.blur.number,tA.renderTextWithLetterSpacing(fA,c.letterSpacing,N)}),tA.ctx.shadowColor="",tA.ctx.shadowOffsetX=0,tA.ctx.shadowOffsetY=0,tA.ctx.shadowBlur=0),c.textDecorationLine.length&&(tA.ctx.fillStyle=De(c.textDecorationColor||c.color),c.textDecorationLine.forEach(function(FA){switch(FA){case 1:tA.ctx.fillRect(fA.bounds.left,Math.round(fA.bounds.top+N),fA.bounds.width,1);break;case 2:tA.ctx.fillRect(fA.bounds.left,Math.round(fA.bounds.top),fA.bounds.width,1);break;case 3:tA.ctx.fillRect(fA.bounds.left,Math.ceil(fA.bounds.top+V),fA.bounds.width,1);break}}));break;case 1:c.webkitTextStrokeWidth&&fA.text.trim().length&&(tA.ctx.strokeStyle=De(c.webkitTextStrokeColor),tA.ctx.lineWidth=c.webkitTextStrokeWidth,tA.ctx.lineJoin=window.chrome?"miter":"round",tA.ctx.strokeText(fA.text,fA.bounds.left,fA.bounds.top+N)),tA.ctx.strokeStyle="",tA.ctx.lineWidth=0,tA.ctx.lineJoin="miter";break}})}),[2]})})},s.prototype.renderReplacedElement=function(d,c,C){if(C&&d.intrinsicWidth>0&&d.intrinsicHeight>0){var y=es(d),U=jn(c);this.path(U),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(C,0,0,d.intrinsicWidth,d.intrinsicHeight,y.left,y.top,y.width,y.height),this.ctx.restore()}},s.prototype.renderNodeContent=function(d){return i(this,void 0,void 0,function(){var c,C,y,U,T,H,vA,vA,N,V,Y,tA,DA,wA,fA,LA,BA,kA,FA,vA,YA,DA,LA;return r(this,function(pA){switch(pA.label){case 0:this.applyEffects(d.getEffects(4)),c=d.container,C=d.curves,y=c.styles,U=0,T=c.textNodes,pA.label=1;case 1:return U<T.length?(H=T[U],[4,this.renderTextNode(H,y)]):[3,4];case 2:pA.sent(),pA.label=3;case 3:return U++,[3,1];case 4:if(!(c instanceof Xu))return[3,8];pA.label=5;case 5:return pA.trys.push([5,7,,8]),[4,this.context.cache.match(c.src)];case 6:return vA=pA.sent(),this.renderReplacedElement(c,C,vA),[3,8];case 7:return pA.sent(),this.context.logger.error("Error loading image "+c.src),[3,8];case 8:if(c instanceof Yu&&this.renderReplacedElement(c,C,c.canvas),!(c instanceof Zu))return[3,12];pA.label=9;case 9:return pA.trys.push([9,11,,12]),[4,this.context.cache.match(c.svg)];case 10:return vA=pA.sent(),this.renderReplacedElement(c,C,vA),[3,12];case 11:return pA.sent(),this.context.logger.error("Error loading svg "+c.svg.substring(0,255)),[3,12];case 12:return c instanceof Ah&&c.tree?(N=new s(this.context,{scale:this.options.scale,backgroundColor:c.backgroundColor,x:0,y:0,width:c.width,height:c.height}),[4,N.render(c.tree)]):[3,14];case 13:V=pA.sent(),c.width&&c.height&&this.ctx.drawImage(V,0,0,c.width,c.height,c.bounds.left,c.bounds.top,c.bounds.width,c.bounds.height),pA.label=14;case 14:if(c instanceof $o&&(Y=Math.min(c.bounds.width,c.bounds.height),c.type===Gn?c.checked&&(this.ctx.save(),this.path([new mA(c.bounds.left+Y*.39363,c.bounds.top+Y*.79),new mA(c.bounds.left+Y*.16,c.bounds.top+Y*.5549),new mA(c.bounds.left+Y*.27347,c.bounds.top+Y*.44071),new mA(c.bounds.left+Y*.39694,c.bounds.top+Y*.5649),new mA(c.bounds.left+Y*.72983,c.bounds.top+Y*.23),new mA(c.bounds.left+Y*.84,c.bounds.top+Y*.34085),new mA(c.bounds.left+Y*.39363,c.bounds.top+Y*.79)]),this.ctx.fillStyle=De(qu),this.ctx.fill(),this.ctx.restore()):c.type===Wn&&c.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(c.bounds.left+Y/2,c.bounds.top+Y/2,Y/4,0,Math.PI*2,!0),this.ctx.fillStyle=De(qu),this.ctx.fill(),this.ctx.restore())),ev(c)&&c.value.length){switch(tA=this.createFontStyle(y),DA=tA[0],wA=tA[1],fA=this.fontMetrics.getMetrics(DA,wA).baseline,this.ctx.font=DA,this.ctx.fillStyle=De(y.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=iv(c.styles.textAlign),LA=es(c),BA=0,c.styles.textAlign){case 1:BA+=LA.width/2;break;case 2:BA+=LA.width;break}kA=LA.add(BA,0,0,-LA.height/2+1),this.ctx.save(),this.path([new mA(LA.left,LA.top),new mA(LA.left+LA.width,LA.top),new mA(LA.left+LA.width,LA.top+LA.height),new mA(LA.left,LA.top+LA.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ta(c.value,kA),y.letterSpacing,fA),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ue(c.styles.display,2048))return[3,20];if(c.styles.listStyleImage===null)return[3,19];if(FA=c.styles.listStyleImage,FA.type!==0)return[3,18];vA=void 0,YA=FA.url,pA.label=15;case 15:return pA.trys.push([15,17,,18]),[4,this.context.cache.match(YA)];case 16:return vA=pA.sent(),this.ctx.drawImage(vA,c.bounds.left-(vA.width+10),c.bounds.top),[3,18];case 17:return pA.sent(),this.context.logger.error("Error loading list-style-image "+YA),[3,18];case 18:return[3,20];case 19:d.listValue&&c.styles.listStyleType!==-1&&(DA=this.createFontStyle(y)[0],this.ctx.font=DA,this.ctx.fillStyle=De(y.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",LA=new n(c.bounds.left,c.bounds.top+le(c.styles.paddingTop,c.bounds.width),c.bounds.width,Uu(y.lineHeight,y.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ta(d.listValue,LA),y.letterSpacing,Uu(y.lineHeight,y.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),pA.label=20;case 20:return[2]}})})},s.prototype.renderStackContent=function(d){return i(this,void 0,void 0,function(){var c,C,FA,y,U,FA,T,H,FA,N,V,FA,Y,tA,FA,wA,fA,FA,BA,kA,FA;return r(this,function(vA){switch(vA.label){case 0:if(Ue(d.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(d.element)];case 1:vA.sent(),c=0,C=d.negativeZIndex,vA.label=2;case 2:return c<C.length?(FA=C[c],[4,this.renderStack(FA)]):[3,5];case 3:vA.sent(),vA.label=4;case 4:return c++,[3,2];case 5:return[4,this.renderNodeContent(d.element)];case 6:vA.sent(),y=0,U=d.nonInlineLevel,vA.label=7;case 7:return y<U.length?(FA=U[y],[4,this.renderNode(FA)]):[3,10];case 8:vA.sent(),vA.label=9;case 9:return y++,[3,7];case 10:T=0,H=d.nonPositionedFloats,vA.label=11;case 11:return T<H.length?(FA=H[T],[4,this.renderStack(FA)]):[3,14];case 12:vA.sent(),vA.label=13;case 13:return T++,[3,11];case 14:N=0,V=d.nonPositionedInlineLevel,vA.label=15;case 15:return N<V.length?(FA=V[N],[4,this.renderStack(FA)]):[3,18];case 16:vA.sent(),vA.label=17;case 17:return N++,[3,15];case 18:Y=0,tA=d.inlineLevel,vA.label=19;case 19:return Y<tA.length?(FA=tA[Y],[4,this.renderNode(FA)]):[3,22];case 20:vA.sent(),vA.label=21;case 21:return Y++,[3,19];case 22:wA=0,fA=d.zeroOrAutoZIndexOrTransformedOrOpacity,vA.label=23;case 23:return wA<fA.length?(FA=fA[wA],[4,this.renderStack(FA)]):[3,26];case 24:vA.sent(),vA.label=25;case 25:return wA++,[3,23];case 26:BA=0,kA=d.positiveZIndex,vA.label=27;case 27:return BA<kA.length?(FA=kA[BA],[4,this.renderStack(FA)]):[3,30];case 28:vA.sent(),vA.label=29;case 29:return BA++,[3,27];case 30:return[2]}})})},s.prototype.mask=function(d){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(d.slice(0).reverse()),this.ctx.closePath()},s.prototype.path=function(d){this.ctx.beginPath(),this.formatPath(d),this.ctx.closePath()},s.prototype.formatPath=function(d){var c=this;d.forEach(function(C,y){var U=Ut(C)?C.start:C;y===0?c.ctx.moveTo(U.x,U.y):c.ctx.lineTo(U.x,U.y),Ut(C)&&c.ctx.bezierCurveTo(C.startControl.x,C.startControl.y,C.endControl.x,C.endControl.y,C.end.x,C.end.y)})},s.prototype.renderRepeat=function(d,c,C,y){this.path(d),this.ctx.fillStyle=c,this.ctx.translate(C,y),this.ctx.fill(),this.ctx.translate(-C,-y)},s.prototype.resizeImage=function(d,c,C){var y;if(d.width===c&&d.height===C)return d;var U=(y=this.canvas.ownerDocument)!==null&&y!==void 0?y:document,T=U.createElement("canvas");T.width=Math.max(1,c),T.height=Math.max(1,C);var H=T.getContext("2d");return H.drawImage(d,0,0,d.width,d.height,0,0,c,C),T},s.prototype.renderBackgroundImage=function(d){return i(this,void 0,void 0,function(){var c,C,y,U,T,H;return r(this,function(N){switch(N.label){case 0:c=d.styles.backgroundImage.length-1,C=function(V){var Y,tA,wA,ve,st,ot,re,Pe,PA,fA,ve,st,ot,re,Pe,BA,kA,FA,vA,YA,DA,LA,pA,VA,PA,EA,ve,nt,ft,re,Pe,Di,st,ot,ir,qt,Mi,rr,ar,fi,nr,gi;return r(this,function(Zr){switch(Zr.label){case 0:if(V.type!==0)return[3,5];Y=void 0,tA=V.url,Zr.label=1;case 1:return Zr.trys.push([1,3,,4]),[4,y.context.cache.match(tA)];case 2:return Y=Zr.sent(),[3,4];case 3:return Zr.sent(),y.context.logger.error("Error loading background-image "+tA),[3,4];case 4:return Y&&(wA=cl(d,c,[Y.width,Y.height,Y.width/Y.height]),ve=wA[0],st=wA[1],ot=wA[2],re=wA[3],Pe=wA[4],PA=y.ctx.createPattern(y.resizeImage(Y,re,Pe),"repeat"),y.renderRepeat(ve,PA,st,ot)),[3,6];case 5:K0(V)?(fA=cl(d,c,[null,null,null]),ve=fA[0],st=fA[1],ot=fA[2],re=fA[3],Pe=fA[4],BA=k0(V.angle,re,Pe),kA=BA[0],FA=BA[1],vA=BA[2],YA=BA[3],DA=BA[4],LA=document.createElement("canvas"),LA.width=re,LA.height=Pe,pA=LA.getContext("2d"),VA=pA.createLinearGradient(FA,YA,vA,DA),mu(V.stops,kA).forEach(function(Ma){return VA.addColorStop(Ma.stop,De(Ma.color))}),pA.fillStyle=VA,pA.fillRect(0,0,re,Pe),re>0&&Pe>0&&(PA=y.ctx.createPattern(LA,"repeat"),y.renderRepeat(ve,PA,st,ot))):N0(V)&&(EA=cl(d,c,[null,null,null]),ve=EA[0],nt=EA[1],ft=EA[2],re=EA[3],Pe=EA[4],Di=V.position.length===0?[Do]:V.position,st=le(Di[0],re),ot=le(Di[Di.length-1],Pe),ir=D0(V,st,ot,re,Pe),qt=ir[0],Mi=ir[1],qt>0&&Mi>0&&(rr=y.ctx.createRadialGradient(nt+st,ft+ot,0,nt+st,ft+ot,qt),mu(V.stops,qt*2).forEach(function(Ma){return rr.addColorStop(Ma.stop,De(Ma.color))}),y.path(ve),y.ctx.fillStyle=rr,qt!==Mi?(ar=d.bounds.left+.5*d.bounds.width,fi=d.bounds.top+.5*d.bounds.height,nr=Mi/qt,gi=1/nr,y.ctx.save(),y.ctx.translate(ar,fi),y.ctx.transform(1,0,0,nr,0,0),y.ctx.translate(-ar,-fi),y.ctx.fillRect(nt,gi*(ft-fi)+fi,re,Pe*gi),y.ctx.restore()):y.ctx.fill())),Zr.label=6;case 6:return c--,[2]}})},y=this,U=0,T=d.styles.backgroundImage.slice(0).reverse(),N.label=1;case 1:return U<T.length?(H=T[U],[5,C(H)]):[3,4];case 2:N.sent(),N.label=3;case 3:return U++,[3,1];case 4:return[2]}})})},s.prototype.renderSolidBorder=function(d,c,C){return i(this,void 0,void 0,function(){return r(this,function(y){return this.path(Qh(C,c)),this.ctx.fillStyle=De(d),this.ctx.fill(),[2]})})},s.prototype.renderDoubleBorder=function(d,c,C,y){return i(this,void 0,void 0,function(){var U,T;return r(this,function(H){switch(H.label){case 0:return c<3?[4,this.renderSolidBorder(d,C,y)]:[3,2];case 1:return H.sent(),[2];case 2:return U=Gy(y,C),this.path(U),this.ctx.fillStyle=De(d),this.ctx.fill(),T=Wy(y,C),this.path(T),this.ctx.fill(),[2]}})})},s.prototype.renderNodeBackgroundAndBorders=function(d){return i(this,void 0,void 0,function(){var c,C,y,U,T,H,N,V,Y=this;return r(this,function(tA){switch(tA.label){case 0:return this.applyEffects(d.getEffects(2)),c=d.container.styles,C=!Hi(c.backgroundColor)||c.backgroundImage.length,y=[{style:c.borderTopStyle,color:c.borderTopColor,width:c.borderTopWidth},{style:c.borderRightStyle,color:c.borderRightColor,width:c.borderRightWidth},{style:c.borderBottomStyle,color:c.borderBottomColor,width:c.borderBottomWidth},{style:c.borderLeftStyle,color:c.borderLeftColor,width:c.borderLeftWidth}],U=tv(Yr(c.backgroundClip,0),d.curves),C||c.boxShadow.length?(this.ctx.save(),this.path(U),this.ctx.clip(),Hi(c.backgroundColor)||(this.ctx.fillStyle=De(c.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(d.container)]):[3,2];case 1:tA.sent(),this.ctx.restore(),c.boxShadow.slice(0).reverse().forEach(function(wA){Y.ctx.save();var fA=qn(d.curves),BA=wA.inset?0:$y,kA=Vy(fA,-BA+(wA.inset?1:-1)*wA.spread.number,(wA.inset?1:-1)*wA.spread.number,wA.spread.number*(wA.inset?-2:2),wA.spread.number*(wA.inset?-2:2));wA.inset?(Y.path(fA),Y.ctx.clip(),Y.mask(kA)):(Y.mask(fA),Y.ctx.clip(),Y.path(kA)),Y.ctx.shadowOffsetX=wA.offsetX.number+BA,Y.ctx.shadowOffsetY=wA.offsetY.number,Y.ctx.shadowColor=De(wA.color),Y.ctx.shadowBlur=wA.blur.number,Y.ctx.fillStyle=wA.inset?De(wA.color):"rgba(0,0,0,1)",Y.ctx.fill(),Y.ctx.restore()}),tA.label=2;case 2:T=0,H=0,N=y,tA.label=3;case 3:return H<N.length?(V=N[H],V.style!==0&&!Hi(V.color)&&V.width>0?V.style!==2?[3,5]:[4,this.renderDashedDottedBorder(V.color,V.width,T,d.curves,2)]:[3,11]):[3,13];case 4:return tA.sent(),[3,11];case 5:return V.style!==3?[3,7]:[4,this.renderDashedDottedBorder(V.color,V.width,T,d.curves,3)];case 6:return tA.sent(),[3,11];case 7:return V.style!==4?[3,9]:[4,this.renderDoubleBorder(V.color,V.width,T,d.curves)];case 8:return tA.sent(),[3,11];case 9:return[4,this.renderSolidBorder(V.color,T,d.curves)];case 10:tA.sent(),tA.label=11;case 11:T++,tA.label=12;case 12:return H++,[3,3];case 13:return[2]}})})},s.prototype.renderDashedDottedBorder=function(d,c,C,y,U){return i(this,void 0,void 0,function(){var T,H,N,V,Y,tA,wA,fA,BA,kA,FA,vA,YA,DA,LA,pA,LA,pA;return r(this,function(VA){return this.ctx.save(),T=zy(y,C),H=Qh(y,C),U===2&&(this.path(H),this.ctx.clip()),Ut(H[0])?(N=H[0].start.x,V=H[0].start.y):(N=H[0].x,V=H[0].y),Ut(H[1])?(Y=H[1].end.x,tA=H[1].end.y):(Y=H[1].x,tA=H[1].y),C===0||C===2?wA=Math.abs(N-Y):wA=Math.abs(V-tA),this.ctx.beginPath(),U===3?this.formatPath(T):this.formatPath(H.slice(0,2)),fA=c<3?c*3:c*2,BA=c<3?c*2:c,U===3&&(fA=c,BA=c),kA=!0,wA<=fA*2?kA=!1:wA<=fA*2+BA?(FA=wA/(2*fA+BA),fA*=FA,BA*=FA):(vA=Math.floor((wA+BA)/(fA+BA)),YA=(wA-vA*fA)/(vA-1),DA=(wA-(vA+1)*fA)/vA,BA=DA<=0||Math.abs(BA-YA)<Math.abs(BA-DA)?YA:DA),kA&&(U===3?this.ctx.setLineDash([0,fA+BA]):this.ctx.setLineDash([fA,BA])),U===3?(this.ctx.lineCap="round",this.ctx.lineWidth=c):this.ctx.lineWidth=c*2+1.1,this.ctx.strokeStyle=De(d),this.ctx.stroke(),this.ctx.setLineDash([]),U===2&&(Ut(H[0])&&(LA=H[3],pA=H[0],this.ctx.beginPath(),this.formatPath([new mA(LA.end.x,LA.end.y),new mA(pA.start.x,pA.start.y)]),this.ctx.stroke()),Ut(H[1])&&(LA=H[1],pA=H[2],this.ctx.beginPath(),this.formatPath([new mA(LA.end.x,LA.end.y),new mA(pA.start.x,pA.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},s.prototype.render=function(d){return i(this,void 0,void 0,function(){var c;return r(this,function(C){switch(C.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=De(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),c=Py(d),[4,this.renderStack(c)];case 1:return C.sent(),this.applyEffects([]),[2,this.canvas]}})})},s})(Ih),ev=function(l){return l instanceof $u||l instanceof ju?!0:l instanceof $o&&l.type!==Wn&&l.type!==Gn},tv=function(l,s){switch(l){case 0:return qn(s);case 2:return My(s);default:return jn(s)}},iv=function(l){switch(l){case 1:return"center";case 2:return"right";default:return"left"}},rv=["-apple-system","system-ui"],av=function(l){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?l.filter(function(s){return rv.indexOf(s)===-1}):l},nv=(function(l){A(s,l);function s(d,c){var C=l.call(this,d,c)||this;return C.canvas=c.canvas?c.canvas:document.createElement("canvas"),C.ctx=C.canvas.getContext("2d"),C.options=c,C.canvas.width=Math.floor(c.width*c.scale),C.canvas.height=Math.floor(c.height*c.scale),C.canvas.style.width=c.width+"px",C.canvas.style.height=c.height+"px",C.ctx.scale(C.options.scale,C.options.scale),C.ctx.translate(-c.x,-c.y),C.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+c.width+"x"+c.height+" at "+c.x+","+c.y+") with scale "+c.scale),C}return s.prototype.render=function(d){return i(this,void 0,void 0,function(){var c,C;return r(this,function(y){switch(y.label){case 0:return c=Jo(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,d),[4,sv(c)];case 1:return C=y.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=De(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(C,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},s})(Ih),sv=function(l){return new Promise(function(s,d){var c=new Image;c.onload=function(){s(c)},c.onerror=d,c.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(l))})},ov=(function(){function l(s){var d=s.id,c=s.enabled;this.id=d,this.enabled=c,this.start=Date.now()}return l.prototype.debug=function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,a([this.id,this.getTime()+"ms"],s)):this.info.apply(this,s))},l.prototype.getTime=function(){return Date.now()-this.start},l.prototype.info=function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,a([this.id,this.getTime()+"ms"],s))},l.prototype.warn=function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,a([this.id,this.getTime()+"ms"],s)):this.info.apply(this,s))},l.prototype.error=function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,a([this.id,this.getTime()+"ms"],s)):this.info.apply(this,s))},l.instances={},l})(),lv=(function(){function l(s,d){var c;this.windowBounds=d,this.instanceName="#"+l.instanceCount++,this.logger=new ov({id:this.instanceName,enabled:s.logging}),this.cache=(c=s.cache)!==null&&c!==void 0?c:new Iy(this,s)}return l.instanceCount=1,l})(),cv=function(l,s){return s===void 0&&(s={}),dv(l,s)};typeof window<"u"&&wh.setContext(window);var dv=function(l,s){return i(void 0,void 0,void 0,function(){var d,c,C,y,U,T,H,N,V,Y,tA,wA,fA,BA,kA,FA,vA,YA,DA,LA,VA,pA,VA,PA,EA,ve,nt,ft,re,Pe,Di,st,ot,ir,qt,Mi,rr,ar,fi,nr;return r(this,function(gi){switch(gi.label){case 0:if(!l||typeof l!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(d=l.ownerDocument,!d)throw new Error("Element is not attached to a Document");if(c=d.defaultView,!c)throw new Error("Document is not attached to a Window");return C={allowTaint:(PA=s.allowTaint)!==null&&PA!==void 0?PA:!1,imageTimeout:(EA=s.imageTimeout)!==null&&EA!==void 0?EA:15e3,proxy:s.proxy,useCORS:(ve=s.useCORS)!==null&&ve!==void 0?ve:!1},y=t({logging:(nt=s.logging)!==null&&nt!==void 0?nt:!0,cache:s.cache},C),U={windowWidth:(ft=s.windowWidth)!==null&&ft!==void 0?ft:c.innerWidth,windowHeight:(re=s.windowHeight)!==null&&re!==void 0?re:c.innerHeight,scrollX:(Pe=s.scrollX)!==null&&Pe!==void 0?Pe:c.pageXOffset,scrollY:(Di=s.scrollY)!==null&&Di!==void 0?Di:c.pageYOffset},T=new n(U.scrollX,U.scrollY,U.windowWidth,U.windowHeight),H=new lv(y,T),N=(st=s.foreignObjectRendering)!==null&&st!==void 0?st:!1,V={allowTaint:(ot=s.allowTaint)!==null&&ot!==void 0?ot:!1,onclone:s.onclone,ignoreElements:s.ignoreElements,inlineImages:N,copyStyles:N},H.logger.debug("Starting document clone with size "+T.width+"x"+T.height+" scrolled to "+-T.left+","+-T.top),Y=new ph(H,l,V),tA=Y.clonedReferenceElement,tA?[4,Y.toIFrame(d,T)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return wA=gi.sent(),fA=el(tA)||uy(tA)?u(tA.ownerDocument):o(H,tA),BA=fA.width,kA=fA.height,FA=fA.left,vA=fA.top,YA=uv(H,tA,s.backgroundColor),DA={canvas:s.canvas,backgroundColor:YA,scale:(qt=(ir=s.scale)!==null&&ir!==void 0?ir:c.devicePixelRatio)!==null&&qt!==void 0?qt:1,x:((Mi=s.x)!==null&&Mi!==void 0?Mi:0)+FA,y:((rr=s.y)!==null&&rr!==void 0?rr:0)+vA,width:(ar=s.width)!==null&&ar!==void 0?ar:Math.ceil(BA),height:(fi=s.height)!==null&&fi!==void 0?fi:Math.ceil(kA)},N?(H.logger.debug("Document cloned, using foreign object rendering"),VA=new nv(H,DA),[4,VA.render(tA)]):[3,3];case 2:return LA=gi.sent(),[3,5];case 3:return H.logger.debug("Document cloned, element located at "+FA+","+vA+" with size "+BA+"x"+kA+" using computed rendering"),H.logger.debug("Starting DOM parsing"),pA=th(H,tA),YA===pA.styles.backgroundColor&&(pA.styles.backgroundColor=ui.TRANSPARENT),H.logger.debug("Starting renderer for element at "+DA.x+","+DA.y+" with size "+DA.width+"x"+DA.height),VA=new Av(H,DA),[4,VA.render(pA)];case 4:LA=gi.sent(),gi.label=5;case 5:return(!((nr=s.removeContainer)!==null&&nr!==void 0)||nr)&&(ph.destroy(wA)||H.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),H.logger.debug("Finished rendering"),[2,LA]}})})},uv=function(l,s,d){var c=s.ownerDocument,C=c.documentElement?La(l,getComputedStyle(c.documentElement).backgroundColor):ui.TRANSPARENT,y=c.body?La(l,getComputedStyle(c.body).backgroundColor):ui.TRANSPARENT,U=typeof d=="string"?La(l,d):d===null?ui.TRANSPARENT:4294967295;return s===c.documentElement?Hi(C)?Hi(y)?U:y:C:U};return cv}))});var sm=Lh((nm,Yc)=>{(function(e){typeof nm=="object"&&typeof Yc<"u"?Yc.exports=e():typeof define=="function"&&define.amd?define([],e):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).JSZip=e()})(function(){return(function e(A,t,i){function r(o,u){if(!t[o]){if(!A[o]){var h=typeof _a=="function"&&_a;if(!u&&h)return h(o,!0);if(a)return a(o,!0);var g=new Error("Cannot find module '"+o+"'");throw g.code="MODULE_NOT_FOUND",g}var f=t[o]={exports:{}};A[o][0].call(f.exports,function(m){var B=A[o][1][m];return r(B||m)},f,f.exports,e,A,t,i)}return t[o].exports}for(var a=typeof _a=="function"&&_a,n=0;n<i.length;n++)r(i[n]);return r})({1:[function(e,A,t){"use strict";var i=e("./utils"),r=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(n){for(var o,u,h,g,f,m,B,w=[],p=0,b=n.length,v=b,S=i.getTypeOf(n)!=="string";p<n.length;)v=b-p,h=S?(o=n[p++],u=p<b?n[p++]:0,p<b?n[p++]:0):(o=n.charCodeAt(p++),u=p<b?n.charCodeAt(p++):0,p<b?n.charCodeAt(p++):0),g=o>>2,f=(3&o)<<4|u>>4,m=1<v?(15&u)<<2|h>>6:64,B=2<v?63&h:64,w.push(a.charAt(g)+a.charAt(f)+a.charAt(m)+a.charAt(B));return w.join("")},t.decode=function(n){var o,u,h,g,f,m,B=0,w=0,p="data:";if(n.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");var b,v=3*(n=n.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(n.charAt(n.length-1)===a.charAt(64)&&v--,n.charAt(n.length-2)===a.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(b=r.uint8array?new Uint8Array(0|v):new Array(0|v);B<n.length;)o=a.indexOf(n.charAt(B++))<<2|(g=a.indexOf(n.charAt(B++)))>>4,u=(15&g)<<4|(f=a.indexOf(n.charAt(B++)))>>2,h=(3&f)<<6|(m=a.indexOf(n.charAt(B++))),b[w++]=o,f!==64&&(b[w++]=u),m!==64&&(b[w++]=h);return b}},{"./support":30,"./utils":32}],2:[function(e,A,t){"use strict";var i=e("./external"),r=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),n=e("./stream/DataLengthProbe");function o(u,h,g,f,m){this.compressedSize=u,this.uncompressedSize=h,this.crc32=g,this.compression=f,this.compressedContent=m}o.prototype={getContentWorker:function(){var u=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new n("data_length")),h=this;return u.on("end",function(){if(this.streamInfo.data_length!==h.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(u,h,g){return u.pipe(new a).pipe(new n("uncompressedSize")).pipe(h.compressWorker(g)).pipe(new n("compressedSize")).withStreamInfo("compression",h)},A.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,A,t){"use strict";var i=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,A,t){"use strict";var i=e("./utils"),r=(function(){for(var a,n=[],o=0;o<256;o++){a=o;for(var u=0;u<8;u++)a=1&a?3988292384^a>>>1:a>>>1;n[o]=a}return n})();A.exports=function(a,n){return a!==void 0&&a.length?i.getTypeOf(a)!=="string"?(function(o,u,h,g){var f=r,m=g+h;o^=-1;for(var B=g;B<m;B++)o=o>>>8^f[255&(o^u[B])];return-1^o})(0|n,a,a.length,0):(function(o,u,h,g){var f=r,m=g+h;o^=-1;for(var B=g;B<m;B++)o=o>>>8^f[255&(o^u.charCodeAt(B))];return-1^o})(0|n,a,a.length,0):0}},{"./utils":32}],5:[function(e,A,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,A,t){"use strict";var i=null;i=typeof Promise<"u"?Promise:e("lie"),A.exports={Promise:i}},{lie:37}],7:[function(e,A,t){"use strict";var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",r=e("pako"),a=e("./utils"),n=e("./stream/GenericWorker"),o=i?"uint8array":"array";function u(h,g){n.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=g,this.meta={}}t.magic="\b\0",a.inherits(u,n),u.prototype.processChunk=function(h){this.meta=h.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(o,h.data),!1)},u.prototype.flush=function(){n.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var h=this;this._pako.onData=function(g){h.push({data:g,meta:h.meta})}},t.compressWorker=function(h){return new u("Deflate",h)},t.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,A,t){"use strict";function i(f,m){var B,w="";for(B=0;B<m;B++)w+=String.fromCharCode(255&f),f>>>=8;return w}function r(f,m,B,w,p,b){var v,S,Q=f.file,L=f.compression,D=b!==o.utf8encode,_=a.transformTo("string",b(Q.name)),k=a.transformTo("string",o.utf8encode(Q.name)),P=Q.comment,j=a.transformTo("string",b(P)),E=a.transformTo("string",o.utf8encode(P)),K=k.length!==Q.name.length,F=E.length!==P.length,W="",aA="",J="",dA=Q.dir,eA=Q.date,hA={crc32:0,compressedSize:0,uncompressedSize:0};m&&!B||(hA.crc32=f.crc32,hA.compressedSize=f.compressedSize,hA.uncompressedSize=f.uncompressedSize);var X=0;m&&(X|=8),D||!K&&!F||(X|=2048);var z=0,gA=0;dA&&(z|=16),p==="UNIX"?(gA=798,z|=(function(iA,UA){var HA=iA;return iA||(HA=UA?16893:33204),(65535&HA)<<16})(Q.unixPermissions,dA)):(gA=20,z|=(function(iA){return 63&(iA||0)})(Q.dosPermissions)),v=eA.getUTCHours(),v<<=6,v|=eA.getUTCMinutes(),v<<=5,v|=eA.getUTCSeconds()/2,S=eA.getUTCFullYear()-1980,S<<=4,S|=eA.getUTCMonth()+1,S<<=5,S|=eA.getUTCDate(),K&&(aA=i(1,1)+i(u(_),4)+k,W+="up"+i(aA.length,2)+aA),F&&(J=i(1,1)+i(u(j),4)+E,W+="uc"+i(J.length,2)+J);var lA="";return lA+=`
7
+ \0`,lA+=i(X,2),lA+=L.magic,lA+=i(v,2),lA+=i(S,2),lA+=i(hA.crc32,4),lA+=i(hA.compressedSize,4),lA+=i(hA.uncompressedSize,4),lA+=i(_.length,2),lA+=i(W.length,2),{fileRecord:h.LOCAL_FILE_HEADER+lA+_+W,dirRecord:h.CENTRAL_FILE_HEADER+i(gA,2)+lA+i(j.length,2)+"\0\0\0\0"+i(z,4)+i(w,4)+_+W+j}}var a=e("../utils"),n=e("../stream/GenericWorker"),o=e("../utf8"),u=e("../crc32"),h=e("../signature");function g(f,m,B,w){n.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=m,this.zipPlatform=B,this.encodeFileName=w,this.streamFiles=f,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(g,n),g.prototype.push=function(f){var m=f.meta.percent||0,B=this.entriesCount,w=this._sources.length;this.accumulate?this.contentBuffer.push(f):(this.bytesWritten+=f.data.length,n.prototype.push.call(this,{data:f.data,meta:{currentFile:this.currentFile,percent:B?(m+100*(B-w-1))/B:100}}))},g.prototype.openedSource=function(f){this.currentSourceOffset=this.bytesWritten,this.currentFile=f.file.name;var m=this.streamFiles&&!f.file.dir;if(m){var B=r(f,m,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:B.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(f){this.accumulate=!1;var m=this.streamFiles&&!f.file.dir,B=r(f,m,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(B.dirRecord),m)this.push({data:(function(w){return h.DATA_DESCRIPTOR+i(w.crc32,4)+i(w.compressedSize,4)+i(w.uncompressedSize,4)})(f),meta:{percent:100}});else for(this.push({data:B.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var f=this.bytesWritten,m=0;m<this.dirRecords.length;m++)this.push({data:this.dirRecords[m],meta:{percent:100}});var B=this.bytesWritten-f,w=(function(p,b,v,S,Q){var L=a.transformTo("string",Q(S));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(p,2)+i(p,2)+i(b,4)+i(v,4)+i(L.length,2)+L})(this.dirRecords.length,B,f,this.zipComment,this.encodeFileName);this.push({data:w,meta:{percent:100}})},g.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},g.prototype.registerPrevious=function(f){this._sources.push(f);var m=this;return f.on("data",function(B){m.processChunk(B)}),f.on("end",function(){m.closedSource(m.previous.streamInfo),m._sources.length?m.prepareNextSource():m.end()}),f.on("error",function(B){m.error(B)}),this},g.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},g.prototype.error=function(f){var m=this._sources;if(!n.prototype.error.call(this,f))return!1;for(var B=0;B<m.length;B++)try{m[B].error(f)}catch{}return!0},g.prototype.lock=function(){n.prototype.lock.call(this);for(var f=this._sources,m=0;m<f.length;m++)f[m].lock()},A.exports=g},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,A,t){"use strict";var i=e("../compressions"),r=e("./ZipFileWorker");t.generateWorker=function(a,n,o){var u=new r(n.streamFiles,o,n.platform,n.encodeFileName),h=0;try{a.forEach(function(g,f){h++;var m=(function(b,v){var S=b||v,Q=i[S];if(!Q)throw new Error(S+" is not a valid compression method !");return Q})(f.options.compression,n.compression),B=f.options.compressionOptions||n.compressionOptions||{},w=f.dir,p=f.date;f._compressWorker(m,B).withStreamInfo("file",{name:g,dir:w,date:p,comment:f.comment||"",unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions}).pipe(u)}),u.entriesCount=h}catch(g){u.error(g)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,A,t){"use strict";function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var r=new i;for(var a in this)typeof this[a]!="function"&&(r[a]=this[a]);return r}}(i.prototype=e("./object")).loadAsync=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.version="3.10.1",i.loadAsync=function(r,a){return new i().loadAsync(r,a)},i.external=e("./external"),A.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,A,t){"use strict";var i=e("./utils"),r=e("./external"),a=e("./utf8"),n=e("./zipEntries"),o=e("./stream/Crc32Probe"),u=e("./nodejsUtils");function h(g){return new r.Promise(function(f,m){var B=g.decompressed.getContentWorker().pipe(new o);B.on("error",function(w){m(w)}).on("end",function(){B.streamInfo.crc32!==g.decompressed.crc32?m(new Error("Corrupted zip : CRC32 mismatch")):f()}).resume()})}A.exports=function(g,f){var m=this;return f=i.extend(f||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),u.isNode&&u.isStream(g)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",g,!0,f.optimizedBinaryString,f.base64).then(function(B){var w=new n(f);return w.load(B),w}).then(function(B){var w=[r.Promise.resolve(B)],p=B.files;if(f.checkCRC32)for(var b=0;b<p.length;b++)w.push(h(p[b]));return r.Promise.all(w)}).then(function(B){for(var w=B.shift(),p=w.files,b=0;b<p.length;b++){var v=p[b],S=v.fileNameStr,Q=i.resolve(v.fileNameStr);m.file(Q,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:f.createFolders}),v.dir||(m.file(Q).unsafeOriginalName=S)}return w.zipComment.length&&(m.comment=w.zipComment),m})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,A,t){"use strict";var i=e("../utils"),r=e("../stream/GenericWorker");function a(n,o){r.call(this,"Nodejs stream input adapter for "+n),this._upstreamEnded=!1,this._bindStream(o)}i.inherits(a,r),a.prototype._bindStream=function(n){var o=this;(this._stream=n).pause(),n.on("data",function(u){o.push({data:u,meta:{percent:0}})}).on("error",function(u){o.isPaused?this.generatedError=u:o.error(u)}).on("end",function(){o.isPaused?o._upstreamEnded=!0:o.end()})},a.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},A.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,A,t){"use strict";var i=e("readable-stream").Readable;function r(a,n,o){i.call(this,n),this._helper=a;var u=this;a.on("data",function(h,g){u.push(h)||u._helper.pause(),o&&o(g)}).on("error",function(h){u.emit("error",h)}).on("end",function(){u.push(null)})}e("../utils").inherits(r,i),r.prototype._read=function(){this._helper.resume()},A.exports=r},{"../utils":32,"readable-stream":16}],14:[function(e,A,t){"use strict";A.exports={isNode:typeof Buffer<"u",newBufferFrom:function(i,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(i,r);if(typeof i=="number")throw new Error('The "data" argument must not be a number');return new Buffer(i,r)},allocBuffer:function(i){if(Buffer.alloc)return Buffer.alloc(i);var r=new Buffer(i);return r.fill(0),r},isBuffer:function(i){return Buffer.isBuffer(i)},isStream:function(i){return i&&typeof i.on=="function"&&typeof i.pause=="function"&&typeof i.resume=="function"}}},{}],15:[function(e,A,t){"use strict";function i(Q,L,D){var _,k=a.getTypeOf(L),P=a.extend(D||{},u);P.date=P.date||new Date,P.compression!==null&&(P.compression=P.compression.toUpperCase()),typeof P.unixPermissions=="string"&&(P.unixPermissions=parseInt(P.unixPermissions,8)),P.unixPermissions&&16384&P.unixPermissions&&(P.dir=!0),P.dosPermissions&&16&P.dosPermissions&&(P.dir=!0),P.dir&&(Q=p(Q)),P.createFolders&&(_=w(Q))&&b.call(this,_,!0);var j=k==="string"&&P.binary===!1&&P.base64===!1;D&&D.binary!==void 0||(P.binary=!j),(L instanceof h&&L.uncompressedSize===0||P.dir||!L||L.length===0)&&(P.base64=!1,P.binary=!0,L="",P.compression="STORE",k="string");var E=null;E=L instanceof h||L instanceof n?L:m.isNode&&m.isStream(L)?new B(Q,L):a.prepareContent(Q,L,P.binary,P.optimizedBinaryString,P.base64);var K=new g(Q,E,P);this.files[Q]=K}var r=e("./utf8"),a=e("./utils"),n=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),u=e("./defaults"),h=e("./compressedObject"),g=e("./zipObject"),f=e("./generate"),m=e("./nodejsUtils"),B=e("./nodejs/NodejsStreamInputAdapter"),w=function(Q){Q.slice(-1)==="/"&&(Q=Q.substring(0,Q.length-1));var L=Q.lastIndexOf("/");return 0<L?Q.substring(0,L):""},p=function(Q){return Q.slice(-1)!=="/"&&(Q+="/"),Q},b=function(Q,L){return L=L!==void 0?L:u.createFolders,Q=p(Q),this.files[Q]||i.call(this,Q,null,{dir:!0,createFolders:L}),this.files[Q]};function v(Q){return Object.prototype.toString.call(Q)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(Q){var L,D,_;for(L in this.files)_=this.files[L],(D=L.slice(this.root.length,L.length))&&L.slice(0,this.root.length)===this.root&&Q(D,_)},filter:function(Q){var L=[];return this.forEach(function(D,_){Q(D,_)&&L.push(_)}),L},file:function(Q,L,D){if(arguments.length!==1)return Q=this.root+Q,i.call(this,Q,L,D),this;if(v(Q)){var _=Q;return this.filter(function(P,j){return!j.dir&&_.test(P)})}var k=this.files[this.root+Q];return k&&!k.dir?k:null},folder:function(Q){if(!Q)return this;if(v(Q))return this.filter(function(k,P){return P.dir&&Q.test(k)});var L=this.root+Q,D=b.call(this,L),_=this.clone();return _.root=D.name,_},remove:function(Q){Q=this.root+Q;var L=this.files[Q];if(L||(Q.slice(-1)!=="/"&&(Q+="/"),L=this.files[Q]),L&&!L.dir)delete this.files[Q];else for(var D=this.filter(function(k,P){return P.name.slice(0,Q.length)===Q}),_=0;_<D.length;_++)delete this.files[D[_].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Q){var L,D={};try{if((D=a.extend(Q||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=D.type.toLowerCase(),D.compression=D.compression.toUpperCase(),D.type==="binarystring"&&(D.type="string"),!D.type)throw new Error("No output type specified.");a.checkSupport(D.type),D.platform!=="darwin"&&D.platform!=="freebsd"&&D.platform!=="linux"&&D.platform!=="sunos"||(D.platform="UNIX"),D.platform==="win32"&&(D.platform="DOS");var _=D.comment||this.comment||"";L=f.generateWorker(this,D,_)}catch(k){(L=new n("error")).error(k)}return new o(L,D.type||"string",D.mimeType)},generateAsync:function(Q,L){return this.generateInternalStream(Q).accumulate(L)},generateNodeStream:function(Q,L){return(Q=Q||{}).type||(Q.type="nodebuffer"),this.generateInternalStream(Q).toNodejsStream(L)}};A.exports=S},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,A,t){"use strict";A.exports=e("stream")},{stream:void 0}],17:[function(e,A,t){"use strict";var i=e("./DataReader");function r(a){i.call(this,a);for(var n=0;n<this.data.length;n++)a[n]=255&a[n]}e("../utils").inherits(r,i),r.prototype.byteAt=function(a){return this.data[this.zero+a]},r.prototype.lastIndexOfSignature=function(a){for(var n=a.charCodeAt(0),o=a.charCodeAt(1),u=a.charCodeAt(2),h=a.charCodeAt(3),g=this.length-4;0<=g;--g)if(this.data[g]===n&&this.data[g+1]===o&&this.data[g+2]===u&&this.data[g+3]===h)return g-this.zero;return-1},r.prototype.readAndCheckSignature=function(a){var n=a.charCodeAt(0),o=a.charCodeAt(1),u=a.charCodeAt(2),h=a.charCodeAt(3),g=this.readData(4);return n===g[0]&&o===g[1]&&u===g[2]&&h===g[3]},r.prototype.readData=function(a){if(this.checkOffset(a),a===0)return[];var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},A.exports=r},{"../utils":32,"./DataReader":18}],18:[function(e,A,t){"use strict";var i=e("../utils");function r(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var n,o=0;for(this.checkOffset(a),n=this.index+a-1;n>=this.index;n--)o=(o<<8)+this.byteAt(n);return this.index+=a,o},readString:function(a){return i.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},A.exports=r},{"../utils":32}],19:[function(e,A,t){"use strict";var i=e("./Uint8ArrayReader");function r(a){i.call(this,a)}e("../utils").inherits(r,i),r.prototype.readData=function(a){this.checkOffset(a);var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},A.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,A,t){"use strict";var i=e("./DataReader");function r(a){i.call(this,a)}e("../utils").inherits(r,i),r.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},r.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},r.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},r.prototype.readData=function(a){this.checkOffset(a);var n=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},A.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,A,t){"use strict";var i=e("./ArrayReader");function r(a){i.call(this,a)}e("../utils").inherits(r,i),r.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var n=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,n},A.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,A,t){"use strict";var i=e("../utils"),r=e("../support"),a=e("./ArrayReader"),n=e("./StringReader"),o=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");A.exports=function(h){var g=i.getTypeOf(h);return i.checkSupport(g),g!=="string"||r.uint8array?g==="nodebuffer"?new o(h):r.uint8array?new u(i.transformTo("uint8array",h)):new a(i.transformTo("array",h)):new n(h)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,A,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,A,t){"use strict";var i=e("./GenericWorker"),r=e("../utils");function a(n){i.call(this,"ConvertWorker to "+n),this.destType=n}r.inherits(a,i),a.prototype.processChunk=function(n){this.push({data:r.transformTo(this.destType,n.data),meta:n.meta})},A.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,A,t){"use strict";var i=e("./GenericWorker"),r=e("../crc32");function a(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,i),a.prototype.processChunk=function(n){this.streamInfo.crc32=r(n.data,this.streamInfo.crc32||0),this.push(n)},A.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,A,t){"use strict";var i=e("../utils"),r=e("./GenericWorker");function a(n){r.call(this,"DataLengthProbe for "+n),this.propName=n,this.withStreamInfo(n,0)}i.inherits(a,r),a.prototype.processChunk=function(n){if(n){var o=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=o+n.data.length}r.prototype.processChunk.call(this,n)},A.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,A,t){"use strict";var i=e("../utils"),r=e("./GenericWorker");function a(n){r.call(this,"DataWorker");var o=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,n.then(function(u){o.dataIsReady=!0,o.data=u,o.max=u&&u.length||0,o.type=i.getTypeOf(u),o.isPaused||o._tickAndRepeat()},function(u){o.error(u)})}i.inherits(a,r),a.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var n=null,o=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":n=this.data.substring(this.index,o);break;case"uint8array":n=this.data.subarray(this.index,o);break;case"array":case"nodebuffer":n=this.data.slice(this.index,o)}return this.index=o,this.push({data:n,meta:{percent:this.max?this.index/this.max*100:0}})},A.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,A,t){"use strict";function i(r){this.name=r||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(r){this.emit("data",r)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(r){this.emit("error",r)}return!0},error:function(r){return!this.isFinished&&(this.isPaused?this.generatedError=r:(this.isFinished=!0,this.emit("error",r),this.previous&&this.previous.error(r),this.cleanUp()),!0)},on:function(r,a){return this._listeners[r].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(r,a){if(this._listeners[r])for(var n=0;n<this._listeners[r].length;n++)this._listeners[r][n].call(this,a)},pipe:function(r){return r.registerPrevious(this)},registerPrevious:function(r){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=r.streamInfo,this.mergeStreamInfo(),this.previous=r;var a=this;return r.on("data",function(n){a.processChunk(n)}),r.on("end",function(){a.end()}),r.on("error",function(n){a.error(n)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var r=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),r=!0),this.previous&&this.previous.resume(),!r},flush:function(){},processChunk:function(r){this.push(r)},withStreamInfo:function(r,a){return this.extraStreamInfo[r]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var r in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,r)&&(this.streamInfo[r]=this.extraStreamInfo[r])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var r="Worker "+this.name;return this.previous?this.previous+" -> "+r:r}},A.exports=i},{}],29:[function(e,A,t){"use strict";var i=e("../utils"),r=e("./ConvertWorker"),a=e("./GenericWorker"),n=e("../base64"),o=e("../support"),u=e("../external"),h=null;if(o.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function g(m,B){return new u.Promise(function(w,p){var b=[],v=m._internalType,S=m._outputType,Q=m._mimeType;m.on("data",function(L,D){b.push(L),B&&B(D)}).on("error",function(L){b=[],p(L)}).on("end",function(){try{var L=(function(D,_,k){switch(D){case"blob":return i.newBlob(i.transformTo("arraybuffer",_),k);case"base64":return n.encode(_);default:return i.transformTo(D,_)}})(S,(function(D,_){var k,P=0,j=null,E=0;for(k=0;k<_.length;k++)E+=_[k].length;switch(D){case"string":return _.join("");case"array":return Array.prototype.concat.apply([],_);case"uint8array":for(j=new Uint8Array(E),k=0;k<_.length;k++)j.set(_[k],P),P+=_[k].length;return j;case"nodebuffer":return Buffer.concat(_);default:throw new Error("concat : unsupported type '"+D+"'")}})(v,b),Q);w(L)}catch(D){p(D)}b=[]}).resume()})}function f(m,B,w){var p=B;switch(B){case"blob":case"arraybuffer":p="uint8array";break;case"base64":p="string"}try{this._internalType=p,this._outputType=B,this._mimeType=w,i.checkSupport(p),this._worker=m.pipe(new r(p)),m.lock()}catch(b){this._worker=new a("error"),this._worker.error(b)}}f.prototype={accumulate:function(m){return g(this,m)},on:function(m,B){var w=this;return m==="data"?this._worker.on(m,function(p){B.call(w,p.data,p.meta)}):this._worker.on(m,function(){i.delay(B,arguments,w)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(m){if(i.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:this._outputType!=="nodebuffer"},m)}},A.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,A,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",t.nodebuffer=typeof Buffer<"u",t.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")t.blob=!1;else{var i=new ArrayBuffer(0);try{t.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(i),t.blob=r.getBlob("application/zip").size===0}catch{t.blob=!1}}}try{t.nodestream=!!e("readable-stream").Readable}catch{t.nodestream=!1}},{"readable-stream":16}],31:[function(e,A,t){"use strict";for(var i=e("./utils"),r=e("./support"),a=e("./nodejsUtils"),n=e("./stream/GenericWorker"),o=new Array(256),u=0;u<256;u++)o[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;o[254]=o[254]=1;function h(){n.call(this,"utf-8 decode"),this.leftOver=null}function g(){n.call(this,"utf-8 encode")}t.utf8encode=function(f){return r.nodebuffer?a.newBufferFrom(f,"utf-8"):(function(m){var B,w,p,b,v,S=m.length,Q=0;for(b=0;b<S;b++)(64512&(w=m.charCodeAt(b)))==55296&&b+1<S&&(64512&(p=m.charCodeAt(b+1)))==56320&&(w=65536+(w-55296<<10)+(p-56320),b++),Q+=w<128?1:w<2048?2:w<65536?3:4;for(B=r.uint8array?new Uint8Array(Q):new Array(Q),b=v=0;v<Q;b++)(64512&(w=m.charCodeAt(b)))==55296&&b+1<S&&(64512&(p=m.charCodeAt(b+1)))==56320&&(w=65536+(w-55296<<10)+(p-56320),b++),w<128?B[v++]=w:(w<2048?B[v++]=192|w>>>6:(w<65536?B[v++]=224|w>>>12:(B[v++]=240|w>>>18,B[v++]=128|w>>>12&63),B[v++]=128|w>>>6&63),B[v++]=128|63&w);return B})(f)},t.utf8decode=function(f){return r.nodebuffer?i.transformTo("nodebuffer",f).toString("utf-8"):(function(m){var B,w,p,b,v=m.length,S=new Array(2*v);for(B=w=0;B<v;)if((p=m[B++])<128)S[w++]=p;else if(4<(b=o[p]))S[w++]=65533,B+=b-1;else{for(p&=b===2?31:b===3?15:7;1<b&&B<v;)p=p<<6|63&m[B++],b--;1<b?S[w++]=65533:p<65536?S[w++]=p:(p-=65536,S[w++]=55296|p>>10&1023,S[w++]=56320|1023&p)}return S.length!==w&&(S.subarray?S=S.subarray(0,w):S.length=w),i.applyFromCharCode(S)})(f=i.transformTo(r.uint8array?"uint8array":"array",f))},i.inherits(h,n),h.prototype.processChunk=function(f){var m=i.transformTo(r.uint8array?"uint8array":"array",f.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var B=m;(m=new Uint8Array(B.length+this.leftOver.length)).set(this.leftOver,0),m.set(B,this.leftOver.length)}else m=this.leftOver.concat(m);this.leftOver=null}var w=(function(b,v){var S;for((v=v||b.length)>b.length&&(v=b.length),S=v-1;0<=S&&(192&b[S])==128;)S--;return S<0||S===0?v:S+o[b[S]]>v?S:v})(m),p=m;w!==m.length&&(r.uint8array?(p=m.subarray(0,w),this.leftOver=m.subarray(w,m.length)):(p=m.slice(0,w),this.leftOver=m.slice(w,m.length))),this.push({data:t.utf8decode(p),meta:f.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=h,i.inherits(g,n),g.prototype.processChunk=function(f){this.push({data:t.utf8encode(f.data),meta:f.meta})},t.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,A,t){"use strict";var i=e("./support"),r=e("./base64"),a=e("./nodejsUtils"),n=e("./external");function o(B){return B}function u(B,w){for(var p=0;p<B.length;++p)w[p]=255&B.charCodeAt(p);return w}e("setimmediate"),t.newBlob=function(B,w){t.checkSupport("blob");try{return new Blob([B],{type:w})}catch{try{var p=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return p.append(B),p.getBlob(w)}catch{throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(B,w,p){var b=[],v=0,S=B.length;if(S<=p)return String.fromCharCode.apply(null,B);for(;v<S;)w==="array"||w==="nodebuffer"?b.push(String.fromCharCode.apply(null,B.slice(v,Math.min(v+p,S)))):b.push(String.fromCharCode.apply(null,B.subarray(v,Math.min(v+p,S)))),v+=p;return b.join("")},stringifyByChar:function(B){for(var w="",p=0;p<B.length;p++)w+=String.fromCharCode(B[p]);return w},applyCanBeUsed:{uint8array:(function(){try{return i.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return i.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}})()}};function g(B){var w=65536,p=t.getTypeOf(B),b=!0;if(p==="uint8array"?b=h.applyCanBeUsed.uint8array:p==="nodebuffer"&&(b=h.applyCanBeUsed.nodebuffer),b)for(;1<w;)try{return h.stringifyByChunk(B,p,w)}catch{w=Math.floor(w/2)}return h.stringifyByChar(B)}function f(B,w){for(var p=0;p<B.length;p++)w[p]=B[p];return w}t.applyFromCharCode=g;var m={};m.string={string:o,array:function(B){return u(B,new Array(B.length))},arraybuffer:function(B){return m.string.uint8array(B).buffer},uint8array:function(B){return u(B,new Uint8Array(B.length))},nodebuffer:function(B){return u(B,a.allocBuffer(B.length))}},m.array={string:g,array:o,arraybuffer:function(B){return new Uint8Array(B).buffer},uint8array:function(B){return new Uint8Array(B)},nodebuffer:function(B){return a.newBufferFrom(B)}},m.arraybuffer={string:function(B){return g(new Uint8Array(B))},array:function(B){return f(new Uint8Array(B),new Array(B.byteLength))},arraybuffer:o,uint8array:function(B){return new Uint8Array(B)},nodebuffer:function(B){return a.newBufferFrom(new Uint8Array(B))}},m.uint8array={string:g,array:function(B){return f(B,new Array(B.length))},arraybuffer:function(B){return B.buffer},uint8array:o,nodebuffer:function(B){return a.newBufferFrom(B)}},m.nodebuffer={string:g,array:function(B){return f(B,new Array(B.length))},arraybuffer:function(B){return m.nodebuffer.uint8array(B).buffer},uint8array:function(B){return f(B,new Uint8Array(B.length))},nodebuffer:o},t.transformTo=function(B,w){if(w=w||"",!B)return w;t.checkSupport(B);var p=t.getTypeOf(w);return m[p][B](w)},t.resolve=function(B){for(var w=B.split("/"),p=[],b=0;b<w.length;b++){var v=w[b];v==="."||v===""&&b!==0&&b!==w.length-1||(v===".."?p.pop():p.push(v))}return p.join("/")},t.getTypeOf=function(B){return typeof B=="string"?"string":Object.prototype.toString.call(B)==="[object Array]"?"array":i.nodebuffer&&a.isBuffer(B)?"nodebuffer":i.uint8array&&B instanceof Uint8Array?"uint8array":i.arraybuffer&&B instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(B){if(!i[B.toLowerCase()])throw new Error(B+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(B){var w,p,b="";for(p=0;p<(B||"").length;p++)b+="\\x"+((w=B.charCodeAt(p))<16?"0":"")+w.toString(16).toUpperCase();return b},t.delay=function(B,w,p){setImmediate(function(){B.apply(p||null,w||[])})},t.inherits=function(B,w){function p(){}p.prototype=w.prototype,B.prototype=new p},t.extend=function(){var B,w,p={};for(B=0;B<arguments.length;B++)for(w in arguments[B])Object.prototype.hasOwnProperty.call(arguments[B],w)&&p[w]===void 0&&(p[w]=arguments[B][w]);return p},t.prepareContent=function(B,w,p,b,v){return n.Promise.resolve(w).then(function(S){return i.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new n.Promise(function(Q,L){var D=new FileReader;D.onload=function(_){Q(_.target.result)},D.onerror=function(_){L(_.target.error)},D.readAsArrayBuffer(S)}):S}).then(function(S){var Q=t.getTypeOf(S);return Q?(Q==="arraybuffer"?S=t.transformTo("uint8array",S):Q==="string"&&(v?S=r.decode(S):p&&b!==!0&&(S=(function(L){return u(L,i.uint8array?new Uint8Array(L.length):new Array(L.length))})(S))),S):n.Promise.reject(new Error("Can't read the data of '"+B+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,A,t){"use strict";var i=e("./reader/readerFor"),r=e("./utils"),a=e("./signature"),n=e("./zipEntry"),o=e("./support");function u(h){this.files=[],this.loadOptions=h}u.prototype={checkSignature:function(h){if(!this.reader.readAndCheckSignature(h)){this.reader.index-=4;var g=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(g)+", expected "+r.pretty(h)+")")}},isSignature:function(h,g){var f=this.reader.index;this.reader.setIndex(h);var m=this.reader.readString(4)===g;return this.reader.setIndex(f),m},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var h=this.reader.readData(this.zipCommentLength),g=o.uint8array?"uint8array":"array",f=r.transformTo(g,h);this.zipComment=this.loadOptions.decodeFileName(f)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var h,g,f,m=this.zip64EndOfCentralSize-44;0<m;)h=this.reader.readInt(2),g=this.reader.readInt(4),f=this.reader.readData(g),this.zip64ExtensibleData[h]={id:h,length:g,value:f}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var h,g;for(h=0;h<this.files.length;h++)g=this.files[h],this.reader.setIndex(g.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),g.readLocalPart(this.reader),g.handleUTF8(),g.processAttributes()},readCentralDir:function(){var h;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(h=new n({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(h);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var h=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(h<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(h);var g=h;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(h=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(h),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var f=this.centralDirOffset+this.centralDirSize;this.zip64&&(f+=20,f+=12+this.zip64EndOfCentralSize);var m=g-f;if(0<m)this.isSignature(g,a.CENTRAL_FILE_HEADER)||(this.reader.zero=m);else if(m<0)throw new Error("Corrupted zip: missing "+Math.abs(m)+" bytes.")},prepareReader:function(h){this.reader=i(h)},load:function(h){this.prepareReader(h),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},A.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,A,t){"use strict";var i=e("./reader/readerFor"),r=e("./utils"),a=e("./compressedObject"),n=e("./crc32"),o=e("./utf8"),u=e("./compressions"),h=e("./support");function g(f,m){this.options=f,this.loadOptions=m}g.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(f){var m,B;if(f.skip(22),this.fileNameLength=f.readInt(2),B=f.readInt(2),this.fileName=f.readData(this.fileNameLength),f.skip(B),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((m=(function(w){for(var p in u)if(Object.prototype.hasOwnProperty.call(u,p)&&u[p].magic===w)return u[p];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,m,f.readData(this.compressedSize))},readCentralPart:function(f){this.versionMadeBy=f.readInt(2),f.skip(2),this.bitFlag=f.readInt(2),this.compressionMethod=f.readString(2),this.date=f.readDate(),this.crc32=f.readInt(4),this.compressedSize=f.readInt(4),this.uncompressedSize=f.readInt(4);var m=f.readInt(2);if(this.extraFieldsLength=f.readInt(2),this.fileCommentLength=f.readInt(2),this.diskNumberStart=f.readInt(2),this.internalFileAttributes=f.readInt(2),this.externalFileAttributes=f.readInt(4),this.localHeaderOffset=f.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");f.skip(m),this.readExtraFields(f),this.parseZIP64ExtraField(f),this.fileComment=f.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var f=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),f==0&&(this.dosPermissions=63&this.externalFileAttributes),f==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var f=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(f){var m,B,w,p=f.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});f.index+4<p;)m=f.readInt(2),B=f.readInt(2),w=f.readData(B),this.extraFields[m]={id:m,length:B,value:w};f.setIndex(p)},handleUTF8:function(){var f=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var m=this.findExtraFieldUnicodePath();if(m!==null)this.fileNameStr=m;else{var B=r.transformTo(f,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(B)}var w=this.findExtraFieldUnicodeComment();if(w!==null)this.fileCommentStr=w;else{var p=r.transformTo(f,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(p)}}},findExtraFieldUnicodePath:function(){var f=this.extraFields[28789];if(f){var m=i(f.value);return m.readInt(1)!==1||n(this.fileName)!==m.readInt(4)?null:o.utf8decode(m.readData(f.length-5))}return null},findExtraFieldUnicodeComment:function(){var f=this.extraFields[25461];if(f){var m=i(f.value);return m.readInt(1)!==1||n(this.fileComment)!==m.readInt(4)?null:o.utf8decode(m.readData(f.length-5))}return null}},A.exports=g},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,A,t){"use strict";function i(m,B,w){this.name=m,this.dir=w.dir,this.date=w.date,this.comment=w.comment,this.unixPermissions=w.unixPermissions,this.dosPermissions=w.dosPermissions,this._data=B,this._dataBinary=w.binary,this.options={compression:w.compression,compressionOptions:w.compressionOptions}}var r=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),n=e("./utf8"),o=e("./compressedObject"),u=e("./stream/GenericWorker");i.prototype={internalStream:function(m){var B=null,w="string";try{if(!m)throw new Error("No output type specified.");var p=(w=m.toLowerCase())==="string"||w==="text";w!=="binarystring"&&w!=="text"||(w="string"),B=this._decompressWorker();var b=!this._dataBinary;b&&!p&&(B=B.pipe(new n.Utf8EncodeWorker)),!b&&p&&(B=B.pipe(new n.Utf8DecodeWorker))}catch(v){(B=new u("error")).error(v)}return new r(B,w,"")},async:function(m,B){return this.internalStream(m).accumulate(B)},nodeStream:function(m,B){return this.internalStream(m||"nodebuffer").toNodejsStream(B)},_compressWorker:function(m,B){if(this._data instanceof o&&this._data.compression.magic===m.magic)return this._data.getCompressedWorker();var w=this._decompressWorker();return this._dataBinary||(w=w.pipe(new n.Utf8EncodeWorker)),o.createWorkerFrom(w,m,B)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof u?this._data:new a(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],g=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<h.length;f++)i.prototype[h[f]]=g;A.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,A,t){(function(i){"use strict";var r,a,n=i.MutationObserver||i.WebKitMutationObserver;if(n){var o=0,u=new n(m),h=i.document.createTextNode("");u.observe(h,{characterData:!0}),r=function(){h.data=o=++o%2}}else if(i.setImmediate||i.MessageChannel===void 0)r="document"in i&&"onreadystatechange"in i.document.createElement("script")?function(){var B=i.document.createElement("script");B.onreadystatechange=function(){m(),B.onreadystatechange=null,B.parentNode.removeChild(B),B=null},i.document.documentElement.appendChild(B)}:function(){setTimeout(m,0)};else{var g=new i.MessageChannel;g.port1.onmessage=m,r=function(){g.port2.postMessage(0)}}var f=[];function m(){var B,w;a=!0;for(var p=f.length;p;){for(w=f,f=[],B=-1;++B<p;)w[B]();p=f.length}a=!1}A.exports=function(B){f.push(B)!==1||a||r()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(e,A,t){"use strict";var i=e("immediate");function r(){}var a={},n=["REJECTED"],o=["FULFILLED"],u=["PENDING"];function h(p){if(typeof p!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,p!==r&&B(this,p)}function g(p,b,v){this.promise=p,typeof b=="function"&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function f(p,b,v){i(function(){var S;try{S=b(v)}catch(Q){return a.reject(p,Q)}S===p?a.reject(p,new TypeError("Cannot resolve promise with itself")):a.resolve(p,S)})}function m(p){var b=p&&p.then;if(p&&(typeof p=="object"||typeof p=="function")&&typeof b=="function")return function(){b.apply(p,arguments)}}function B(p,b){var v=!1;function S(D){v||(v=!0,a.reject(p,D))}function Q(D){v||(v=!0,a.resolve(p,D))}var L=w(function(){b(Q,S)});L.status==="error"&&S(L.value)}function w(p,b){var v={};try{v.value=p(b),v.status="success"}catch(S){v.status="error",v.value=S}return v}(A.exports=h).prototype.finally=function(p){if(typeof p!="function")return this;var b=this.constructor;return this.then(function(v){return b.resolve(p()).then(function(){return v})},function(v){return b.resolve(p()).then(function(){throw v})})},h.prototype.catch=function(p){return this.then(null,p)},h.prototype.then=function(p,b){if(typeof p!="function"&&this.state===o||typeof b!="function"&&this.state===n)return this;var v=new this.constructor(r);return this.state!==u?f(v,this.state===o?p:b,this.outcome):this.queue.push(new g(v,p,b)),v},g.prototype.callFulfilled=function(p){a.resolve(this.promise,p)},g.prototype.otherCallFulfilled=function(p){f(this.promise,this.onFulfilled,p)},g.prototype.callRejected=function(p){a.reject(this.promise,p)},g.prototype.otherCallRejected=function(p){f(this.promise,this.onRejected,p)},a.resolve=function(p,b){var v=w(m,b);if(v.status==="error")return a.reject(p,v.value);var S=v.value;if(S)B(p,S);else{p.state=o,p.outcome=b;for(var Q=-1,L=p.queue.length;++Q<L;)p.queue[Q].callFulfilled(b)}return p},a.reject=function(p,b){p.state=n,p.outcome=b;for(var v=-1,S=p.queue.length;++v<S;)p.queue[v].callRejected(b);return p},h.resolve=function(p){return p instanceof this?p:a.resolve(new this(r),p)},h.reject=function(p){var b=new this(r);return a.reject(b,p)},h.all=function(p){var b=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=p.length,S=!1;if(!v)return this.resolve([]);for(var Q=new Array(v),L=0,D=-1,_=new this(r);++D<v;)k(p[D],D);return _;function k(P,j){b.resolve(P).then(function(E){Q[j]=E,++L!==v||S||(S=!0,a.resolve(_,Q))},function(E){S||(S=!0,a.reject(_,E))})}},h.race=function(p){var b=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=p.length,S=!1;if(!v)return this.resolve([]);for(var Q=-1,L=new this(r);++Q<v;)D=p[Q],b.resolve(D).then(function(_){S||(S=!0,a.resolve(L,_))},function(_){S||(S=!0,a.reject(L,_))});var D;return L}},{immediate:36}],38:[function(e,A,t){"use strict";var i={};(0,e("./lib/utils/common").assign)(i,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),A.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,A,t){"use strict";var i=e("./zlib/deflate"),r=e("./utils/common"),a=e("./utils/strings"),n=e("./zlib/messages"),o=e("./zlib/zstream"),u=Object.prototype.toString,h=0,g=-1,f=0,m=8;function B(p){if(!(this instanceof B))return new B(p);this.options=r.assign({level:g,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},p||{});var b=this.options;b.raw&&0<b.windowBits?b.windowBits=-b.windowBits:b.gzip&&0<b.windowBits&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var v=i.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(v!==h)throw new Error(n[v]);if(b.header&&i.deflateSetHeader(this.strm,b.header),b.dictionary){var S;if(S=typeof b.dictionary=="string"?a.string2buf(b.dictionary):u.call(b.dictionary)==="[object ArrayBuffer]"?new Uint8Array(b.dictionary):b.dictionary,(v=i.deflateSetDictionary(this.strm,S))!==h)throw new Error(n[v]);this._dict_set=!0}}function w(p,b){var v=new B(b);if(v.push(p,!0),v.err)throw v.msg||n[v.err];return v.result}B.prototype.push=function(p,b){var v,S,Q=this.strm,L=this.options.chunkSize;if(this.ended)return!1;S=b===~~b?b:b===!0?4:0,typeof p=="string"?Q.input=a.string2buf(p):u.call(p)==="[object ArrayBuffer]"?Q.input=new Uint8Array(p):Q.input=p,Q.next_in=0,Q.avail_in=Q.input.length;do{if(Q.avail_out===0&&(Q.output=new r.Buf8(L),Q.next_out=0,Q.avail_out=L),(v=i.deflate(Q,S))!==1&&v!==h)return this.onEnd(v),!(this.ended=!0);Q.avail_out!==0&&(Q.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(a.buf2binstring(r.shrinkBuf(Q.output,Q.next_out))):this.onData(r.shrinkBuf(Q.output,Q.next_out)))}while((0<Q.avail_in||Q.avail_out===0)&&v!==1);return S===4?(v=i.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===h):S!==2||(this.onEnd(h),!(Q.avail_out=0))},B.prototype.onData=function(p){this.chunks.push(p)},B.prototype.onEnd=function(p){p===h&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},t.Deflate=B,t.deflate=w,t.deflateRaw=function(p,b){return(b=b||{}).raw=!0,w(p,b)},t.gzip=function(p,b){return(b=b||{}).gzip=!0,w(p,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,A,t){"use strict";var i=e("./zlib/inflate"),r=e("./utils/common"),a=e("./utils/strings"),n=e("./zlib/constants"),o=e("./zlib/messages"),u=e("./zlib/zstream"),h=e("./zlib/gzheader"),g=Object.prototype.toString;function f(B){if(!(this instanceof f))return new f(B);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},B||{});var w=this.options;w.raw&&0<=w.windowBits&&w.windowBits<16&&(w.windowBits=-w.windowBits,w.windowBits===0&&(w.windowBits=-15)),!(0<=w.windowBits&&w.windowBits<16)||B&&B.windowBits||(w.windowBits+=32),15<w.windowBits&&w.windowBits<48&&(15&w.windowBits)==0&&(w.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var p=i.inflateInit2(this.strm,w.windowBits);if(p!==n.Z_OK)throw new Error(o[p]);this.header=new h,i.inflateGetHeader(this.strm,this.header)}function m(B,w){var p=new f(w);if(p.push(B,!0),p.err)throw p.msg||o[p.err];return p.result}f.prototype.push=function(B,w){var p,b,v,S,Q,L,D=this.strm,_=this.options.chunkSize,k=this.options.dictionary,P=!1;if(this.ended)return!1;b=w===~~w?w:w===!0?n.Z_FINISH:n.Z_NO_FLUSH,typeof B=="string"?D.input=a.binstring2buf(B):g.call(B)==="[object ArrayBuffer]"?D.input=new Uint8Array(B):D.input=B,D.next_in=0,D.avail_in=D.input.length;do{if(D.avail_out===0&&(D.output=new r.Buf8(_),D.next_out=0,D.avail_out=_),(p=i.inflate(D,n.Z_NO_FLUSH))===n.Z_NEED_DICT&&k&&(L=typeof k=="string"?a.string2buf(k):g.call(k)==="[object ArrayBuffer]"?new Uint8Array(k):k,p=i.inflateSetDictionary(this.strm,L)),p===n.Z_BUF_ERROR&&P===!0&&(p=n.Z_OK,P=!1),p!==n.Z_STREAM_END&&p!==n.Z_OK)return this.onEnd(p),!(this.ended=!0);D.next_out&&(D.avail_out!==0&&p!==n.Z_STREAM_END&&(D.avail_in!==0||b!==n.Z_FINISH&&b!==n.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=a.utf8border(D.output,D.next_out),S=D.next_out-v,Q=a.buf2string(D.output,v),D.next_out=S,D.avail_out=_-S,S&&r.arraySet(D.output,D.output,v,S,0),this.onData(Q)):this.onData(r.shrinkBuf(D.output,D.next_out)))),D.avail_in===0&&D.avail_out===0&&(P=!0)}while((0<D.avail_in||D.avail_out===0)&&p!==n.Z_STREAM_END);return p===n.Z_STREAM_END&&(b=n.Z_FINISH),b===n.Z_FINISH?(p=i.inflateEnd(this.strm),this.onEnd(p),this.ended=!0,p===n.Z_OK):b!==n.Z_SYNC_FLUSH||(this.onEnd(n.Z_OK),!(D.avail_out=0))},f.prototype.onData=function(B){this.chunks.push(B)},f.prototype.onEnd=function(B){B===n.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=B,this.msg=this.strm.msg},t.Inflate=f,t.inflate=m,t.inflateRaw=function(B,w){return(w=w||{}).raw=!0,m(B,w)},t.ungzip=m},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,A,t){"use strict";var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";t.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var u=o.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var h in u)u.hasOwnProperty(h)&&(n[h]=u[h])}}return n},t.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var r={arraySet:function(n,o,u,h,g){if(o.subarray&&n.subarray)n.set(o.subarray(u,u+h),g);else for(var f=0;f<h;f++)n[g+f]=o[u+f]},flattenChunks:function(n){var o,u,h,g,f,m;for(o=h=0,u=n.length;o<u;o++)h+=n[o].length;for(m=new Uint8Array(h),o=g=0,u=n.length;o<u;o++)f=n[o],m.set(f,g),g+=f.length;return m}},a={arraySet:function(n,o,u,h,g){for(var f=0;f<h;f++)n[g+f]=o[u+f]},flattenChunks:function(n){return[].concat.apply([],n)}};t.setTyped=function(n){n?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,r)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(i)},{}],42:[function(e,A,t){"use strict";var i=e("./common"),r=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var n=new i.Buf8(256),o=0;o<256;o++)n[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function u(h,g){if(g<65537&&(h.subarray&&a||!h.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(h,g));for(var f="",m=0;m<g;m++)f+=String.fromCharCode(h[m]);return f}n[254]=n[254]=1,t.string2buf=function(h){var g,f,m,B,w,p=h.length,b=0;for(B=0;B<p;B++)(64512&(f=h.charCodeAt(B)))==55296&&B+1<p&&(64512&(m=h.charCodeAt(B+1)))==56320&&(f=65536+(f-55296<<10)+(m-56320),B++),b+=f<128?1:f<2048?2:f<65536?3:4;for(g=new i.Buf8(b),B=w=0;w<b;B++)(64512&(f=h.charCodeAt(B)))==55296&&B+1<p&&(64512&(m=h.charCodeAt(B+1)))==56320&&(f=65536+(f-55296<<10)+(m-56320),B++),f<128?g[w++]=f:(f<2048?g[w++]=192|f>>>6:(f<65536?g[w++]=224|f>>>12:(g[w++]=240|f>>>18,g[w++]=128|f>>>12&63),g[w++]=128|f>>>6&63),g[w++]=128|63&f);return g},t.buf2binstring=function(h){return u(h,h.length)},t.binstring2buf=function(h){for(var g=new i.Buf8(h.length),f=0,m=g.length;f<m;f++)g[f]=h.charCodeAt(f);return g},t.buf2string=function(h,g){var f,m,B,w,p=g||h.length,b=new Array(2*p);for(f=m=0;f<p;)if((B=h[f++])<128)b[m++]=B;else if(4<(w=n[B]))b[m++]=65533,f+=w-1;else{for(B&=w===2?31:w===3?15:7;1<w&&f<p;)B=B<<6|63&h[f++],w--;1<w?b[m++]=65533:B<65536?b[m++]=B:(B-=65536,b[m++]=55296|B>>10&1023,b[m++]=56320|1023&B)}return u(b,m)},t.utf8border=function(h,g){var f;for((g=g||h.length)>h.length&&(g=h.length),f=g-1;0<=f&&(192&h[f])==128;)f--;return f<0||f===0?g:f+n[h[f]]>g?f:g}},{"./common":41}],43:[function(e,A,t){"use strict";A.exports=function(i,r,a,n){for(var o=65535&i|0,u=i>>>16&65535|0,h=0;a!==0;){for(a-=h=2e3<a?2e3:a;u=u+(o=o+r[n++]|0)|0,--h;);o%=65521,u%=65521}return o|u<<16|0}},{}],44:[function(e,A,t){"use strict";A.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,A,t){"use strict";var i=(function(){for(var r,a=[],n=0;n<256;n++){r=n;for(var o=0;o<8;o++)r=1&r?3988292384^r>>>1:r>>>1;a[n]=r}return a})();A.exports=function(r,a,n,o){var u=i,h=o+n;r^=-1;for(var g=o;g<h;g++)r=r>>>8^u[255&(r^a[g])];return-1^r}},{}],46:[function(e,A,t){"use strict";var i,r=e("../utils/common"),a=e("./trees"),n=e("./adler32"),o=e("./crc32"),u=e("./messages"),h=0,g=4,f=0,m=-2,B=-1,w=4,p=2,b=8,v=9,S=286,Q=30,L=19,D=2*S+1,_=15,k=3,P=258,j=P+k+1,E=42,K=113,F=1,W=2,aA=3,J=4;function dA(x,rA){return x.msg=u[rA],rA}function eA(x){return(x<<1)-(4<x?9:0)}function hA(x){for(var rA=x.length;0<=--rA;)x[rA]=0}function X(x){var rA=x.state,q=rA.pending;q>x.avail_out&&(q=x.avail_out),q!==0&&(r.arraySet(x.output,rA.pending_buf,rA.pending_out,q,x.next_out),x.next_out+=q,rA.pending_out+=q,x.total_out+=q,x.avail_out-=q,rA.pending-=q,rA.pending===0&&(rA.pending_out=0))}function z(x,rA){a._tr_flush_block(x,0<=x.block_start?x.block_start:-1,x.strstart-x.block_start,rA),x.block_start=x.strstart,X(x.strm)}function gA(x,rA){x.pending_buf[x.pending++]=rA}function lA(x,rA){x.pending_buf[x.pending++]=rA>>>8&255,x.pending_buf[x.pending++]=255&rA}function iA(x,rA){var q,M,O=x.max_chain_length,G=x.strstart,nA=x.prev_length,sA=x.nice_match,Z=x.strstart>x.w_size-j?x.strstart-(x.w_size-j):0,cA=x.window,CA=x.w_mask,uA=x.prev,SA=x.strstart+P,te=cA[G+nA-1],_A=cA[G+nA];x.prev_length>=x.good_match&&(O>>=2),sA>x.lookahead&&(sA=x.lookahead);do if(cA[(q=rA)+nA]===_A&&cA[q+nA-1]===te&&cA[q]===cA[G]&&cA[++q]===cA[G+1]){G+=2,q++;do;while(cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&cA[++G]===cA[++q]&&G<SA);if(M=P-(SA-G),G=SA-P,nA<M){if(x.match_start=rA,sA<=(nA=M))break;te=cA[G+nA-1],_A=cA[G+nA]}}while((rA=uA[rA&CA])>Z&&--O!=0);return nA<=x.lookahead?nA:x.lookahead}function UA(x){var rA,q,M,O,G,nA,sA,Z,cA,CA,uA=x.w_size;do{if(O=x.window_size-x.lookahead-x.strstart,x.strstart>=uA+(uA-j)){for(r.arraySet(x.window,x.window,uA,uA,0),x.match_start-=uA,x.strstart-=uA,x.block_start-=uA,rA=q=x.hash_size;M=x.head[--rA],x.head[rA]=uA<=M?M-uA:0,--q;);for(rA=q=uA;M=x.prev[--rA],x.prev[rA]=uA<=M?M-uA:0,--q;);O+=uA}if(x.strm.avail_in===0)break;if(nA=x.strm,sA=x.window,Z=x.strstart+x.lookahead,cA=O,CA=void 0,CA=nA.avail_in,cA<CA&&(CA=cA),q=CA===0?0:(nA.avail_in-=CA,r.arraySet(sA,nA.input,nA.next_in,CA,Z),nA.state.wrap===1?nA.adler=n(nA.adler,sA,CA,Z):nA.state.wrap===2&&(nA.adler=o(nA.adler,sA,CA,Z)),nA.next_in+=CA,nA.total_in+=CA,CA),x.lookahead+=q,x.lookahead+x.insert>=k)for(G=x.strstart-x.insert,x.ins_h=x.window[G],x.ins_h=(x.ins_h<<x.hash_shift^x.window[G+1])&x.hash_mask;x.insert&&(x.ins_h=(x.ins_h<<x.hash_shift^x.window[G+k-1])&x.hash_mask,x.prev[G&x.w_mask]=x.head[x.ins_h],x.head[x.ins_h]=G,G++,x.insert--,!(x.lookahead+x.insert<k)););}while(x.lookahead<j&&x.strm.avail_in!==0)}function HA(x,rA){for(var q,M;;){if(x.lookahead<j){if(UA(x),x.lookahead<j&&rA===h)return F;if(x.lookahead===0)break}if(q=0,x.lookahead>=k&&(x.ins_h=(x.ins_h<<x.hash_shift^x.window[x.strstart+k-1])&x.hash_mask,q=x.prev[x.strstart&x.w_mask]=x.head[x.ins_h],x.head[x.ins_h]=x.strstart),q!==0&&x.strstart-q<=x.w_size-j&&(x.match_length=iA(x,q)),x.match_length>=k)if(M=a._tr_tally(x,x.strstart-x.match_start,x.match_length-k),x.lookahead-=x.match_length,x.match_length<=x.max_lazy_match&&x.lookahead>=k){for(x.match_length--;x.strstart++,x.ins_h=(x.ins_h<<x.hash_shift^x.window[x.strstart+k-1])&x.hash_mask,q=x.prev[x.strstart&x.w_mask]=x.head[x.ins_h],x.head[x.ins_h]=x.strstart,--x.match_length!=0;);x.strstart++}else x.strstart+=x.match_length,x.match_length=0,x.ins_h=x.window[x.strstart],x.ins_h=(x.ins_h<<x.hash_shift^x.window[x.strstart+1])&x.hash_mask;else M=a._tr_tally(x,0,x.window[x.strstart]),x.lookahead--,x.strstart++;if(M&&(z(x,!1),x.strm.avail_out===0))return F}return x.insert=x.strstart<k-1?x.strstart:k-1,rA===g?(z(x,!0),x.strm.avail_out===0?aA:J):x.last_lit&&(z(x,!1),x.strm.avail_out===0)?F:W}function IA(x,rA){for(var q,M,O;;){if(x.lookahead<j){if(UA(x),x.lookahead<j&&rA===h)return F;if(x.lookahead===0)break}if(q=0,x.lookahead>=k&&(x.ins_h=(x.ins_h<<x.hash_shift^x.window[x.strstart+k-1])&x.hash_mask,q=x.prev[x.strstart&x.w_mask]=x.head[x.ins_h],x.head[x.ins_h]=x.strstart),x.prev_length=x.match_length,x.prev_match=x.match_start,x.match_length=k-1,q!==0&&x.prev_length<x.max_lazy_match&&x.strstart-q<=x.w_size-j&&(x.match_length=iA(x,q),x.match_length<=5&&(x.strategy===1||x.match_length===k&&4096<x.strstart-x.match_start)&&(x.match_length=k-1)),x.prev_length>=k&&x.match_length<=x.prev_length){for(O=x.strstart+x.lookahead-k,M=a._tr_tally(x,x.strstart-1-x.prev_match,x.prev_length-k),x.lookahead-=x.prev_length-1,x.prev_length-=2;++x.strstart<=O&&(x.ins_h=(x.ins_h<<x.hash_shift^x.window[x.strstart+k-1])&x.hash_mask,q=x.prev[x.strstart&x.w_mask]=x.head[x.ins_h],x.head[x.ins_h]=x.strstart),--x.prev_length!=0;);if(x.match_available=0,x.match_length=k-1,x.strstart++,M&&(z(x,!1),x.strm.avail_out===0))return F}else if(x.match_available){if((M=a._tr_tally(x,0,x.window[x.strstart-1]))&&z(x,!1),x.strstart++,x.lookahead--,x.strm.avail_out===0)return F}else x.match_available=1,x.strstart++,x.lookahead--}return x.match_available&&(M=a._tr_tally(x,0,x.window[x.strstart-1]),x.match_available=0),x.insert=x.strstart<k-1?x.strstart:k-1,rA===g?(z(x,!0),x.strm.avail_out===0?aA:J):x.last_lit&&(z(x,!1),x.strm.avail_out===0)?F:W}function OA(x,rA,q,M,O){this.good_length=x,this.max_lazy=rA,this.nice_length=q,this.max_chain=M,this.func=O}function ce(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*D),this.dyn_dtree=new r.Buf16(2*(2*Q+1)),this.bl_tree=new r.Buf16(2*(2*L+1)),hA(this.dyn_ltree),hA(this.dyn_dtree),hA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(_+1),this.heap=new r.Buf16(2*S+1),hA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*S+1),hA(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function $A(x){var rA;return x&&x.state?(x.total_in=x.total_out=0,x.data_type=p,(rA=x.state).pending=0,rA.pending_out=0,rA.wrap<0&&(rA.wrap=-rA.wrap),rA.status=rA.wrap?E:K,x.adler=rA.wrap===2?0:1,rA.last_flush=h,a._tr_init(rA),f):dA(x,m)}function Se(x){var rA=$A(x);return rA===f&&(function(q){q.window_size=2*q.w_size,hA(q.head),q.max_lazy_match=i[q.level].max_lazy,q.good_match=i[q.level].good_length,q.nice_match=i[q.level].nice_length,q.max_chain_length=i[q.level].max_chain,q.strstart=0,q.block_start=0,q.lookahead=0,q.insert=0,q.match_length=q.prev_length=k-1,q.match_available=0,q.ins_h=0})(x.state),rA}function Ke(x,rA,q,M,O,G){if(!x)return m;var nA=1;if(rA===B&&(rA=6),M<0?(nA=0,M=-M):15<M&&(nA=2,M-=16),O<1||v<O||q!==b||M<8||15<M||rA<0||9<rA||G<0||w<G)return dA(x,m);M===8&&(M=9);var sA=new ce;return(x.state=sA).strm=x,sA.wrap=nA,sA.gzhead=null,sA.w_bits=M,sA.w_size=1<<sA.w_bits,sA.w_mask=sA.w_size-1,sA.hash_bits=O+7,sA.hash_size=1<<sA.hash_bits,sA.hash_mask=sA.hash_size-1,sA.hash_shift=~~((sA.hash_bits+k-1)/k),sA.window=new r.Buf8(2*sA.w_size),sA.head=new r.Buf16(sA.hash_size),sA.prev=new r.Buf16(sA.w_size),sA.lit_bufsize=1<<O+6,sA.pending_buf_size=4*sA.lit_bufsize,sA.pending_buf=new r.Buf8(sA.pending_buf_size),sA.d_buf=1*sA.lit_bufsize,sA.l_buf=3*sA.lit_bufsize,sA.level=rA,sA.strategy=G,sA.method=q,Se(x)}i=[new OA(0,0,0,0,function(x,rA){var q=65535;for(q>x.pending_buf_size-5&&(q=x.pending_buf_size-5);;){if(x.lookahead<=1){if(UA(x),x.lookahead===0&&rA===h)return F;if(x.lookahead===0)break}x.strstart+=x.lookahead,x.lookahead=0;var M=x.block_start+q;if((x.strstart===0||x.strstart>=M)&&(x.lookahead=x.strstart-M,x.strstart=M,z(x,!1),x.strm.avail_out===0)||x.strstart-x.block_start>=x.w_size-j&&(z(x,!1),x.strm.avail_out===0))return F}return x.insert=0,rA===g?(z(x,!0),x.strm.avail_out===0?aA:J):(x.strstart>x.block_start&&(z(x,!1),x.strm.avail_out),F)}),new OA(4,4,8,4,HA),new OA(4,5,16,8,HA),new OA(4,6,32,32,HA),new OA(4,4,16,16,IA),new OA(8,16,32,32,IA),new OA(8,16,128,128,IA),new OA(8,32,128,256,IA),new OA(32,128,258,1024,IA),new OA(32,258,258,4096,IA)],t.deflateInit=function(x,rA){return Ke(x,rA,b,15,8,0)},t.deflateInit2=Ke,t.deflateReset=Se,t.deflateResetKeep=$A,t.deflateSetHeader=function(x,rA){return x&&x.state?x.state.wrap!==2?m:(x.state.gzhead=rA,f):m},t.deflate=function(x,rA){var q,M,O,G;if(!x||!x.state||5<rA||rA<0)return x?dA(x,m):m;if(M=x.state,!x.output||!x.input&&x.avail_in!==0||M.status===666&&rA!==g)return dA(x,x.avail_out===0?-5:m);if(M.strm=x,q=M.last_flush,M.last_flush=rA,M.status===E)if(M.wrap===2)x.adler=0,gA(M,31),gA(M,139),gA(M,8),M.gzhead?(gA(M,(M.gzhead.text?1:0)+(M.gzhead.hcrc?2:0)+(M.gzhead.extra?4:0)+(M.gzhead.name?8:0)+(M.gzhead.comment?16:0)),gA(M,255&M.gzhead.time),gA(M,M.gzhead.time>>8&255),gA(M,M.gzhead.time>>16&255),gA(M,M.gzhead.time>>24&255),gA(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),gA(M,255&M.gzhead.os),M.gzhead.extra&&M.gzhead.extra.length&&(gA(M,255&M.gzhead.extra.length),gA(M,M.gzhead.extra.length>>8&255)),M.gzhead.hcrc&&(x.adler=o(x.adler,M.pending_buf,M.pending,0)),M.gzindex=0,M.status=69):(gA(M,0),gA(M,0),gA(M,0),gA(M,0),gA(M,0),gA(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),gA(M,3),M.status=K);else{var nA=b+(M.w_bits-8<<4)<<8;nA|=(2<=M.strategy||M.level<2?0:M.level<6?1:M.level===6?2:3)<<6,M.strstart!==0&&(nA|=32),nA+=31-nA%31,M.status=K,lA(M,nA),M.strstart!==0&&(lA(M,x.adler>>>16),lA(M,65535&x.adler)),x.adler=1}if(M.status===69)if(M.gzhead.extra){for(O=M.pending;M.gzindex<(65535&M.gzhead.extra.length)&&(M.pending!==M.pending_buf_size||(M.gzhead.hcrc&&M.pending>O&&(x.adler=o(x.adler,M.pending_buf,M.pending-O,O)),X(x),O=M.pending,M.pending!==M.pending_buf_size));)gA(M,255&M.gzhead.extra[M.gzindex]),M.gzindex++;M.gzhead.hcrc&&M.pending>O&&(x.adler=o(x.adler,M.pending_buf,M.pending-O,O)),M.gzindex===M.gzhead.extra.length&&(M.gzindex=0,M.status=73)}else M.status=73;if(M.status===73)if(M.gzhead.name){O=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>O&&(x.adler=o(x.adler,M.pending_buf,M.pending-O,O)),X(x),O=M.pending,M.pending===M.pending_buf_size)){G=1;break}G=M.gzindex<M.gzhead.name.length?255&M.gzhead.name.charCodeAt(M.gzindex++):0,gA(M,G)}while(G!==0);M.gzhead.hcrc&&M.pending>O&&(x.adler=o(x.adler,M.pending_buf,M.pending-O,O)),G===0&&(M.gzindex=0,M.status=91)}else M.status=91;if(M.status===91)if(M.gzhead.comment){O=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>O&&(x.adler=o(x.adler,M.pending_buf,M.pending-O,O)),X(x),O=M.pending,M.pending===M.pending_buf_size)){G=1;break}G=M.gzindex<M.gzhead.comment.length?255&M.gzhead.comment.charCodeAt(M.gzindex++):0,gA(M,G)}while(G!==0);M.gzhead.hcrc&&M.pending>O&&(x.adler=o(x.adler,M.pending_buf,M.pending-O,O)),G===0&&(M.status=103)}else M.status=103;if(M.status===103&&(M.gzhead.hcrc?(M.pending+2>M.pending_buf_size&&X(x),M.pending+2<=M.pending_buf_size&&(gA(M,255&x.adler),gA(M,x.adler>>8&255),x.adler=0,M.status=K)):M.status=K),M.pending!==0){if(X(x),x.avail_out===0)return M.last_flush=-1,f}else if(x.avail_in===0&&eA(rA)<=eA(q)&&rA!==g)return dA(x,-5);if(M.status===666&&x.avail_in!==0)return dA(x,-5);if(x.avail_in!==0||M.lookahead!==0||rA!==h&&M.status!==666){var sA=M.strategy===2?(function(Z,cA){for(var CA;;){if(Z.lookahead===0&&(UA(Z),Z.lookahead===0)){if(cA===h)return F;break}if(Z.match_length=0,CA=a._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++,CA&&(z(Z,!1),Z.strm.avail_out===0))return F}return Z.insert=0,cA===g?(z(Z,!0),Z.strm.avail_out===0?aA:J):Z.last_lit&&(z(Z,!1),Z.strm.avail_out===0)?F:W})(M,rA):M.strategy===3?(function(Z,cA){for(var CA,uA,SA,te,_A=Z.window;;){if(Z.lookahead<=P){if(UA(Z),Z.lookahead<=P&&cA===h)return F;if(Z.lookahead===0)break}if(Z.match_length=0,Z.lookahead>=k&&0<Z.strstart&&(uA=_A[SA=Z.strstart-1])===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]){te=Z.strstart+P;do;while(uA===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]&&uA===_A[++SA]&&SA<te);Z.match_length=P-(te-SA),Z.match_length>Z.lookahead&&(Z.match_length=Z.lookahead)}if(Z.match_length>=k?(CA=a._tr_tally(Z,1,Z.match_length-k),Z.lookahead-=Z.match_length,Z.strstart+=Z.match_length,Z.match_length=0):(CA=a._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++),CA&&(z(Z,!1),Z.strm.avail_out===0))return F}return Z.insert=0,cA===g?(z(Z,!0),Z.strm.avail_out===0?aA:J):Z.last_lit&&(z(Z,!1),Z.strm.avail_out===0)?F:W})(M,rA):i[M.level].func(M,rA);if(sA!==aA&&sA!==J||(M.status=666),sA===F||sA===aA)return x.avail_out===0&&(M.last_flush=-1),f;if(sA===W&&(rA===1?a._tr_align(M):rA!==5&&(a._tr_stored_block(M,0,0,!1),rA===3&&(hA(M.head),M.lookahead===0&&(M.strstart=0,M.block_start=0,M.insert=0))),X(x),x.avail_out===0))return M.last_flush=-1,f}return rA!==g?f:M.wrap<=0?1:(M.wrap===2?(gA(M,255&x.adler),gA(M,x.adler>>8&255),gA(M,x.adler>>16&255),gA(M,x.adler>>24&255),gA(M,255&x.total_in),gA(M,x.total_in>>8&255),gA(M,x.total_in>>16&255),gA(M,x.total_in>>24&255)):(lA(M,x.adler>>>16),lA(M,65535&x.adler)),X(x),0<M.wrap&&(M.wrap=-M.wrap),M.pending!==0?f:1)},t.deflateEnd=function(x){var rA;return x&&x.state?(rA=x.state.status)!==E&&rA!==69&&rA!==73&&rA!==91&&rA!==103&&rA!==K&&rA!==666?dA(x,m):(x.state=null,rA===K?dA(x,-3):f):m},t.deflateSetDictionary=function(x,rA){var q,M,O,G,nA,sA,Z,cA,CA=rA.length;if(!x||!x.state||(G=(q=x.state).wrap)===2||G===1&&q.status!==E||q.lookahead)return m;for(G===1&&(x.adler=n(x.adler,rA,CA,0)),q.wrap=0,CA>=q.w_size&&(G===0&&(hA(q.head),q.strstart=0,q.block_start=0,q.insert=0),cA=new r.Buf8(q.w_size),r.arraySet(cA,rA,CA-q.w_size,q.w_size,0),rA=cA,CA=q.w_size),nA=x.avail_in,sA=x.next_in,Z=x.input,x.avail_in=CA,x.next_in=0,x.input=rA,UA(q);q.lookahead>=k;){for(M=q.strstart,O=q.lookahead-(k-1);q.ins_h=(q.ins_h<<q.hash_shift^q.window[M+k-1])&q.hash_mask,q.prev[M&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=M,M++,--O;);q.strstart=M,q.lookahead=k-1,UA(q)}return q.strstart+=q.lookahead,q.block_start=q.strstart,q.insert=q.lookahead,q.lookahead=0,q.match_length=q.prev_length=k-1,q.match_available=0,x.next_in=sA,x.input=Z,x.avail_in=nA,q.wrap=G,f},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,A,t){"use strict";A.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,A,t){"use strict";A.exports=function(i,r){var a,n,o,u,h,g,f,m,B,w,p,b,v,S,Q,L,D,_,k,P,j,E,K,F,W;a=i.state,n=i.next_in,F=i.input,o=n+(i.avail_in-5),u=i.next_out,W=i.output,h=u-(r-i.avail_out),g=u+(i.avail_out-257),f=a.dmax,m=a.wsize,B=a.whave,w=a.wnext,p=a.window,b=a.hold,v=a.bits,S=a.lencode,Q=a.distcode,L=(1<<a.lenbits)-1,D=(1<<a.distbits)-1;A:do{v<15&&(b+=F[n++]<<v,v+=8,b+=F[n++]<<v,v+=8),_=S[b&L];e:for(;;){if(b>>>=k=_>>>24,v-=k,(k=_>>>16&255)===0)W[u++]=65535&_;else{if(!(16&k)){if((64&k)==0){_=S[(65535&_)+(b&(1<<k)-1)];continue e}if(32&k){a.mode=12;break A}i.msg="invalid literal/length code",a.mode=30;break A}P=65535&_,(k&=15)&&(v<k&&(b+=F[n++]<<v,v+=8),P+=b&(1<<k)-1,b>>>=k,v-=k),v<15&&(b+=F[n++]<<v,v+=8,b+=F[n++]<<v,v+=8),_=Q[b&D];t:for(;;){if(b>>>=k=_>>>24,v-=k,!(16&(k=_>>>16&255))){if((64&k)==0){_=Q[(65535&_)+(b&(1<<k)-1)];continue t}i.msg="invalid distance code",a.mode=30;break A}if(j=65535&_,v<(k&=15)&&(b+=F[n++]<<v,(v+=8)<k&&(b+=F[n++]<<v,v+=8)),f<(j+=b&(1<<k)-1)){i.msg="invalid distance too far back",a.mode=30;break A}if(b>>>=k,v-=k,(k=u-h)<j){if(B<(k=j-k)&&a.sane){i.msg="invalid distance too far back",a.mode=30;break A}if(K=p,(E=0)===w){if(E+=m-k,k<P){for(P-=k;W[u++]=p[E++],--k;);E=u-j,K=W}}else if(w<k){if(E+=m+w-k,(k-=w)<P){for(P-=k;W[u++]=p[E++],--k;);if(E=0,w<P){for(P-=k=w;W[u++]=p[E++],--k;);E=u-j,K=W}}}else if(E+=w-k,k<P){for(P-=k;W[u++]=p[E++],--k;);E=u-j,K=W}for(;2<P;)W[u++]=K[E++],W[u++]=K[E++],W[u++]=K[E++],P-=3;P&&(W[u++]=K[E++],1<P&&(W[u++]=K[E++]))}else{for(E=u-j;W[u++]=W[E++],W[u++]=W[E++],W[u++]=W[E++],2<(P-=3););P&&(W[u++]=W[E++],1<P&&(W[u++]=W[E++]))}break}}break}}while(n<o&&u<g);n-=P=v>>3,b&=(1<<(v-=P<<3))-1,i.next_in=n,i.next_out=u,i.avail_in=n<o?o-n+5:5-(n-o),i.avail_out=u<g?g-u+257:257-(u-g),a.hold=b,a.bits=v}},{}],49:[function(e,A,t){"use strict";var i=e("../utils/common"),r=e("./adler32"),a=e("./crc32"),n=e("./inffast"),o=e("./inftrees"),u=1,h=2,g=0,f=-2,m=1,B=852,w=592;function p(E){return(E>>>24&255)+(E>>>8&65280)+((65280&E)<<8)+((255&E)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(E){var K;return E&&E.state?(K=E.state,E.total_in=E.total_out=K.total=0,E.msg="",K.wrap&&(E.adler=1&K.wrap),K.mode=m,K.last=0,K.havedict=0,K.dmax=32768,K.head=null,K.hold=0,K.bits=0,K.lencode=K.lendyn=new i.Buf32(B),K.distcode=K.distdyn=new i.Buf32(w),K.sane=1,K.back=-1,g):f}function S(E){var K;return E&&E.state?((K=E.state).wsize=0,K.whave=0,K.wnext=0,v(E)):f}function Q(E,K){var F,W;return E&&E.state?(W=E.state,K<0?(F=0,K=-K):(F=1+(K>>4),K<48&&(K&=15)),K&&(K<8||15<K)?f:(W.window!==null&&W.wbits!==K&&(W.window=null),W.wrap=F,W.wbits=K,S(E))):f}function L(E,K){var F,W;return E?(W=new b,(E.state=W).window=null,(F=Q(E,K))!==g&&(E.state=null),F):f}var D,_,k=!0;function P(E){if(k){var K;for(D=new i.Buf32(512),_=new i.Buf32(32),K=0;K<144;)E.lens[K++]=8;for(;K<256;)E.lens[K++]=9;for(;K<280;)E.lens[K++]=7;for(;K<288;)E.lens[K++]=8;for(o(u,E.lens,0,288,D,0,E.work,{bits:9}),K=0;K<32;)E.lens[K++]=5;o(h,E.lens,0,32,_,0,E.work,{bits:5}),k=!1}E.lencode=D,E.lenbits=9,E.distcode=_,E.distbits=5}function j(E,K,F,W){var aA,J=E.state;return J.window===null&&(J.wsize=1<<J.wbits,J.wnext=0,J.whave=0,J.window=new i.Buf8(J.wsize)),W>=J.wsize?(i.arraySet(J.window,K,F-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize):(W<(aA=J.wsize-J.wnext)&&(aA=W),i.arraySet(J.window,K,F-W,aA,J.wnext),(W-=aA)?(i.arraySet(J.window,K,F-W,W,0),J.wnext=W,J.whave=J.wsize):(J.wnext+=aA,J.wnext===J.wsize&&(J.wnext=0),J.whave<J.wsize&&(J.whave+=aA))),0}t.inflateReset=S,t.inflateReset2=Q,t.inflateResetKeep=v,t.inflateInit=function(E){return L(E,15)},t.inflateInit2=L,t.inflate=function(E,K){var F,W,aA,J,dA,eA,hA,X,z,gA,lA,iA,UA,HA,IA,OA,ce,$A,Se,Ke,x,rA,q,M,O=0,G=new i.Buf8(4),nA=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!E||!E.state||!E.output||!E.input&&E.avail_in!==0)return f;(F=E.state).mode===12&&(F.mode=13),dA=E.next_out,aA=E.output,hA=E.avail_out,J=E.next_in,W=E.input,eA=E.avail_in,X=F.hold,z=F.bits,gA=eA,lA=hA,rA=g;A:for(;;)switch(F.mode){case m:if(F.wrap===0){F.mode=13;break}for(;z<16;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(2&F.wrap&&X===35615){G[F.check=0]=255&X,G[1]=X>>>8&255,F.check=a(F.check,G,2,0),z=X=0,F.mode=2;break}if(F.flags=0,F.head&&(F.head.done=!1),!(1&F.wrap)||(((255&X)<<8)+(X>>8))%31){E.msg="incorrect header check",F.mode=30;break}if((15&X)!=8){E.msg="unknown compression method",F.mode=30;break}if(z-=4,x=8+(15&(X>>>=4)),F.wbits===0)F.wbits=x;else if(x>F.wbits){E.msg="invalid window size",F.mode=30;break}F.dmax=1<<x,E.adler=F.check=1,F.mode=512&X?10:12,z=X=0;break;case 2:for(;z<16;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(F.flags=X,(255&F.flags)!=8){E.msg="unknown compression method",F.mode=30;break}if(57344&F.flags){E.msg="unknown header flags set",F.mode=30;break}F.head&&(F.head.text=X>>8&1),512&F.flags&&(G[0]=255&X,G[1]=X>>>8&255,F.check=a(F.check,G,2,0)),z=X=0,F.mode=3;case 3:for(;z<32;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}F.head&&(F.head.time=X),512&F.flags&&(G[0]=255&X,G[1]=X>>>8&255,G[2]=X>>>16&255,G[3]=X>>>24&255,F.check=a(F.check,G,4,0)),z=X=0,F.mode=4;case 4:for(;z<16;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}F.head&&(F.head.xflags=255&X,F.head.os=X>>8),512&F.flags&&(G[0]=255&X,G[1]=X>>>8&255,F.check=a(F.check,G,2,0)),z=X=0,F.mode=5;case 5:if(1024&F.flags){for(;z<16;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}F.length=X,F.head&&(F.head.extra_len=X),512&F.flags&&(G[0]=255&X,G[1]=X>>>8&255,F.check=a(F.check,G,2,0)),z=X=0}else F.head&&(F.head.extra=null);F.mode=6;case 6:if(1024&F.flags&&(eA<(iA=F.length)&&(iA=eA),iA&&(F.head&&(x=F.head.extra_len-F.length,F.head.extra||(F.head.extra=new Array(F.head.extra_len)),i.arraySet(F.head.extra,W,J,iA,x)),512&F.flags&&(F.check=a(F.check,W,iA,J)),eA-=iA,J+=iA,F.length-=iA),F.length))break A;F.length=0,F.mode=7;case 7:if(2048&F.flags){if(eA===0)break A;for(iA=0;x=W[J+iA++],F.head&&x&&F.length<65536&&(F.head.name+=String.fromCharCode(x)),x&&iA<eA;);if(512&F.flags&&(F.check=a(F.check,W,iA,J)),eA-=iA,J+=iA,x)break A}else F.head&&(F.head.name=null);F.length=0,F.mode=8;case 8:if(4096&F.flags){if(eA===0)break A;for(iA=0;x=W[J+iA++],F.head&&x&&F.length<65536&&(F.head.comment+=String.fromCharCode(x)),x&&iA<eA;);if(512&F.flags&&(F.check=a(F.check,W,iA,J)),eA-=iA,J+=iA,x)break A}else F.head&&(F.head.comment=null);F.mode=9;case 9:if(512&F.flags){for(;z<16;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(X!==(65535&F.check)){E.msg="header crc mismatch",F.mode=30;break}z=X=0}F.head&&(F.head.hcrc=F.flags>>9&1,F.head.done=!0),E.adler=F.check=0,F.mode=12;break;case 10:for(;z<32;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}E.adler=F.check=p(X),z=X=0,F.mode=11;case 11:if(F.havedict===0)return E.next_out=dA,E.avail_out=hA,E.next_in=J,E.avail_in=eA,F.hold=X,F.bits=z,2;E.adler=F.check=1,F.mode=12;case 12:if(K===5||K===6)break A;case 13:if(F.last){X>>>=7&z,z-=7&z,F.mode=27;break}for(;z<3;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}switch(F.last=1&X,z-=1,3&(X>>>=1)){case 0:F.mode=14;break;case 1:if(P(F),F.mode=20,K!==6)break;X>>>=2,z-=2;break A;case 2:F.mode=17;break;case 3:E.msg="invalid block type",F.mode=30}X>>>=2,z-=2;break;case 14:for(X>>>=7&z,z-=7&z;z<32;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if((65535&X)!=(X>>>16^65535)){E.msg="invalid stored block lengths",F.mode=30;break}if(F.length=65535&X,z=X=0,F.mode=15,K===6)break A;case 15:F.mode=16;case 16:if(iA=F.length){if(eA<iA&&(iA=eA),hA<iA&&(iA=hA),iA===0)break A;i.arraySet(aA,W,J,iA,dA),eA-=iA,J+=iA,hA-=iA,dA+=iA,F.length-=iA;break}F.mode=12;break;case 17:for(;z<14;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(F.nlen=257+(31&X),X>>>=5,z-=5,F.ndist=1+(31&X),X>>>=5,z-=5,F.ncode=4+(15&X),X>>>=4,z-=4,286<F.nlen||30<F.ndist){E.msg="too many length or distance symbols",F.mode=30;break}F.have=0,F.mode=18;case 18:for(;F.have<F.ncode;){for(;z<3;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}F.lens[nA[F.have++]]=7&X,X>>>=3,z-=3}for(;F.have<19;)F.lens[nA[F.have++]]=0;if(F.lencode=F.lendyn,F.lenbits=7,q={bits:F.lenbits},rA=o(0,F.lens,0,19,F.lencode,0,F.work,q),F.lenbits=q.bits,rA){E.msg="invalid code lengths set",F.mode=30;break}F.have=0,F.mode=19;case 19:for(;F.have<F.nlen+F.ndist;){for(;OA=(O=F.lencode[X&(1<<F.lenbits)-1])>>>16&255,ce=65535&O,!((IA=O>>>24)<=z);){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(ce<16)X>>>=IA,z-=IA,F.lens[F.have++]=ce;else{if(ce===16){for(M=IA+2;z<M;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(X>>>=IA,z-=IA,F.have===0){E.msg="invalid bit length repeat",F.mode=30;break}x=F.lens[F.have-1],iA=3+(3&X),X>>>=2,z-=2}else if(ce===17){for(M=IA+3;z<M;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}z-=IA,x=0,iA=3+(7&(X>>>=IA)),X>>>=3,z-=3}else{for(M=IA+7;z<M;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}z-=IA,x=0,iA=11+(127&(X>>>=IA)),X>>>=7,z-=7}if(F.have+iA>F.nlen+F.ndist){E.msg="invalid bit length repeat",F.mode=30;break}for(;iA--;)F.lens[F.have++]=x}}if(F.mode===30)break;if(F.lens[256]===0){E.msg="invalid code -- missing end-of-block",F.mode=30;break}if(F.lenbits=9,q={bits:F.lenbits},rA=o(u,F.lens,0,F.nlen,F.lencode,0,F.work,q),F.lenbits=q.bits,rA){E.msg="invalid literal/lengths set",F.mode=30;break}if(F.distbits=6,F.distcode=F.distdyn,q={bits:F.distbits},rA=o(h,F.lens,F.nlen,F.ndist,F.distcode,0,F.work,q),F.distbits=q.bits,rA){E.msg="invalid distances set",F.mode=30;break}if(F.mode=20,K===6)break A;case 20:F.mode=21;case 21:if(6<=eA&&258<=hA){E.next_out=dA,E.avail_out=hA,E.next_in=J,E.avail_in=eA,F.hold=X,F.bits=z,n(E,lA),dA=E.next_out,aA=E.output,hA=E.avail_out,J=E.next_in,W=E.input,eA=E.avail_in,X=F.hold,z=F.bits,F.mode===12&&(F.back=-1);break}for(F.back=0;OA=(O=F.lencode[X&(1<<F.lenbits)-1])>>>16&255,ce=65535&O,!((IA=O>>>24)<=z);){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(OA&&(240&OA)==0){for($A=IA,Se=OA,Ke=ce;OA=(O=F.lencode[Ke+((X&(1<<$A+Se)-1)>>$A)])>>>16&255,ce=65535&O,!($A+(IA=O>>>24)<=z);){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}X>>>=$A,z-=$A,F.back+=$A}if(X>>>=IA,z-=IA,F.back+=IA,F.length=ce,OA===0){F.mode=26;break}if(32&OA){F.back=-1,F.mode=12;break}if(64&OA){E.msg="invalid literal/length code",F.mode=30;break}F.extra=15&OA,F.mode=22;case 22:if(F.extra){for(M=F.extra;z<M;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}F.length+=X&(1<<F.extra)-1,X>>>=F.extra,z-=F.extra,F.back+=F.extra}F.was=F.length,F.mode=23;case 23:for(;OA=(O=F.distcode[X&(1<<F.distbits)-1])>>>16&255,ce=65535&O,!((IA=O>>>24)<=z);){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if((240&OA)==0){for($A=IA,Se=OA,Ke=ce;OA=(O=F.distcode[Ke+((X&(1<<$A+Se)-1)>>$A)])>>>16&255,ce=65535&O,!($A+(IA=O>>>24)<=z);){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}X>>>=$A,z-=$A,F.back+=$A}if(X>>>=IA,z-=IA,F.back+=IA,64&OA){E.msg="invalid distance code",F.mode=30;break}F.offset=ce,F.extra=15&OA,F.mode=24;case 24:if(F.extra){for(M=F.extra;z<M;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}F.offset+=X&(1<<F.extra)-1,X>>>=F.extra,z-=F.extra,F.back+=F.extra}if(F.offset>F.dmax){E.msg="invalid distance too far back",F.mode=30;break}F.mode=25;case 25:if(hA===0)break A;if(iA=lA-hA,F.offset>iA){if((iA=F.offset-iA)>F.whave&&F.sane){E.msg="invalid distance too far back",F.mode=30;break}UA=iA>F.wnext?(iA-=F.wnext,F.wsize-iA):F.wnext-iA,iA>F.length&&(iA=F.length),HA=F.window}else HA=aA,UA=dA-F.offset,iA=F.length;for(hA<iA&&(iA=hA),hA-=iA,F.length-=iA;aA[dA++]=HA[UA++],--iA;);F.length===0&&(F.mode=21);break;case 26:if(hA===0)break A;aA[dA++]=F.length,hA--,F.mode=21;break;case 27:if(F.wrap){for(;z<32;){if(eA===0)break A;eA--,X|=W[J++]<<z,z+=8}if(lA-=hA,E.total_out+=lA,F.total+=lA,lA&&(E.adler=F.check=F.flags?a(F.check,aA,lA,dA-lA):r(F.check,aA,lA,dA-lA)),lA=hA,(F.flags?X:p(X))!==F.check){E.msg="incorrect data check",F.mode=30;break}z=X=0}F.mode=28;case 28:if(F.wrap&&F.flags){for(;z<32;){if(eA===0)break A;eA--,X+=W[J++]<<z,z+=8}if(X!==(4294967295&F.total)){E.msg="incorrect length check",F.mode=30;break}z=X=0}F.mode=29;case 29:rA=1;break A;case 30:rA=-3;break A;case 31:return-4;default:return f}return E.next_out=dA,E.avail_out=hA,E.next_in=J,E.avail_in=eA,F.hold=X,F.bits=z,(F.wsize||lA!==E.avail_out&&F.mode<30&&(F.mode<27||K!==4))&&j(E,E.output,E.next_out,lA-E.avail_out)?(F.mode=31,-4):(gA-=E.avail_in,lA-=E.avail_out,E.total_in+=gA,E.total_out+=lA,F.total+=lA,F.wrap&&lA&&(E.adler=F.check=F.flags?a(F.check,aA,lA,E.next_out-lA):r(F.check,aA,lA,E.next_out-lA)),E.data_type=F.bits+(F.last?64:0)+(F.mode===12?128:0)+(F.mode===20||F.mode===15?256:0),(gA==0&&lA===0||K===4)&&rA===g&&(rA=-5),rA)},t.inflateEnd=function(E){if(!E||!E.state)return f;var K=E.state;return K.window&&(K.window=null),E.state=null,g},t.inflateGetHeader=function(E,K){var F;return E&&E.state?(2&(F=E.state).wrap)==0?f:((F.head=K).done=!1,g):f},t.inflateSetDictionary=function(E,K){var F,W=K.length;return E&&E.state?(F=E.state).wrap!==0&&F.mode!==11?f:F.mode===11&&r(1,K,W,0)!==F.check?-3:j(E,K,W,W)?(F.mode=31,-4):(F.havedict=1,g):f},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,A,t){"use strict";var i=e("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],n=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];A.exports=function(u,h,g,f,m,B,w,p){var b,v,S,Q,L,D,_,k,P,j=p.bits,E=0,K=0,F=0,W=0,aA=0,J=0,dA=0,eA=0,hA=0,X=0,z=null,gA=0,lA=new i.Buf16(16),iA=new i.Buf16(16),UA=null,HA=0;for(E=0;E<=15;E++)lA[E]=0;for(K=0;K<f;K++)lA[h[g+K]]++;for(aA=j,W=15;1<=W&&lA[W]===0;W--);if(W<aA&&(aA=W),W===0)return m[B++]=20971520,m[B++]=20971520,p.bits=1,0;for(F=1;F<W&&lA[F]===0;F++);for(aA<F&&(aA=F),E=eA=1;E<=15;E++)if(eA<<=1,(eA-=lA[E])<0)return-1;if(0<eA&&(u===0||W!==1))return-1;for(iA[1]=0,E=1;E<15;E++)iA[E+1]=iA[E]+lA[E];for(K=0;K<f;K++)h[g+K]!==0&&(w[iA[h[g+K]]++]=K);if(D=u===0?(z=UA=w,19):u===1?(z=r,gA-=257,UA=a,HA-=257,256):(z=n,UA=o,-1),E=F,L=B,dA=K=X=0,S=-1,Q=(hA=1<<(J=aA))-1,u===1&&852<hA||u===2&&592<hA)return 1;for(;;){for(_=E-dA,P=w[K]<D?(k=0,w[K]):w[K]>D?(k=UA[HA+w[K]],z[gA+w[K]]):(k=96,0),b=1<<E-dA,F=v=1<<J;m[L+(X>>dA)+(v-=b)]=_<<24|k<<16|P|0,v!==0;);for(b=1<<E-1;X&b;)b>>=1;if(b!==0?(X&=b-1,X+=b):X=0,K++,--lA[E]==0){if(E===W)break;E=h[g+w[K]]}if(aA<E&&(X&Q)!==S){for(dA===0&&(dA=aA),L+=F,eA=1<<(J=E-dA);J+dA<W&&!((eA-=lA[J+dA])<=0);)J++,eA<<=1;if(hA+=1<<J,u===1&&852<hA||u===2&&592<hA)return 1;m[S=X&Q]=aA<<24|J<<16|L-B|0}}return X!==0&&(m[L+X]=E-dA<<24|64<<16|0),p.bits=aA,0}},{"../utils/common":41}],51:[function(e,A,t){"use strict";A.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,A,t){"use strict";var i=e("../utils/common"),r=0,a=1;function n(O){for(var G=O.length;0<=--G;)O[G]=0}var o=0,u=29,h=256,g=h+1+u,f=30,m=19,B=2*g+1,w=15,p=16,b=7,v=256,S=16,Q=17,L=18,D=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],j=new Array(2*(g+2));n(j);var E=new Array(2*f);n(E);var K=new Array(512);n(K);var F=new Array(256);n(F);var W=new Array(u);n(W);var aA,J,dA,eA=new Array(f);function hA(O,G,nA,sA,Z){this.static_tree=O,this.extra_bits=G,this.extra_base=nA,this.elems=sA,this.max_length=Z,this.has_stree=O&&O.length}function X(O,G){this.dyn_tree=O,this.max_code=0,this.stat_desc=G}function z(O){return O<256?K[O]:K[256+(O>>>7)]}function gA(O,G){O.pending_buf[O.pending++]=255&G,O.pending_buf[O.pending++]=G>>>8&255}function lA(O,G,nA){O.bi_valid>p-nA?(O.bi_buf|=G<<O.bi_valid&65535,gA(O,O.bi_buf),O.bi_buf=G>>p-O.bi_valid,O.bi_valid+=nA-p):(O.bi_buf|=G<<O.bi_valid&65535,O.bi_valid+=nA)}function iA(O,G,nA){lA(O,nA[2*G],nA[2*G+1])}function UA(O,G){for(var nA=0;nA|=1&O,O>>>=1,nA<<=1,0<--G;);return nA>>>1}function HA(O,G,nA){var sA,Z,cA=new Array(w+1),CA=0;for(sA=1;sA<=w;sA++)cA[sA]=CA=CA+nA[sA-1]<<1;for(Z=0;Z<=G;Z++){var uA=O[2*Z+1];uA!==0&&(O[2*Z]=UA(cA[uA]++,uA))}}function IA(O){var G;for(G=0;G<g;G++)O.dyn_ltree[2*G]=0;for(G=0;G<f;G++)O.dyn_dtree[2*G]=0;for(G=0;G<m;G++)O.bl_tree[2*G]=0;O.dyn_ltree[2*v]=1,O.opt_len=O.static_len=0,O.last_lit=O.matches=0}function OA(O){8<O.bi_valid?gA(O,O.bi_buf):0<O.bi_valid&&(O.pending_buf[O.pending++]=O.bi_buf),O.bi_buf=0,O.bi_valid=0}function ce(O,G,nA,sA){var Z=2*G,cA=2*nA;return O[Z]<O[cA]||O[Z]===O[cA]&&sA[G]<=sA[nA]}function $A(O,G,nA){for(var sA=O.heap[nA],Z=nA<<1;Z<=O.heap_len&&(Z<O.heap_len&&ce(G,O.heap[Z+1],O.heap[Z],O.depth)&&Z++,!ce(G,sA,O.heap[Z],O.depth));)O.heap[nA]=O.heap[Z],nA=Z,Z<<=1;O.heap[nA]=sA}function Se(O,G,nA){var sA,Z,cA,CA,uA=0;if(O.last_lit!==0)for(;sA=O.pending_buf[O.d_buf+2*uA]<<8|O.pending_buf[O.d_buf+2*uA+1],Z=O.pending_buf[O.l_buf+uA],uA++,sA===0?iA(O,Z,G):(iA(O,(cA=F[Z])+h+1,G),(CA=D[cA])!==0&&lA(O,Z-=W[cA],CA),iA(O,cA=z(--sA),nA),(CA=_[cA])!==0&&lA(O,sA-=eA[cA],CA)),uA<O.last_lit;);iA(O,v,G)}function Ke(O,G){var nA,sA,Z,cA=G.dyn_tree,CA=G.stat_desc.static_tree,uA=G.stat_desc.has_stree,SA=G.stat_desc.elems,te=-1;for(O.heap_len=0,O.heap_max=B,nA=0;nA<SA;nA++)cA[2*nA]!==0?(O.heap[++O.heap_len]=te=nA,O.depth[nA]=0):cA[2*nA+1]=0;for(;O.heap_len<2;)cA[2*(Z=O.heap[++O.heap_len]=te<2?++te:0)]=1,O.depth[Z]=0,O.opt_len--,uA&&(O.static_len-=CA[2*Z+1]);for(G.max_code=te,nA=O.heap_len>>1;1<=nA;nA--)$A(O,cA,nA);for(Z=SA;nA=O.heap[1],O.heap[1]=O.heap[O.heap_len--],$A(O,cA,1),sA=O.heap[1],O.heap[--O.heap_max]=nA,O.heap[--O.heap_max]=sA,cA[2*Z]=cA[2*nA]+cA[2*sA],O.depth[Z]=(O.depth[nA]>=O.depth[sA]?O.depth[nA]:O.depth[sA])+1,cA[2*nA+1]=cA[2*sA+1]=Z,O.heap[1]=Z++,$A(O,cA,1),2<=O.heap_len;);O.heap[--O.heap_max]=O.heap[1],(function(_A,ze){var Ot,rt,xt,NA,Xt,oi,Xe=ze.dyn_tree,pn=ze.max_code,li=ze.stat_desc.static_tree,xo=ze.stat_desc.has_stree,_r=ze.stat_desc.extra_bits,$i=ze.stat_desc.extra_base,ci=ze.stat_desc.max_length,Si=0;for(NA=0;NA<=w;NA++)_A.bl_count[NA]=0;for(Xe[2*_A.heap[_A.heap_max]+1]=0,Ot=_A.heap_max+1;Ot<B;Ot++)ci<(NA=Xe[2*Xe[2*(rt=_A.heap[Ot])+1]+1]+1)&&(NA=ci,Si++),Xe[2*rt+1]=NA,pn<rt||(_A.bl_count[NA]++,Xt=0,$i<=rt&&(Xt=_r[rt-$i]),oi=Xe[2*rt],_A.opt_len+=oi*(NA+Xt),xo&&(_A.static_len+=oi*(li[2*rt+1]+Xt)));if(Si!==0){do{for(NA=ci-1;_A.bl_count[NA]===0;)NA--;_A.bl_count[NA]--,_A.bl_count[NA+1]+=2,_A.bl_count[ci]--,Si-=2}while(0<Si);for(NA=ci;NA!==0;NA--)for(rt=_A.bl_count[NA];rt!==0;)pn<(xt=_A.heap[--Ot])||(Xe[2*xt+1]!==NA&&(_A.opt_len+=(NA-Xe[2*xt+1])*Xe[2*xt],Xe[2*xt+1]=NA),rt--)}})(O,G),HA(cA,te,O.bl_count)}function x(O,G,nA){var sA,Z,cA=-1,CA=G[1],uA=0,SA=7,te=4;for(CA===0&&(SA=138,te=3),G[2*(nA+1)+1]=65535,sA=0;sA<=nA;sA++)Z=CA,CA=G[2*(sA+1)+1],++uA<SA&&Z===CA||(uA<te?O.bl_tree[2*Z]+=uA:Z!==0?(Z!==cA&&O.bl_tree[2*Z]++,O.bl_tree[2*S]++):uA<=10?O.bl_tree[2*Q]++:O.bl_tree[2*L]++,cA=Z,te=(uA=0)===CA?(SA=138,3):Z===CA?(SA=6,3):(SA=7,4))}function rA(O,G,nA){var sA,Z,cA=-1,CA=G[1],uA=0,SA=7,te=4;for(CA===0&&(SA=138,te=3),sA=0;sA<=nA;sA++)if(Z=CA,CA=G[2*(sA+1)+1],!(++uA<SA&&Z===CA)){if(uA<te)for(;iA(O,Z,O.bl_tree),--uA!=0;);else Z!==0?(Z!==cA&&(iA(O,Z,O.bl_tree),uA--),iA(O,S,O.bl_tree),lA(O,uA-3,2)):uA<=10?(iA(O,Q,O.bl_tree),lA(O,uA-3,3)):(iA(O,L,O.bl_tree),lA(O,uA-11,7));cA=Z,te=(uA=0)===CA?(SA=138,3):Z===CA?(SA=6,3):(SA=7,4)}}n(eA);var q=!1;function M(O,G,nA,sA){lA(O,(o<<1)+(sA?1:0),3),(function(Z,cA,CA,uA){OA(Z),uA&&(gA(Z,CA),gA(Z,~CA)),i.arraySet(Z.pending_buf,Z.window,cA,CA,Z.pending),Z.pending+=CA})(O,G,nA,!0)}t._tr_init=function(O){q||((function(){var G,nA,sA,Z,cA,CA=new Array(w+1);for(Z=sA=0;Z<u-1;Z++)for(W[Z]=sA,G=0;G<1<<D[Z];G++)F[sA++]=Z;for(F[sA-1]=Z,Z=cA=0;Z<16;Z++)for(eA[Z]=cA,G=0;G<1<<_[Z];G++)K[cA++]=Z;for(cA>>=7;Z<f;Z++)for(eA[Z]=cA<<7,G=0;G<1<<_[Z]-7;G++)K[256+cA++]=Z;for(nA=0;nA<=w;nA++)CA[nA]=0;for(G=0;G<=143;)j[2*G+1]=8,G++,CA[8]++;for(;G<=255;)j[2*G+1]=9,G++,CA[9]++;for(;G<=279;)j[2*G+1]=7,G++,CA[7]++;for(;G<=287;)j[2*G+1]=8,G++,CA[8]++;for(HA(j,g+1,CA),G=0;G<f;G++)E[2*G+1]=5,E[2*G]=UA(G,5);aA=new hA(j,D,h+1,g,w),J=new hA(E,_,0,f,w),dA=new hA(new Array(0),k,0,m,b)})(),q=!0),O.l_desc=new X(O.dyn_ltree,aA),O.d_desc=new X(O.dyn_dtree,J),O.bl_desc=new X(O.bl_tree,dA),O.bi_buf=0,O.bi_valid=0,IA(O)},t._tr_stored_block=M,t._tr_flush_block=function(O,G,nA,sA){var Z,cA,CA=0;0<O.level?(O.strm.data_type===2&&(O.strm.data_type=(function(uA){var SA,te=4093624447;for(SA=0;SA<=31;SA++,te>>>=1)if(1&te&&uA.dyn_ltree[2*SA]!==0)return r;if(uA.dyn_ltree[18]!==0||uA.dyn_ltree[20]!==0||uA.dyn_ltree[26]!==0)return a;for(SA=32;SA<h;SA++)if(uA.dyn_ltree[2*SA]!==0)return a;return r})(O)),Ke(O,O.l_desc),Ke(O,O.d_desc),CA=(function(uA){var SA;for(x(uA,uA.dyn_ltree,uA.l_desc.max_code),x(uA,uA.dyn_dtree,uA.d_desc.max_code),Ke(uA,uA.bl_desc),SA=m-1;3<=SA&&uA.bl_tree[2*P[SA]+1]===0;SA--);return uA.opt_len+=3*(SA+1)+5+5+4,SA})(O),Z=O.opt_len+3+7>>>3,(cA=O.static_len+3+7>>>3)<=Z&&(Z=cA)):Z=cA=nA+5,nA+4<=Z&&G!==-1?M(O,G,nA,sA):O.strategy===4||cA===Z?(lA(O,2+(sA?1:0),3),Se(O,j,E)):(lA(O,4+(sA?1:0),3),(function(uA,SA,te,_A){var ze;for(lA(uA,SA-257,5),lA(uA,te-1,5),lA(uA,_A-4,4),ze=0;ze<_A;ze++)lA(uA,uA.bl_tree[2*P[ze]+1],3);rA(uA,uA.dyn_ltree,SA-1),rA(uA,uA.dyn_dtree,te-1)})(O,O.l_desc.max_code+1,O.d_desc.max_code+1,CA+1),Se(O,O.dyn_ltree,O.dyn_dtree)),IA(O),sA&&OA(O)},t._tr_tally=function(O,G,nA){return O.pending_buf[O.d_buf+2*O.last_lit]=G>>>8&255,O.pending_buf[O.d_buf+2*O.last_lit+1]=255&G,O.pending_buf[O.l_buf+O.last_lit]=255&nA,O.last_lit++,G===0?O.dyn_ltree[2*nA]++:(O.matches++,G--,O.dyn_ltree[2*(F[nA]+h+1)]++,O.dyn_dtree[2*z(G)]++),O.last_lit===O.lit_bufsize-1},t._tr_align=function(O){lA(O,2,3),iA(O,v,j),(function(G){G.bi_valid===16?(gA(G,G.bi_buf),G.bi_buf=0,G.bi_valid=0):8<=G.bi_valid&&(G.pending_buf[G.pending++]=255&G.bi_buf,G.bi_buf>>=8,G.bi_valid-=8)})(O)}},{"../utils/common":41}],53:[function(e,A,t){"use strict";A.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,A,t){(function(i){(function(r,a){"use strict";if(!r.setImmediate){var n,o,u,h,g=1,f={},m=!1,B=r.document,w=Object.getPrototypeOf&&Object.getPrototypeOf(r);w=w&&w.setTimeout?w:r,n={}.toString.call(r.process)==="[object process]"?function(S){process.nextTick(function(){b(S)})}:(function(){if(r.postMessage&&!r.importScripts){var S=!0,Q=r.onmessage;return r.onmessage=function(){S=!1},r.postMessage("","*"),r.onmessage=Q,S}})()?(h="setImmediate$"+Math.random()+"$",r.addEventListener?r.addEventListener("message",v,!1):r.attachEvent("onmessage",v),function(S){r.postMessage(h+S,"*")}):r.MessageChannel?((u=new MessageChannel).port1.onmessage=function(S){b(S.data)},function(S){u.port2.postMessage(S)}):B&&"onreadystatechange"in B.createElement("script")?(o=B.documentElement,function(S){var Q=B.createElement("script");Q.onreadystatechange=function(){b(S),Q.onreadystatechange=null,o.removeChild(Q),Q=null},o.appendChild(Q)}):function(S){setTimeout(b,0,S)},w.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var Q=new Array(arguments.length-1),L=0;L<Q.length;L++)Q[L]=arguments[L+1];var D={callback:S,args:Q};return f[g]=D,n(g),g++},w.clearImmediate=p}function p(S){delete f[S]}function b(S){if(m)setTimeout(b,0,S);else{var Q=f[S];if(Q){m=!0;try{(function(L){var D=L.callback,_=L.args;switch(_.length){case 0:D();break;case 1:D(_[0]);break;case 2:D(_[0],_[1]);break;case 3:D(_[0],_[1],_[2]);break;default:D.apply(a,_)}})(Q)}finally{p(S),m=!1}}}}function v(S){S.source===r&&typeof S.data=="string"&&S.data.indexOf(h)===0&&b(+S.data.slice(h.length))}})(typeof self>"u"?i===void 0?this:i:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});var im=Symbol(),sn=class{get taskComplete(){return this.t||(this.i===1?this.t=new Promise(((A,t)=>{this.o=A,this.h=t})):this.i===3?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(A,t,i){this.p=0,this.i=0,(this._=A).addController(this);let r=typeof t=="object"?t:{task:t,args:i};this.v=r.task,this.j=r.args,this.m=r.argsEqual??rm,this.k=r.onComplete,this.A=r.onError,this.autoRun=r.autoRun??!0,"initialValue"in r&&(this.u=r.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){this.autoRun===!0&&this.S()}hostUpdated(){this.autoRun==="afterUpdate"&&this.S()}T(){if(this.j===void 0)return;let A=this.j();if(!Array.isArray(A))throw Error("The args function must return an array");return A}async S(){let A=this.T(),t=this.O;this.O=A,A===t||A===void 0||t!==void 0&&this.m(t,A)||await this.run(A)}async run(A){let t,i;A??=this.T(),this.O=A,this.i===1?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,this.autoRun==="afterUpdate"?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();let r=++this.p;this.q=new AbortController;let a=!1;try{t=await this.v(A,{signal:this.q.signal})}catch(n){a=!0,i=n}if(this.p===r){if(t===im)this.i=0;else{if(a===!1){try{this.k?.(t)}catch{}this.i=2,this.o?.(t)}else{try{this.A?.(i)}catch{}this.i=3,this.h?.(i)}this.u=t,this.l=i}this._.requestUpdate()}}abort(A){this.i===1&&this.q?.abort(A)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(A){switch(this.i){case 0:return A.initial?.();case 1:return A.pending?.();case 2:return A.complete?.(this.value);case 3:return A.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}},rm=(e,A)=>e===A||e.length===A.length&&e.every(((t,i)=>!Th(t,A[i])));var Nm=Eh(am(),1),Vm=Eh(sm(),1);var hv=function(e){qe(e,"SpriteState")&&(e.transitionDuration=400),qe(e,"Component")&&(e.rangeChangeDuration=500,e.interpolationDuration=500,e.sequencedInterpolation=!1,qe(e,"SankeyDiagram")&&(e.sequencedInterpolation=!0),qe(e,"FunnelSeries")&&(e.sequencedInterpolation=!0)),qe(e,"Chart")&&(e.defaultState.transitionDuration=2e3,e.hiddenState.transitionDuration=1e3),qe(e,"Tooltip")&&(e.animationDuration=400,e.defaultState.transitionDuration=400,e.hiddenState.transitionDuration=400),qe(e,"Scrollbar")&&(e.animationDuration=500),qe(e,"Series")&&(e.defaultState.transitionDuration=1e3,e.hiddenState.transitionDuration=700,e.hiddenState.properties.opacity=1,e.showOnInit=!0),qe(e,"MapSeries")&&(e.hiddenState.properties.opacity=0),qe(e,"PercentSeries")&&(e.hiddenState.properties.opacity=0),qe(e,"FunnelSlice")&&(e.defaultState.transitionDuration=800,e.hiddenState.transitionDuration=1e3,e.hiddenState.properties.opacity=1),qe(e,"Slice")&&(e.defaultState.transitionDuration=700,e.hiddenState.transitionDuration=1e3,e.hiddenState.properties.opacity=1),qe(e,"Preloader")&&(e.hiddenState.transitionDuration=2e3),qe(e,"Column")&&(e.defaultState.transitionDuration=700,e.hiddenState.transitionDuration=1e3,e.hiddenState.properties.opacity=1),qe(e,"Column3D")&&(e.hiddenState.properties.opacity=0)},Zs=hv;var Js={exports:{}},Jc,om;function fv(){if(om)return Jc;om=1;function e(A){var t=new A,i=t;function r(){var n=t;return n.next?t=n.next:(t=new A,i=t),n.next=null,n}function a(n){i.next=n,i=n}return{get:r,release:a}}return Jc=e,Jc}var lm;function gv(){if(lm)return Js.exports;lm=1;var e=fv();function A(a,n,o){if(typeof a=="function"&&(o=n,n=a,a=null),o<1)throw new Error("fastqueue concurrency must be greater than 1");var u=e(i),h=null,g=null,f=0,m=null,B={push:L,drain:t,saturated:t,pause:p,paused:!1,concurrency:o,running:w,resume:S,idle:Q,length:b,getQueue:v,unshift:D,empty:t,kill:k,killAndDrain:P,error:j};return B;function w(){return f}function p(){B.paused=!0}function b(){for(var E=h,K=0;E;)E=E.next,K++;return K}function v(){for(var E=h,K=[];E;)K.push(E.value),E=E.next;return K}function S(){if(B.paused){B.paused=!1;for(var E=0;E<B.concurrency;E++)f++,_()}}function Q(){return f===0&&B.length()===0}function L(E,K){var F=u.get();F.context=a,F.release=_,F.value=E,F.callback=K||t,F.errorHandler=m,f===B.concurrency||B.paused?g?(g.next=F,g=F):(h=F,g=F,B.saturated()):(f++,n.call(a,F.value,F.worked))}function D(E,K){var F=u.get();F.context=a,F.release=_,F.value=E,F.callback=K||t,f===B.concurrency||B.paused?h?(F.next=h,h=F):(h=F,g=F,B.saturated()):(f++,n.call(a,F.value,F.worked))}function _(E){E&&u.release(E);var K=h;K?B.paused?f--:(g===h&&(g=null),h=K.next,K.next=null,n.call(a,K.value,K.worked),g===null&&B.empty()):--f===0&&B.drain()}function k(){h=null,g=null,B.drain=t}function P(){h=null,g=null,B.drain(),B.drain=t}function j(E){m=E}}function t(){}function i(){this.value=null,this.callback=t,this.next=null,this.release=t,this.context=null,this.errorHandler=null;var a=this;this.worked=function(n,o){var u=a.callback,h=a.errorHandler,g=a.value;a.value=null,a.callback=t,a.errorHandler&&h(n,g),u.call(a.context,n,o),a.release(a)}}function r(a,n,o){typeof a=="function"&&(o=n,n=a,a=null);function u(p,b){n.call(this,p).then(function(v){b(null,v)},b)}var h=A(a,u,o),g=h.push,f=h.unshift;return h.push=m,h.unshift=B,h.drained=w,h;function m(p){var b=new Promise(function(v,S){g(p,function(Q,L){if(Q){S(Q);return}v(L)})});return b.catch(t),b}function B(p){var b=new Promise(function(v,S){f(p,function(Q,L){if(Q){S(Q);return}v(L)})});return b.catch(t),b}function w(){var p=h.drain,b=new Promise(function(v){h.drain=function(){p(),v()}});return b}}return Js.exports=A,Js.exports.promise=r,Js.exports}var Bv=gv();function mv(e){let{data:A,seriesConfig:t,utilsStrings:i}=e,r=t[0],a=A?.reduce((m,B)=>{let w=B[hr]??B[r.y];return Number.isFinite(w)||(w=0),w+m},0),n=r?.sliceGrouping?.percentageThreshold??0,o=[],u,h=0,g=A?.find(m=>m[gr.defaultGroupOfSlicesId]===!0)?.[se.pieChart.technicalFieldGroupedSlices]??[],f=[...A,...g].filter(m=>{let B=!0,w=m[hr]??m[r.y];if(Number.isFinite(w)){let p=w/a*100;m[se.pieChart.technicalFieldSlicePercent]=p,p<=n&&m[gr.defaultGroupOfSlicesId]!==!0&&(h+=w,o.push(m),B=!1)}else m[gr.defaultGroupOfSlicesId]!==!0&&(o.push(m),B=n===0||n===void 0);return m[gr.defaultGroupOfSlicesId]===!0&&(u=m,B=!1),B});if(n>0&&o.length>0){let m=h/a*100,B=MA(t)===bA.PieFromFields,w={...u,[gr.defaultGroupOfSlicesId]:!0,[B?ur:r.x]:r.sliceGrouping?.label??i?.pieChart.defaultSliceGroupingLabel,[B?hr:r.y]:h,[se.pieChart.technicalFieldSlicePercent]:m,[se.pieChart.technicalFieldGroupedSlices]:o};f.push(w)}return f}function cm(e){let{creation:A,previousConfig:t,newConfig:i,dataInfo:r,dataUpdateNeeded:a,utilsStrings:n}=e,o=!1;if(r.data&&"dataItems"in r.data&&t?.series[0].type===I.PieSeries&&i?.series[0].type===I.PieSeries){let u=A||Rs([t.series[0]],[i?.series[0]]);(a||u)&&(r.data.dataItems=mv({data:r.data.dataItems,seriesConfig:[i.series[0]],utilsStrings:n}),ql({arrayToSort:r.data.dataItems,chartConfig:i}),o=!0)}return o}function pv(e,A){let t=e.reduce((i,r)=>{if(r[gr.defaultGroupOfSlicesId]===!0){let a=r[se.pieChart.technicalFieldGroupedSlices];a!==void 0&&a.forEach(n=>{i.push(n)})}else i.push(r);return i},[]);return ql({arrayToSort:t,chartConfig:A}),t=$l({data:{dataItems:t},seriesConfig:A.series})?.dataItems??[],t}function Pm(e,A){let t=e?.filter(i=>!ga(i));return!_i(t,A)}function Cv(e){let{dataContext:A,newLabel:t,x:i}=e;t===void 0?A[se.originalCategoryValue]!==void 0&&(A[i]=A[se.originalCategoryValue]):A[i]!==t&&(A[se.originalCategoryValue]===void 0&&(A[se.originalCategoryValue]=A[i]),A[i]=t)}function wv(e){let{data:A,newChartConfig:t,pieSlicesSymbols:i,fieldList:r}=e,a=t.series[0],n=MA(t.series)===bA.PieFromFields?ur:a.x;A.forEach(o=>{let u=ga(o),h=o[se.pieChart.technicalFieldSliceId],g=u?a.sliceGrouping?.label:qg(i?.slices,h)?.label;Cv({dataContext:o,x:n,newLabel:g})}),Jg({chartConfig:t,chartData:A,fieldList:r})}var XA={SelectXY:"selectXY",SelectX:"selectX",SelectY:"selectY",ZoomXY:"zoomXY",ZoomX:"zoomX",ZoomY:"zoomY",None:"none"};function ni(e){let{type:A,iLocale:t,formatLocale:i=la(document.documentElement)}=e,r;switch(A){case I.NumberAxisFormat:{r=new gl,r.language.locale=t,r.intlLocales=i;break}case I.DateAxisFormat:{r=new Bl,r.language!==void 0&&(r.language.locale=t),r.intlLocales=i;break}}return r}function id(e){let{axis:A,valueFormat:t,chartType:i}=e,r=hs({isXAxis:!0,chartType:i,valueFormat:t}),a=Ai(t)&&A instanceof he,n=Bt(t)&&A instanceof ae&&!(A instanceof he),o=r&&A instanceof _e;return!a&&!n&&!o}function Gm(e,A){let t=typeof A=="number"?`${A}`:A,i=Te(e.uid,"numberFormatter");return i!==void 0&&(t=i(A)),we(t)&&(t=R.htmlEmptyContent),Re(t)}function bv(e){e.renderer.labels.template.html=R.htmlEmptyContent,e.renderer.labels.template.adapter.add("htmlOutput",(A,t)=>Gm(e,t?.dataItem?.value??A),0)}function Wm(e){let{axis:A,defaultOutput:t,dataItem:i}=e,r=t,a=Te(A.uid,"categoryFormatter"),n=Te(A.uid,"numberFormatter");if((n!==void 0||a!==void 0)&&i instanceof cr){let o=$(A.chart.uid,"config"),u=MA(o?.series),h=$(A.chart.uid,"rendererFieldNames"),g=Ki({value:i.category,dataContext:i.dataContext,useRendererLabel:ws(o,h),specificField:ys(u,o?.series?.[0]),config:o});if(typeof g=="number"&&n!==void 0)r=n(g);else if(a!==void 0){if([bA.BoxPlotMonoField,bA.BoxPlotMultiFields,bA.BoxPlotMonoFieldAndSplitBy,bA.BoxPlotMultiFieldsAndSplitBy,bA.BarAndLineFromFields].includes(u)&&typeof g=="string"){let m=$(A.chart.uid,"fieldList");g=ti(m,g)}let f=yi(i.dataContext);f===void 0&&(f=g),r=a(g,f)}}return we(r)&&(r=R.htmlEmptyContent),Re(r)}function yv(e){e.renderer.labels.template.html=R.htmlEmptyContent,e.renderer.labels.template.adapter.add("htmlOutput",(A,t)=>Wm({axis:e,defaultOutput:A,dataItem:t?.dataItem}),0)}function vv(e){let{axis:A,defaultOutput:t,dataItem:i}=e,r=t,a=Te(A.uid,"dateFormatter");return a!==void 0&&i instanceof Na&&(r=a(i.value??t)),we(r)&&(r=R.htmlEmptyContent),Re(r)}function Fv(e){e.renderer.labels.template.adapter.add("htmlOutput",(A,t)=>vv({axis:e,dataItem:t?.dataItem,defaultOutput:A}),0),e.renderer.labels.template.adapter.disableKey("htmlOutput")}function xv(e){e.renderer.labels.template.adapter.add("htmlOutput",A=>{let t=A,i=Te(e.uid,"fontStyleCallback");return i!==void 0&&(t=i(t)),Re(t)},1)}function Qv(e){e instanceof ae&&!(e instanceof he)?bv(e):e instanceof _e?yv(e):e instanceof he&&Fv(e),xv(e)}function Sv(e){let{axis:A,formatOptions:t,dateAxisFormatter:i,isTimeOnlyField:r,setTimeZone:a,outTimeZone:n}=e;if(Qe(A.uid,{dateFormatter:i}),i===void 0){A.renderer.labels.template.adapter.isEnabled("htmlOutput")&&(A.renderer.labels.template.adapter.disableKey("htmlOutput"),A.renderer.labels.each(g=>{g.element instanceof Gh&&g.element.removeChildren()}));let o={...Ri(t)};r&&(o={hour:r?"numeric":void 0,minute:r?"numeric":void 0,...o});let u=["year","month","day","hour","minute","second"],h=o.timeZone??n;a&&A.timezone!==h&&(A.setPropertyValue("timezone",h),A.chart.validateData()),A.dateFormatter.timezone=h,delete o.timeZone;for(let g=0;g<u.length;g+=1){let f=u[g],m=g===0?f:u[g-1],B=t?.formatPerDateTimeUnit?.[f]??o,w=t?.formatPerDateTimeUnit?.[m];or(B)||(A.dateFormats.setKey(f,B),A.periodChangeDateFormats.setKey(f,w??B))}A.dateFormats.getKey("day")||A.dateFormats.setKey("day",R.dayDefaultFormat),A.periodChangeDateFormats.getKey("day")||A.periodChangeDateFormats.setKey("day",R.dayDefaultFormat),A.dateFormats.getKey("week")||A.dateFormats.setKey("week",A.dateFormats.getKey("day")??R.weekDefaultFormat),A.periodChangeDateFormats.getKey("week")||A.periodChangeDateFormats.setKey("week",A.periodChangeDateFormats.getKey("day")??R.weekDefaultFormat),A.invalidateLabels()}else A.renderer.labels.template.html=R.htmlEmptyContent,A.renderer.labels.template.adapter.enableKey("htmlOutput")}function Uv(e,A,t,i){let r=ni({type:I.NumberAxisFormat,iLocale:A,formatLocale:t});return r.numberFormat=e,a=>{let n=0;return a instanceof Date?a.toLocaleString(void 0,e):(n=typeof a!="string"?a??0:tc(a,r.intlLocales),i===!0&&e.style==="percent"&&(n/=100),r.format(n))}}function dm(e){let{axis:A,formatOptions:t,overridePercentMultiplication:i,valueAxisFormatter:r}=e,a=Ri(t),n=$(A.chart.uid,"formatLocale");Qe(A.uid,{numberFormatter:r??Uv(a,A.chart.language.locale,n,i)})}function Iv(e){let{axis:A,formatOptions:t,categoryAxisFormatter:i}=e,r=i!==void 0?i:ms(t.characterLimit);Qe(A.uid,{categoryFormatter:r})}function Lv(e){let{axis:A,labelsTextSymbol:t,axisValueFormatter:i}=e,r=$(A.chart.uid,"config")?.horizontalAxisLabelsBehavior;if(Qe(A.uid,{axisLabelsBehavior:r}),i!==void 0)Qe(A.uid,{fontStyleCallback:void 0});else if(Te(A.uid,"fontStyleCallback")===void 0){let a=n=>{let o=Te(A.uid,"axisLabelsBehavior");return wi({textSymbol:t,placeholderString:n,format:"html",axisLabelsBehavior:o,defaults:{maxWidth:A.renderer.labels.template.maxWidth}})};Qe(A.uid,{fontStyleCallback:a})}}function Ev(e){let{axis:A,isXAxis:t,formatOptions:i,labelsTextSymbol:r,overridePercentMultiplication:a,chartType:n,axisValueFormatter:o,isTimeOnlyField:u,setTimeZone:h,outTimeZone:g,errorStrings:f}=e,m=hs({isXAxis:t,chartType:n,valueFormat:i}),B=!1;!(A instanceof he)&&Bt(i)?dm({axis:A,formatOptions:i,overridePercentMultiplication:a,valueAxisFormatter:o}):A instanceof he&&Ai(i)?Sv({axis:A,formatOptions:i,dateAxisFormatter:o,isTimeOnlyField:u,setTimeZone:h,outTimeZone:g}):A instanceof _e?$r(i)||m?(Iv({axis:A,formatOptions:i,categoryAxisFormatter:o}),Qe(A.uid,{numberFormatter:void 0})):Bt(i)?(dm({axis:A,formatOptions:i,overridePercentMultiplication:a,valueAxisFormatter:o}),Qe(A.uid,{categoryFormatter:void 0})):B=!0:B=!0,B&&us("mismatchAxisAndValueFormat",f),Lv({axis:A,labelsTextSymbol:r,axisValueFormatter:o}),A.invalidateLabels()}function Hv(e){let A=e;return e>=1?A=10**(e.toFixed(0).length-1):e<1&&e>0&&(A=10**-Math.abs(Math.floor(Math.log10(e)))),A}function zm(e){let{minimumFromConfig:A,maximumFromConfig:t,isLogarithmic:i}=e,r=i===!0&&A!==null&&A!==void 0&&A<=0,a=!Number.isFinite(A)||!Number.isFinite(t);return r||a}var oA={Ready:"ready",Hidden:"hidden",Shown:"shown",Hit:"hit",DoubleHit:"doublehit",Up:"up",SelectEnded:"selectended",Over:"over",Out:"out",SizeChanged:"sizechanged",VisibilityChanged:"visibilitychanged",PositionChanged:"positionchanged",Validated:"validated",DataItemsValidated:"dataitemsvalidated",Inited:"inited",ChildAdded:"childadded",DataRangeChanged:"datarangechanged",LayoutValidated:"layoutvalidated"};function Xm(e){let{actionMode:A,cursorRange:t,isRotated:i}=e,r=XA.None;switch(t){case fs.MultiAxes:A===RA.MultiSelectionWithCtrlKey||A===RA.MultiSelection?r=XA.SelectXY:A===RA.Zoom&&(r=XA.ZoomXY);break;case fs.XAxis:A===RA.MultiSelectionWithCtrlKey||A===RA.MultiSelection?r=i===!0?XA.SelectY:XA.SelectX:A===RA.Zoom&&(r=i===!0?XA.ZoomY:XA.ZoomX);break;case fs.YAxis:A===RA.MultiSelectionWithCtrlKey||A===RA.MultiSelection?r=i===!0?XA.SelectX:XA.SelectY:A===RA.Zoom&&(r=i===!0?XA.ZoomX:XA.ZoomY);break}return r}function Tv(e,A){let t=R.cursorCrosshair.style,i={type:GA.SLS,style:A.style??t.style,color:A.color??t.color,width:A.width??t.width};vr({element:e.cursor.lineX,lineSymbol:i}),vr({element:e.cursor.lineY,lineSymbol:i})}function Ym(e){if(!(e instanceof tt)&&!(e instanceof fe)){e.cursor=new yl;let A="userAgentData"in navigator&&navigator.userAgentData&&typeof navigator.userAgentData=="object"&&"mobile"in navigator.userAgentData&&navigator.userAgentData.mobile===!0||/Mobi|Android/iu.test(navigator.userAgent);e.cursor.hideSeriesTooltipsOnSelection=!A}}function Zm(e,A){if(!(e instanceof tt)&&!(e instanceof fe)){let t=e,i=t.cursor??new yl;A?.style!==void 0&&Tv(t,A.style);let r=R.cursorCrosshair;i.lineX.disabled=r.verticalLineVisible?A?.verticalLineVisible===!1:A?.verticalLineVisible!==!0,i.lineY.disabled=r.horizontalLineVisible?A?.horizontalLineVisible===!1:A?.horizontalLineVisible!==!0,t.cursor=i}}function Ov(e){return!(e instanceof tt)&&e.cursor===void 0&&Ym(e),e.cursor}function rd(e,A){let t=e.renderer.labels.template;t.events.hasListenersByType(oA.Hit)&&(t.cursorOverStyle=A),e.renderer.labels.each(i=>{i.cursorOverStyle=A})}function kv(e){let{chart:A,chartType:t,showMean:i,enabled:r}=e,a=r?Lt.pointer:Lt.default;switch(t){case I.ComboLineAndBarSeries:case I.BarSeries:case I.PieSeries:A.series.each(n=>{(n instanceof Ie||n instanceof gt)&&(n.cursorOverStyle=a)});break;case I.BoxPlotSeries:A.series.each(n=>{let o=a;if(n instanceof Ae){let u=ge(n);u!==void 0&&(i&&He(n.uid,"isBoxPlotOutliersSeries")&&(o=Lt.default),u.cursorOverStyle=o,u.clones.each(h=>{h.cursorOverStyle=o}))}else n.cursorOverStyle=i?Lt.default:a});break;case I.LineSeries:A.series.each(n=>{if(n instanceof Ae){let o=ge(n);o!==void 0&&(o.cursorOverStyle=a,o.clones.each(u=>{u.cursorOverStyle=a}))}});break}}function Dv(e){let{chart:A,actionMode:t,cursorRange:i}=e,r=$(A.uid,"isRotated"),a=$(A.uid,"config"),n=mt(a),o=xA(a?.series),u=o===I.LineSeries&&Bt(a?.axes?.[0]?.valueFormat),h=o===I.LineSeries&&$r(a?.axes?.[0]?.valueFormat),g=o===I.LineSeries&&Ai(a?.axes?.[0]?.valueFormat),f,m=!1,B=t??$(A.uid,"actionMode")??R.actionMode;if($(A.uid,"filterBySelection")===!0)f=XA.None,m=!1;else if(i!==void 0)f=Xm({actionMode:B,cursorRange:i,isRotated:r});else switch(B){case RA.Zoom:u||g?f=XA.ZoomXY:f=r===!0?XA.ZoomY:XA.ZoomX,m=!1;break;case RA.MultiSelection:case RA.MultiSelectionWithCtrlKey:h?f=r===!0?XA.SelectY:XA.SelectX:f=XA.SelectXY,m=!0;break;case RA.MonoSelection:f=XA.None,m=!0;break;case RA.None:f=XA.None,m=!1;break}A instanceof ZA&&A.cursor!==void 0&&f!==void 0&&(A.cursor.behavior=f),kv({chart:A,chartType:o,enabled:m,showMean:n})}function Jm(e){let A="";return e instanceof jt?A=e.dataFields?.categoryX??e.dataFields?.dateX??e.dataFields?.valueX??"":e instanceof gt&&(A=e.dataFields?.category??""),A}function qm(e){let A="";return e instanceof jt?A=e.dataFields?.categoryY??e.dataFields?.dateY??e.dataFields?.valueY??"":e instanceof gt&&(A=e.dataFields?.value??""),A}function jm(e){return $(e.chart.uid,"isRotated")===!0?qm(e):Jm(e)}function ji(e){return $(e.chart.uid,"isRotated")===!0?Jm(e):qm(e)}function oo(e,A=0){let t=$(e.chart.uid,"config");return xA(t?.series,A)}function $m(e){let{data:A,colorMatch:t,chartSubType:i,rendererType:r}=e;return A!==void 0&&t&&r!==void 0&&(i===bA.BoxPlotMultiFields&&(r===ds.UniqueValue||r===ds.PieChart)||i===bA.BoxPlotMonoFieldAndCategory&&r===ds.UniqueValue)&&A.some(a=>Object.keys(a).some(n=>n.includes(se.rendererSymbolField)))}function dn(e){let{value:A,valueFormat:t,iLocale:i,formatLocale:r}=e,a=A?.toString(),n=ni({type:t.type,iLocale:i,formatLocale:r});return typeof A=="number"&&t.type===I.NumberAxisFormat?a=n.format(A,Ri(t)):(typeof A=="number"||A instanceof Date)&&t.type===I.DateAxisFormat&&(a=n.format(A,Ri(t))),a}function vt(e){let{chart:A,config:t}=e,i=t;return t===void 0&&A!==void 0&&(i=$(A.uid,"config")),je(i)}function Mv(e){e instanceof bl&&e.series.each(A=>{Ct(A.uid),A instanceof Ae&&Ct(ge(A)?.uid),A.bullets.each(t=>{Ct(t.uid)}),A instanceof Ie&&A.columns.template.children.each(t=>{Ct(t.uid)})}),e instanceof ZA&&[e.xAxes.getIndex(0),e.xAxes.getIndex(1),e.yAxes.getIndex(0),e.yAxes.getIndex(1)].forEach(A=>{A!==void 0&&(Ct(A.uid??""),A.axisRanges.each(t=>{Ct(t.label?.uid)}))}),e instanceof tt&&e.radarContainer.children.each(A=>{Ct(A.uid)}),e instanceof fe&&e.series.getIndex(0)?.slices.each(A=>{Ct(A.uid)}),"cursor"in e&&e.cursor instanceof jh&&Ct(e.cursor?.uid),"legend"in e&&e.legend!==void 0&&(Ct(e.legend.uid),Ct(e.legend.valueLabels?.template?.uid)),Ct(e.uid)}function qs(e){return typeof e=="number"?e:e.value}async function _v(e){let{chart:A,exportOptions:t}=e,{format:i,quality:r=1,...a}=t,n=r<0||r>1?1:r,o=await A.exporting.getImage(i,{quality:n,...a}),u=AB(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([u],`chart.${i}`,{type:h})}function lo(e,A){A!==void 0&&(A.marginBottom!==void 0&&(e.marginBottom=A.marginBottom),A.marginTop!==void 0&&(e.marginTop=A.marginTop),A.marginRight!==void 0&&(e.marginRight=A.marginRight),A.marginLeft!==void 0&&(e.marginLeft=A.marginLeft),A.verticalCenter!==void 0&&(e.verticalCenter=Xg(A.verticalCenter)),A.horizontalCenter!==void 0&&(e.horizontalCenter=cc(A.horizontalCenter)),A.strokeWidth!==void 0&&(e.strokeWidth=A.strokeWidth),A.wrap!==void 0&&(e.wrap=A.wrap),A.truncate!==void 0&&(e.truncate=A.truncate),A.maxWidth!==void 0&&(e.maxWidth=A.maxWidth),A.applyOnClones!==void 0&&(e.applyOnClones=A.applyOnClones,e.background.applyOnClones=A.applyOnClones))}function si(e,A){let t=A?.createChild(Ka)??new Ka;return lo(t,e),t}function Rv(e){let A=e.push(new Xh);A.dx=1,A.dy=1,A.opacity=1}function Kv(e,A,t){if(t.alpha>0&&A>=0){e.length===0&&Rv(e);let i=e.getIndex(0);i.blur=A,i.color=t}else e.clear()}function Nv(e,A){let t=be(e.uid,"isGuide"),i=A.visible===!1;return!i&&(t===!0||!(e instanceof rs))&&A.content.text===""&&(i=!0),i}function um(e){let{label:A,offset:t,offsetProperty:i}=e,r=99;if(A.adapter.remove(i,r),typeof t=="string"&&!Number.isFinite(Number(t))){let a=bs(t);a!==void 0&&(a/=100,A.adapter.add(i,()=>(A.parent?.[i==="dx"?"measuredWidth":"measuredHeight"]??0)*a,r))}else A[i]=t}function Ft(e){let{label:A,labelConfig:t,defaults:i,skipSettingText:r}=e;if(t!==void 0){let a=ja(t.content,A.rtl,i);A.fill=a.fill,A.fontFamily=a.fontFamily,A.fontWeight=a.fontWeight,A.fontSize=a.fontSize,A.textDecoration=a.textDecoration,A.align=a.align,A.valign=a.valign,A.verticalCenter=a.verticalCenter,A.horizontalCenter=a.horizontalCenter,A.background.fill=a.backgroundFill,A.background.stroke=a.borderFill,A.background.strokeWidth=a.borderWidth,A.rotation=a.angle,um({label:A,offset:a.xOffset,offsetProperty:"dx"}),um({label:A,offset:a.yOffset,offsetProperty:"dy"}),A.rtl=a.rtl,A.wrap=a.wrap,A instanceof rs||(A.maxWidth=a.maxWidth),r||(A.text=a.text),Kv(A.filters,a.haloSize,a.haloColor);let n=Nv(A,t);A.disabled=n,JA(A,t.visible!==!1&&!n)}else A.disabled=!0}function Ap(e,A){A!==void 0&&(e===I.BarSeries||e===I.LineSeries)&&A.adapter.add("dy",(t,i)=>{let r=i.dataItem,{chart:a}=r?.component??{};return a instanceof ZA&&(i.visible=!oc(i,a)),t??0})}function ep(e,A){A!==void 0&&(e===I.BarSeries&&A.adapter.add("dx",(t,i)=>{let r=t??0,a=i.dataItem,{chart:n}=a?.component??{};return(n!==void 0?$(n.uid,"isRotated"):!1)===!0&&(a.valueX??a.valueY)<0&&(r-=i.measuredWidth+R.dataLabelNegative.paddingRight),r}),(e===I.BarSeries||e===I.LineSeries)&&A.adapter.add("dy",(t,i)=>{let r=t??0,a=i.dataItem,{chart:n}=a?.component??{};return(n!==void 0?$(n.uid,"isRotated"):!1)!==!0&&(a.valueX??a.valueY)<0&&(r+=i.measuredHeight+R.dataLabelNegative.paddingTop),r}))}function ad(e){e.bulletsContainer.invalidateLabels(),e instanceof Ie&&e.columns?.template.invalidateLabels()}function Vv(e){let{dataValue:A,series:t,seriesType:i,stackedType:r,axisMin:a}=e,n=A===void 0;return A!==void 0&&(a!==void 0&&A<a?n=!0:t instanceof Ie&&(i===I.BarSeries||i===I.ComboLineAndBarSeries)&&(n=A===0&&r!==void 0&&r!==Be.Side)),n}function nd(e,A){let t,i=r=>be(r.uid,"isDataLabel")??!1;return A==="bullets"?t=e.bullets.values.find(i):e instanceof Ie&&(t=e.columns.template.children.values.find(i)),t}function sd(e,A){e.adapter.add("htmlOutput",(t,i)=>{let r=t,{dataItem:a}=i;if(ha(e)&&(A instanceof Ie&&a instanceof ss||A instanceof Ae&&a instanceof jr)){let n=He(A.uid,A instanceof Ie?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(n!==void 0){let o=$(A.chart.uid,"isRotated"),u=He(A.uid,"stackedType"),h=o===!0?a.valueX:a.valueY,g=o===!0?a.values?.valueX?.totalPercent:a.values?.valueY?.totalPercent,f=o===!0?(a.component?.xAxis).min:(a.component?.yAxis).min;r=Vv({dataValue:h,series:A,seriesType:A instanceof Ie?I.BarSeries:I.LineSeries,stackedType:u,axisMin:f})?"":n(h,g)}}return Re(r)},0)}function tp(e){let{numberFormatter:A,dataLabelsConfigContent:t,stackedType:i}=e;return(r,a)=>{let n=i===Be.Stacked100&&a!==void 0?a:r;return A.numberFormat.style==="percent"&&(n/=100),wi({textSymbol:{...t,text:A.format(n)},format:"html"})}}function ip(e){e.tabindex=-1}function rp(e){let{series:A,seriesType:t,dataLabel:i,labelDefaults:r,dataLabelsConfig:a,yAxisValueFormat:n,stackedType:o,isRotated:u,defaultDataLabelFormatter:h,customDataLabelFormatter:g}=e;if(i!==void 0){let f=g,m=a?.content??{type:GA.TS};if(g===void 0&&h!==void 0&&n?.type===I.NumberAxisFormat){let w=$(A.chart.uid,"formatLocale"),p=ni({type:n.type,iLocale:A.chart.language.locale,formatLocale:w});p.numberFormat=n.intlOptions,f=h({numberFormatter:p,dataLabelsConfigContent:m,stackedType:o})}let B;switch(t){case I.BarSeries:B="barSeriesDataLabelFormatter";break;case I.LineSeries:B="lineSeriesDataLabelFormatter";break}B!==void 0&&Et(A.uid,{[B]:f}),a!==void 0&&(a.content.text=u===!0?"{valueX}":"{valueY}",a.visible=a.visible!==!1),Ft({label:i,labelConfig:a,defaults:r??R.dataLabel}),ad(A)}}function co(e,A){let t=A;t===void 0&&(t=$(e.uid,"config"));let i=$(e.uid,"colorMatchApplied")??!1;return(t?.colorMatch??!1)&&i}function ap(e,A){let t;return e instanceof he?t=A===!0?"dateY":"dateX":e instanceof _e?t=A===!0?"categoryY":"categoryX":t=A===!0?"valueY":"valueX",t}function Ca(e,A){e.name=A}function Cd(e){let{chart:A,lineSeries:t,applyPropertiesToClones:i}=e,r=t.bullets.push(new is);return Pg(r.uid,{isBulletMarker:!0}),i!==!1&&(r.applyOnClones=!0),t.bulletsContainer.parent=A.seriesContainer,r}function wd(e){let{series:A,seriesConfig:t,rotationChanged:i,stackedType:r,isRotated:a}=e;switch(r){case Be.Stacked:{A.stacked=!0,A instanceof Ae&&(A.stackToNegative=t.stackNegativeValuesToBaseline??R.lineSeries.stackNegativeValuesToBaseline),i===a?A.dataFields.valueYShow=void 0:A.dataFields.valueXShow=void 0,A.updateStacking();break}case Be.Stacked100:{A.stacked=!0,a?A.dataFields.valueXShow="totalPercent":A.dataFields.valueYShow="totalPercent",A.updateStacking();break}case Be.Side:default:{A.stacked=!1,i===a?A.dataFields.valueYShow=void 0:A.dataFields.valueXShow=void 0;break}}}function Pv(e){return()=>{let{chart:A,marker:t}=e;t.clones.each(i=>{JA(i,!oc(i,A))})}}function Gv(e){let{chart:A,series:t,seriesType:i,marker:r,numberOfChartSeries:a,ignoreSmoothRenderingLimit:n}=e,o=Pv({marker:r,chart:A}),u=a??1,h=A.data.length*u+u;n!==!0&&h>R.elementLimitForSmoothRendering&&(o=Ze(o,R.debounceTime)),A.xAxes.getIndex(0)?.events.on(oA.Validated,o),A.yAxes.getIndex(0)?.events.on(oA.Validated,o),i===I.LineSeries&&(A.xAxes.getIndex(0)?.events.on(oA.Validated,()=>{ad(t)}),A.yAxes.getIndex(0)?.events.on(oA.Validated,()=>{ad(t)}))}function np(e,A){e.series.each(t=>{let i=He(t.uid,A);i!==void 0&&!i.isDisposed()&&i.dispose()})}function Wv(e){let A;return e!==void 0&&e.series.length>0&&(A=e.series.values.map(t=>t.visible?t.id:"").filter(t=>t!=="")),A}function qc(e){let{dataItem:A,y:t,splitBy:i,showOutliers:r}=e,a=Fe({key:WA.Min,y:t,splitBy:i,showOutliers:r}),n=Fe({key:WA.Max,y:t,splitBy:i,showOutliers:r}),o=Fe({key:WA.FirstQuartile,y:t,splitBy:i,showOutliers:r}),u=Fe({key:WA.ThirdQuartile,y:t,splitBy:i,showOutliers:r});return Number.isFinite(A[a])&&Number.isFinite(A[n])&&Number.isFinite(A[o])&&Number.isFinite(A[u])}function zv(e,A){let t=0;if(e!==void 0&&A!==void 0){let i=oa(A.series),r=MA(A.series),a=mr(A);e.data.forEach(n=>{switch(r){case bA.BoxPlotMonoField:case bA.BoxPlotMultiFields:case bA.BoxPlotMonoFieldAndCategory:qc({dataItem:n,showOutliers:a})&&(t+=1);break;case bA.BoxPlotMultiFieldsAndCategory:i.forEach(o=>{qc({dataItem:n,y:o,showOutliers:a})&&(t+=1)});break;case bA.BoxPlotMonoFieldAndSplitBy:case bA.BoxPlotMultiFieldsAndSplitBy:case bA.BoxPlotMonoFieldAndCategoryAndSplitBy:A.series.forEach(o=>{qc({dataItem:n,splitBy:o.query?.where,showOutliers:a})&&(t+=1)});break}})}return t}function hm(){return e=>{let A=$(e.chart.uid,"config"),t=!1;if(A!==void 0&&e instanceof jt){let i=zv(e.chart,A),r=0,a=0,n=0,o=0,u=0;e.chart.series.values.forEach(f=>{if(f instanceof Ce)r+=f.columns.length;else if(f instanceof Ae&&!(f instanceof ct)){let m=ge(f);if(m!==void 0&&!m.disabled){let B=m.clones.values.filter(w=>!(w.dataItem instanceof Bi))?.length??0;if(He(f.uid,"isBoxPlotMeanLineSeries")===!0){o+=B;let w=f.data.filter(p=>Number.isFinite(p[f.dataFields.valueX??f.dataFields.valueY??""])).length;u+=w}else{let w=f.data.filter(p=>Number.isFinite(p[f.dataFields.valueX??f.dataFields.valueY??""])).length;n+=w,a+=B}}}});let h=n===0||a>=n,g=u===0||o>=u;t=r>=i&&h&&g&&e.chart.appeared&&e.isReady()&&e.chart.isReady()}return t}}function Xv(e,A){let t;switch(e){case I.BarSeries:t=(i,r)=>{if(i instanceof Ie){let a=vt({chart:i.chart}),n=0;if(r.type===I.BarSeries){let o=(a?i.dataFields.valueX:i.dataFields.valueY)??r.y;n=i.chart?.data?.filter(u=>Number.isFinite(u[o])).length}return i.chart.isReady()&&i.columns.length===n}return!1};break;case I.LineSeries:A===!0?t=hm():t=(i,r)=>{if(i instanceof Ae){let a=vt({chart:i.chart}),n=ge(i),o=0;if(r.type===I.LineSeries){let{y:u}=r,h=(a?i.dataFields.valueX:i.dataFields.valueY)??[u].flat()[0];o=i.chart?.data?.filter(g=>Number.isFinite(g[h])).length}return i.chart.appeared&&i.chart.isReady()&&n!==void 0&&n.clones.values.length>=o}return!1};break;case I.PieSeries:t=i=>i instanceof gt&&i.slices.length>0;break;case I.BoxPlotSeries:t=hm();break}return t}function sp(e){let{series:A,callbackInfo:t,seriesConfig:i,onReadyEvent:r}=e,{type:a}=t,n=xA([i]),o=He(A.uid,"isBoxPlotMeanLineSeries"),u=a==="style"?"updateStyleCallbackDisposer":"updateSelectionCallbackDisposer",h=async m=>{let{type:B,callbackProps:w}=m;B==="selection"?xx(w):m.styleCallback!==void 0&&(JA(A,i.visible),await m.styleCallback(w))};r===!0&&A.events.once(oA.Ready,async()=>await h(t));let g=He(A.uid,u);g!==void 0&&g.dispose();let f=Xv(n,o);g=(n===I.PieSeries?A.chart:A).events.on(oA.Validated,async()=>{f!==void 0&&f(A,i)&&(g!==void 0&&g.dispose(),await h(t))}),A.dispatchImmediately(oA.Validated),Et(A.uid,{[u]:g})}function uo(e){let{series:A,styleCallback:t,callbackProps:i,onReadyEvent:r,seriesConfig:a}=e;sp({callbackInfo:{styleCallback:t,callbackProps:i,type:"style"},series:A,seriesConfig:a,onReadyEvent:r})}function Yv(e){let{series:A,callbackProps:t,seriesConfig:i,onReadyEvent:r}=e;sp({callbackInfo:{callbackProps:t,type:"selection"},series:A,seriesConfig:i,onReadyEvent:r})}function kr(e){let{defaultChartItemRole:A}=R.aria;e instanceof Ce||e instanceof Ie?(e.columns.template.properties.role=A,e.columns.template.focusable=!0,e.columns.template.hoverOnFocus=!0,e.itemReaderText=ps()):e instanceof ct?e.segments.template.properties.role=A:e instanceof Ae?e.bullets.values.forEach(t=>{t.focusable=!0,t.properties.role=A,t.readerTitle=ps(),t.hoverOnFocus=!0}):e instanceof gt&&(e.slices.template.properties.role=A,e.slices.template.hoverOnFocus=!0,e.itemReaderText="{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%")}function Zv(e){let A=$(e.uid,"config");e.series.each(t=>{let i=A?.series?.find(r=>r.id===t.id);i!==void 0&&i.visible!==!1&&!t.visible&&JA(t)})}function ho(e,A){let t=xA(A?.series);return A?.series.find(i=>{let r=!1;return t!==I.BoxPlotSeries||e instanceof Ce?r=e.id===i.id:e instanceof ct?r=e.id.replace(`_${jA.Top}`,"")===i.id||e.id.replace(`_${jA.Median}`,"")===i.id||e.id.replace(`_${jA.Bottom}`,"")===i.id:e instanceof Ae&&(r=e.id.replace(`_${jA.Outliers}`,"")===i.id),r})}function Jv(e,A){let t=!1;if(A!==void 0&&ha(e)){let i=fl.spriteRectToSvg(e.bbox,e),r=A.x,a=A.y,n=A.x+A.width,o=A.y+A.height,u=i.x,h=i.y,g=i.x+i.width,f=i.y+i.height;t=!(u>n||g<r||h>o||f<a)}return t}function Dr(e){let{element:A,customSelectionTheme:t,useNativeState:i}=e,r=i===!0?Ht.Active:Ht.CustomActive,a=A.states.getKey(r)??A.states.create(r),n=A.states.getKey(Ht.CustomInactive)??A.states.create(Ht.CustomInactive),{selectedElementsTheme:o,nonSelectedElementsTheme:u}=t??R.selectionTheme??{};dc(a,o),dc(n,u)}function Tt(e){let{element:A,selected:t,multiSelect:i,isDateOrCategoryAxis:r,useNativeState:a,backToDefaultState:n}=e;if(A!==void 0){let o=A.isActive;i!==!0?r===!0?o=A.isActive?!1:A.isActive!==t:o=t:o=A.isActive!==t,o!==A.isActive&&(A.isActive=o);let u=a===!0?Ht.Active:Ht.CustomActive,h=n===!0?Ht.Default:Ht.CustomInactive;A.setState(A.isActive?u:h,0),A.isActive&&(A.toFront(),A.dataItem?.component instanceof wl&&A.dataItem.component.toFront())}return A?.isActive??!1}function fo(e,A){let t=!1;if(A instanceof ZA||A instanceof fe){let i=$(A.uid,"actionMode");i!==void 0&&(t=i===RA.MultiSelection||i===RA.MultiSelectionWithCtrlKey&&(e?.event?.ctrlKey||e?.event?.metaKey))}return t}function op(e){let A=e instanceof ZA&&e.zoomOutButton.isHover,t=e.legend.isHover,i=!1,r=!1,a=!1,n=!1;if(e instanceof ZA){i=e.xAxes.values.some(u=>u.renderer.labels.template.events.has(oA.Hit)&&u.renderer.isHover),r=e.yAxes.values.some(u=>u.renderer.labels.template.events.has(oA.Hit)&&u.renderer.isHover),a=i||r;let o=$(e.uid,"config");mt(o)&&(n=e.series.values.find(u=>u instanceof Ce)?.isHover??!1)}return!A&&!t&&!a&&!n}function bd(e,A){return e.values.filter(t=>{let i=!1,r=!t.isActive;if(!(t.dataItem instanceof Bi)){t.isActive=!t.isActive;let a=$(A.uid,"filterBySelection")!==!0&&r;Tt({element:t,selected:a}),i=r}return i})}function fm(e,A){let t=[],{columns:i,chart:r}=e,a=$(r.uid,"config");if(a&&i!==void 0&&e.visible){let n=a?.series[0].x,o=e?.dataFields?.customValue??"",u=oo(e,A),h=ho(e,a),g=u===I.BoxPlotSeries?h?.y:ji(e),f={element:{},yAxisField:g,xAxisField:n,splitBy:o,seriesIndex:A,chartConfig:a};t=bd(i,r).map(m=>({...f,element:m,elementDataContext:m.dataItem?.dataContext,elementIndex:m.dataItem?.index}))}return t}function gm(e,A){let t=[];if(e.visible){let i=ge(e)?.clones;if(i!==void 0){let{chart:r}=e,a=$(r.uid,"config");if(a){let n=a.series[0].x??"",o=ji(e),u=e?.dataFields?.customValue??"",h={element:{},xAxisField:n,yAxisField:o,splitBy:u,seriesIndex:A,chartConfig:a};t=bd(i,r).map(g=>({...h,element:g,elementDataContext:g.dataItem?.dataContext,elementIndex:g.dataItem?.index}))}}}return t}function qv(e){let A=[];if(e.visible){let{chart:t}=e,i=$(t.uid,"config");if(i){let r=jm(e),a=ji(e),n={element:{},xAxisField:r,yAxisField:a,seriesIndex:0,chartConfig:i},o;A=bd(e.slices,t).map(u=>{let h=u.dataItem?.dataContext??{};return ga(h)&&(o=Ks({groupOfSlicesDataContext:h})),{...n,element:u,elementIndex:u.dataItem?.index,elementDataContext:h}}),o!==void 0&&o.forEach((u,h)=>{A.push({...n,elementIndex:h,elementDataContext:u})})}}return A}function jv(e){let{chart:A,selectionSource:t,chartConfig:i}=e,r=!1,a=[];if(bi(i)){if(r=mt(i),a=A.series.values.filter(n=>!(n instanceof ct)),t===Le.SelectionByClick){let n=new Set,o=a.find(u=>u instanceof Ce&&u.isHover);o===void 0?a.forEach(u=>{u instanceof Ae&&(u.id.includes(jA.Outliers)&&u.tooltip?.visible===!0||He(u.uid,"isBoxPlotMeanLineSeries"))&&n.add(u)}):n.add(o),a=Array.from(n)}}else a=A.series.values;return a=a.filter(n=>n.visible&&(!r||!(n instanceof Ce||He(n.uid,"isBoxPlotOutliersSeries")))),a}async function lp(e){let{chart:A,cursorSelectionRectangle:t,multiSelect:i,selectionSource:r,hitElement:a,queryObject:n,errorStrings:o}=e,u=$(A.uid,"config"),h=u?.series[0]?.x??"",g=[];TA(A.uid,{pendingSelectionQueries:!0});let f=[],m=!0;jv({chart:A,selectionSource:r,chartConfig:u}).forEach((B,w)=>{let p=ho(B,u);if(u&&B.visible&&B instanceof jt){let b=oo(B,w)===I.BoxPlotSeries?p?.y:ji(B),v=B.dataFields?.customValue??"",S={element:{},yAxisField:b,xAxisField:h,splitBy:v,seriesIndex:w,chartConfig:u},Q;B instanceof Ie||B instanceof Ce?Q=B.columns?.values:B instanceof ct?Q=B.segments.values:B instanceof Ae&&(Q=ge(B)?.clones?.values,S.uniqueFeature=!0),Q!==void 0&&(f=[...f,...Q],Q.forEach((L,D)=>{if(!(L.dataItem instanceof Bi)){let _=L.isActive,k=L===a||Jv(L,t);k&&(m=!1);let P=!1;_?k?P=r!==Le.SelectionByClick:P=i===!0:P=k,P&&g.push({...S,element:L,elementDataContext:L.dataItem?.dataContext,elementIndex:D}),Tt({element:L,selected:P})}}))}}),m&&(g=[]),await Bn({chart:A,listSelectedElements:g,selectionSource:r,queryObject:n,errorStrings:o})}function $v(e){let{chart:A,queryObject:t,errorStrings:i}=e,r=async a=>{let n=a.target.cursor;if(n.xRange!==void 0){n.selection.isMeasured=!0,n.validate(),n.selection.validate();let o=fl.spriteRectToSvg(n.selection.bbox,n.selection);if(n.selection.hide(),o.width>0||o.height>0){let u=fo(a,A);await lp({chart:A,cursorSelectionRectangle:o,multiSelect:u,selectionSource:Le.SelectionByRange,queryObject:t,errorStrings:i})}}n.selection.hide()};wt(A)&&A.events.on(oA.Up,async a=>{let n=a.target.cursor,o=Rg(A.uid,"selectEndedCallbackDisposer");if(o!==void 0&&o.dispose(),n.xRange!==void 0&&a.event instanceof TouchEvent)await r(a);else{let u=n.events.once(oA.SelectEnded,async()=>{await r(a)});Kg(A.uid,{selectEndedCallbackDisposer:u})}})}async function io(e){let{hitEvent:A,chart:t,queryObject:i,errorStrings:r}=e,{target:a}=A,n=$(t.uid,"actionMode");if(t!==void 0&&op(t)&&n!==RA.None&&n!==RA.Zoom&&(a instanceof ZA||A.point===void 0)){let o=A.svgPoint?{x:A.svgPoint.x,y:A.svgPoint.y,width:0,height:0}:void 0,u=fo(A,t);await lp({chart:t,cursorSelectionRectangle:o,multiSelect:u,selectionSource:Le.SelectionByClick,hitElement:a,queryObject:i,errorStrings:r})}}function AF(e){let{chart:A,queryObject:t,errorStrings:i}=e;wt(A)&&(A.zoomOutButton.hoverable=!0,A.events.on(oA.Hit,async r=>await io({hitEvent:r,chart:A,queryObject:t,errorStrings:i})),A.events.on(oA.DoubleHit,async r=>await io({hitEvent:r,chart:A,queryObject:t,errorStrings:i})))}function fn(e){let{chart:A,element:t,queryObject:i,errorStrings:r}=e;t.events.on(oA.Hit,async a=>await io({hitEvent:a,chart:A,queryObject:i,errorStrings:r})),t.events.on(oA.DoubleHit,async a=>await io({hitEvent:a,chart:A,queryObject:i,errorStrings:r}))}async function eF(e){let{chart:A,queryObject:t,errorStrings:i}=e,{series:r}=A;if(r.length>0){TA(A.uid,{pendingSelectionQueries:!0});let a=$(A.uid,"config"),n=r.values.map((o,u)=>{let h=[];if(o.visible){let g=xA(a?.series,u);g===I.BarSeries?h=fm(o,u):g===I.LineSeries?h=gm(o,u):g===I.PieSeries?h=qv(o):g===I.BoxPlotSeries&&(o instanceof Ce?h=fm(o,u):o instanceof Ae&&!(o instanceof ct)&&(h=gm(o,u)))}return h}).flat();await Bn({chart:A,listSelectedElements:n,selectionSource:Le.ProgrammaticSelection,queryObject:t,errorStrings:i}),A instanceof fe&&A.feedLegend()}}function jc(e){if(wt(e))if(e.events.disableType(oA.Hit),e.events.disableType(oA.DoubleHit),e instanceof fe){let A=e.series.getIndex(0);A!==void 0&&(A.slices.template.clickable=!1,A.slices.template.togglable=!1,A.slices.template.events.disableType(oA.Hit),A.slices.template.events.disableType(oA.DoubleHit),A.labels.template.clickable=!1,A.labels.template.togglable=!1,A.labels.template.events.disableType(oA.Hit),A.labels.template.events.disableType(oA.DoubleHit))}else e instanceof ZA&&(e.xAxes.each(A=>ro(A,!0)),e.yAxes.each(A=>ro(A,!0)),e.events.disableType(oA.Up))}function tF(e){if(wt(e))if(e.events.enableType(oA.Hit),e.events.enableType(oA.DoubleHit),e instanceof fe){let A=e.series.getIndex(0);A!==void 0&&(A.slices.template.clickable=!0,A.slices.template.togglable=!0,A.slices.template.events.enableType(oA.Hit),A.slices.template.events.enableType(oA.DoubleHit),A.labels.template.clickable=!0,A.labels.template.togglable=!0,A.labels.template.events.enableType(oA.Hit),A.labels.template.events.enableType(oA.DoubleHit))}else e instanceof ZA&&(e.xAxes.each(A=>ro(A,!1)),e.yAxes.each(A=>ro(A,!1)),e.events.enableType(oA.Up))}function qi(e){let{element:A,stylingInfo:t,stateKey:i="default"}=e;if(A!==void 0&&t!==void 0){let r=A.states.getKey(i)?.properties??A.defaultState.properties;if(r.fill=t.pattern??t.fill,r.fillOpacity=hl(r.fill.toString()).alpha===0?0:1,t.outline!==void 0){let{outline:a}=t;r.stroke=a.stroke,r.strokeOpacity=a.stroke.alpha===0?0:1,r.strokeDasharray=a.strokeDasharray,r.strokeLinecap=a.strokeLinecap,r.strokeWidth=a.strokeWidth}}}function yd(e){return e.values.every(A=>A.isReady())}function Mr(e,A){e.events.on(oA.Ready,()=>{let{chart:t}=e;t!==void 0&&yd(e.chart.series)&&(Zv(t),A(),ea(e.chart.htmlContainer))})}function cp(e,A){let{dataTooltipStyle:t,dataTooltipStyleReversed:i}=R;if(A===!0){let r=e.background.fill;if(r!==void 0){e.background.stroke=r,e.background.strokeWidth=i?.outline?.width??Number.NaN,e.background.fill=fa(i?.color);let a=e.background.fill.rgb;if(a!==void 0){let n=e.label.fill;e.label.fill=Vh(a)?n?.darkColor:n?.lightColor}}}else e.getStrokeFromObject=!0,e.getFillFromObject=!0,e.background.strokeWidth=t?.outline?.width??Number.NaN,e.background.stroke=fa(t?.outline?.color)}function iF(e){let A=e.tooltip??new pl;A.pointerOrientation="vertical",e instanceof Ce||e instanceof ct?A.label.maxWidth=R.boxPlot.boxPlotTooltipLabelWidth:A.label.maxWidth=R.tooltipWidth,A.label.wrap=!0,A.events.on(oA.Shown,t=>{let i=$(e.chart.uid,"config");if(i!==void 0){let r=ho(e,i),{dataTooltipReverseColor:a}=r??{};cp(t.target,a)}})}function rF(e){e instanceof tt||e.series.each(A=>{iF(A)})}function dp(e,A){e.tooltipHTML=R.htmlEmptyContent,e.adapter.add("tooltipHTML",(t,i)=>{let r=t??"",{chart:a}=A;if(a!==void 0){let n=$(a.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)r="";else{let u=He(A.uid,"barAndLineTooltipFormatter");if(u!==void 0&&A.isReady()){let{dataItem:h}=i;if(h instanceof ss||h instanceof jr){let g=n?.series.find(f=>f.id===A.id);if(g!==void 0){let f=vt({config:n}),m=f?h.valueX:h.valueY,B=(f?h.values.valueX.totalPercent:h.values.valueY.totalPercent)/100,w=h.dataContext??{};if(w!==void 0){let p=$(a.uid,"rendererFieldNames"),b=Ki({value:w[g.x],dataContext:w,useRendererLabel:ws(n,p),specificField:ys(MA([g]),g)}),v=yi(w);v===void 0&&(v=b);let S=w[R.dateBinningRange];r=u({seriesName:A.name,xValue:b,originalXValue:v,dateBinningRange:S,statValue:m,percentValue:B})}}}}}}return Re(r)}),e.tooltipPosition=A instanceof Ae?R.markerTooltipPosition:R.columnTooltipPosition,A.cursorTooltipEnabled=!1}function aF(e){let{isStacked100:A,series:t,statValue:i,percentValue:r,yAxisValueFormat:a,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=e,u=n;u===void 0&&(Bt(a)&&a?(u=a,A&&(u.intlOptions.style="decimal")):u=Hl());let h=$(t.chart.uid,"formatLocale"),g=i!==void 0?dn({value:i,valueFormat:u,iLocale:t.chart.language.locale,formatLocale:h}):"",f="";if(A&&r!==void 0){let m=o;m===void 0&&(m=cf(),m.intlOptions.minimumFractionDigits=2,m.intlOptions.maximumFractionDigits=2),f=dn({value:r,valueFormat:m,iLocale:t.chart.language.locale,formatLocale:h})}return{formattedStatValue:g,formattedPercentValue:f}}function nF(e){let{series:A,dateRange:t,xAxisValueFormat:i}=e,r;if(t!==void 0&&t.length>0){let a=A.chart?.uid,n=$(a,"timeIntervalInfo"),o=$(a,"config"),u=$(a,"options"),h=$(a,"queryObject"),g=o&&na(o.series[0])?o.series[0].temporalBinning?.outTimeZone:void 0,f={};switch(n?.unit){case me.Second:f={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case me.Minute:f={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case me.Hour:f={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case me.Day:case me.Week:case me.Month:case me.Year:f={month:"numeric",day:"numeric",year:"numeric"};break}Qs({chartConfig:o,queryObject:h,options:u})&&(f.timeZone=g??i.intlOptions.timeZone);let m=new Date(t[0]),B=new Date(t[1]);if(!Number.isNaN(m.valueOf())){let w=$(A.chart.uid,"formatLocale"),p=ni({type:I.DateAxisFormat,iLocale:A.chart.language.locale,formatLocale:w}),b=p.format(m,f);if(r=b,!Number.isNaN(B.valueOf())){let v=p.format(B,f);v!==b&&(r=`${r} - ${v}`)}}}return r?.toString()??""}function up(e){let{seriesConfig:A,xAxisValueFormat:t,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:a,series:n,xValue:o,dateBinningRange:u,isTimeOnlyField:h,queryObject:g}=e,f,m=$(n.chart.uid,"formatLocale");return Xl({seriesConfig:A,xAxisValueFormatType:t?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:g})&&u!==void 0&&t?.type===I.DateAxisFormat?f=nF({series:n,dateRange:u,xAxisValueFormat:t}):Ai(t)?h&&typeof o=="number"?f=new Date(o).toLocaleTimeString(m):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(f=dn({value:o,valueFormat:a??t,iLocale:n.chart.language.locale,formatLocale:m})):typeof o=="number"&&Bt(t)?f=dn({value:o,valueFormat:r??t,iLocale:n.chart.language.locale,formatLocale:m}):f=o,f?.toString()??""}function sF(e){let{series:A,fieldList:t,queryObject:i,setTimeBinningInfoWhenNotProvided:r,seriesIndex:a,seriesConfig:n,utilsStrings:o}=e,{dataTooltipValueFormat:u,dataTooltipPercentFormat:h,dataTooltipDateFormat:g}=n,f=()=>"",{chart:m}=A;if(m!==void 0){let B=$(m.uid,"config");if(B!==void 0){let{dataTooltipVisible:w}=n,p=A instanceof Ae?n.markerVisible:void 0;if(w===!1||p===!1)f=()=>"";else{let b=B.axes,v=b[0].valueFormat,S=b[1].valueFormat,Q=MA(B.series),L=t?.find(K=>K.name===n.x)?.type===Ql.TimeOnly,D=ei(B)===Be.Stacked100,_=Ss(Kt(i)).idField,k=ti(t,n.x),P=hc(k,b[0].title?.content.text),j=tB({config:B,fieldList:t,objectIdField:_,seriesIndex:a,utilsStrings:o,isStacked100:D}),E=Ci(m.rtl);f=K=>{let{statValue:F,percentValue:W,xValue:aA,dateBinningRange:J}=K,dA=up({seriesConfig:n,xAxisValueFormat:v,dataTooltipValueFormat:u,dataTooltipDateFormat:g,setTimeBinningInfoWhenNotProvided:r,series:A,xValue:aA,dateBinningRange:J,isTimeOnlyField:L,queryObject:i}),{formattedStatValue:eA,formattedPercentValue:hA}=aF({isStacked100:D,yAxisValueFormat:S,dataTooltipValueFormat:u,dataTooltipPercentFormat:h,series:A,statValue:F,percentValue:W}),X=[`<b>${P}${E} </b>${dA}`];switch(Q){case bA.BarAndLineFromFields:{X.pop();let z=eB({config:B,fieldName:ti(t,dA??""),utilsStrings:o});X.push(`<b>${z}${E} </b>${eA}`);break}case bA.BarAndLineMonoField:case bA.BarAndLineNoAggregation:case bA.BarAndLineMultiFields:X.push(`<b>${j}${E} </b>${eA}`);break;case bA.BarAndLineSplitByNoAggregation:case bA.BarAndLineSplitBy:{let z=aa(n.query?.where,!1),gA=gf({value:ti(t,z),escape:!0});X.push(`<b>${gA}${E} </b>${A.name}<br /><b>${j}${E} </b>${eA}`)}break}return D&&X.push(`<b>${o.statistics.percent}${E} </b>${hA}`),X.join("<br />")}}}}return f}function hp(e){let{series:A,tooltipFormatter:t}=e;Et(A.uid,{barAndLineTooltipFormatter:t??sF(e)})}function vd(e){let{target:A,defaultTooltipHTML:t,candleStickSeries:i,meanLineSeries:r,outliersSeries:a,tooltipCallback:n}=e,o=t,u=i??r;if(u!==void 0){let{chart:h}=u;if(h!==void 0){let g=$(h.uid,"config"),{dataTooltipVisible:f}=g?.series[0]??{};if(f===!1)o="";else{let m=He(u.uid,"boxPlotTooltipFormatter");m!==void 0&&u.isReady()&&g&&(o=n({target:A,defaultTooltipHTML:t,config:g,candleStickSeries:i,meanLineSeries:r,outliersSeries:a,boxPlotTooltipFormatter:m}))}}}return Re(o)}function oF(e){let{target:A,defaultTooltipHTML:t,config:i,candleStickSeries:r,outliersSeries:a,boxPlotTooltipFormatter:n}=e,o=t;if(r!==void 0&&a!==void 0){let u=r.dataItems.values.find(g=>(g.categories.categoryX??g.categories.categoryY)===(A.dataItem?.categories.categoryX??A.dataItem?.categories.categoryY)),h=i.series.find(g=>g.id===r.id);if(h!==void 0){let g=u?.dataContext??{};if(g!==void 0){let f=Ki({value:g[h.x],dataContext:g,useRendererLabel:pr(i),specificField:se.xAxisField}),m=yi(g);m===void 0&&(m=f),o=n({seriesName:a.name,xValue:f,originalXValue:m,dataContext:g})}}}return o}function lF(e){let{target:A,defaultTooltipHTML:t,config:i,meanLineSeries:r,boxPlotTooltipFormatter:a}=e,n=t;if(r!==void 0){let o=r.dataItems.values.find(u=>(u.categories.categoryX??u.categories.categoryY)===(A.dataItem?.categories.categoryX??A.dataItem?.categories.categoryY));if(o instanceof jr){let u=i.series.find(h=>h.id===r.id);if(u!==void 0){let h=o.dataContext??{};if(h!==void 0){let g=Ki({value:h[u.x],dataContext:h,useRendererLabel:pr(i),specificField:se.xAxisField}),f=yi(h);f===void 0&&(f=g),n=a({seriesName:r.name,xValue:g,originalXValue:f,dataContext:h})}}}}return n}function cF(e){let{target:A,defaultTooltipHTML:t,config:i,candleStickSeries:r,boxPlotTooltipFormatter:a}=e,n=t;if(r!==void 0){let o=A.dataItem;if(o instanceof qh){let u=i.series.find(h=>h.id===r.id);if(u!==void 0){let h=o.dataContext??{};if(h!==void 0){let g=Ki({value:h[u.x],dataContext:h,useRendererLabel:pr(i),specificField:se.xAxisField}),f=yi(h);f===void 0&&(f=g),n=a({seriesName:r.name,xValue:g,originalXValue:f,dataContext:h})}}}}return n}function dF(e){e.cursorTooltipEnabled=!1,e.tooltipPosition=R.columnTooltipPosition,e.columns.template.tooltipHTML=R.htmlEmptyContent,e.columns.template.adapter.add("tooltipHTML",(A,t)=>vd({target:t,defaultTooltipHTML:A??"",candleStickSeries:e,tooltipCallback:cF}))}function uF(e,A){let t=ge(e);t!==void 0&&(t.tooltipPosition=R.markerTooltipPosition,t.tooltipHTML=R.htmlEmptyContent,e.cursorTooltipEnabled=!1,t.adapter.add("tooltipHTML",(i,r)=>vd({target:r,defaultTooltipHTML:i??"",candleStickSeries:A,outliersSeries:e,tooltipCallback:oF})))}function hF(e){let A=ge(e);A!==void 0&&(e.cursorTooltipEnabled=!1,A.tooltipPosition=R.markerTooltipPosition,A.tooltipHTML=R.htmlEmptyContent,A.adapter.add("tooltipHTML",(t,i)=>vd({target:i,defaultTooltipHTML:t??"",meanLineSeries:e,tooltipCallback:lF})))}function Yi(e){let{label:A,value:t,strongColon:i,useTable:r}=e,a=`<b>${A}${i}</b> ${t}`;return r!==!1?`<tr><td>${a}</td></tr>`:a}function fF(e){let{dataContext:A,series:t,dataTooltipValueFormat:i,y:r,splitBy:a,utilsStrings:n,useTable:o}=e,u=i??Hl(),h=Object.values(WA),g=Ci(t.rtl),f=o!==!1?['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>']:[""];return h.forEach(m=>{let B=Fe({key:m,y:r,splitBy:a}),w=A[B];if(w!=null&&typeof w=="number"){let p=$(t.chart.uid,"formatLocale"),b=dn({value:w,valueFormat:u,iLocale:t.chart.language.locale,formatLocale:p}),v="";switch(m){case WA.Min:v=n.statistics.minimum;break;case WA.FirstQuartile:v=n.statistics.firstQuartile;break;case WA.Median:v=n.statistics.median;break;case WA.ThirdQuartile:v=n.statistics.thirdQuartile;break;case WA.Max:v=n.statistics.maximum;break;case WA.IQR:v=n.statistics.iqr;break;case WA.Average:v=n.statistics.mean;break;case WA.StandardDeviation:}or(v)||f.push(Yi({label:v,value:b,strongColon:g,useTable:o}))}}),f}function gF(e){let{series:A,fieldList:t,seriesConfig:i,utilsStrings:r,queryObject:a}=e,{dataTooltipValueFormat:n}=i,o=()=>"",{chart:u}=A;if(u!==void 0){let h=$(u.uid,"config");if(h!==void 0){let g=h.axes,f=g?.[0].valueFormat,{showMean:m}=h,B=MA(h.series),w=aa(i.query?.where),p=ti(t,w),b=Us({where:i.query?.where,escape:!1}),v=ti(t,i.x),S;i.x!==gs&&(S=hc(v,g?.[0].title?.content.text));let Q=Ci(u.rtl);o=L=>{let{dataContext:D,xValue:_}=L,k=up({seriesConfig:i,xAxisValueFormat:f,series:A,xValue:_,queryObject:a}),P=[],j=k!==void 0&&!or(k)?ti(t,k):"",E=m===!0?[h.series[0].y].flat()[0]:[i.y].flat()[0],K=ti(t,E);switch(B){case bA.BoxPlotMonoField:case bA.BoxPlotMultiFields:case bA.BoxPlotMonoFieldAndSplitBy:case bA.BoxPlotMultiFieldsAndSplitBy:{if(k!==void 0&&!or(k)){let dA=B===bA.BoxPlotMonoField?i.name??j:j;P.push(Yi({label:r.field,strongColon:Q,value:dA}))}we(p)||P.push(Yi({label:p,strongColon:Q,value:i.name??b?.toString()}));break}case bA.BoxPlotMonoFieldAndCategory:case bA.BoxPlotMultiFieldsAndCategory:{P.push(Yi({label:r.field,strongColon:Q,value:i.name??K})),k!==void 0&&!or(k)&&P.push(Yi({label:S,strongColon:Q,value:j}));break}case bA.BoxPlotMonoFieldAndCategoryAndSplitBy:P.push(Yi({label:r.field,strongColon:Q,value:K})),k!==void 0&&!or(k)&&P.push(Yi({label:S,strongColon:Q,value:j})),we(p)||P.push(Yi({label:p,strongColon:Q,value:i.name??b?.toString()}));break}let F=[bA.BoxPlotMultiFieldsAndCategory],W=D[R.boxPlot.boxPlotMeanLineMarkerId]!==void 0,aA=P.length>0&&!W,J=fF({dataContext:D,series:A,dataTooltipValueFormat:n,splitBy:i.query?.where,y:F.includes(B)?[i.y].flat()[0]:void 0,utilsStrings:r,useTable:aA});return aA?`${P.join("<br>")}<table>${J.join("")}</table>`:`${P.join("<br>")}${J.join("<br>")}`}}}return o}function BF(e){let{series:A,tooltipFormatter:t}=e;Et(A.uid,{boxPlotTooltipFormatter:t??gF(e)})}function mF(e){let A=si(R.dataLabelInitialize);return Fi(A.uid,{isDataLabel:!0}),e.bullets.push(A),ip(A),Ap(I.LineSeries,A),ep(I.LineSeries,A),sd(A,e),A.html="{valueX}",A}function pF(e){let{series:A}=e,t=nd(A,"bullets");rp({...e,dataLabel:t,defaultDataLabelFormatter:tp})}function CF(e,A){A!==void 0&&(A.layout!==void 0&&(e.layout=A.layout),A.width!==void 0&&(e.width=lc(A.width)),A.height!==void 0&&(e.height=lc(A.height)),A.paddingTop!==void 0&&(e.paddingTop=A.paddingTop),A.paddingBottom!==void 0&&(e.paddingBottom=A.paddingBottom))}function wF(e){let A=!1,t=e.legend?.visible,i=e.legend?.title?.content.text,r=e.legend?.title?.visible;return A=t!==!1&&r!==!1&&i!==void 0&&i.length>0,A}function fp(e,A){let t=new Wh;return CF(t,e),t.parent=A,t}function gp(e,A){e.disabled=A}function bF(e,A){e.toBack()}function yF(e){if(e instanceof tt){let{paddingTop:A,paddingRight:t,paddingBottom:i,paddingLeft:r}=R.gauge;e.padding(A,t,i,r)}else{let{paddingMinSize:A,marginMinSize:t,chartPaddingMinSize:i,chartContainer:r}=R;e.padding(i,i,i,i),e.chartAndLegendContainer.margin(t,t,t,t),e.chartAndLegendContainer.padding(A,A,A,A),e.chartContainer.margin(t,t,t,t),e.chartContainer.padding(r.paddingTop,A,A,A)}}function vF(e,A){let t=(i,r)=>{let{chartContainer:a,chartAndLegendContainer:n}=R,o=$(i.uid,"config");if(o!==void 0){let u=wF(o),h=o.legend?.position;if(u)switch(h){case ne.Top:i.chartAndLegendContainer.paddingTop=r.bbox.height??0,i.chartContainer.paddingBottom=a.paddingBottom??0;break;case ne.Bottom:i.chartContainer.paddingBottom=r.bbox.height??0,i.chartAndLegendContainer.paddingTop=n.paddingTop??0;break;default:i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=a.paddingBottom??0;break}else i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=a.paddingBottom??0}};A.events.on(oA.PositionChanged,()=>{t(e,A)})}function Fd(e){let{iLocale:A,pieChart:t,valueIntlOptions:i,percentageIntlOptions:r,displayNumericValue:a,displayPercentage:n,valuePrefix:o,valueSuffix:u,percentagePrefix:h,percentageSuffix:g}=e,f=$(t.uid,"formatLocale"),m=ni({type:I.NumberAxisFormat,iLocale:A,formatLocale:f}),B=ni({type:I.NumberAxisFormat,iLocale:A,formatLocale:f});m.numberFormat={...i},B.numberFormat={...r,style:"percent"};let w=Ci(t.rtl," ");return(p,b,v)=>{let S="";if(b!==void 0&&v!==void 0){let Q=`${o??""}${m.format(b)}${u??""}`,L=`${h??""}${B.format(Math.abs(v/100))}${g??""}`;Number.isFinite(b)?a===!0&&n===!0?S=`${L}${w}(${Q})`:a===!0?S=Q:n===!0&&(S=L):S=""}return S}}function Bp(e){let A=!1;if(e.position===ne.Right||e.position===ne.Left)A=!0;else{let t=e.labels.getIndex(0)?.parent?.x;t!==void 0&&(A=!e.labels.values.some(i=>i.parent?.x!==t))}return A}function FF(e){let A=!1,t=e.labels.getIndex(0)?.parent?.y;return t!==void 0&&(A=!e.labels.values.some(i=>i.parent?.y!==t)),A}function xF(e){e.events.on(oA.LayoutValidated,()=>{let A=Bp(e),t=FF(e),i=A||!t?"right":"center";e.valueLabels.template.horizontalCenter=cc(i),e.valueLabels.template.align=zg(i)})}function QF(e){Fi(e.valueLabels.template.uid,{isLegendValueLabel:!0}),e.valueLabels.template.adapter.add("htmlOutput",(A,t)=>{let i=A,r=Ng(e.uid,"pieChartLegendValueLabelsFormatter");if(r!==void 0&&(i=r(t.dataItem?.values?.value?.value??0,t.dataItem?.values?.value?.percent??0)),we(i)&&(i=R.htmlEmptyContent),e.baseSprite instanceof bl){let a=$(e.baseSprite.uid,"config");a?.legend?.body!==void 0&&(i=wi({textSymbol:{...a.legend.body,text:i},format:"html"}))}return Re(i)}),e.valueLabels.template.html=R.htmlEmptyContent,xF(e)}function SF(e){let{legendElements:{legend:A},seriesConfig:t,webChartLegend:i,pieChartLegendValueLabelFormatter:r}=e,{visible:a,body:n,displayNumericValue:o,displayPercentage:u,displayCategory:h}=i??{};if(xA(t)===I.PieSeries){let{numericValueFormat:g,percentValueFormat:f,valuePrefix:m,valueSuffix:B,percentagePrefix:w,percentageSuffix:p}=t[0],b=h??R.pieChart.displayCategoryOnLegend,v=o??R.pieChart.displayNumericValueOnLegend,S=u??R.pieChart.displayPercentageOnLegend,Q=r;if(r===void 0){let _=Fd({iLocale:A.language.locale,pieChart:A.baseSprite,valueIntlOptions:g?.intlOptions,percentageIntlOptions:f?.intlOptions,displayNumericValue:v,displayPercentage:S,valuePrefix:m,valueSuffix:B,percentagePrefix:w,percentageSuffix:p});Q=(k,P)=>_("",k,P)}Vg(A.uid,{pieChartLegendValueLabelsFormatter:Q});let L=Bp(A),D={type:I.Text,visible:a,content:{...n,type:GA.TS,text:".",verticalAlignment:"middle",horizontalAlignment:L?"right":"center"}};Ft({label:A.valueLabels.template,labelConfig:D,defaults:R.legendProperties.valueLabels}),A.labels.template.disabled=b===!1,A.valueLabels.template.disabled=v===!1&&S===!1}}function UF(e){let{dataContext:A}=e.target.dataItem??{};if(A instanceof $t){let{component:t}=A;t instanceof gt&&t.showTooltip()}}function IF(e){let A=()=>{let t=e.children.values.find(i=>i.className==="Container");if(t?.children.length===3){let i=t.children.values.findIndex(r=>r.className==="Container");if(i!==-1){let r=i!==0?0:2,a=t.children.getIndex(r)?.clonedFrom;a!==void 0&&be(a.uid,"isLegendValueLabel")!==!0&&e.children.each(n=>{n.className==="Container"&&n.children.swap(1,r)})}}};e.events.on(oA.Validated,A),A()}function Bm(e,A){let{legendLabelReducedOpacity:t}=R.legendProperties;e!==void 0&&(e.fillOpacity=A===!1?t:1)}function on(e){let{labels:A,seriesId:t,sliceCategory:i}=e;A.each(r=>{i!==void 0?i===r.dataItem.category&&Bm(r,r.dataItem.slice.visible??!0):t===r.dataItem?.component?.id&&Bm(r,r.dataItem?.component?.visible??!0)})}function xd(e){e instanceof gt?(e.slices.template.events.on(oA.Shown,A=>{let t=A.target.dataItem.category;on({labels:e.chart?.legend?.labels,sliceCategory:t}),on({labels:e.chart?.legend?.valueLabels,sliceCategory:t})}),e.slices.template.events.on(oA.Hidden,A=>{let t=A.target.dataItem.category;on({labels:e.chart?.legend?.labels,sliceCategory:t}),on({labels:e.chart?.legend?.valueLabels,sliceCategory:t})})):e.events.on(oA.VisibilityChanged,A=>{let t=A.target.id;on({labels:e.chart?.legend?.labels,seriesId:t})})}function mp(e){let{title:A,visible:t}=e;return A!==void 0&&t!==!1&&A?.visible!==!1}function LF(e,A){let{legendProperties:t}=R;if(e.position===ne.Bottom)e.marginTop=t.marginTop??0,e.marginBottom=0,e.dy=0;else if(e.position===ne.Top)e.marginBottom=t.marginBottom??0,e.marginTop=0,e.dy=0;else if(e.marginTop=0,e.marginBottom=0,!(e.baseSprite instanceof fe)){let i=mp(A),r=A.title?.content?.font?.size??R.generalFontSize;e.dy=-(i?r:15)}}function EF(e){let A=e.baseSprite,t;if(A!==void 0){let i=$(A?.uid,"config");t=A?.rtl&&(i?.legend?.position===ne.Top||i?.legend?.position===ne.Bottom)}return t??!1}function HF(e){let A=e.baseSprite,t="";if(A instanceof ZA){let i=$(A.uid,"config"),r=je(i),a=r?We.Rotated:We.NonRotated,n=ei(i),o=We.SideBySide;n===Be.Stacked?o=We.Stacked:n===Be.Stacked100&&(o=We.Stacked100);let u=A.rtl?We.RTL:We.LTR,h;switch(i?.legend?.position){case ne.Left:h=We.LegendLeft;break;case ne.Top:h=We.LegendTop;break;case ne.Bottom:h=We.LegendBottom;break;case ne.Right:default:h=We.LegendRight;break}let g=r?A.yAxes.getIndex(0):A.xAxes.getIndex(0),f;g instanceof he?f=We.DateAxis:g instanceof ae?f=We.ValueAxis:f=We.CategoryAxis;let m=i?.orderOptions?.data&&"orderBy"in i.orderOptions.data&&i.orderOptions.data.orderBy===ls.Descending?We.OrderByFieldsDESC:We.OrderByFieldsASC;t=`${a}-${u}-${o}-${h}-${f}-${m}`}return t}function TF(e){let A=HF(e);return iB.has(A)}function pp(e,A){let{legend:t,legendTitle:i}=e??{};switch(A){case I.PieSeries:t.reverseOrder=EF(t);break;case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:t.reverseOrder=TF(t);break}let r=t.reverseOrder===!0?t.children.length-1:0;t.children.moveValue(i,r)}function OF(e){if(e.visible){let A=$(e.chart.uid,"config")?.series.find(t=>t.id===e.id);if(A!==void 0&&xA([A])===I.LineSeries){let{markerVisible:t}=A;t!==!1&&e.bulletsContainer.show()}}}function kF(e,A){let t=e.target.dataItem,i=e.target.isActive;if(t?.dataContext!==void 0){let{dataContext:r}=t,a={visible:i};if(r instanceof $t)$(A.uid,"isNonAggregatedChart")===!0?a.sliceData=r.dataContext:a.sliceId=r.category;else if(r instanceof Ce){let o=r.id,u=gn(A,o);if(u!==void 0){let m=$(A.uid,"config"),B=Sd(m?.showOutliers,i),w=ge(u);w!==void 0&&(w.disabled=!B),JA(u,B)}let{topStepLineSeries:h,medianStepLineSeries:g,bottomStepLineSeries:f}=go(A,o);h!==void 0&&JA(h,i),g!==void 0&&JA(g,i),f!==void 0&&JA(f,i),a.seriesId=r.id}else a.seriesId=r.id;let n=r instanceof $t?r.component:r;(n instanceof jt||n instanceof gt)&&n.events.once(oA.Validated,()=>{n instanceof jt&&(Ip(n),n.events.dispatchImmediately(oA.Validated,{type:oA.Validated,target:n}));let o=n instanceof gt,u=$(A.uid,"currentSelectionDataItems"),h=u!==void 0&&u.length>0,g=$(A.uid,"actionMode")??R.actionMode,f;n instanceof Ie?f=n.columns:o?f=n.slices:n instanceof Ae&&(OF(n),f=ge(n)?.clones),f?.each(m=>{m.dataItem instanceof Bi||(Tt({element:m,selected:m.isActive,useNativeState:o,backToDefaultState:!h}),o&&g===RA.None&&(m.clickable=!1))})}),wf(a,A.htmlContainer)}}function DF(e){let{legendProperties:A,legendProperties:t}=R;e.adapter.add("paddingRight",()=>e.scrollbar.visible?t.legendPaddingRightWithScrollbarVisible:A.paddingRight),e.adapter.add("paddingLeft",()=>A.paddingLeft),e.adapter.add("paddingTop",()=>A.paddingTop),e.adapter.add("paddingBottom",()=>A.paddingBottom)}function MF(e){e.scrollable=!0}function _F(e){let A=si(void 0,e);return A.adapter.add("paddingTop",t=>{let i=t,r=A.bbox.height;return r>0&&(i=-r),i}),A.adapter.add("x",t=>{let i=t,{marginLeft:r,marginRight:a}=R.legendProperties.legendTitle;switch($(e.baseSprite.uid,"config")?.legend?.title?.content?.horizontalAlignment){case"left":i=A.measuredWidth+(r??0);break;case"right":i=e.measuredWidth-A.measuredWidth-(a??0);break;default:i=e.measuredWidth/2;break}return i}),A.adapter.add("disabled",t=>(t===!1&&A.validate(),t)),A}function RF(e){let{legendConfig:A,legendTitle:t}=e,{title:i,position:r}=A,{legendTitle:a}=R.legendProperties,n=mp(A);if(i!==void 0){let o={...i,visible:n};Ft({label:t,labelConfig:o,defaults:a}),t.marginLeft=a.marginLeft??0}r===ne.Top||r===ne.Bottom?(t.maxWidth=Number.NaN,t.isMeasured=!1):(t.maxWidth=a.maxWidth??Number.NaN,t.marginTop=n?t.bbox?.height??i?.content?.font?.size??R.generalFontSize:0,t.isMeasured=!0)}function KF(e){let A=R.legendProperties;e.labels.template=si(A.legendLabels),e.valueLabels.template=si(A.legendLabels),e.markers.template.width=A.legendMarkersSize,e.markers.template.height=A.legendMarkersSize,e.labels.template.adapter.add("wrap",()=>!0),e.labels.template.adapter.add("maxWidth",t=>{let i=t,r;if(e.baseSprite instanceof fe&&(r=$(e.baseSprite.uid,"config")?.legend?.labelMaxWidth),e.position===ne.Right||e.position===ne.Left)i=r??R.legendProperties.legendLabels.maxWidth;else if(r!==void 0)i=r;else{let a=0;e.valueLabels.template.disabled||e.valueLabels.each(n=>{a=Math.max(a,n.measuredWidth)}),i=e.measuredWidth-a-45}return i}),e.labels.template.adapter.add("textOutput",(t,i)=>{let r=i.dataItem?.label?.currentText,a,n=$(e.baseSprite.uid,"config");if(n!==void 0){let{series:o}=n;if(xA(o)===I.PieSeries){let u=MA(o)===bA.PieFromFields?ur:o[0].x,h=i.dataItem?.dataContext?.[u];typeof h=="string"?a=h:h&&typeof h!="object"&&(a=h.toString())}else i.dataItem?.component instanceof wl&&(a=i.dataItem.component.name)}return(a!==void 0&&!we(a)?_l(a):a)??r}),e.valueLabels.template.adapter.add("maxWidth",t=>{let i=t,r;return e.baseSprite instanceof fe&&(r=$(e.baseSprite.uid,"config")?.legend?.valueLabelMaxWidth),e.position===ne.Right||e.position===ne.Left?i=r??R.legendProperties.valueLabels.maxWidth:i=r??Number.NaN,i})}function NF(e,A){e.itemContainers.template.events.on(oA.Hit,t=>kF(t,A)),A instanceof fe&&e.itemContainers.template.events.on(oA.Over,t=>UF(t))}function VF(e){e.itemContainers.template.reverseOrder=e.rtl}function js(e,A){e.adapter.keys().includes(A)||e.adapter.add(A,t=>{let i=t,r=e.dataItem?.dataContext;if(r!==void 0){let a=r instanceof $t?r.component?.chart:r.chart;if(a!==void 0){let n=$(a.uid,"config"),{rectangleMarkerRadius:o,roundedMarkerRadius:u}=R.legendProperties;i=n?.legend?.roundMarkers===!0?u:o}}return i})}function mm(e){e.markers.each(A=>{let t=A.children.getIndex(0);t instanceof zh&&(js(t,"cornerRadiusBottomLeft"),js(t,"cornerRadiusBottomRight"),js(t,"cornerRadiusTopLeft"),js(t,"cornerRadiusTopRight"),t.validate())})}function PF(e){e.markers.template.events.on(oA.Inited,()=>{mm(e)}),e.events.once(oA.Validated,()=>{mm(e)})}function GF(e){let{legendElements:{legend:A},seriesConfig:t,webChartLegend:i}=e,{visible:r,body:a}=i??{},n=xA(t),o={type:I.Text,visible:r,content:{...a,type:GA.TS,text:" "}};Ft({label:A.labels.template,labelConfig:o,defaults:R.legendProperties.legendLabels}),A.labels.template.valign="middle",A.valueLabels.template.valign="middle",n===I.PieSeries&&SF(e),A.valueLabels.template.width=Number.NaN}function WF(e,A){A.chartContainer.events.on(oA.SizeChanged,Ze(()=>{let t=$(A.uid,"config")?.legend?.maxHeight??Number.NaN;Number.isFinite(t)||(e.position===ne.Top||e.position===ne.Bottom?t=R.legendProperties.maxHeight:t=A instanceof fe?A.chartContainer.measuredHeight:A.seriesContainer.measuredHeight),e.maxHeight=t,e.invalidateLayout()}),R.debounceTime)}function zF(e,A){let{position:t}=A;t===ne.Top||t===ne.Bottom?e.contentAlign="center":e.contentAlign="none"}function XF(e,A){let{legend:t}=e;t.events.on(oA.DataItemsValidated,()=>{t.dataItems.length>0&&pp(e,A)})}function YF(e,A){A===ne.Right||A===ne.Left?e.width=Number.NaN:e.maxWidth=Number.MAX_SAFE_INTEGER}function Cp(e,A){let t=Lt.pointer;A===!0?(e.itemContainers.template.clickable=!1,e.itemContainers.template.focusable=!1,t=Lt.default):(e.itemContainers.template.clickable=!0,e.itemContainers.template.focusable=!0),e.itemContainers.values.forEach(i=>{i.cursorOverStyle=t})}function ZF(e,A){let t=new Yh;e.legend=t,MF(t);let i=_F(t);return KF(t),QF(t),NF(t,e),VF(t),DF(t),XF({legend:t,legendTitle:i},xA(A)),WF(t,e),vF(e,i),IF(t),e.legend.events.on(oA.ChildAdded,()=>{let r=$(e.uid,"options");Cp(t,r?.togglingLegendItemsDisabled)}),{legend:t,legendTitle:i}}function Qd(e){let{legendElements:A,seriesConfig:t,webChartLegend:i}=e,{legend:r,legendTitle:a}=A,n=r.baseSprite,o=(n===void 0?!0:Bf(t))&&i?.visible!==!1;if(n&&i&&o){let{position:u=R.legendProperties.position}=i;JA(r,!0),RF({legendConfig:i,legendTitle:a}),PF(r),GF(e),zF(r,i),pp(A,xA(t)),r.position=u,YF(r,u),LF(r,i),Cp(r,$(n.uid,"options")?.togglingLegendItemsDisabled)}else r.position=ne.Right,r.width=0,JA(r,!1)}function JF(e){let{chart:A,chartConfig:t,seriesIndex:i,axisList:r=[],queryObject:a,hideLoaderHandle:n,selectionTheme:o,ignoreSmoothRenderingLimit:u,errorStrings:h}=e,g=t.series.length,{rotated:f}=t,m=t.series[i],{y:B,name:w,id:p,assignToSecondValueAxis:b}=m,v=new Ae;v.id=p,Mr(v,n),Ca(v,w);let S,Q;f!==!0?(S=r[0],Q=b===!0&&r[2]?r[2]:r[1]):(S=b===!0&&r[2]?r[2]:r[0],Q=r[1]),S!==void 0&&(v.xAxis=S),Q!==void 0&&(v.yAxis=Q);let L=vt({chart:A}),D=MA(t.series),_=D===bA.BarAndLineSplitByNoAggregation?`${B.toString()}_${Us({where:m.query?.where,keepSurroundingQuotes:!1,escape:!1})}`:[B].flat()[0];L?v.dataFields.valueX=_:v.dataFields.valueY=_;let k=L?r[1]:r[0];if(k!==void 0){let E=ap(k,L);v.dataFields[E]=R.xAxisField}v.dataFields.customValue=m?.query?.where;let P=Kt(a);wp({series:v,seriesConfig:m,seriesIndex:i,chartSubType:D,colorMatch:t.colorMatch===!0,rendererType:Cs(t.chartRenderer,P?.renderer)}),bp(m,v);let j=Cd({chart:A,lineSeries:v,applyPropertiesToClones:!1});return dp(j,v),mF(v),Dr({element:j,customSelectionTheme:o}),fn({chart:A,element:j,queryObject:a,errorStrings:h}),Gv({chart:A,numberOfChartSeries:g,series:v,seriesType:I.LineSeries,marker:j,ignoreSmoothRenderingLimit:u}),xd(v),kr(v),v}function qF(e){let{series:A,seriesIndex:t,chartSubType:i,seriesConfig:r,colorMatch:a,lineColor:n,rendererType:o}=e,u=ge(A),h=!1,g;if(u!==void 0){r.markerVisible!==!1&&r.visible!==!1?A.bulletsContainer.show():A.bulletsContainer.hide();let{markerSymbol:f}=r;f===void 0&&(f=Tl(),f.color=n),a?f.color=n:f.color??=n;let m=new Set,B;_s({element:u,markerSymbol:f}),u.clones.each(w=>{if(w.dataItem instanceof Bi)_s({element:w,markerSymbol:f}),w.states.getKey(Ht.CustomActive)?.reset(),w.states.getKey(Ht.CustomInactive)?.reset();else{let p=w.dataItem?.dataContext,b=Mt({seriesConfig:r,dataItem:p,chartSubType:i,colorMatch:a,rendererType:o}),v=Fr({seriesConfig:r,seriesIndex:t,seriesSymbol:f,element:w,colorMatch:a,rendererSymbol:b});g=v.symbolWithColorInfo,B=v.stylingInfo,qi({element:w,stylingInfo:B}),m.add(JSON.stringify(B))}}),h=m.size>1,h||qi({element:u,stylingInfo:B})}return h?void 0:g}function jF(e){let{series:A,seriesConfig:t,chartSubType:i,colorMatch:r,rendererType:a}=e,n;return A.dataItems?.values.every(o=>{let u=!0,h=o.dataContext;return n=Mt({seriesConfig:t,dataItem:h,chartSubType:i,colorMatch:r,rendererType:a}),n!==void 0&&(u=!1),u}),n}function wp(e){let{series:A,seriesIndex:t,seriesConfig:i,chartSubType:r,colorMatch:a,rendererType:n}=e,o=A,u=jF({series:o,seriesConfig:i,chartSubType:r,colorMatch:a,rendererType:n}),h=Fr({seriesConfig:i,seriesIndex:t,seriesSymbol:i.lineSymbol??Ol(t),element:o,colorMatch:a,rendererSymbol:u});return JA(o,i.visible),h.symbolWithColorInfo}function bp(e,A){e.showArea===!0?e.areaColor!==void 0?(A.fill=fa(e.areaColor),A.fillOpacity=A.fill.alpha===0?0:1):(A.fill=hl(A.stroke.hex,1),A.fillOpacity=R.lineSeries.areaOpacity):A.fillOpacity=0}function yp(e){let{series:A,seriesIndexMapper:t,seriesSymbolMapForEvent:i,seriesIndex:r,colorMatch:a,rendererType:n}=e,o=e.seriesConfig,u=$(A.chart.uid,"config"),h=u?.series.length??0,g=MA(u?.series);JA(A,o.visible);let f=wp({series:A,seriesConfig:o,seriesIndex:r,chartSubType:g,colorMatch:a,rendererType:n}),m=qF({series:A,seriesIndex:r,seriesConfig:o,chartSubType:g,colorMatch:a,lineColor:f.color,rendererType:n});i.set(t.get(o.id)??r,{lineSymbol:f,markerSymbol:m}),bp(o,A),i.size===h&&(ii({data:i,htmlContainer:A.chart.htmlContainer,chartId:A.chart.id,colorMatchApplied:co(A.chart)}),A.chart.feedLegend())}function $F(e){let{seriesConfig:A,lineSeries:t,isRotated:i}=e;A.lineSmoothed===!0?t.smoothing=i?vl.MonotoneY:vl.MonotoneX:t.smoothing=R.lineSeries.lineSmoothedKind}function pm(e,A){let{connectLines:t,temporalBinning:i}=A,r=i?.nullPolicy;e.connect=t!==!1&&r!==Fl.Null}function Ax(e){let{seriesConfig:A,series:t,axes:i,rotationChanged:r,seriesIndex:a,fieldList:n,stackedType:o,queryObject:u,options:h,utilsStrings:g}=e,{visible:f,name:m}=A,B=i[1].valueFormat,w=$(t.chart.uid,"config"),p=vt({config:w}),b=MA(w?.series);t.id=A.id,JA(t,f);let v=m,S=t.dataFields?.customValue??"";(b===bA.BarAndLineSplitBy||b===bA.BarAndLineSplitByNoAggregation)&&(v=Wl({queryObject:u,fieldName:aa(S),fieldValue:v})??v),Ca(t,v),pm(t,A),wd({series:t,seriesConfig:A,rotationChanged:r,stackedType:o,isRotated:p}),pm(t,A),uo({styleCallback:yp,callbackProps:e,series:t,seriesConfig:A,onReadyEvent:!0}),$F({seriesConfig:A,lineSeries:t,isRotated:p}),hp({series:t,seriesConfig:A,fieldList:n,queryObject:u,seriesIndex:a,setTimeBinningInfoWhenNotProvided:h?.setTimeBinningInfoWhenNotProvided,utilsStrings:g,tooltipFormatter:h?.tooltipFormatter}),pF({series:t,seriesType:I.LineSeries,stackedType:o,dataLabelsConfig:A.dataLabels,yAxisValueFormat:B,customDataLabelFormatter:h?.dataLabelFormatter})}function go(e,A){let t=e.series.values.find(a=>a.id===`${A}_${jA.Top}`),i=e.series.values.find(a=>a.id===`${A}_${jA.Median}`),r=e.series.values.find(a=>a.id===`${A}_${jA.Bottom}`);return{topStepLineSeries:t,medianStepLineSeries:i,bottomStepLineSeries:r}}function gn(e,A){return e.series.values.find(t=>t.id===`${A}_${jA.Outliers}`)}function Sd(e,A){return(e??R.boxPlot.boxPlotOutliersVisibility)&&A!==!1}function ex(e){let{chart:A,axisList:t=[],chartConfig:i,seriesIndex:r,hideLoaderHandle:a,selectionTheme:n,queryObject:o,errorStrings:u}=e,h=mt(i),g=i.series[r],[f,m]=t,B=new Ce;return B.hoverable=!0,Mr(B,a),h||(Dr({element:B.columns.template,customSelectionTheme:n}),fn({chart:A,element:B.columns.template,queryObject:o,errorStrings:u})),B.id=g.id,f!==void 0&&(B.xAxis=f),m!==void 0&&(B.yAxis=m),B.simplifiedProcessing=!0,B.columns.template.applyOnClones=!0,B.riseFromOpenState.reset(),B.riseFromPreviousState.reset(),B.dropFromOpenState.reset(),B.dropFromPreviousState.reset(),Ca(B,g.name),kr(B),B}function $c(e){let{axisList:A=[],chartConfig:t,seriesIndex:i,type:r,hideLoaderHandle:a,selectionTheme:n}=e,o=t.series[i],[u,h]=A,g=new ct;return g.hoverable=!0,Mr(g,a),g.id=`${o.id}_${r}`,u!==void 0&&(g.xAxis=u),h!==void 0&&(g.yAxis=h),g.noRisers=!0,g.simplifiedProcessing=!0,Dr({element:g.segments.template,customSelectionTheme:n}),g.hiddenInLegend=!0,kr(g),g}function tx(e){let{chart:A,axisList:t=[],chartConfig:i,hideLoaderHandle:r,seriesIndex:a,selectionTheme:n,queryObject:o,errorStrings:u}=e,h=i.series[a],g=mt(i),[f,m]=t,B=new Ae;Et(B.uid,{isBoxPlotOutliersSeries:!0}),Mr(B,r),B.id=`${h.id}_${jA.Outliers}`,f!==void 0&&(B.xAxis=f),m!==void 0&&(B.yAxis=m),B.simplifiedProcessing=!0,B.hiddenInLegend=!0,B.strokeOpacity=0;let w=Cd({chart:A,lineSeries:B});return g||(Dr({element:w,customSelectionTheme:n}),fn({chart:A,element:w,queryObject:o,errorStrings:u})),kr(B),B}function wa(e){let{chartConfig:A,seriesConfig:t,meanLineSeries:i,candleStickSeries:r,topStepLineSeries:a,medianStepLineSeries:n,bottomStepLineSeries:o,outliersSeries:u,creation:h=!1,rotationChanged:g,outliersVisibilityChanged:f,standardizeValuesVisibilityChanged:m}=e,{x:B,y:w}=t,p=h||g===!0||m===!0,b=p||f===!0,v=p,S=p;if(A!==void 0){let{showOutliers:Q,standardizeValues:L,showMean:D}=A,_=vt({config:A});if(i instanceof Ae&&S){let F=MA(A.series),W=t?.query?.where,aA=Fe({y:F===bA.BoxPlotMultiFieldsAndCategory?w:void 0,chartSubType:F,splitBy:W,showOutliers:Q,standardizeValues:sa(F)?L:!1,key:WA.Average});_?(i.dataFields.valueX=aA,i.dataFields.categoryY=B):(i.dataFields.valueY=aA,i.dataFields.categoryX=B),i.dataFields.customValue=W}let k=Fs(A),P=MA(k.series),j=D===!0?void 0:t?.query?.where,E={y:P===bA.BoxPlotMultiFieldsAndCategory?w:void 0,chartSubType:P,splitBy:j,showOutliers:Q,standardizeValues:sa(P)?L:!1};if(b){if(r instanceof Ce){let F=Fe({...E,key:WA.Min}),W=Fe({...E,key:WA.FirstQuartile}),aA=Fe({...E,key:WA.Max}),J=Fe({...E,key:WA.ThirdQuartile});_?(r.dataFields.lowValueX=F,r.dataFields.openValueX=W,r.dataFields.highValueX=aA,r.dataFields.valueX=J,r.dataFields.categoryY=B):(r.dataFields.lowValueY=F,r.dataFields.openValueY=W,r.dataFields.highValueY=aA,r.dataFields.valueY=J,r.dataFields.categoryX=B),r.dataFields.customValue=j}if(a instanceof ct&&n instanceof ct&&o instanceof ct){let F=Fe({key:WA.Max,...E}),W=Fe({key:WA.Median,...E}),aA=Fe({key:WA.Min,...E});_?(a.dataFields.valueX=F,n.dataFields.valueX=W,o.dataFields.valueX=aA,a.dataFields.categoryY=B,n.dataFields.categoryY=B,o.dataFields.categoryY=B):(a.dataFields.valueY=F,n.dataFields.valueY=W,o.dataFields.valueY=aA,a.dataFields.categoryX=B,n.dataFields.categoryX=B,o.dataFields.categoryX=B),a.dataFields.customValue=j,o.dataFields.customValue=j,n.dataFields.customValue=j}}if(u instanceof Ae&&v){let F=Fe({...E,key:WA.Outlier});_?(u.dataFields.valueX=F,u.dataFields.categoryY=B):(u.dataFields.valueY=F,u.dataFields.categoryX=B),u.dataFields.customValue=j,u.invalidateRawData()}let K=i?.chart??r?.chart;K!==void 0&&(b||S)&&K.invalidateRawData()}}function ix(e){let{chart:A,axisList:t=[],chartConfig:i,hideLoaderHandle:r,seriesIndex:a,selectionTheme:n,queryObject:o,errorStrings:u}=e,h=i.series[a],[g,f]=t,m=new Ae;Et(m.uid,{isBoxPlotMeanLineSeries:!0}),Mr(m,r),m.id=h.id,g!==void 0&&(m.xAxis=g),f!==void 0&&(m.yAxis=f),m.simplifiedProcessing=!0;let B=Cd({chart:A,lineSeries:m});return Dr({element:B,customSelectionTheme:n}),fn({chart:A,element:B,queryObject:o,errorStrings:u}),kr(m),hF(m),wa({chartConfig:i,seriesConfig:h,meanLineSeries:m,creation:!0}),m}function rx(e){let{chartConfig:A,seriesIndex:t}=e,i=A.series[t],r=xA([i]),a=[];if(r===I.BoxPlotSeries){let n=ex(e),o=$c({...e,type:jA.Top}),u=$c({...e,type:jA.Median}),h=$c({...e,type:jA.Bottom}),g=tx(e);dF(n),uF(g,n),wa({chartConfig:A,seriesConfig:i,candleStickSeries:n,topStepLineSeries:o,medianStepLineSeries:u,bottomStepLineSeries:h,outliersSeries:g,creation:!0}),a.push(n,o,u,h,g)}else if(r===I.LineSeries){let n=ix(e);a.push(n)}return a}function ax(e){let{candleStickSeries:A,seriesConfig:t,stylingInfo:i,chartSubType:r,colorMatch:a,rendererType:n}=e;if(i!==void 0){let o={...i},u=$m({data:A.chart.data,colorMatch:a,chartSubType:r,rendererType:n});i?.outline!==void 0&&u&&(o.outline.stroke=Ds(R.boxPlot.boxPlotWhiskersColor));let{topStepLineSeries:h,medianStepLineSeries:g,bottomStepLineSeries:f}=go(A.chart,A.id);if(h!==void 0&&g!==void 0&&f!==void 0&&o.outline!==void 0){o.outline.strokeWidth=R.boxPlot.boxPlotLineWidth,Ms(h,o.outline),Ms(g,o.outline),Ms(f,o.outline);let m=t.visible!==!1;JA(h,m),JA(g,m),JA(f,m)}}}function nx(e){let{candleStickSeries:A,seriesConfig:t,showOutliers:i,seriesSymbol:r}=e;if(r!==void 0){let a=gn(A.chart,A.id);if(a!==void 0){let n=ge(a);if(n!==void 0){let o=Sd(i,t.visible),u={type:GA.SMS,style:Sl.Circle,color:r.color,size:R.boxPlot.boxPlotOutliersSize};n.clones.each(h=>{let g=A.dataItems.values.find(f=>(f.categories.categoryX??f.categories.categoryY)===(h.dataItem?.categories.categoryX??h.dataItem?.categories.categoryY))?.column.fill;_s({element:h,markerSymbol:{...u,color:Wg(g)??u.color},visible:o})})}}}}function sx(e){let{series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,showMean:o,rendererType:u}=e,h,g,f,m=new Set,B=!1,w=t.fillSymbol??Bs(i);if(A.columns.length===0?(f=Fr({seriesConfig:t,seriesIndex:i,seriesSymbol:w,element:new is,colorMatch:n,isChartFillSymbol:!0}),h=f.symbolWithColorInfo,g=f.stylingInfo):A.columns.each(p=>{f=Fr({seriesConfig:t,seriesIndex:i,seriesSymbol:w,element:p,colorMatch:n,isChartFillSymbol:!0,rendererSymbol:o?void 0:Mt({dataItem:p.dataItem?.dataContext,seriesConfig:t,chartSubType:a,colorMatch:n,rendererType:u})}),h=f.symbolWithColorInfo,g=f.stylingInfo,m.add(JSON.stringify(h))}),B=m.size>1,r>1){let p=A.legendDataItem?.marker.children.getIndex(0);p!==void 0?qi({element:p,stylingInfo:g}):A.chart.legend.events.once(oA.Validated,()=>{qi({element:A.legendDataItem?.marker.children.getIndex(0),stylingInfo:g}),A.chart.legend.invalidate()})}return{multipleSymbolsForOneSeries:B,seriesSymbol:h,stylingInfo:g}}function ox(e){let{series:A,showOutliers:t,colorMatch:i,seriesIndex:r,seriesIndexMapper:a,seriesSymbolMapForEvent:n,seriesConfig:o,rendererType:u,queryObject:h}=e,g=$(A.chart.uid,"config"),f=mt(g),m=g?.series.length??0,B=MA(g?.series),w=!1,p;if(A instanceof Ce&&o.type===I.BoxPlotSeries){let b=sx({series:A,seriesConfig:o,seriesIndex:r,numberOfSeries:m,chartSubType:B,colorMatch:i,showMean:f,rendererType:u}),{stylingInfo:v}=b;({multipleSymbolsForOneSeries:w,seriesSymbol:p}=b),n.set(a.get(o.id)??r,w?void 0:{fillSymbol:p??o.fillSymbol}),ax({candleStickSeries:A,seriesConfig:o,colorMatch:i,stylingInfo:v,chartSubType:B,rendererType:u}),nx({candleStickSeries:A,seriesConfig:o,showOutliers:t,seriesSymbol:p})}else A instanceof Ae&&o.type===I.LineSeries&&yp({series:A,seriesConfig:o,seriesIndexMapper:a,seriesSymbolMapForEvent:n,seriesIndex:r,colorMatch:i,rendererType:u});n.size===m&&ii({data:n,htmlContainer:A.chart.htmlContainer,chartId:A.chart.id,colorMatchApplied:co(A.chart)})}function lx(e){let{numberOfSeries:A,chart:t,showMean:i}=e,r=vt({chart:t}),a=r?t.yAxes.getIndex(0)?.renderer:t.xAxes.getIndex(0)?.renderer;if(a!==void 0){let{cellStartLocation:n,cellEndLocation:o}=a,u=n/(i===!0?1:A),h=t.series.values.filter(g=>g instanceof Ce);h.forEach((g,f)=>{let m=n+f/h.length*(o-n)+u,B=n+(f+1)/h.length*(o-n)-u,{topStepLineSeries:w,medianStepLineSeries:p,bottomStepLineSeries:b}=go(t,g.id);w!==void 0&&(w.startLocation=m,w.endLocation=B),p!==void 0&&(p.startLocation=m,p.endLocation=B),b!==void 0&&(b.startLocation=m,b.endLocation=B);let v=gn(t,g.id);if(v!==void 0){let S=(m+B)/2;r?v.dataItems.template.locations.categoryY=S:v.dataItems.template.locations.categoryX=S}})}}function cx(e){let{outliersSeries:A,chartData:t,dataWasUpdated:i,rotationChanged:r,seriesReordered:a}=e;(r===!0||i===!0||a===!0)&&(A.data=t?.outliers??[])}function dx(e){let{meanLineSeries:A,chartData:t,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesReordered:n}=e;(i===!0||a===!0||r===!0||n===!0)&&(A.data=t?.meanLines??[],A.invalidateData())}function ux(e){let{chart:A,chartConfig:t,seriesConfig:i,chartData:r,candleStickSeriesId:a,showOutliers:n,dataWasUpdated:o,rotationChanged:u,seriesReordered:h,outliersVisibilityChanged:g,standardizeValuesVisibilityChanged:f}=e,m=gn(A,a);if(m!==void 0){let B=ge(m);if(B!==void 0){let w=Sd(n,i.visible);B.disabled=!w,cx({outliersSeries:m,chartData:r,dataWasUpdated:o,rotationChanged:u,seriesReordered:h})}wa({chartConfig:t,seriesConfig:i,outliersVisibilityChanged:g,standardizeValuesVisibilityChanged:f,rotationChanged:u,outliersSeries:m})}}function hx(e){let{meanLineSeries:A,seriesConfig:t,chartData:i,dataWasUpdated:r,seriesReordered:a,sortChanged:n,rotationChanged:o,chartConfig:u,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:g}=e;Ca(A,t?.name),wa({chartConfig:u,seriesConfig:t,meanLineSeries:A,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:g,rotationChanged:o}),dx({meanLineSeries:A,chartData:i,dataWasUpdated:r,seriesReordered:a,sortChanged:n,rotationChanged:o})}function fx(e){let{series:A,chartConfig:t,seriesConfig:i,rotationChanged:r,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n}=e;Ca(A,i?.name),A.hiddenInLegend=mt(t),wa({chartConfig:t,seriesConfig:i,candleStickSeries:A,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:r})}function gx(e){let{chart:A,chartConfig:t,seriesConfig:i,candleStickSeriesId:r,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:o}=e,u=i.visible!==!1,{topStepLineSeries:h,medianStepLineSeries:g,bottomStepLineSeries:f}=go(A,r);h!==void 0&&JA(h,u),g!==void 0&&JA(g,u),f!==void 0&&JA(f,u),wa({chartConfig:t,seriesConfig:i,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:o,topStepLineSeries:h,medianStepLineSeries:g,bottomStepLineSeries:f})}function Bx(e){let{chart:A,series:t,chartData:i,utilsStrings:r,dataWasUpdated:a,sortChanged:n,seriesReordered:o,fieldList:u,outliersVisibilityChanged:h,showMean:g,seriesConfig:f,showOutliers:m,standardizeValuesVisibilityChanged:B,rotationChanged:w,options:p,queryObject:b}=e,{tooltipFormatter:v}=p??{};lx({numberOfSeries:e.numberOfSeries,chart:A,showMean:g});let S=$(A.uid,"config");if(S!==void 0){if(t instanceof Ce&&f.type===I.BoxPlotSeries){let{id:Q}=t;fx({series:t,chartConfig:S,seriesConfig:f,rotationChanged:w,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:B}),gx({chart:A,chartConfig:S,seriesConfig:f,candleStickSeriesId:Q,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:B,rotationChanged:w}),ux({chart:A,chartConfig:S,seriesConfig:f,chartData:i,showOutliers:m,candleStickSeriesId:Q,dataWasUpdated:a,rotationChanged:w,seriesReordered:o,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:B})}else t instanceof Ae&&f.type===I.LineSeries&&hx({chartConfig:S,chartData:i,meanLineSeries:t,seriesConfig:f,dataWasUpdated:a,seriesReordered:o,sortChanged:n,rotationChanged:w,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:B});uo({styleCallback:ox,callbackProps:e,series:t,seriesConfig:f,onReadyEvent:!0}),BF({series:t,seriesConfig:f,fieldList:u,tooltipFormatter:v,utilsStrings:r,queryObject:b})}}function mx(e){let A=e.series.getIndex(0);if(A!==void 0){let t=!1;A.slices.each(i=>{i.isActive&&(t=!0),Tt({element:i,selected:!1,backToDefaultState:!0})}),t&&e.feedLegend()}}function px(e,A=!0){let t;e.series.each((i,r)=>{if(!A||i.visible){t=oo(i,r);let a=[];if(t===I.BarSeries)a=i.columns?.values;else if(t===I.LineSeries)a=ge(i)?.clones?.values;else if(t===I.BoxPlotSeries){if(i instanceof Ce)a.push(...i.columns.values);else if(i instanceof ct)a.push(...i.segments.values);else if(i instanceof Ae){let n=ge(i)?.clones?.values;n!==void 0&&a.push(...n)}}a!==void 0&&a.forEach(n=>{Tt({element:n,selected:!1,backToDefaultState:!0})})}})}function ba(e){let{chart:A,selectionSource:t,clearOnlyVisibleSeries:i,disposeStyleAndSelection:r}=e,a=$(A.uid,"currentSelectionDataItems");r!==!1&&np(A,"updateSelectionCallbackDisposer"),TA(A.uid,{currentSelectionDataItems:void 0,currentSelectionOIDs:void 0,currentSelectionIndexes:void 0,computedSelectionDataItems:void 0,computedSelectionIndexes:void 0,pendingSelectionQueries:!1}),wt(A)&&(A instanceof ZA?px(A,i??!0):A instanceof fe&&mx(A)),a&&xs({data:{selectionSource:t??Le.ClearSelection},htmlContainer:A.htmlContainer})}function Cx(e){Ff(),bf(e.htmlContainer),ba({chart:e})}function wx(e){let{chart:A,chartType:t,showMean:i}=e;return A.series.values.filter(r=>t!==I.BoxPlotSeries||!i&&r instanceof Ce||i&&He(r.uid,"isBoxPlotMeanLineSeries")).every(r=>He(r.uid,"isSelectionApplied")===!0)}function bx(e){e.series.each(A=>Et(A.uid,{isSelectionApplied:void 0}))}function vp(e,A){let t=$(e.uid,"actionMode");if((t===RA.MonoSelection||t===RA.None)&&A.length>1)ba({chart:e});else{let i=e instanceof fe;A.forEach(r=>{Tt({element:r,useNativeState:i,selected:!0})})}}function yx(e){let{chart:A,chartConfig:t,series:i,options:r,elementsToApplySelectionTo:a,selectionDataItems:n,layerOidField:o,xAxisField:u,yAxisField:h,queryObject:g}=e,f=xA(t.series),m=MA(t.series),B=mr(t),w=[],p=[],b=[],v=oa(t.series),S=i instanceof jt?i.dataFields?.customValue??"":"";return a.forEach(Q=>{if(!(Q instanceof Bi)){let L=Q.dataItem?.dataContext;if(L!==void 0&&(f===I.BoxPlotSeries&&L[R.boxPlot.boxPlotOutlierId]!==!0||m===bA.BarAndLineMultiFields)&&(L=Ba({dataContext:L,yAxisField:h,yList:v,xAxisField:u,splitBy:S,chartType:f,chartSubType:m,showOutliers:B,isFeatureCollectionLayer:ia(g)})),uc({elementDataContext:L,options:r,selectionDataItems:n,layerOidField:o,xAxisField:u,yAxisField:h,chartType:f,splitBy:S,chartSubType:m,showOutliers:B}))if(w.push(Q),Q.dataItem!==void 0&&p.push(Q.dataItem.index),Q?.dataItem instanceof jr&&L!==void 0)b.push(L);else{let D=new Set;f===I.PieSeries&&ga(L)?(Ks({groupOfSlicesDataContext:L})??[]).forEach(_=>{n.forEach(k=>{$g({layerOidField:o,sliceDataContext:_,selectionDataContext:k,xAxisField:u})&&D.add(_)})}):D.add(L),Array.from(D)?.forEach(_=>{let k=Ba({dataContext:_,yAxisField:h,yList:v,xAxisField:u,splitBy:S,chartType:f,chartSubType:m,showOutliers:B,isFeatureCollectionLayer:ia(g)});k!==void 0&&b.push(k)})}else Tt({element:Q,useNativeState:A instanceof fe,selected:!1})}}),vp(A,w),{selectedIndexes:p,newSelectionDataItems:b}}function vx(e){let{chart:A,selectionIndexes:t,queryObject:i}=e,r=[],a=[],n=$(A.uid,"config"),o=mr(n),u=oa(n?.series??[]),h=MA(n?.series);return A.series.each((g,f)=>{if(n&&g.visible){let m=n.series[0].x,B=ji(g),w=g instanceof jt?g.dataFields?.customValue??"":"",p=oo(g,f),b=t.get(f);if(b!==void 0){let v;if(g instanceof Ie?v=g.columns:g instanceof gt?v=g.slices:v=ge(g)?.clones,v!==void 0){let{indexesToSelect:S}=b;v.each((Q,L)=>{if(Q&&(S===void 0||S.includes(L))){let D;p===I.BoxPlotSeries&&Q.dataItem instanceof jr?D=Q.dataItem.dataContext:Q.dataItem instanceof Bi||(D=Ba({dataContext:Q.dataItem?.dataContext,yList:u,yAxisField:B,xAxisField:m,splitBy:w,chartType:p,chartSubType:h,showOutliers:o,isFeatureCollectionLayer:ia(i)})),D!==void 0&&r.push(D),a.push(Q)}else Tt({element:Q,useNativeState:A instanceof fe,selected:!1})})}}}}),vp(A,a),r}function Fx(e){let{series:A,chartType:t,showMean:i}=e,r;switch(t){case I.ComboLineAndBarSeries:if(A instanceof Ie)r=A.columns.values;else if(A instanceof Ae){let a=ge(A);a!==void 0&&(r=a.clones.values)}break;case I.BarSeries:A instanceof Ie&&(r=A.columns.values);break;case I.LineSeries:if(A instanceof Ae){let a=ge(A);a!==void 0&&(r=a.clones.values)}break;case I.PieSeries:r=A.slices.values;break;case I.BoxPlotSeries:if(A.chart instanceof ZA){if(A instanceof Ce&&i!==!0){r=[...A.columns.values];let a=gn(A.chart,A.id);if(a!==void 0&&a.visible){let n=ge(a);n!==void 0&&r.push(...n.clones.values)}}else if(i===!0&&A instanceof Ae&&He(A.uid,"isBoxPlotMeanLineSeries")){let a=ge(A);a!==void 0&&(r=a.clones.values)}}break}return r}function xx(e){let{series:A,seriesIndex:t,queryObject:i,options:r,dataWasUpdated:a,sortChanged:n,groupOfSlicesWasUpdated:o,xAxisField:u,yAxisField:h,rotationChanged:g}=e,{filterBySelection:f,selectionData:m,returnSelectionIndexes:B,returnSelectionOIDs:w}=r??{},{selectionIndexes:p}=m??{},{chart:b}=A,v=$(b.uid,"config"),S=mr(v),Q=mt(v),L=xA(v?.series);if(f!==!0&&v!==void 0){let D=Fx({series:A,chartType:L,showMean:Q}),_=MA(v?.series),k=Kt(i),P=Ss(k).idField,j=$(b.uid,"currentSelectionDataItems"),E=!1,K=!1,F,W=!1;if(D?.[0]!==void 0){if(r?.viewExtentUpdated!==!0){F=r?.selectionData?.selectionItems??j;let aA=$(b.uid,"currentSelectionIndexes");W=jf({itemsA:F,itemsB:j,isPieFromFields:_===bA.PieFromFields,x:v.series[0].x});let J=p?.keys.length!==aA?.keys.length||!_i(p,aA);E=n===!0||a===!0||o===!0||g===!0||F!==void 0&&W;let dA=!0;if(p!==void 0&&p.size>0){let{indexesToSelect:eA}=p.get(t??0)??{};dA=eA!==void 0&&eA[0]===void 0}K=a===!0||o===!0||g===!0||!dA&&J}if(E&&F!==void 0&&F.length>0){let{selectedIndexes:aA,newSelectionDataItems:J}=yx({chart:b,chartConfig:v,options:r,series:A,elementsToApplySelectionTo:D,selectionDataItems:F,layerOidField:P,xAxisField:u,yAxisField:h}),dA=$(b.uid,"computedSelectionDataItems")??[];if(dA.push(...J),v.series.length>1&&_!==bA.BarAndLineNoAggregation&&_!==bA.BarAndLineSplitByNoAggregation&&(dA=eg({data:dA,x:v.series[0].x,splitByField:aa(v.series[0].query?.where)})),TA(b.uid,{computedSelectionDataItems:dA}),B===!0){let eA=Array.from(new Set(aA)),hA=$(b.uid,"computedSelectionIndexes");hA===void 0&&(hA=new Map),eA.length===D.length?hA.set(t??0,{}):hA.set(t??0,{indexesToSelect:eA}),TA(b.uid,{computedSelectionIndexes:hA})}}else if(p!==void 0&&K)F=vx({chart:b,selectionIndexes:p,queryObject:i});else{let aA=F===void 0||F.length===0,J=A instanceof jt?A.dataFields?.customValue??"":"",dA=eA=>{let hA=eA.dataItem?.dataContext;return hA!==void 0&&L===I.BoxPlotSeries&&hA[R.boxPlot.boxPlotOutlierId]!==!0&&(hA=Ba({dataContext:hA,yAxisField:h,yList:oa(v.series),xAxisField:u,splitBy:J,chartType:L,chartSubType:_,showOutliers:S,isFeatureCollectionLayer:ia(i)})),uc({elementDataContext:hA,options:r,selectionDataItems:F??j??[],layerOidField:P,xAxisField:u,yAxisField:h,chartType:L,splitBy:J,chartSubType:_,showOutliers:S})};D.forEach(eA=>{let hA=eA.isActive||dA(eA);Tt({element:eA,selected:hA,useNativeState:b instanceof fe,backToDefaultState:aA})})}}if(Et(A.uid,{isSelectionApplied:!0}),wx({chart:b,chartType:L,showMean:Q})&&(bx(b),W||K)){let aA=$(b.uid,"computedSelectionDataItems")??F;aA=Array.from(new Set(aA?.map(dA=>JSON.stringify(dA)))).map(dA=>JSON.parse(dA)),F!==void 0&&TA(b.uid,{currentSelectionDataItems:aA}),m?.selectionOIDs!==void 0&&TA(b.uid,{currentSelectionOIDs:m.selectionOIDs});let J;if(B===!0&&(J=$(b.uid,"computedSelectionIndexes")??p,J!==void 0&&TA(b.uid,{currentSelectionIndexes:J})),aA===void 0||aA.length===0)ba({chart:b,selectionSource:Le.ProgrammaticSelection});else{let dA={selectionItems:aA,selectionSource:Le.ProgrammaticSelection};B===!0&&(dA.selectionIndexes=J),w!==!1&&(dA.selectionOIDs=m?.selectionOIDs??$(b.uid,"currentSelectionOIDs")),xs({data:dA,htmlContainer:b.htmlContainer})}TA(b.uid,{computedSelectionIndexes:void 0,computedSelectionDataItems:void 0})}}}function Qx(e){let{chart:A,chartConfig:t,rotationChanged:i}=e;for(let r=0;r<A.series.length;r+=1){let a=A.series.getIndex(r);if(a){let n=ho(a,t);if(n){let o=xA([n]);if(o===I.BoxPlotSeries&&(a=A.series.values.find(u=>u.id===n.id)),a!==void 0){let u=n.x,h=o===I.BoxPlotSeries?n.y.toString():ji(a);Yv({callbackProps:{...e,series:a,seriesIndex:r,xAxisField:u,yAxisField:h},series:a,seriesConfig:n,onReadyEvent:i===!0})}}}}}async function Bn(e){let{chart:A,listSelectedElements:t,selectionSource:i,queryObject:r,errorStrings:a}=e,n=$(A.uid,"options"),o=$(A.uid,"config"),u=pt(r);if(o)if(t.length===0)ba({chart:A,selectionSource:i,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1});else try{np(A,"updateSelectionCallbackDisposer");let h=mr(o),g=[],f=[],m=[],B=new Map,{xAxisField:w}=t[0]??{},p=xA(o?.series),b=MA(o?.series),v=oa(o?.series??[]),S=Nt(r).find(L=>L.name===w)?.type;if(t.forEach(L=>{let{elementDataContext:D,yAxisField:_,splitBy:k}=L,P=Ba({dataContext:D,yAxisField:_,yList:v,xAxisField:w,splitBy:k,chartType:p,chartSubType:b,showOutliers:h,isFeatureCollectionLayer:ia(r)});P!==void 0&&f.push(P);let{seriesIndex:j,elementIndex:E}=L;if(E!==void 0){let K=B.get(j)?.indexesToSelect??[];K.push(E),B.set(j,{indexesToSelect:Array.from(new Set(K))})}if(!u&&D!==void 0){let K=D[Ll.uniqueIdsName]!==void 0?[D[Ll.uniqueIdsName]].flat():[];if(K.length>0)m.push(...K);else if(n?.returnSelectionOIDs!==!1){let F=$f({dataContext:D,options:n,xAxisField:w,yAxisField:_??"",splitBy:k,xAxisFieldType:S,chartConfig:o,queryObject:r});g.push(F)}}}),!u&&n?.returnSelectionOIDs!==!1&&g.length>0){let L={...$(A.uid,"queryConfig")};delete L.groupByFieldsForStatistics,delete L.orderByFields,delete L.outStatistics;let D=await jg({whereList:g,queryObject:r,queryConfig:L,errorStrings:a});if(g.length===t.length)m=D;else for(let _=0;_<D.length;_+=1)m.push(D[_])}TA(A.uid,{currentSelectionDataItems:f,currentSelectionOIDs:m,currentSelectionIndexes:B});let Q={selectionItems:f,selectionSource:i};n?.returnSelectionIndexes===!0&&(Q.selectionIndexes=B),n?.returnSelectionOIDs!==!1&&(Q.selectionOIDs=m),xs({data:Q,htmlContainer:A.htmlContainer})}catch(h){TA(A.uid,{pendingSelectionQueries:!1});let{httpStatus:g}=h instanceof _t?h.details.details:h.details??{};if(g===429)Cx(A);else throw h}TA(A.uid,{pendingSelectionQueries:!1})}function Sx(e){let{axis:A}=e,t=A.chart;return{axis:A,chart:t}}async function Ux(e,A,t){let i=e.target,{axis:r,chart:a}=Sx(i),n=[],{seriesDataItems:o}=e.target.dataItem;Object.keys(o).forEach(m=>{if(Object.hasOwn(o,m)){let B=o[m];for(let w of B)if(w instanceof ss)n.push(w.column);else{let p=w.sprites.find(b=>!(b instanceof Ka));p!==void 0&&n.push(p)}}});let u=fo(e,a),h=r instanceof he||r instanceof _e,g=[],f=$(a.uid,"config");if(f){let m=f.series[0].x??"";a.series.each((B,w)=>{let p;if(B instanceof Ie?p=B.columns:p=ge(B)?.clones,B.visible){let b=ji(B),v=B.dataFields?.customValue??"";p?.each((S,Q)=>{let L=n.includes(S);Tt({element:S,selected:L,multiSelect:u,isDateOrCategoryAxis:h})&&g.push({element:S,elementDataContext:S.dataItem?.dataContext,yAxisField:b,xAxisField:m,splitBy:v,seriesIndex:w,elementIndex:Q,chartConfig:f})})}}),await Bn({chart:a,listSelectedElements:g,selectionSource:Le.SelectionByClick,queryObject:A,errorStrings:t})}}function Ix(e){let{axis:A,queryObject:t,errorStrings:i}=e;if(wt(A.renderer.labels.template)){A.renderer.labels.template.events.on(oA.Hit,async a=>{A.renderer.labels.template.events.isEnabled(oA.Hit)&&await Ux(a,t,i)});let r=$(A.chart.uid,"filterBySelection")===!0?Lt.default:Lt.pointer;rd(A,r)}}function ro(e,A){if(wt(e?.renderer?.labels?.template)&&(e instanceof _e||e instanceof he))if(A)e.renderer.labels.template.events.disableType(oA.Hit),rd(e,Lt.default);else{e.renderer.labels.template.events.enableType(oA.Hit);let t=$(e.chart.uid,"filterBySelection")===!0?Lt.default:Lt.pointer;rd(e,t)}}var oe={Guides:"guides",Ticks:"ticks",GaugeFirstAndLastGuides:"firstAndLast",GaugeTicksWithLabels:"gaugeTicksWithLabels"};function Tr(e){let{chart:A,label:t,labelType:i}=e,r=Number.NaN;switch(i){case zA.GuideLabel:!(A instanceof tt)&&A instanceof ZA&&(t.rotation===90||t.rotation===270?r=A.seriesContainer.measuredHeight:r=A.seriesContainer.measuredWidth);break;case zA.XAxisTitle:A instanceof ZA&&(r=A.seriesContainer.measuredWidth);break;case zA.YAxisTitle:A instanceof ZA&&(r=A.seriesContainer.measuredHeight);break;case zA.ChartTitle:case zA.ChartSubTitle:case zA.ChartFooter:r=A.measuredWidth-20;break}r>0&&(t.maxWidth=r,A.invalidateLabels(),A instanceof ZA&&(A.xAxes.getIndex(0)?.invalidateLabels(),A.xAxes.getIndex(1)?.invalidateLabels(),A.yAxes.getIndex(0)?.invalidateLabels(),A.yAxes.getIndex(1)?.invalidateLabels()))}function un(e){let{chart:A,labelType:t}=e;Tr(e);let i=t===zA.YAxisTitle?1:0,r=Ze(()=>Tr(e),R.debounceTime);A.events.on(oA.Validated,r,i),t===zA.YAxisTitle&&A instanceof ZA&&A.seriesContainer.events.on(oA.SizeChanged,r,i)}function ao(e,A){e.events.on(oA.Validated,Ze(()=>{A.visible=e.measuredWidth!==0},R.debounceTime))}function Lx(e,A){e.chart instanceof tt||(A.adapter.add("dx",t=>{let i=t;return(A.rotation===90||A.rotation===270)&&(i=A.bbox.height,A.dataItem.value!==A.dataItem.endValue&&(i/=2)),i}),A.padding(0,10,0,10))}function Ex(e,A){let t=e.renderer instanceof Va?new ns:new rs;return t.disabled=!0,t.axis=e,lo(t),Fi(t.uid,{isGuide:A}),un({chart:e.chart,label:t,labelType:zA.GuideLabel}),Lx(e,t),t}function Hx(e){let{label:A,labelConfig:t,guideType:i}=e,r=A.axis.renderer instanceof lt,a;A instanceof ns||(r?i===GA.SFS?a=R.verticalSurfaceGuideLabels:a=R.verticalLineGuideLabels:i===GA.SFS?a=R.horizontalSurfaceGuideLabels:a=R.horizontalLineGuideLabels);let n={...t};n.content.rightToLeft=A.axis.rtl,Ft({label:A,labelConfig:n,defaults:a}),A.axis.invalidateLabels()}function Tx(e,A,t){let i=t.chart;e.axisFill.tooltip=new pl,e.axisFill.interactionsEnabled=!0,e.axisFill.tooltipPosition=R.guideTooltipPosition,e.axisFill.tooltip.label.wrap=!0,e.axisFill.tooltip.adapter.add("maxWidth",()=>Math.min(R.tooltipWidth,i.seriesContainer.maxWidth)),e.axisFill.tooltip.boundingContainer=i.chartAndLegendContainer,e.axisFill.adapter.add("tooltipHTML",(r,a)=>{let n=r,{dataItem:o,axis:u}=a;if(!(u.renderer instanceof Va)){let h=Te(u.uid,"guideTooltipFormatter");if(h!==void 0){let g="",f;o instanceof as?(g=o.value,f=o.endValue):o instanceof cr?(g=o.category,f=o.endCategory):o instanceof Na&&(g=o.date,f=o.endDate),n=h({guideName:o.id??"",start:g,end:f,guideIndex:A})}}return n}),e.axisFill.tooltip.events.on(oA.Shown,r=>{let a=$(e.axisFill.axis.chart.uid,"config");if(a!==void 0){let n=$(e.axisFill.axis.chart.uid,"isRotated"),o=mn(e.axisFill.axis.renderer,n)?0:1,u=a.axes?.[o]?.guides,{tooltipReverseColor:h}=u?.[A]??{};cp(r.target,h)}})}function Ox(e,A){return t=>{let{guideName:i,start:r,end:a,guideIndex:n}=t,{chart:o}=e,u="";if(o!==void 0){let h=$(o.uid,"config"),g=$(o.uid,"isRotated"),f=mn(e.renderer,g)?0:1,m=h?.axes?.[f]?.guides,B=r,w=a;if(e instanceof he){let S=new Bl,Q;if(o!==void 0){let L=$(e.chart.uid,"formatLocale");S=ni({type:I.DateAxisFormat,iLocale:o.language.locale,formatLocale:L}),Q=h?.axes?.[0]?.valueFormat?.intlOptions}B=S.format(r,Q),a!==void 0&&(w=S.format(a,Q))}else if(e instanceof ae&&!(r instanceof Date)&&!(a instanceof Date)){let{start:S,end:Q}=Ud(e,m?.[n]);Number.isFinite(S)&&(B=S),Number.isFinite(Q)&&(w=Q);let L=Te(e.uid,"numberFormatter")??(D=>new gl().format(D));B=L(B),w!==void 0&&(w=L(w))}else e instanceof _e&&(B=r,w=a);let p=B.toString(),b=w?.toString()??"";!we(b)&&p!==b?u=to(A.guideTooltipLabel,{guideStart:p,guideEnd:b}):u=p;let v=Ci(o.rtl);u=`${i}${v} ${u}`}return u}}function kx(e){let{axis:A,guideTooltipFormatter:t,utilsStrings:i}=e;Qe(A.uid,{guideTooltipFormatter:t??Ox(A,i)})}function Dx(e){let A=dr.Value;return e instanceof he?A=dr.Date:e instanceof _e&&(A=dr.Category),A}function Cm(e){let{inputValue:A,axisType:t,axisMin:i,axisMax:r}=e,a=A;if(A!=null)switch(t){case dr.Date:a=A instanceof Date?A:new Date(A);break;case dr.Category:a=A.toString();break;case dr.Value:if(typeof A!="number"){let n=A.toString().trim(),o=bs(n);o!==void 0?i!==void 0&&r!==void 0?a=o/100*(r-i)+i:a=null:a=Number.parseFloat(n)}break}return a}function Ud(e,A){let{start:t,end:i}=A??{},r;if(A!==void 0&&t!==void 0&&t!==null){let a=Dx(e),n=e instanceof ae?e.min:void 0,o=e instanceof ae?e.max:void 0,u=Cm({inputValue:t,axisType:a,axisMin:n,axisMax:o}),h=A.style?.type===GA.SFS&&i!==null&&i!==void 0?Cm({inputValue:i,axisType:a,axisMin:n,axisMax:o}):u;r={isValidGuide:u!=null&&h!=null,start:u,end:h}}else r={isValidGuide:!1,start:void 0,end:void 0};return r}function Mx(e){let{axis:A,tickOrGuide:t,numberOfElementsToBeDeleted:i}=e,r=[],a=A.axisRanges.length-1,n=i;for(;n>0&&a>=0;){let o=A.axisRanges.getIndex(a);o!==void 0&&(be(o.label?.uid,"isGuide")??!1)===!0&&t===oe.Guides&&(r.push(o),n-=1),a-=1}for(let o=0;o<r.length;o+=1)A.axisRanges.removeValue(r[o])}function ht(e,A){return e.axisRanges?.values?.filter(t=>{let i=be(t.label?.uid,"isGuide")??!1,r=be(t.label?.uid,"isGaugeAxisLabel")??!1,a=!1;switch(A){case oe.Ticks:a=i===!1;break;case oe.Guides:a=i===!0;break;case oe.GaugeTicksWithLabels:a=r===!0&&t.value!==void 0;break;case oe.GaugeFirstAndLastGuides:a=i===!0&&(t.id===R.gaugeFirstLabelId||t.id===R.gaugeLastLabelId);break}return a})??[]}function _x(e,A){let t=e.axisRanges.length;{let r=e.axisRanges.values.findIndex(a=>a.id===R.gaugeFirstLabelId);r!==-1&&(t=r)}let i;return e instanceof _e?i=new cr:e instanceof he?i=new Na:i=new as,e.axisRanges.insertIndex(t,i),i.label=Ex(e,A),i.axisFill.fillOpacity=1,i.axisFill.disabled=!0,i.grid.strokeOpacity=1,i}function Rx(e,A){let t=_x(e,!0);Tx(t,A,e),t.tick!==void 0&&(t.tick.disabled=!0),t.label!==void 0&&(t.label.inside=!0),t.grid!==void 0&&(t.grid.disabled=!0)}function Kx(e,A){let{start:t,end:i}=A,r=$(e.uid,"config"),a=vs(r),n=t!==null?t:void 0;n=e.data.find(u=>u[R.originalCategoryValue]===t)?.[a]??n;let o=i!==null?i:void 0;if(o!==void 0)for(let u=e.data.length-1;u>=0;u-=1){let h=e.data[u];if(h[R.originalCategoryValue]===i){o=h[a];break}}return{modifiedStart:n,modifiedEnd:o}}function Nx(e,A){let{start:t,end:i}=A;if(t!==void 0){let{chart:r}=e?.component??{},a;if(e instanceof cr&&r instanceof ZA&&$(r.uid,"isNonAggregatedChart")===!0){let{modifiedStart:n,modifiedEnd:o}=Kx(r,A);a={isValidGuide:!0,start:n??t,end:o??i}}else a=Ud(e.axisFill.axis,A);a.isValidGuide&&(e instanceof cr?(e.category=`${a.start?.toString()}`,e.endCategory=`${a.end?.toString()}`):e instanceof Na?(e.date=a.start,e.endDate=a.end):(e.value=a.start,e.endValue=a.end))}}function Vx(e,A){e.axisFill.above=A??R.guideAbove,e.grid.above=A??R.guideAbove}function Px(e,A){let{axisFill:t,label:i}=e;if(A!==void 0){if(e.id=A.name,e.visible=A.visible!==void 0?A.visible:e.visible,Nx(e,A),A.style.type===GA.SLS?$a({element:t,fillSymbol:{type:GA.SFS,color:A.style?.color,outline:A.style},visible:A.visible}):A.style.type===GA.SFS&&$a({element:t,fillSymbol:A.style,visible:A.visible}),Vx(e,A.above),A.label!==void 0){let a={type:I.Text,visible:A.visible,content:A.label};Hx({label:i,labelConfig:a,guideType:A.style.type})}let r=e.component?.chart;r!==void 0&&Tr({chart:r,label:i,labelType:zA.GuideLabel})}else t.disabled=!0,i.disabled=!0}function Gx(e,A){let t=ht(e,oe.Guides).length,i=A?.length??t;for(let r=t;r<i;r+=1)Rx(e,r)}function Wx(e){let{axis:A,guides:t,guideTooltipFormatter:i,utilsStrings:r}=e;if(t!==void 0){for(let a=0;a<t.length;a+=1){let n=ht(A,oe.Guides)[a];n!==void 0&&Px(n,t[a])}kx({axis:A,guideTooltipFormatter:i,utilsStrings:r})}}function zx(e,A){let t=ht(e,oe.Guides).length,i=A?.length??0,r=t-i;Mx({axis:e,numberOfElementsToBeDeleted:r,tickOrGuide:oe.Guides})}function Xx(e){let{axis:A,guides:t}=e;Gx(A,t),Wx(e),zx(A,t)}function Yx(e){let{axis:A,labels:t,restoreLabelsVisibility:i=!0}=e;(t??A.renderer.labels.values).forEach(r=>{r.x instanceof Ra?r.x.value:r.x,i&&JA(r,!0)})}function Fp(e){let A=e.renderer.labels.values.filter(t=>be(t.uid,"isGuide")!==!0&&t.measuredWidth>0).length;return e.pixelWidth/A}function Zx(e){let{target:A}=e;if(($(A.chart.uid,"config")?.horizontalAxisLabelsBehavior??ee.Rotate)===ee.Wrap){let t=Number.MAX_SAFE_INTEGER;A.renderer.labels.each(r=>{be(r.uid,"isGuide")!==!0&&r.measuredWidth>0&&(t=Math.min(t,r.bbox.width))});let i=A instanceof he?A.pixelWidth/R.maxNumberOfXAxisLabelsInWrapModeForDateAxis:A.pixelWidth/R.maxNumberOfXAxisLabelsInWrapMode;A.renderer.minGridDistance=Math.max(t+1,i)}}function Jx(e){let{axis:A,labelsConfig:t,horizontalAxisLabelsBehavior:i,isSecondValueAxis:r,tickSpacing:a}=e,n=A.renderer.minGridDistance;if(typeof a=="number"&&Number.isFinite(a))n=a;else if(A.renderer instanceof Va)n=R.gauge.gaugeMinGridDistance;else if(A instanceof ae)n=A.renderer instanceof lt?R.xAxisMinGridDistance:R.yAxisMinGridDistance;else if(A.renderer instanceof lt)if(r===!0)n=R.secondRotatedValueAxisMinGridDistance;else if(i===void 0||i===ee.Rotate){let o=t.content.font?.size??R.generalFontSize,u=A instanceof _e?R.categoryAxisLabelPadding:R.axisLabelPadding;n=o*u}else if(i===ee.Wrap){let o=Ze(Zx,R.debounceTime);Qe(A.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:o}),A.events.on(oA.SizeChanged,o),A.dispatchImmediately(oA.SizeChanged)}else i===ee.Stagger?n=R.staggerMinGridDistance:n=A instanceof _e?R.xCategoryAxisMinGridDistance:R.xAxisMinGridDistance;else n=A instanceof _e?R.yCategoryAxisMinGridDistance:R.yAxisMinGridDistance;A.renderer.minGridDistance=n}function qx(e){let A=e.renderer.labels.template;wt(A)&&(A.adapter.add("rotation",(t,i)=>be(i.uid,"isGuide")!==!0?Te(e.uid,"labelsSymbol")?.angle??t:t),A.adapter.add("verticalCenter",(t,i)=>be(i.uid,"isGuide")!==!0?Te(e.uid,"labelsSymbol")?.verticalCenter??t:t),A.adapter.add("horizontalCenter",(t,i)=>be(i.uid,"isGuide")!==!0?Te(e.uid,"labelsSymbol")?.horizontalCenter??t:t),A.adapter.add("dy",(t,i)=>{let r=R.axisLabel.dy??t??0;return i.dataItem?.tick?.length>R.axisTickLength?r=t??0:r=Number(be(i.uid,"isGuide")!==!0?Te(e.uid,"labelsSymbol")?.yOffset??r:r),r}))}function jx(e){let{target:A}=e;if(A.chart!==void 0){let t=$(A.chart.uid,"config")?.axes?.[0].labels;if((t?.visible??!0)&&t!==void 0&&A.renderer.labels.length>1){let i=0;A.renderer.labels.each(n=>{if(be(n.uid,"isGuide")!==!0&&n.measuredWidth>0){let o=n.bbox.width;o>i&&(i=o)}});let r=Te(A.uid,"labelsSymbol")?.angle??0,a=Fp(A)>=i+5;if(!a&&r===0||a&&r===R.rotatedAxisLabel.rotation){let n=a?ja(t.content,A.rtl,R.axisLabel):ja({type:GA.TS},A.rtl,R.rotatedAxisLabel);Qe(A.uid,{labelsSymbol:n}),A.renderer.invalidateLabels()}}}}function $x(e,A=1){let{target:t}=e,i=Fp(t);Number.isFinite(i)&&(t.renderer.labels.template.maxWidth=Math.min(i*A,t.renderer.minGridDistance))}function AQ(e){let{target:A}=e;if($(A.chart.uid,"config")?.axes?.[0].labels?.visible!==!1){let t=0;A.dataItems.each(i=>{let{label:r,itemIndex:a}=i;be(r.uid,"isGuide")!==!0&&r.currentText!==void 0&&r.measuredWidth>0&&a%2===0&&r.bbox.height>t&&(t=r.bbox.height)}),A.dataItems.each(i=>{let{tick:r,label:a,itemIndex:n}=i;if(be(a.uid,"isGuide")!==!0&&a.currentText!==void 0&&a.measuredWidth>0){let o=n%2===1;r.length=o?t+5:R.axisTickLength,r.dataItem.label.dy=R.axisLabel.dy+(o?t:0)}}),t!==void 0&&(A.renderer.labels.template.paddingBottom=t+5),A.validate()}}function eQ(e){let{chart:A}=e;e.renderer.labels.template.paddingLeft=Number.NaN,e.renderer.labels.template.paddingRight=Number.NaN;let t=Te(e.uid,"debouncedAxisLabelRotationCallback");if(t!==void 0&&(e.events.off(oA.Validated,t),Qe(e.uid,{debouncedAxisLabelRotationCallback:void 0})),A!==void 0){let i=$(A.uid,"config")?.axes?.[0].labels;if(i!==void 0){let r=ja(i.content,A.rtl,R.axisLabel),a=e.renderer.labels.template;a.rotation=r.angle,a.verticalCenter=r.verticalCenter,a.horizontalCenter=r.horizontalCenter,Number.isFinite(r.yOffset)&&(a.dy=r.yOffset)}Qe(e.uid,{labelsSymbol:void 0})}}function xp(e){e.renderer.labels.template.wrap=!1,e.renderer.labels.template.textAlign="start"}function tQ(e){xp(e),e.renderer.labels.template.paddingLeft=Number.NaN,e.renderer.labels.template.paddingRight=Number.NaN;let A=Te(e.uid,"debouncedAxisLabelWrapCallback");A!==void 0&&(e.events.off(oA.DataRangeChanged,A),Qe(e.uid,{debouncedAxisLabelWrapCallback:void 0}))}function iQ(e){xp(e);let A=Te(e.uid,"debouncedUpdateMinGridDistanceForWrapBehavior");A!==void 0&&(e.events.off(oA.SizeChanged,A),Qe(e.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:void 0}))}function rQ(e){let A=Te(e.uid,"debouncedAxisLabelStaggerCallback");A!==void 0&&(e.events.off(oA.DataRangeChanged,A),Qe(e.uid,{debouncedAxisLabelStaggerCallback:void 0})),e.renderer.ticks.each(t=>{t.length=R.axisTickLength,t.dataItem?.label&&(t.dataItem.label.dy=R.axisLabel.dy??0)})}function aQ(e){eQ(e),tQ(e),rQ(e)}function wm(e){qx(e),e.renderer.labels.template.paddingLeft=0,e.renderer.labels.template.paddingRight=0,e.renderer.labels.template.maxWidth=Number.NaN;let A=Ze(jx,R.debounceTime,{leading:!0});Qe(e.uid,{debouncedAxisLabelRotationCallback:A}),e.events.on(oA.Validated,A),e.dispatchImmediately(oA.Validated)}function bm(e,A=1){e.renderer.labels.template.wrap=!0,e.renderer.labels.template.paddingLeft=.5,e.renderer.labels.template.paddingRight=.5,e.renderer.labels.template.textAlign="middle";let t=Ze(i=>$x(i,A),R.debounceTime);Qe(e.uid,{debouncedAxisLabelWrapCallback:t}),e.events.on(oA.DataRangeChanged,t)}function nQ(e){e.renderer.labels.template.maxWidth=R.yAxisLabelMaxWidth,e.renderer.labels.template.wrap=!0,e.renderer.labels.template.textAlign="end"}function sQ(e){let A=Ze(AQ,R.debounceTime);Qe(e.uid,{debouncedAxisLabelStaggerCallback:A}),e.events.on(oA.DataRangeChanged,A)}function oQ(e){let{axis:A,horizontalAxisLabelsBehavior:t,verticalAxisLabelsBehavior:i,labelsConfig:r,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}=e;if(A.renderer instanceof lt&&a?.[0]!==!1){if(aQ(A),n!==!0)switch(t){case ee.Hide:break;case ee.Stagger:sQ(A),bm(A,1.5);break;case ee.Wrap:bm(A);break;case ee.Rotate:wm(A);break;default:r.content.angle!==null&&r.content.angle===void 0&&wm(A);break}}else A.renderer instanceof lr&&(i!==ee.Hide?nQ(A):iQ(A))}function lQ(e){let{axis:A,axisConfig:t,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}=e,o=A.renderer.labels.template;o.axis=A;let{labels:u}=t,h=A.renderer instanceof lt&&o.rotation===R.rotatedAxisLabel.rotation,g=u,f;h?(g.content.angle=void 0,g.content.horizontalAlignment=void 0,g.content.verticalAlignment=void 0,g.content.yoffset=void 0,f=R.rotatedAxisLabel):A.renderer instanceof lt&&(i===ee.Stagger||i===ee.Wrap)&&(f={wrap:!0,dy:R.axisLabel.dy}),A.renderer instanceof lr&&r!==ee.Hide&&(f={wrap:!0}),Ft({label:o,labelConfig:g,defaults:f}),A.renderer.labels.template.paddingTop=A.renderer instanceof lt?0:R.axisLabel.dy,o.align="none",o.valign="none",oQ({axis:A,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,labelsConfig:u,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}),o.axis.invalidateLabels()}function Id(e){return(e??Dl())===Be.Side}function Qp(e,A){let t,i,r=nd(e,"bullets"),a=nd(e,"columns"),n=Id(A);return n&&r!==void 0?(t=r,i=a):n||(t=a,i=r),{labelToRender:t,labelToHide:i}}function cQ(e,A=!0){e.hideOversized=A}function dQ(e,A){let t,i,r=si(R.dataLabelInitialize);Fi(r.uid,{isDataLabel:!0}),e.bullets.push(r);let a=si(R.dataLabelInitialize,e.columns.template);return Fi(a.uid,{isDataLabel:!0}),sd(a,e),sd(r,e),e.events.on(oA.Validated,Ze(()=>{ha(a)&&a.clones.each(n=>{ha(n)&&n.validate()})},R.debounceTime)),a.html="{valueX}",r.html="{valueX}",ip(r),Id(A)?(t=r,i=a):(t=a,i=r),Ap(I.BarSeries,r),ep(I.BarSeries,t),{newLabelToRender:t,newLabelToHide:i}}function uQ(e){let{series:A,stackedType:t,isRotated:i,hideOversizedStackedLabels:r,hideOversizedSideBySideLabels:a}=e,{labelToRender:n,labelToHide:o}=Qp(A,t);if(n===void 0){let{newLabelToRender:g,newLabelToHide:f}=dQ(A,t);n=g,o=f}let u=R.dataLabel,h=!0;Id(t)?(u=i===!0?R.dataLabelRotated:R.dataLabel,h=a===!0):(u=i===!0?R.dataLabelStackedRotated:R.dataLabelStackedNonRotated,h=r!==!1),cQ(n,h),o!==void 0&&(o.visible=!1,o.disabled=!0),n.html="{valueX}",rp({...e,dataLabel:n,labelDefaults:u,defaultDataLabelFormatter:tp})}function hQ(e){let A=e.tooltip;A!==void 0&&!(e instanceof he)&&(A.label.adapter.add("html",(t,i)=>{let r=t??"";return e instanceof ae?r=Gm(e,i.properties?.text??t??""):e instanceof _e&&(r=Wm({axis:e,defaultOutput:t??"",dataItem:A.dataItem})),Re(r)}),A.label.html=R.htmlEmptyContent)}function fQ(e){if(e.renderer instanceof lr){let A=e.title;A.adapter.add("y",t=>{let i=A.parent?.measuredHeight??0,r=t;return i>0&&(r=i/2),r},98)}}function od(e){let{axis:A,start:t,end:i}=e;A.zoom({start:t??0,end:i??1})}function ym(e){e!==void 0&&(e.start=0,e.end=1)}function Bo(e){e!==void 0&&(e.xAxes!==void 0&&e.xAxes.each(A=>od({axis:A})),e.yAxes!==void 0&&e.yAxes.each(A=>od({axis:A})),ym(e.scrollbarX),ym(e.scrollbarY),JA(e.zoomOutButton,!1))}function mn(e,A){return e instanceof lt&&A!==!0||e instanceof lr&&A===!0}function gQ(e){wt(e.labels.template)&&(e.labels.template.events.on(oA.Over,A=>{let{axisLabelOveredOpacity:t}=R;A.target.fillOpacity=(A.target.fillOpacity??1)*t}),e.labels.template.events.on(oA.Out,A=>{let{axisLabelOveredOpacity:t}=R;A.target.fillOpacity=(A.target.fillOpacity??.5)/t}))}function BQ(e){let{axis:A,valueFormat:t,axisRenderer:i,queryObject:r,errorStrings:a}=e;i.grid.template.applyOnClones=!0,i.ticks.template.applyOnClones=!0,i.labels.template.applyOnClones=!0,i.hoverable=!0,i.line.strokeOpacity=1,i.grid.template.strokeOpacity=1,i.ticks.template.strokeOpacity=1,lo(i.labels.template,R.axisLabel),i.ticks.template.disabled=!1,i.labels.template.disabled=!0,hQ(A),$r(t)&&(gQ(i),Ix({axis:A,queryObject:r,errorStrings:a})),ao(A.chart,A.title),un({chart:A.chart,label:A.title,labelType:A.renderer instanceof lt?zA.XAxisTitle:zA.YAxisTitle}),fQ(A),A.renderer instanceof lt&&A.events.on(oA.Validated,Ze(()=>{Yx({axis:A,restoreLabelsVisibility:!0})},R.debounceTime))}function mQ(e){let A=e.target,t=$(A.chart.uid,"isRotated"),i=[];if(A instanceof ae){if(A.renderer instanceof Va)i.push({isXAxis:!0,minimum:A.min,maximum:A.max});else if(A.renderer instanceof(t!==!0?lr:lt)){A.maxZoomFactor=1;let r=e.target,a=r.chart,n=t!==!0?a.xAxes.getIndex(0):a.yAxes.getIndex(0),o=a.yAxes.getIndex(1)??a.xAxes.getIndex(1);i=[{isXAxis:!1,minimum:r.min,maximum:r.max},{isXAxis:!0,minimum:n instanceof ae?n.min:void 0,maximum:n instanceof ae?n.max:void 0}],o instanceof ae&&i.push({isXAxis:!1,isSecondValueAxis:!0,minimum:o.min,maximum:o.max})}i.length>0&&i.every(r=>!Number.isNaN(r.minimum)&&!Number.isNaN(r.maximum))&&Vl(i,A.chart.htmlContainer)}}function pQ(e){e.events.on(oA.Validated,Ze(mQ,R.debounceTime))}function CQ(e){let{axis:A,isNonAggregatedChart:t}=e,i,r,a,n=A.dataItems.values,o=A.axisRanges.values;if(A instanceof _e)for(let u=0;u<o.length;u+=1){i=!1,r=!1,a=!1;let h=o[u],{category:g,endCategory:f,axisFill:m,grid:B,label:w}=h;if(h instanceof cr&&h.visible)for(let p=0;p<n.length;p+=1){let b;t===!0?b=Ki({value:n[p].category,dataContext:n[p].dataContext}):b=n[p].category.toString(),g===b&&(r=!0),f===b&&(a=!0)}r&&a&&(i=!0),JA(m,i),JA(B,i),JA(w,i)}}function vm(e){let{axis:A,axisMinimum:t,axisMaximum:i}=e,r;if(A instanceof ae&&i!==void 0&&t!==void 0){let a=A.axisRanges.values,n=$(A.chart.uid,"config"),o=$(A.chart.uid,"isRotated"),u=mn(A.renderer,o)?0:1,h=n?.axes?.[u]?.guides;for(let g=0;g<a.length;g+=1){let f=a[g],{value:m,endValue:B,axisFill:w,grid:p,label:b}=f;if(be(b?.uid,"isGuide")===!0){if(r=f.visible,r&&f instanceof as){let{start:v,end:S}=Ud(A,h?.[g]),Q=Math.min(m,B,v??m,S??B),L=Math.max(m,B,v??m,S??B);Q<t&&L<t||Q>i&&L>i?r=!1:(f.value=Q<t?t:Q,f.endValue=L>i?i:L)}JA(w,r),JA(p,r),JA(b,r)}}}}function wQ(e){e instanceof ae?(e.adapter.add("min",A=>(vm({axis:e,axisMinimum:A,axisMaximum:e.max}),A)),e.adapter.add("max",A=>(vm({axis:e,axisMinimum:e.min,axisMaximum:A}),A))):e instanceof _e&&e.events.on(oA.Validated,()=>{let A=$(e.chart.uid,"isNonAggregatedChart");CQ({axis:e,isNonAggregatedChart:A})})}function cn(e){let{axes:A,isSecondValueAxis:t=!1,isXAxis:i,valueFormat:r,chartType:a,queryObject:n,errorStrings:o}=e,u;if(hs({isXAxis:i,chartType:a,valueFormat:r})&&!t)u=A.push(new _e);else if(Ai(r))u=A.push(new he);else if(Bt(r)){u=A.push(new ae);let h=$(u.chart.uid,"formatLocale");u.numberFormatter=ni({type:I.NumberAxisFormat,iLocale:u.chart.language.locale,formatLocale:h}),u.numberFormatter.numberFormat="#",t?(u.renderer.opposite=!0,u.renderer.grid.template.disabled=!0):pQ(u)}u!==void 0&&(Qv(u),BQ({axis:u,valueFormat:r,axisRenderer:u.renderer,queryObject:n,errorStrings:o}),wQ(u))}function Sp(e){let{chart:A,axesConfig:t,isRotated:i,chartType:r,queryObject:a,errorStrings:n}=e;TA(A.uid,{isRotated:i===!0});let o=i===!0?t?.[1]:t?.[0],u=i===!0?t?.[0]:t?.[1],h=o?.valueFormat,g=u?.valueFormat;h!==void 0&&g!==void 0&&(A.xAxes.clear(),A.yAxes.clear(),cn({chartType:r,isXAxis:i!==!0,axes:A.xAxes,valueFormat:h,queryObject:a,errorStrings:n}),cn({chartType:r,isXAxis:i===!0,axes:A.yAxes,valueFormat:g,queryObject:a,errorStrings:n}),t?.[2]!==void 0&&cn({chartType:r,isXAxis:i===!0,axes:i===!0?A.xAxes:A.yAxes,valueFormat:t[2].valueFormat,isSecondValueAxis:!0,queryObject:a,errorStrings:n}))}function bQ(e){let{axis:A,isLogarithmic:t,axisConfigIndex:i}=e,r=$(A.chart.uid,"config"),a=t===!0&&Es({chartConfig:r,chartData:A.chart.data,axisConfigIndex:i});(A instanceof he||A instanceof ae)&&(A.logarithmic=a,A.treatZeroAs=a?R.treatZeroValueAs:0)}function yQ(e,A){let{minimum:t,maximum:i,isLogarithmic:r}=A??{},{buffer:a}=A??{};return a??=R.buffer,e instanceof ae&&!(e instanceof he)&&!a&&(r!==!0||i!=null||t!=null)}function vQ(e,A){let t=!1;return e instanceof ae&&!(e instanceof he)&&(t=yQ(e,A),e.strictMinMax=t),t}function FQ(e){let{axis:A,axisConfig:t,chartType:i,isSecondValueAxis:r}=e,a=t?.minimum,n=t?.maximum,o=t?.isLogarithmic??!1,u=a,h=n,{chart:g}=A,f=$(g.uid,"isRotated"),m=$(g.uid,"config"),B=0;if(g instanceof ZA&&m!==void 0){let w=ei(m),p=mn(A.renderer,f),b=Wv(g),v=Ls({chartConfig:m,isSecondValueAxis:r,seriesIds:b}),S=jl({chartConfig:m,chartData:g.data,filteredSeriesIds:v});if(w===Be.Stacked100)u=Number.NaN,h=Number.NaN;else{let{minX:Q,maxX:L,minY:D,maxY:_}=S,[k,P]=p?[Q??Number.NaN,L??Number.NaN]:[D,_];B=k,i===I.BarSeries||i===I.ComboLineAndBarSeries||i===I.LineSeries&&w===Be.Stacked&&!p?(u=Math.min(k,0),h=Math.max(P,0)):(u=k,h=P)}u=a??u,h=n??h}return o&&u!==void 0&&u!==null&&u<=0&&(u=Hv(B)),{min:u,max:h}}function Up(e){let{axis:A,axisConfig:t,chartType:i,isSecondValueAxis:r}=e,{minimum:a,maximum:n,isLogarithmic:o}=t??{};if(A instanceof ae||A instanceof he)if(vQ(A,t)){let u=a,h=n;if(zm({minimumFromConfig:a,maximumFromConfig:n,isLogarithmic:o})){let g=FQ({axis:A,axisConfig:t,chartType:i,isSecondValueAxis:r});u=g.min,h=g.max}u=u??Number.NaN,h=h??Number.NaN,Number.isNaN(u)||Number.isNaN(h)||u<h?(A.min=u,A.max=h):(A.min=Number.NaN,A.max=Number.NaN),i===I.GaugeSeries&&A.validate()}else A.min=Number.NaN,A.max=Number.NaN}function xQ(e){let{axis:A,timeIntervalInfo:t,dateBaseInterval:i}=e;if(A instanceof he){let{size:r,unit:a}=t??{};if(a||({size:r,unit:a}=i??{}),r&&a!==void 0){let n;switch(a){case me.Second:n="second";break;case me.Minute:n="minute";break;case me.Hour:n="hour";break;case me.Day:n="day";break;case me.Week:n="week";break;case me.Month:n="month";break;case me.Year:n="year";break}n!==void 0&&(A.baseInterval={timeUnit:n,count:r})}}}function QQ(e,A){e instanceof ae&&(e.renderer.baseGrid.disabled=A!==!0)}function SQ(e,A){e.cursorTooltipEnabled=A===!0}function UQ(e,A){let t=e.renderer instanceof lt;e.events.once(oA.Validated,()=>{let i=e.renderer instanceof lr?R.yAxisTitleLabel:R.xAxisTitleLabel;t&&(i={...i,dy:i.dy??0}),Ft({label:e.title,labelConfig:A,defaults:i}),Tr({chart:e.chart,label:e.title,labelType:e.renderer instanceof lt?zA.XAxisTitle:zA.YAxisTitle})})}function IQ(e,A){let t=!0;return A===I.BoxPlotSeries&&(t=e instanceof Ce),t}function Ip(e){let A=Ze(()=>{let{chart:t}=e,i=$(t.uid,"config");if(t!==void 0&&i!==void 0){let r=xA(i?.series);if(IQ(e,r)){let a=$(t.uid,"isRotated"),n=He(e.uid,"stackedType");n===Be.Stacked100&&!e.visible&&JA(e,!1);let o=t.xAxes.getIndex(0),u=t.yAxes.getIndex(0),h=t.yAxes.getIndex(1),g=a===!0?1:0,f=i.axes?.[g],m=a===!0?0:1,B=i.axes?.[m],w=i.axes?.[2];[{axis:o,axisConfig:f,updateLabels:!1},{axis:u,axisConfig:B,updateLabels:!0},{axis:h,axisConfig:w,updateLabels:!0,isSecondValueAxis:!0}].forEach(p=>{let{axis:b,axisConfig:v,updateLabels:S,isSecondValueAxis:Q}=p;b!==void 0&&(Up({axis:b,chartType:r,axisConfig:v,isSecondValueAxis:Q}),S!==void 0&&b.events.once(oA.Validated,()=>{let{labelToRender:L}=Qp(e,n);L&&(L.html=a===!0?"{valueX}":"{valueY}")}))})}}},R.debounceTime);e.events.once(oA.Validated,A)}function LQ(e,A){if(e instanceof ae){let{integerOnlyValues:t,valueFormat:i}=A,r=ic(i)?i.intlOptions.maximumFractionDigits:void 0;e.maxPrecision=t===!0||r===0?0:Number.NaN}}function eo(e){let{axis:A,axisConfig:t,axisConfigIndex:i,timeIntervalInfo:r,chartType:a,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:u,guideTooltipFormatter:h,stackedType:g,axisValueFormatter:f,isSecondValueAxis:m,isRotated:B,isTimeOnlyField:w,setTimeZone:p,outTimeZone:b,utilsStrings:v,errorStrings:S}=e,{visible:Q,isLogarithmic:L,title:D,grid:_,lineSymbol:k,labels:P,guides:j,valueFormat:E,displayZeroLine:K,displayCursorTooltip:F,tickSpacing:W,dateBaseInterval:aA}=t;xQ({axis:A,timeIntervalInfo:r,dateBaseInterval:aA}),vr({element:A.renderer.grid.template,lineSymbol:_,visible:Q}),vr({element:A.renderer.line,lineSymbol:{color:[...R.color],...k??Ga()},visible:Q}),vr({element:A.renderer.ticks.template,lineSymbol:k,visible:Q}),lQ({axis:A,axisConfig:t,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:u,isSecondValueAxis:m}),LQ(A,t),Jx({axis:A,labelsConfig:P,horizontalAxisLabelsBehavior:n,isSecondValueAxis:m,tickSpacing:W}),Ev({axis:A,isXAxis:mn(A.renderer,B),chartType:a,labelsTextSymbol:t.labels.content,formatOptions:E,overridePercentMultiplication:g===Be.Stacked100,axisValueFormatter:f,isTimeOnlyField:w,setTimeZone:p,outTimeZone:b,errorStrings:S}),Up({axis:A,axisConfig:t,chartType:a,isSecondValueAxis:m}),bQ({axis:A,isLogarithmic:L,axisConfigIndex:i}),UQ(A,D),SQ(A,F),m!==!0&&(Xx({axis:A,guides:j,guideTooltipFormatter:h,utilsStrings:v}),QQ(A,K))}function EQ(e){let{chart:A,rotationChanged:t,isRotated:i,dualAxisChanged:r,timeIntervalInfoWasReset:a,timeIntervalInfo:n,guideTooltipFormatter:o,xAxisLabelFormatter:u,yAxisLabelFormatter:h,secondaryYAxisLabelFormatter:g,options:f,utilsStrings:m,errorStrings:B,queryObject:w}=e,{axisLabelsBehaviorChanged:p}=e,b=$(A.uid,"config"),v=b.axes,{horizontalAxisLabelsBehavior:S,verticalAxisLabelsBehavior:Q}=b,L=xA(b.series),D=ei(b),_=$(A.uid,"fieldList")?.some(iA=>iA.name===b.series[0].x&&iA.type===Ql.TimeOnly)??!1,k=Qs({chartConfig:b,queryObject:w,options:f}),P=na(b.series[0])?b.series[0].temporalBinning?.outTimeZone:void 0,j=i===!0?1:0,E=i===!0?0:1,K=v?.[j],F=v?.[E],W=A.xAxes.getIndex(0);Lp({chart:A,dualAxisChanged:r,rotationChanged:t,timeIntervalInfoWasReset:a,axisLabelsBehaviorChanged:p})&&(Sp({chart:A,axesConfig:v,isRotated:i,chartType:L,queryObject:w,errorStrings:B}),p=[!0,!0]),W=A.xAxes.getIndex(0);let aA=A.yAxes.getIndex(0),J=A.xAxes.getIndex(1)??A.yAxes.getIndex(1),dA=W?.start,eA=W?.end,hA=aA?.start,X=aA?.end,z=J?.start,gA=J?.end,lA={timeIntervalInfo:n,chartType:L,horizontalAxisLabelsBehavior:S,verticalAxisLabelsBehavior:Q,axisLabelsBehaviorChanged:p,guideTooltipFormatter:o,stackedType:D,isRotated:i,setTimeZone:k,outTimeZone:P,utilsStrings:m,errorStrings:B};W!==void 0&&K!==void 0&&eo({...lA,axis:W,axisConfig:K,axisConfigIndex:j,axisValueFormatter:j===0?u:h,isTimeOnlyField:_}),aA!==void 0&&F!==void 0&&eo({...lA,axis:aA,axisConfig:F,axisConfigIndex:E,axisValueFormatter:E===1?h:u,isTimeOnlyField:_}),J!==void 0&&v?.[2]!==void 0&&eo({...lA,axis:J,axisConfig:v[2],axisConfigIndex:2,axisValueFormatter:g,isSecondValueAxis:!0,isTimeOnlyField:_}),t===!0&&[{axis:W,start:dA,end:eA},{axis:aA,start:hA,end:X},{axis:J,start:z,end:gA}].forEach(iA=>{let{axis:UA,start:HA,end:IA}=iA;UA!==void 0&&UA.events.once(oA.Validated,()=>{od({axis:UA,start:HA,end:IA})})}),W!==void 0&&W.ghostLabel.setPropertyValue("disabled",!0),aA!==void 0&&aA.ghostLabel.setPropertyValue("disabled",!0),J!==void 0&&J.ghostLabel.setPropertyValue("disabled",!0)}function Lp(e){let{chart:A,dualAxisChanged:t,rotationChanged:i,timeIntervalInfoWasReset:r,axisLabelsBehaviorChanged:a}=e,n=$(A.uid,"config"),{rotated:o,series:u}=n,h=n.axes,g=xA(u),f=o===!0?1:0,m=o===!0?0:1,B=h?.[f]?.valueFormat,w=h?.[m]?.valueFormat,p=A.xAxes.getIndex(0),b=A.yAxes.getIndex(0),v=p===void 0||i||B!==void 0&&id({axis:p,valueFormat:B,chartType:g}),S=b===void 0||i||w!==void 0&&id({axis:b,valueFormat:w,chartType:g});return t===!0||i===!0||r===!0||a?.[0]||a?.[1]||v||S}function HQ(e){Sp(e)}function TQ(e){let{chart:A,chartConfig:t,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:a,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:u,guideTooltipFormatter:h,xAxisLabelFormatter:g,yAxisLabelFormatter:f,secondaryYAxisLabelFormatter:m,options:B,utilsStrings:w,errorStrings:p,queryObject:b}=e,v=ei(t);EQ({chart:A,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:a,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:u,guideTooltipFormatter:h,xAxisLabelFormatter:g,yAxisLabelFormatter:f,secondaryYAxisLabelFormatter:m,options:B,utilsStrings:w,errorStrings:p,queryObject:b});let S=a===!0?A.yAxes.getIndex(0):A.xAxes.getIndex(0);if(S!==void 0){S instanceof _e&&(S.dataFields.category=vs(t));let D=S.renderer,_=D.grid.template;_.location=0,D.cellStartLocation=.1,D.cellEndLocation=.9;let k=t.orderOptions?.data&&"orderBy"in t.orderOptions.data&&t.orderOptions.data.orderBy===ls.Descending,P=a===!0;k&&S instanceof he&&(P=!P),D.inversed=P}let Q=a===!0?A.xAxes.getIndex(0):A.yAxes.getIndex(0),L=a===!0?A.xAxes.getIndex(1):A.yAxes.getIndex(1);v===Be.Stacked100?(Q instanceof ae&&(Q.calculateTotals=!0),L instanceof ae&&(L.calculateTotals=!0)):(Q instanceof ae&&(Q.calculateTotals=!1),L instanceof ae&&(L.calculateTotals=!1))}function hn(e){let{value:A,axisMin:t,axisMax:i}=e,r=Number.NaN,a=i-t;return a!==0&&(r=(A-t)/a),r}function ld(e){return e!=null&&e!==0}function Ep(e){let{minimum:A,maximum:t,labelsIncrement:i,minimumValueConversion:r,maximumValueConversion:a}=e,n=A??se.gauge.axisMinimum,o=t??se.gauge.axisMaximum;n=Kl(n,r),o=Kl(o,a);let u=ld(i),h=ld(i)?i:Math.abs(o-n)/se.gauge.numberOfLabelIntervals,g=u?Math.round(Math.abs(o-n)/h):se.gauge.numberOfLabelIntervals;if(u)if(g>se.gauge.maximumNumberOfLabelIntervals)h=Math.abs(o-n),g=1;else{let f=n+g*h;f<o?(g+=1,o=n+g*h):f>o&&(o=f)}return{min:n,max:o,labelsIncrement:h,numberOfIntervals:g}}function Hp(e){let{axisConfig:A,axisMin:t,axisMax:i}=e;typeof t=="number"&&typeof i=="number"&&i-t!==0&&A.guides?.forEach(r=>{let{start:a,end:n}=r;typeof a=="number"&&(r.start=hn({value:a,axisMin:t,axisMax:i})),typeof n=="number"&&(r.end=hn({value:n,axisMin:t,axisMax:i}))})}function OQ(e){let{featureIndex:A,chartData:t,chartConfig:i}=e,{minimumFromField:r,maximumFromField:a}=i?.axes?.[0]??{},n,o;if(A>=0&&A<t.length){let u=t[A];typeof r=="string"&&!we(r)&&Number.isFinite(u[r])&&(n=u[r]),typeof a=="string"&&!we(a)&&Number.isFinite(u[a])&&(o=u[a])}return{minimumFromData:n,maximumFromData:o}}function kQ(e){let{featureIndex:A,chartData:t,x:i}=e,r=-1;if(A>=0&&A<t.length){let a=t[A];i!==void 0&&!we(i)&&Number.isFinite(a[i])&&(r=a[i])}return r}function Tp(e){let{featureIndex:A=0,chartData:t,queryConfig:i,chartConfig:r,gaugeMinMaxFromData:a}=e,{axes:n,series:o}=r,u=Is(r),{minimum:h,maximum:g}=n?.[0]??{},{x:f}=o?.[0]??{},m=se.gauge,B,w;u?{minimumFromData:B,maximumFromData:w}=OQ({featureIndex:A,chartData:t,chartConfig:r}):i!==void 0&&({minimumFromData:B,maximumFromData:w}=a);let p=B??h??m.axisMinimum,b=w??g??m.axisMaximum,v=kQ({chartData:t,featureIndex:A,x:f});return{minimum:p,maximum:b,dataValue:v}}function DQ(e){let{oldConfig:A,axisMax:t,min:i,max:r,labelsIncrement:a,numberOfIntervals:n,valueFormat:o,minimumFromField:u}=e,h=fr(o),g=!0;if(A!==void 0){let{minimum:f,minimumFromField:m,labelsIncrement:B,valueFormat:w}=A.axes[0],p=w?.intlOptions?.style!==o?.intlOptions?.style,b=ld(B)?B!==a:n!==se.gauge.numberOfLabelIntervals;g=p||i!==f||u!==m||!h&&r!==t||b}return g}var ke={InnerLabel:0,InnerLabelSecondary:1,AxisLabels:2,FirstAndLastLabels:3};function Zi(e,A){let t;switch(A){case ke.InnerLabel:t="gaugeAutoResizeInnerLabelFirstDisposer";break;case ke.InnerLabelSecondary:t="gaugeAutoResizeInnerLabelSecondDisposer";break;case ke.AxisLabels:t="gaugeAutoResizeAxisLabelsDisposer";break;case ke.FirstAndLastLabels:t="gaugeAutoResizeFirstAndLastLabelsDisposer";break}if(t!==void 0){let i=$(e.uid,t);i!==void 0&&(i.dispose(),i=void 0,TA(e.uid,{[t]:void 0}))}}function MQ(e){let{chart:A,labelList:t,scaleToAdjust:i,fontSize:r,type:a,axisConfig:n}=e,o=Number.NaN,u=Number.NaN,h=i;if(a===ke.InnerLabel){let f=t[0],m=n?.innerLabel?.content?.verticalAlignment??"middle",B=f.dy??0,w=Math.round(A.chartContainer.measuredHeight-A.radarContainer.pixelY-B),p=f.bbox.height*i,b=0;switch(m){case"bottom":b=p;break;case"top":b=-p;break;case"middle":case"baseline":b=p*.5;break}b>w&&(h=i*(w/b)),o=R.gauge.innerLabelAutoMinFontSize,u=R.gauge.innerLabelAutoMaxFontSize}else o=R.gauge.axisLabelAutoMinFontSize,u=R.gauge.axisLabelAutoMaxFontSize;let g=r*h;return g<o?h*=o/g:g>u&&(h*=u/g),h}function Ld(e){let{chart:A,type:t,labelList:i,currentScale:r,currentFontSize:a,axisConfig:n}=e,o=Number.NaN,u=Number.NaN;if(t===ke.InnerLabel){let h=typeof A.innerRadius=="number"?A.innerRadius:A.innerRadius.value;u=(A.xAxes.getIndex(0)?.measuredWidth!==0?A.xAxes.getIndex(0)?.measuredWidth??1:1)*h}else u=A.xAxes.getIndex(0)?.measuredHeight??1;if(u>1){let h=t===ke.InnerLabel?i[0]?.measuredWidth??0:i.find(g=>g.measuredWidth>0&&g.measuredHeight>0)?.measuredHeight??0;if(h>0){let g=h/u;if(g>0){let{axisLabelToInnerChartRatio:f,innerLabelToInnerChartRatio:m}=R.gauge,B=t===ke.InnerLabel?m:f;o=r*(B/g),o=MQ({chart:A,labelList:i,axisConfig:n,scaleToAdjust:o,fontSize:a,type:t}),o=Number(o.toFixed(2))}}}return Number.isFinite(o)||(o=r),o}function _Q(e){return e?.labels.content.font?.size===void 0||e?.innerLabel?.visible!==!1&&e?.innerLabel?.content?.font?.size===void 0}function mo(e){return e.some(A=>Za(A)&&A.value!==void 0)}function RQ(e){let{chart:A,axisConfig:t,axis:i}=e;if(t.labels.content.font?.size===void 0&&t.onlyShowFirstAndLastLabels!==!0){Zi(A,ke.AxisLabels),Zi(A,ke.FirstAndLastLabels);let r=()=>{i.events.once(oA.Validated,()=>{let n=ht(i,oe.GaugeTicksWithLabels);if(mo(n)){let o=n.map(m=>m.label),u=o[0].scale,h=o[0].fontSize,g=Ld({chart:A,type:ke.AxisLabels,labelList:o,currentScale:u,currentFontSize:h,axisConfig:t}),f=g/u;Number.isFinite(g)&&g>0&&(f<=.98||f>1.02)&&o.forEach(m=>{m.scale=g})}}),i.validate()};A.events.once(oA.Validated,r);let a=A.events.on(oA.SizeChanged,r);TA(A.uid,{gaugeAutoResizeAxisLabelsDisposer:a}),r()}else{Zi(A,ke.AxisLabels);let r=ht(i,oe.GaugeTicksWithLabels);r.length>0&&r.map(a=>a.label).forEach(a=>{a.scale=1})}}function KQ(e,A){let t=$(e.uid,"config")?.axes?.[0];if(t?.innerLabel?.visible!==!1&&t?.innerLabel?.content?.font?.size===void 0){let i=e.xAxes.getIndex(0)?.measuredWidth;if(i!==void 0&&i>0){let r=Ld({chart:e,type:ke.InnerLabel,labelList:[A],currentScale:A.scale,currentFontSize:A.fontSize,axisConfig:t});Number.isFinite(r)&&Math.abs(A.scale-r)>.25&&(A.scale=r,A.validate())}}else A.scale=1}function NQ(e,A){Zi(e,ke.InnerLabel),Zi(e,ke.InnerLabelSecondary);let t=e.xAxes.getIndex(0),i=()=>{t?.events.once(oA.Validated,()=>{KQ(e,A)})},r=e.events.on(oA.Validated,i),a=e.events.on(oA.SizeChanged,i);TA(e.uid,{gaugeAutoResizeInnerLabelFirstDisposer:a,gaugeAutoResizeInnerLabelSecondDisposer:r}),i()}function cd(e){return e?.labels.content.font?.size===void 0&&e?.onlyShowFirstAndLastLabels===!0}function VQ(e){let A=e.chart,t=$(A.uid,"config")?.axes?.[0],i=ht(e,oe.GaugeFirstAndLastGuides);if(mo(i)){let r=i.map(u=>u.label),a=r[0].scale,n=r[0].fontSize,o=Ld({chart:A,type:ke.FirstAndLastLabels,labelList:r,currentScale:a,currentFontSize:n,axisConfig:t});Number.isFinite(o)&&o>0&&r.forEach(u=>{Fi(u.uid,{originalWidth:u.measuredWidth/u.scale,originalHeight:u.measuredHeight/u.scale}),u.scale=o,u.validate()})}}function PQ(e){let{chart:A,axisConfig:t,axis:i}=e;if(cd(t)){Zi(A,ke.AxisLabels),Zi(A,ke.FirstAndLastLabels);let r=()=>{i.events.once(oA.Validated,()=>{VQ(i)})},a=A.events.on(oA.SizeChanged,r);TA(A.uid,{gaugeAutoResizeFirstAndLastLabelsDisposer:a}),r()}else Zi(A,ke.FirstAndLastLabels),ht(i,oe.GaugeFirstAndLastGuides).map(r=>r.label).forEach(r=>{r.scale=1})}function dd(e,A){let t=e.xAxes.getIndex(0);if(t!==void 0){let i=A??$(e.uid,"config"),{onlyShowFirstAndLastLabels:r}=i?.axes?.[0]??{};if(!t.renderer.labels.template.visible||r===!0)e.radius=new Ra(R.gauge.radius);else{let a=ht(t,oe.GaugeTicksWithLabels),{furthestLabelX:n,furthestLabelY:o}=a.reduce(({furthestLabelX:u,furthestLabelY:h,furthestPixelX:g,furthestPixelY:f},{label:m})=>{if(m?.visible&&m.bbox.width>0&&m.bbox.height>0){let B=m.pixelX,w=m.bbox.width*m.scale,p=0;B<0?p=Math.abs(B):p=B+w,p>g&&(g=p,u=m);let b=m.pixelY,v=m.bbox.height*m.scale,S=0;b<0?S=Math.abs(b):S=b+v,S>f&&(f=S,h=m)}return{furthestLabelX:u,furthestLabelY:h,furthestPixelX:g,furthestPixelY:f}},{furthestLabelX:void 0,furthestPixelX:0,furthestLabelY:void 0,furthestPixelY:0});if(n!==void 0&&o!==void 0){let u=(n.bbox.width+5)*n.scale,h=(o.bbox.height+5)*o.scale,g=typeof t.renderer.labels.template.radius=="number"?t.renderer.labels.template.radius:t.renderer.labels.template.radius.value,f=(u+g)*2+e.radarContainer.measuredWidth+qs(e.paddingLeft)+qs(e.paddingRight),m=80,B=170,w=e.htmlContainer?.clientHeight??0,p=Math.max(0,Math.min(1,(w-m)/(B-m))),b=e.radarContainer.measuredHeight+(h+g*p)*2+qs(e.paddingTop)+qs(e.paddingBottom),v=e.measuredWidth,S=e.measuredHeight,Q=v/f,L=S/b,D=(typeof e.radius=="number"?e.radius:e.radius.value)*100,_=Number((D*Q).toFixed(2)),k=Number((D*L).toFixed(2)),P=_/D,j=k/D,E=e.radarContainer.measuredWidth*P,K=e.radarContainer.measuredWidth*j,[F,W]=E<K?[_,P]:[k,j];Number.isFinite(F)&&F>=10&&F<=R.gauge.radius&&(W<.98||W>1.02)&&(e.radius=new Ra(F))}}}}function GQ(e){let A=e.xAxes.getIndex(0);A!==void 0&&(A.events.on(oA.SizeChanged,()=>dd(e)),A.events.on(oA.Validated,Ze(()=>dd(e),R.debounceTime)))}function Op(e){let A=e.hands.push(new Zh),t=R.gaugeNeedle,{startWidth:i,endWidth:r,innerRadius:a}=t;A.pin.disabled=!0,A.startWidth=i??Number.NaN,A.endWidth=r??Number.NaN,A.innerRadius=Je(a??Number.NaN);let n=e.xAxes.getIndex(0);return n!==void 0&&(A.axis=n),A}function WQ(e){let{x:A,data:t,chart:i,valueFormat:r,minimum:a,maximum:n}=e,o=Number.NaN;if(t!==void 0&&A!==void 0){let u=t.find(g=>A in g),h=Number.parseFloat(u[A]);Number.isFinite(h)&&(o=h,TA(i.uid,{gaugeData:o}))}else{let u=$(i.uid,"gaugeData");Number.isFinite(u)&&(o=u)}return fr(r)&&a!==void 0&&n!==void 0&&a!==null&&n!==null&&o!==null&&n-a!==0&&(o=hn({value:o,axisMin:a,axisMax:n})),o}function zQ(e,A){let t=A??null;if(A!=null){let i=e.xAxes.getIndex(0),r=$(e.uid,"config"),a=i.min??r?.axes?.[0].minimum??R.gauge.axisMinimum,n=i.max??r?.axes?.[0].maximum??R.gauge.axisMaximum;A<a?t=a:A>n&&(t=n)}return t}function XQ(e){let{chart:A,needle:t,gaugeValue:i}=e,r=A.hands.getIndex(0)??Op(A);if(r!==void 0){$a({element:r,fillSymbol:t?.symbol});let{startWidth:a,endWidth:n,innerRadius:o}=R.gaugeNeedle;r.value=zQ(A,i),r.pin.disabled=t?.displayPin!==!0,r.visible=t?.visible??!0,r.startWidth=t?.startWidth??a,r.endWidth=t?.endWidth??n,r.innerRadius=Je(t?.innerRadius??o)}}function YQ(e){let A=si(void 0,e.radarContainer);A.isMeasured=!1,Fi(A.uid,{isGaugeAxisInnerLabel:!0}),NQ(e,A)}function ZQ(e){let{chart:A,innerLabelConfig:t,valueFormat:i,gaugeValue:r,gaugeInnerLabelFormatter:a}=e,n=A.radarContainer.children.values.find(o=>be(o.uid,"isGaugeAxisInnerLabel")===!0);if(n!==void 0){Ft({label:n,labelConfig:t,defaults:R.gaugeInnerLabel});let o=$(A.uid,"formatLocale");n.html=nS({valueFormat:i,iLocale:A.language.locale,formatLocale:o,gaugeValue:r,innerLabelConfigContent:t?.content,gaugeInnerLabelFormatter:a}),A.radarContainer.invalidateLabels()}}function JQ(e){let A=e.axisRanges.create();return A.axisFill.fillOpacity=1,A.axisFill.disabled=!0,A.grid.strokeOpacity=1,A.grid.disabled=!1,A.tick.length=R.gaugeTicksLength,A}function qQ(e){let A=new ns;return A.disabled=!0,A.axis=e,lo(A),A.padding(10,10,10,10),Fi(A.uid,{isGaugeAxisLabel:!0}),A}function jQ(e){let{axis:A,min:t,max:i,labelsIncrement:r,numberOfIntervals:a,valueFormat:n}=e,o=fr(n),u=1,h=ht(A,oe.Ticks);h.length>0&&(u=h[0].label?.scale,h.forEach(m=>{if(Za(m)){let B=A.axisRanges.values.indexOf(m);B>=0&&A.axisRanges.removeIndex(B)}}));let g=R.gauge.numberOfTicksBetweenTwoLabels+1,f=a*g+1;for(let m=0;m<f;m+=1){let B=m===f-1,w=JQ(A),p=B?i:t+m/g*r;w.value=o?hn({value:p,axisMin:t,axisMax:i}):p,m%g===0&&(w.label=qQ(A),w.label.text=String(p),w.grid.disabled=!0,Number.isFinite(u)&&(w.label.scale=u))}}function $Q(e){let{chart:A,axis:t,onlyShowFirstAndLastLabels:i,valueFormat:r,axisLabelConfigContent:a,axisValueFormatter:n}=e;if(!i){let o=ht(t,oe.GaugeTicksWithLabels);if(mo(o)){let u=$(A.uid,"formatLocale");o.forEach(h=>{Ft({label:h.label,labelConfig:a}),Za(h)&&(h.label.html=kp({valueFormat:r,iLocale:A.language.locale,formatLocale:u,gaugeLabelConfigContent:a?.content,itemLabelValue:h.value,axisValueFormatter:n}))})}}}function AS(e,A){let t=A?.ticks?.visible??!0,i=ht(e,oe.Ticks);for(let r=0;r<i.length;r+=1){let a=i[r];JA(a.tick,t)}}function eS(e,A){if(e instanceof ae&&e.chart instanceof tt){let t=ht(e,oe.GaugeTicksWithLabels);if(mo(t)){let{onlyShowFirstAndLastLabels:i,labels:r}=A,a=(r?.visible??!0)&&i!==!0;t.forEach(n=>{JA(n.label,a)})}}}function tS(e){let{labels:A,guides:t,onlyShowFirstAndLastLabels:i}=e,r=t??[];if(i===!0){let a={type:I.Guide,start:Number.NaN,style:{type:"esriSLS"},name:""};r.push({...a,start:e.minimum??Number.NaN,name:R.gaugeFirstLabelId,label:{...A.content,text:`${e.minimum}`}},{...a,start:e.maximum??Number.NaN,name:R.gaugeLastLabelId,label:{...A.content,text:`${e.maximum}`}})}e.guides=r}function iS(e){ht(e,oe.GaugeFirstAndLastGuides).forEach(A=>{A.label.adapter.keys().includes("dx")||A.label.adapter.add("dx",t=>{let i=t;if(A.label.measuredWidth>0){let r=$(e.chart.uid,"config")?.axes?.[0],a=be(A.label.uid,"originalWidth"),n=cd(r)&&a!==void 0&&a===A.label.measuredWidth&&A.label.scale!==1;i=Math.round((n?a*A.label.scale:A.label.measuredWidth)/2),A.id===R.gaugeLastLabelId&&(i*=-1)}return i}),A.label.adapter.keys().includes("dy")||A.label.adapter.add("dy",t=>{let i=t;if(A.label.measuredHeight>0){let r=$(e.chart.uid,"config")?.axes?.[0],a=be(A.label.uid,"originalHeight"),n=cd(r)&&a!==void 0&&a===A.label.measuredHeight&&A.label.scale!==1;i=Math.round((n?a*A.label.scale:A.label.measuredHeight)/2)}return i})})}function rS(e){let{chart:A,axis:t,onlyShowFirstAndLastLabels:i,valueFormat:r,gaugeLabelConfigContent:a,axisValueFormatter:n}=e;if(i){let o=ht(t,oe.GaugeFirstAndLastGuides),u=$(A.uid,"formatLocale");o.forEach(h=>{h?.label!==void 0&&Za(h)&&(h.label.html=kp({valueFormat:r,iLocale:A.language.locale,formatLocale:u,gaugeLabelConfigContent:a?.content,itemLabelValue:h.value,axisValueFormatter:n}))}),iS(t)}}function aS(e){let{chart:A,valueFormat:t,queryObject:i,errorStrings:r}=e;A.xAxes.clear(),cn({isXAxis:!0,axes:A.xAxes,valueFormat:t,queryObject:i,errorStrings:r});let a=A.xAxes.getIndex(0);a instanceof ae&&(a.renderer.labels.template.disabled=!0,a.renderer.ticks.template.disabled=!0,Op(A),YQ(A),GQ(A),a.maxZoomFactor=1)}function nS(e){let{valueFormat:A,iLocale:t,formatLocale:i,innerLabelConfigContent:r,gaugeValue:a,gaugeInnerLabelFormatter:n}=e,o="";if(Number.isFinite(a))if(n!==void 0)o=n(a);else{let u=Ri(A),h=ni({type:I.NumberAxisFormat,iLocale:t,formatLocale:i});h.numberFormat=u,o=h.format(`${a}`),o=wi({textSymbol:{type:GA.TS,...r,text:o},format:"html"}),o=Re(o)}return o}function kp(e){let{valueFormat:A,iLocale:t,formatLocale:i,gaugeLabelConfigContent:r,itemLabelValue:a,axisValueFormatter:n}=e,o="";if(Number.isFinite(a))if(n!==void 0)o=n(a);else{let u=Ri(A),h=ni({type:I.NumberAxisFormat,iLocale:t,formatLocale:i});h.numberFormat=u,o=h.format(`${a}`),o=wi({textSymbol:{type:GA.TS,...r,text:o},format:"html"}),o=Re(o)}return o}function sS(e){let{chart:A,chartConfig:t,data:i,queryObject:r,axisValueFormatter:a,gaugeInnerLabelFormatter:n,utilsStrings:o,errorStrings:u,gaugeMinMaxFromData:h}=e,{axes:g,series:f}=t,m=Is(t),B=xA(t.series),{featureIndex:w,x:p}=f[0],b=g?.[0],v=A.xAxes.getIndex(0),S={...b};if(v!==void 0&&S!==void 0){let{valueFormat:Q,needle:L,innerLabel:D,onlyShowFirstAndLastLabels:_}=S;id({axis:v,valueFormat:Q,chartType:B})&&cn({isXAxis:!0,axes:A.xAxes,valueFormat:Q,queryObject:r,errorStrings:u});let k=Tp({featureIndex:w,chartData:A.data,chartConfig:t,gaugeMinMaxFromData:h,queryConfig:$(A.uid,"queryConfig")});S.minimum=k.minimum,S.maximum=k.maximum;let{min:P,max:j,labelsIncrement:E,numberOfIntervals:K}=Ep(S);DQ({oldConfig:$(v.chart.uid,"config"),axisMax:v.max,min:P,max:j,labelsIncrement:E,numberOfIntervals:K,valueFormat:Q})&&jQ({axis:v,min:P,max:j,labelsIncrement:E,numberOfIntervals:K,valueFormat:Q});let F={...S};fr(Q)?(F.minimum=0,F.maximum=1,Hp({axisConfig:F,axisMin:S.minimum,axisMax:S.maximum})):(F.minimum=P,F.maximum=j),tS(F),eo({axis:v,axisConfig:F,axisConfigIndex:0,chartType:I.GaugeSeries,axisValueFormatter:a,isTimeOnlyField:!1,setTimeZone:!1,utilsStrings:o,errorStrings:u}),v.renderer.labels.template.disabled||(v.renderer.labels.template.disabled=!0),v.renderer.ticks.template.disabled||(v.renderer.ticks.template.disabled=!0),RQ({chart:v.chart,axis:v,axisConfig:S}),PQ({chart:A,axis:v,axisConfig:S}),AS(v,S),$Q({chart:A,axis:v,onlyShowFirstAndLastLabels:_??!1,valueFormat:Q,axisLabelConfigContent:S.labels,axisValueFormatter:a}),rS({chart:A,axis:v,onlyShowFirstAndLastLabels:_??!1,valueFormat:Q,gaugeLabelConfigContent:S.labels,axisValueFormatter:a});let W=m?k?.dataValue:WQ({x:p,data:i,chart:A,minimum:S.minimum,maximum:S.maximum,valueFormat:Q});XQ({chart:A,needle:L,gaugeValue:W}),ZQ({chart:A,innerLabelConfig:D,valueFormat:Q,gaugeValue:W,gaugeInnerLabelFormatter:n}),eS(v,S),dd(A,t),A.validateData()}}function oS(e){e.background.fill=fa(R.backgroundColor)}function po(e,A){e.background.fill=fa(A??R.backgroundColor)}function lS(e){let A=fp(R.headerContainer,e),t=si(R.title,A),i=si(R.subtitle,A);return e instanceof ml&&(ao(e,t),ao(e,i),un({chart:e,label:t,labelType:zA.ChartTitle}),un({chart:e,label:i,labelType:zA.ChartSubTitle})),bF(A),{headerContainer:A,title:t,subtitle:i}}function Co(e,A){let{title:t,subtitle:i,headerContainer:r}=e;Ft({label:t,labelConfig:A?.title,defaults:R.titleLabel}),Ft({label:i,labelConfig:A?.subtitle,defaults:R.titleLabel}),gp(r,t.disabled&&i.disabled),Tr({chart:t.parent,label:t,labelType:zA.ChartTitle}),Tr({chart:i.parent,label:i,labelType:zA.ChartSubTitle})}function cS(e){let A=fp(R.footerContainer,e),t=si(R.footer,A);return e instanceof ml&&(ao(e,t),un({chart:e,label:t,labelType:zA.ChartFooter})),{footerContainer:A,footer:t}}function wo(e,A){let{footer:t,footerContainer:i}=e;Ft({label:t,labelConfig:A,defaults:R.footer}),gp(i,t.disabled||A?.content.text===""),Tr({chart:t.parent,label:t,labelType:zA.ChartFooter})}function Dp(e){if(e instanceof ZA){let A=new Cl,t=new Cl;A.disabled=!0,t.disabled=!0,A.marginTop=-10,t.marginRight=0,e.scrollbarX=A,e.scrollbarY=t}}function dS(e,A){let t=A?0:-1;e.thumb.tabindex=t,e.startGrip.tabindex=t,e.endGrip.tabindex=t}function uS(e,A){if(A!==void 0){let t=Ds(A);[e.background,e.startGrip.background,e.endGrip.background,e.thumb.background,e.background.states.getKey("default")?.properties,e.startGrip.background.states.getKey("default")?.properties,e.endGrip.background.states.getKey("default")?.properties,e.thumb.background.states.getKey("default")?.properties,e.startGrip.background.states.getKey("hover")?.properties,e.endGrip.background.states.getKey("hover")?.properties,e.thumb.background.states.getKey("hover")?.properties,e.startGrip.background.states.getKey("down")?.properties,e.endGrip.background.states.getKey("down")?.properties,e.thumb.background.states.getKey("down")?.properties].forEach(i=>{i!==void 0&&(i.fill=t)})}}function hS(e,A){typeof A=="number"&&Number.isFinite(A)&&(e.orientation==="horizontal"?(e.height=A,e.minHeight=A):(e.width=A,e.minWidth=A))}function fS(e,A){if(typeof A=="number"&&Number.isFinite(A)){let t=A/30;e.startGrip.scale=t,e.endGrip.scale=t}}function gS(e,A){typeof A=="number"&&Number.isFinite(A)&&(e.orientation==="horizontal"?e.marginBottom=A:e.marginLeft=A,e.parent?.invalidateLayout())}function Mp(e){let{chart:A,scrollbarXConfig:t,scrollbarYConfig:i}=e;if(A instanceof ZA){let r=$(A.uid,"isRotated");(A.scrollbarX===void 0||A.scrollbarY===void 0)&&Dp(A);let{scrollbarX:a,scrollbarY:n}=A;[a,n].forEach(o=>{let u=o.orientation==="horizontal"&&r!==!0||o.orientation==="vertical"&&r===!0?t:i,h=u?.visible!==!0;if(o.disabled=h,dS(o,!h),u!==void 0&&!h){let{width:g,color:f,gripSize:m,margin:B}=u;gS(o,B),uS(o,f),fS(o,m),hS(o,g)}})}}function BS(e,A){e.columns.each(t=>{(t.dataItem?.dataContext)[A]===0&&(t.strokeOpacity=0)})}function mS(e,A){let t=e.chart.legend.events.on(oA.SizeChanged,()=>{qi({element:e.legendDataItem?.marker.children.getIndex(0),stylingInfo:A}),e.chart.legend.isReady()&&(t.dispose(),e.chart.legend.invalidate())})}function pS(e){let{series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,rendererType:o}=e,u=A.dataFields.valueY??A.dataFields.valueX??t.y,h=!1,g=new Set,f,m=t.fillSymbol,B={seriesConfig:t,seriesIndex:i,seriesSymbol:m,colorMatch:n,isChartFillSymbol:!0},w={},p={},b=kl(i);if(A.columns.length===0?w=Fr({seriesConfig:t,seriesIndex:i,seriesSymbol:m??b,element:new is,colorMatch:n,isChartFillSymbol:!0}):A.columns.each(v=>{let S=v.dataItem?.dataContext;if(Number.isFinite(S?.[u])){let Q=Mt({dataItem:S,seriesConfig:t,chartSubType:a,colorMatch:n,rendererType:o}),L=S[R.xAxisField]===R.nullValue,D=(L&&t.nullCategory?.symbol!==void 0?t.nullCategory.symbol:m)??b;w=Fr({...B,seriesSymbol:D,element:v,rendererSymbol:Q}),qi({element:v,stylingInfo:w.stylingInfo}),L||(g.add(JSON.stringify(w.symbolWithColorInfo)),p=w)}}),r>1){let v=A.chart.legend.markers.values;v.length!==0?v.forEach(S=>{if(S.dataItem instanceof Bi){let Q=S.dataItem.marker.children.getIndex(0);Q!==void 0&&Q.baseSprite?.parent instanceof Ie?qi({element:Q,stylingInfo:p.stylingInfo}):h=!0}}):h=!0}return h&&mS(A,p.stylingInfo),g.size<=1&&(f=p.symbolWithColorInfo??m),BS(A,u),f}function CS(e){let{series:A,seriesSymbolMapForEvent:t,seriesIndexMapper:i,seriesIndex:r,colorMatch:a,rendererType:n}=e,o=e.seriesConfig,u=$(A.chart.uid,"config"),h=u?.series.length??0,g=MA(u?.series),f=pS({series:A,seriesConfig:o,seriesIndex:r,numberOfSeries:h,chartSubType:g,colorMatch:a,rendererType:n});t.set(i.get(o.id)??r,f),t.size===h&&ii({data:t,htmlContainer:A.chart.htmlContainer,chartId:A.chart.id,colorMatchApplied:co(A.chart)})}function _p(e){let{seriesConfig:A,series:t,seriesIndexMapper:i,rotationChanged:r,colorMatch:a,stackedType:n,rendererType:o,seriesIndex:u,seriesSymbolMapForEvent:h,queryObject:g}=e,{name:f}=A,m=$(t.chart.uid,"config"),B=vt({config:m}),w=MA(m?.series);JA(t,A.visible);let p=f,b=t.dataFields?.customValue??"";(w===bA.BarAndLineSplitBy||w===bA.BarAndLineSplitByNoAggregation)&&(p=Wl({queryObject:g,fieldName:aa(b),fieldValue:p})??p),Ca(t,p),wd({series:t,seriesConfig:A,rotationChanged:r,stackedType:n,isRotated:B}),CS({series:t,seriesConfig:A,seriesIndex:u,seriesIndexMapper:i,colorMatch:a,rendererType:o,seriesSymbolMapForEvent:h}),Et(t.uid,{barSeriesLastUpdate:{numberOfColumnsUpdated:t.columns.length,updateProps:e}})}function wS(e){e.events.on(oA.Validated,()=>{let A=He(e.uid,"barSeriesLastUpdate");if(A!==void 0){let{numberOfColumnsUpdated:t,updateProps:i}=A;e.columns.length>t&&_p(i)}})}function bS(e){let{chart:A,chartConfig:t,seriesIndex:i,axisList:r=[],hideLoaderHandle:a,selectionTheme:n,queryObject:o,errorStrings:u}=e,{rotated:h}=t,g=t.series[i],{y:f,assignToSecondValueAxis:m}=g,B=new Ie;Mr(B,a),B.id=g.id;let w,p;h!==!0?(w=r[0],p=m===!0&&r[2]?r[2]:r[1]):(w=m===!0&&r[2]?r[2]:r[0],p=r[1]),w!==void 0&&(B.xAxis=w),p!==void 0&&(B.yAxis=p);let b=A instanceof ZA?vt({chart:A}):!1,v=MA(t.series)!==bA.BarAndLineSplitByNoAggregation?f:`${f}_${Us({where:g.query?.where,keepSurroundingQuotes:!1,escape:!1})}`;b?B.dataFields.valueX=v:B.dataFields.valueY=v;let S=b?r[1]:r[0];if(S!==void 0){let Q=ap(S,b);B.dataFields[Q]=R.xAxisField,B.baseAxis=S}return wd({series:B,seriesConfig:g,rotationChanged:!1,stackedType:t.stackedType,isRotated:b}),B.dataFields.customValue=g?.query?.where,dp(B.columns.template,B),B.columns.template.width=Je(100),Dr({element:B.columns.template,customSelectionTheme:n}),fn({chart:A,element:B.columns.template,queryObject:o,errorStrings:u}),xd(B),wS(B),kr(B),B}function yS(e){let{seriesConfig:A,series:t,seriesIndex:i,axes:r,utilsStrings:a,fieldList:n,queryObject:o,stackedType:u,options:h}=e;t.id=A.id;let g=vt({chart:t.chart});uQ({series:t,seriesType:I.BarSeries,isRotated:g,stackedType:u,hideOversizedSideBySideLabels:A.hideOversizedSideBySideLabels,hideOversizedStackedLabels:A.hideOversizedStackedLabels,dataLabelsConfig:A.dataLabels,yAxisValueFormat:r[1].valueFormat,customDataLabelFormatter:h?.dataLabelFormatter}),uo({styleCallback:_p,callbackProps:e,series:t,seriesConfig:A,onReadyEvent:!0}),hp({series:t,seriesConfig:A,fieldList:n,queryObject:o,utilsStrings:a,seriesIndex:i,tooltipFormatter:h?.tooltipFormatter})}function vS(e){e.labels.template.adapter.add("html",(A,t)=>{let i=He(e.uid,"pieChartDataLabelFormatter"),r=A??"",{dataItem:a}=t;if(a instanceof $t){let{slice:n}=a;if(n!==void 0&&!ha(n))r="";else if(i!==void 0){let{value:o,percent:u}=a.values?.value??{};if(o!==void 0&&o!==0){let h=`${a.properties?.category??A}`;r=i(h,o,u)}}}return we(r)&&(r=R.htmlEmptyContent),Re(r)})}function FS(e){let A=e.labels.template;A.maxWidth=R.pieChart.dataLabels.maxWidth??Number.NaN,A.wrap=R.pieChart.dataLabels.wrap??!0,A.events.on(oA.Over,t=>{let{dataItem:i}=t.target??{};i instanceof $t&&i.slice.showTooltip()}),vS(e)}function xS(e,A){let{numericValueFormat:t,percentValueFormat:i,displayCategoryOnDataLabel:r,displayNumericValueOnDataLabel:a,displayPercentageOnDataLabel:n,valuePrefix:o,valueSuffix:u,percentagePrefix:h,percentageSuffix:g,dataLabelsCharacterLimit:f}=A,m=Fd({iLocale:e.chart.language.locale,pieChart:e.chart,valueIntlOptions:t?.intlOptions,percentageIntlOptions:i?.intlOptions,displayNumericValue:a??R.pieChart.displayNumericValueOnDataLabel,displayPercentage:n??R.pieChart.displayPercentageOnDataLabel,valuePrefix:o,valueSuffix:u,percentagePrefix:h,percentageSuffix:g}),B=ms(f),w=Ci(e.rtl," ");return(p,b,v)=>{let S=m(p,b,v),Q=r??R.pieChart.displayCategoryOnDataLabel?B(p):"",L=we(Q)?"":`${Q}${w}`;return L=`${L}${S}`,A.dataLabels?.content!==void 0&&(L=wi({textSymbol:{...A.dataLabels.content,text:L},format:"html",defaults:{...R.pieChart.dataLabels,wrap:A.optimizeDataLabelsOverlapping??R.pieChart.dataLabels.wrap}})),L}}function QS(e){let{pieSeries:A,seriesConfig:t,dataLabelFormatter:i}=e,{dataLabels:r}=t,a=t.dataLabelsOffset??R.pieChart.dataLabelsOffset,n=t.dataLabelsInside??R.pieChart.dataLabelsInside;Et(A.uid,{pieChartDataLabelFormatter:i??xS(A,t)}),Ft({label:A.labels.template,labelConfig:r,defaults:{...R.pieChart.dataLabels,wrap:t.optimizeDataLabelsOverlapping??R.pieChart.alignDataLabels},skipSettingText:!0}),A.alignLabels=!n&&(t.alignDataLabels??R.pieChart.alignDataLabels);let o=A.labels.template.radius;A.chart.invalidateData(),(n&&o!==Je(-40)||!n&&o===Je(-40)||a!==void 0&&Number.isFinite(a)&&o!==a)&&(A.labels.template.radius=n?Je(-40):a,A.invalidate())}function SS(e,A){let t=(w,p,b)=>R.htmlEmptyContent,{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:a,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:u,displayPercentageOnTooltip:h,valuePrefix:g,valueSuffix:f,percentagePrefix:m,percentageSuffix:B}=A;return t=(w,p,b)=>{let v=R.htmlEmptyContent,S=Fd({iLocale:e.chart.language.locale,pieChart:e.chart,valueIntlOptions:(a??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:u??R.pieChart.displayNumericValueOnTooltip,displayPercentage:h??R.pieChart.displayPercentageOnTooltip,valuePrefix:g,valueSuffix:f,percentagePrefix:m,percentageSuffix:B})("",p,b),Q=!we(w)&&(o??R.pieChart.displayCategoryOnTooltip);if(Q&&(v=`<b>${w}</b>`),!we(S)){let L=_l(S);v=Q?`${v}<br />${L}`:L}return v},t}function US(e){if(e.tooltip!==void 0){let A=e.fill;A instanceof $h?A=A.stroke:A instanceof Af&&(A=A.backgroundFill),e.tooltip.background.fill=A}}function IS(e){let A=e.slices.template;A.tooltipHTML=R.htmlEmptyContent,A.adapter.add("tooltipHTML",(t,i)=>{let r=t??"",{chart:a}=e;if(a!==void 0&&i.tooltip!==void 0){let n=$(a.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)i.tooltip.disabled=!0;else{let u=He(e.uid,"pieChartTooltipFormatter");if(u!==void 0){let{dataItem:h}=i;if(h instanceof $t){let g=h.properties.category??"",f=h.dataContext,m=yi(f);m===void 0&&(m=g);let B=h.values?.value?.value,w=h.values?.value?.percent;typeof B=="number"&&B!==0&&n?.series?.[0]?.dataTooltipVisible!==!1?(i.tooltip.disabled=!1,US(i),r=u(`${g}`,B,w,m)):i.tooltip.disabled=!0}}}}return Re(r)})}function LS(e){let{series:A,seriesConfig:t,tooltipFormatter:i}=e;Et(A.uid,{pieChartTooltipFormatter:i??SS(A,t)})}function ES(e){e.ticks.template.adapter.add("disabled",(A,t)=>t.dataItem?.values?.value?.value===0||!Number.isFinite(t.dataItem?.values?.value?.value)||A===!0)}function HS(e){let{chartData:A,pieSeries:t,pieSlicesSymbols:i,seriesConfig:r}=e;if(t.slices.length===0){let a=[];A?.forEach(n=>{let o=Ns({dataContext:n,pieSlicesSymbols:i,seriesConfig:r});a.push(Ds(o.color))}),a.length>0&&(t.colors.list=a)}}function TS(e){let{seriesConfig:A,hideLoaderHandle:t,selectionTheme:i}=e,{x:r,y:a,id:n,visible:o}=A,u=new gt;u.id=n,Mr(u,t),u.dataFields.value=a,u.dataFields.category=r;let h=R.pieChart;u.startAngle=h.min,u.endAngle=360+u.startAngle,ES(u),IS(u),FS(u);let g=i!==void 0&&i.selectedElementsTheme?.transformation?.opacity===void 0?{...i,selectedElementsTheme:{...i?.selectedElementsTheme,transformation:{...i?.selectedElementsTheme?.transformation,opacity:1}}}:i;return Dr({element:u.slices.template,useNativeState:!0,customSelectionTheme:g}),u.slices.template.states.removeKey("hover"),kr(u),u.hidden=o===!1,xd(u),u}function OS(e){let{series:A,pieSlicesSymbols:t,seriesConfig:i,selectionTheme:r}=e;A.defaultState.reset(),A.slices.each((a,n)=>{let o=a.dataItem?.dataContext,u=Ns({dataContext:o,pieSlicesSymbols:t,seriesConfig:i}),h=$a({element:a,fillSymbol:u,defaultToColorFromRamp:!0,colorRampIndex:n,isChartFillSymbol:!0});r!==void 0&&r.selectedElementsTheme===void 0&&qi({element:a,stylingInfo:h,stateKey:Ht.Active})})}function kS(e,A){let{ticks:t}=A,i=t?.visible===!1||A.dataLabelsInside===!0||A.dataLabels===void 0||A.dataLabels?.visible===!1||A.dataLabelsOffset!==void 0&&A.dataLabelsOffset<=0;e.ticks.template.disabled=i,e.ticks.template.strokeOpacity=R.pieChart.ticksOpacity;let r=t?.lineSymbol??Ga({color:El});i&&(r.width=0),vr({element:e.ticks.template,lineSymbol:r,visible:!i})}function DS(e){let{chart:A,seriesConfig:t,series:i,pieSlicesSymbols:r,options:a,utilsStrings:n,queryObject:o}=e,{tooltipFormatter:u,dataLabelFormatter:h}=a??{},{x:g,y:f,id:m,innerRadius:B,startAngle:w,endAngle:p}=t;i.id=m;let b=MA([t]),v=R.pieChart;i.dataFields.value=b!==bA.PieFromFields?f:hr,i.dataFields.category=b!==bA.PieFromFields?g:ur;let S=A.radius instanceof Ra?A.radius.value:A.radius;A.innerRadius=Je((B??v.innerRadius)*S),i.startAngle=w??v.min,i.endAngle=p??360+i.startAngle,QS({pieSeries:i,seriesConfig:t,dataLabelFormatter:h}),HS({chartData:A.data,pieSeries:i,pieSlicesSymbols:r,seriesConfig:t}),uo({styleCallback:OS,callbackProps:e,series:i,seriesConfig:t}),kS(i,t),LS({series:i,seriesConfig:t,tooltipFormatter:u})}async function Fm(e){let{chart:A,hitSlice:t,multiSelect:i=!1,queryObject:r,errorStrings:a}=e,n=[],o=$(A.uid,"config"),u=A.series.getIndex(0);if(o&&u!==void 0){let h=jm(u),g=ji(u),f={element:{},xAxisField:h,yAxisField:g,seriesIndex:0,chartConfig:o};u.slices.each((m,B)=>{m.isActive&&(m===t||i||m.dataItem instanceof $t&&m.dataItem.label.isHover)?ga(m.dataItem?.dataContext)?(Ks({groupOfSlicesDataContext:m.dataItem?.dataContext})??[]).forEach(w=>{n.push({...f,element:void 0,elementDataContext:w,elementIndex:B})}):n.push({...f,element:m,elementDataContext:m.dataItem?.dataContext,elementIndex:B}):Tt({element:m,selected:!1,useNativeState:!0})}),n.forEach(m=>{Tt({element:m.element,selected:!0,useNativeState:!0})}),await Bn({chart:A,listSelectedElements:n,selectionSource:Le.SelectionByClick,queryObject:r,errorStrings:a})}A.feedLegend()}function MS(e,A,t){let i=async n=>{let{target:o}=n;if(op(e)&&e.series.getIndex(0)?.slices.template.togglable){let u=fo(n,e);if(o instanceof Jh)await Fm({chart:e,multiSelect:u,hitSlice:o,queryObject:A,errorStrings:t});else if(o instanceof Ka){let h=o.dataItem;if(h instanceof $t){let{slice:g}=h;g.isActive=!g.isActive,await Fm({chart:e,multiSelect:u,hitSlice:g,queryObject:A,errorStrings:t})}}else o===e.background&&await Bn({chart:e,listSelectedElements:[],selectionSource:Le.SelectionByClick,queryObject:A,errorStrings:t})}},r=e.series.getIndex(0)?.slices.template;r!==void 0&&(r.events.on(oA.Hit,i),r.events.on(oA.DoubleHit,i));let a=e.series.getIndex(0)?.labels.template;a!==void 0&&a.events.on(oA.Hit,i),e.background.events.on(oA.Hit,i),e.background.events.on(oA.DoubleHit,i)}function xm(e){return e?.offsetParent!==null}function _S(e,A){e!==void 0&&A!==void 0&&window.IntersectionObserver!==void 0&&new IntersectionObserver(t=>{t[0].intersectionRatio>0&&($(e.uid,"chartWasCreatedWhileHidden")===!0?(e.reinit(),e.events.once(oA.Validated,()=>{e.reinit()}),e instanceof ZA&&Bo(e),TA(e.uid,{chartWasCreatedWhileHidden:!1})):$(e.uid,"chartWasUpdatedWhileHidden")===!0&&(e.reinit(),TA(e.uid,{chartWasUpdatedWhileHidden:!1})))},{root:null}).observe(A)}function RS(e,A){let t=R.pieChart.dataLabels.maxWidth??100;if(e!=null){let{alignDataLabels:i,dataLabelsOffset:r=R.pieChart.dataLabelsOffset,optimizeDataLabelsOverlapping:a,dataLabels:n,dataLabelsInside:o}=e;if(n?.visible===!0&&i===!0&&o!==!0&&a===!0){let u=typeof A.radius=="number"?A.radius/100:A.radius.value,h=A.chartContainer.measuredWidth,g=A.chartContainer.measuredHeight,f=u*Math.min(h,g),m=5,B=Math.floor((h-f)/2)-m-r;t=Math.min(B,t-m);let w=30;t<w&&(t=w)}}return t}function Rp(e){if(wt(e)){let A=typeof e.radius=="number"?e.radius:e.radius.percent;TA(e.uid,{pieChartRadius:A});let t=()=>{let i=Je($(e.uid,"pieChartRadius")??R.pieChart.chartOptimizedRadius),r=i,a=$(e.uid,"config");if(a!==void 0){let{series:n}=a,{innerRadius:o,optimizeDataLabelsOverlapping:u,alignDataLabels:h,dataLabelsOffset:g=R.pieChart.dataLabelsOffset,dataLabels:f,dataLabelsInside:m}=n[0];if(f?.visible===!0&&h===!0&&u===!0&&m!==!0){let w=R.pieChart.chartOptimizedRadius/100,p=500,b=150,v=.6,S=.5,Q=1,L=e.chartContainer.measuredWidth-g*2,D=Math.max(L-b,0)/(p-b),_=D<1?Math.max(D**Q*v,.4):Math.min(D**S*v,w);r=Je(_*100)}else r=Je(R.pieChart.chartRadius);i.value.toFixed(1)!==r.value.toFixed(1)&&(TA(e.uid,{pieChartRadius:r.percent}),e.radius=r,e.innerRadius=Je((o??R.pieChart.innerRadius)*r.value));let B=e.series?.values?.[0];B instanceof gt&&(B.labels.template.maxWidth=RS(a?.series[0],e))}return r};e.events.on(oA.SizeChanged,Ze(t,R.debounceTime)),t(),e.validate()}}function Kp(e){if(e instanceof fe)Rp(e);else if(!(e instanceof tt)){let A=()=>{let i=$(e.uid,"config"),{chartPaddingMinSize:r,chartPaddingRightWhenLegendNotOnRight:a,chartContainerPaddingTopWhenRotated:n,chartContainer:o}=R,u=i?.series,h=xA(u),g=vt({config:i}),f=u?.[0]?.dataLabels?.visible??!0,m=R.chartDefaultPaddingRight;if(g&&f&&(h===I.LineSeries||h===I.ComboLineAndBarSeries||h===I.BarSeries&&(i?.stackedType??Dl())===Be.Side)){let w=0,p=b=>be(b.uid,"isDataLabel")??!1;e.series.each(b=>{let v=b.bullets.values.find(p);v!==void 0&&v.clones.each(S=>{let Q=S.measuredWidth;switch(S.horizontalCenter){case"middle":Q/=2;break;case"right":Q*=-1;break}let L=S.pixelX+Q;L>w&&(w=L,m=Q)})})}m>=0&&(e.chartContainer.paddingRight=m),e.chartContainer.paddingTop=g?n:o.paddingTop;let B=i?.legend?.visible!==!1&&i?.legend?.position===ne.Right;e.paddingRight=B?r:a},t=0;e.series.each(i=>{i.events.once(oA.Validated,()=>{t+=1,t===e.series.length&&A()})})}}function KS(e,A){e.adapter.add("criticalError",t=>(t.message=A.errors.simpleError,t))}qr.classNamePrefix="arcgis-charts-";function Ed(e){let{chart:A,localeInfo:t,chartLocale:i}=e;qr.defaultLocale=i,A.language.locale=i,TA(A.uid,{formatLocale:t.formatLocale}),A.rtl=t.rtl}function bo(e){let{chart:A,actionMode:t,cursorRange:i}=e;if(wt(A)){let r=t??$(A.uid,"actionMode")??R.actionMode;TA(A.uid,{actionMode:r});let a=$(A.uid,"filterBySelection");switch(r){case RA.MonoSelection:case RA.MultiSelection:case RA.MultiSelectionWithCtrlKey:a!==!0?tF(A):jc(A);break;case RA.Zoom:jc(A);break;case RA.None:ba({chart:A,selectionSource:Le.ClearSelection,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1}),jc(A);break}Dv({chart:A,actionMode:r,cursorRange:i})}}function NS(e,A){A&&(e.tapToActivate=!0,e.tapTimeout=3e3,e.responsive.enabled=!0)}function VS(e){let{chart:A,axesConfig:t,chartType:i,isRotated:r,errorStrings:a,queryObject:n}=e;switch(mi({chartType:i,axesConfig:t,errorStrings:a}),i){case I.GaugeSeries:{Rt(n),A instanceof tt&&t?.[0]?.valueFormat!==void 0&&aS({chart:A,valueFormat:t[0].valueFormat,queryObject:n,errorStrings:a});break}case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:case I.BoxPlotSeries:{HQ({chart:A,chartType:i,isRotated:r,axesConfig:t,queryObject:n,errorStrings:a});break}}}function Hd(e){let{chart:A,chartConfig:t,chartConfig:{axes:i},rotationChanged:r,axisLabelsBehaviorChanged:a,chartType:n,isRotated:o,dualAxisChanged:u,timeIntervalInfoWasReset:h,data:g,queryObject:f,guideTooltipFormatter:m,xAxisLabelFormatter:B,yAxisLabelFormatter:w,secondaryYAxisLabelFormatter:p,gaugeInnerLabelFormatter:b,options:v,utilsStrings:S,errorStrings:Q,gaugeMinMaxFromData:L}=e;switch(mi({chartType:n,axesConfig:i,errorStrings:Q}),n){case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:case I.BoxPlotSeries:{A instanceof ZA&&TQ({chart:A,chartConfig:t,rotationChanged:r,axisLabelsBehaviorChanged:a,isRotated:o,dualAxisChanged:u,timeIntervalInfoWasReset:h,timeIntervalInfo:g?.timeIntervalInfo??$(A.uid,"timeIntervalInfo"),guideTooltipFormatter:m,xAxisLabelFormatter:B,yAxisLabelFormatter:w,secondaryYAxisLabelFormatter:p,options:v,utilsStrings:S,errorStrings:Q,queryObject:f});break}case I.GaugeSeries:{A instanceof tt&&(Rt(f),sS({chart:A,chartConfig:t,data:(g??A.data).dataItems,queryObject:f,axisValueFormatter:B,gaugeInnerLabelFormatter:b,utilsStrings:S,errorStrings:Q,gaugeMinMaxFromData:L}));break}}}function Np(e){let{chart:A,chartConfig:t,hideLoaderHandle:i,options:r,utilsStrings:a,errorStrings:n,queryObject:o}=e,{selectionTheme:u,ignoreSmoothRenderingLimit:h}=r??{};A.series.clear();let g,f,m=[],B=A instanceof ZA?[A.xAxes.getIndex(0),A.yAxes.getIndex(0),A.xAxes.getIndex(1)??A.yAxes.getIndex(1)]:void 0,w={hideLoaderHandle:i,selectionTheme:u,utilsStrings:a},p={...w,axisList:B};if(A instanceof ZA)for(let v=0;v<t.series.length;v+=1){let S=t.series[v];if(f=xA([S]),bi(t))g=rx({...p,chart:A,axisList:B,chartConfig:t,seriesIndex:v,queryObject:o,errorStrings:n}),m.push(...g.flat());else switch(f){case I.BarSeries:{g=bS({...p,chart:A,chartConfig:t,seriesIndex:v,queryObject:o,errorStrings:n}),m.push(g);break}case I.LineSeries:{Rt(o),g=JF({...p,chart:A,chartConfig:t,seriesIndex:v,ignoreSmoothRenderingLimit:h,queryObject:o,errorStrings:n}),m.push(g);break}}}else A instanceof fe&&t.series[0].type===I.PieSeries&&(g=TS({...w,seriesConfig:t.series[0]}),m.push(g));let b=df({chartConfig:t,queryObject:o,chartData:A.data});b.length>0&&(A.colors.list=b.map(v=>{let[S,Q,L,D]=v;return new Ph({r:S,g:Q,b:L,a:D})})),m.length>0&&A.series.pushAll(m),rF(A)}function Td(e){let{chart:A,chartConfig:t,chartConfig:{series:i,axes:r,chartRenderer:a},seriesIndexMapper:n,rotationChanged:o,seriesReordered:u,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:g,chartData:f,queryObject:m,options:B,dataWasUpdated:w,sortChanged:p,groupOfSlicesWasUpdated:b,pieSlicesSymbols:v,utilsStrings:S,errorStrings:Q}=e,L=A.series.values,D=new Map,_=t.series.length,k=pr(t),P=ei(t),j=Nt(m,B?.popupTemplateFieldInfosEnabled),E=Kt(m),K=Cs(a,pt(E)?void 0:E?.renderer);for(let[F,W]of i.entries()){let aA=xA([W]),J=L[F],dA={numberOfSeries:_,series:J,seriesConfig:W,seriesIndex:F,colorMatch:k,queryObject:m,rendererType:K,options:B,dataWasUpdated:w,fieldList:j,sortChanged:p,utilsStrings:S},eA={...dA,axes:r,seriesIndexMapper:n},hA=J;if(A instanceof ZA&&bi(t))hA=L.find(X=>X.id===W.id),J!==void 0&&(hA instanceof Ce||hA instanceof Ae)&&Bx({...dA,chart:A,series:hA,seriesIndexMapper:n,seriesSymbolMapForEvent:D,chartData:f,showOutliers:t.showOutliers,showMean:t.showMean,outliersVisibilityChanged:h,seriesReordered:u,standardizeValuesVisibilityChanged:g,rotationChanged:o,options:B});else switch(aA){case I.BarSeries:yS({...eA,stackedType:P,seriesSymbolMapForEvent:D,rotationChanged:o});break;case I.LineSeries:Ax({...eA,stackedType:P,seriesSymbolMapForEvent:D,rotationChanged:o});break;case I.PieSeries:DS({...dA,chart:A,groupOfSlicesWasUpdated:b,pieSlicesSymbols:v,selectionTheme:B?.selectionTheme});break}}Qx({chart:A,options:B,dataWasUpdated:w,chartData:f,chartConfig:t,queryObject:m,rotationChanged:o,sortChanged:p,groupOfSlicesWasUpdated:b,errorStrings:Q})}function Od(e){let{chartConfig:A}=e,{chart:t,options:i,globalOptions:r,colorMatchApplied:a,pieSlicesSymbols:n,queryObject:o,utilsStrings:u,errorStrings:h,dataInfo:g,loaderHandle:f}=e,{togglingLegendItemsDisabled:m,cursorRange:B,actionMode:w,pieChartLegendValueLabelFormatter:p,guideTooltipFormatter:b,xAxisLabelFormatter:v,yAxisLabelFormatter:S,secondaryYAxisLabelFormatter:Q,gaugeInnerLabelFormatter:L,popupTemplateFieldInfosEnabled:D}=i??{},{data:_,count:k,queryConfig:P,gaugeMinMaxFromData:j={}}=g??{},E,K,F,W=xA(A.series),aA=Nt(o,D);TA(t.uid,{fieldList:aA,options:i,elementCount:k,queryConfig:P,timeIntervalInfo:_?.timeIntervalInfo,serverLimitReached:_?.serverLimitReached});let J=new Map;A.series.forEach((HA,IA)=>{J.set(HA.id,IA)});let dA=Vt(_);dA!==void 0&&(t.data=dA);let eA=MA(A.series);t instanceof fe&&ii({data:n,htmlContainer:t.htmlContainer,chartId:t.id,colorMatchApplied:a===!0});let{title:hA,subtitle:X,footer:z,series:gA,background:lA}=A;E=lS(t),Co(E,{title:hA,subtitle:X}),K=cS(t),wo(K,z),F=ZF(t,gA),yF(t);let iA=vt({config:A});TA(t.uid,{config:A,isRotated:iA,isNonAggregatedChart:!Wa(eA)}),A.axes!==void 0&&(VS({chart:t,axesConfig:A.axes,chartType:W,isRotated:iA,errorStrings:h,queryObject:o}),Hd({chart:t,chartConfig:A,chartType:W,isRotated:iA,data:_,queryObject:o,guideTooltipFormatter:b,xAxisLabelFormatter:v,yAxisLabelFormatter:S,secondaryYAxisLabelFormatter:Q,gaugeInnerLabelFormatter:L,options:i,utilsStrings:u,errorStrings:h,gaugeMinMaxFromData:j})),Np({chart:t,chartConfig:A,hideLoaderHandle:f.hideLoader,utilsStrings:u,options:i,queryObject:o,errorStrings:h}),Td({chart:t,chartConfig:A,seriesIndexMapper:J,rotationChanged:!1,queryObject:o,chartData:_,groupOfSlicesWasUpdated:!0,pieSlicesSymbols:n,dataWasUpdated:!0,options:i,utilsStrings:u,errorStrings:h}),Qd({legendElements:F,seriesConfig:gA,webChartLegend:A.legend,pieChartLegendValueLabelFormatter:p}),Dp(t),oS(t),po(t,lA),Mp({chart:t,scrollbarXConfig:A.axes?.[0]?.scrollbar,scrollbarYConfig:A.axes?.[1]?.scrollbar}),Ym(t),Zm(t,A?.cursorCrosshair),bo({chart:t,actionMode:w,cursorRange:B});let UA=la(t.htmlContainer??document.documentElement);return t.dateFormatter.intlLocales=UA,NS(t,r?.enableResponsiveFeatures),(t instanceof tt||yd(t.series))&&ea(t.htmlContainer),Kp(t),E!==void 0&&K!==void 0&&F!==void 0?{headerElements:E,footerElements:K,legendElements:F}:void 0}function Vp(e){e.series.each(A=>{A.events.on(oA.Ready,()=>{yd(e.series)&&Bo(e)})})}function PS(e){let{chartContainer:A,chartConfig:t,queryObject:i,colorMatchApplied:r,dataInfo:a,t9nStrings:n,options:o,globalOptions:u,loaderHandle:h}=e,{errorStrings:g,utilsStrings:f,amChartsStrings:m}=n,B=os(A,ZA);B.id=t?.id??B.uid,TA(B.uid,{queryObject:i});let{t9nLocale:w}=sr(B.htmlContainer??document.documentElement),p=la(B.htmlContainer??document.documentElement),b=ul(B.htmlContainer??document.documentElement)==="rtl";Ed({chart:B,localeInfo:{locale:w,formatLocale:p,rtl:b},chartLocale:m}),B.events.on(oA.Inited,()=>B.zoomOutButton.deepInvalidate());let v=xA(t?.series);B instanceof ZA&&v!==I.BoxPlotSeries&&(B.maskBullets=!1);let S=Od({chartConfig:t,chart:B,queryObject:i,colorMatchApplied:r,options:o,globalOptions:u,utilsStrings:f,errorStrings:g,dataInfo:a,loaderHandle:h});return TA(B.uid,{config:Me(t)}),Vp(B),$v({chart:B,queryObject:i,errorStrings:g}),AF({chart:B,queryObject:i,errorStrings:g}),{chart:B,chartElements:S}}function GS(e){let{chartContainer:A,chartConfig:t,queryObject:i,dataInfo:r,colorMatchApplied:a,pieSlicesSymbols:n,t9nStrings:{errorStrings:o,utilsStrings:u,amChartsStrings:h},options:g,globalOptions:f,loaderHandle:m}=e,B=os(A,fe);B.id=t?.id??B.uid;let w=ec(B.htmlContainer);Ed({chart:B,localeInfo:w,chartLocale:h}),B.radius=Je(R.pieChart.chartRadius);let p=Od({chartConfig:t,chart:B,queryObject:i,colorMatchApplied:a,pieSlicesSymbols:n,dataInfo:r,options:g,globalOptions:f,utilsStrings:u,errorStrings:o,loaderHandle:m});return TA(B.uid,{config:Me(t),filterBySelection:g?.filterBySelection}),MS(B,i,o),{chart:B,chartElements:p}}function WS(e){let{chartContainer:A,chartConfig:t,queryObject:i,dataInfo:r,t9nStrings:{errorStrings:a,utilsStrings:n,amChartsStrings:o},options:u,globalOptions:h,loaderHandle:g}=e,f=os(A,tt);f.id=t?.id??f.uid;let m=ec(f.htmlContainer);Ed({chart:f,localeInfo:m,chartLocale:o}),f.maskBullets=!1;let B=R.gauge,w=Number.isFinite(t?.innerRadius)?t?.innerRadius:B.innerRadius,p=Number.isFinite(t?.startAngle)?t?.startAngle:B.startAngle,b=Number.isFinite(t?.endAngle)?t?.endAngle:B.endAngle;f.radius=Je(B.radius),typeof w=="number"&&(f.innerRadius=Je(w)),typeof p=="number"&&(f.startAngle=p),typeof b=="number"&&(f.endAngle=b);let v=Od({chartConfig:t,chart:f,queryObject:i,dataInfo:r,options:u,globalOptions:h,utilsStrings:n,errorStrings:a,loaderHandle:g});return TA(f.uid,{config:Me(t)}),Vp(f),A?.ownerDocument.addEventListener("visibilitychange",()=>{let S=A.ownerDocument.hidden;f&&!S&&_Q(t?.axes?.[0])&&(f.svgContainer?.measure(),f.invalidateData())}),{chart:f,chartElements:v}}function zS(e){let{newConfig:A}=e,{chart:t,chartElements:i,dataWasUpdated:r,dataUpdateDetails:a,dataInfo:n,options:o,configWithAllSeries:u,hasSeriesFilteredOut:h,queryObject:g,utilsStrings:f,errorStrings:m,loaderHandle:B}=e,{guideTooltipFormatter:w}=o??{},{gaugeMinMaxFromData:p={}}=n,b=$(t.uid,"config"),v=b?.series,S=A.series,Q=xA(S),L=vt({config:A});TA(t.uid,{config:Me(A),isRotated:L}),TA(t.uid,{filterBySelection:o?.filterBySelection}),bo({chart:t,actionMode:o?.actionMode,cursorRange:o?.cursorRange});let{xOrYChanged:D,layerChanged:_}=a?.common??{},{numberOfSeriesChanged:k}=a?.common??{},P=Yl(b,A),j=Zl(b,A),E=Kf(b,A),K=Nf(b,A),F=JSON.stringify(za(v))!==JSON.stringify(za(S)),W=!1,aA=!1;bi(A)&&bi(b)&&(W=Pf(b,A),aA=Gf(b,A));let J=Ya({oldConfig:h?u:b,newConfig:A,dataWasUpdated:r}),dA=Ul({oldConfig:b,newConfig:A,rotationChanged:j}),eA=Lp({chart:t,dualAxisChanged:E,rotationChanged:j,timeIntervalInfoWasReset:P,axisLabelsBehaviorChanged:dA}),hA=!1,X=Vt(n?.data),z=MA(S);if(TA(t.uid,{isNonAggregatedChart:!Wa(z)}),r){let{count:UA,data:HA,queryConfig:IA}=n??{};TA(t.uid,{elementCount:UA,queryConfig:IA,timeIntervalInfo:HA?.timeIntervalInfo,serverLimitReached:HA?.serverLimitReached}),ea(t.htmlContainer)}else if(Q===I.BarSeries||Q===I.LineSeries||Q===I.RadarSeries||Q===I.ComboLineAndBarSeries||Q===I.BoxPlotSeries){let UA=Nl(v,S);if(UA.length>0&&(Gg(t.series,UA),t.feedLegend(),hA=!0),na(S[0])){let{binTemporalData:HA}=S[0],{unit:IA,size:OA}=S[0].temporalBinning??{};HA===!1&&IA!==void 0&&OA!==void 0&&TA(t.uid,{timeIntervalInfo:{unit:IA,size:OA}})}}J&&(r||(t.validateData(),Q===I.BoxPlotSeries&&t.series.each(UA=>{UA instanceof Ae&&!(UA instanceof ct)&&UA.id.includes(jA.Outliers)&&UA.validateData()})));let gA=new Map;A.series.forEach((UA,HA)=>{gA.set(UA.id,HA)}),k=k||h,X&&(r||J)&&(t.data=X),A.axes!==void 0&&Hd({chart:t,chartConfig:A,rotationChanged:j,timeIntervalInfoWasReset:P,axisLabelsBehaviorChanged:dA,chartType:Q,isRotated:L,dualAxisChanged:E,guideTooltipFormatter:w,xAxisLabelFormatter:o?.xAxisLabelFormatter,yAxisLabelFormatter:o?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:o?.secondaryYAxisLabelFormatter,queryObject:g,options:o,utilsStrings:f,errorStrings:m,gaugeMinMaxFromData:p});let lA=Q===I.BoxPlotSeries&&(Rf(S,v)||_f(S,v));(t.series===void 0||t.series.length===0||D||_||k||F||(Q===I.BarSeries||Q===I.LineSeries||Q===I.RadarSeries||Q===I.ComboLineAndBarSeries)&&t.series.length!==A.series.length||eA||K||lA||a?.boxPlot?.showMeanChanged)&&(!r&&(j||lA||eA)&&t.invalidateData(),Np({chart:t,chartConfig:A,hideLoaderHandle:B.hideLoader,utilsStrings:f,queryObject:g,options:o,errorStrings:m})),Td({chart:t,chartConfig:A,seriesIndexMapper:gA,rotationChanged:j,seriesReordered:hA,outliersVisibilityChanged:W,standardizeValuesVisibilityChanged:aA,queryObject:g,chartData:n.data,options:o,dataWasUpdated:r,sortChanged:J,utilsStrings:f,errorStrings:m}),Co(i.headerElements,{title:A.title,subtitle:A.subtitle}),wo(i.footerElements,A.footer),Qd({legendElements:i.legendElements,seriesConfig:A.series,webChartLegend:A.legend,togglingLegendItemsDisabled:o?.togglingLegendItemsDisabled}),po(t,A.background),Mp({chart:t,scrollbarXConfig:A.axes?.[0]?.scrollbar,scrollbarYConfig:A.axes?.[1]?.scrollbar}),Zm(t,A?.cursorCrosshair);let iA=Ov(t);(iA.behavior===XA.SelectX||iA.behavior===XA.SelectXY||iA.behavior===XA.SelectY||iA.behavior===XA.None)&&t.scrollbarX.start===0&&t.scrollbarX.end===1&&t.scrollbarY.start===0&&t.scrollbarY.end===1&&Bo(t),Kp(t),Ip(t.series.values[0])}function XS(e){let{chart:A,chartElements:t,dataWasUpdated:i,newConfig:r,pieSlicesSymbols:a,queryObject:n,options:o,dataInfo:u,utilsStrings:h,errorStrings:g}=e,f=$(A.uid,"config"),m=f?.series,B=r?.series,w=Ya({oldConfig:f,newConfig:r,dataWasUpdated:i}),p=Rs(m,B),{count:b,data:v,queryConfig:S}=u??{},Q=Vt(v);TA(A.uid,{filterBySelection:o?.filterBySelection,config:Me(r)});let L=Q!==void 0&&(A.data.length!==Q.length||Pm(A.data,Q));L&&(TA(A.uid,{elementCount:b,queryConfig:S}),A.data=Q,ea(A.htmlContainer)),(w||p)&&A.validateData(),ii({data:a,htmlContainer:A.htmlContainer,chartId:A.id,colorMatchApplied:co(A,r)}),Td({chart:A,queryObject:n,chartConfig:r,seriesIndexMapper:new Map,options:o,dataWasUpdated:L,sortChanged:w,chartData:v,groupOfSlicesWasUpdated:p,pieSlicesSymbols:a,utilsStrings:h,errorStrings:g}),Co(t.headerElements,{title:r.title,subtitle:r.subtitle}),wo(t.footerElements,r.footer),Qd({legendElements:t.legendElements,seriesConfig:r.series,webChartLegend:r.legend,togglingLegendItemsDisabled:o?.togglingLegendItemsDisabled,pieChartLegendValueLabelFormatter:o?.pieChartLegendValueLabelFormatter}),po(A,r.background),bo({chart:A,actionMode:o?.actionMode,cursorRange:o?.cursorRange}),Rp(A)}function YS(e){let{chart:A,chartElements:t,newConfig:i,queryObject:r,dataInfo:a,dataWasUpdated:n,options:o,utilsStrings:u,errorStrings:h}=e,{gaugeMinMaxFromData:g={}}=a??{},{xAxisLabelFormatter:f,gaugeInnerLabelFormatter:m,guideTooltipFormatter:B}=o??{},w=i.series,p=xA(w),b;if(n){let{count:D,data:_,queryConfig:k}=a??{};b=_,b?.dataItems!==void 0&&(A.data=b.dataItems),ea(A.htmlContainer),TA(A.uid,{elementCount:D,queryConfig:k})}i.axes!==void 0&&Hd({chart:A,chartConfig:i,chartType:p,data:b,queryObject:r,xAxisLabelFormatter:f,gaugeInnerLabelFormatter:m,guideTooltipFormatter:B,options:o,utilsStrings:u,errorStrings:h,gaugeMinMaxFromData:g});let v=R.gauge,S=Number.isFinite(i?.innerRadius)?i.innerRadius:v.innerRadius,Q=Number.isFinite(i?.startAngle)?i.startAngle:v.startAngle,L=Number.isFinite(i?.endAngle)?i.endAngle:v.endAngle;A.innerRadius=Je(S),A.startAngle=Q,A.endAngle=L,Co(t.headerElements,{title:i.title,subtitle:i.subtitle}),wo(t.footerElements,i.footer),po(A,i.background),TA(A.uid,{config:Me(i)})}function ZS(e){let{chartContainer:A,chartConfig:t,colorMatchApplied:i,pieSlicesSymbols:r,queryObject:a,dataInfo:n,t9nStrings:o,options:u,globalOptions:h,loaderHandle:g}=e;qr.commercialLicense=!(h?.showLicenseWatermark??h?.hideLicenseWatermark===!1),qr.queue=h?.queueChartCreation!==!1,qr.autoDispose=h?.autoDisposeChart===!0,h?.animationEnabled?ef(Zs):tf(Zs);let f;switch(xA(t?.series)){case I.PieSeries:Rt(a),f=GS({chartContainer:A,chartConfig:t,queryObject:a,dataInfo:n,colorMatchApplied:i,pieSlicesSymbols:r,options:u,globalOptions:h,t9nStrings:o,loaderHandle:g});break;case I.GaugeSeries:Rt(a),f=WS({chartContainer:A,chartConfig:t,queryObject:a,dataInfo:n,options:u,globalOptions:h,t9nStrings:o,loaderHandle:g});break;default:f=PS({chartContainer:A,chartConfig:t,dataInfo:n,colorMatchApplied:i,queryObject:a,options:u,globalOptions:h,t9nStrings:o,loaderHandle:g});break}return f}function JS(e){let{chartContainer:A,chartConfig:t,t9nStrings:i,queryObject:r,options:a,colorMatchApplied:n,rendererFieldNames:o,pieSlicesSymbols:u,globalOptions:h,dataInfo:g,uniqueInternalID:f,loaderHandle:m}=e,{errorStrings:B}=i,w=!xm(A),p=ZS({chartContainer:A,chartConfig:t,dataInfo:g,colorMatchApplied:n,pieSlicesSymbols:u,queryObject:r,t9nStrings:i,options:a,globalOptions:h,loaderHandle:m}),{chart:b,chartElements:v}=p;TA(b.uid,{chartWasCreatedWhileHidden:w,queryObject:r,filterBySelection:a?.filterBySelection,options:a,colorMatchApplied:n,rendererFieldNames:o}),KS(b,B),_S(b,A);function S(){f&&yf.delete(f),b.isDisposed()||(Mv(b),v!==void 0&&(p.chartElements=void 0),b.dispose())}function Q(k){let{newChartConfig:P,dataWasUpdated:j,dataUpdateDetails:E,queryObject:K,updateOptions:F,t9nStrings:{utilsStrings:W},configWithAllSeries:aA,hasSeriesFilteredOut:J,pieSlicesSymbols:dA,dataInfo:eA,loaderHandle:hA}=k,X=$(b.uid,"config"),z=P?.series,gA=z!==void 0?xA(z):void 0;if(b.isDisposed()||v===void 0||!Rl(X,P))throw new _t(ta.ChartDisposed);switch(gA){case I.BoxPlotSeries:case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:b instanceof ZA&&zS({chart:b,chartElements:v,queryObject:K,dataWasUpdated:j,dataUpdateDetails:E,dataInfo:eA,newConfig:P,configWithAllSeries:aA,hasSeriesFilteredOut:J,options:F,utilsStrings:W,errorStrings:B,loaderHandle:hA});break;case I.PieSeries:Rt(K),XS({chart:b,chartElements:v,queryObject:K,dataWasUpdated:j,dataInfo:eA,newConfig:P,pieSlicesSymbols:dA,options:F,utilsStrings:W,errorStrings:B});break;case I.GaugeSeries:Rt(K),YS({chart:b,chartElements:v,newConfig:P,queryObject:K,dataWasUpdated:j,dataInfo:eA,options:F,utilsStrings:W,errorStrings:B});break}}function L(k){let{newChartConfig:P,updateOptions:j,dataWasUpdated:E,dataUpdateDetails:K,configWithAllSeries:F,hasSeriesFilteredOut:W,pieSlicesSymbols:aA,colorMatchApplied:J,rendererFieldNames:dA,updateGlobalOptions:eA,t9nStrings:hA,queryObject:X,dataInfo:z,loaderHandle:gA}=k,lA=!xm(A),iA=Nt(X,a?.popupTemplateFieldInfosEnabled);TA(b.uid,{chartWasUpdatedWhileHidden:lA,options:j,fieldList:iA,queryObject:X,colorMatchApplied:J,rendererFieldNames:dA}),Q({newChartConfig:P,updateOptions:j,dataWasUpdated:E,dataUpdateDetails:K,pieSlicesSymbols:aA,t9nStrings:hA,configWithAllSeries:F,hasSeriesFilteredOut:W,queryObject:X,dataInfo:z,loaderHandle:gA})}async function D(k,P){if(wt(b)&&(b instanceof ZA||b instanceof fe)){let j=$(b.uid,"actionMode");j!==RA.MonoSelection&&j!==RA.None&&await eF({chart:b,queryObject:k,errorStrings:P})}}function _(){Bo(b)}return{update:L,dispose:S,resetZoom:_,clearSelection:()=>ba({chart:b}),switchSelection:async k=>await D(k,i.errorStrings),exportImage:async k=>await _v({chart:b,exportOptions:k}),setActionMode:(k,P)=>bo({chart:b,actionMode:k,cursorRange:P}),loaderHandle:m}}function qS(e){let{chartSeries:A,oldSeries:t,newSeries:i}=e,r=Nl(t,i);for(let a=0;a<r.length;a+=1){let n=r[a][0],o=r[a][1],u=A.length;n>=0&&n<u&&o>=0&&o<u&&A.swap(r[a][0],r[a][1])}}function jS(e){return e.get("renderer")instanceof ri?pi.yField:pi.xField}function no(e,A){let t=A.get("axisFill"),i=A.get("label");if(t!==void 0&&i!==void 0){let r=ut(i.uid,"guideLabelConfig"),a=e.get("renderer")instanceof dt,n=Math.round(t.width()),o=Math.round(t.height()),u=Math.round(i.height()),h=Math.round(i.width()),{horizontalAlignment:g,verticalAlignment:f}=r??{},m=0,B=0;if(a){let w=n!==0;switch(g){case"left":w?m=-h/2:m=-h;break;case"right":w?m=h/2:m=h;break;case"center":case"justify":break;default:w||(m=h/2);break}switch(f){case"bottom":w?B=-u:B=-u/2;break;case"middle":B=-o/2;break;default:B=-o+u/2;break}}else{let w=o!==0;switch(g){case"center":m=n/2;break;case"left":m=h/2;break;default:m=n-h/2;break}switch(f){case"bottom":w?B=o/2:B=u;break;case"top":w?B=-o/2+u/2:B=-u;break;default:w||(B=-u/2);break}}i.setAll({dx:m,dy:B})}}function $S(e){let{axis:A,guide:t,label:i}=e,{chart:r}=A;if(r){let a=A.get("renderer")instanceof dt?r.yAxes.getIndex(0):r.xAxes.getIndex(0);a&&(a.events.onDebounced(Oe.BoundsChanged,()=>no(A,t),AA.debounceTime),A.events.onDebounced(Oe.BoundsChanged,()=>no(A,t),AA.debounceTime))}i.setAll({paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})}function AU(e){let{guide:A,axis:t,guideLabelConfig:i}=e,r=A.get("label");if(r!==void 0){uB(r),fc(r.uid,{isGuide:!0,guideLabelConfig:i});let{chart:a}=t;a!==void 0&&ma({chart:a,label:r,labelType:zA.GuideLabel}),$S({axis:t,guide:A,label:r})}}function eU(e){let{axis:A,guide:t,guideConfig:i,guideType:r}=e,a=t?.get("label");if(a!==void 0)if(i.label!==void 0){let n=A.get("renderer")instanceof dt,o;A instanceof Gt||(n?r===GA.SFS?o=AA.verticalSurfaceGuideLabels:o=AA.verticalLineGuideLabels:r===GA.SFS?o=AA.horizontalSurfaceGuideLabels:o=AA.horizontalLineGuideLabels),fc(a.uid,{guideLabelConfig:i.label});let u={type:I.Text,visible:i.visible,content:{...i.label,verticalAlignment:"middle",horizontalAlignment:"center",rightToLeft:a.get("direction")==="rtl"}};Wi({label:a,labelConfig:u,defaults:o});let h=i.label?.text;typeof h=="string"&&/<\/?[a-z][\s\S]*>/iu.test(h)&&(a.set("html",Re(h)),a.set("text","")),a.events.once(Oe.BoundsChanged,()=>{no(A,t)}),no(A,t)}else Wt(a,!1)}function Pp(e){let{root:A,intlOptions:t,formatLocale:i,overridePercentMultiplication:r}=e,a=en({root:A,intlOptions:t,type:I.NumberAxisFormat,formatLocale:i});return n=>{let o=`${n}`;if(a!==void 0&&n!==null&&!(n instanceof Date)){let u=typeof n=="number"?n:tc(n,a.get("intlLocales"));r===!0&&t.style==="percent"&&(u/=100),o=a.format(u)}else n instanceof Date&&(o=n.toLocaleString(void 0,t));return o}}function tU(e){let{axis:A,intlOptions:t,overridePercentMultiplication:i,valueAxisFormatter:r}=e,{chart:a,root:n}=A,o=a!==void 0?QA(a.uid,"formatLocale"):void 0,u=r??Pp({root:n,intlOptions:t,formatLocale:o,overridePercentMultiplication:i});return Qr(A.uid,{numberFormatter:u}),u}function iU(e){let{chart:A,formatOptions:t,isNonAggregatedChart:i}=e,{root:r}=A;return a=>{let n=a??"",o=QA(A.uid,"formatLocale"),u=QA(A.uid,"config");if(typeof a=="number"&&t.type===I.NumberAxisFormat)n=Pp({root:r,intlOptions:t.intlOptions,formatLocale:o})(a);else if(i===!0&&t.type===I.DateAxisFormat)n=en({root:r,type:I.DateAxisFormat,intlOptions:t.intlOptions,formatLocale:o}).format(n,t.intlOptions);else if(t.type===I.CategoryAxisFormat){let h=MA(u?.series);if([bA.BoxPlotMonoField,bA.BoxPlotMultiFields,bA.BoxPlotMonoFieldAndSplitBy,bA.BoxPlotMultiFieldsAndSplitBy,bA.BarAndLineFromFields].includes(h)&&typeof a=="string"){let f=QA(A.uid,"fieldList");a=ti(f,a)}let{characterLimit:g}=t;n=a?.toString()??"",!we(n)&&n!==AA.htmlEmptyContent&&(n=Ml({stringToTruncate:n,characterLimit:g}))}return n.toString()}}function rU(e){let{chart:A,isXAxis:t=!0,formatOptions:i}=e,{root:r}=A;return a=>{let n=a??"",o=QA(A.uid,"formatLocale"),u=QA(A.uid,"config");if(Br(u)){let h=nf(u.series[0],t);if(h&&a!==void 0&&a!==""){if(i.type===I.DateAxisFormat&&i.intlOptions)switch(h.unit){case cs.DayOfWeek:n=fB({weekdayNumber:Number(a),format:i.intlOptions,firstDayOfWeek:u.firstDayOfWeek,locale:o});break;case cs.MonthOfYear:n=gB({monthNumber:Number(a),format:i.intlOptions,locale:o});break;case cs.HourOfDay:n=hB({hour:Number(a),format:i.intlOptions,locale:o});break}}else if(a!==void 0&&a!==""){if(i.type===I.DateAxisFormat)n=en({root:r,type:I.DateAxisFormat,intlOptions:i.intlOptions,formatLocale:o}).format(n,i.intlOptions);else if(i.type===I.CategoryAxisFormat&&(n=a?.toString()??"",!we(n)&&n!==AA.htmlEmptyContent)){let{characterLimit:g}=i;n=Ml({stringToTruncate:n,characterLimit:g})}}}return n.toString()}}function aU(e){let{axis:A,formatOptions:t,isTimeOnlyField:i,setTimeZone:r,outTimeZone:a}=e,n={...Ri(t)},o=["year","month","day","hour","minute","second"],u=i?{hour:{hour:"numeric",minute:"numeric"}}:{},h=i?{hour:{hour:"numeric",minute:"numeric"}}:{};if(r){let g=Fg.new(a??n.timeZone??Intl.DateTimeFormat().resolvedOptions().timeZone);r&&A.root.timezone?.name!==g.name&&(A.root.timezone=g);for(let f=0;f<o.length;f+=1){let m=o[f],B=f===0?m:o[f-1],w=t?.formatPerDateTimeUnit?.[m]??n,p=t?.formatPerDateTimeUnit?.[B];w&&Object.values(w).find(b=>b!==void 0&&(typeof b!="string"||!we(b)))&&(u[m]=w,h[m]=p??w)}Object.keys(u).length>0&&A.set("dateFormats",u),Object.keys(h).length>0&&A.set("periodChangeDateFormats",h)}}function Qm(e){let{axis:A,valueFormat:t,chartType:i}=e,r=Md({isXAxis:!0,chartType:i,valueFormat:t}),a=Ai(t)&&A instanceof xe,n=Bt(t)&&A instanceof de&&!(A instanceof xe),o=r&&A instanceof At;return!a&&!n&&!o}function Gp(e){let{dataContext:A,defaultValue:t,chartUID:i}=e,r=yi(A),a=QA(i,"config"),n=QA(i,"rendererFieldNames"),o=xA(a?.series),u=MA(a?.series);if(o===I.BoxPlotSeries&&(u===bA.BoxPlotMonoField||u===bA.BoxPlotMultiFields||u===bA.BoxPlotMonoFieldAndSplitBy||u===bA.BoxPlotMultiFieldsAndSplitBy))r=A?.[gs];else if(o===I.HistogramSeries)r=A?.[Il.Start];else if((o===I.BarSeries||o===I.LineSeries||o===I.RadarSeries||o===I.ComboLineAndBarSeries)&&a!==void 0){let h=a.series?.[0]?.nullCategory,g=ys(u,a.series?.[0]);r=r===null&&h?.text!==void 0?h.text:A?.[g]?.toString()??""}else r=Ki({value:t??"",dataContext:A,useRendererLabel:ws(a,n),specificField:se.xAxisField});return{labelValue:r,originalLabelValue:yi(A)}}function nU(e,A){let{chart:t}=e;if(t!==void 0){let i=e.get("renderer").labels.template;i.adapters.remove("text"),i.adapters.remove("html");let r=A!==void 0?"html":"text";i.adapters.add(r,(a,n)=>{let o=a,u=xi(e.uid,"labelFormatter");if(!ut(n.uid,"isGuide")&&u!==void 0){let h,g;switch(!0){case e instanceof xe:case e instanceof de:h=n.dataItem?._settings?.value;break;case e instanceof At:{let f=a,m=n.dataItem?.dataContext,B=QA(e.chart?.uid??Number.NaN,"config");if(xA(B?.series)===I.HeatSeries){let p=Or(e.get("renderer"))?m?.[pi.xField]:m?.[pi.yField];typeof p=="string"&&(f=p)}let w=Gp({dataContext:m,defaultValue:f,chartUID:t.uid});h=w.labelValue,g=w.originalLabelValue}break}h!==void 0&&(o=u(h,g),r==="html"&&(o=Re(o)))}return o}),i.adapters.add(r,(a,n)=>{let o=a,u=QA(t.uid,"config");if(!ut(n.uid,"isGuide")&&u!==void 0){let h=je(u),g=Or(e.get("renderer"),h),f=u.axes?.[g?0:1],m={type:GA.TS,...f?.labels.content,text:a};o=wi({textSymbol:m,format:r==="text"?"amChartsV5":"html"})}return o}),r==="html"&&i.set("html",AA.htmlEmptyContent)}}function sU(e){let{axis:A,isRotated:t,chartConfig:i}=e;if(A instanceof At||A instanceof xe){let r=i.orderOptions?.data&&"orderBy"in i.orderOptions.data?i.orderOptions.data.orderBy===ls.Descending:!1,a=t===!0;r&&A instanceof xe&&(a=!a),A.get("renderer").set("inversed",a)}}function oU(e){let{axis:A,isXAxis:t,chartType:i,formatOptions:r,isNonAggregatedChart:a,overridePercentMultiplication:n,externalAxisLabelFormatter:o,isTimeOnlyField:u,setTimeZone:h,outTimeZone:g,errorStrings:f}=e,{chart:m}=A;if(m!==void 0){let B=Md({isXAxis:t,chartType:i,valueFormat:r}),w=A instanceof de&&!(A instanceof xe)&&Bt(r),p=A instanceof xe&&Ai(r),b=A instanceof At&&B;if(!(w||p||b))us("mismatchAxisAndValueFormat",f);else{nU(A,o);let v=o;o===void 0&&(i===I.HeatSeries?v=rU({chart:m,isXAxis:t,formatOptions:r}):b?v=iU({chart:m,formatOptions:r,isNonAggregatedChart:a}):w?v=tU({axis:A,intlOptions:r.intlOptions,overridePercentMultiplication:n,valueAxisFormatter:o}):p&&aU({axis:A,formatOptions:r,isTimeOnlyField:u,setTimeZone:h,outTimeZone:g})),Qr(A.uid,{labelFormatter:v})}}}function lU(e){let{chart:A,chartConfig:{axes:t,series:i},rotationChanged:r,axisLabelsBehaviorChanged:a,timeIntervalInfoWasReset:n}=e,o=xA(i),u=je(e.chartConfig),h=u?1:0,g=u?0:1,f=t?.[h]?.valueFormat,m=t?.[g]?.valueFormat,B=A.xAxes.getIndex(0),w=A.yAxes.getIndex(0),p=B===void 0||r||f!==void 0&&Qm({axis:B,valueFormat:f,chartType:o}),b=w===void 0||r||m!==void 0&&Qm({axis:w,valueFormat:m,chartType:o});return n||a?.[0]||a?.[1]||p||b}function Or(e,A){return e instanceof dt&&!A||e instanceof ri&&A||e instanceof Gt}function yo(e){return e instanceof dt}function cU(e){return e instanceof ri}function dU(e){let{axis:A,isLogarithmic:t,axisConfigIndex:i}=e,r=QA(A.chart?.uid??Number.NaN,"config"),a=t===!0&&Es({chartConfig:r,axisConfigIndex:i,chartData:A.chart?.series.getIndex(0)?.data.values});(A instanceof xe||A instanceof de)&&A.setAll({logarithmic:a,treatZeroAs:a?AA.treatZeroValueAs:0,maxPrecision:a?0:void 0})}function uU(e,A){if(e instanceof de){let{integerOnlyValues:t,valueFormat:i}=A,r=ic(i)?i.intlOptions.maximumFractionDigits:void 0;e.set("maxPrecision",t===!0||r===0?0:Number.NaN)}}function Wp(e,A){let{chart:t}=A,i=nc.new(e,{forceHidden:!0});return A.set("tooltip",i),i.adapters.add("labelText",(r,a)=>{let n=r??"",o=xi(A.uid,"labelFormatter");if(!a.isHidden()&&o&&t){let{label:u}=a,h=u.get("text")??"";if(A instanceof de){let g=Number.parseFloat(h.replace(/,/gu,""));n=o(Number.isNaN(g)?h:g,r)}else if(A instanceof At){let g=u.dataItem?.dataContext,f=Gp({dataContext:g,defaultValue:r,chartUID:t.uid});n=o(f.labelValue??h,r??f.originalLabelValue)}}return n}),i}function hU(e){let{root:A,axis:t,displayCursorTooltip:i}=e;(t.get("tooltip")??Wp(A,t)).set("forceHidden",i!==!0)}function fU(e){let{axis:A,timeIntervalInfo:t,dateBaseInterval:i,xFieldIsTimeOnly:r}=e;if(A instanceof xe){let a,n=1;if(r)a="second";else{let{size:o,unit:u}=t??{};if(u||({size:o,unit:u}=i??{}),o&&u!==void 0){switch(u){case me.Second:a="second";break;case me.Minute:a="minute";break;case me.Hour:a="hour";break;case me.Day:a="day";break;case me.Week:a="week";break;case me.Month:a="month";break;case me.Year:a="year";break}n=o}}a!==void 0&&A.set("baseInterval",{timeUnit:a,count:n})}}function gU(e,A){let{buffer:t}=A??{};return t??=AA.buffer,e instanceof de&&!(e instanceof xe)&&!t}function BU(e,A){let t=!1;return e instanceof de&&!(e instanceof xe)&&(t=gU(e,A),e.set("strictMinMax",t)),t}function Sm(e,A){let t=e;if(e){let i=(A?Math.ceil:Math.floor)(Math.log10(e));t=Math.pow(10,i)}return t}function mU(e){let{axis:A,xAxis:t,isSecondValueAxis:i,chartType:r,stackedType:a,isLogarithmic:n}=e,o=!1,u=[I.BarSeries,I.LineSeries,I.RadarSeries];if(r!==void 0&&u.includes(r)&&a===Be.Stacked100&&!n&&A instanceof de&&!t){let h=QA(A.chart?.uid??Number.NaN,"config"),g=A.chart?.series.getIndex(0)?.data.values;if(h&&g){let f=Oc(A.chart),m=Ls({chartConfig:h,isSecondValueAxis:i,seriesIds:f});o=!ig({seriesConfig:h.series,filteredData:g,filteredSeriesIds:m}).dataHasNegativeValues}}return o}function pU(e){let{dataMinMax:A,chartType:t,stackedType:i,isXAxis:r,minimumFromConfig:a,maximumFromConfig:n,isLogarithmic:o}=e,{minX:u,maxX:h,minY:g,maxY:f}=A,[m,B]=r?[u??Number.NaN,h??Number.NaN]:[g,f],w=m,p=B;return i===Be.Stacked100?(w=Number.NaN,p=Number.NaN):((t===I.BarSeries||t===I.ComboLineAndBarSeries||t===I.HistogramSeries&&!r||(t===I.LineSeries||t===I.RadarSeries)&&i===Be.Stacked&&!r)&&(w=Math.min(m,0),p=Math.max(B,0)),w=a??w,p=n??p),o===!0&&(w=Number.isFinite(w)?Sm(w,!1):w,p=Number.isFinite(p)?Sm(p,!0):p),{min:w??Number.NaN,max:p??Number.NaN}}function CU(e){let{axis:A,xAxis:t,isSecondValueAxis:i,data:r,minimumFromConfig:a,maximumFromConfig:n}=e,o=a,u=n,{chart:h}=A;if(h){let g=QA(h.uid,"config");if(h instanceof Ee&&g){let f=xA(g.series),m=ei(g)??Be.Side,B=Oc(h),w=Ls({chartConfig:g,isSecondValueAxis:i,seriesIds:B}),p=Vt(r),b=jl({chartConfig:g,chartData:p??h.series.getIndex(0)?.data.values??[],filteredSeriesIds:w}),v=pU({dataMinMax:b,chartType:f,stackedType:m,isXAxis:t,minimumFromConfig:a,maximumFromConfig:n});o=v.min,u=v.max}}return{min:o,max:u}}function wU(e){let{axis:A,axisConfig:t,minimumFromConfig:i,maximumFromConfig:r,isLogarithmic:a,chartType:n,stackedType:o,isRotated:u,data:h,isSecondValueAxis:g}=e,{chart:f}=A;if(f&&(A instanceof de||A instanceof xe))if(BU(A,t)){let m=i,B=r,w=Or(A.get("renderer"),u);if(mU({chartType:n,stackedType:o,isLogarithmic:a,axis:A,xAxis:w}))m=m??0,B=B??100;else if(zm({minimumFromConfig:i,maximumFromConfig:r,isLogarithmic:a})){let p=CU({axis:A,xAxis:w,data:h,minimumFromConfig:m,maximumFromConfig:B,isSecondValueAxis:g});m=p.min,B=p.max}B=B??Number.NaN,m=m??Number.NaN,a&&m!==void 0&&m!==null&&(m=Number.isNaN(m)||m===0?AA.treatZeroValueAs:m),Number.isNaN(m)||Number.isNaN(B)||m<B?A.setAll({min:m,max:B}):A.setAll({min:Number.NaN,max:Number.NaN}),n===I.GaugeSeries&&A.markDirty()}else A.setAll({min:Number.NaN,max:Number.NaN})}function so(e,A){if(e!==void 0){let t=QA(e.uid,"config");if(t!==void 0){let i=xA(t?.series),r=ei(t)??Be.Side,a=je(t),n=e.xAxes.getIndex(0),o=t.axes?.[0],u=t.axes?.[1],h=t.axes?.[2],g=e.yAxes.getIndex(0),f=e.xAxes.getIndex(1)??e.yAxes.getIndex(1);[{axis:n,axisConfig:o},{axis:g,axisConfig:u},{axis:f,axisConfig:i===I.HistogramSeries?o:h,isSecondValueAxis:i!==I.HistogramSeries}].forEach(m=>{let{axis:B,axisConfig:w,isSecondValueAxis:p}=m;if(B!==void 0){let{minimum:b,maximum:v,buffer:S,isLogarithmic:Q}=w??{};wU({axis:B,axisConfig:w,data:A,chartType:i,stackedType:r,isRotated:a,minimumFromConfig:b,maximumFromConfig:v,isLogarithmic:Q,isSecondValueAxis:p})}})}}}function bU(e){e.get("renderer").grid.template.adapters.add("strokeWidth",(A,t)=>{let i=xi(e.uid,"zeroGridLine"),r=i?.displayZeroLine===!0,a=i?.strokeWidth??AA.lineWidth;return t.get("themeTags")?.includes("base")&&r&&(a=(a===0?1:a)*1.5),a}),e.get("renderer").grid.template.adapters.add("strokeOpacity",(A,t)=>{let i=xi(e.uid,"zeroGridLine"),r=i?.displayZeroLine===!0,a=i?.visible===!0?A:0;return t.get("themeTags")?.includes("base")&&r&&(a=1),a})}function kd(e){e.on("visible",()=>{e.chart instanceof Ee&&so(e.chart)}),e.events.on(Oe.DataValidated,()=>{e.chart instanceof Ee&&so(e.chart)})}function yU(e){let A=0;return e.dataItems.forEach(t=>{let i=t.get("label");i!==void 0&&ut(i.uid,"isGuide")!==!0&&i.getText()!==void 0&&i.height()>A&&i.isVisible()&&(A=i.height())}),A}function Um(e,A){if(A){let{chart:t}=A;if(t){let i=QA(t.uid,"isRotated"),r=QA(t.uid,"config"),a=xA(r?.series),n=[],o=(u,h)=>{if(u instanceof de){let g=u.get("renderer")instanceof Gt;n.push({isXAxis:Or(u.get("renderer"),i),isSecondValueAxis:h===1&&a!==I.HistogramSeries,minimum:g?u.get("min"):u.getPrivate("min"),maximum:g?u.get("max"):u.getPrivate("max")})}};t.xAxes.each(o),t.yAxes.each(o),n.length>0&&n.every(u=>!Number.isNaN(u.minimum)&&!Number.isNaN(u.maximum))&&Vl(n,t.root.dom)}}}function zp(e){e.ghostLabel?.set("forceHidden",!0)}function Im(e){let{axis:A,start:t,end:i}=e;A.zoom(t??0,i??1)}function Lm(e){e!==void 0&&e.setAll({start:0,end:1})}function vU(e){e instanceof Ee&&(e.xAxes.each(A=>Im({axis:A})),e.yAxes.each(A=>Im({axis:A})),Lm(e.get("scrollbarX")),Lm(e.get("scrollbarY")))}function FU(e){let{axis:A,guide:t,guideIndex:i}=e,{root:r,chart:a}=A,n=t.get("axisFill");n?.set("tooltip",nc.new(r,{autoTextColor:!1}));let o=n?.get("tooltip");if(o!==void 0&&a!==void 0){o.label.setAll({oversizedBehavior:"wrap"}),o.label.adapters.add("maxWidth",()=>Math.min(AA.tooltipWidth,a.seriesContainer.width())),o.get("background")?.set("fillOpacity",lf);let u=QA(a.uid,"rtl");o.label.set("direction",u?"rtl":"ltr")}if(n!==void 0){n.adapters.remove("tooltipText"),n.adapters.remove("tooltipHTML"),n.setAll({tooltipText:void 0,tooltipHTML:AA.htmlEmptyContent,tooltipPosition:AA.guideTooltipPosition}),n.adapters.add("tooltipHTML",(h,g)=>{let f=h,{dataItem:m}=g;if(!(A.get("renderer")instanceof Gt)){let B=xi(A.uid,"guideTooltipFormatter");if(B!==void 0&&m instanceof Qg){let w,p;switch(!0){case A instanceof xe:case A instanceof de:w=m.get("value"),p=m.get("endValue");break;case A instanceof At:w=m.get("category"),p=m.get("endCategory");break}f=B({guideName:aB(m.uid,"name")??"",start:w??"",end:p,guideIndex:i})}}return Re(f??"")});let u=n.getTooltip();u&&(vB(u),u.adapters.add("x",(h,g)=>{let{chart:f}=A;if(f&&g){let m=QA(f.uid,"config"),B=QA(f.uid,"isRotated");if(m){let w=Or(A.get("renderer"),B)?0:1,p=m?.axes?.[w]?.guides?.[i];if(p){let{tooltipReverseColor:b}=p;FB(g,b)}}}return h}))}}function xU(e,A){return t=>{let{guideName:i,start:r,end:a}=t,{chart:n,root:o}=e,u="";if(n!==void 0){let h=QA(n.uid,"config"),g=QA(n.uid,"isRotated"),f=Or(e.get("renderer"),g)?0:1,m=h?.axes?.[f]?.guides,B=r,w=a;if(e instanceof xe){let Q;if(n!==void 0){let L=QA(e.chart?.uid??Number.NaN,"formatLocale");Q=en({root:e.root,type:I.DateAxisFormat,formatLocale:L});let D=h?.axes?.[0]?.valueFormat?.type===I.DateAxisFormat?h.axes[0].valueFormat.intlOptions:void 0;B=Q.format(r,D),a!==void 0&&(w=Q.format(a,D))}}else if(e instanceof de&&!(r instanceof Date)&&!(a instanceof Date)){let Q=m?.find(k=>k.name===i),{start:L,end:D}=Xp(e,Q);Number.isFinite(L)&&(B=L),Number.isFinite(D)&&(w=D);let _=xi(e.uid,"numberFormatter")??(k=>vg.new(o,{}).format(k));B=_(B),w!==void 0&&(w=_(w))}else e instanceof At&&(B=r,w=a);let p=B.toString(),b=w?.toString()??"";!we(b)&&p!==b?u=to(A.guideTooltipLabel,{guideStart:p,guideEnd:b}):u=p;let v=QA(n.uid,"rtl"),S=Ci(v??!1);u=`${i}${S} ${u}`}return u}}function QU(e){let{axis:A,guideTooltipFormatter:t,utilsStrings:i}=e;Qr(A.uid,{guideTooltipFormatter:t??xU(A,i)})}function Em(e){let{inputValue:A,axis:t,axisMin:i,axisMax:r}=e,a=A;if(A!=null)switch(!0){case t instanceof xe:a=A;break;case t instanceof At:a=A.toString();break;case t instanceof de:if(typeof A!="number"){let n=A.toString().trim(),o=bs(n);o!==void 0?i!==void 0&&r!==void 0?a=o/100*(r-i)+i:a=null:a=Number.parseFloat(n)}break}return a}function Dd(e,A){return e.axisRanges?.values?.filter(t=>{let i=t.get("label"),r=ut(i?.uid??Number.NaN,"isGuide")??!1,a=ut(i?.uid??Number.NaN,"isGaugeAxisLabel")??!1,n=!1;switch(A){case oe.Ticks:n=!r;break;case oe.Guides:n=r;break;case oe.GaugeTicksWithLabels:n=a&&"value"in t&&t.value!==void 0;break}return n})??[]}function SU(e){let{axis:A,guideConfig:t,above:i}=e,r=t!==void 0,a=A.axisRanges.length,n=A.axisRanges.insertIndex(a,A.makeDataItem({above:i}));r&&(i===!0&&n.get("axisFill")?.setAll({layer:AA.zIndexes.guide}),AU({guide:n,axis:A,guideLabelConfig:t?.label}));let o=n.get("axisFill");o!==void 0&&o.setAll({disabled:!0,fillOpacity:1});let u=n.get("grid");return u!==void 0&&r&&u.set("strokeOpacity",0),n}function UU(e){let{axis:A,guideIndex:t,guideConfig:i}=e,r=SU({axis:A,guideConfig:i,above:i?.above});FU({axis:A,guide:r,guideIndex:t});let a=r.get("tick"),n=r.get("label"),o=r.get("grid");a!==void 0&&a.set("disabled",!0),n!==void 0&&n.set("inside",!0),o!==void 0&&o.set("disabled",!0)}function IU(e,A){let t=Dd(e,oe.Guides).length,i=(A?.length??t)-t;for(let r=0;r<i;r+=1)UU({axis:e,guideIndex:r,guideConfig:A?.[r]})}function LU(e,A){let{start:t,end:i}=A,r=t!==null?t:void 0,a=i!==null?i:void 0,{chart:n}=e,o=QA(n?.uid??Number.NaN,"config");if(o!==void 0){let u=vs(o),h=e.data.values,g=h.find(f=>f[AA.originalCategoryValue]===t)?.[u];if((typeof g=="string"||typeof g=="number"||g instanceof Date)&&(r=g),a!==void 0)for(let f=h.length-1;f>=0;f-=1){let m=h[f],B=m[u];if(m[AA.originalCategoryValue]===i&&(typeof B=="string"||typeof B=="number"||B instanceof Date)){a=B;break}}}return{modifiedStart:r,modifiedEnd:a}}function Xp(e,A){let{start:t,end:i}=A??{},r;if(A!==void 0&&t!==void 0&&t!==null){let a=e instanceof de?e.get("min"):void 0,n=e instanceof de?e.get("max"):void 0,o=Em({inputValue:t,axis:e,axisMin:a,axisMax:n}),u=A.style?.type===GA.SFS&&i!==null&&i!==void 0?Em({inputValue:i,axis:e,axisMin:a,axisMax:n}):o;r={isValidGuide:o!=null&&(i===void 0||u!=null),start:o,end:u}}else r={isValidGuide:!1,start:void 0,end:void 0};return r}function EU(e){let{axis:A,guide:t,guideConfig:i}=e,{start:r,end:a}=i;if(r!==void 0){let{chart:n}=A,o;if(A instanceof At&&n instanceof Ee&&QA(n.uid,"isNonAggregatedChart")===!0){let{modifiedStart:u,modifiedEnd:h}=LU(A,i);o={isValidGuide:!0,start:u??r,end:h??a}}else o=Xp(A,i);if(o.isValidGuide){let u,h;switch(!0){case A instanceof xe:case A instanceof de:u="value",h="endValue";break;case A instanceof At:u="category",h="endCategory";break}u!==void 0&&o.start!==void 0&&t.setAll({[u]:o.start}),h!==void 0&&o.end!==void 0&&t.setAll({[h]:o.end})}}}function HU(e){let{axis:A,guide:t,guideConfig:i}=e;if(t){let r=t.get("axisFill"),a=t.get("label");if(i!==void 0){nB(t.uid,{name:i.name}),Wt(t,i.visible),EU({axis:A,guide:t,guideConfig:i}),i.style.type===GA.SLS?Ir({root:A.root,element:r,fillSymbol:{type:GA.SFS,color:i.style?.color,outline:i.style},visible:i.visible}):i.style.type===GA.SFS&&Ir({root:A.root,element:r,fillSymbol:i.style,visible:i.visible}),eU({axis:A,guide:t,guideConfig:i,guideType:i.style.type}),t.get("axisFill")?.setAll({layer:i.above?AA.zIndexes.guide:0});let{chart:n}=A}else r!==void 0&&r.set("disabled",!0),a!==void 0&&a.set("disabled",!0)}}function TU(e){let{axis:A,guideConfigs:t,guideTooltipFormatter:i,utilsStrings:r}=e;if(t!==void 0){let a=Dd(A,oe.Guides);t.forEach((n,o)=>{HU({axis:A,guide:a[o],guideConfig:n})}),QU({axis:A,guideTooltipFormatter:i,utilsStrings:r})}}function OU(e){let{axis:A,tickOrGuide:t,numberOfElementsToBeDeleted:i}=e,r=[],a=A.axisRanges.length-1,n=i;for(;n>0&&a>=0;){let o=A.axisRanges.getIndex(a);o!==void 0&&(ut(o.get("label")?.uid??Number.NaN,"isGuide")??!1)===!0&&t===oe.Guides&&(r.push(o),n-=1),a-=1}for(let o=0;o<r.length;o+=1)A.axisRanges.removeValue(r[o])}function Hm(e,A){let t=Dd(e,oe.Guides).length,i=A?.length??0,r=t-i;OU({axis:e,numberOfElementsToBeDeleted:r,tickOrGuide:oe.Guides})}function kU(e){let{axis:A,guideConfigs:t,anyGuideAboveChanged:i}=e;i&&Hm(A),IU(A,t),TU(e),Hm(A,t)}function Yp(e){return e.getCellWidthPosition()*e.width()}function DU(e,A){let t=e.get("renderer");if(e!==void 0){let i=Number.NaN;if(A===ee.Wrap){let r=Number.MAX_SAFE_INTEGER;t.labels.each(n=>{ut(n.uid,"isGuide")!==!0&&n.width()>0&&(r=Math.min(r,n.innerWidth()))});let a=e instanceof xe?e.width()/AA.maxNumberOfXAxisLabelsInWrapModeForDateAxis:e.width()/AA.maxNumberOfXAxisLabelsInWrapMode;i=Math.max(r,a)}else if(A===ee.Hide){let r=Number.MIN_SAFE_INTEGER;t.labels.each(a=>{ut(a.uid,"isGuide")!==!0&&a.width()>0&&(r=Math.max(r,a.innerWidth()))}),i=r+2}Number.isFinite(i)&&i>AA.shortestMinGridDistance&&t.set("minGridDistance",i)}}function MU(e){let{axis:A,chartType:t,labelConfig:i,isSecondValueAxis:r,tickSpacing:a}=e,{horizontalAxisLabelsBehavior:n}=e;n===void 0&&(n=t!==I.HistogramSeries?ee.Rotate:ee.Hide);let o=A.get("renderer"),u=o.get("minGridDistance");if(typeof a=="number"&&Number.isFinite(a))u=a;else if(t!==I.RadarSeries)if(o instanceof Gt)u=AA.gauge.gaugeMinGridDistance;else if(A instanceof de)u=o instanceof dt?AA.xAxisMinGridDistance:AA.yAxisMinGridDistance;else if(o instanceof dt)if(r===!0)u=AA.secondRotatedValueAxisMinGridDistance;else if(n===ee.Rotate){let h=i.content.font?.size??AA.generalFontSize,g=A instanceof At?AA.categoryAxisLabelPadding:AA.axisLabelPadding;u=h*g}else if(n===ee.Wrap||n===ee.Hide){n===ee.Hide&&(u=A instanceof At?AA.xCategoryAxisMinGridDistance:AA.xAxisMinGridDistance);let h=xi(A.uid,"minGridDistanceCallbackDisposer");h!==void 0&&h.dispose(),h=A.events.on(Oe.BoundsChanged,()=>{DU(A,n)}),Qr(A.uid,{minGridDistanceCallbackDisposer:h})}else n===ee.Stagger?u=AA.staggerMinGridDistance:u=A instanceof At?AA.xCategoryAxisMinGridDistance:AA.xAxisMinGridDistance;else u=A instanceof At?AA.yCategoryAxisMinGridDistance:AA.yAxisMinGridDistance;o.set("minGridDistance",u)}function Tm(e=1,A){A.get("renderer").labels.template.set("maxWidth",Yp(A)*e)}function Om(e,A=1){e.get("renderer").labels.template.setAll({oversizedBehavior:"wrap",paddingLeft:.5,paddingRight:.5,textAlign:"center"}),e.events.on(Oe.BoundsChanged,()=>Tm(A,e)),Tm(A,e)}function _U(e){let A=e.get("renderer").labels.template;A.adapters.add("rotation",(t,i)=>{let r=ut(i.uid,"isGuide")!==!0?xi(e.uid,"rotation")??0:t??0;return A.set("centerX",r===0?Ja:Ts),r})}function Ad(e){if(e?.chart!==void 0){let A=e.get("renderer");if(QA(e.chart.uid,"config")?.axes?.[0].labels!==void 0&&A.labels.length>1){let t=A.labels.getIndex(0)?.get("rotation"),i=0;A.labels.each(a=>{if(ut(a.uid,"isGuide")!==!0&&a.width()>0){let n=t===AA.rotatedAxisLabel.rotation?Math.sqrt(a.innerHeight()**2+a.innerWidth()**2):a.innerWidth();n>i&&(i=n)}});let r=Yp(e)>=i+5;if(!r&&t===0||r&&t===AA.rotatedAxisLabel.rotation){let a=r?AA.axisLabel.rotation:AA.rotatedAxisLabel.rotation;A.labels.template.setAll({rotation:a,centerX:r?Ja:Ts,centerY:mg,paddingTop:r?AA.axisLabel.paddingTop:AA.rotatedAxisLabel.paddingTop,paddingLeft:r?AA.axisLabel.paddingLeft:AA.rotatedAxisLabel.paddingLeft,paddingRight:r?AA.axisLabel.paddingRight:AA.rotatedAxisLabel.paddingRight}),Qr(e.uid,{rotation:a})}}}}function km(e){let A=e.get("renderer");_U(e),A.labels.template.setAll({oversizedBehavior:"hide"}),e instanceof xe||(A.labels.template.setAll({multiLocation:.5}),A.ticks.template.setAll({multiLocation:.5})),e.events.on(Oe.BoundsChanged,()=>Ad(e)),e.events.on(Oe.DataValidated,()=>Ad(e)),Ad()}function Dm(e){if(e&&QA(e.chart?.uid??Number.NaN,"config")?.axes?.[0].labels?.visible!==!1){let A=0;e.dataItems.forEach((t,i)=>{let r=t.get("label");r!==void 0&&ut(r.uid,"isGuide")!==!0&&r.getText()!==void 0&&r.width()>0&&i%2===0&&r.innerHeight()>A&&(A=r.innerHeight())}),A=Math.round(A),A>0&&(e.dataItems.filter(t=>{let i=t.get("tick"),r=t.get("label");return i!==void 0&&r!==void 0&&ut(r.uid,"isGuide")!==!0&&r.getText()!==void 0&&r.width()>0}).forEach((t,i)=>{let r=t.get("tick"),a=t.get("label"),n=i%2===1;r&&r.set("length",n?A+5:AA.axisTickLength),a&&a.set("dy",n?A:0)}),A&&e.get("renderer").labels.template.get("paddingBottom")!==A+5&&e.get("renderer").labels.template.set("paddingBottom",A+5))}}function RU(e){e.get("renderer").labels.template.set("oversizedBehavior","wrap"),e.events.on(Oe.BoundsChanged,()=>Dm(e)),Dm(e)}function KU(e){e.get("renderer").labels.template.setAll({oversizedBehavior:"wrap",maxWidth:AA.yAxisLabelMaxWidth,textAlign:"end"})}function NU(e){let{axis:A,horizontalAxisLabelsBehavior:t,verticalAxisLabelsBehavior:i,axisLabelsBehaviorChanged:r,labelConfig:a,chartType:n}=e,o=A.get("renderer");if(!(o instanceof Gt))if(yo(o)&&r?.[0]===!0)switch(n===I.HistogramSeries&&t===void 0?ee.Hide:t){case ee.Hide:break;case ee.Stagger:RU(A),Om(A,2);break;case ee.Wrap:Om(A);break;case ee.Rotate:km(A);break;default:a.content.angle!==null&&a.content.angle===void 0&&km(A);break}else cU(o)&&i!==ee.Hide&&KU(A)}function VU(e){let{renderer:A,axisConfig:t,labelConfig:i}=e;switch(t.labelsOrientation){case xl.Horizontal:A.labels.template.setAll({textType:"adjusted"}),A.labels.template.remove("radius");break;case xl.Radial:A.labels.template.setAll({textType:"radial",radius:35}),i.content.verticalAlignment="middle";break;default:A.labels.template.setAll({textType:"circular"}),A.labels.template.remove("radius")}}function PU(e){let{axis:A,axisConfig:{labels:t},horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,axisLabelsBehaviorChanged:a,chartType:n}=e,o={...t},u=A.get("renderer"),h=u?.get("opposite");yo(u)?(o.content.horizontalAlignment="center",o.content.verticalAlignment=h?"bottom":"top"):(o.content.horizontalAlignment=h?"left":"right",o.content.verticalAlignment="middle"),u instanceof Gt?VU({renderer:u,axisConfig:e.axisConfig,labelConfig:t}):o.content.angle=o.content.angle??u.labels.template.get("rotation"),Wi({label:u.labels.template,labelConfig:o}),NU({axis:A,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,labelConfig:t,axisLabelsBehaviorChanged:a,chartType:n})}function GU(e){let{axis:A,isHorizontalAxis:t,label:i}=e,{chart:r}=A;if(r){let a=t?"width":"height",n=t?zA.XAxisTitle:zA.YAxisTitle;Ur({chart:r,label:i,labelType:n}),A.onPrivate(a,Ze(()=>Ur({chart:r,label:i,labelType:n}),AA.debounceTime))}}function WU(e){let{x:A,data:t,chart:i,valueFormat:r,minimum:a,maximum:n}=e,o=Number.NaN;if(t!==void 0&&A!==void 0){let u=t.find(g=>A in g),h=Number.parseFloat(u[A]);Number.isFinite(h)&&(o=h,bt(i.uid,{gaugeData:o}))}else{let u=QA(i.uid,"gaugeData");Number.isFinite(u)&&(o=u)}return fr(r)&&a!==void 0&&n!==void 0&&a!==null&&n!==null&&o!==null&&n-a!==0&&(o=hn({value:o,axisMin:a,axisMax:n})),o}function zU(e,A){let t=A??null;if(A!=null){let i=e.xAxes.getIndex(0),r=QA(e.uid,"config"),a=i.get("min")??r?.axes?.[0].minimum??AA.gauge.axisMinimum,n=i.get("max")??r?.axes?.[0].maximum??AA.gauge.axisMaximum;A<a?t=a:A>n&&(t=n)}return t??void 0}function XU(e){let{root:A}=e,t=Os.new(A,{radius:$e(100)}),i=e.makeDataItem({value:0,bullet:kg.new(A,{sprite:t})});return e.createAxisRange(i),i.get("grid")?.set("visible",!1),i.get("tick")?.set("visible",!1),t}function YU(e){let{chart:A,axis:t,needleConfig:i,gaugeValue:r}=e,a=t.axisRanges.values.find(o=>o.get("bullet")?.get("sprite")instanceof Os),n=a?.get("bullet")?.get("sprite");if(a&&n instanceof Os){let{startWidth:o,endWidth:u,innerRadius:h}=AA.gaugeNeedle;Ir({root:t.root,element:n.hand,fillSymbol:i?.symbol}),Ir({root:t.root,element:n.pin,fillSymbol:i?.symbol}),a.set("value",zU(A,r)),n.pin.set("visible",i?.displayPin===!0),n.setAll({visible:i?.visible??!0,innerRadius:$e(i?.innerRadius??h),bottomWidth:i?.startWidth??o,topWidth:i?.endWidth??u})}}function ZU(e,A){let t=Number.isFinite(A?.innerRadius)?A?.innerRadius:AA.gauge.innerRadius;typeof t=="number"&&Number.isFinite(t)&&e.set("innerRadius",$e(t))}function JU(e,A){let t=Number.isFinite(A?.startAngle)?A?.startAngle:AA.gauge.startAngle,i=Number.isFinite(A?.endAngle)?A?.endAngle:AA.gauge.endAngle;typeof t=="number"&&Number.isFinite(t)&&e.set("startAngle",t),typeof i=="number"&&Number.isFinite(i)&&e.set("endAngle",i)}function qU(e){let{chart:A,chartConfig:t,data:i,queryObject:r,xAxisLabelFormatter:a,utilsStrings:n,errorStrings:o,gaugeMinMaxFromData:u}=e,{axes:h,series:g}=t,f=Is(t),{featureIndex:m,x:B}=g[0],w=h?.[0],p=A.xAxes.getIndex(0),b={...w};if(p instanceof de&&p.get("renderer")instanceof Gt&&b!==void 0&&i&&"dataItems"in i){let{valueFormat:v,needle:S}=b;ZU(A,t),JU(A,t);let Q=Tp({featureIndex:m,chartData:i.dataItems,chartConfig:t,gaugeMinMaxFromData:u,queryConfig:QA(A.uid,"queryConfig")});b.minimum=Q.minimum,b.maximum=Q.maximum;let{min:L,max:D}=Ep(b),_={...b};fr(v)?(_.minimum=0,_.maximum=1,Hp({axisConfig:_,axisMin:b.minimum,axisMax:b.maximum})):(_.minimum=L,_.maximum=D),_d({chartConfig:t,axis:p,axisConfig:_,axisConfigIndex:0,externalAxisLabelFormatter:a,utilsStrings:n,errorStrings:o,queryObject:r});let k=f?Q?.dataValue:WU({x:B,data:i.dataItems,chart:A,minimum:b.minimum,maximum:b.maximum,valueFormat:v});YU({chart:A,axis:p,needleConfig:S,gaugeValue:k})}}function jU(e){let{chart:A,axesConfig:t,errorStrings:i}=e,{root:r}=A;mi({chartType:I.GaugeSeries,axesConfig:t,errorStrings:i});let a=A.xAxes.push(de.new(r,{min:0,max:100,renderer:Gt.new(r,{})}));XU(a),zp(a)}function $U(e){let{chart:A,chartConfig:t,axisLabelsBehaviorChanged:i,sortChanged:r,data:a,dataWasUpdated:n,axesInitializationNeeded:o,yAxisLabelFormatter:u,xAxisLabelFormatter:h,guideTooltipFormatter:g,utilsStrings:f,errorStrings:m,queryObject:B}=e,{horizontalAxisLabelsBehavior:w,verticalAxisLabelsBehavior:p,axes:b}=t,v=I.HistogramSeries,S=A.xAxes.getIndex(0),Q=A.yAxes.getIndex(0);mi({chartType:v,axesConfig:b,errorStrings:m}),[{axis:S,axisConfig:b?.[0],externalAxisLabelFormatter:h},{axis:Q,axisConfig:b?.[1],externalAxisLabelFormatter:u}].forEach((L,D)=>{let{axis:_,axisConfig:k,externalAxisLabelFormatter:P}=L;_!==void 0&&!_.isDisposed()&&k!==void 0&&_d({axis:_,data:a,dataWasUpdated:n,axesInitializationNeeded:o,sortChanged:r,axisConfig:k,axisConfigIndex:D,horizontalAxisLabelsBehavior:w,verticalAxisLabelsBehavior:p,axisLabelsBehaviorChanged:i,utilsStrings:f,chartConfig:t,externalAxisLabelFormatter:P,guideTooltipFormatter:g,errorStrings:m,queryObject:B})}),so(A,a)}function AI(e){let{chart:A,axesConfig:t,x:i,errorStrings:r}=e,{root:a}=A,n=I.HistogramSeries;mi({chartType:n,axesConfig:t,errorStrings:r});let o={root:a,x:i,chartType:n},u=t?.[0]?.valueFormat,h=t?.[1]?.valueFormat;if(u!==void 0&&h!==void 0){let g=Ji({...o,axes:A.xAxes,valueFormat:u,axisRenderer:dt.new(a,{}),isXAxis:!0,x:i}),f=Ji({...o,axes:A.xAxes,valueFormat:u,axisRenderer:dt.new(a,{}),isAxisForHistogramOverlaySeries:!0,isXAxis:!0,x:i});Ji({...o,axes:A.yAxes,valueFormat:h,axisRenderer:ri.new(a,{}),isXAxis:!1,x:i}),g&&(g.get("renderer").grid.template.set("location",0),g.get("renderer").ticks.template.set("location",0),g.get("renderer").labels.template.set("location",0)),f&&(f.set("visible",!1),f.get("renderer").grid.template.set("visible",!1),f.get("renderer").ticks.template.set("visible",!1),f.get("renderer").labels.template.set("visible",!1))}}function Md(e){let{isXAxis:A,chartType:t,valueFormat:i,isAxisForHistogramOverlaySeries:r}=e;return t===I.HeatSeries||A&&($r(i)||t===I.HistogramSeries&&!r||t===I.BarSeries&&Bt(i))}function Zp(e,A){return A?`${Uc}_x_${e.uid}`:`${Uc}_y_${e.uid}`}function ud(e,A){let t=QA(e.chart?.uid??Number.NaN,"config"),i=je(t)?1:0,r=t?.axes?.[i]?.title?.content?.verticalAlignment,a=yU(e),n=a;switch(r){case"baseline":case"middle":n=a/2;break;case"bottom":n=Math.min(a,0);break}A?.set("dy",n)}function eI(e){e instanceof de&&(e.onPrivate("min",Um),e.onPrivate("max",Um))}function tI(e){let{axis:A,isHorizontalAxis:t,isSecondValueAxis:i}=e,{root:r}=A,a=t?{...AA.xAxisTitleLabel,verticalCenter:"top"}:AA.yAxisTitleLabel,n=An({root:r,id:Zp(A,t),defaults:a});return A.get("renderer")instanceof ri&&i!==!0||A.get("renderer")instanceof dt&&i===!0?A.children.unshift(n):A.children.push(n),t&&i!==!0&&(A.events.onDebounced(Oe.BoundsChanged,()=>ud(A,n),AA.debounceTime),A.events.onDebounced(Oe.DataValidated,()=>ud(A,n),AA.debounceTime),GU({axis:A,isHorizontalAxis:t,label:n})),!t&&A.chart&&ma({chart:A.chart,label:n,labelType:zA.YAxisTitle}),n}function Ji(e){let{root:A,axes:t,isXAxis:i,valueFormat:r,axisRenderer:a,isSecondValueAxis:n=!1,chartType:o,x:u,isAxisForHistogramOverlaySeries:h}=e,g;if(Md({isXAxis:i,chartType:o,valueFormat:r,isAxisForHistogramOverlaySeries:h})&&!n){let f;switch(o){case I.HeatSeries:f=i?pi.xField:pi.yField;break;case I.HistogramSeries:f=Il.Start;break;case I.BoxPlotSeries:f=u;break;default:f=AA.xAxisField;break}f&&(g=t.push(At.new(A,{categoryField:f,renderer:a})))}else if(Ai(r))g=t.push(xe.new(A,{strictMinMax:!0,baseInterval:{timeUnit:"day",count:1},renderer:a}));else if(Bt(r)&&(g=t.push(de.new(A,{strictMinMax:!0,renderer:a})),n&&g instanceof de)){let f=t.getIndex(0);f instanceof de&&g.set("syncWithAxis",f)}if(g!==void 0&&!h){bU(g),Wp(A,g);let f=o===I.HistogramSeries||o===I.HeatSeries?0:.1,m=o===I.HistogramSeries||o===I.HeatSeries?1:.9;g.get("renderer").setAll({cellStartLocation:f,cellEndLocation:m}),o===I.HeatSeries&&(a instanceof dt||a instanceof ri)&&a.setAll({layer:AA.zIndexes.axisLineLayer}),zp(g),eI(g),yo(g.get("renderer"))?g.get("renderer").labels.template.set(n?"paddingBottom":"paddingTop",AA.axisLabelSpacing.horizontalAxisLabelPaddingTop):a instanceof ri&&g.get("renderer").labels.template.set(n?"paddingLeft":"paddingRight",AA.axisLabelSpacing.verticalAxisLabelSidePadding)}return g}function iI(e){let{axis:A,data:t,chartConfig:i,dataWasUpdated:r,axesInitializationNeeded:a,sortChanged:n,heatChartHideEmptyRowsAndColumnsChanged:o}=e;if(t&&(r||a||n||o)){let u=Vt(t);if(Br(i)){let h=jS(A),g=t?.heatChartAxesData,f=h===pi.xField?g?.xAxisData:g?.yAxisData;A.data.setAll(f??[])}else A.data.setAll(u??[])}}function rI(e){let{axis:A,axisTitleConfig:t,isSecondValueAxis:i}=e,r=A.get("renderer"),{chart:a}=A,n=yo(r),o=Gi({childId:Zp(A,n),parent:A,useChildId:!0})??tI({axis:A,isHorizontalAxis:n,isSecondValueAxis:i});if(o instanceof yg){let u=n?{...AA.xAxisTitleLabel,verticalCenter:"top"}:AA.yAxisTitleLabel;if(Wi({label:o,labelConfig:t,defaults:u}),n&&i!==!0&&ud(A,o),a){let h={chart:a,label:o,labelType:n?zA.XAxisTitle:zA.YAxisTitle};Ur(h)}}}function _d(e){let{axis:A,data:t,dataWasUpdated:i,axesInitializationNeeded:r,sortChanged:a,heatChartHideEmptyRowsAndColumnsChanged:n,axisConfig:o,axisConfigIndex:u,timeIntervalInfo:h,horizontalAxisLabelsBehavior:g,verticalAxisLabelsBehavior:f,axisLabelsBehaviorChanged:m,anyGuideAboveChanged:B,isNonAggregatedChart:w,isSecondValueAxis:p,chartConfig:b,externalAxisLabelFormatter:v,guideTooltipFormatter:S,utilsStrings:Q,errorStrings:L,queryObject:D}=e,{visible:_,lineSymbol:k,title:P,labels:j,isLogarithmic:E,grid:K,displayCursorTooltip:F,displayZeroLine:W,valueFormat:aA,guides:J,tickSpacing:dA,dateBaseInterval:eA}=o,{root:hA}=A,X=xA(b.series),z=ei(b),gA=je(b),{chart:lA}=A,iA=lA?QA(lA.uid,"config"):void 0,UA=lA?QA(lA.uid,"options"):void 0,HA=Kt(D),IA=Nt(HA).find(Ke=>Ke.name===iA?.series?.[0]?.x),OA=Qf(IA),ce=Qs({chartConfig:b,queryObject:D,options:UA}),$A=na(b.series[0])?b.series[0].temporalBinning?.outTimeZone:void 0,Se=A.get("renderer");Qr(A.uid,{zeroGridLine:{displayZeroLine:W,strokeWidth:K?.width??AA.lineWidth,visible:K!==void 0}}),dU({axis:A,isLogarithmic:E,axisConfigIndex:u}),oU({axis:A,isXAxis:Or(A.get("renderer"),gA),chartType:X,formatOptions:aA,isNonAggregatedChart:w,overridePercentMultiplication:z===Be.Stacked100,externalAxisLabelFormatter:v,isTimeOnlyField:OA,setTimeZone:ce,outTimeZone:$A,errorStrings:L}),sU({axis:A,isRotated:gA,chartConfig:b}),fU({axis:A,timeIntervalInfo:h,dateBaseInterval:eA,xFieldIsTimeOnly:OA}),Lr({element:Se,lineSymbol:{color:[...AA.color],...k??Ga()},visible:_}),Lr({element:Se.ticks.template,lineSymbol:k,visible:_}),Lr({element:Se.grid.template,lineSymbol:K,visible:_}),K===void 0&&(A.get("renderer").grid.template.set("strokeWidth",AA.lineWidth),A.markDirtyValues()),PU({axis:A,axisConfig:o,chartType:X,horizontalAxisLabelsBehavior:g,verticalAxisLabelsBehavior:f,axisLabelsBehaviorChanged:m}),rI({axis:A,axisTitleConfig:P,isSecondValueAxis:p}),uU(A,o),MU({axis:A,chartType:X,labelConfig:j,horizontalAxisLabelsBehavior:g,isSecondValueAxis:p,tickSpacing:dA}),hU({root:hA,axis:A,displayCursorTooltip:F}),kU({axis:A,guideConfigs:J,guideTooltipFormatter:S,anyGuideAboveChanged:B,utilsStrings:Q}),iI({axis:A,data:t,chartConfig:b,dataWasUpdated:i,axesInitializationNeeded:r,heatChartHideEmptyRowsAndColumnsChanged:n,sortChanged:a})}function aI(e){let{chart:A,errorStrings:t}=e,{root:i}=A,r=QA(A.uid,"config");if(r){let{x:a}=r.series[0],n=je(r),{axes:o}=r,u=xA(r.series);mi({chartType:u,axesConfig:o,errorStrings:t});let h={root:i,x:a,chartType:u},g=n?o?.[1]:o?.[0],f=n?o?.[0]:o?.[1],m=g?.valueFormat,B=f?.valueFormat;if(m!==void 0&&B!==void 0&&(Ji({...h,axes:A.xAxes,valueFormat:m,axisRenderer:dt.new(i,{}),isXAxis:!n,x:a}),Ji({...h,axes:A.yAxes,valueFormat:B,axisRenderer:ri.new(i,{}),isXAxis:n,x:a}),o?.[2]!==void 0)){let w=n?dt:ri;Ji({...h,axes:n?A.xAxes:A.yAxes,valueFormat:o[2]?.valueFormat,axisRenderer:w.new(i,{opposite:!0}),isSecondValueAxis:!0,isXAxis:n,x:a})}}}function nI(e){let{chart:A,chartType:t,axesConfig:i,x:r,errorStrings:a}=e,{root:n}=A,o=i?.[0],u=i?.[1];if(mi({chartType:t,axesConfig:i,errorStrings:a}),o?.valueFormat!==void 0&&u?.valueFormat!==void 0){let h={root:n,x:r,chartType:t};Ji({...h,axes:A.xAxes,valueFormat:o.valueFormat,axisRenderer:Gt.new(n,{}),isXAxis:!0,x:r}),Ji({...h,axes:A.yAxes,valueFormat:u.valueFormat,axisRenderer:Mg.new(n,{}),isXAxis:!1,x:r})}}function Jp(e){let{chart:A,chartConfig:t,errorStrings:i}=e,{axes:r}=t,{x:a}=t.series[0],n=xA(t.series);switch(A.xAxes.clear(),A.yAxes.clear(),n){case I.GaugeSeries:A instanceof vi&&jU({chart:A,axesConfig:r,errorStrings:i});break;case I.HistogramSeries:AI({chart:A,axesConfig:r,x:a,errorStrings:i});break;case I.HeatSeries:case I.BarSeries:case I.ComboLineAndBarSeries:case I.ScatterSeries:case I.LineSeries:case I.BoxPlotSeries:aI({chart:A,errorStrings:i});break;case I.RadarSeries:A instanceof vi&&nI({chart:A,axesConfig:r,chartType:n,x:a,errorStrings:i});break}}function sI(e){let{chart:A,chartConfig:t,axisLabelsBehaviorChanged:i,sortChanged:r,anyGuideAboveChanged:a,data:n,dataWasUpdated:o,axesInitializationNeeded:u,heatChartHideEmptyRowsAndColumnsChanged:h,timeIntervalInfo:g,xAxisLabelFormatter:f,yAxisLabelFormatter:m,secondaryYAxisLabelFormatter:B,guideTooltipFormatter:w,utilsStrings:p,errorStrings:b,queryObject:v}=e,{horizontalAxisLabelsBehavior:S,verticalAxisLabelsBehavior:Q,axes:L}=t,D=je(t),_=xA(t.series),k=QA(A.uid,"isNonAggregatedChart"),P=A.xAxes.getIndex(0),j=A.yAxes.getIndex(0),E=A.xAxes.getIndex(1)??A.yAxes.getIndex(1);mi({chartType:_,axesConfig:L,errorStrings:b});let K=D?1:0,F=D?0:1,W=L?.[K],aA=L?.[F];[{axis:P,axisConfig:W,externalAxisLabelFormatter:D?m:f,axisConfigIndex:K},{axis:j,axisConfig:aA,externalAxisLabelFormatter:D?f:m,axisConfigIndex:F},{axis:E,axisConfig:L?.[2],externalAxisLabelFormatter:B,isSecondValueAxis:!0,axisConfigIndex:2}].forEach(J=>{let{axis:dA,axisConfig:eA,axisConfigIndex:hA,externalAxisLabelFormatter:X,isSecondValueAxis:z}=J;dA!==void 0&&!dA.isDisposed()&&eA!==void 0&&_d({axis:dA,data:n,dataWasUpdated:o,axesInitializationNeeded:u,heatChartHideEmptyRowsAndColumnsChanged:h,sortChanged:r,timeIntervalInfo:g,axisConfig:eA,axisConfigIndex:hA,horizontalAxisLabelsBehavior:S,verticalAxisLabelsBehavior:Q,axisLabelsBehaviorChanged:i,anyGuideAboveChanged:a,isNonAggregatedChart:k,isSecondValueAxis:z,utilsStrings:p,chartConfig:t,externalAxisLabelFormatter:X,guideTooltipFormatter:w,errorStrings:b,queryObject:v})}),so(A,n)}function qp(e){let{chart:A,chartConfig:t}=e,i=xA(t.series);i===I.GaugeSeries&&A instanceof vi?qU(e):i===I.HistogramSeries?$U(e):sI(e)}function oI(e,A){let t=Pi(AA.backgroundColor);A.set("background",wg.new(e,{fill:t.color,fillOpacity:t.opacity}))}function jp(e,A){let t=Pi(A??AA.backgroundColor);e.get("background")?.setAll({fill:t.color,fillOpacity:t.opacity})}function $p(e,A){let t=xA(A.series);return e instanceof Ee&&t!==I.GaugeSeries}function lI(e,A){let t=AA.cursorCrosshair.style,i={type:GA.SLS,style:A?.style??t.style,color:A?.color??t.color,width:A?.width??t.width},r=e.get("cursor")?.lineX,a=e.get("cursor")?.lineY;Lr({element:r,lineSymbol:i}),Lr({element:a,lineSymbol:i})}function AC(e){let{root:A,chart:t,config:i,queryObject:r,errorStrings:a}=e,n;if($p(t,i)){let o=t instanceof vi?_g:Tg;n=t.set("cursor",o.new(A,{})),OB({chart:t,queryObject:r,errorStrings:a})}return n}function eC(e){let{root:A,chart:t,cursorCrosshair:i,config:r,queryObject:a,errorStrings:n}=e;if($p(t,r)){let o=t.get("cursor")??AC({root:A,chart:t,config:r,queryObject:a,errorStrings:n});o&&(lI(t,i?.style),o.lineX.set("visible",i?.verticalLineVisible??AA.cursorCrosshair.verticalLineVisible),o.lineY.set("visible",i?.horizontalLineVisible??AA.cursorCrosshair.horizontalLineVisible))}}function cI(e){let{chart:A,enabled:t}=e,i=t?"pointer":"default";A instanceof qa&&A.series.each(r=>{switch(!0){case r instanceof br:r.columns.template.set("cursorOverStyle",i);break;case r instanceof Pt:let a=ai(r.uid,"bulletTemplate");a!==void 0&&!Hc(r)&&a.set("cursorOverStyle",i);break;case r instanceof yr:r.slices.template.setAll({cursorOverStyle:i});break}})}function dI(e){let{chart:A,actionMode:t,cursorRange:i}=e,r=QA(A.uid,"isRotated"),a=QA(A.uid,"config"),n=xA(a?.series),o=n===I.ScatterSeries,u=(n===I.LineSeries||n===I.RadarSeries)&&Bt(a?.axes?.[0]?.valueFormat),h=(n===I.LineSeries||n===I.RadarSeries)&&$r(a?.axes?.[0]?.valueFormat),g=(n===I.LineSeries||n===I.RadarSeries)&&Ai(a?.axes?.[0]?.valueFormat),f,m=!1,B=t??QA(A.uid,"actionMode")??AA.actionMode;if(QA(A.uid,"filterBySelection")===!0)f=XA.None,m=!1;else if(i!==void 0)f=Xm({actionMode:B,cursorRange:i,isRotated:r});else switch(B){case RA.Zoom:o||u||g?f=XA.ZoomXY:f=r===!0?XA.ZoomY:XA.ZoomX,m=!1;break;case RA.MultiSelection:case RA.MultiSelectionWithCtrlKey:h?f=r===!0?XA.SelectY:XA.SelectX:f=XA.SelectXY,m=!0;break;case RA.MonoSelection:f=XA.None,m=!0;break;case RA.None:f=XA.None,m=!1;break}A instanceof Ee&&A.get("cursor")!==void 0&&f!==void 0&&A.get("cursor")?.set("behavior",f),cI({chart:A,enabled:m})}function uI(e,A){A!==void 0&&(A.width!==void 0&&e.set("width",pc(A.width)),A.height!==void 0&&e.set("height",pc(A.height)),A.paddingTop!==void 0&&e.set("paddingTop",A.paddingTop),A.paddingBottom!==void 0&&e.set("paddingBottom",A.paddingBottom))}function hd(e){let{root:A,defaults:t,parent:i,id:r,index:a}=e,n=bg.new(A,{});return uI(n,t),i!==void 0&&i.children.insertIndex(a??i.children.length,n),r!==void 0&&n.set("id",r),n}function fd(e,A){A?e.hide():e.show()}function hI(e,A){let t=hd({root:e,defaults:AA.headerContainer,parent:A,id:Sr(yc,A.uid),index:0}),i=hd({root:e,defaults:AA.headerContainer,parent:A,id:Sr(vc,A.uid),index:1}),r=An({root:e,parent:t,defaults:AA.titleLabel,id:Sr(xc,t.uid)}),a=An({root:e,parent:i,defaults:AA.subtitleLabel,id:Sr(Qc,i.uid)});ma({chart:A,label:r,labelType:zA.ChartTitle}),ma({chart:A,label:a,labelType:zA.ChartSubTitle})}function tC(e,A){let{title:t,subtitle:i}=A??{},r=QA(e.uid,"config"),a=r?.legend?.visible!==!1&&r?.legend?.position===ne.Top?0:AA.headerContainer.paddingBottom??0,n=Gi({childId:yc,parent:e});if(n!==void 0){n.set("paddingBottom",a);let u=Gi({childId:xc,parent:n});u!==void 0&&(Wi({label:u,labelConfig:t,defaults:AA.titleLabel}),Ur({chart:e,label:u,labelType:zA.ChartTitle}),fd(n,u.get("disabled")===!0||(t?.content.text??"")===""))}let o=Gi({childId:vc,parent:e});if(o!==void 0){o.set("paddingBottom",a),n!==void 0&&n.set("paddingBottom",AA.titleAndSubtitlePaddingBottom);let u=Gi({childId:Qc,parent:o});u!==void 0&&(Wi({label:u,labelConfig:i,defaults:AA.subtitleLabel}),Ur({chart:e,label:u,labelType:zA.ChartSubTitle}),fd(o,u.get("disabled")===!0||(i?.content.text??"")===""))}}function fI(e){let{root:A}=e,t=hd({root:A,defaults:AA.footerContainer,parent:e,id:Sr(Fc,e.uid)}),i=An({root:A,parent:t,id:Sr(Sc,t.uid)});ma({chart:e,label:i,labelType:zA.ChartFooter})}function iC(e,A){let t=Gi({childId:Fc,parent:e});if(t!==void 0){let i=Gi({childId:Sc,parent:t});i!==void 0&&(Wi({label:i,labelConfig:A,defaults:AA.footer}),Ur({chart:e,label:i,labelType:zA.ChartFooter}),fd(t,i.get("disabled")||(A?.content.text??"")===""))}}function rC(e){if(!(e instanceof vi)&&e instanceof Ee){let{root:A}=e,t=sc.new(A,{orientation:"horizontal",visible:!1,marginTop:0}),i=sc.new(A,{orientation:"vertical",visible:!1});e.setAll({scrollbarX:t,scrollbarY:i})}}function gI(e,A){if(A!==void 0){let t=Pi(A),i=A[3]/255,r=i/2;[{element:e.get("background"),specificOpacity:r},{element:e.startGrip.get("background")},{element:e.endGrip.get("background")},{element:e.thumb}].forEach(a=>{let{element:n,specificOpacity:o}=a;n!==void 0&&n.setAll({fill:t.color,fillOpacity:o??i})}),[{element:e.get("background"),stateName:"default",specificOpacity:r},{element:e.startGrip.get("background"),stateName:"default"},{element:e.startGrip.get("background"),stateName:"hover"},{element:e.startGrip.get("background"),stateName:"down"},{element:e.endGrip.get("background"),stateName:"default"},{element:e.endGrip.get("background"),stateName:"hover"},{element:e.endGrip.get("background"),stateName:"down"},{element:e.thumb,stateName:"default"},{element:e.thumb,stateName:"hover"},{element:e.thumb,stateName:"down"}].forEach(a=>{let{element:n,stateName:o,specificOpacity:u}=a;(n?.states.lookup(o)??n?.states.create(o,{}))?.setAll({fill:t.color,fillOpacity:u??i})})}}function BI(e,A){typeof A=="number"&&Number.isFinite(A)&&(e.get("orientation")==="horizontal"?e.setAll({height:A,minHeight:A}):e.setAll({width:A,minWidth:A}))}function mI(e,A){if(typeof A=="number"&&Number.isFinite(A)){let t=A/30;e.startGrip.set("scale",t),e.endGrip.set("scale",t)}}function Mm(e,A){typeof A=="number"&&Number.isFinite(A)&&(e.get("orientation")==="horizontal"?e.set("marginBottom",A):e.set("marginLeft",A),e.markDirtyBounds())}function aC(e){let{chart:A,scrollbarXConfig:t,scrollbarYConfig:i}=e;if(!(A instanceof vi)&&A instanceof Ee){let r=QA(A.uid,"isRotated");(A.get("scrollbarX")===void 0||A.get("scrollbarY")===void 0)&&rC(A);let a=A.get("scrollbarX"),n=A.get("scrollbarY");[a,n].forEach(o=>{if(o!==void 0){let u=o.get("orientation")==="horizontal"&&r!==!0||o.get("orientation")==="vertical"&&r===!0?t:i,h=u?.visible!==!0;if(Wt(o,!h),u!==void 0&&!h){let{width:g,color:f,gripSize:m,margin:B}=u;Mm(o,B??g??AA.scrollbarPadding),gI(o,f),mI(o,m),BI(o,g)}else Mm(o,0)}})}}function pI(e){wc(e)}function _m(e){return e.get("legendDataItem")?.get("marker").children.getIndex(0)}function CI(e,A){e.columns.each(t=>{(t.dataItem?.dataContext)[A]===0&&t.set("strokeOpacity",0)})}function wI(e){let{root:A,chartConfig:t,seriesConfig:i,xAxis:r,yAxis:a,options:n,queryObject:o,errorStrings:u}=e,{id:h,name:g}=i,{xField:f,yField:m,xAxisField:B,yAxisField:w}=Er(t,i),p=pf(t),b=br.new(A,{id:h,name:g,stacked:p,turboMode:!0,xAxis:r,yAxis:a,[B]:f,[w]:m,maskBullets:!1});et(b.columns.template,n?.selectionTheme);let v=ca.new({});return xr(b.uid,{bulletTemplate:v}),Qi({element:b.columns.template,series:b,queryObject:o,errorStrings:u}),b.bullets.push(S=>{let Q=Ni.new(S,{},v);return da.new(S,{sprite:Q})}),b.columns.template.set("width",$e(100)),kd(b),CB(b,n?.tooltipFormatter),UB(b),zs(b,t),b.appear(),b}function bI(e){let{series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,rendererType:o}=e,u=A.root,h=sB(A),g=new Set,f,m,B=t.fillSymbol,w={root:u,seriesConfig:t,seriesIndex:i,seriesSymbol:B,isChartFillSymbol:!0},p={},b={},v=kl(i),S=ai(A.uid,"bulletTemplate");if(S&&B?.style&&B.style!==sf.Solid&&Ir({root:u,element:S,fillSymbol:B,defaultToColorFromRamp:!0,colorRampIndex:i,isChartFillSymbol:!0,chartBackgroundColor:oB(A.chart)??[...AA.backgroundColor]}),A.columns.length===0?p=yt({root:u,seriesIndex:i,colorMatch:n,seriesSymbol:B??v,element:Ni.new(u,{}),isChartFillSymbol:!0}):A.columns.each(Q=>{let L=Q.dataItem?.dataContext;if(Number.isFinite(L?.[h])){m=Mt({dataItem:L,seriesConfig:t,chartSubType:a,colorMatch:n,rendererType:o});let D=L[AA.xAxisField]===AA.nullValue,_=(D&&t.nullCategory?.symbol!==void 0?t.nullCategory.symbol:B)??v;p=yt({...w,seriesSymbol:_,element:Q,colorMatch:n,rendererSymbol:m}),tn(Q,p.stylingInfo),D||(g.add(JSON.stringify(p.symbolWithColorInfo)),b=p)}}),r>1){let Q=_m(A);if(Q!==void 0)yt({...w,seriesSymbol:B??v,element:Q,colorMatch:n,rendererSymbol:m}),tn(Q,b.stylingInfo);else if(A.chart instanceof Ee){let L=A.chart.children.values.find(D=>D instanceof Sg);L!==void 0&&L.events.once(Oe.BoundsChanged,()=>{tn(_m(A),b.stylingInfo)})}yt({...w,seriesSymbol:b.symbolWithColorInfo??B??v,element:A,colorMatch:n,rendererSymbol:m,keepCurrentVisibility:!0}),yt({...w,seriesSymbol:b.symbolWithColorInfo??B??v,element:A.columns.template,colorMatch:n,rendererSymbol:m})}return g.size<=1&&(f=b.symbolWithColorInfo??B),CI(A,h),f}function yI(e){let{series:A,seriesSymbolMapForEvent:t,seriesIndexMapper:i,seriesIndex:r,colorMatch:a,rendererType:n,interactionsDisabled:o}=e,u=e.seriesConfig,h=A.chart;if(h!==void 0){let g=QA(h.uid,"config"),f=g?.series.length??0,m=MA(g?.series);an(A,!1);let B=bI({series:A,seriesConfig:u,seriesIndex:r,numberOfSeries:f,chartSubType:m,colorMatch:a,rendererType:n});o&&an(A,!0),t.set(i?.get(u.id)??r,B),t.size===f&&ii({data:t,htmlContainer:A.root.dom,chartId:h.get("id"),colorMatchApplied:rn(h)})}}function vI(e){let{columnSeries:A,data:t,seriesIndex:i,chartConfig:r,dataWasUpdated:a,seriesWereReinitialized:n,rotationChanged:o,stackedTypeChanged:u,timeZoneChanged:h,sortChanged:g,loaderHandle:f}=e,m=r.series[i];if(t&&m?.type===I.BarSeries&&(o===!0||a===!0||g===!0||u===!0||h||n===!0)){let{xField:B,yField:w,xAxisField:p,yAxisField:b}=Er(r,m);A.setAll({[p]:B,[b]:w}),A.events.once(Oe.DataValidated,()=>{f.hideLoader()}),A.data.setAll(t.dataItems)}}function FI(e){let{series:A,data:t,chartConfig:i,options:r,seriesIndex:a,dataWasUpdated:n,rotationChanged:o,timeZoneChanged:u,queryObject:h,utilsStrings:g,seriesWereReinitialized:f,autoInverseDataLabelTextColor:m,fieldList:B,sortChanged:w,stackedTypeChanged:p,loaderHandle:b}=e,v=i.series[a],S=i.rotated,Q=i.axes,L;if(Q?.[1]&&(L=Q[1]),A.set("id",v.id),Wt(A,v.visible),et(A.columns.template,r?.selectionTheme),Hr(A.columns.template,t?.dataItems?.length),Ws({series:A,chartConfig:i,isRotated:S}),pI({seriesType:I.BarSeries,series:A,seriesConfig:v,isRotated:S,dataLabelsConfig:v.dataLabels,autoInverseDataLabelTextColor:m,yAxisValueFormat:L?.valueFormat,externalDataLabelFormatter:r?.dataLabelFormatter}),vI({columnSeries:A,data:t,seriesIndex:a,chartConfig:i,dataWasUpdated:n,timeZoneChanged:u,seriesWereReinitialized:f,rotationChanged:o,stackedTypeChanged:p,sortChanged:w,loaderHandle:b}),Gs({series:A,seriesConfig:v,fieldList:B,queryObject:h,seriesIndex:a,tooltipFormatter:r?.tooltipFormatter,utilsStrings:g}),zi(e)){let D={series:A,seriesConfig:v,seriesIndex:a,colorMatch:e.colorMatch,seriesIndexMapper:e.seriesIndexMapper,seriesSymbolMapForEvent:e.seriesSymbolMapForEvent,rendererType:e.rendererType,interactionsDisabled:r?.interactionsDisabled};Xi({styleCallback:()=>yI(D),series:A,seriesConfig:v})}Xs({chartConfig:i,series:A,seriesIndex:a,queryObject:h})}function xI(e){let{chartConfig:A,seriesConfig:t}=e,i=je(A),r=A.showOutliers,a=A.standardizeValues,n=mt(A),{y:o}=t,u=Fs(A),h=MA(u.series),g=n?void 0:t?.query?.where,f={y:h===bA.BoxPlotMultiFieldsAndCategory&&typeof o=="string"?o:void 0,chartSubType:h,splitBy:g,showOutliers:r,standardizeValues:sa(h)?a:!1},m=vo({chartConfig:A,seriesConfig:t,key:WA.ThirdQuartile});return{properties:{...m.properties,low:Fe({...f,key:WA.Min}),open:Fe({...f,key:WA.FirstQuartile}),high:Fe({...f,key:WA.Max})},dataFields:{...m.dataFields,low:i?"lowValueXField":"lowValueYField",open:i?"openValueXField":"openValueYField",high:i?"highValueXField":"highValueYField"}}}function QI(e){let{candleStickSeries:A,data:t,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesWereReinitialized:n,loaderHandle:o}=e;(i===!0||a===!0||r===!0||n===!0)&&(A.events.once(Oe.DataValidated,()=>{o.hideLoader()}),A.data.setAll(t?.dataItems??[]))}function SI(e){let{candleStickSeries:A,seriesConfig:t,seriesIndex:i,chartSubType:r,colorMatch:a,showMean:n,rendererType:o,options:u}=e,{root:h}=A,g=t.fillSymbol??Bs(i),f={},m={root:h,seriesConfig:t,seriesIndex:i,colorMatch:a,isChartFillSymbol:!0};an(A,!1),A.columns.length===0?f=yt({...m,seriesSymbol:g,element:Ni.new(h,{})}):A.columns.each(B=>{f=yt({...m,seriesSymbol:g,element:B,rendererSymbol:n?void 0:Mt({dataItem:B.dataItem?.dataContext,seriesConfig:t,chartSubType:r,colorMatch:a,rendererType:o})})}),yt({...m,seriesSymbol:f?.symbolWithColorInfo??g,element:A.columns.template,colorMatch:a}),u?.interactionsDisabled&&an(A,!0)}function UI(e){let{candleStickSeries:A,seriesConfig:t,data:i,options:r}=e;et(A.columns.template,r?.selectionTheme),Hr(A.columns.template,i?.dataItems?.length),kc(A,t.name),QI(e),zi(e)&&Xi({styleCallback:()=>SI(e),series:A,seriesConfig:t})}function II(e){let{root:A,xAxis:t,yAxis:i,chartConfig:r,seriesIndex:a,options:n,queryObject:o,errorStrings:u}=e,h=r.series[a],g;if(h.type===I.BoxPlotSeries){let f=xI({chartConfig:r,seriesConfig:h});g=ua.new(A,{id:h.id,turboMode:!0,xAxis:t,yAxis:i,[f.dataFields.low]:f.properties.low,[f.dataFields.open]:f.properties.open,[f.dataFields.high]:f.properties.high,[f.dataFields.value]:f.properties.value,[f.dataFields.category]:f.properties.category}),g.columns.template.setAll({themeTags:[],width:$e(80)}),et(g.columns.template,n?.selectionTheme),Qi({element:g.columns.template,series:g,queryObject:o,errorStrings:u})}return g}function LI(e){let{chartConfig:A,seriesConfig:t}=e,i=MA(A.series),{showOutliers:r,standardizeValues:a}=A,{y:n}=t,o=t?.query?.where,u=Fs(A),h=vo({chartConfig:u,seriesConfig:t,key:WA.Average}),g=Fe({y:i===bA.BoxPlotMultiFieldsAndCategory&&typeof n=="string"?n:void 0,chartSubType:i,splitBy:o,showOutliers:r,standardizeValues:sa(i)?a:!1,key:WA.Average});return h.properties.value=g,h}function EI(e){let{meanLineSeries:A,data:t,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesWereReinitialized:n}=e;(i===!0||a===!0||r===!0||n===!0)&&A.data.setAll(t?.meanLines??[])}function HI(e){let{meanLineSeries:A,seriesConfig:t,data:i,dataWasUpdated:r,sortChanged:a,rotationChanged:n,seriesWereReinitialized:o,options:u}=e,h=ai(A.uid,"bulletTemplate");h&&et(h,u?.selectionTheme),Hr(h,i?.meanLines?.length),kc(A,t?.name),EI({meanLineSeries:A,data:i,dataWasUpdated:r,sortChanged:a,rotationChanged:n,seriesWereReinitialized:o})}function TI(e){let{root:A,xAxis:t,yAxis:i,chartConfig:r,seriesIndex:a,options:n,queryObject:o,errorStrings:u}=e,h=r.series[a],g;if(h.type===I.LineSeries){let f=LI({chartConfig:r,seriesConfig:h});g=Pt.new(A,{id:h.id,xAxis:t,yAxis:i,[f.dataFields.value]:f.properties.value,[f.dataFields.category]:f.properties.category}),g.appear();let m=ca.new({});xr(g.uid,{isBoxPlotMeanLineSeries:!0,bulletTemplate:m}),et(m,n?.selectionTheme),g.bullets.push(B=>{let w=Ni.new(B,{},m),p=da.new(B,{sprite:w});return g&&Qi({element:w,series:g,queryObject:o,errorStrings:u}),p})}return g}function OI(e,A){return e.get("id")===`${A}_${jA.Outliers}`}function kI(e){let{chartConfig:A,seriesConfig:t}=e;return vo({chartConfig:A,seriesConfig:t,key:WA.Outlier})}function DI(e){let{outlierSeries:A,data:t,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesWereReinitialized:n}=e;(i===!0||a===!0||r===!0||n===!0)&&A.data.setAll(t?.outliers??[])}function MI(e,A){return(e??AA.boxPlot.boxPlotOutliersVisibility)&&A!==!1}function _I(e){let{outlierSeries:A,chartSubType:t,seriesConfig:i,colorMatch:r,showOutliers:a}=e;if(ai(A.uid,"bulletTemplate")&&i.type===I.BoxPlotSeries){let o=i.fillSymbol,u={type:GA.SMS,style:Sl.Circle,color:o?.color,size:AA.boxPlot.boxPlotOutliersSize};A.dataItems.forEach(h=>{let g=h.bullets?.[0]?.get("sprite");if(g!==void 0){let f=Mt({dataItem:h.dataContext,seriesConfig:i,chartSubType:t,colorMatch:r});yt({root:A.root,seriesSymbol:u,element:g,colorMatch:r,rendererSymbol:f})}})}let n=MI(a,i.visible);Wt(A,n)}function RI(e){let{outlierSeries:A,data:t,seriesConfig:i,sortChanged:r,dataWasUpdated:a,rotationChanged:n,seriesWereReinitialized:o,options:u}=e;if(A&&i.type===I.BoxPlotSeries){let h=ai(A.uid,"bulletTemplate");h&&et(h,u?.selectionTheme),Hr(h,t?.outliers?.length),DI({outlierSeries:A,data:t,rotationChanged:n,sortChanged:r,dataWasUpdated:a,seriesWereReinitialized:o}),zi(e)&&Xi({styleCallback:()=>_I(e),series:A,seriesConfig:i})}}function KI(e){let{root:A,xAxis:t,yAxis:i,chartConfig:r,seriesIndex:a,options:n,queryObject:o,errorStrings:u}=e,h=r.series[a],g;if(h.type===I.BoxPlotSeries){let f=kI({chartConfig:r,seriesConfig:h});g=Pt.new(A,{id:`${h.id}_${jA.Outliers}`,xAxis:t,yAxis:i,[f.dataFields.value]:f.properties.value,[f.dataFields.category]:f.properties.category}),g.strokes.template.set("forceHidden",!0);let m=ca.new({});xr(g.uid,{isBoxPlotOutliersSeries:!0,bulletTemplate:m}),et(m,n?.selectionTheme),g.bullets.push(B=>{let w=Ni.new(B,{},m),p=da.new(B,{sprite:w});return g&&Qi({element:w,series:g,queryObject:o,errorStrings:u}),zI({outlierSeries:g,bullet:p,seriesConfigId:h.id}),p}),g.appear()}return g}function NI(e){let{chartConfig:A,seriesConfig:t,type:i}=e,r="";switch(i){case jA.Top:r=WA.Max;break;case jA.Median:r=WA.Median;break;case jA.Bottom:r=WA.Min;break}return vo({chartConfig:A,seriesConfig:t,key:r})}function VI(e){let{stepLineSeries:A,data:t,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesWereReinitialized:n}=e;(i===!0||a===!0||r===!0||n===!0)&&A.data.setAll(t?.dataItems??[])}function PI(e){let{stepLineSeries:A,data:t,seriesConfig:i,seriesIndex:r,colorMatch:a,chartSubType:n,rendererType:o}=e;if(i.type===I.BoxPlotSeries){let{root:u}=A,h=$m({data:t.dataItems,colorMatch:a,chartSubType:n,rendererType:o}),g=(i.fillSymbol??Bs(r)).color,f={type:GA.SLS,width:AA.boxPlot.boxPlotLineWidth,color:h?AA.boxPlot.boxPlotWhiskersColor:g};yt({root:u,seriesIndex:r,seriesSymbol:f,element:A,colorMatch:a})}}function GI(e){let{stepLineSeries:A,data:t,seriesConfig:i,rotationChanged:r,sortChanged:a,dataWasUpdated:n,seriesWereReinitialized:o}=e,u=i.visible!==!1;A!==void 0&&i.type===I.BoxPlotSeries&&(Wt(A,u),zi(e)&&Xi({styleCallback:()=>PI(e),series:A,seriesConfig:i}),VI({stepLineSeries:A,data:t,rotationChanged:r,sortChanged:a,dataWasUpdated:n,seriesWereReinitialized:o}))}function ed(e){let{root:A,xAxis:t,yAxis:i,chartConfig:r,seriesIndex:a,type:n,options:o,queryObject:u,errorStrings:h}=e,g=r.series[a],f;if(g.type===I.BoxPlotSeries){let m=NI({chartConfig:r,seriesConfig:g,type:n});f=Dg.new(A,{id:`${g.id}_${n}`,xAxis:t,yAxis:i,noRisers:!0,[m.dataFields.value]:m.properties.value,[m.dataFields.category]:m.properties.category}),et(f.strokes.template,o?.selectionTheme),Qi({element:f.strokes.template,series:f,queryObject:u,errorStrings:h})}return f}function vo(e){let{chartConfig:A,seriesConfig:t,key:i}=e,r=je(A),a=A.showOutliers,n=A.standardizeValues,o=mt(A),u=MA(A.series),{x:h,y:g}=t,f=o?void 0:t?.query?.where,m={y:u===bA.BoxPlotMultiFieldsAndCategory&&typeof g=="string"?g:void 0,chartSubType:u,splitBy:f,showOutliers:a,standardizeValues:sa(u)?n:!1},B=u===bA.BoxPlotMonoField||u===bA.BoxPlotMultiFields||u===bA.BoxPlotMonoFieldAndSplitBy||u===bA.BoxPlotMultiFieldsAndSplitBy?gs:h;return{dataFields:{value:r?"valueXField":"valueYField",category:r?"categoryYField":"categoryXField"},properties:{value:Fe({key:i,...m}),category:B}}}function WI(e,A){return e.series.values.find(t=>OI(t,A))}function nC(e,A){let t=e.series.values.find(a=>a.get("id")===`${A}_${jA.Top}`),i=e.series.values.find(a=>a.get("id")===`${A}_${jA.Median}`),r=e.series.values.find(a=>a.get("id")===`${A}_${jA.Bottom}`);return{topStepLineSeries:t,medianStepLineSeries:i,bottomStepLineSeries:r}}function sC(e){return e!==bA.BoxPlotMonoField&&e!==bA.BoxPlotMultiFields&&e!==bA.BoxPlotMonoFieldAndCategory}function oC(e){let{chart:A,candleSeriesIndex:t,numberOfCandleStickSeries:i}=e,r,a,n=QA(A.uid,"config");if(n){let o=je(n),u=mt(n),h=o?A.yAxes.getIndex(0)?.get("renderer"):A.xAxes.getIndex(0)?.get("renderer"),g=h?.get("cellStartLocation"),f=h?.get("cellEndLocation");if(g&&f){let m=g/(u?1:n.series.length);r=g+t/i*(f-g)+m,a=g+(t+1)/i*(f-g)-m}}return{startLocation:r,endLocation:a}}function zI(e){let{outlierSeries:A,bullet:t,seriesConfigId:i}=e;if(A){let{chart:r}=A;if(r){let a=QA(r.uid,"config");if(a){let n=MA(a.series);if(sC(n)){let o=r.series.values.filter(h=>h instanceof ua),u=o?.findIndex(h=>h.get("id")===i);if(u&&u!==-1&&o[u]){let{startLocation:h,endLocation:g}=oC({chart:r,candleSeriesIndex:u,numberOfCandleStickSeries:o.length});h!==void 0&&g!==void 0&&t.set("locationX",(h+g)/2)}}}}}}function XI(e){let A=QA(e.uid,"config");if(A){let t=MA(A.series),i=A.series.length,r=je(A)?e.yAxes.getIndex(0)?.get("renderer"):e.xAxes.getIndex(0)?.get("renderer"),a=r?.get("cellStartLocation"),n=r?.get("cellEndLocation");if(a&&n){let o=e.series.values.filter(u=>u instanceof ua);o.forEach((u,h)=>{let{topStepLineSeries:g,medianStepLineSeries:f,bottomStepLineSeries:m}=nC(e,u.get("id")??"");if(sC(t)){let{startLocation:B,endLocation:w}=oC({chart:e,candleSeriesIndex:h,numberOfCandleStickSeries:o.length});[g,f,m].forEach(p=>{p!==void 0&&(p.set("stepWidth",$e(60/i)),B&&w&&p.set("locationX",(B+w)/2))})}else[g,f,m].forEach(B=>{B!==void 0&&B.setAll({stepWidth:$e(60/i)})})})}}}function YI(e){let{chartConfig:A,seriesIndex:t}=e,i=A.series[t],r=xA([i]),a=[];if(r===I.BoxPlotSeries)[II(e),ed({...e,type:jA.Top}),ed({...e,type:jA.Median}),ed({...e,type:jA.Bottom}),KI(e)].forEach(n=>{n&&a.push(n)});else if(r===I.LineSeries){let n=TI(e);n&&a.push(n)}return a}function ZI(e){let{chart:A,chartConfig:t,series:i,seriesConfig:r}=e;if(A&&t)if(XI(A),i instanceof ua&&r.type===I.BoxPlotSeries){i.set("id",r.id);let a=i.get("id")??"";UI({...e,seriesConfig:r,candleStickSeries:i});let{topStepLineSeries:n,medianStepLineSeries:o,bottomStepLineSeries:u}=nC(A,a),h=[jA.Top,jA.Median,jA.Bottom];[n,o,u].forEach((f,m)=>{f&&(f.set("id",`${r.id}_${h[m]}`),GI({...e,stepLineSeries:f}))});let g=WI(A,a);g&&(g.set("id",`${r.id}_${jA.Outliers}`),RI({...e,outlierSeries:g}))}else i instanceof Pt&&r.type===I.LineSeries&&HI({...e,meanLineSeries:i})}function JI(e){wc(e)}function Rd(e){let{isLineSmoothed:A,isRadarLineSeries:t,isRotated:i}=e,r=t?Hg:Ug;return A&&(r=t?Eg:i?Lg:Ig),r}function qI(e){let{series:A,seriesConfig:t,chartSubType:i,colorMatch:r,rendererType:a}=e,n;for(let o of A.dataItems){let u=o.dataContext;if(n=Mt({seriesConfig:t,dataItem:u,chartSubType:i,colorMatch:r,rendererType:a}),n!==void 0)break}return n}function jI(e){let{series:A,seriesConfig:t,seriesIndex:i,chartSubType:r,colorMatch:a,rendererType:n}=e,o=A.root,u=qI({series:A,seriesConfig:t,chartSubType:r,colorMatch:a,rendererType:n});return yt({root:o,seriesIndex:i,seriesSymbol:t.lineSymbol??Ol(i),element:A,colorMatch:a,rendererSymbol:u}).symbolWithColorInfo}function $I(e){let{series:A,seriesIndex:t,chartSubType:i,seriesConfig:r,colorMatch:a,lineColor:n}=e,o=!1,u,h=ai(A.uid,"bulletTemplate");if(h!==void 0){r.markerVisible!==!1&&r.visible!==!1?A.bulletsContainer.show():A.bulletsContainer.hide();let{markerSymbol:g}=r;g===void 0&&(g=Tl(),g.color=n),a?g.color=n:g.color??=n;let f=Mt({dataItem:A.dataItems[0]?.dataContext,seriesConfig:r,chartSubType:i,colorMatch:a});f?.outline&&(g.outline??=f.outline,g.outline.color=f.outline.color),BB({element:h,markerSymbol:g});let m=new Set,B;A.dataItems.forEach(w=>{let p=w.bullets?.[0]?.get("sprite");if(p!==void 0){let b=Mt({dataItem:w?.dataContext,seriesConfig:r,chartSubType:i,colorMatch:a}),v=yt({root:A.root,seriesIndex:t,seriesSymbol:g,element:p,colorMatch:a,rendererSymbol:b});u=v.symbolWithColorInfo,B=v.stylingInfo,tn(p,B),m.add(JSON.stringify(B))}}),o=m.size>1}return o?void 0:u}function AL(e,A){if(e.showArea===!0){let{color:t,opacity:i}=e.areaColor?Pi(e.areaColor):{color:A.get("stroke"),opacity:AA.lineSeries.areaOpacity};A.set("fill",t),A.fills.template.set("fillOpacity",i)}A.fills.template.set("visible",e.showArea===!0)}function lC(e){let{series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,colorMatch:a,rendererType:n,chartSubType:o,seriesIndexMapper:u,seriesSymbolMapForEvent:h,isRotated:g}=e,{chart:f,root:m}=A;if(f){let B=A instanceof ks;Wt(A,t.visible);let w=Rd({isRadarLineSeries:B,isLineSmoothed:t.lineSmoothed,isRotated:g});A.set("curveFactory",w);let p=jI({series:A,seriesConfig:t,seriesIndex:i,chartSubType:o,colorMatch:a,rendererType:n}),b=$I({series:A,seriesConfig:t,seriesIndex:i,chartSubType:o,colorMatch:a,lineColor:p.color});AL(t,A),h.set(u?.get(t.id)??i,{lineSymbol:p,markerSymbol:b}),h.size===r&&(ii({data:Me(h),htmlContainer:m.dom,chartId:A.chart?.get("id"),colorMatchApplied:rn(f)}),h.clear())}}function eL(e){let{root:A,chartConfig:t,xAxis:i,yAxis:r,seriesConfig:a,options:n,queryObject:o,errorStrings:u}=e,{id:h,name:g}=a,{xField:f,yField:m,xAxisField:B,yAxisField:w}=Er(t,a),p=Pt.new(A,{id:h,name:g,xAxis:i,yAxis:r,[B]:f,[w]:m,maskBullets:!1,curveFactory:Rd({isRadarLineSeries:!1,isLineSmoothed:a.lineSmoothed,isRotated:t.rotated}),layer:AA.zIndexes.lineSeries});p.appear();let b=ca.new({});return et(b,n?.selectionTheme),xr(p.uid,{bulletTemplate:b}),p.bullets.push(v=>{let S=Ni.new(v,{role:AA.aria.defaultChartItemRole,ariaLabel:ps(),hoverOnFocus:!0,tooltip:bc({series:p,tooltipFormatter:n?.tooltipFormatter}),layer:AA.zIndexes.lineSeries},b);return Qi({element:S,series:p,queryObject:o,errorStrings:u}),NB(S,p),da.new(v,{sprite:S})}),kd(p),zs(p,t),p}function tL(e){let{lineSeries:A,data:t,seriesIndex:i,chartConfig:r,dataWasUpdated:a,seriesWereReinitialized:n,rotationChanged:o,stackedTypeChanged:u,timeZoneChanged:h,sortChanged:g,loaderHandle:f}=e,m=r.series[i];if(t!==void 0&&i>=0&&i<r.series.length&&m.type===I.LineSeries&&(o===!0||a===!0||u===!0||h||n===!0||g===!0)){let{xField:B,yField:w,xAxisField:p,yAxisField:b}=Er(r,m);A.setAll({[p]:B,[b]:w}),A.events.once(Oe.DataValidated,()=>{f.hideLoader()}),A.data.setAll(t.dataItems)}}function iL(e){let{series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,colorMatch:a,rendererType:n,seriesIndexMapper:o,seriesSymbolMapForEvent:u}=e,{chart:h}=A;if(h!==void 0){let g=QA(h.uid,"config"),f=QA(h.uid,"isRotated")??!1,m=MA(g?.series);lC({series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,colorMatch:a,chartSubType:m,rendererType:n,seriesIndexMapper:o,seriesSymbolMapForEvent:u,isRotated:f})}}function rL(e,A){let{connectLines:t,temporalBinning:i}=A,r=i?.nullPolicy;e.set("connect",t!==!1&&r!==Fl.Null)}function aL(e){let{series:A,data:t,chartConfig:i,options:r,seriesIndex:a,dataWasUpdated:n,queryObject:o,fieldList:u,utilsStrings:h,rotationChanged:g,seriesWereReinitialized:f,timeZoneChanged:m,sortChanged:B,stackedTypeChanged:w,loaderHandle:p}=e,b=i.series[a],v=i.rotated,S=i.axes,Q;S?.[1]&&(Q=S[1]),A.set("id",b.id),Wt(A,b.visible);let L=ai(A.uid,"bulletTemplate");L&&et(L,r?.selectionTheme),Hr(L,t?.dataItems?.length),Ws({series:A,chartConfig:i,isRotated:v}),JI({seriesType:I.LineSeries,series:A,seriesConfig:b,isRotated:v,dataLabelsConfig:b.dataLabels,yAxisValueFormat:Q?.valueFormat,externalDataLabelFormatter:r?.dataLabelFormatter}),rL(A,b),tL({lineSeries:A,seriesIndex:a,data:t,chartConfig:i,dataWasUpdated:n,rotationChanged:g,stackedTypeChanged:w,seriesWereReinitialized:f,timeZoneChanged:m,sortChanged:B,loaderHandle:p}),Gs({series:A,seriesConfig:b,fieldList:u,queryObject:o,seriesIndex:a,tooltipFormatter:r?.tooltipFormatter,utilsStrings:h}),zi(e)&&Xi({styleCallback:()=>iL(e),series:A,seriesConfig:b}),Xs({chartConfig:i,series:A,seriesIndex:a,queryObject:o})}function cC(e,A){let t=e.labels.template;t.adapters.remove("text"),t.adapters.remove("html");let i=A!==void 0?"html":"text";Cc({label:t,labelOutputProp:i});let r=(a,n)=>{let o=a??"",u=ai(e.uid,"pieChartDataLabelFormatter");if(u){let h=n.dataItem;if(h){let g=h?.get("valuePercentTotal"),f=h?.get("value"),m=h?.get("category")??a??"";o=u(m,f,g)}}return i==="html"?Re(o):o};t.adapters.add(i,(a,n)=>r(a,n)),e.labels.each(a=>{a.adapters.remove("text"),a.adapters.remove("html"),Cc({label:a,labelOutputProp:i}),a.adapters.add(i,n=>r(n,a))})}function nL(e){let A=e.dataItem?.component,t;if(A instanceof yr){let i=QA(A.chart?.uid??Number.NaN,"config");if(i!==void 0&&i.series[0].type===I.PieSeries){let r=i.series[0].dataLabelsInside??AA.pieChart.dataLabelsInside,a=Pi(i?.series[0].dataLabels?.content?.color).color,n=A.chart?.get("background")?.get("fill")??Pi(AA.backgroundColor).color,o=QA(A.chart?.uid??Number.NaN,"options")?.autoInverseDataLabelTextColor??se.options.autoInverseDataLabelTextColor,u=e.dataItem?.dataContext?.[se.pieChart.technicalFieldSliceId],h=A.slices.values.find(f=>(f.dataItem?.dataContext)[se.pieChart.technicalFieldSliceId]===u)?.get("fill")??Pi(i.series[0].fillSymbol?.color).color,g=a??e.text.get("fill");t=g,g&&h&&o&&r&&(t=pB({textBackgroundColor:h,chartBackgroundColor:n}))}}return t}function sL(e,A){let t=e.labels.template;t.set("cursorOverStyle","pointer"),t.setAll({cursorOverStyle:"pointer",maxWidth:AA.pieChart.dataLabels.maxWidth??Number.NaN,oversizedBehavior:AA.pieChart.dataLabels.wrap??!0?"wrap":"none",centerX:Ja,centerY:Ja}),cC(e,A),t.adapters.add("fill",(i,r,a)=>nL(r))}function oL(e,A){let{numericValueFormat:t,percentValueFormat:i,displayNumericValueOnDataLabel:r,displayCategoryOnDataLabel:a,displayPercentageOnDataLabel:n,valuePrefix:o,valueSuffix:u,percentagePrefix:h,percentageSuffix:g,dataLabelsCharacterLimit:f}=A,{chart:m}=e,B;if(m){let w=wB({pieChart:m,valueIntlOptions:t?.intlOptions,percentageIntlOptions:i?.intlOptions,displayNumericValue:r??AA.pieChart.displayNumericValueOnDataLabel,displayPercentage:n??AA.pieChart.displayPercentageOnDataLabel,valuePrefix:o,valueSuffix:u,percentagePrefix:h,percentageSuffix:g}),p=ms(f),b=Ci(QA(e.chart?.uid??Number.NaN,"rtl")??!1," ");B=(v,S,Q)=>{let L=w(v,S,Q),D=a??AA.pieChart.displayCategoryOnDataLabel?p(v):"",_=we(D)?"":`${D}${b}`;return _=`${_}${L}`,A.dataLabels?.content!==void 0&&(_=wi({textSymbol:{...A.dataLabels.content,text:_},format:"amChartsV5",defaults:{...AA.pieChart.dataLabels,wrap:A.optimizeDataLabelsOverlapping??AA.pieChart.dataLabels.wrap}})),_}}return B}function lL(e){let{pieSeries:A,seriesConfig:t,dataLabelFormatter:i}=e,{dataLabels:r}=t,a=t.dataLabelsOffset??AA.pieChart.dataLabelsOffset,n=t.dataLabelsInside??AA.pieChart.dataLabelsInside;cC(A,i),xr(A.uid,{pieChartDataLabelFormatter:i??oL(A,t)}),Wi({label:A.labels.template,labelConfig:r,defaults:{...AA.pieChart.dataLabels,wrap:t.optimizeDataLabelsOverlapping??AA.pieChart.alignDataLabels}});let o=QA(A.chart?.uid??0,"rtl"),u=!n&&(t.alignDataLabels??AA.pieChart.alignDataLabels),h=t.optimizeDataLabelsOverlapping===!0;A.set("alignLabels",u),A.labels.template.setAll({forceHidden:!r?.visible,breakWords:h?!1:void 0,textAlign:o?"right":"left"});let g=A.labels.template.get("radius"),f=A.labels.template.get("baseRadius");n&&f!==$e(60)?A.labels.template.setAll({radius:void 0,baseRadius:$e(60),textType:"regular"}):!n&&!h&&!u&&(A.labels.template.setAll({baseRadius:Ts,textType:"adjusted"}),a!==void 0&&Number.isFinite(a)&&g!==a&&A.labels.template.set("radius",a))}var td;function cL(e,A){let{ticks:t}=A,i=t?.visible===!1||A.dataLabelsInside===!0||A.dataLabels===void 0||A.dataLabels?.visible===!1||A.dataLabelsOffset!==void 0&&A.dataLabelsOffset<=0;e.ticks.template.setAll({visible:!i,crisp:!1});let r=t?.lineSymbol??Ga({color:El});i&&(r.width=0),Lr({element:e.ticks.template,lineSymbol:r,visible:!i})}function dL(e){let{series:A,pieSlicesSymbols:t,seriesConfig:i}=e;A.slices.each((r,a)=>{let n=r.dataItem?.dataContext,o=Ns({dataContext:n,pieSlicesSymbols:t,seriesConfig:i});Ir({root:A.root,element:r,fillSymbol:o,defaultToColorFromRamp:!0,colorRampIndex:a,isChartFillSymbol:!0})})}function uL(e,A){let t=new Map(e.map((i,r)=>[i.arcgis_charts_original_category_value,r]));return[...A].sort((i,r)=>(t.get(i.arcgis_charts_original_category_value)??1/0)-(t.get(r.arcgis_charts_original_category_value)??1/0))}function hL(e){let{series:A,data:t,seriesConfig:i,dataWasUpdated:r,sortChanged:a,seriesWereReinitialized:n,loaderHandle:o,labelUpdateNeeded:u,groupOfSlicesUpdateNeeded:h}=e,{x:g,y:f}=i,m=MA([i]),B=m===bA.PieFromFields?ur:g;if(t&&(r===!0||n===!0||a===!0||h===!0))A.setAll({categoryField:B,valueField:m===bA.PieFromFields?hr:f}),A.events.once(Oe.DataValidated,()=>{o.hideLoader()}),A.data.setAll(t.dataItems);else if(t&&u){let w=A.dataItems,p=w.map(v=>v.dataContext),b=uL(p,t.dataItems);w.forEach((v,S)=>{let Q=b[S];if(typeof Q[B]=="string"){let L=Q[B];v.set("category",L);let D=v.dataContext;D&&(D[B]=L)}}),A.markDirty()}}function fL(e,A){let{innerRadius:t}=A;e.set("innerRadius",t?$e(t):0)}function gL(e,A){let{startAngle:t,endAngle:i}=A;e.setAll({startAngle:t??AA.pieChart.min,endAngle:i??360+(e.get("startAngle")??0)})}function BL(e){let{root:A,seriesConfig:t,options:i,chart:r,queryObject:a,errorStrings:n}=e,{id:o,name:u,x:h,y:g}=t,f=MA([t]),m=yr.new(A,{id:o,name:u,categoryField:f===bA.PieFromFields?ur:h,valueField:f===bA.PieFromFields?hr:g});return sL(m,i?.dataLabelFormatter),bB(m,i?.tooltipFormatter),m.slices.template.states.create("hover",{scale:1,stateAnimationDuration:0}),et(m.slices.template,i?.selectionTheme),Qi({element:m.slices.template,series:m,queryObject:a,errorStrings:n}),m.appear(),r instanceof Vi&&dC(r,m),m}function mL(e){let{series:A,seriesConfig:t,seriesWereReinitialized:i,dataWasUpdated:r,sortChanged:a,data:n,options:o,loaderHandle:u,labelUpdateNeeded:h,utilsStrings:g,groupOfSlicesUpdateNeeded:f}=e,{dataLabelFormatter:m,tooltipFormatter:B}=o??{};A.set("id",t.id),Wt(A,t.visible),et(A.slices.template,o?.selectionTheme),hL({series:A,seriesConfig:t,seriesWereReinitialized:i,dataWasUpdated:r,sortChanged:a,data:n,loaderHandle:u,labelUpdateNeeded:h,groupOfSlicesUpdateNeeded:f}),zi(e)&&Xi({styleCallback:()=>dL(e),series:A,seriesConfig:t}),lL({pieSeries:A,seriesConfig:t,dataLabelFormatter:m}),fL(A,t),gL(A,t),cL(A,t),yB({series:A,seriesConfig:t,tooltipFormatter:B});let{chart:w}=A;w instanceof Vi&&dC(w,A)}function dC(e,A){if(!e.isDisposed()){let t=e.radius();bt(e.uid,{pieChartRadius:t});let i=()=>{let r=$e(QA(e.uid,"pieChartRadius")??AA.pieChart.chartOptimizedRadius),a=r,n=e.series?.values?.[0]??A,o=QA(e.uid,"config");if(o!==void 0){let{series:u}=o,{innerRadius:h,optimizeDataLabelsOverlapping:g,alignDataLabels:f,dataLabelsOffset:m=AA.pieChart.dataLabelsOffset,dataLabels:B,dataLabelsInside:w}=u[0];if(B?.visible===!0&&f===!0&&g===!0&&w!==!0){let p=AA.pieChart.chartOptimizedRadius/100,b=500,v=150,S=.6,Q=.5,L=1,D=e.seriesContainer.width()-m*2,_=Math.max(D-v,0)/(b-v),k=_<1?Math.max(_**L*S,.4):Math.min(_**Q*S,p);a=$e(k*100)}else a=$e(AA.pieChart.chartRadius);r.value.toFixed(1)!==a.value.toFixed(1)&&(bt(e.uid,{pieChartRadius:a.percent}),td&&clearTimeout(td),td=Bc(()=>{let p=e.chartContainer.height();if(e.chartContainer.set("height",p+.1),e.set("radius",a),h&&!Number.isNaN(h)&&h>0){let b=(h??AA.pieChart.innerRadius)*a.value;e.set("innerRadius",$e(b))}e.markDirty(),n.markDirty(),e.root.resize(),pL(e)})),n instanceof yr&&n.labels.template.setAll({maxWidth:CL({seriesConfig:o?.series[0],chart:e,newChartRadius:a})})}return a};e.events.onDebounced(Oe.BoundsChanged,()=>i(),AA.debounceTime),i()}}function pL(e){Bc(()=>{e.chartContainer.set("height",$e(100)),e.root.resize()})}function CL(e){let{seriesConfig:A,chart:t,newChartRadius:i}=e,r=AA.pieChart.dataLabels.maxWidth??100;if(A!=null){let{alignDataLabels:a,dataLabelsOffset:n=AA.pieChart.dataLabelsOffset,optimizeDataLabelsOverlapping:o,dataLabels:u,dataLabelsInside:h}=A;if(u?.visible===!0&&a===!0&&h!==!0&&o===!0){let g=t.seriesContainer.width(),f=t.seriesContainer.height(),m=i.value*Math.min(g,f),B=5,w=Math.floor((g-m)/2)-B-n;r=Math.min(w,r-B);let p=AA.pieChartDataLabel.minWidth;r<p&&(r=p)}}return r}function wL(e){let{root:A,chartConfig:t,xAxis:i,yAxis:r,seriesConfig:a,options:n,queryObject:o,errorStrings:u}=e,{id:h,name:g}=a,{xField:f,yField:m,xAxisField:B,yAxisField:w}=Er(t,a),p=ks.new(A,{id:h,name:g,xAxis:i,yAxis:r,[B]:f,[w]:m,curveFactory:Rd({isRadarLineSeries:!0,isLineSmoothed:a.lineSmoothed,isRotated:t.rotated}),layer:AA.zIndexes.lineSeries});p.appear();let b=ca.new({});return xr(p.uid,{bulletTemplate:b}),et(b,n?.selectionTheme),p.bullets.push(v=>{let S=Ni.new(v,{tooltip:bc({series:p,tooltipFormatter:n?.tooltipFormatter}),layer:AA.zIndexes.lineSeries},b);return Qi({element:S,series:p,queryObject:o,errorStrings:u}),da.new(v,{sprite:S})}),kd(p),zs(p,t),p}function bL(e){let{radarLineSeries:A,data:t,seriesIndex:i,chartConfig:r,dataWasUpdated:a,seriesWereReinitialized:n,stackedTypeChanged:o,timeZoneChanged:u,loaderHandle:h}=e,g=r.series[i];if(t!==void 0&&g?.type===I.RadarSeries&&(a||u||n||o)){let{xField:f,yField:m,xAxisField:B,yAxisField:w}=Er(r,g);A.setAll({[B]:f,[w]:m}),A.events.once(Oe.DataValidated,()=>{h.hideLoader()}),A.data.setAll(t.dataItems)}}function yL(e){let{series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,colorMatch:a,rendererType:n,seriesIndexMapper:o,seriesSymbolMapForEvent:u}=e,{chart:h}=A;if(h!==void 0){let g=QA(h.uid,"config"),f=QA(h.uid,"isRotated")??!1,m=MA(g?.series);lC({series:A,seriesConfig:t,seriesIndex:i,numberOfSeries:r,colorMatch:a,chartSubType:m,rendererType:n,seriesIndexMapper:o,seriesSymbolMapForEvent:u,isRotated:f})}}function vL(e){let{series:A,data:t,seriesWereReinitialized:i,chartConfig:r,options:a,seriesIndex:n,dataWasUpdated:o,timeZoneChanged:u,stackedTypeChanged:h,fieldList:g,queryObject:f,loaderHandle:m,utilsStrings:B}=e,w=r.series[n];A.set("id",w.id),Wt(A,w.visible);let p=ai(A.uid,"bulletTemplate");p&&et(p,a?.selectionTheme),Hr(p,t?.dataItems?.length),Ws({series:A,chartConfig:r,isRotated:!1}),Gs({series:A,seriesConfig:w,fieldList:g,queryObject:f,seriesIndex:n,tooltipFormatter:a?.tooltipFormatter,utilsStrings:B}),zi(e)&&Xi({styleCallback:()=>yL(e),series:A,seriesConfig:w}),Xs({chartConfig:r,series:A,seriesIndex:n,queryObject:f}),bL({radarLineSeries:A,data:t,seriesIndex:n,chartConfig:r,dataWasUpdated:o,timeZoneChanged:u,stackedTypeChanged:h,seriesWereReinitialized:i,loaderHandle:m})}function Kd(e){let{chart:A,chartConfig:t,options:i,utilsStrings:r,queryObject:a,errorStrings:n}=e,{rotated:o}=t,{root:u}=A,h=xA(t.series);A.series.clear();let g={root:u,chartConfig:t,options:i,chart:A,utilsStrings:r,queryObject:a,errorStrings:n},f=[];for(let m=0;m<t.series.length;m+=1){let B=t.series[m],{assignToSecondValueAxis:w,type:p}=B,b=A instanceof Ee?RB({chart:A,chartType:h,rotated:o,assignToSecondValueAxis:w}):void 0,{xAxis:v,xAxisForHistogramOverlaySeries:S,yAxis:Q}=b??{};switch(!0){case p===I.HeatSeries:{Rt(a),v&&Q&&f.push(QB({...g,queryObject:a,xAxis:v,yAxis:Q}));break}case h===I.BoxPlotSeries:{v&&Q&&bi(t)&&f.push(...YI({...g,xAxis:v,yAxis:Q,seriesIndex:m,seriesConfig:t.series[m],chartConfig:t}));break}case p===I.HistogramSeries:{v&&Q&&f.push(...kB({...g,seriesConfig:B,xAxis:v,xAxisForOverlaySeries:S,yAxis:Q}));break}case p===I.PieSeries:{f.push(BL({...g,seriesConfig:B}));break}case(h===I.ComboLineAndBarSeries||h===I.BarSeries||h===I.LineSeries):{v&&Q&&(p===I.BarSeries?f.push(wI({...g,seriesConfig:B,xAxis:v,yAxis:Q})):p===I.LineSeries&&f.push(eL({...g,seriesConfig:B,xAxis:v,yAxis:Q})));break}case p===I.RadarSeries:{v&&Q&&f.push(wL({...g,seriesConfig:B,xAxis:v,yAxis:Q}));break}case p===I.ScatterSeries:{v&&Q&&f.push(...EB({...g,seriesConfig:B,xAxis:v,yAxis:Q}));break}}}f.forEach(m=>{m instanceof Og&&m.setPrivate("doNotUpdateLegend",!0)}),A.series.pushAll(f)}function Fo(e){let{chart:A,chartConfig:t,options:i,data:r,seriesIndexMapper:a,dataWasUpdated:n,sortChanged:o,seriesWereReinitialized:u,rotationChanged:h,colorMatchChanged:g,stackedTypeChanged:f,seriesStyleChanged:m,timeZoneChanged:B,sizePolicyChanged:w,pieSlicesSymbols:p,queryObject:b,loaderHandle:v,utilsStrings:S,errorStrings:Q,groupOfSlicesUpdateNeeded:L,labelUpdateNeeded:D}=e,{chartRenderer:_}=t,{root:k}=A,{series:P}=t,j=xA(t.series),E=MA(t.series),K=A.series.values,F=pr(t),W=t.series.length,aA=new Map,J=Nt(b,i?.popupTemplateFieldInfosEnabled),dA=Kt(b),eA=pt(dA)?void 0:Cs(_,dA.renderer),hA=u||n||o||h||f,X={root:k,chartConfig:t,queryObject:b,options:i,colorMatch:F,dataWasUpdated:n,sortChanged:o,seriesWereReinitialized:u,fieldList:J,rendererType:eA,dataLabelFormatter:i?.dataLabelFormatter,utilsStrings:S,chartSubType:E,loaderHandle:v,autoInverseDataLabelTextColor:i?.autoInverseDataLabelTextColor??AA.options.autoInverseDataLabelTextColor},z={...X,numberOfSeries:W,rotationChanged:h,colorMatchChanged:g,stackedTypeChanged:f,seriesStyleChanged:m,seriesIndexMapper:a,seriesSymbolMapForEvent:aA,timeZoneChanged:B};for(let gA=0;gA<P.length;gA++){let lA=P[gA],iA=K[gA],UA=lA.type;switch(!0){case j===I.HeatSeries:{iA instanceof br&&A instanceof Ee&&Br(t)&&SB({...z,series:iA,data:r,seriesConfig:t.series[gA],chartConfig:t});break}case j===I.BoxPlotSeries:{iA=K.find(HA=>HA.get("id")===lA.id),A instanceof Ee&&bi(t)&&(iA instanceof ua||iA instanceof Pt)&&(UA===I.BoxPlotSeries||UA===I.LineSeries)&&ZI({...z,chart:A,series:iA,data:r,seriesIndex:gA,seriesConfig:lA,chartConfig:t,showMean:mt(t),showOutliers:mr(t)});break}case UA===I.HistogramSeries:{iA instanceof br&&A instanceof Ee&&lg(r)&&DB({...z,series:iA,allChartSeries:K,data:r,seriesIndex:gA,seriesConfig:lA,axes:t.axes});break}case UA===I.PieSeries:{iA instanceof yr&&A instanceof Vi&&Hs(r)&&mL({...X,series:iA,seriesConfig:lA,data:r,pieSlicesSymbols:p,groupOfSlicesUpdateNeeded:L,seriesStyleChanged:m,colorMatchChanged:g,labelUpdateNeeded:D});break}case(j===I.ComboLineAndBarSeries||j===I.BarSeries||j===I.LineSeries):A instanceof Ee&&Hs(r)&&(UA===I.BarSeries&&iA instanceof br?FI({...z,series:iA,data:r,seriesIndex:gA}):UA===I.LineSeries&&iA instanceof Pt&&aL({...z,series:iA,seriesIndex:gA,seriesConfig:lA,data:r}));break;case UA===I.ScatterSeries:{iA=IB(A);let HA=LB(A);iA instanceof Pt&&HA instanceof Pt&&cg(r)&&HB({...z,series:iA,seriesConfig:lA,trendLineSeries:HA,sizePolicyChanged:w,data:r});break}case UA===I.RadarSeries:{iA instanceof ks&&A instanceof vi&&Hs(r)&&vL({...z,series:iA,data:r,seriesIndex:gA,seriesConfig:lA,chartConfig:t});break}}hA&&j&&iA&&xB({chartType:j,series:iA,tooltipFormatter:i?.tooltipFormatter})}MB({chart:A,options:i,dataWasUpdated:n,data:r,chartConfig:t,queryObject:b,errorStrings:Q})}function FL(e){Hc(e)||e.dataItems.forEach(A=>{let t=A.bullets?.[0];if(t){let i=t.get("sprite"),r=Vs(i.uid,"selected")!==!0;Ps({element:i,selected:r})}})}function xL(e){e.columns.each(A=>{let t=Vs(A.uid,"selected")!==!0;Ps({element:A,selected:t})})}function QL(e){e.slices.each(A=>{let t=Vs(A.uid,"selected")!==!0;Ps({element:A,selected:t})})}async function SL(e){let{chart:A,queryObject:t,errorStrings:i}=e;if(gc(A)){let r=QA(A.uid,"actionMode");r!==RA.MonoSelection&&r!==RA.None&&(A.series.each(a=>{switch(!0){case a instanceof br:xL(a);break;case a instanceof Pt:FL(a);break;case a instanceof yr:QL(a);break}}),await _B({chart:A,selectionSource:Le.ProgrammaticSelection,queryObject:t,errorStrings:i}))}}function UL(e,A){let t=!1,i=e.series,r=A.series,a=xA(r),n=(f,m)=>f.filter(B=>B.type===m).flatMap(B=>{let w=[];switch(m){case I.BarSeries:case I.HistogramSeries:w.push(B.fillSymbol);break;case I.LineSeries:case I.RadarSeries:w.push(B.lineSymbol,B.markerSymbol);break;case I.ScatterSeries:w.push(B.markerSymbol);break;case I.PieSeries:let p=B;w.push(p.fillSymbol),p.slices?.forEach(b=>{w.push(b.fillSymbol)}),p.sliceGrouping&&w.push(p.sliceGrouping.fillSymbol);break}return(B.type===I.BarSeries||B.type===I.LineSeries||B.type===I.RadarSeries)&&B.nullCategory?.symbol!==void 0&&w.push(B.nullCategory.symbol),w}),o,u;a===I.ComboLineAndBarSeries?(o=n(i,I.BarSeries).concat(n(i,I.LineSeries)),u=n(r,I.BarSeries).concat(n(r,I.LineSeries))):(o=n(i,i[0].type),u=n(r,r[0].type));let h=!_i(o,u),g=!1;switch(a){case I.LineSeries:case I.RadarSeries:case I.ComboLineAndBarSeries:g=r.filter(f=>f.type===I.LineSeries||f.type===I.RadarSeries).some(f=>{let m=i.find(B=>B.id===f.id);return(f.showArea??AA.lineSeries.showArea)!==(m?.showArea??AA.lineSeries.showArea)||(f.lineSmoothed??AA.lineSeries.lineSmoothed)!==(m?.lineSmoothed??AA.lineSeries.lineSmoothed)||(f.markerVisible??AA.lineSeries.markerVisible)!==(m?.markerVisible??AA.lineSeries.markerVisible)||f.showArea&&!_i(f.areaColor,m?.areaColor)});break}return t=h||g,t}function IL(){Cg(rB)}function LL(e){e.dispose()}function EL(e){let{chart:A,chartContainer:t,chartLocale:i}=e,{root:r}=A,{t9nLocale:a}=sr(t??document.documentElement),n=la(t??document.documentElement);r.locale=i,bt(A.uid,{locale:a,formatLocale:n,rtl:ul(t??document.documentElement)==="rtl"})}function gd(e){let{chart:A,actionMode:t,cursorRange:i}=e;if(gc(A)){let r=t??QA(A.uid,"actionMode")??AA.actionMode;bt(A.uid,{actionMode:r}),r===RA.None&&Tc({chart:A,selectionSource:Le.ClearSelection}),dI({chart:A,actionMode:r,cursorRange:i})}}function HL(e){return pg.rootElements.find(A=>A.dom===e)?.dispose(),xg.new(e)}function TL(e,A){e.container.children.clear();let t=xA(A?.series),i;switch(t){case I.RadarSeries:case I.GaugeSeries:i=vi;break;case I.PieSeries:i=Vi;break;default:i=Ee;break}return e.container.children.push(i.new(e,{id:`${A?.id}`,layout:e.verticalLayout,paddingBottom:AA.chartPadding,paddingTop:AA.chartPadding,paddingRight:AA.chartPadding,paddingLeft:AA.chartPadding}))}function OL(e){let{chart:A,chartConfig:t,data:i,dataWasUpdated:r,sortChanged:a,slicesConfigChangedSinceLastUpdate:n,chartRendererChanged:o,colorMatchChanged:u,pieSlicesSymbols:h,options:g,queryObject:f,loaderHandle:m,utilsStrings:B,errorStrings:w,groupOfSlicesUpdateNeeded:p,seriesStyleChanged:b}=e;Fo({chart:A,chartConfig:t,options:g,data:i,dataWasUpdated:r,sortChanged:a,queryObject:f,pieSlicesSymbols:h,loaderHandle:m,utilsStrings:B,errorStrings:w,groupOfSlicesUpdateNeeded:p,seriesStyleChanged:b,colorMatchChanged:u,labelUpdateNeeded:r||n||o||u}),ii({data:h,htmlContainer:A.root.dom,chartId:A.get("id"),colorMatchApplied:rn(A)})}function kL(e){let{chart:A,chartConfig:t,data:i,anyGuideAboveChanged:r,dataWasUpdated:a,dataUpdateDetails:n,seriesIndexMapper:o,seriesFilteredOut:u,sortChanged:h,options:g,queryObject:f,rotationChanged:m,colorMatchChanged:B,stackedTypeChanged:w,seriesCompositionChanged:p,heatChartHideEmptyRowsAndColumnsChanged:b,seriesStyleChanged:v,timeZoneChanged:S,timeIntervalInfoWasReset:Q,sizePolicyChanged:L,sizePolicyChangesRequireSeriesReinit:D,loaderHandle:_,utilsStrings:k,errorStrings:P,gaugeMinMaxFromData:j}=e,{axisLabelsBehaviorChanged:E}=e,K=lU({chart:A,chartConfig:t,rotationChanged:m,axisLabelsBehaviorChanged:E,timeIntervalInfoWasReset:Q}),F=K||KB({currentChartSeriesCount:A.series.length,chartConfig:t,dataUpdateDetails:n,seriesFilteredOut:u,sizePolicyChangesRequireSeriesReinit:D,seriesCompositionChanged:p});K&&(Jp({chart:A,chartConfig:t,errorStrings:P}),E=[!0,!0]),F&&(A.series.clear(),Kd({chart:A,chartConfig:t,options:g,utilsStrings:k,queryObject:f,errorStrings:P}),A.gridContainer?.toBack?.()),qp({chart:A,chartConfig:t,queryObject:f,data:i,dataWasUpdated:a,axesInitializationNeeded:K,heatChartHideEmptyRowsAndColumnsChanged:b,sortChanged:h,timeIntervalInfo:i?.timeIntervalInfo??QA(A.uid,"timeIntervalInfo"),axisLabelsBehaviorChanged:E,anyGuideAboveChanged:r,xAxisLabelFormatter:g?.xAxisLabelFormatter,yAxisLabelFormatter:g?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:g?.secondaryYAxisLabelFormatter,guideTooltipFormatter:g?.guideTooltipFormatter,gaugeInnerLabelFormatter:g?.gaugeInnerLabelFormatter,utilsStrings:k,errorStrings:P,gaugeMinMaxFromData:j}),Fo({chart:A,chartConfig:t,options:g,data:i,dataWasUpdated:a,sortChanged:h,seriesIndexMapper:o,seriesWereReinitialized:F,rotationChanged:m,colorMatchChanged:B,stackedTypeChanged:w,seriesStyleChanged:v,timeZoneChanged:S,sizePolicyChanged:L,queryObject:f,loaderHandle:_,utilsStrings:k,errorStrings:P}),xA(t.series)===I.HeatSeries&&Ic(A),aC({chart:A,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar})}function DL(e){let{chart:A,legend:t,loaderHandle:i,updateProps:r,gaugeMinMaxFromData:a}=e,{newChartConfig:n,updateOptions:o,dataWasUpdated:u,dataUpdateDetails:h,hasSeriesFilteredOut:g,pieSlicesSymbols:f,colorMatchApplied:m,rendererFieldNames:B,configWithAllSeries:w,t9nStrings:p,queryObject:b,dataInfo:v}=r,{data:S}=v,{utilsStrings:Q,errorStrings:L}=p,{root:D}=A,{popupTemplateFieldInfosEnabled:_}=o??{};if(n===void 0)throw new Error;let k=QA(A.uid,"config");if(A.isDisposed()||!Rl(k,n))throw new _t(ta.ChartDisposed);k??=n,bt(A.uid,{queryObject:b});let P=MA(n.series),j=je(n);bt(A.uid,{config:Me(n),options:o,isNonAggregatedChart:!Wa(P),isRotated:j,filterBySelection:o?.filterBySelection,colorMatchApplied:m,rendererFieldNames:B});let E=Nt(b,_),K=Vf(k,n),F=Zl(k,n),W=Ef(k,n),aA=Hf(k,n),J=UL(k,n),dA=JSON.stringify(za(k.series))!==JSON.stringify(za(n.series)),eA=Jl(k,n),hA=Wf(k,n),X=Yl(k,n),z=zf(k,n),gA=Xf(k,n),lA=Ya({oldConfig:g?w:k,newConfig:n,dataWasUpdated:u}),iA=!1,UA=!1,HA=!1,IA=!1;Br(k)&&Br(n)&&(iA=Df(k,n),UA=Of(k,n),HA=Tf(k,n)||kf(k,n)||iA,IA=Lf(k,n));let OA=Ul({oldConfig:k,newConfig:n,rotationChanged:F}),ce=k.series,$A=n.series;if(u){let{queryConfig:rA,count:q}=v??{};bt(A.uid,{fieldList:E,queryConfig:rA,elementCount:q,timeIntervalInfo:S!==void 0&&"timeIntervalInfo"in S?S.timeIntervalInfo:void 0})}A instanceof qa&&qS({chartSeries:A.series,oldSeries:ce,newSeries:$A});let Se=A instanceof Vi?Rs(ce,$A):!1,Ke=Mf({oldConfig:k,newConfig:n}),x=new Map;switch(n.series.forEach((rA,q)=>{x.set(rA.id,q)}),jp(A,n.background),tC(A,{title:n.title,subtitle:n.subtitle}),iC(A,n.footer),eC({root:D,chart:A,cursorCrosshair:n.cursorCrosshair,config:n,queryObject:b,errorStrings:L}),xA(n.series)){case I.PieSeries:{A instanceof Vi&&(Rt(b),OL({chart:A,chartConfig:n,options:o,data:S,dataWasUpdated:u,slicesConfigChangedSinceLastUpdate:Ke,pieSlicesSymbols:f,chartRendererChanged:eA,sortChanged:lA,queryObject:b,loaderHandle:i,colorMatchChanged:W,utilsStrings:Q,errorStrings:L,groupOfSlicesUpdateNeeded:Se,seriesStyleChanged:J}));break}case I.HeatSeries:case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:case I.ScatterSeries:case I.RadarSeries:case I.GaugeSeries:case I.HistogramSeries:case I.BoxPlotSeries:A instanceof Ee&&kL({chart:A,chartConfig:n,options:o,data:S,dataWasUpdated:u,seriesIndexMapper:x,dataUpdateDetails:h,seriesFilteredOut:g,heatChartHideEmptyRowsAndColumnsChanged:IA,sortChanged:lA,axisLabelsBehaviorChanged:OA,anyGuideAboveChanged:K,rotationChanged:F,colorMatchChanged:W,stackedTypeChanged:aA,seriesStyleChanged:J,seriesCompositionChanged:dA,timeZoneChanged:hA,timeIntervalInfoWasReset:X,sizePolicyChanged:z,sizePolicyChangesRequireSeriesReinit:gA,queryObject:b,loaderHandle:i,utilsStrings:Q,errorStrings:L,gaugeMinMaxFromData:a});break}A instanceof qa&&Ec({chart:A,chartConfig:n,legend:t,showEmptySeries:o?.showEmptySeries??o?.hideEmptySeries===!1,seriesConfig:n.series,heatChartLegendUpdatedNeeded:HA,heatRulesTypeChanged:iA,heatLegendPositionChanged:UA,queryObject:b}),gd({chart:A,actionMode:o?.actionMode,cursorRange:o?.cursorRange}),mc({chart:A,chartConfig:n,delayCallback:u})}function ML(e){let{chart:A,data:t,chartConfig:i,pieSlicesSymbols:r,options:a,queryObject:n,loaderHandle:o,utilsStrings:u,errorStrings:h}=e;Kd({chart:A,chartConfig:i,options:a,utilsStrings:u,queryObject:n,errorStrings:h}),Fo({chart:A,chartConfig:i,options:a,data:t,dataWasUpdated:!0,pieSlicesSymbols:r,queryObject:n,loaderHandle:o,utilsStrings:u,errorStrings:h}),ii({data:r,htmlContainer:A.root.dom,chartId:A.get("id"),colorMatchApplied:rn(A)})}function _L(e){let{chart:A,data:t,chartConfig:i,options:r,queryObject:a,loaderHandle:n,seriesIndexMapper:o,utilsStrings:u,errorStrings:h,gaugeMinMaxFromData:g}=e;rC(A),aC({chart:A,scrollbarXConfig:i.axes?.[0]?.scrollbar,scrollbarYConfig:i.axes?.[1]?.scrollbar}),Jp({chart:A,chartConfig:i,errorStrings:h}),qp({chart:A,chartConfig:i,queryObject:a,axisLabelsBehaviorChanged:[!0,!0],data:t,dataWasUpdated:!0,timeIntervalInfo:t?.timeIntervalInfo,xAxisLabelFormatter:r?.xAxisLabelFormatter,yAxisLabelFormatter:r?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:r?.secondaryYAxisLabelFormatter,guideTooltipFormatter:r?.guideTooltipFormatter,gaugeInnerLabelFormatter:r?.gaugeInnerLabelFormatter,utilsStrings:u,errorStrings:h,gaugeMinMaxFromData:g}),Kd({chart:A,chartConfig:i,options:r,utilsStrings:u,queryObject:a,errorStrings:h}),A.gridContainer?.toBack?.(),Fo({chart:A,chartConfig:i,seriesIndexMapper:o,options:r,data:t,dataWasUpdated:!0,timeZoneChanged:!0,queryObject:a,loaderHandle:n,utilsStrings:u,errorStrings:h}),xA(i.series)===I.HeatSeries&&Ic(A)}function RL(e){let{chartContainer:A,chartConfig:t,options:i,colorMatchApplied:r,rendererFieldNames:a,pieSlicesSymbols:n,globalOptions:o,t9nStrings:u,queryObject:h,dataInfo:g,loaderHandle:f}=e,{errorStrings:m,utilsStrings:B,amChartsStrings:w}=u,{data:p,queryConfig:b,count:v,gaugeMinMaxFromData:S={}}=g??{};IL();let Q=HL(A);dB(Q,o?.animationEnabled),cB(Q,o?.enableResponsiveFeatures);let L=TL(Q,t);EL({chart:L,chartContainer:A,chartLocale:w});let D;if(!L.isDisposed()){let k=MA(t.series),P=je(t);bt(L.uid,{options:i,filterBySelection:i?.filterBySelection,config:t,queryObject:h,isNonAggregatedChart:!Wa(k),isRotated:P,colorMatchApplied:r,rendererFieldNames:a}),AC({root:Q,chart:L,config:t,queryObject:h,errorStrings:m}),eC({root:Q,chart:L,cursorCrosshair:t.cursorCrosshair,config:t,queryObject:h,errorStrings:m});let{title:j,subtitle:E,footer:K}=t;hI(Q,L),tC(L,{title:j,subtitle:E}),fI(L),iC(L,K),oI(Q,L),jp(L,t.background);let F=Nt(h,i?.popupTemplateFieldInfosEnabled);bt(L.uid,{fieldList:F}),bt(L.uid,{options:i,queryConfig:b,elementCount:v,timeIntervalInfo:p!==void 0&&"timeIntervalInfo"in p?p.timeIntervalInfo:void 0});let W=new Map;t.series.forEach((aA,J)=>{W.set(aA.id,J)}),bt(L.uid,{queryConfig:b,elementCount:v}),L instanceof Ee?_L({chart:L,data:p,chartConfig:t,options:i,queryObject:h,loaderHandle:f,utilsStrings:B,errorStrings:m,gaugeMinMaxFromData:S}):L instanceof Vi&&p&&"dataItems"in p&&(Rt(h),ML({chart:L,data:p,chartConfig:t,pieSlicesSymbols:n,options:i,queryObject:h,loaderHandle:f,utilsStrings:B,errorStrings:m})),L instanceof qa&&(D=Lc(L,t),Ec({chart:L,chartConfig:t,legend:D,showEmptySeries:i?.showEmptySeries??i?.hideEmptySeries===!1,seriesConfig:t.series,queryObject:h})),gd({chart:L,actionMode:i?.actionMode,cursorRange:i?.cursorRange}),TB(L),mc({chart:L,chartConfig:t,delayCallback:!0})}function _(){vU(L)}return{update:k=>{D===void 0&&(D=Lc(L,k.newChartConfig)),DL({chart:L,legend:D,loaderHandle:f,updateProps:k,gaugeMinMaxFromData:S})},dispose:()=>LL(Q),resetZoom:_,clearSelection:()=>Tc({chart:L}),switchSelection:async()=>await SL({chart:L,queryObject:h,errorStrings:u.errorStrings}),exportImage:async k=>await mB({root:Q,exportOptions:k}),setActionMode:(k,P)=>gd({chart:L,actionMode:k,cursorRange:P}),loaderHandle:f}}function Rm(e){let A="";for(let i=0;i<e.length;i+=1){let r=e[i];if(r.message&&r.message.trim()!==""){let a=e.length>1?"li":"p";A+=`<${a}>${r.message}</${a}>`}}let t=e.length>1?"ol":"div";return`<${t}>${A}</${t}>`}function KL(e){let{chartConfig:A,createMessage:t,status:i,errorStrings:r}=e,{schemaErrors:a,customErrors:n,warnings:o}=i,u="",h="";return A===void 0?(h=t===void 0?r.modalHeaders.newChart:"",u=t??r.errors.newChartRequest):a.length>0?(h=r.modalHeaders.error,u=r.errors.simpleError):n.length>0?(h=r.modalHeaders.error,u=Rm(n)):o.length>0&&(h=r.modalHeaders.warning,u=`<p>${r.errors.warningRequest}</p>${Rm(o)}`),{title:h,message:u}}function NL(e,A){let t;switch(e){case I.PieSeries:t=A?.placeholders.pieChartCreateMsg;break;case I.BarSeries:t=A?.placeholders.barChartCreateMsg;break;case I.BoxPlotSeries:t=A?.placeholders.boxPlotCreateMsg;break;case I.LineSeries:t=A?.placeholders.lineChartCreateMsg;break;case I.HistogramSeries:t=A?.placeholders.histogramCreateMsg;break;case I.ScatterSeries:t=A?.placeholders.scatterplotCreateMsg;break;case I.HeatSeries:t=A?.placeholders.calendarHeatChartCreateMsg;break;case I.ComboLineAndBarSeries:t=A?.placeholders.comboBarLineChartCreateMsg;break;case I.RadarSeries:t=A?.placeholders.radarChartCreateMsg;break;case I.GaugeSeries:t=A?.placeholders.gaugeCreateMsg;break}return t}function $s(e){let A;if(e){let t=lB(e);t&&(A=[t.r,t.g,t.b,255])}return A}function Bd(e){return Nh(e)==="dark"}function uC(e){let A=window.getComputedStyle(e);return{backgroundColor:$s(A.getPropertyValue("--calcite-color-foreground-1")),textColor:$s(A.getPropertyValue("--calcite-color-text-1")),lineColor:$s(A.getPropertyValue("--calcite-color-border-1")),secondLineColor:$s(A.getPropertyValue("--calcite-color-text-3"))}}function VL(e,A){e?.axes?.forEach(t=>{t?.title?.content&&A.textColor&&(t.title.content.color=A.textColor),t?.labels?.content&&A.textColor&&(t.labels.content.color=A.textColor),t?.grid&&A.lineColor&&(t.grid.color=A.lineColor),t?.lineSymbol&&A.lineColor&&(t.lineSymbol.color=A.lineColor),t?.guides?.forEach(i=>{i.label&&A.textColor&&(i.label.color=A.textColor),A.lineColor&&(i.style?.type===GA.SLS?i.style.color=A.lineColor:i.style?.type===GA.SFS&&i.style?.outline&&(i.style.outline.color=A.lineColor))})})}function PL(e,A){e&&A.backgroundColor&&(e.background=A.backgroundColor)}function GL(e,A){e?.title?.content&&A.textColor&&(e.title.content.color=A.textColor),e?.subtitle?.content&&A.textColor&&(e.subtitle.content.color=A.textColor),e?.footer?.content&&A.textColor&&(e.footer.content.color=A.textColor)}function ln(e,A){A?.created&&A?.visible&&(A.symbol={type:GA.SLS,...A.symbol,color:e})}function Km(e){let{configElementWithFillSymbol:A,markerColor:t,lineColor:i}=e;A.markerSymbol={type:GA.SMS,...A.markerSymbol,color:t},A.markerSymbol.outline={type:GA.SLS,...A.markerSymbol.outline,color:i}}function Ao(e){let{configElementWithFillSymbol:A,fillColor:t,lineColor:i}=e;A.fillSymbol={type:GA.SFS,...A.fillSymbol,color:t},i&&(A.fillSymbol.outline={type:GA.SLS,...A.fillSymbol.outline,color:i})}function hC(e,A){e&&(e.colorMatch=!1,e.series.forEach((t,i)=>{t.dataLabels?.content&&A.textColor&&(t.dataLabels.content.color=A.textColor);let r=Pa[i%Pa.length];switch(t.type){case I.BarSeries:Ao({configElementWithFillSymbol:t,fillColor:r,lineColor:A.lineColor});break;case I.HistogramSeries:Ao({configElementWithFillSymbol:t,fillColor:r,lineColor:A.lineColor}),ln(Aa[0],t.overlays?.standardDeviation),ln(Aa[1],t.overlays?.mean),ln(Aa[2],t.overlays?.median),ln(Aa[3],t.overlays?.comparisonDistribution);break;case I.LineSeries:case I.RadarSeries:t.lineSymbol={type:GA.SLS,...t.lineSymbol,color:r},Km({configElementWithFillSymbol:t,markerColor:r,lineColor:A.lineColor}),t.areaColor=[r[0],r[1],r[2],255*R.lineSeries.areaOpacity];break;case I.BoxPlotSeries:Ao({configElementWithFillSymbol:t,fillColor:r,lineColor:A.lineColor});break;case I.PieSeries:t.slices?.forEach((a,n)=>{Ao({configElementWithFillSymbol:a,fillColor:Pa[n%Pa.length],lineColor:A.lineColor})});break;case I.ScatterSeries:Km({configElementWithFillSymbol:t,markerColor:r,lineColor:A.lineColor}),ln(Aa[1],t.overlays?.trendLine);break;case I.HeatSeries:case I.GaugeSeries:}}))}function WL(e,A){if(e?.series[0].type===I.PieSeries){let t=e.series[0];t.ticks?.lineSymbol&&A.secondLineColor&&(t.ticks.lineSymbol.color=A.secondLineColor)}}function zL(e,A){e?.legend&&(e.legend.title?.content&&A.textColor&&(e.legend.title.content.color=A.textColor),e.legend.body&&A.textColor&&(e.legend.body.color=A.textColor))}function XL(e,A){e?.series[0].type===I.GaugeSeries&&e.axes?.forEach(t=>{t.innerLabel?.content&&A.textColor&&(t.innerLabel.content.color=A.textColor),t.needle?.symbol&&A.textColor&&(t.needle.symbol.color=A.textColor)})}function YL(e,A){e?.series[0].type===I.HeatSeries&&e.series.forEach(t=>{t.gridLine&&A.textColor&&(t.gridLine.color=A.textColor)})}function ZL(e){let{chartElement:A,options:t,calciteThemeApplied:i}=e,r=t;return i==="dark"&&(r.selectionTheme={...se.selectionTheme,selectedElementsTheme:{...se.selectionTheme.selectedElementsTheme,elementOutlineColor:[55,255,255,255]}},r.chartWillRender=async a=>{let{chartConfig:n,slices:o}=a,u=Me(n);if(A.chartWillRender&&(u=await A.chartWillRender(a)),u.series[0].type===I.PieSeries&&!u.series[0].slices){let h=uC(A);u.series[0].slices=o,hC(u,h)}return u}),r}function JL(e,A){let t=Me(A);if(t&&Bd(e)){let i=uC(e);PL(t,i),GL(t,i),VL(t,i),hC(t,i),zL(t,i),XL(t,i),WL(t,i),YL(t,i)}return t}function qL(){return!0}function jL(e){let{layer:A}=e,t,i=Kt(A),r=Pl(i);return r!==void 0&&"definitionExpression"in r&&e.layerFilterChangePolicy===Vc.Refresh&&(t=it.watch(()=>r.definitionExpression,()=>{e.refresh({updateData:!0,resetAxesBounds:!0})})),t}function $L(e){let{layer:A}=e,t;if(A){let i=Kt(A);t=it.watch(()=>i.renderer,()=>{let{model:r}=e,a=zt(r)?r.config:r;if(pr(a)&&e.layerRendererChangePolicy===Pc.Refresh){let n=qL();e.refresh({updateData:n})}})}return t}async function AE(e){let{view:A,layer:t,model:i,filterByExtent:r,filterByViewExtent:a}=e,n=zt(i)?i.config:i,o;if(A&&n){let u=await Gl({chartConfig:n,view:A,layer:t,filterByViewExtent:r||a}),h;if(Xa(u)?h=u:pt(u)&&(h=await A.whenLayerView(u)),h){await it.whenOnce(()=>!h.updating);let g=async()=>{(e.filterByExtent||e.filterByViewExtent)&&A.stationary&&(h.updating&&await it.whenOnce(()=>!h.updating),await e.refresh({updateData:!0,resetAxesBounds:!0}))};o=[],Xa(h)?(o.push(it.when(()=>A.stationary,g)),o.push(it.when(()=>!h.dataUpdating,g))):o.push(it.when(()=>A.stationary,g)),await g()}}return o}function eE(e){let{view:A}=e,t;return A&&(t=it.watch(()=>A.timeExtent,()=>{let{model:i}=e,r=zt(i)?i.config:i,a=xA(r?.series);(e.viewTimeExtentChangePolicy===Ys.Refresh||e.syncViewTimeExtent)&&a!==I.HistogramSeries&&e.refresh({updateData:!0})})),t}function md(e){let{syncViewTimeZone:A,syncViewTimeZoneInclusionList:t,chartConfig:i}=e,r=xA(i?.series);return(A||(r&&t.includes(r))===!0)&&(Br(i)||na(i?.series[0])&&i.axes?.[0].valueFormat?.type===I.DateAxisFormat)}function tE(e){let{view:A,syncViewTimeZone:t,syncViewTimeZoneInclusionList:i}=e,r;return A&&"timeZone"in A&&(r=it.watch(()=>A.timeZone,()=>{let{model:a}=e,n=zt(a)?a.config:a;md({syncViewTimeZone:t,syncViewTimeZoneInclusionList:i,chartConfig:n})&&(e.timeZone=A.timeZone,e.refresh({updateData:!0}))})),r}function iE(e){let{layer:A}=e,t,i=Kt(A),r=Pl(i);return r!==void 0&&"fields"in r&&(t=it.watch(()=>[r.fields],()=>{e.layerFieldsChangePolicy===Gc.Refresh&&e.refresh({updateData:!0})})),t}function fC(e,A){return it.watch(()=>A.selections,t=>{(e.syncViewSelection||e.syncSelectionsBetweenChartAndLayerViewPolicy===pa.Enabled)&&(Array.isArray(t)&&t?.length===0?e.clearSelection():e.applySelectionFromSelectionManager())})}function rE(e){let{view:A}=e,t;return A?.selectionManager&&(t=fC(e,A.selectionManager)),t}function aE(e){let{selectionManager:A}=e,t;return A&&(t=fC(e,A)),t}async function nE(e){let A=Rh(`assets/common/t9n/messages.${e}.json`),t=await fetch(A);if(!t.ok)throw new Error(`Failed to load t9n file: ${A}`);return await t.json()}async function sE(e=sr(document.documentElement).t9nLocale){let A=(await import("./H6G4K2SI.js")).default;switch(e){case"ar":A=(await import("./C32DLPO2.js")).default;break;case"bs":A=(await import("./ZGRLFOVN.js")).default;break;case"bg":A=(await import("./2MVU33EQ.js")).default;break;case"ca":A=(await import("./K7M5S6GY.js")).default;break;case"cs":A=(await import("./W5WI6CWC.js")).default;break;case"da":A=(await import("./A2SOXYD7.js")).default;break;case"de":A=(await import("./5WSLX3X6.js")).default;break;case"el":A=(await import("./INFEECC2.js")).default;break;case"es":A=(await import("./ANEY3G3T.js")).default;break;case"et":A=(await import("./UJ7GGLFA.js")).default;break;case"fi":A=(await import("./577EV2JF.js")).default;break;case"fr":A=(await import("./U7L3L6IV.js")).default;break;case"he":A=(await import("./XTWWNXCJ.js")).default;break;case"hr":A=(await import("./RRDNOR24.js")).default;break;case"hu":A=(await import("./SWQ7K4X5.js")).default;break;case"id":A=(await import("./FW27X6ZH.js")).default;break;case"it":A=(await import("./AGJRXDBI.js")).default;break;case"ja":A=(await import("./OLBJGP5C.js")).default;break;case"ko":A=(await import("./43SJZXD3.js")).default;break;case"lt":A=(await import("./PI6HSSQL.js")).default;break;case"lv":A=(await import("./VHOYFIGY.js")).default;break;case"no":A=(await import("./X5TUHBXH.js")).default;break;case"nl":A=(await import("./KSNCOD3U.js")).default;break;case"pl":A=(await import("./BHNYXBUZ.js")).default;break;case"pt-BR":A=(await import("./4VMTBYLY.js")).default;break;case"pt-PT":A=(await import("./2JPFAFHJ.js")).default;break;case"ro":A=(await import("./WQRZ7LGV.js")).default;break;case"ru":A=(await import("./RKXV44WI.js")).default;break;case"sr":A=(await import("./B3HEXSCX.js")).default;break;case"sk":A=(await import("./DF2JGSK4.js")).default;break;case"sv":A=(await import("./NXRLNLM4.js")).default;break;case"th":A=(await import("./WMSU5OWP.js")).default;break;case"tr":A=(await import("./MIVV22F3.js")).default;break;case"uk":A=(await import("./GBCL3LR7.js")).default;break;case"vi":A=(await import("./YZTAP3PR.js")).default;break;case"zh-CN":A=(await import("./PF6HSS3J.js")).default;break;case"zh-HK":A=(await import("./Z5L2GNFQ.js")).default;break;case"zh-TW":A=(await import("./Z5L2GNFQ.js")).default;break}return A}async function oE(e=sr(document.documentElement).t9nLocale){let A=(await import("./I3BNBZ4D.js")).default;switch(e){case"ar":A=(await import("./6HUDF5Q2.js")).default;break;case"bs":A=(await import("./LOX7MXL4.js")).default;break;case"bg":A=(await import("./WRNEDEFZ.js")).default;break;case"ca":A=(await import("./FSNQ3YXX.js")).default;break;case"cs":A=(await import("./MS6EYP4R.js")).default;break;case"da":A=(await import("./HLSO5KDC.js")).default;break;case"de":A=(await import("./NGLXQHZ2.js")).default;break;case"el":A=(await import("./DNSUOJXJ.js")).default;break;case"es":A=(await import("./ZL5EGDOW.js")).default;break;case"et":A=(await import("./BUCYRXMT.js")).default;break;case"fi":A=(await import("./GWPFABGL.js")).default;break;case"fr":A=(await import("./JM6E3U5J.js")).default;break;case"he":A=(await import("./3VMIFF7C.js")).default;break;case"hr":A=(await import("./THJTENN5.js")).default;break;case"hu":A=(await import("./5TOYNVTW.js")).default;break;case"id":A=(await import("./B4ULOSFG.js")).default;break;case"it":A=(await import("./TX2SYGTH.js")).default;break;case"ja":A=(await import("./AVU2CHAB.js")).default;break;case"ko":A=(await import("./FLSUJTUZ.js")).default;break;case"lt":A=(await import("./EIIQ2CSC.js")).default;break;case"lv":A=(await import("./BY77PBZ2.js")).default;break;case"no":A=(await import("./F57IRWBF.js")).default;break;case"nl":A=(await import("./NPVXLEZW.js")).default;break;case"pl":A=(await import("./COQ55XOW.js")).default;break;case"pt-BR":A=(await import("./GR4BZF3L.js")).default;break;case"pt-PT":A=(await import("./NSRIVIOH.js")).default;break;case"ro":A=(await import("./47EOUNYO.js")).default;break;case"ru":A=(await import("./HJW6UNEH.js")).default;break;case"sr":A=(await import("./G2L5FYWK.js")).default;break;case"sk":A=(await import("./X7ENJ4HH.js")).default;break;case"sl":A=(await import("./S5EI7T2D.js")).default;break;case"sv":A=(await import("./RHGKKMJG.js")).default;break;case"th":A=(await import("./3OGKV4KZ.js")).default;break;case"tr":A=(await import("./KCILWIMQ.js")).default;break;case"uk":A=(await import("./EVHJVY4I.js")).default;break;case"vi":A=(await import("./ALRIN5E5.js")).default;break;case"zh-CN":A=(await import("./SOIF6AMX.js")).default;break;case"zh-HK":A=(await import("./YQJLA77R.js")).default;break;case"zh-TW":A=(await import("./YQJLA77R.js")).default;break}return A}async function lE(e=sr(document.documentElement).t9nLocale,A){let t=A?await oE(e):await sE(e),i=(await nE(e)).customAmchartsStrings;return{...t,...i}}var cE=({message:e,heading:A,options:t})=>Jr`<calcite-alert .icon=${t?.icon??"exclamationMarkTriangle"} .open=${t?.active===!0} .autoClose=${t?.autoClose??!1} .autoCloseDuration=${t?.duration??"medium"} scale=m .kind=${t?.kind??"danger"} .ariaHidden=${t?.active!==!0} dir=ltr role=alertdialog label="arcgis charts notify panel">${A!==void 0?Jr`<div slot=title>${A}</div>`:null}${e!==void 0?Jr`<div slot=message>${e}</div>`:null}</calcite-alert>`,dE=Hh`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1;overflow-y:hidden}.chart>div{justify-content:center;align-items:center}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%;overflow:hidden}`,pd=class extends Dh{constructor(){super(),this.loaderHandle={showLoader:()=>{this.showLoader=!this.hideLoaderAnimation},hideLoader:()=>{this.showLoader=!1}},this._messages=_c(),this.chartRef=kh(),this.guid=VB(),this.dataFetchRequestId=0,this.commonStrings=_c({name:"common",blocking:!0}),this.dataUpdateNeededProps=["forceDataUpdate","runtimeDataFilters","returnFeaturesExtent","chartLimits","updateSplitBySeries"],this.updatedProps=new Map,this.updateQueue=Bv.promise(async()=>await this.renderChart(),uf),this._disableInteractions=!1,this._interactionsDisabled=!1,this._rotated=!1,this._legendVisibility=!1,this._filterByExtent=!1,this._filterByViewExtent=!1,this.noRenderingUpdateProps=["_messages","showLoader","infoModalMessage","notifyMessage"],this.handleExternalSelection=A=>{if(!pt(this.layer)){let t=A,{selectionData:i,model:r}=t.detail,a=this.layer&&r?.layer?.id===Cr(this.layer).id;(this.syncSelection||this.syncChartsSelection)&&a&&A.target!==this.el&&!_i(i.selectionOIDs,this.selectionData?.selectionOIDs)&&(i.selectionOIDs?(this.selectionData={selectionOIDs:i.selectionOIDs,selectionSource:Le.ProgrammaticSelection},this.arcgisSelectionComplete.emit({selectionData:this.selectionData,model:this._model})):this.clearSelection())}},this.configPanelNumberChange=A=>{let t=A,{panelNumber:i,modelList:r}=t.detail;this.actionBarElement&&(this.enableConfiguration||this.configurationEnabled)&&this.ourModelExistsIn(r)&&(this.actionBarElement.editChartToggle=i===1?Nc.Active:Nc.Inactive)},this.configDataChangeError=A=>{let t=A,{error:i,model:r}=t.detail;(this.enableConfiguration||this.configurationEnabled)&&r?.isSameChartAs(this._model)&&this.notify(i.message)},this.modelConfigChange=A=>{let t=A;this.lastModelSetterCalled=t.detail.setterName;let i=this._model?.config;i?.iLayer&&!_i(this.config?.iLayer,i?.iLayer)&&(this.layer=new Zc(i.iLayer)),JSON.stringify(this.config)!==JSON.stringify(i)&&(this.config=Me(i))},this.modelDataChange=()=>{this.setTimeBinningInfoWhenNotProvided&&XB(this._model)&&this._model?.resetTimeInterval()},this.actionBarSlotRef=A=>{this.actionBarElement=A&&"assignedElements"in A?A.assignedElements().find(t=>t.tagName.toLowerCase()==="arcgis-charts-action-bar"):void 0},this.checkForInvalidContainer=()=>{this.chartRef.value||us("divNode",this.commonStrings?.errorStrings)},this._loadQueryObject=new sn(this,{args:()=>[this.config,this.layer,this.view,this.filterByExtent,this.filterByViewExtent],task:async([A,t,i,r,a],{signal:n})=>{let o=await Gl({chartConfig:A,layer:t,view:i,filterByViewExtent:r||a,abortSignal:n});return await Kt(o)?.load({signal:n}),o}}),this.showLoader=!1,this.enableBetaFeatures=!1,this.enableConfiguration=!1,this.configurationEnabled=!1,this.enableAutoTheming=!1,this.allowUsingObjectIdStat=!1,this.nullAsValid=!1,this.hideUIMessages=!1,this.showEmptySeries=!1,this.autoInverseDataLabelTextColor=!1,this.hideZeroCountCategories=!1,this.ignoreSmoothRenderingLimit=!1,this.returnSelectionIndexes=!1,this.returnFeaturesExtent=!1,this.filterBySelection=!1,this.skipChartCreationQueue=!1,this.useAnimatedCharts=!1,this.showLicenseWatermark=!1,this.enableResponsiveFeatures=!1,this.autoDisposeChart=!1,this.setTimeBinningInfoWhenNotProvided=!1,this.errorPolicy=nn.Throw,this.disableTogglingLegendItems=!1,this.hideLoaderAnimation=!1,this.usePopupTemplateFieldsInfo=!1,this.syncViewTimeZoneInclusionList=[I.HeatSeries],this.syncViewTimeZone=!1,this.layerFilterChangePolicy=Vc.Refresh,this.viewTimeExtentChangePolicy=Ys.Ignore,this.syncViewTimeExtent=!1,this.layerRendererChangePolicy=Pc.Refresh,this.layerFieldsChangePolicy=Gc.Refresh,this.syncSelectionsBetweenChartAndLayerViewPolicy=pa.Disabled,this.syncViewSelection=!1,this.syncSelection=!1,this.syncChartsSelection=!1,this.ignoreViewExtent=!1,this.autoDestroyDisabled=!1,this.arcgisAxesMinMaxChange=Ge(),this.arcgisBadDataWarningRaise=Ge(),this.arcgisChartNotFoundWarning=Ge(),this.arcgisConfigChange=Ge(),this.arcgisDataFetchComplete=Ge(),this.arcgisDataProcessComplete=Ge(),this.arcgisDataProcessError=Ge(),this.arcgisInvalidConfigWarningRaise=Ge(),this.arcgisLegendItemVisibilityChange=Ge(),this.arcgisNoRenderPropChange=Ge(),this.arcgisRenderingComplete=Ge(),this.arcgisRuntimeError=Ge(),this.arcgisSelectionComplete=Ge(),this.arcgisSeriesColorChange=Ge(),this.arcgisSeriesOrder=Ge(),this.arcgisUpdateComplete=Ge(),this.listen("arcgisChartsJSLegendItemVisibilityChange",this.handleLegendItemVisibilityChanged),this.listen("arcgisChartsJSInvalidConfigWarningRaise",this.handleInvalidConfigWarningRaise),this.listen("arcgisChartsJSSeriesColorChange",this.handleSeriesColorsChange),this.listen("arcgisChartsJSSelectionComplete",this.handleSelection),this.listen("arcgisChartsJSTooManySelectedElements",this.handleTooManySelectedElements),this.listen("calciteAlertClose",this.handleAlertClosed),this.listen("arcgisChartsJSAxesMinMaxChange",this.handleAxesMinMaxChange),this.listen("arcgisChartsJSSeriesOrder",this.handleSeriesOrder),this.listen("arcgisChartsJSRenderingComplete",this.handleRenderingComplete),this.addConfigListeners(),this.listenOn(document,"arcgisSelectionComplete",this.handleExternalSelection)}static{this.properties={infoModalMessage:16,notifyMessage:16,showLoader:16,config:16,enableBetaFeatures:5,model:0,enableConfiguration:5,configurationEnabled:5,enableAutoTheming:5,rotation:[5,{hasChanged:()=>!1}],rotated:[5,{hasChanged:()=>!1}],actionMode:1,cursorRange:1,legendPosition:[1,{hasChanged:()=>!1}],legendVisibility:[5,{hasChanged:()=>!1}],allowUsingObjectIdStat:5,nullAsValid:5,showUIMessages:5,hideUIMessages:5,hideEmptySeries:5,showEmptySeries:5,autoInverseDataLabelTextColor:5,replaceNoValueCategoryWithZero:5,hideZeroCountCategories:5,ignoreSmoothRenderingLimit:5,chartWillRender:0,legendValueLabelFormatter:0,timeZone:1,view:[0,{hasChanged:()=>!1}],layer:0,layerItemId:1,chartIndex:9,selectionData:0,returnSelectionOIDs:5,returnSelectionIndexes:5,returnFeaturesExtent:5,filterBySelection:5,filterByExtent:[5,{hasChanged:()=>!1}],filterByViewExtent:[5,{hasChanged:()=>!1}],disableInteractions:[5,{hasChanged:()=>!1}],interactionsDisabled:[5,{hasChanged:()=>!1}],queueChartCreation:5,skipChartCreationQueue:5,useAnimatedCharts:5,animationEnabled:5,hideLicenseWatermark:5,showLicenseWatermark:5,enableResponsiveFeatures:5,autoDisposeChart:5,featureIndex:[9,{hasChanged:()=>!1}],placeholder:1,selectionTheme:0,setTimeBinningInfoWhenNotProvided:5,chartLimits:0,aria:0,tooltipFormatter:0,dataLabelFormatter:0,guideTooltipFormatter:0,xAxisLabelFormatter:0,yAxisLabelFormatter:0,secondaryYAxisLabelFormatter:0,gaugeInnerLabelFormatter:0,errorPolicy:1,disableTogglingLegendItems:5,togglingLegendItemsDisabled:5,hideLoaderAnimation:5,loaderColors:0,runtimeDataFilters:0,usePopupTemplateFieldsInfo:5,syncViewTimeZoneInclusionList:0,syncViewTimeZone:5,popupTemplateFieldInfosEnabled:5,layerFilterChangePolicy:1,viewTimeExtentChangePolicy:1,syncViewTimeExtent:5,layerRendererChangePolicy:1,layerFieldsChangePolicy:1,syncSelectionsBetweenChartAndLayerViewPolicy:1,syncViewSelection:5,syncSelection:5,syncChartsSelection:5,ignoreViewExtent:5,updateSplitBySeries:0,messageOverrides:0,autoDestroyDisabled:5,selectionManager:0}}static{this.styles=dE}get config(){return this._config}set config(A){let t=this._config;this._config=A,t&&A&&Uf(t,A)&&this.updatedProps.set("forceDataUpdate",{oldValue:!1,newValue:!0}),this.arcgisConfigChange.emit({newConfig:A,oldConfig:t,functionCalled:this.lastModelSetterCalled}),this.lastModelSetterCalled=void 0,this.actionBarElement&&!wr(A)&&(this.actionBarElement.forceDisableActions=!1)}get rotation(){return this._rotated}set rotation(A){this.rotated=A}get rotated(){return this._rotated}set rotated(A){this.rotatedChange(A),this.handleNoRenderPropChange("rotated",A),this._rotated=A}get legendPosition(){return this._legendPosition}set legendPosition(A){this.legendPositionChange(A),this.handleNoRenderPropChange("legendPosition",A),this._legendPosition=A}get legendVisibility(){return this._legendVisibility}set legendVisibility(A){this.legendVisibilityChange(A),this.handleNoRenderPropChange("legendVisibility",A),this._legendVisibility=A}get view(){return this._view}set view(A){let t=this._view;this._view=A,this.viewChange(A,t),this.handleNoRenderPropChange("view",A)}get filterByExtent(){return this._filterByExtent}set filterByExtent(A){this._filterByExtent=A,this.filterByViewExtentChanged(A),this.handleNoRenderPropChange("filterByExtent",A)}get filterByViewExtent(){return this._filterByViewExtent}set filterByViewExtent(A){this._filterByViewExtent=A,this.filterByViewExtentChanged(A),this.handleNoRenderPropChange("filterByViewExtent",A)}get disableInteractions(){return this._disableInteractions}set disableInteractions(A){this.interactionsDisabledChange(A),this.handleNoRenderPropChange("disableInteractions",A),this._disableInteractions=A}get interactionsDisabled(){return this._interactionsDisabled??!1}set interactionsDisabled(A){this.interactionsDisabledChange(A),this.handleNoRenderPropChange("interactionsDisabled",A),this._interactionsDisabled=A}get featureIndex(){return this._featureIndex}set featureIndex(A){let t=this.featureIndex;this.featureIndexChange(A,t),this.handleNoRenderPropChange("featureIndex",A),this._featureIndex=A}async clearSelection(){this.chart!==void 0&&(this.unsanitizedSelectionDataItems=void 0,this.chart.clearSelection(),this.filterBySelection&&await this.refresh())}async destroy(){this.chart?.dispose()}async errorAlert(A){this.errorPolicy===nn.Throw&&(this.actionBarElement&&(this.actionBarElement.forceDisableActions=!0),this.notify(A,this.commonStrings?.errorStrings.errorHeading))}async exportAsCSV(A){let t=vf(this.config)||pt(this.layer),i,r,a={xAxisLabelFormatter:this.xAxisLabelFormatter,yAxisLabelFormatter:this.yAxisLabelFormatter,secondaryYAxisLabelFormatter:this.secondaryYAxisLabelFormatter};if(this.sanitizedChartData&&!t){let n=await this._loadQueryObject.taskComplete,o=n?Nt(n,this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled):void 0,u=zt(this.model)?this.model.titleText:this.config?.title?.content?.text??this.commonStrings.utilsStrings.chartType.chart;if(Object.values(this.sanitizedChartData).filter(h=>Array.isArray(h)&&h.length>0).length>1){let h=new Vm.default;Object.entries(this.sanitizedChartData).forEach(([f,m])=>{if(Array.isArray(m)&&m.length>0){let B=Mc({rawData:m,config:this._model?.config??this.config,layer:n,fieldList:o,formatters:a,formatLocale:A?.locale,utilsStrings:this.commonStrings.utilsStrings}),w=Dc(B,A),p=`${u}-${f}.csv`;h.file(p,w)}});let g=await h.generateAsync({type:"blob"});i=URL.createObjectURL(g),r=`${u}.zip`}else{let h;if("bins"in this.sanitizedChartData?h=this.sanitizedChartData.bins:"dataItems"in this.sanitizedChartData&&(h=this.sanitizedChartData.dataItems),h){let g=Mc({rawData:h,config:this._model?.config??this.config,layer:n,fieldList:o,formatters:a,formatLocale:A?.locale,utilsStrings:this.commonStrings.utilsStrings}),f=Dc(g,A);i=URL.createObjectURL(new Blob([f],{type:"text/csv;charset=utf-8;"})),r=`${u}.csv`}}i!==void 0&&r!==void 0&&Wc(i,r)}}async exportAsImage(A=hf.PNG){let t=this.chartRef.value;t?(await(0,Nm.default)(t,{useCORS:!0,backgroundColor:null})).toBlob(i=>{if(i){let r=URL.createObjectURL(i),a=`${this.model.titleText??this.commonStrings.utilsStrings.chartType.chart}.${A}`;Wc(r,a)}},A):this.notify(this.commonStrings?.errorStrings.errors.exportImageChartNotReady)}async loadModel(){return this._model?await this._model.asyncUpdatesPromise:await new Promise(A=>{this.resolveModelSetup=A})}async notify(A,t){this.infoModalMessage=A,this.infoModalHeading=t}async refresh(A){let{updateData:t=!0,resetAxesBounds:i=!1}=A??{};this.updatedProps.set(t?"forceDataUpdate":"forceSimpleUpdate",{oldValue:!1,newValue:!0}),i&&(delete this.config?.axes?.[0]?.minimum,delete this.config?.axes?.[0]?.maximum,delete this.config?.axes?.[1]?.minimum,delete this.config?.axes?.[1]?.maximum),this.requestUpdate("refresh")}async resetZoom(){this.chart!==void 0&&this.chart.resetZoom()}async switchSelection(){let A=await this._loadQueryObject.taskComplete;this.chart!==void 0&&!this.filterBySelection&&A&&await this.chart.switchSelection(A)}load(){if(this.syncViewSelection||this.syncSelectionsBetweenChartAndLayerViewPolicy===pa.Enabled){let A=this.getSelectionFromSelectionManager();A&&(this.selectionData={selectionOIDs:A,selectionSource:Le.ProgrammaticSelection})}}willUpdate(A){A.has("model")&&this.modelChange(),A.has("selectionData")&&this.selectionDataChange(),A.has("layer")&&this.layerChange(),A.has("layerItemId")&&this.layerItemIdChange(),(A.has("chartIndex")||A.has("layerItemId"))&&this.createModelFromLayer(),A.has("timeZone")&&this.timeZoneChange(),A.has("filterBySelection")&&this.filterBySelectionChanged(),A.has("selectionManager")&&(this.setSelectionManagerChangeWatchHandler(),this.applySelectionFromSelectionManager()),Array.from(A.keys(),t=>{let i=t.toString(),r=i==="model"||i==="config"?this.updatedProps.get(i)?.oldValue??A.get(i):A.get(i);this.updatedProps.set(i,{oldValue:r,newValue:this[i]})})}updated(A){Array.from(A.keys()).filter(t=>!this.noRenderingUpdateProps.includes(t)).length>0&&this.updatedAsync(),this.actionBarElement!==void 0&&jB({actionBar:this.actionBarElement,chartComponent:this.el,config:this.config,isInfoModalDisplayed:this.infoModalMessage!==void 0}),A.has("aria")&&this.aria&&this.chartRef.value&&(this.chartRef.value.ariaLabel=this.aria.label??this.chartRef.value.ariaLabel,this.chartRef.value.ariaDescription=this.aria.description??this.chartRef.value.ariaDescription,this.chartRef.value.ariaLabelledByElements=this.aria.labelledByElements??this.chartRef.value.ariaLabelledByElements,this.chartRef.value.ariaDescribedByElements=this.aria.describedByElements??this.chartRef.value.ariaDescribedByElements)}disconnectedCallback(){super.disconnectedCallback(),this.removeLayerWatchHandlers(),this.removeViewExtentChangeWatchHandlers(),this.removeViewWatchHandlers(),this.removeSelectionManagerChangeWatchHandler(),this.autoDestroyDisabled||this.chart?.dispose()}synchronizeModelConfig(){this._config&&(zt(this.model)?this.model.config={...this._config}:this.model={...this._config})}hideInfoModal(){this.infoModalMessage=void 0}async generateHeatChartClassBreaks(A){if(!pt(this.layer)&&Kc(this._model)&&A?.data&&"dataItems"in A.data){let t=await em({data:A.data,classificationMethod:this._model.classificationMethod,breaksCount:this._model.breaksCount,xAxisField:this._model.xAxisField,existingClassBreakInfos:this._model.chartRenderer?.classBreakInfos});tm({currentBreaks:t,configBreaks:this._model.chartRenderer?.classBreakInfos??[]})&&(this._model.chartRenderer={...this._model.chartRenderer,classBreakInfos:t,type:"classBreaks",field:pi.valueField})}}async updatedAsync(){if(this.dataFetching&&(await this.dataFetching,this.dataFetching=void 0),this.config!==void 0&&this.chart!==void 0)try{(!this.config&&!this.layer||rc(this.config,this.layer)&&!wr(this.config)&&await ac(this.config,this.layer))&&await this.updateQueue?.push({})}catch(A){if(this.updatedProps.clear(),this.chartRef.value!==void 0){if(A instanceof _t&&A.name===ta.ChartDisposed)this.chart?.dispose(),this.chart=void 0,this.chartRef.value.innerHTML="",await this.createChartInstance(!1);else if(A instanceof _t&&A.name===ta.QueryFeaturesError?(this.dataFetching=void 0,this.arcgisDataProcessError.emit(A.details)):A instanceof _t&&this.arcgisRuntimeError.emit(A.details??A),typeof A=="object"&&A&&"message"in A){let t=A instanceof _t?A.message:this.commonStrings?.errorStrings.errors.simpleError;this.notify(t,this.commonStrings?.errorStrings.errorHeading)}}}else this.chart===void 0&&await this.createChartInstance();this.placeholder!==void 0?await this.notify(this.placeholder):(this.enableConfiguration||this.configurationEnabled)&&wr(this.config)&&this.applyPlaceholderForPartialConfig(this.config)}useAmCharts5(){let A=xA(this.config?.series);return this.enableBetaFeatures||A===I.ScatterSeries||A===I.HistogramSeries||A===I.RadarSeries||A===I.HeatSeries}handleNoRenderPropChange(A,t){this.arcgisNoRenderPropChange.emit({propName:A,value:t,model:this._model})}handleRenderingComplete(A){this.arcgisRenderingComplete.emit(A.detail),this.showLoader=!1}applySelectionFromSelectionManager(){let A=this.getSelectionFromSelectionManager();A&&(this.selectionData={selectionOIDs:A,selectionSource:Le.ProgrammaticSelection},this.arcgisSelectionComplete.emit({selectionData:this.selectionData,model:this._model}))}applySelectionFromView(){this.applySelectionFromSelectionManager()}handleLegendItemVisibilityChanged(A){mf(A,this.config),this.arcgisLegendItemVisibilityChange.emit({legendItemVisibility:A.detail,model:this._model})}handleUpdateCompleted(A){if(this.enableConfiguration||this.configurationEnabled){let t=this.commonStrings?.errorStrings.notifications;if(this.placeholder===void 0&&(A.schemaErrors.length>0&&!wr(this.config)?this.notify(t?.invalidConfig,void 0):A.warnings.length>0&&A.warnings.some(i=>i.keyword===xf.NonNumericAggregation)&&this.notify(t?.validateAggregationTypeMsg,t?.missingNumericFields)),(GB(this._model)||WB(this._model)||Rc(this._model)||zB(this._model))&&this._model.aggregationType===rf.NoAggregation&&this._model.numericFields.length===1&&this.layer){let i=Cr(this.layer),r=Ss(i).idField;r&&this._model.numericFields.includes(r)&&this.notify(t?.noAggregationRequiresNumericFields,t?.missingNumericFields)}}this.showLoader&&this.loaderHandle.hideLoader(),this.arcgisUpdateComplete.emit(A)}handleInvalidConfigWarningRaise(A){this.arcgisInvalidConfigWarningRaise.emit(A.detail),this.notify(A.detail.message,A.detail.header)}handleSeriesColorsChange(A){this.arcgisSeriesColorChange.emit({data:A.detail.data,colorMatchApplied:A.detail.colorMatchApplied,model:this._model})}handleSelection(A){let t={...A.detail};this.unsanitizedSelectionDataItems=t.selectionItems;let i={...t},r=Me(t.selectionItems);r&&(r=ag(r,this.config?.series),r=r.map(ng),r=rg(r,this.config?.series),i.selectionItems=r),_i(i,this.selectionData)||(this.selectionData=i,this.arcgisSelectionComplete.emit({selectionData:i,model:this._model}))}handleTooManySelectedElements(){this.errorPolicy===nn.Throw&&(this.infoModalHeading=this.commonStrings?.errorStrings.tooManySelectedElements?.title,this.infoModalMessage=this.commonStrings?.errorStrings.tooManySelectedElements?.message,this.notifyOptions={kind:"warning",autoClose:!0,duration:"fast",active:!0})}handleAlertClosed(A){A.target===this.el&&(this.notifyHeading=void 0,this.notifyMessage=void 0)}handleAxesMinMaxChange(A){this.arcgisAxesMinMaxChange.emit({bounds:A.detail,model:this._model})}handleSeriesOrder(A){this.arcgisSeriesOrder.emit(A.detail)}modelChange(){if(zt(this.model)){this._model=this.model,this.config=Me(this._model?.config);let A=this._model?.layer;!this.layerItemId&&A&&(this.layer=A),this.addModelListeners(),this._model.asyncUpdatesPromise.then(()=>{typeof this.resolveModelSetup=="function"&&this.resolveModelSetup()})}else this.config=this.model;if(this.enableBetaFeatures===void 0){let A=xA(this.config?.series);this.enableBetaFeatures=A===I.ScatterSeries||A===I.HistogramSeries}}selectionDataChange(){this.layer!==void 0&&(this.syncViewSelection||this.syncSelectionsBetweenChartAndLayerViewPolicy===pa.Enabled)&&this.view!==void 0&&this.setSelectionInSelectionManager()}async viewChange(A,t){this.layerItemId&&this.layerItemId?.trim()!==""&&(this.layer=zl({view:this.view,portalItemId:this.layerItemId})??new Zc({portalItem:{id:this.layerItemId}})),await this.setViewExtentChangeWatchHandler(),this.setViewTimeExtentChangeWatchHandler(),this.setViewTimeZoneWatchHandler(),t!==void 0&&A===void 0&&await this.refresh(),this.view?this.setViewSelectionsChangeWatchHandler():this.removeViewSelectionsChangeWatchHandler()}async layerChange(){this.addLayerWatchHandlers(),this.layer&&(await Cr(this.layer).load(),await this.setViewExtentChangeWatchHandler(),this.setViewTimeExtentChangeWatchHandler(),this.setViewTimeZoneWatchHandler())}layerItemIdChange(){this.layerItemId&&this.layerItemId?.trim()!==""?this.layer=zl({view:this.view,portalItemId:this.layerItemId})??new Zc({portalItem:{id:this.layerItemId}}):this.layer=void 0}featureIndexChange(A,t){t===void 0&&typeof A=="number"&&this.updatedProps.set("forceDataUpdate",{oldValue:t,newValue:A})}interactionsDisabledChange(A){A?this.chartRef.value?.classList.add(Dt.DisableInteractions):this.chartRef.value?.classList.remove(Dt.DisableInteractions)}rotatedChange(A){A!==void 0&&(this._config=hg(A,this._config),this.synchronizeModelConfig())}legendPositionChange(A){A!==void 0&&(this._config=dg(A,this._config),this.synchronizeModelConfig())}legendVisibilityChange(A){A!==void 0&&(this._config=ug(A,this._config),this.synchronizeModelConfig())}timeZoneChange(){this.updateConfigTimeZone(this.timeZone)}filterBySelectionChanged(){this._config=fg(this._config),this.synchronizeModelConfig()}async filterByViewExtentChanged(A){A||await this.refresh({updateData:!0,resetAxesBounds:!0}),A?this.setViewExtentChangeWatchHandler(A):this.removeViewExtentChangeWatchHandlers()}addConfigListeners(){this.listenOn(document,"arcgisChartsConfigPanelNumberChange",this.configPanelNumberChange),this.listenOn(document,"arcgisChartsConfigDataChangeError",this.configDataChangeError)}getSelectionFromSelectionManager(){let A;if((this.view||this.selectionManager)&&this.layer&&!pt(this.layer)){let t=Cr(this.layer);A=(this.selectionManager??this.view?.selectionManager)?.getSelection(t)}return A}setSelectionInSelectionManager(){let A=this.selectionManager??this.view?.selectionManager;if(this.layer&&A&&!pt(this.layer)&&(this.syncViewSelection||this.syncSelectionsBetweenChartAndLayerViewPolicy===pa.Enabled)){let t,i=this.selectionData?.selectionOIDs?.length===0||this.selectionData?.selectionOIDs===void 0||this.selectionData?.selectionSource===Le.ClearSelection,r=(this.selectionData?.selectionOIDs?.length??0)>0;i?t=[]:r&&this.selectionData&&(t=this.selectionData.selectionOIDs),t&&A.replace(Cr(this.layer),t)}}addModelListeners(){this.listenOn(this._model??null,"arcgisChartsModelConfigChange",this.modelConfigChange),this.listenOn(this._model??null,"arcgisChartsModelDataChange",this.modelDataChange)}addLayerWatchHandlers(){this.removeLayerWatchHandlers(),this.layerFilterWatchHandler=jL(this),this.layerRendererWatchHandler=$L(this),this.layerFieldsWatchHandler=iE(this)}async setViewExtentChangeWatchHandler(A){(A??(this.filterByExtent||this.filterByViewExtent))&&(this.removeViewExtentChangeWatchHandlers(),this.viewExtentChangeWatchHandlers=await AE(this))}setViewTimeZoneWatchHandler(){this.removeViewTimeZoneChangeWatchHandler(),this.viewTimeZoneChangeWatchHandler=tE(this)}setViewTimeExtentChangeWatchHandler(){this.removeViewTimeExtentChangeWatchHandler(),this.viewTimeExtentChangeWatchHandler=eE(this)}setViewSelectionsChangeWatchHandler(){this.removeViewSelectionsChangeWatchHandler(),this.viewSelectionsChangeWatchHandler=rE(this)}setSelectionManagerChangeWatchHandler(){this.removeSelectionManagerChangeWatchHandler(),this.selectionManagerChangeWatchHandler=aE(this)}removeLayerWatchHandlers(){this.removeLayerFilterWatchHandler(),this.removeLayerRendererWatchHandler(),this.removeLayerFieldsWatchHandler()}removeViewWatchHandlers(){this.removeViewSelectionsChangeWatchHandler(),this.removeViewTimeZoneChangeWatchHandler(),this.removeViewTimeExtentChangeWatchHandler()}removeLayerFilterWatchHandler(){this.layerFilterWatchHandler?.remove()}removeLayerRendererWatchHandler(){this.layerRendererWatchHandler?.remove()}removeLayerFieldsWatchHandler(){this.layerFieldsWatchHandler?.remove()}removeViewExtentChangeWatchHandlers(){this.viewExtentChangeWatchHandlers?.forEach(A=>A.remove()),this.viewExtentChangeWatchHandlers=[]}removeViewSelectionsChangeWatchHandler(){this.viewSelectionsChangeWatchHandler?.remove()}removeSelectionManagerChangeWatchHandler(){this.selectionManagerChangeWatchHandler?.remove()}removeViewTimeZoneChangeWatchHandler(){this.viewTimeZoneChangeWatchHandler?.remove()}removeViewTimeExtentChangeWatchHandler(){this.viewTimeExtentChangeWatchHandler?.remove(),this.runtimeDataFilters?.timeExtent&&delete this.runtimeDataFilters.timeExtent}async createModelFromLayer(){if(this.layer){let A=Cr(this.layer);await A.load();let t=this.chartIndex??0,i="charts"in A?A?.charts?.[t]:void 0;if(i)this.model=await YB({layer:A,config:i,commonStrings:this.commonStrings});else{let r=to(this._messages?.chartNotFoundWarning??"",{chartIndex:t.toString(),layerTitle:A.title});this.arcgisChartNotFoundWarning.emit(r),Oh("warn",this,r)}}}applyPlaceholderForPartialConfig(A){let t=Rc(this._model)?I.ComboLineAndBarSeries:xA(A?.series),i=NL(t,this.commonStrings?.errorStrings);this.notify(i)}checkForIncompatibleChartVersion(){let A=this.config?.version;this.errorPolicy===nn.Throw&&Sf(A).versionStatus===af.Newer&&(this.notifyHeading=this.commonStrings?.errorStrings.incompatibleChartVersion?.title,this.notifyMessage=this.commonStrings?.errorStrings.incompatibleChartVersion?.message?to(this.commonStrings?.errorStrings.incompatibleChartVersion?.message,{chartVersion:A??""}):"",this.notifyOptions={kind:"warning",autoClose:!0,active:!0})}ourModelExistsIn(A){return A.some(t=>this._model?.isSameChartAs(t))}updateConfigTimeZone(A){this._config&&(PB(A,this._config),this.synchronizeModelConfig())}gatherComponentGlobalOptions(){return{queueChartCreation:this.queueChartCreation,skipChartCreationQueue:this.skipChartCreationQueue,hideLicenseWatermark:this.hideLicenseWatermark,showLicenseWatermark:this.showLicenseWatermark,enableResponsiveFeatures:this.enableResponsiveFeatures,autoDisposeChart:this.autoDisposeChart,animationEnabled:this.animationEnabled||this.useAnimatedCharts}}addMutationObserverForCalciteTheme(){Kh(this.el,["class"],()=>{if(this.enableAutoTheming){let A=Bd(this.el);(this.calciteThemeApplied==="dark"&&!A||this.calciteThemeApplied!=="dark"&&A)&&(this.calciteThemeApplied=A?"dark":void 0,this.refresh({updateData:!1}))}})}gatherComponentOptions(A=!0){let t=this.runtimeDataFilters;this.view&&(this.viewTimeExtentChangePolicy===Ys.Refresh||this.syncViewTimeExtent)&&this.view.timeExtent?.start!=null&&this.view.timeExtent?.end!=null&&(t={...t,timeExtent:[this.view.timeExtent.start.valueOf(),this.view.timeExtent.end.valueOf()]});let i=this.filterByExtent||this.filterByViewExtent,r,a=zt(this.model)?this.model.config:this.model;if(pt(this.layer))r=i?this.view:void 0;else{let n=xA(a?.series);r=i||n!==I.HistogramSeries?this.view:void 0}return{layer:this.layer,view:r,viewExtentUpdated:A&&i&&(this.view!==void 0||Xa(this.layer)),allowUsingObjectIdStat:this.allowUsingObjectIdStat,nullAsValid:this.nullAsValid,createMessage:this.placeholder,hideLoaderAnimation:this.hideLoaderAnimation,loaderColors:Me(this.loaderColors),runtimeDataFilters:t,ignoreViewExtent:this.ignoreViewExtent,chartLimits:this.chartLimits,guideTooltipFormatter:this.guideTooltipFormatter,xAxisLabelFormatter:this.xAxisLabelFormatter,yAxisLabelFormatter:this.yAxisLabelFormatter,secondaryYAxisLabelFormatter:this.secondaryYAxisLabelFormatter,tooltipFormatter:this.tooltipFormatter,dataLabelFormatter:this.dataLabelFormatter,selectionData:this.selectionData,filterBySelection:this.filterBySelection,actionMode:this.actionMode,cursorRange:this.cursorRange,selectionTheme:this.selectionTheme,setTimeBinningInfoWhenNotProvided:this.setTimeBinningInfoWhenNotProvided,returnSelectionOIDs:pt(this.layer)?!1:this.returnSelectionOIDs,returnSelectionIndexes:this.returnSelectionIndexes,returnFeaturesExtent:this.returnFeaturesExtent,hideEmptySeries:this.hideEmptySeries,autoInverseDataLabelTextColor:this.autoInverseDataLabelTextColor,replaceNoValueCategoryWithZero:this.replaceNoValueCategoryWithZero,hideZeroCountCategories:this.hideZeroCountCategories,gaugeInnerLabelFormatter:this.gaugeInnerLabelFormatter,ignoreSmoothRenderingLimit:this.ignoreSmoothRenderingLimit,chartWillRender:this.chartWillRender,pieChartLegendValueLabelFormatter:this.legendValueLabelFormatter,syncViewTimeZone:md({syncViewTimeZone:this.syncViewTimeZone,syncViewTimeZoneInclusionList:this.syncViewTimeZoneInclusionList,chartConfig:a}),interactionsDisabled:this.interactionsDisabled||this.disableInteractions,togglingLegendItemsDisabled:this.togglingLegendItemsDisabled||this.disableTogglingLegendItems,popupTemplateFieldInfosEnabled:this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled}}raiseLogScaleNotCompatibleWarning(A){let t=!0;return this.config?.axes?.forEach((i,r)=>{Es({chartConfig:this.config,axisConfigIndex:r,chartData:Vt(A?.data??this.sanitizedChartData)})||(t=!1,this.raiseInvalidDataWarning(r===0?ra.NegativeValueInXAxisLogScale:ra.NegativeValueInYAxisLogScale))}),t}raiseNoDataWarning(A,t){let i=!1;if(A?.data){let r=Vt(A.data);tg({chartConfig:t,nullAsValid:this.nullAsValid,dataSet:r})&&(i=!0,this.raiseInvalidDataWarning(ra.EmptyDataSet))}return i}raiseInvalidDataWarning(A,t){let i=this.layer,r=this.gatherComponentOptions(),a=this.config!==void 0&&Xl({seriesConfig:this.config.series[0],xAxisValueFormatType:of(this.config),queryObject:i}),n=Cf({invalidType:A,elementCount:t,seriesCount:this.config?.series?.length,chartLimits:r?.chartLimits,filterBySelection:r?.filterBySelection,queryObject:i,formatLocale:la(this.el),isTemporalChart:a,errorStrings:this.commonStrings?.errorStrings});(n.keyword!==ra.EmptyDataSet||this.infoModalMessage===void 0)&&(this.arcgisBadDataWarningRaise.emit(n),this.notify(n.message,n.header))}processInvalidConfigStatus(A,t){if(this.enableConfiguration||this.configurationEnabled)this.handleUpdateCompleted(A);else{this.loaderHandle.hideLoader();let{title:i,message:r}=KL({chartConfig:t,createMessage:this.placeholder,status:A,errorStrings:this.commonStrings?.errorStrings});this.arcgisInvalidConfigWarningRaise.emit({keyword:ra.InvalidConfig,header:i,message:r}),this.notify(r,i)}}async createChartInstance(A=!0){if(this.config)try{this.addMutationObserverForCalciteTheme(),await this.renderChart(),A&&this.chart&&(this.addLayerWatchHandlers(),await this.setViewExtentChangeWatchHandler(),this.setViewTimeExtentChangeWatchHandler(),this.setViewTimeZoneWatchHandler(),this.setViewSelectionsChangeWatchHandler(),this.setSelectionManagerChangeWatchHandler())}catch(t){if(this.updatedProps.clear(),t instanceof _t&&t.name===ta.QueryFeaturesError?(this.dataFetching=void 0,this.arcgisDataProcessError.emit(t.details)):t instanceof _t&&this.arcgisRuntimeError.emit(t.details??t),typeof t=="object"&&t&&"message"in t){let i=t instanceof _t?t.message:this.commonStrings?.errorStrings.errors.simpleError;this.notify(i,this.commonStrings?.errorStrings.errorHeading)}this.chart?.dispose(),this.chart=void 0}}notifyDataProcessComplete(A){if(A&&this._config){let t=$l({data:A,seriesConfig:this._config.series});t&&(this.sanitizedChartData=t,this.arcgisDataProcessComplete.emit({chartData:t,model:this._model}))}}notifyDataFetchComplete(A){if(A&&"dataItems"in A&&this._config&&xA(this._config?.series)===I.PieSeries){let t=Me(A);t.dataItems=pv(t.dataItems,this._config),this.arcgisDataFetchComplete.emit(t)}}async renderChart(){if(wr(this.config))this.applyPlaceholderForPartialConfig(this.config);else if(this.config){let A=this.chart===void 0,t=new Map(this.updatedProps),i=Array.from(t.keys());if(A||i.length>0){if(this.checkForInvalidContainer(),A){this.dataFetching&&(await this.dataFetching,this.dataFetching=void 0);let a=this.view&&"timeZone"in this.view&&this.view.timeZone?this.view.timeZone:void 0;(this.timeZone||md({syncViewTimeZone:this.syncViewTimeZone,syncViewTimeZoneInclusionList:this.syncViewTimeZoneInclusionList,chartConfig:this._config})&&a)&&this.updateConfigTimeZone(this.timeZone??a),this.checkForIncompatibleChartVersion(),this.updatedProps.clear()}let r=await this._loadQueryObject.taskComplete;if(r){let a=this.gatherComponentOptions(),n=Nt(r,this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled),o;if(t.has("model")){let w=t.get("model")?.oldValue;zt(w)?o=w.config:o=w}!o&&t.has("config")&&(o=t.get("config")?.oldValue),o??=this.config;let u=A,h;A||({dataUpdateNeeded:u,dataUpdateDetails:h}=Zf({config:this.config,previousConfig:o,dataUpdateNeededProps:this.dataUpdateNeededProps,updatedProps:t,options:a,filterBySelection:this.filterBySelection,previousSelectionOIDs:t.has("selectionData")?t.get("selectionData")?.oldValue?.selectionOIDs:this.selectionData?.selectionOIDs,fieldList:n,queryObject:r}),u&&this.hideInfoModal());let g=this.updateSplitBySeries?.addMissingSeries===!0&&(A||u||i.includes("layer")||i.includes("filterByExtent")||i.includes("filterByViewExtent")),f,m,B=!0;for(let w=0;w<Am&&B;w++){let p=this.config;({alteredConfig:f,preFetchedQueryResponse:m}=await gg({configToAlter:this.config,updateSplitBySeries:this.updateSplitBySeries,addMissingSeries:g,chartContainer:this.el,queryObject:r,options:a,layer:this.layer,errorStrings:this.commonStrings?.errorStrings})),B=this.config!==p}if(this._config=f,this.model&&f&&!zt(this.model)&&(this.model.series=f.series),h?.common&&o?.series&&f?.series&&(h.common.numberOfSeriesChanged=If(o.series,f.series)),!f&&!this.layer||rc(f,this.layer)&&await ac(f,this.layer)){let w=await Ac({input:f,queryObject:r,allowUsingObjectIdStat:a?.allowUsingObjectIdStat,errorStrings:this.commonStrings?.errorStrings});if(i.forEach(p=>this.updatedProps.delete(p)),!w.valid)this.processInvalidConfigStatus(w,f);else{let p={valid:!0,data:this.processedChartData??this.sanitizedChartData};if(f){Xa(r)&&await it.whenOnce(()=>!r.updating),u=u&&f!==void 0&&!wr(f);let b=++this.dataFetchRequestId;if(u&&(this.loaderHandle.showLoader(),this.dataFetching=Ag({chartConfig:f,preFetchedQueryResponse:m,queryObject:r,options:a,fieldList:n,currentSelectionDataItems:this.unsanitizedSelectionDataItems,dataForFilterBySelectionChanged:h?.common?.dataForFilterBySelectionChanged,errorStrings:this.commonStrings?.errorStrings,abortKey:this.guid}),p=await this.dataFetching,Kc(this._model)&&JB(ZB,p.data)),xA(f.series)===I.PieSeries){let v=cm({creation:A,previousConfig:o,newConfig:f,dataInfo:p,dataUpdateNeeded:u,utilsStrings:this.commonStrings.utilsStrings});u=u||v}if(!p.valid)this.raiseInvalidDataWarning(p.invalidType,p.count);else{if(xA(f.series)===I.PieSeries){let Q=cm({creation:A,previousConfig:o,newConfig:f,dataInfo:p,dataUpdateNeeded:u,utilsStrings:this.commonStrings.utilsStrings});u=u||Q}let v,S=Me(f);if({filteredConfig:f,seriesFilteredOut:v}=Bg({showEmptySeries:this.showEmptySeries??this.hideEmptySeries===!1,config:f,data:p?.data}),b===this.dataFetchRequestId&&!this.raiseNoDataWarning(p,f)&&this.raiseLogScaleNotCompatibleWarning(p)){let Q=Ya({oldConfig:v?S:o,newConfig:f,dataWasUpdated:u});Q&&Yf({alteredConfig:f,dataInfo:p,fieldList:n,options:a,queryObject:r}),Jl(o,f)&&(u=!0);let L=bi(f)?f.showMean:void 0,D=p?.data??this.sanitizedChartData,_=D&&L&&"meanLines"in D?D.meanLines:Vt(D);_&&(A||u)&&({colorMatchApplied:this._colorMatchApplied,rendererFieldNames:this._rendererFieldNames}=await Jf({data:_,queryObject:r,chartConfig:f,allowColorMatch:ff({chartConfig:f,queryObject:r})})),this.enableAutoTheming&&(f=JL(this.el,f),this.calciteThemeApplied=Bd(this.el)?"dark":void 0,a=ZL({chartElement:this.el,options:a,calciteThemeApplied:this.calciteThemeApplied}));let k=!1,P;if(f.series[0].type===I.PieSeries){let E=Vt(this.processedChartData),K=Vt(p.data);k=Pm(E,K),P=Yg({creation:A,dataInfo:p,pieChartDataActuallyChanged:k,chartConfig:f,previousConfig:o,queryObject:r,popupTemplateFieldInfosEnabled:a?.usePopupTemplateFieldsInfo||a?.popupTemplateFieldInfosEnabled,utilsStrings:this.commonStrings.utilsStrings})}let j=await Zg({creation:A,dataInfo:p,pieChartDataActuallyChanged:k,chartConfig:f,previousConfig:o,pieSlicesSymbols:P,queryObject:r,options:a,utilsStrings:this.commonStrings?.utilsStrings});if(j?.changesApplied&&(w=await Ac({input:j?.alteredConfig,queryObject:r,allowUsingObjectIdStat:a?.allowUsingObjectIdStat,errorStrings:this.commonStrings?.errorStrings}),w.valid&&(f=j?.alteredConfig,P=j.alteredPieSlicesSymbols,this._colorMatchApplied=j.colorMatchApplied,this._rendererFieldNames=j.rendererFieldNames)),f.series[0].type===I.PieSeries&&p.data&&"dataItems"in p.data&&wv({data:p.data.dataItems,newChartConfig:f,pieSlicesSymbols:P,fieldList:n}),this.processedChartData=Me(p.data),!w.valid)this.processInvalidConfigStatus(w,f);else{if((u||Q)&&(this.notifyDataProcessComplete(p.data),this.notifyDataFetchComplete(p.data)),!this.filterBySelection&&!pt(r)){let aA=await sg({updatedPropsSnapshot:t,chartConfig:f,chartData:this.processedChartData,dataWasUpdated:u,queryObject:r,options:a,errorStrings:this.commonStrings?.errorStrings});aA&&a&&(a.selectionData={...a?.selectionData,selectionItems:aA})}this.hideInfoModal();let{t9nLocale:E}=sr(this.chartRef.value??document.documentElement),K=await lE(E,this.useAmCharts5()),F={chartContainer:this.chartRef.value,queryObject:r,dataInfo:p,colorMatchApplied:this._colorMatchApplied,rendererFieldNames:this._rendererFieldNames,pieSlicesSymbols:P,hasSeriesFilteredOut:v,uniqueInternalID:this.el.id,t9nStrings:{errorStrings:this.commonStrings?.errorStrings,utilsStrings:this.commonStrings?.utilsStrings,amChartsStrings:K},loaderHandle:this.loaderHandle},W=f.series?.[0]?.query;if($B(f)&&W&&(p.gaugeMinMaxFromData=await qf({queryObject:r,chartConfig:f,queryConfig:W,errorStrings:this.commonStrings?.errorStrings})),A){let aA=this.useAmCharts5()?RL:JS;this.chart=aA({...F,chartConfig:f,options:a,globalOptions:this.gatherComponentGlobalOptions()})}else this.chart?.update({...F,newChartConfig:f,dataUpdateDetails:h,configWithAllSeries:S,dataWasUpdated:u,updateOptions:a,updateGlobalOptions:this.gatherComponentGlobalOptions()}),this.handleUpdateCompleted(w);await this.generateHeatChartClassBreaks(p)}}}}}}}}}}render(){let A=this.notifyMessage?cE({heading:this.notifyHeading,message:this.notifyMessage,options:this.notifyOptions}):null,t=this.infoModalMessage!==void 0&&this.showUIMessages!==!1&&!this.hideUIMessages||this.showLoader,i="";switch(!0){case(this.notifyMessage&&this.notifyOptions?.kind==="danger"):case t:i=Dt.Hide;break;default:i=`${Dt.Chart} ${Dt.Show}`;break}let r=this.notifyMessage!==void 0?`${Dt.Show} ${Dt.NotifyPanel}`:Dt.Hide;return Jr`<slot name=${og.actionBar} @slotchange=${a=>{this.actionBarElement=qB(a,this.el,this.config)}} ${dl(this.actionBarSlotRef)}></slot>${t?Jr`<arcgis-charts-info-modal .heading=${this.infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeApplied=${this.calciteThemeApplied} .enableAutoTheming=${this.enableAutoTheming}></arcgis-charts-info-modal>`:null}<div class=${`${Dt.ChartWrapper} ${i}`}><div class=${`${Dt.ChartContainer} ${i}`} ${dl(this.chartRef)}></div></div><div class=${Mh(r)}>${A}</div>`}};_h("arcgis-chart",pd);return pd},"core/reactiveUtils","intl","layers/FeatureLayer","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","applications/Components/imageryUtils","geometry/Extent","geometry/Point","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","AttributeBinsGraphic","layers/support/CodedValueDomain","core/sql",a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)