@esri/solutions-components 1.0.0-next.20250513 → 1.0.0-next.20250513.1

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 (383) hide show
  1. package/dist/cdn/{RTL6LDYI.js → 23YKBWAC.js} +2 -2
  2. package/dist/cdn/{TSJDIDQQ.js → 246GABX4.js} +2 -2
  3. package/dist/cdn/{TKZBNC7H.js → 2BYLFULE.js} +2 -2
  4. package/dist/cdn/{K4CSMHLX.js → 2DDJ2AFS.js} +2 -2
  5. package/dist/cdn/{P5SCKVEP.js → 2JBJHRHU.js} +2 -2
  6. package/dist/cdn/{YWPX2AWZ.js → 2K3MMRXW.js} +2 -2
  7. package/dist/cdn/{3WW3YWCT.js → 2SMSSXCB.js} +2 -2
  8. package/dist/cdn/{KIU22HO4.js → 2T3QIT6S.js} +2 -2
  9. package/dist/cdn/{XOTJKE5D.js → 2VM36EOG.js} +2 -2
  10. package/dist/cdn/{ETTBV6A5.js → 36KGPYQP.js} +2 -2
  11. package/dist/cdn/{TGLGAJZN.js → 3CR3QCZT.js} +2 -2
  12. package/dist/cdn/{B33KRB36.js → 3HOUIYSB.js} +2 -2
  13. package/dist/cdn/{2ZOPKOQW.js → 3MPH6U6A.js} +2 -2
  14. package/dist/cdn/{X5NCT7SI.js → 3O5NME66.js} +1 -1
  15. package/dist/cdn/{BVAH7X2K.js → 3QDSK6LK.js} +2 -2
  16. package/dist/cdn/{CIQJF5B3.js → 3SIKQBUD.js} +2 -2
  17. package/dist/cdn/{QIVU3W4F.js → 3TOH77TX.js} +2 -2
  18. package/dist/cdn/{3KNYDGE4.js → 3TUJ4JJ5.js} +2 -2
  19. package/dist/cdn/{3S3YE7LS.js → 3ZAAVHR2.js} +2 -2
  20. package/dist/cdn/{XV6244HK.js → 44RAERGT.js} +2 -2
  21. package/dist/cdn/{DAC3GWK5.js → 47DEY33Q.js} +2 -2
  22. package/dist/cdn/{D2BGUJW5.js → 47XOSUMG.js} +2 -2
  23. package/dist/cdn/{VTJTEDJC.js → 4AGFHRFX.js} +2 -2
  24. package/dist/cdn/{XW3XMCXE.js → 4DOBOTOA.js} +2 -2
  25. package/dist/cdn/{U35AQBWJ.js → 4I2ETJ5R.js} +1 -1
  26. package/dist/cdn/4IU5MAMG.js +4 -0
  27. package/dist/cdn/{VPPRTR4I.js → 4JQ3EMVS.js} +2 -2
  28. package/dist/cdn/{EOOHBALJ.js → 4OCR3H4M.js} +2 -2
  29. package/dist/cdn/{7FTLGHTG.js → 4SXLUGVC.js} +2 -2
  30. package/dist/cdn/{GPW2TCPZ.js → 4T5G7D3M.js} +2 -2
  31. package/dist/cdn/{A4AUBCIN.js → 4WY233D6.js} +2 -2
  32. package/dist/cdn/{DGN5X5A4.js → 524EKBTA.js} +2 -2
  33. package/dist/cdn/{7VOZDFCU.js → 52BCWQEA.js} +2 -2
  34. package/dist/cdn/{TD4SVRZ2.js → 52MJSDMV.js} +2 -2
  35. package/dist/cdn/{TV4DZ4NC.js → 5GGF35L5.js} +2 -2
  36. package/dist/cdn/{VQKEDTWW.js → 5O34KXSF.js} +2 -2
  37. package/dist/cdn/{G2KU4GJD.js → 5Z7R3XOW.js} +1 -1
  38. package/dist/cdn/{4HNFRLEB.js → 65GRV5ZI.js} +2 -2
  39. package/dist/cdn/{FIE266AU.js → 66TACLFN.js} +2 -2
  40. package/dist/cdn/{FLC5VXCW.js → 67LEPSGW.js} +2 -2
  41. package/dist/cdn/{FJRGFI2V.js → 6CYK6BB7.js} +1 -1
  42. package/dist/cdn/{RKUNOYZR.js → 6HKXUI6P.js} +2 -2
  43. package/dist/cdn/{GA57AOAH.js → 6JLMDDJ5.js} +2 -2
  44. package/dist/cdn/{356X3OF7.js → 6YQEXU32.js} +2 -2
  45. package/dist/cdn/{NYANCYTJ.js → 743KENLL.js} +2 -2
  46. package/dist/cdn/{4Z3IUDH5.js → 74BFRFR6.js} +4 -4
  47. package/dist/cdn/{5GI5HKKC.js → 74OAFWYK.js} +2 -2
  48. package/dist/cdn/{5AVYYC47.js → 762BKOZV.js} +2 -2
  49. package/dist/cdn/{KUVX4OOK.js → 7BAB326V.js} +2 -2
  50. package/dist/cdn/{PL3CH3LF.js → 7EV7MOH7.js} +2 -2
  51. package/dist/cdn/{PDEMBJK2.js → 7NJWTG5Q.js} +2 -2
  52. package/dist/cdn/{GYXP7WY2.js → 7POMEGOT.js} +2 -2
  53. package/dist/cdn/{WBDBLEC7.js → 7QIW3X3J.js} +2 -2
  54. package/dist/cdn/{37UTA2CS.js → 7TXDKHSR.js} +2 -2
  55. package/dist/cdn/{4M3HYUSJ.js → 7TZTFXYB.js} +2 -2
  56. package/dist/cdn/{WUYLVJC7.js → 7ZWQ5RIA.js} +2 -2
  57. package/dist/cdn/{RFSMSYJR.js → AEJKH2N4.js} +2 -2
  58. package/dist/cdn/{HZIMPHWC.js → AFRKXBZK.js} +2 -2
  59. package/dist/cdn/{T66Y6KTO.js → ANP7AZFG.js} +2 -2
  60. package/dist/cdn/{PJF5G4QB.js → ARKBNGKH.js} +2 -2
  61. package/dist/cdn/{MSCUGG2N.js → ARTYQZHE.js} +1 -1
  62. package/dist/cdn/{JBH2RRSE.js → AVRXN4UR.js} +2 -2
  63. package/dist/cdn/{XI6U7JLE.js → AWLITXKE.js} +2 -2
  64. package/dist/cdn/{C44EKR3M.js → AZKYXX53.js} +1 -1
  65. package/dist/cdn/{P55AP2OS.js → B6EMT5VV.js} +2 -2
  66. package/dist/cdn/{W4QVPEC6.js → B7XFXDPR.js} +1 -1
  67. package/dist/cdn/{HSCOIXLG.js → BCWHIGGF.js} +2 -2
  68. package/dist/cdn/{CNU3TPX7.js → BEUU4V47.js} +2 -2
  69. package/dist/cdn/{IZGA6GXU.js → BK4S3RXL.js} +2 -2
  70. package/dist/cdn/{2LWA3LPI.js → BMFQADY6.js} +2 -2
  71. package/dist/cdn/{2PNI22UK.js → BMT45QOY.js} +2 -2
  72. package/dist/cdn/{MXKCH65B.js → BRP2ZFTA.js} +2 -2
  73. package/dist/cdn/{ANRR2Q3N.js → BS6MCVLT.js} +2 -2
  74. package/dist/cdn/{OAJSYATY.js → BTPTRXRA.js} +2 -2
  75. package/dist/cdn/{LZXK3MVJ.js → BVZUGCOI.js} +2 -2
  76. package/dist/cdn/{ULVBGZTW.js → BWXM7YAS.js} +2 -2
  77. package/dist/cdn/{UDGQW7QL.js → C3QQO3JT.js} +2 -2
  78. package/dist/cdn/{RXTELQ34.js → C3XQ4X7S.js} +2 -2
  79. package/dist/cdn/{6MHBJPS2.js → C5KZI572.js} +2 -2
  80. package/dist/cdn/{MB76IRBK.js → CBESNLSQ.js} +2 -2
  81. package/dist/cdn/{VLGVIKZ6.js → CCTVQ7J6.js} +2 -2
  82. package/dist/cdn/{ONIJZZLM.js → CLOM3LFK.js} +2 -2
  83. package/dist/cdn/{WAHZ4BJA.js → CT7VEZDK.js} +2 -2
  84. package/dist/cdn/{KKSOLSMJ.js → CXYY2U43.js} +2 -2
  85. package/dist/cdn/{AI3WLROH.js → D2LLTH6P.js} +2 -2
  86. package/dist/cdn/{KCDVHUF2.js → D6E3WEYR.js} +2 -2
  87. package/dist/cdn/{53N47Q3X.js → DADLOUNZ.js} +2 -2
  88. package/dist/cdn/{MFYJYT6Q.js → DHRLL7NQ.js} +2 -2
  89. package/dist/cdn/{2MC74LFI.js → DJLABPFC.js} +2 -2
  90. package/dist/cdn/{5IYB6I37.js → DKBSVQN3.js} +2 -2
  91. package/dist/cdn/{EIZMLFHI.js → DNUOMN67.js} +1 -1
  92. package/dist/cdn/{OMLJWKTW.js → DOSGDH3U.js} +2 -2
  93. package/dist/cdn/{LBK4TQ4U.js → DPO6UDKC.js} +2 -2
  94. package/dist/cdn/{DHPOWICJ.js → DQEAYFAF.js} +2 -2
  95. package/dist/cdn/{GM3ATYLE.js → DUMJIXV7.js} +1 -1
  96. package/dist/cdn/{ISCASEIO.js → DVK7WGWJ.js} +1 -1
  97. package/dist/cdn/{4SNRICQS.js → DX2VURSL.js} +2 -2
  98. package/dist/cdn/DXOLFQBJ.js +4 -0
  99. package/dist/cdn/{WCAYMKQP.js → DYDTMS5A.js} +2 -2
  100. package/dist/cdn/{5D3XSPVE.js → E5J3LXUI.js} +2 -2
  101. package/dist/cdn/{IKBVEVMI.js → EKWMSR5N.js} +2 -2
  102. package/dist/cdn/{HHVCX4HB.js → ELHHO2HG.js} +1 -1
  103. package/dist/cdn/{G6RUG3BR.js → EMLYWNKX.js} +2 -2
  104. package/dist/cdn/EQ7BO6C2.js +4 -0
  105. package/dist/cdn/{ZIJGSIAY.js → F2TP7D3Z.js} +1 -1
  106. package/dist/cdn/{MEMYGNMH.js → F4CZ5GDH.js} +2 -2
  107. package/dist/cdn/{PVMRTOAH.js → F4S54KIN.js} +2 -2
  108. package/dist/cdn/{ZSVGZTYI.js → F7TRMIZC.js} +2 -2
  109. package/dist/cdn/{BZM6QEVQ.js → FGM64GKL.js} +1 -1
  110. package/dist/cdn/{6HNT2RSP.js → FN3PUVIO.js} +2 -2
  111. package/dist/cdn/{WKBQVMT4.js → FQA6EV3F.js} +2 -2
  112. package/dist/cdn/{33R6U7YA.js → FQQPKFKR.js} +2 -2
  113. package/dist/cdn/{4YGER5QC.js → FW3OFREF.js} +1 -1
  114. package/dist/cdn/{2HQWNDOT.js → GD5M2FA3.js} +1 -1
  115. package/dist/cdn/{TGVDYRKZ.js → GMYAKEAU.js} +2 -2
  116. package/dist/cdn/{4745A7PL.js → GU775YRY.js} +1 -1
  117. package/dist/cdn/{CCHSAYV3.js → H2XZ5TPS.js} +2 -2
  118. package/dist/cdn/{5RJEQIH2.js → HDVUMH4E.js} +1 -1
  119. package/dist/cdn/{7KFM4VXO.js → HFGSRQ53.js} +2 -2
  120. package/dist/cdn/{QBKMKNGL.js → HGJHBG4H.js} +2 -2
  121. package/dist/cdn/{MYHI7ROY.js → HQTPWCRI.js} +2 -2
  122. package/dist/cdn/{H7Y4URDU.js → HTFV4B6M.js} +2 -2
  123. package/dist/cdn/{I5XMZWO6.js → IA5UUSGD.js} +2 -2
  124. package/dist/cdn/{JQV5TGAK.js → IBDM4N5B.js} +2 -2
  125. package/dist/cdn/{EZUUCYDZ.js → ICNH5LLB.js} +2 -2
  126. package/dist/cdn/{QCF4PYQB.js → ICTNZMXC.js} +1 -1
  127. package/dist/cdn/{EZLMQOSZ.js → IEEDUG7D.js} +2 -2
  128. package/dist/cdn/{4DVIYVRO.js → IFS2FCRW.js} +2 -2
  129. package/dist/cdn/{KJGF4NJ3.js → IQBIY4LU.js} +2 -2
  130. package/dist/cdn/{JGPXY5SS.js → IXYPSCHA.js} +2 -2
  131. package/dist/cdn/{GGVX7BU3.js → J2AOE72O.js} +2 -2
  132. package/dist/cdn/{UJSCHQIP.js → JADH56DH.js} +2 -2
  133. package/dist/cdn/{UVBA6JNL.js → JAXLR4NG.js} +1 -1
  134. package/dist/cdn/{OOGXSHWN.js → JC5GPNKP.js} +2 -2
  135. package/dist/cdn/{EDPL4TKI.js → JKV6HJNN.js} +2 -2
  136. package/dist/cdn/{CDXLLR33.js → JMWKZJCV.js} +2 -2
  137. package/dist/cdn/{QHJVQDMN.js → JO3TGX3S.js} +2 -2
  138. package/dist/cdn/{3P3P323U.js → JQFYSHOL.js} +2 -2
  139. package/dist/cdn/{F57GZO2E.js → JYBRQYQO.js} +2 -2
  140. package/dist/cdn/{CZOWNF5N.js → KAOZRVHT.js} +2 -2
  141. package/dist/cdn/KAP76DTH.js +4 -0
  142. package/dist/cdn/{RN7TUN7E.js → KBP3WSLN.js} +2 -2
  143. package/dist/cdn/{RVRAGQDC.js → KD4M5XSM.js} +2 -2
  144. package/dist/cdn/{PWDTDHPM.js → KDUEXCFJ.js} +1 -1
  145. package/dist/cdn/{IG3I76TX.js → KJUPNH26.js} +1 -1
  146. package/dist/cdn/{LZVWOWHQ.js → KN3DG5N5.js} +2 -2
  147. package/dist/cdn/{74FUG5XE.js → KRLBHVWO.js} +2 -2
  148. package/dist/cdn/{OBGBZA5Q.js → KXKPHNIN.js} +2 -2
  149. package/dist/cdn/{V6UTV55V.js → L3CECNF2.js} +1 -1
  150. package/dist/cdn/{KMJY2PGB.js → L6ZKECRD.js} +2 -2
  151. package/dist/cdn/{YRLQIYDY.js → LHQQTERG.js} +2 -2
  152. package/dist/cdn/{MGRH7AJX.js → LIY7L5HY.js} +2 -2
  153. package/dist/cdn/{HXLDVONX.js → LJHTCGCE.js} +2 -2
  154. package/dist/cdn/{MCIIM4XE.js → LJVAXK4D.js} +2 -2
  155. package/dist/cdn/LYF2DSS7.js +4 -0
  156. package/dist/cdn/{B2634ITV.js → M2IPXBJW.js} +2 -2
  157. package/dist/cdn/{5RGCCJRI.js → M2TI7O6U.js} +2 -2
  158. package/dist/cdn/{YNLSAEFB.js → M5IOEAD5.js} +2 -2
  159. package/dist/cdn/{EOM3X2VQ.js → M7SGJ27H.js} +2 -2
  160. package/dist/cdn/MCBLASJ3.js +4 -0
  161. package/dist/cdn/{T6FHHQZJ.js → MM4GYF2M.js} +2 -2
  162. package/dist/cdn/{KVYB56FX.js → MM73SXGN.js} +2 -2
  163. package/dist/cdn/{FR5YKIYR.js → MQYS3NXM.js} +2 -2
  164. package/dist/cdn/{HTWIZOH4.js → MUVB5RUT.js} +2 -2
  165. package/dist/cdn/{OUAPE77Q.js → MWVT5VTF.js} +2 -2
  166. package/dist/cdn/{5XZ2VEVE.js → MYWEE66N.js} +2 -2
  167. package/dist/cdn/{IVOSJYWQ.js → N7YKFWHI.js} +2 -2
  168. package/dist/cdn/{XISA6SLB.js → NERPCGAI.js} +2 -2
  169. package/dist/cdn/{UOCWAIF5.js → NJJU4T5L.js} +2 -2
  170. package/dist/cdn/{FZAZSLYD.js → NLJKG426.js} +2 -2
  171. package/dist/cdn/{V3NOQ3VR.js → NMQL6RPI.js} +2 -2
  172. package/dist/cdn/{3DPLKEDU.js → NRIFWRSL.js} +2 -2
  173. package/dist/cdn/{VOCP45SC.js → NTLHACLF.js} +2 -2
  174. package/dist/cdn/{3RC2WF5B.js → NUCM6ABX.js} +3 -3
  175. package/dist/cdn/{3Y5R5IUQ.js → NYYKUTZ2.js} +2 -2
  176. package/dist/cdn/{S3WKVRQS.js → OJ6AH4AP.js} +2 -2
  177. package/dist/cdn/{KQVVUDCM.js → OOKZNHYN.js} +1 -1
  178. package/dist/cdn/{55P3U5JJ.js → OWP2RUTT.js} +2 -2
  179. package/dist/cdn/{I7UVWQMY.js → OXFWSAQC.js} +2 -2
  180. package/dist/cdn/{L46SKXK3.js → P3NUNSXP.js} +2 -2
  181. package/dist/cdn/{2FXMJWEJ.js → P5SS2UTJ.js} +2 -2
  182. package/dist/cdn/{2AE65J7Z.js → PCLM5T4X.js} +2 -2
  183. package/dist/cdn/{6VGFUAX5.js → PFQ3QFCX.js} +2 -2
  184. package/dist/cdn/{SBDAFL5S.js → PHNR5GQ7.js} +2 -2
  185. package/dist/cdn/{55KC257N.js → PKRP2ZND.js} +2 -2
  186. package/dist/cdn/{5AWXJIBG.js → PW2VRRCC.js} +2 -2
  187. package/dist/cdn/PWU7JUQ7.js +4 -0
  188. package/dist/cdn/{7WDOCGDK.js → Q3SDKCO5.js} +1 -1
  189. package/dist/cdn/{47R5RC4C.js → Q4LK4Y27.js} +2 -2
  190. package/dist/cdn/{6DG3MERJ.js → Q7ODV6KG.js} +2 -2
  191. package/dist/cdn/{P4CX5EDN.js → QCY5Q4DC.js} +2 -2
  192. package/dist/cdn/{ACHUFFFB.js → QIQDU5TD.js} +2 -2
  193. package/dist/cdn/{H6UT37EX.js → QKA6L5H2.js} +2 -2
  194. package/dist/cdn/{GSFWKQWQ.js → QKEAWMVG.js} +2 -2
  195. package/dist/cdn/{VAP272QY.js → QMDSZ7FM.js} +2 -2
  196. package/dist/cdn/{ADVQIEJR.js → QMZEUTLX.js} +1 -1
  197. package/dist/cdn/{YMECWXNY.js → QN47PAEX.js} +2 -2
  198. package/dist/cdn/{CAPUUGJR.js → QQ5XIIVB.js} +2 -2
  199. package/dist/cdn/{YFTL66BW.js → QRQDRKIY.js} +2 -2
  200. package/dist/cdn/{Q5EJXK76.js → QUP6DAHI.js} +2 -2
  201. package/dist/cdn/{HZFEYQGX.js → R2H5RSJ2.js} +1 -1
  202. package/dist/cdn/{JUZCGG5Y.js → R2JFZODC.js} +2 -2
  203. package/dist/cdn/{CTH3ZJDZ.js → RBCCFTZL.js} +2 -2
  204. package/dist/cdn/{A52VN6U6.js → RK2A2EVN.js} +2 -2
  205. package/dist/cdn/{7KGIY4Y7.js → RKMNK4LY.js} +2 -2
  206. package/dist/cdn/{TKUGQKMA.js → RWUIYZW7.js} +2 -2
  207. package/dist/cdn/{3WNCCUTZ.js → SCZ6RNHE.js} +1 -1
  208. package/dist/cdn/{LH4PUHQS.js → SFM44CFT.js} +2 -2
  209. package/dist/cdn/{GQU6FXIT.js → SHCFADDZ.js} +1 -1
  210. package/dist/cdn/{FDZH3TUO.js → SMHCAJLS.js} +2 -2
  211. package/dist/cdn/{CBMZJGCV.js → SOTTOWSO.js} +2 -2
  212. package/dist/cdn/{XJOAEUHQ.js → SPDLS67W.js} +2 -2
  213. package/dist/cdn/{GRCUUM5W.js → SYY2ZMAO.js} +2 -2
  214. package/dist/cdn/{IRVZT2BS.js → T2ZDNBN5.js} +2 -2
  215. package/dist/cdn/{WUWWLJEX.js → TASEETLT.js} +1 -1
  216. package/dist/cdn/{U7RXVNQC.js → TGKBXQFJ.js} +1 -1
  217. package/dist/cdn/{5CSQUWE5.js → TGPT6425.js} +2 -2
  218. package/dist/cdn/{T4UFIWDF.js → THV6PWO2.js} +2 -2
  219. package/dist/cdn/{GMCIGFUB.js → TVA5RLDT.js} +2 -2
  220. package/dist/cdn/{K4FMFGHK.js → TWXMTERQ.js} +2 -2
  221. package/dist/cdn/{D3DQ3LMO.js → U2VNJ7F6.js} +2 -2
  222. package/dist/cdn/{N73I4LYZ.js → U5CODQHI.js} +2 -2
  223. package/dist/cdn/{4CCXX3SG.js → U7PVKGZW.js} +2 -2
  224. package/dist/cdn/{JIJBRLA5.js → UBMZTDIG.js} +2 -2
  225. package/dist/cdn/{EE7WJZP4.js → UCLIEM25.js} +2 -2
  226. package/dist/cdn/{UKMHZ5PP.js → UFMXTBV5.js} +2 -2
  227. package/dist/cdn/{2HW4GV5C.js → UFXHNUVA.js} +2 -2
  228. package/dist/cdn/{NLQ42NQW.js → UIY6JQVD.js} +2 -2
  229. package/dist/cdn/{KBLQQKHW.js → UNKRKQGZ.js} +2 -2
  230. package/dist/cdn/{PNZ6XBPV.js → UVWG3C2B.js} +1 -1
  231. package/dist/cdn/{AXEU574G.js → UZT7DBX5.js} +2 -2
  232. package/dist/cdn/{S67NXZHK.js → UZURAIZS.js} +2 -2
  233. package/dist/cdn/{DVO5GTFT.js → V4OFJDAH.js} +2 -2
  234. package/dist/cdn/{QRM36WK6.js → V66DC2RZ.js} +2 -2
  235. package/dist/cdn/{KP6XEQR7.js → V7IFHU6D.js} +2 -2
  236. package/dist/cdn/{L2YHTSUT.js → VBBBC5BC.js} +2 -2
  237. package/dist/cdn/{ZADWIJ7Q.js → VCPH6BNX.js} +2 -2
  238. package/dist/cdn/{HOLWK3EZ.js → VEH7MCF4.js} +2 -2
  239. package/dist/cdn/{5DHQPMEJ.js → VQRIVYMR.js} +2 -2
  240. package/dist/cdn/{GPUA6MAJ.js → VRSOFLBM.js} +2 -2
  241. package/dist/cdn/{VGXJDR76.js → VSY4FDGY.js} +2 -2
  242. package/dist/cdn/{USMPDRTK.js → W2BBALTD.js} +2 -2
  243. package/dist/cdn/{H4ZWRKI2.js → W4CDQBTA.js} +2 -2
  244. package/dist/cdn/{ZVRPCQAG.js → WKEGSNNF.js} +1 -1
  245. package/dist/cdn/{6QS23BIH.js → WTQ7BZT3.js} +2 -2
  246. package/dist/cdn/{XZS545IF.js → X4VJZ3Q6.js} +2 -2
  247. package/dist/cdn/{7RAJQNDO.js → XCC7EMQO.js} +2 -2
  248. package/dist/cdn/XFRJGRQ2.js +4 -0
  249. package/dist/cdn/{E35TDRWG.js → XKATHJUA.js} +2 -2
  250. package/dist/cdn/{BMMWWZDP.js → XPNMHAKP.js} +2 -2
  251. package/dist/cdn/{KDKKKQOA.js → XQ3FJCBS.js} +2 -2
  252. package/dist/cdn/{AT3EMTZF.js → XQXPNULI.js} +1 -1
  253. package/dist/cdn/{AYBKCTTB.js → XT4NY5DN.js} +2 -2
  254. package/dist/cdn/{IDFWZFF5.js → XXMZR5G3.js} +1 -1
  255. package/dist/cdn/{72KOOVBA.js → Y62AFNGV.js} +2 -2
  256. package/dist/cdn/{7KBEEBMB.js → Y7GXXND2.js} +2 -2
  257. package/dist/cdn/{JNWG7WSY.js → YC5MPBUM.js} +2 -2
  258. package/dist/cdn/{47WHCZIM.js → YCUSWAJ3.js} +2 -2
  259. package/dist/cdn/{2Y7EB6IS.js → YDZXBSPS.js} +1 -1
  260. package/dist/cdn/{DHYYFX2C.js → YFTV5FQP.js} +1 -1
  261. package/dist/cdn/{UAP5F7JO.js → YNV6UHCS.js} +2 -2
  262. package/dist/cdn/{TKBHKV5M.js → YT2UVLBQ.js} +2 -2
  263. package/dist/cdn/{QZVDSGNQ.js → YZDPVYVB.js} +2 -2
  264. package/dist/cdn/{4ZM2K4B5.js → YZSZKD4O.js} +1 -1
  265. package/dist/cdn/ZAFJT72F.js +4 -0
  266. package/dist/cdn/{AJYMDWRR.js → ZBD6UXKS.js} +2 -2
  267. package/dist/cdn/{536426JP.js → ZBZY2YEI.js} +2 -2
  268. package/dist/cdn/{PPEC24ZV.js → ZHA5K55V.js} +2 -2
  269. package/dist/cdn/{CUFYPINX.js → ZHW2F3VO.js} +2 -2
  270. package/dist/cdn/{RM5MLMA4.js → ZOFTKF6J.js} +2 -2
  271. package/dist/cdn/{6KD4C6OL.js → ZZV2JD2S.js} +2 -2
  272. package/dist/cdn/index.js +2 -2
  273. package/dist/chunks/common.js +1 -1
  274. package/dist/chunks/downloadUtils.js +1 -1
  275. package/dist/chunks/index.js +313 -405
  276. package/dist/chunks/interfaces.js +1 -1
  277. package/dist/chunks/loadModules.js +1 -1
  278. package/dist/chunks/mapViewUtils.js +1 -1
  279. package/dist/chunks/pciUtils.js +1 -1
  280. package/dist/chunks/popupUtils.js +1 -1
  281. package/dist/chunks/publicNotificationStore.js +1 -1
  282. package/dist/chunks/queryUtils.js +1 -1
  283. package/dist/chunks/runtime.js +1 -1
  284. package/dist/chunks/solution-store.js +1 -1
  285. package/dist/chunks/templates.js +1 -1
  286. package/dist/chunks/useT9n.js +1 -1
  287. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  288. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  289. package/dist/components/basemap-gallery/customElement.js +1 -1
  290. package/dist/components/buffer-tools/customElement.js +1 -1
  291. package/dist/components/card-manager/customElement.d.ts +3 -3
  292. package/dist/components/card-manager/customElement.js +1 -1
  293. package/dist/components/consent-manager/customElement.js +1 -1
  294. package/dist/components/create-feature/customElement.d.ts +3 -3
  295. package/dist/components/create-feature/customElement.js +1 -1
  296. package/dist/components/create-related-feature/customElement.d.ts +2 -2
  297. package/dist/components/create-related-feature/customElement.js +1 -1
  298. package/dist/components/crowdsource-manager/customElement.d.ts +2 -2
  299. package/dist/components/crowdsource-manager/customElement.js +1 -1
  300. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  301. package/dist/components/deduct-calculator/customElement.js +1 -1
  302. package/dist/components/delete-button/customElement.js +1 -1
  303. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  304. package/dist/components/delete-dialog/customElement.js +1 -1
  305. package/dist/components/edit-card/customElement.d.ts +2 -2
  306. package/dist/components/edit-card/customElement.js +1 -1
  307. package/dist/components/feature-details/customElement.d.ts +2 -2
  308. package/dist/components/feature-details/customElement.js +1 -1
  309. package/dist/components/feature-list/customElement.js +1 -1
  310. package/dist/components/field-selection/customElement.js +1 -1
  311. package/dist/components/floor-filter/customElement.js +1 -1
  312. package/dist/components/info-card/customElement.d.ts +2 -2
  313. package/dist/components/info-card/customElement.js +1 -1
  314. package/dist/components/json-editor/customElement.js +1 -1
  315. package/dist/components/layer-list/customElement.js +1 -1
  316. package/dist/components/layer-table/customElement.d.ts +1 -1
  317. package/dist/components/layer-table/customElement.js +1 -1
  318. package/dist/components/map-card/customElement.d.ts +3 -3
  319. package/dist/components/map-card/customElement.js +1 -1
  320. package/dist/components/map-draw-tools/customElement.d.ts +2 -2
  321. package/dist/components/map-draw-tools/customElement.js +1 -1
  322. package/dist/components/map-fullscreen/customElement.js +1 -1
  323. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  324. package/dist/components/map-layer-picker/customElement.js +1 -1
  325. package/dist/components/map-legend/customElement.js +1 -1
  326. package/dist/components/map-picker/customElement.js +1 -1
  327. package/dist/components/map-search/customElement.js +1 -1
  328. package/dist/components/map-select-tools/customElement.js +1 -1
  329. package/dist/components/map-tools/customElement.js +1 -1
  330. package/dist/components/pci-calculator/customElement.js +1 -1
  331. package/dist/components/pdf-download/customElement.js +1 -1
  332. package/dist/components/public-notification/customElement.js +1 -1
  333. package/dist/components/refine-selection/customElement.js +1 -1
  334. package/dist/components/selection-tool/customElement.js +1 -1
  335. package/dist/components/solution-article-card/customElement.js +1 -1
  336. package/dist/components/solution-configuration/customElement.js +1 -1
  337. package/dist/components/solution-configure-panel/customElement.js +1 -1
  338. package/dist/components/solution-configure-titles/customElement.js +1 -1
  339. package/dist/components/solution-contents/customElement.js +1 -1
  340. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  341. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  342. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  343. package/dist/components/solution-deployed-card/customElement.js +1 -1
  344. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  345. package/dist/components/solution-details-card/customElement.js +1 -1
  346. package/dist/components/solution-details-panel/customElement.js +1 -1
  347. package/dist/components/solution-item/customElement.js +1 -1
  348. package/dist/components/solution-item-accordion/customElement.js +1 -1
  349. package/dist/components/solution-item-details/customElement.js +1 -1
  350. package/dist/components/solution-item-icon/customElement.js +1 -1
  351. package/dist/components/solution-item-sharing/customElement.js +1 -1
  352. package/dist/components/solution-items-diagram/customElement.js +1 -1
  353. package/dist/components/solution-organization-variables/customElement.js +1 -1
  354. package/dist/components/solution-resource-item/customElement.js +1 -1
  355. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  356. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  357. package/dist/components/solution-template-data/customElement.js +1 -1
  358. package/dist/components/solution-variables/customElement.js +1 -1
  359. package/dist/components/solutions-all-panel/customElement.js +1 -1
  360. package/dist/components/solutions-all-shell/customElement.js +1 -1
  361. package/dist/components/solutions-article-panel/customElement.js +1 -1
  362. package/dist/components/solutions-articles/customElement.js +1 -1
  363. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  364. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  365. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  366. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  367. package/dist/components/spatial-ref/customElement.js +1 -1
  368. package/dist/components/store-manager/customElement.js +1 -1
  369. package/dist/docs/api.json +27 -27
  370. package/dist/docs/docs.json +77 -77
  371. package/dist/docs/web-types.json +51 -51
  372. package/dist/index.js +1 -1
  373. package/dist/loader.js +1 -1
  374. package/package.json +2 -2
  375. package/dist/cdn/2QX2DZO7.js +0 -8
  376. package/dist/cdn/GHIWQFDY.js +0 -4
  377. package/dist/cdn/JYL4F373.js +0 -4
  378. package/dist/cdn/LT2FXISZ.js +0 -4
  379. package/dist/cdn/MYF2CGM2.js +0 -4
  380. package/dist/cdn/URRXFKCL.js +0 -4
  381. package/dist/cdn/XMB335P2.js +0 -4
  382. package/dist/cdn/YQNWPVUQ.js +0 -4
  383. package/dist/cdn/ZXAG7K3F.js +0 -4
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{c as mt}from"./K4CSMHLX.js";import{b as ft,c as pt,d as dt,i as ht}from"./OAJSYATY.js";import{b as ut}from"./MSCUGG2N.js";import{a as Oe,c as lr,d as Le}from"./C44EKR3M.js";var Pe=lr((vt,Xe)=>{(function(e){typeof vt=="object"&&typeof Xe<"u"?Xe.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,r,n){function s(p,m){if(!r[p]){if(!a[p]){var y=typeof Oe=="function"&&Oe;if(!m&&y)return y(p,!0);if(i)return i(p,!0);var v=new Error("Cannot find module '"+p+"'");throw v.code="MODULE_NOT_FOUND",v}var l=r[p]={exports:{}};a[p][0].call(l.exports,function(g){var u=a[p][1][g];return s(u||g)},l,l.exports,e,a,r,n)}return r[p].exports}for(var i=typeof Oe=="function"&&Oe,c=0;c<n.length;c++)s(n[c]);return s}({1:[function(e,a,r){"use strict";var n=e("./utils"),s=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(c){for(var p,m,y,v,l,g,u,h=[],f=0,w=c.length,_=w,S=n.getTypeOf(c)!=="string";f<c.length;)_=w-f,y=S?(p=c[f++],m=f<w?c[f++]:0,f<w?c[f++]:0):(p=c.charCodeAt(f++),m=f<w?c.charCodeAt(f++):0,f<w?c.charCodeAt(f++):0),v=p>>2,l=(3&p)<<4|m>>4,g=1<_?(15&m)<<2|y>>6:64,u=2<_?63&y:64,h.push(i.charAt(v)+i.charAt(l)+i.charAt(g)+i.charAt(u));return h.join("")},r.decode=function(c){var p,m,y,v,l,g,u=0,h=0,f="data:";if(c.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var w,_=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===i.charAt(64)&&_--,c.charAt(c.length-2)===i.charAt(64)&&_--,_%1!=0)throw new Error("Invalid base64 input, bad content length.");for(w=s.uint8array?new Uint8Array(0|_):new Array(0|_);u<c.length;)p=i.indexOf(c.charAt(u++))<<2|(v=i.indexOf(c.charAt(u++)))>>4,m=(15&v)<<4|(l=i.indexOf(c.charAt(u++)))>>2,y=(3&l)<<6|(g=i.indexOf(c.charAt(u++))),w[h++]=p,l!==64&&(w[h++]=m),g!==64&&(w[h++]=y);return w}},{"./support":30,"./utils":32}],2:[function(e,a,r){"use strict";var n=e("./external"),s=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),c=e("./stream/DataLengthProbe");function p(m,y,v,l,g){this.compressedSize=m,this.uncompressedSize=y,this.crc32=v,this.compression=l,this.compressedContent=g}p.prototype={getContentWorker:function(){var m=new s(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),y=this;return m.on("end",function(){if(this.streamInfo.data_length!==y.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(m,y,v){return m.pipe(new i).pipe(new c("uncompressedSize")).pipe(y.compressWorker(v)).pipe(new c("compressedSize")).withStreamInfo("compression",y)},a.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,a,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,a,r){"use strict";var n=e("./utils"),s=function(){for(var i,c=[],p=0;p<256;p++){i=p;for(var m=0;m<8;m++)i=1&i?3988292384^i>>>1:i>>>1;c[p]=i}return c}();a.exports=function(i,c){return i!==void 0&&i.length?n.getTypeOf(i)!=="string"?function(p,m,y,v){var l=s,g=v+y;p^=-1;for(var u=v;u<g;u++)p=p>>>8^l[255&(p^m[u])];return-1^p}(0|c,i,i.length,0):function(p,m,y,v){var l=s,g=v+y;p^=-1;for(var u=v;u<g;u++)p=p>>>8^l[255&(p^m.charCodeAt(u))];return-1^p}(0|c,i,i.length,0):0}},{"./utils":32}],5:[function(e,a,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,a,r){"use strict";var n=null;n=typeof Promise<"u"?Promise:e("lie"),a.exports={Promise:n}},{lie:37}],7:[function(e,a,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),i=e("./utils"),c=e("./stream/GenericWorker"),p=n?"uint8array":"array";function m(y,v){c.call(this,"FlateWorker/"+y),this._pako=null,this._pakoAction=y,this._pakoOptions=v,this.meta={}}r.magic="\b\0",i.inherits(m,c),m.prototype.processChunk=function(y){this.meta=y.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(p,y.data),!1)},m.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var y=this;this._pako.onData=function(v){y.push({data:v,meta:y.meta})}},r.compressWorker=function(y){return new m("Deflate",y)},r.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,a,r){"use strict";function n(l,g){var u,h="";for(u=0;u<g;u++)h+=String.fromCharCode(255&l),l>>>=8;return h}function s(l,g,u,h,f,w){var _,S,I=l.file,R=l.compression,T=w!==p.utf8encode,N=i.transformTo("string",w(I.name)),F=i.transformTo("string",p.utf8encode(I.name)),G=I.comment,q=i.transformTo("string",w(G)),b=i.transformTo("string",p.utf8encode(G)),C=F.length!==I.name.length,o=b.length!==G.length,L="",X="",B="",Q=I.dir,W=I.date,J={crc32:0,compressedSize:0,uncompressedSize:0};g&&!u||(J.crc32=l.crc32,J.compressedSize=l.compressedSize,J.uncompressedSize=l.uncompressedSize);var A=0;g&&(A|=8),T||!C&&!o||(A|=2048);var O=0,K=0;Q&&(O|=16),f==="UNIX"?(K=798,O|=function(j,ie){var ce=j;return j||(ce=ie?16893:33204),(65535&ce)<<16}(I.unixPermissions,Q)):(K=20,O|=function(j){return 63&(j||0)}(I.dosPermissions)),_=W.getUTCHours(),_<<=6,_|=W.getUTCMinutes(),_<<=5,_|=W.getUTCSeconds()/2,S=W.getUTCFullYear()-1980,S<<=4,S|=W.getUTCMonth()+1,S<<=5,S|=W.getUTCDate(),C&&(X=n(1,1)+n(m(N),4)+F,L+="up"+n(X.length,2)+X),o&&(B=n(1,1)+n(m(q),4)+b,L+="uc"+n(B.length,2)+B);var $="";return $+=`
3
+ v1.0.0-next.20250513.1 */
4
+ import{c as mt}from"./2DDJ2AFS.js";import{b as ft,c as pt,d as dt,i as ht}from"./BTPTRXRA.js";import{b as ut}from"./ARTYQZHE.js";import{a as Oe,c as lr,d as Le}from"./AZKYXX53.js";var Pe=lr((vt,Xe)=>{(function(e){typeof vt=="object"&&typeof Xe<"u"?Xe.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,r,n){function s(p,m){if(!r[p]){if(!a[p]){var y=typeof Oe=="function"&&Oe;if(!m&&y)return y(p,!0);if(i)return i(p,!0);var v=new Error("Cannot find module '"+p+"'");throw v.code="MODULE_NOT_FOUND",v}var l=r[p]={exports:{}};a[p][0].call(l.exports,function(g){var u=a[p][1][g];return s(u||g)},l,l.exports,e,a,r,n)}return r[p].exports}for(var i=typeof Oe=="function"&&Oe,c=0;c<n.length;c++)s(n[c]);return s}({1:[function(e,a,r){"use strict";var n=e("./utils"),s=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(c){for(var p,m,y,v,l,g,u,h=[],f=0,w=c.length,_=w,S=n.getTypeOf(c)!=="string";f<c.length;)_=w-f,y=S?(p=c[f++],m=f<w?c[f++]:0,f<w?c[f++]:0):(p=c.charCodeAt(f++),m=f<w?c.charCodeAt(f++):0,f<w?c.charCodeAt(f++):0),v=p>>2,l=(3&p)<<4|m>>4,g=1<_?(15&m)<<2|y>>6:64,u=2<_?63&y:64,h.push(i.charAt(v)+i.charAt(l)+i.charAt(g)+i.charAt(u));return h.join("")},r.decode=function(c){var p,m,y,v,l,g,u=0,h=0,f="data:";if(c.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var w,_=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===i.charAt(64)&&_--,c.charAt(c.length-2)===i.charAt(64)&&_--,_%1!=0)throw new Error("Invalid base64 input, bad content length.");for(w=s.uint8array?new Uint8Array(0|_):new Array(0|_);u<c.length;)p=i.indexOf(c.charAt(u++))<<2|(v=i.indexOf(c.charAt(u++)))>>4,m=(15&v)<<4|(l=i.indexOf(c.charAt(u++)))>>2,y=(3&l)<<6|(g=i.indexOf(c.charAt(u++))),w[h++]=p,l!==64&&(w[h++]=m),g!==64&&(w[h++]=y);return w}},{"./support":30,"./utils":32}],2:[function(e,a,r){"use strict";var n=e("./external"),s=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),c=e("./stream/DataLengthProbe");function p(m,y,v,l,g){this.compressedSize=m,this.uncompressedSize=y,this.crc32=v,this.compression=l,this.compressedContent=g}p.prototype={getContentWorker:function(){var m=new s(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),y=this;return m.on("end",function(){if(this.streamInfo.data_length!==y.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(m,y,v){return m.pipe(new i).pipe(new c("uncompressedSize")).pipe(y.compressWorker(v)).pipe(new c("compressedSize")).withStreamInfo("compression",y)},a.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,a,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,a,r){"use strict";var n=e("./utils"),s=function(){for(var i,c=[],p=0;p<256;p++){i=p;for(var m=0;m<8;m++)i=1&i?3988292384^i>>>1:i>>>1;c[p]=i}return c}();a.exports=function(i,c){return i!==void 0&&i.length?n.getTypeOf(i)!=="string"?function(p,m,y,v){var l=s,g=v+y;p^=-1;for(var u=v;u<g;u++)p=p>>>8^l[255&(p^m[u])];return-1^p}(0|c,i,i.length,0):function(p,m,y,v){var l=s,g=v+y;p^=-1;for(var u=v;u<g;u++)p=p>>>8^l[255&(p^m.charCodeAt(u))];return-1^p}(0|c,i,i.length,0):0}},{"./utils":32}],5:[function(e,a,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,a,r){"use strict";var n=null;n=typeof Promise<"u"?Promise:e("lie"),a.exports={Promise:n}},{lie:37}],7:[function(e,a,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),i=e("./utils"),c=e("./stream/GenericWorker"),p=n?"uint8array":"array";function m(y,v){c.call(this,"FlateWorker/"+y),this._pako=null,this._pakoAction=y,this._pakoOptions=v,this.meta={}}r.magic="\b\0",i.inherits(m,c),m.prototype.processChunk=function(y){this.meta=y.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(p,y.data),!1)},m.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var y=this;this._pako.onData=function(v){y.push({data:v,meta:y.meta})}},r.compressWorker=function(y){return new m("Deflate",y)},r.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,a,r){"use strict";function n(l,g){var u,h="";for(u=0;u<g;u++)h+=String.fromCharCode(255&l),l>>>=8;return h}function s(l,g,u,h,f,w){var _,S,I=l.file,R=l.compression,T=w!==p.utf8encode,N=i.transformTo("string",w(I.name)),F=i.transformTo("string",p.utf8encode(I.name)),G=I.comment,q=i.transformTo("string",w(G)),b=i.transformTo("string",p.utf8encode(G)),C=F.length!==I.name.length,o=b.length!==G.length,L="",X="",B="",Q=I.dir,W=I.date,J={crc32:0,compressedSize:0,uncompressedSize:0};g&&!u||(J.crc32=l.crc32,J.compressedSize=l.compressedSize,J.uncompressedSize=l.uncompressedSize);var A=0;g&&(A|=8),T||!C&&!o||(A|=2048);var O=0,K=0;Q&&(O|=16),f==="UNIX"?(K=798,O|=function(j,ie){var ce=j;return j||(ce=ie?16893:33204),(65535&ce)<<16}(I.unixPermissions,Q)):(K=20,O|=function(j){return 63&(j||0)}(I.dosPermissions)),_=W.getUTCHours(),_<<=6,_|=W.getUTCMinutes(),_<<=5,_|=W.getUTCSeconds()/2,S=W.getUTCFullYear()-1980,S<<=4,S|=W.getUTCMonth()+1,S<<=5,S|=W.getUTCDate(),C&&(X=n(1,1)+n(m(N),4)+F,L+="up"+n(X.length,2)+X),o&&(B=n(1,1)+n(m(q),4)+b,L+="uc"+n(B.length,2)+B);var $="";return $+=`
5
5
  \0`,$+=n(A,2),$+=R.magic,$+=n(_,2),$+=n(S,2),$+=n(J.crc32,4),$+=n(J.compressedSize,4),$+=n(J.uncompressedSize,4),$+=n(N.length,2),$+=n(L.length,2),{fileRecord:y.LOCAL_FILE_HEADER+$+N+L,dirRecord:y.CENTRAL_FILE_HEADER+n(K,2)+$+n(q.length,2)+"\0\0\0\0"+n(O,4)+n(h,4)+N+L+q}}var i=e("../utils"),c=e("../stream/GenericWorker"),p=e("../utf8"),m=e("../crc32"),y=e("../signature");function v(l,g,u,h){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=u,this.encodeFileName=h,this.streamFiles=l,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(v,c),v.prototype.push=function(l){var g=l.meta.percent||0,u=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(l):(this.bytesWritten+=l.data.length,c.prototype.push.call(this,{data:l.data,meta:{currentFile:this.currentFile,percent:u?(g+100*(u-h-1))/u:100}}))},v.prototype.openedSource=function(l){this.currentSourceOffset=this.bytesWritten,this.currentFile=l.file.name;var g=this.streamFiles&&!l.file.dir;if(g){var u=s(l,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(l){this.accumulate=!1;var g=this.streamFiles&&!l.file.dir,u=s(l,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),g)this.push({data:function(h){return y.DATA_DESCRIPTOR+n(h.crc32,4)+n(h.compressedSize,4)+n(h.uncompressedSize,4)}(l),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},v.prototype.flush=function(){for(var l=this.bytesWritten,g=0;g<this.dirRecords.length;g++)this.push({data:this.dirRecords[g],meta:{percent:100}});var u=this.bytesWritten-l,h=function(f,w,_,S,I){var R=i.transformTo("string",I(S));return y.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(f,2)+n(f,2)+n(w,4)+n(_,4)+n(R.length,2)+R}(this.dirRecords.length,u,l,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},v.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},v.prototype.registerPrevious=function(l){this._sources.push(l);var g=this;return l.on("data",function(u){g.processChunk(u)}),l.on("end",function(){g.closedSource(g.previous.streamInfo),g._sources.length?g.prepareNextSource():g.end()}),l.on("error",function(u){g.error(u)}),this},v.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},v.prototype.error=function(l){var g=this._sources;if(!c.prototype.error.call(this,l))return!1;for(var u=0;u<g.length;u++)try{g[u].error(l)}catch{}return!0},v.prototype.lock=function(){c.prototype.lock.call(this);for(var l=this._sources,g=0;g<l.length;g++)l[g].lock()},a.exports=v},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,a,r){"use strict";var n=e("../compressions"),s=e("./ZipFileWorker");r.generateWorker=function(i,c,p){var m=new s(c.streamFiles,p,c.platform,c.encodeFileName),y=0;try{i.forEach(function(v,l){y++;var g=function(w,_){var S=w||_,I=n[S];if(!I)throw new Error(S+" is not a valid compression method !");return I}(l.options.compression,c.compression),u=l.options.compressionOptions||c.compressionOptions||{},h=l.dir,f=l.date;l._compressWorker(g,u).withStreamInfo("file",{name:v,dir:h,date:f,comment:l.comment||"",unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions}).pipe(m)}),m.entriesCount=y}catch(v){m.error(v)}return m}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,a,r){"use strict";function n(){if(!(this instanceof n))return new n;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 s=new n;for(var i in this)typeof this[i]!="function"&&(s[i]=this[i]);return s}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(s,i){return new n().loadAsync(s,i)},n.external=e("./external"),a.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,a,r){"use strict";var n=e("./utils"),s=e("./external"),i=e("./utf8"),c=e("./zipEntries"),p=e("./stream/Crc32Probe"),m=e("./nodejsUtils");function y(v){return new s.Promise(function(l,g){var u=v.decompressed.getContentWorker().pipe(new p);u.on("error",function(h){g(h)}).on("end",function(){u.streamInfo.crc32!==v.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):l()}).resume()})}a.exports=function(v,l){var g=this;return l=n.extend(l||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),m.isNode&&m.isStream(v)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",v,!0,l.optimizedBinaryString,l.base64).then(function(u){var h=new c(l);return h.load(u),h}).then(function(u){var h=[s.Promise.resolve(u)],f=u.files;if(l.checkCRC32)for(var w=0;w<f.length;w++)h.push(y(f[w]));return s.Promise.all(h)}).then(function(u){for(var h=u.shift(),f=h.files,w=0;w<f.length;w++){var _=f[w],S=_.fileNameStr,I=n.resolve(_.fileNameStr);g.file(I,_.decompressed,{binary:!0,optimizedBinaryString:!0,date:_.date,dir:_.dir,comment:_.fileCommentStr.length?_.fileCommentStr:null,unixPermissions:_.unixPermissions,dosPermissions:_.dosPermissions,createFolders:l.createFolders}),_.dir||(g.file(I).unsafeOriginalName=S)}return h.zipComment.length&&(g.comment=h.zipComment),g})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,a,r){"use strict";var n=e("../utils"),s=e("../stream/GenericWorker");function i(c,p){s.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(p)}n.inherits(i,s),i.prototype._bindStream=function(c){var p=this;(this._stream=c).pause(),c.on("data",function(m){p.push({data:m,meta:{percent:0}})}).on("error",function(m){p.isPaused?this.generatedError=m:p.error(m)}).on("end",function(){p.isPaused?p._upstreamEnded=!0:p.end()})},i.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},a.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,a,r){"use strict";var n=e("readable-stream").Readable;function s(i,c,p){n.call(this,c),this._helper=i;var m=this;i.on("data",function(y,v){m.push(y)||m._helper.pause(),p&&p(v)}).on("error",function(y){m.emit("error",y)}).on("end",function(){m.push(null)})}e("../utils").inherits(s,n),s.prototype._read=function(){this._helper.resume()},a.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,a,r){"use strict";a.exports={isNode:typeof Buffer<"u",newBufferFrom:function(n,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(n,s);if(typeof n=="number")throw new Error('The "data" argument must not be a number');return new Buffer(n,s)},allocBuffer:function(n){if(Buffer.alloc)return Buffer.alloc(n);var s=new Buffer(n);return s.fill(0),s},isBuffer:function(n){return Buffer.isBuffer(n)},isStream:function(n){return n&&typeof n.on=="function"&&typeof n.pause=="function"&&typeof n.resume=="function"}}},{}],15:[function(e,a,r){"use strict";function n(I,R,T){var N,F=i.getTypeOf(R),G=i.extend(T||{},m);G.date=G.date||new Date,G.compression!==null&&(G.compression=G.compression.toUpperCase()),typeof G.unixPermissions=="string"&&(G.unixPermissions=parseInt(G.unixPermissions,8)),G.unixPermissions&&16384&G.unixPermissions&&(G.dir=!0),G.dosPermissions&&16&G.dosPermissions&&(G.dir=!0),G.dir&&(I=f(I)),G.createFolders&&(N=h(I))&&w.call(this,N,!0);var q=F==="string"&&G.binary===!1&&G.base64===!1;T&&T.binary!==void 0||(G.binary=!q),(R instanceof y&&R.uncompressedSize===0||G.dir||!R||R.length===0)&&(G.base64=!1,G.binary=!0,R="",G.compression="STORE",F="string");var b=null;b=R instanceof y||R instanceof c?R:g.isNode&&g.isStream(R)?new u(I,R):i.prepareContent(I,R,G.binary,G.optimizedBinaryString,G.base64);var C=new v(I,b,G);this.files[I]=C}var s=e("./utf8"),i=e("./utils"),c=e("./stream/GenericWorker"),p=e("./stream/StreamHelper"),m=e("./defaults"),y=e("./compressedObject"),v=e("./zipObject"),l=e("./generate"),g=e("./nodejsUtils"),u=e("./nodejs/NodejsStreamInputAdapter"),h=function(I){I.slice(-1)==="/"&&(I=I.substring(0,I.length-1));var R=I.lastIndexOf("/");return 0<R?I.substring(0,R):""},f=function(I){return I.slice(-1)!=="/"&&(I+="/"),I},w=function(I,R){return R=R!==void 0?R:m.createFolders,I=f(I),this.files[I]||n.call(this,I,null,{dir:!0,createFolders:R}),this.files[I]};function _(I){return Object.prototype.toString.call(I)==="[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(I){var R,T,N;for(R in this.files)N=this.files[R],(T=R.slice(this.root.length,R.length))&&R.slice(0,this.root.length)===this.root&&I(T,N)},filter:function(I){var R=[];return this.forEach(function(T,N){I(T,N)&&R.push(N)}),R},file:function(I,R,T){if(arguments.length!==1)return I=this.root+I,n.call(this,I,R,T),this;if(_(I)){var N=I;return this.filter(function(G,q){return!q.dir&&N.test(G)})}var F=this.files[this.root+I];return F&&!F.dir?F:null},folder:function(I){if(!I)return this;if(_(I))return this.filter(function(F,G){return G.dir&&I.test(F)});var R=this.root+I,T=w.call(this,R),N=this.clone();return N.root=T.name,N},remove:function(I){I=this.root+I;var R=this.files[I];if(R||(I.slice(-1)!=="/"&&(I+="/"),R=this.files[I]),R&&!R.dir)delete this.files[I];else for(var T=this.filter(function(F,G){return G.name.slice(0,I.length)===I}),N=0;N<T.length;N++)delete this.files[T[N].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(I){var R,T={};try{if((T=i.extend(I||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");i.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var N=T.comment||this.comment||"";R=l.generateWorker(this,T,N)}catch(F){(R=new c("error")).error(F)}return new p(R,T.type||"string",T.mimeType)},generateAsync:function(I,R){return this.generateInternalStream(I).accumulate(R)},generateNodeStream:function(I,R){return(I=I||{}).type||(I.type="nodebuffer"),this.generateInternalStream(I).toNodejsStream(R)}};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,r){"use strict";a.exports=e("stream")},{stream:void 0}],17:[function(e,a,r){"use strict";var n=e("./DataReader");function s(i){n.call(this,i);for(var c=0;c<this.data.length;c++)i[c]=255&i[c]}e("../utils").inherits(s,n),s.prototype.byteAt=function(i){return this.data[this.zero+i]},s.prototype.lastIndexOfSignature=function(i){for(var c=i.charCodeAt(0),p=i.charCodeAt(1),m=i.charCodeAt(2),y=i.charCodeAt(3),v=this.length-4;0<=v;--v)if(this.data[v]===c&&this.data[v+1]===p&&this.data[v+2]===m&&this.data[v+3]===y)return v-this.zero;return-1},s.prototype.readAndCheckSignature=function(i){var c=i.charCodeAt(0),p=i.charCodeAt(1),m=i.charCodeAt(2),y=i.charCodeAt(3),v=this.readData(4);return c===v[0]&&p===v[1]&&m===v[2]&&y===v[3]},s.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,a,r){"use strict";var n=e("../utils");function s(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var c,p=0;for(this.checkOffset(i),c=this.index+i-1;c>=this.index;c--)p=(p<<8)+this.byteAt(c);return this.index+=i,p},readString:function(i){return n.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},a.exports=s},{"../utils":32}],19:[function(e,a,r){"use strict";var n=e("./Uint8ArrayReader");function s(i){n.call(this,i)}e("../utils").inherits(s,n),s.prototype.readData=function(i){this.checkOffset(i);var c=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,a,r){"use strict";var n=e("./DataReader");function s(i){n.call(this,i)}e("../utils").inherits(s,n),s.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},s.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},s.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},s.prototype.readData=function(i){this.checkOffset(i);var c=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,a,r){"use strict";var n=e("./ArrayReader");function s(i){n.call(this,i)}e("../utils").inherits(s,n),s.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,a,r){"use strict";var n=e("../utils"),s=e("../support"),i=e("./ArrayReader"),c=e("./StringReader"),p=e("./NodeBufferReader"),m=e("./Uint8ArrayReader");a.exports=function(y){var v=n.getTypeOf(y);return n.checkSupport(v),v!=="string"||s.uint8array?v==="nodebuffer"?new p(y):s.uint8array?new m(n.transformTo("uint8array",y)):new i(n.transformTo("array",y)):new c(y)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,a,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,a,r){"use strict";var n=e("./GenericWorker"),s=e("../utils");function i(c){n.call(this,"ConvertWorker to "+c),this.destType=c}s.inherits(i,n),i.prototype.processChunk=function(c){this.push({data:s.transformTo(this.destType,c.data),meta:c.meta})},a.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,a,r){"use strict";var n=e("./GenericWorker"),s=e("../crc32");function i(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,n),i.prototype.processChunk=function(c){this.streamInfo.crc32=s(c.data,this.streamInfo.crc32||0),this.push(c)},a.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,a,r){"use strict";var n=e("../utils"),s=e("./GenericWorker");function i(c){s.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}n.inherits(i,s),i.prototype.processChunk=function(c){if(c){var p=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=p+c.data.length}s.prototype.processChunk.call(this,c)},a.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,a,r){"use strict";var n=e("../utils"),s=e("./GenericWorker");function i(c){s.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(m){p.dataIsReady=!0,p.data=m,p.max=m&&m.length||0,p.type=n.getTypeOf(m),p.isPaused||p._tickAndRepeat()},function(m){p.error(m)})}n.inherits(i,s),i.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,p=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,p);break;case"uint8array":c=this.data.subarray(this.index,p);break;case"array":case"nodebuffer":c=this.data.slice(this.index,p)}return this.index=p,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},a.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,a,r){"use strict";function n(s){this.name=s||"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}n.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,i){return this._listeners[s].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,i){if(this._listeners[s])for(var c=0;c<this._listeners[s].length;c++)this._listeners[s][c].call(this,i)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var i=this;return s.on("data",function(c){i.processChunk(c)}),s.on("end",function(){i.end()}),s.on("error",function(c){i.error(c)}),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 s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,i){return this.extraStreamInfo[s]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},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 s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},a.exports=n},{}],29:[function(e,a,r){"use strict";var n=e("../utils"),s=e("./ConvertWorker"),i=e("./GenericWorker"),c=e("../base64"),p=e("../support"),m=e("../external"),y=null;if(p.nodestream)try{y=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function v(g,u){return new m.Promise(function(h,f){var w=[],_=g._internalType,S=g._outputType,I=g._mimeType;g.on("data",function(R,T){w.push(R),u&&u(T)}).on("error",function(R){w=[],f(R)}).on("end",function(){try{var R=function(T,N,F){switch(T){case"blob":return n.newBlob(n.transformTo("arraybuffer",N),F);case"base64":return c.encode(N);default:return n.transformTo(T,N)}}(S,function(T,N){var F,G=0,q=null,b=0;for(F=0;F<N.length;F++)b+=N[F].length;switch(T){case"string":return N.join("");case"array":return Array.prototype.concat.apply([],N);case"uint8array":for(q=new Uint8Array(b),F=0;F<N.length;F++)q.set(N[F],G),G+=N[F].length;return q;case"nodebuffer":return Buffer.concat(N);default:throw new Error("concat : unsupported type '"+T+"'")}}(_,w),I);h(R)}catch(T){f(T)}w=[]}).resume()})}function l(g,u,h){var f=u;switch(u){case"blob":case"arraybuffer":f="uint8array";break;case"base64":f="string"}try{this._internalType=f,this._outputType=u,this._mimeType=h,n.checkSupport(f),this._worker=g.pipe(new s(f)),g.lock()}catch(w){this._worker=new i("error"),this._worker.error(w)}}l.prototype={accumulate:function(g){return v(this,g)},on:function(g,u){var h=this;return g==="data"?this._worker.on(g,function(f){u.call(h,f.data,f.meta)}):this._worker.on(g,function(){n.delay(u,arguments,h)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(g){if(n.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new y(this,{objectMode:this._outputType!=="nodebuffer"},g)}},a.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,a,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",r.nodebuffer=typeof Buffer<"u",r.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=new Blob([n],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(n),r.blob=s.getBlob("application/zip").size===0}catch{r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch{r.nodestream=!1}},{"readable-stream":16}],31:[function(e,a,r){"use strict";for(var n=e("./utils"),s=e("./support"),i=e("./nodejsUtils"),c=e("./stream/GenericWorker"),p=new Array(256),m=0;m<256;m++)p[m]=252<=m?6:248<=m?5:240<=m?4:224<=m?3:192<=m?2:1;p[254]=p[254]=1;function y(){c.call(this,"utf-8 decode"),this.leftOver=null}function v(){c.call(this,"utf-8 encode")}r.utf8encode=function(l){return s.nodebuffer?i.newBufferFrom(l,"utf-8"):function(g){var u,h,f,w,_,S=g.length,I=0;for(w=0;w<S;w++)(64512&(h=g.charCodeAt(w)))==55296&&w+1<S&&(64512&(f=g.charCodeAt(w+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),w++),I+=h<128?1:h<2048?2:h<65536?3:4;for(u=s.uint8array?new Uint8Array(I):new Array(I),w=_=0;_<I;w++)(64512&(h=g.charCodeAt(w)))==55296&&w+1<S&&(64512&(f=g.charCodeAt(w+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),w++),h<128?u[_++]=h:(h<2048?u[_++]=192|h>>>6:(h<65536?u[_++]=224|h>>>12:(u[_++]=240|h>>>18,u[_++]=128|h>>>12&63),u[_++]=128|h>>>6&63),u[_++]=128|63&h);return u}(l)},r.utf8decode=function(l){return s.nodebuffer?n.transformTo("nodebuffer",l).toString("utf-8"):function(g){var u,h,f,w,_=g.length,S=new Array(2*_);for(u=h=0;u<_;)if((f=g[u++])<128)S[h++]=f;else if(4<(w=p[f]))S[h++]=65533,u+=w-1;else{for(f&=w===2?31:w===3?15:7;1<w&&u<_;)f=f<<6|63&g[u++],w--;1<w?S[h++]=65533:f<65536?S[h++]=f:(f-=65536,S[h++]=55296|f>>10&1023,S[h++]=56320|1023&f)}return S.length!==h&&(S.subarray?S=S.subarray(0,h):S.length=h),n.applyFromCharCode(S)}(l=n.transformTo(s.uint8array?"uint8array":"array",l))},n.inherits(y,c),y.prototype.processChunk=function(l){var g=n.transformTo(s.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var u=g;(g=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),g.set(u,this.leftOver.length)}else g=this.leftOver.concat(g);this.leftOver=null}var h=function(w,_){var S;for((_=_||w.length)>w.length&&(_=w.length),S=_-1;0<=S&&(192&w[S])==128;)S--;return S<0||S===0?_:S+p[w[S]]>_?S:_}(g),f=g;h!==g.length&&(s.uint8array?(f=g.subarray(0,h),this.leftOver=g.subarray(h,g.length)):(f=g.slice(0,h),this.leftOver=g.slice(h,g.length))),this.push({data:r.utf8decode(f),meta:l.meta})},y.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=y,n.inherits(v,c),v.prototype.processChunk=function(l){this.push({data:r.utf8encode(l.data),meta:l.meta})},r.Utf8EncodeWorker=v},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,a,r){"use strict";var n=e("./support"),s=e("./base64"),i=e("./nodejsUtils"),c=e("./external");function p(u){return u}function m(u,h){for(var f=0;f<u.length;++f)h[f]=255&u.charCodeAt(f);return h}e("setimmediate"),r.newBlob=function(u,h){r.checkSupport("blob");try{return new Blob([u],{type:h})}catch{try{var f=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return f.append(u),f.getBlob(h)}catch{throw new Error("Bug : can't construct the Blob.")}}};var y={stringifyByChunk:function(u,h,f){var w=[],_=0,S=u.length;if(S<=f)return String.fromCharCode.apply(null,u);for(;_<S;)h==="array"||h==="nodebuffer"?w.push(String.fromCharCode.apply(null,u.slice(_,Math.min(_+f,S)))):w.push(String.fromCharCode.apply(null,u.subarray(_,Math.min(_+f,S)))),_+=f;return w.join("")},stringifyByChar:function(u){for(var h="",f=0;f<u.length;f++)h+=String.fromCharCode(u[f]);return h},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch{return!1}}()}};function v(u){var h=65536,f=r.getTypeOf(u),w=!0;if(f==="uint8array"?w=y.applyCanBeUsed.uint8array:f==="nodebuffer"&&(w=y.applyCanBeUsed.nodebuffer),w)for(;1<h;)try{return y.stringifyByChunk(u,f,h)}catch{h=Math.floor(h/2)}return y.stringifyByChar(u)}function l(u,h){for(var f=0;f<u.length;f++)h[f]=u[f];return h}r.applyFromCharCode=v;var g={};g.string={string:p,array:function(u){return m(u,new Array(u.length))},arraybuffer:function(u){return g.string.uint8array(u).buffer},uint8array:function(u){return m(u,new Uint8Array(u.length))},nodebuffer:function(u){return m(u,i.allocBuffer(u.length))}},g.array={string:v,array:p,arraybuffer:function(u){return new Uint8Array(u).buffer},uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return i.newBufferFrom(u)}},g.arraybuffer={string:function(u){return v(new Uint8Array(u))},array:function(u){return l(new Uint8Array(u),new Array(u.byteLength))},arraybuffer:p,uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return i.newBufferFrom(new Uint8Array(u))}},g.uint8array={string:v,array:function(u){return l(u,new Array(u.length))},arraybuffer:function(u){return u.buffer},uint8array:p,nodebuffer:function(u){return i.newBufferFrom(u)}},g.nodebuffer={string:v,array:function(u){return l(u,new Array(u.length))},arraybuffer:function(u){return g.nodebuffer.uint8array(u).buffer},uint8array:function(u){return l(u,new Uint8Array(u.length))},nodebuffer:p},r.transformTo=function(u,h){if(h=h||"",!u)return h;r.checkSupport(u);var f=r.getTypeOf(h);return g[f][u](h)},r.resolve=function(u){for(var h=u.split("/"),f=[],w=0;w<h.length;w++){var _=h[w];_==="."||_===""&&w!==0&&w!==h.length-1||(_===".."?f.pop():f.push(_))}return f.join("/")},r.getTypeOf=function(u){return typeof u=="string"?"string":Object.prototype.toString.call(u)==="[object Array]"?"array":n.nodebuffer&&i.isBuffer(u)?"nodebuffer":n.uint8array&&u instanceof Uint8Array?"uint8array":n.arraybuffer&&u instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(u){if(!n[u.toLowerCase()])throw new Error(u+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(u){var h,f,w="";for(f=0;f<(u||"").length;f++)w+="\\x"+((h=u.charCodeAt(f))<16?"0":"")+h.toString(16).toUpperCase();return w},r.delay=function(u,h,f){setImmediate(function(){u.apply(f||null,h||[])})},r.inherits=function(u,h){function f(){}f.prototype=h.prototype,u.prototype=new f},r.extend=function(){var u,h,f={};for(u=0;u<arguments.length;u++)for(h in arguments[u])Object.prototype.hasOwnProperty.call(arguments[u],h)&&f[h]===void 0&&(f[h]=arguments[u][h]);return f},r.prepareContent=function(u,h,f,w,_){return c.Promise.resolve(h).then(function(S){return n.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new c.Promise(function(I,R){var T=new FileReader;T.onload=function(N){I(N.target.result)},T.onerror=function(N){R(N.target.error)},T.readAsArrayBuffer(S)}):S}).then(function(S){var I=r.getTypeOf(S);return I?(I==="arraybuffer"?S=r.transformTo("uint8array",S):I==="string"&&(_?S=s.decode(S):f&&w!==!0&&(S=function(R){return m(R,n.uint8array?new Uint8Array(R.length):new Array(R.length))}(S))),S):c.Promise.reject(new Error("Can't read the data of '"+u+"'. 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,r){"use strict";var n=e("./reader/readerFor"),s=e("./utils"),i=e("./signature"),c=e("./zipEntry"),p=e("./support");function m(y){this.files=[],this.loadOptions=y}m.prototype={checkSignature:function(y){if(!this.reader.readAndCheckSignature(y)){this.reader.index-=4;var v=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(v)+", expected "+s.pretty(y)+")")}},isSignature:function(y,v){var l=this.reader.index;this.reader.setIndex(y);var g=this.reader.readString(4)===v;return this.reader.setIndex(l),g},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 y=this.reader.readData(this.zipCommentLength),v=p.uint8array?"uint8array":"array",l=s.transformTo(v,y);this.zipComment=this.loadOptions.decodeFileName(l)},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 y,v,l,g=this.zip64EndOfCentralSize-44;0<g;)y=this.reader.readInt(2),v=this.reader.readInt(4),l=this.reader.readData(v),this.zip64ExtensibleData[y]={id:y,length:v,value:l}},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 y,v;for(y=0;y<this.files.length;y++)v=this.files[y],this.reader.setIndex(v.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),v.readLocalPart(this.reader),v.handleUTF8(),v.processAttributes()},readCentralDir:function(){var y;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(y=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(y);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 y=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(y<0)throw this.isSignature(0,i.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(y);var v=y;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(y=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(y),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.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(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var g=v-l;if(0<g)this.isSignature(v,i.CENTRAL_FILE_HEADER)||(this.reader.zero=g);else if(g<0)throw new Error("Corrupted zip: missing "+Math.abs(g)+" bytes.")},prepareReader:function(y){this.reader=n(y)},load:function(y){this.prepareReader(y),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},a.exports=m},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,a,r){"use strict";var n=e("./reader/readerFor"),s=e("./utils"),i=e("./compressedObject"),c=e("./crc32"),p=e("./utf8"),m=e("./compressions"),y=e("./support");function v(l,g){this.options=l,this.loadOptions=g}v.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var g,u;if(l.skip(22),this.fileNameLength=l.readInt(2),u=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(u),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((g=function(h){for(var f in m)if(Object.prototype.hasOwnProperty.call(m,f)&&m[f].magic===h)return m[f];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,g,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var g=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(g),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var l=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=l.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=l.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=l.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=l.readInt(4))}},readExtraFields:function(l){var g,u,h,f=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<f;)g=l.readInt(2),u=l.readInt(2),h=l.readData(u),this.extraFields[g]={id:g,length:u,value:h};l.setIndex(f)},handleUTF8:function(){var l=y.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=p.utf8decode(this.fileName),this.fileCommentStr=p.utf8decode(this.fileComment);else{var g=this.findExtraFieldUnicodePath();if(g!==null)this.fileNameStr=g;else{var u=s.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var h=this.findExtraFieldUnicodeComment();if(h!==null)this.fileCommentStr=h;else{var f=s.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(f)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var g=n(l.value);return g.readInt(1)!==1||c(this.fileName)!==g.readInt(4)?null:p.utf8decode(g.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var g=n(l.value);return g.readInt(1)!==1||c(this.fileComment)!==g.readInt(4)?null:p.utf8decode(g.readData(l.length-5))}return null}},a.exports=v},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,a,r){"use strict";function n(g,u,h){this.name=g,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=u,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var s=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),c=e("./utf8"),p=e("./compressedObject"),m=e("./stream/GenericWorker");n.prototype={internalStream:function(g){var u=null,h="string";try{if(!g)throw new Error("No output type specified.");var f=(h=g.toLowerCase())==="string"||h==="text";h!=="binarystring"&&h!=="text"||(h="string"),u=this._decompressWorker();var w=!this._dataBinary;w&&!f&&(u=u.pipe(new c.Utf8EncodeWorker)),!w&&f&&(u=u.pipe(new c.Utf8DecodeWorker))}catch(_){(u=new m("error")).error(_)}return new s(u,h,"")},async:function(g,u){return this.internalStream(g).accumulate(u)},nodeStream:function(g,u){return this.internalStream(g||"nodebuffer").toNodejsStream(u)},_compressWorker:function(g,u){if(this._data instanceof p&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var h=this._decompressWorker();return this._dataBinary||(h=h.pipe(new c.Utf8EncodeWorker)),p.createWorkerFrom(h,g,u)},_decompressWorker:function(){return this._data instanceof p?this._data.getContentWorker():this._data instanceof m?this._data:new i(this._data)}};for(var y=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],v=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<y.length;l++)n.prototype[y[l]]=v;a.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,a,r){(function(n){"use strict";var s,i,c=n.MutationObserver||n.WebKitMutationObserver;if(c){var p=0,m=new c(g),y=n.document.createTextNode("");m.observe(y,{characterData:!0}),s=function(){y.data=p=++p%2}}else if(n.setImmediate||n.MessageChannel===void 0)s="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var u=n.document.createElement("script");u.onreadystatechange=function(){g(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},n.document.documentElement.appendChild(u)}:function(){setTimeout(g,0)};else{var v=new n.MessageChannel;v.port1.onmessage=g,s=function(){v.port2.postMessage(0)}}var l=[];function g(){var u,h;i=!0;for(var f=l.length;f;){for(h=l,l=[],u=-1;++u<f;)h[u]();f=l.length}i=!1}a.exports=function(u){l.push(u)!==1||i||s()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(e,a,r){"use strict";var n=e("immediate");function s(){}var i={},c=["REJECTED"],p=["FULFILLED"],m=["PENDING"];function y(f){if(typeof f!="function")throw new TypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void 0,f!==s&&u(this,f)}function v(f,w,_){this.promise=f,typeof w=="function"&&(this.onFulfilled=w,this.callFulfilled=this.otherCallFulfilled),typeof _=="function"&&(this.onRejected=_,this.callRejected=this.otherCallRejected)}function l(f,w,_){n(function(){var S;try{S=w(_)}catch(I){return i.reject(f,I)}S===f?i.reject(f,new TypeError("Cannot resolve promise with itself")):i.resolve(f,S)})}function g(f){var w=f&&f.then;if(f&&(typeof f=="object"||typeof f=="function")&&typeof w=="function")return function(){w.apply(f,arguments)}}function u(f,w){var _=!1;function S(T){_||(_=!0,i.reject(f,T))}function I(T){_||(_=!0,i.resolve(f,T))}var R=h(function(){w(I,S)});R.status==="error"&&S(R.value)}function h(f,w){var _={};try{_.value=f(w),_.status="success"}catch(S){_.status="error",_.value=S}return _}(a.exports=y).prototype.finally=function(f){if(typeof f!="function")return this;var w=this.constructor;return this.then(function(_){return w.resolve(f()).then(function(){return _})},function(_){return w.resolve(f()).then(function(){throw _})})},y.prototype.catch=function(f){return this.then(null,f)},y.prototype.then=function(f,w){if(typeof f!="function"&&this.state===p||typeof w!="function"&&this.state===c)return this;var _=new this.constructor(s);return this.state!==m?l(_,this.state===p?f:w,this.outcome):this.queue.push(new v(_,f,w)),_},v.prototype.callFulfilled=function(f){i.resolve(this.promise,f)},v.prototype.otherCallFulfilled=function(f){l(this.promise,this.onFulfilled,f)},v.prototype.callRejected=function(f){i.reject(this.promise,f)},v.prototype.otherCallRejected=function(f){l(this.promise,this.onRejected,f)},i.resolve=function(f,w){var _=h(g,w);if(_.status==="error")return i.reject(f,_.value);var S=_.value;if(S)u(f,S);else{f.state=p,f.outcome=w;for(var I=-1,R=f.queue.length;++I<R;)f.queue[I].callFulfilled(w)}return f},i.reject=function(f,w){f.state=c,f.outcome=w;for(var _=-1,S=f.queue.length;++_<S;)f.queue[_].callRejected(w);return f},y.resolve=function(f){return f instanceof this?f:i.resolve(new this(s),f)},y.reject=function(f){var w=new this(s);return i.reject(w,f)},y.all=function(f){var w=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var _=f.length,S=!1;if(!_)return this.resolve([]);for(var I=new Array(_),R=0,T=-1,N=new this(s);++T<_;)F(f[T],T);return N;function F(G,q){w.resolve(G).then(function(b){I[q]=b,++R!==_||S||(S=!0,i.resolve(N,I))},function(b){S||(S=!0,i.reject(N,b))})}},y.race=function(f){var w=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var _=f.length,S=!1;if(!_)return this.resolve([]);for(var I=-1,R=new this(s);++I<_;)T=f[I],w.resolve(T).then(function(N){S||(S=!0,i.resolve(R,N))},function(N){S||(S=!0,i.reject(R,N))});var T;return R}},{immediate:36}],38:[function(e,a,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),a.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,a,r){"use strict";var n=e("./zlib/deflate"),s=e("./utils/common"),i=e("./utils/strings"),c=e("./zlib/messages"),p=e("./zlib/zstream"),m=Object.prototype.toString,y=0,v=-1,l=0,g=8;function u(f){if(!(this instanceof u))return new u(f);this.options=s.assign({level:v,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},f||{});var w=this.options;w.raw&&0<w.windowBits?w.windowBits=-w.windowBits:w.gzip&&0<w.windowBits&&w.windowBits<16&&(w.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var _=n.deflateInit2(this.strm,w.level,w.method,w.windowBits,w.memLevel,w.strategy);if(_!==y)throw new Error(c[_]);if(w.header&&n.deflateSetHeader(this.strm,w.header),w.dictionary){var S;if(S=typeof w.dictionary=="string"?i.string2buf(w.dictionary):m.call(w.dictionary)==="[object ArrayBuffer]"?new Uint8Array(w.dictionary):w.dictionary,(_=n.deflateSetDictionary(this.strm,S))!==y)throw new Error(c[_]);this._dict_set=!0}}function h(f,w){var _=new u(w);if(_.push(f,!0),_.err)throw _.msg||c[_.err];return _.result}u.prototype.push=function(f,w){var _,S,I=this.strm,R=this.options.chunkSize;if(this.ended)return!1;S=w===~~w?w:w===!0?4:0,typeof f=="string"?I.input=i.string2buf(f):m.call(f)==="[object ArrayBuffer]"?I.input=new Uint8Array(f):I.input=f,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new s.Buf8(R),I.next_out=0,I.avail_out=R),(_=n.deflate(I,S))!==1&&_!==y)return this.onEnd(_),!(this.ended=!0);I.avail_out!==0&&(I.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(s.shrinkBuf(I.output,I.next_out))):this.onData(s.shrinkBuf(I.output,I.next_out)))}while((0<I.avail_in||I.avail_out===0)&&_!==1);return S===4?(_=n.deflateEnd(this.strm),this.onEnd(_),this.ended=!0,_===y):S!==2||(this.onEnd(y),!(I.avail_out=0))},u.prototype.onData=function(f){this.chunks.push(f)},u.prototype.onEnd=function(f){f===y&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},r.Deflate=u,r.deflate=h,r.deflateRaw=function(f,w){return(w=w||{}).raw=!0,h(f,w)},r.gzip=function(f,w){return(w=w||{}).gzip=!0,h(f,w)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,a,r){"use strict";var n=e("./zlib/inflate"),s=e("./utils/common"),i=e("./utils/strings"),c=e("./zlib/constants"),p=e("./zlib/messages"),m=e("./zlib/zstream"),y=e("./zlib/gzheader"),v=Object.prototype.toString;function l(u){if(!(this instanceof l))return new l(u);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},u||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||u&&u.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m,this.strm.avail_out=0;var f=n.inflateInit2(this.strm,h.windowBits);if(f!==c.Z_OK)throw new Error(p[f]);this.header=new y,n.inflateGetHeader(this.strm,this.header)}function g(u,h){var f=new l(h);if(f.push(u,!0),f.err)throw f.msg||p[f.err];return f.result}l.prototype.push=function(u,h){var f,w,_,S,I,R,T=this.strm,N=this.options.chunkSize,F=this.options.dictionary,G=!1;if(this.ended)return!1;w=h===~~h?h:h===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof u=="string"?T.input=i.binstring2buf(u):v.call(u)==="[object ArrayBuffer]"?T.input=new Uint8Array(u):T.input=u,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new s.Buf8(N),T.next_out=0,T.avail_out=N),(f=n.inflate(T,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&F&&(R=typeof F=="string"?i.string2buf(F):v.call(F)==="[object ArrayBuffer]"?new Uint8Array(F):F,f=n.inflateSetDictionary(this.strm,R)),f===c.Z_BUF_ERROR&&G===!0&&(f=c.Z_OK,G=!1),f!==c.Z_STREAM_END&&f!==c.Z_OK)return this.onEnd(f),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&f!==c.Z_STREAM_END&&(T.avail_in!==0||w!==c.Z_FINISH&&w!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(_=i.utf8border(T.output,T.next_out),S=T.next_out-_,I=i.buf2string(T.output,_),T.next_out=S,T.avail_out=N-S,S&&s.arraySet(T.output,T.output,_,S,0),this.onData(I)):this.onData(s.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(G=!0)}while((0<T.avail_in||T.avail_out===0)&&f!==c.Z_STREAM_END);return f===c.Z_STREAM_END&&(w=c.Z_FINISH),w===c.Z_FINISH?(f=n.inflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===c.Z_OK):w!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(T.avail_out=0))},l.prototype.onData=function(u){this.chunks.push(u)},l.prototype.onEnd=function(u){u===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},r.Inflate=l,r.inflate=g,r.inflateRaw=function(u,h){return(h=h||{}).raw=!0,g(u,h)},r.ungzip=g},{"./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,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";r.assign=function(c){for(var p=Array.prototype.slice.call(arguments,1);p.length;){var m=p.shift();if(m){if(typeof m!="object")throw new TypeError(m+"must be non-object");for(var y in m)m.hasOwnProperty(y)&&(c[y]=m[y])}}return c},r.shrinkBuf=function(c,p){return c.length===p?c:c.subarray?c.subarray(0,p):(c.length=p,c)};var s={arraySet:function(c,p,m,y,v){if(p.subarray&&c.subarray)c.set(p.subarray(m,m+y),v);else for(var l=0;l<y;l++)c[v+l]=p[m+l]},flattenChunks:function(c){var p,m,y,v,l,g;for(p=y=0,m=c.length;p<m;p++)y+=c[p].length;for(g=new Uint8Array(y),p=v=0,m=c.length;p<m;p++)l=c[p],g.set(l,v),v+=l.length;return g}},i={arraySet:function(c,p,m,y,v){for(var l=0;l<y;l++)c[v+l]=p[m+l]},flattenChunks:function(c){return[].concat.apply([],c)}};r.setTyped=function(c){c?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,s)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(e,a,r){"use strict";var n=e("./common"),s=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{i=!1}for(var c=new n.Buf8(256),p=0;p<256;p++)c[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function m(y,v){if(v<65537&&(y.subarray&&i||!y.subarray&&s))return String.fromCharCode.apply(null,n.shrinkBuf(y,v));for(var l="",g=0;g<v;g++)l+=String.fromCharCode(y[g]);return l}c[254]=c[254]=1,r.string2buf=function(y){var v,l,g,u,h,f=y.length,w=0;for(u=0;u<f;u++)(64512&(l=y.charCodeAt(u)))==55296&&u+1<f&&(64512&(g=y.charCodeAt(u+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),u++),w+=l<128?1:l<2048?2:l<65536?3:4;for(v=new n.Buf8(w),u=h=0;h<w;u++)(64512&(l=y.charCodeAt(u)))==55296&&u+1<f&&(64512&(g=y.charCodeAt(u+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),u++),l<128?v[h++]=l:(l<2048?v[h++]=192|l>>>6:(l<65536?v[h++]=224|l>>>12:(v[h++]=240|l>>>18,v[h++]=128|l>>>12&63),v[h++]=128|l>>>6&63),v[h++]=128|63&l);return v},r.buf2binstring=function(y){return m(y,y.length)},r.binstring2buf=function(y){for(var v=new n.Buf8(y.length),l=0,g=v.length;l<g;l++)v[l]=y.charCodeAt(l);return v},r.buf2string=function(y,v){var l,g,u,h,f=v||y.length,w=new Array(2*f);for(l=g=0;l<f;)if((u=y[l++])<128)w[g++]=u;else if(4<(h=c[u]))w[g++]=65533,l+=h-1;else{for(u&=h===2?31:h===3?15:7;1<h&&l<f;)u=u<<6|63&y[l++],h--;1<h?w[g++]=65533:u<65536?w[g++]=u:(u-=65536,w[g++]=55296|u>>10&1023,w[g++]=56320|1023&u)}return m(w,g)},r.utf8border=function(y,v){var l;for((v=v||y.length)>y.length&&(v=y.length),l=v-1;0<=l&&(192&y[l])==128;)l--;return l<0||l===0?v:l+c[y[l]]>v?l:v}},{"./common":41}],43:[function(e,a,r){"use strict";a.exports=function(n,s,i,c){for(var p=65535&n|0,m=n>>>16&65535|0,y=0;i!==0;){for(i-=y=2e3<i?2e3:i;m=m+(p=p+s[c++]|0)|0,--y;);p%=65521,m%=65521}return p|m<<16|0}},{}],44:[function(e,a,r){"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,r){"use strict";var n=function(){for(var s,i=[],c=0;c<256;c++){s=c;for(var p=0;p<8;p++)s=1&s?3988292384^s>>>1:s>>>1;i[c]=s}return i}();a.exports=function(s,i,c,p){var m=n,y=p+c;s^=-1;for(var v=p;v<y;v++)s=s>>>8^m[255&(s^i[v])];return-1^s}},{}],46:[function(e,a,r){"use strict";var n,s=e("../utils/common"),i=e("./trees"),c=e("./adler32"),p=e("./crc32"),m=e("./messages"),y=0,v=4,l=0,g=-2,u=-1,h=4,f=2,w=8,_=9,S=286,I=30,R=19,T=2*S+1,N=15,F=3,G=258,q=G+F+1,b=42,C=113,o=1,L=2,X=3,B=4;function Q(t,z){return t.msg=m[z],z}function W(t){return(t<<1)-(4<t?9:0)}function J(t){for(var z=t.length;0<=--z;)t[z]=0}function A(t){var z=t.state,P=z.pending;P>t.avail_out&&(P=t.avail_out),P!==0&&(s.arraySet(t.output,z.pending_buf,z.pending_out,P,t.next_out),t.next_out+=P,z.pending_out+=P,t.total_out+=P,t.avail_out-=P,z.pending-=P,z.pending===0&&(z.pending_out=0))}function O(t,z){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,z),t.block_start=t.strstart,A(t.strm)}function K(t,z){t.pending_buf[t.pending++]=z}function $(t,z){t.pending_buf[t.pending++]=z>>>8&255,t.pending_buf[t.pending++]=255&z}function j(t,z){var P,x,d=t.max_chain_length,k=t.strstart,D=t.prev_length,U=t.nice_match,E=t.strstart>t.w_size-q?t.strstart-(t.w_size-q):0,V=t.window,Z=t.w_mask,M=t.prev,H=t.strstart+G,re=V[k+D-1],ee=V[k+D];t.prev_length>=t.good_match&&(d>>=2),U>t.lookahead&&(U=t.lookahead);do if(V[(P=z)+D]===ee&&V[P+D-1]===re&&V[P]===V[k]&&V[++P]===V[k+1]){k+=2,P++;do;while(V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&k<H);if(x=G-(H-k),k=H-G,D<x){if(t.match_start=z,U<=(D=x))break;re=V[k+D-1],ee=V[k+D]}}while((z=M[z&Z])>E&&--d!=0);return D<=t.lookahead?D:t.lookahead}function ie(t){var z,P,x,d,k,D,U,E,V,Z,M=t.w_size;do{if(d=t.window_size-t.lookahead-t.strstart,t.strstart>=M+(M-q)){for(s.arraySet(t.window,t.window,M,M,0),t.match_start-=M,t.strstart-=M,t.block_start-=M,z=P=t.hash_size;x=t.head[--z],t.head[z]=M<=x?x-M:0,--P;);for(z=P=M;x=t.prev[--z],t.prev[z]=M<=x?x-M:0,--P;);d+=M}if(t.strm.avail_in===0)break;if(D=t.strm,U=t.window,E=t.strstart+t.lookahead,V=d,Z=void 0,Z=D.avail_in,V<Z&&(Z=V),P=Z===0?0:(D.avail_in-=Z,s.arraySet(U,D.input,D.next_in,Z,E),D.state.wrap===1?D.adler=c(D.adler,U,Z,E):D.state.wrap===2&&(D.adler=p(D.adler,U,Z,E)),D.next_in+=Z,D.total_in+=Z,Z),t.lookahead+=P,t.lookahead+t.insert>=F)for(k=t.strstart-t.insert,t.ins_h=t.window[k],t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+F-1])&t.hash_mask,t.prev[k&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=k,k++,t.insert--,!(t.lookahead+t.insert<F)););}while(t.lookahead<q&&t.strm.avail_in!==0)}function ce(t,z){for(var P,x;;){if(t.lookahead<q){if(ie(t),t.lookahead<q&&z===y)return o;if(t.lookahead===0)break}if(P=0,t.lookahead>=F&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),P!==0&&t.strstart-P<=t.w_size-q&&(t.match_length=j(t,P)),t.match_length>=F)if(x=i._tr_tally(t,t.strstart-t.match_start,t.match_length-F),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=F){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else x=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(x&&(O(t,!1),t.strm.avail_out===0))return o}return t.insert=t.strstart<F-1?t.strstart:F-1,z===v?(O(t,!0),t.strm.avail_out===0?X:B):t.last_lit&&(O(t,!1),t.strm.avail_out===0)?o:L}function Y(t,z){for(var P,x,d;;){if(t.lookahead<q){if(ie(t),t.lookahead<q&&z===y)return o;if(t.lookahead===0)break}if(P=0,t.lookahead>=F&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=F-1,P!==0&&t.prev_length<t.max_lazy_match&&t.strstart-P<=t.w_size-q&&(t.match_length=j(t,P),t.match_length<=5&&(t.strategy===1||t.match_length===F&&4096<t.strstart-t.match_start)&&(t.match_length=F-1)),t.prev_length>=F&&t.match_length<=t.prev_length){for(d=t.strstart+t.lookahead-F,x=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-F),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=d&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=F-1,t.strstart++,x&&(O(t,!1),t.strm.avail_out===0))return o}else if(t.match_available){if((x=i._tr_tally(t,0,t.window[t.strstart-1]))&&O(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return o}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(x=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<F-1?t.strstart:F-1,z===v?(O(t,!0),t.strm.avail_out===0?X:B):t.last_lit&&(O(t,!1),t.strm.avail_out===0)?o:L}function te(t,z,P,x,d){this.good_length=t,this.max_lazy=z,this.nice_length=P,this.max_chain=x,this.func=d}function ae(){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=w,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 s.Buf16(2*T),this.dyn_dtree=new s.Buf16(2*(2*I+1)),this.bl_tree=new s.Buf16(2*(2*R+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(N+1),this.heap=new s.Buf16(2*S+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*S+1),J(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 se(t){var z;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=f,(z=t.state).pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap?b:C,t.adler=z.wrap===2?0:1,z.last_flush=y,i._tr_init(z),l):Q(t,g)}function he(t){var z=se(t);return z===l&&function(P){P.window_size=2*P.w_size,J(P.head),P.max_lazy_match=n[P.level].max_lazy,P.good_match=n[P.level].good_length,P.nice_match=n[P.level].nice_length,P.max_chain_length=n[P.level].max_chain,P.strstart=0,P.block_start=0,P.lookahead=0,P.insert=0,P.match_length=P.prev_length=F-1,P.match_available=0,P.ins_h=0}(t.state),z}function fe(t,z,P,x,d,k){if(!t)return g;var D=1;if(z===u&&(z=6),x<0?(D=0,x=-x):15<x&&(D=2,x-=16),d<1||_<d||P!==w||x<8||15<x||z<0||9<z||k<0||h<k)return Q(t,g);x===8&&(x=9);var U=new ae;return(t.state=U).strm=t,U.wrap=D,U.gzhead=null,U.w_bits=x,U.w_size=1<<U.w_bits,U.w_mask=U.w_size-1,U.hash_bits=d+7,U.hash_size=1<<U.hash_bits,U.hash_mask=U.hash_size-1,U.hash_shift=~~((U.hash_bits+F-1)/F),U.window=new s.Buf8(2*U.w_size),U.head=new s.Buf16(U.hash_size),U.prev=new s.Buf16(U.w_size),U.lit_bufsize=1<<d+6,U.pending_buf_size=4*U.lit_bufsize,U.pending_buf=new s.Buf8(U.pending_buf_size),U.d_buf=1*U.lit_bufsize,U.l_buf=3*U.lit_bufsize,U.level=z,U.strategy=k,U.method=P,he(t)}n=[new te(0,0,0,0,function(t,z){var P=65535;for(P>t.pending_buf_size-5&&(P=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ie(t),t.lookahead===0&&z===y)return o;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var x=t.block_start+P;if((t.strstart===0||t.strstart>=x)&&(t.lookahead=t.strstart-x,t.strstart=x,O(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-q&&(O(t,!1),t.strm.avail_out===0))return o}return t.insert=0,z===v?(O(t,!0),t.strm.avail_out===0?X:B):(t.strstart>t.block_start&&(O(t,!1),t.strm.avail_out),o)}),new te(4,4,8,4,ce),new te(4,5,16,8,ce),new te(4,6,32,32,ce),new te(4,4,16,16,Y),new te(8,16,32,32,Y),new te(8,16,128,128,Y),new te(8,32,128,256,Y),new te(32,128,258,1024,Y),new te(32,258,258,4096,Y)],r.deflateInit=function(t,z){return fe(t,z,w,15,8,0)},r.deflateInit2=fe,r.deflateReset=he,r.deflateResetKeep=se,r.deflateSetHeader=function(t,z){return t&&t.state?t.state.wrap!==2?g:(t.state.gzhead=z,l):g},r.deflate=function(t,z){var P,x,d,k;if(!t||!t.state||5<z||z<0)return t?Q(t,g):g;if(x=t.state,!t.output||!t.input&&t.avail_in!==0||x.status===666&&z!==v)return Q(t,t.avail_out===0?-5:g);if(x.strm=t,P=x.last_flush,x.last_flush=z,x.status===b)if(x.wrap===2)t.adler=0,K(x,31),K(x,139),K(x,8),x.gzhead?(K(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),K(x,255&x.gzhead.time),K(x,x.gzhead.time>>8&255),K(x,x.gzhead.time>>16&255),K(x,x.gzhead.time>>24&255),K(x,x.level===9?2:2<=x.strategy||x.level<2?4:0),K(x,255&x.gzhead.os),x.gzhead.extra&&x.gzhead.extra.length&&(K(x,255&x.gzhead.extra.length),K(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(t.adler=p(t.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=69):(K(x,0),K(x,0),K(x,0),K(x,0),K(x,0),K(x,x.level===9?2:2<=x.strategy||x.level<2?4:0),K(x,3),x.status=C);else{var D=w+(x.w_bits-8<<4)<<8;D|=(2<=x.strategy||x.level<2?0:x.level<6?1:x.level===6?2:3)<<6,x.strstart!==0&&(D|=32),D+=31-D%31,x.status=C,$(x,D),x.strstart!==0&&($(x,t.adler>>>16),$(x,65535&t.adler)),t.adler=1}if(x.status===69)if(x.gzhead.extra){for(d=x.pending;x.gzindex<(65535&x.gzhead.extra.length)&&(x.pending!==x.pending_buf_size||(x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),A(t),d=x.pending,x.pending!==x.pending_buf_size));)K(x,255&x.gzhead.extra[x.gzindex]),x.gzindex++;x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),x.gzindex===x.gzhead.extra.length&&(x.gzindex=0,x.status=73)}else x.status=73;if(x.status===73)if(x.gzhead.name){d=x.pending;do{if(x.pending===x.pending_buf_size&&(x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),A(t),d=x.pending,x.pending===x.pending_buf_size)){k=1;break}k=x.gzindex<x.gzhead.name.length?255&x.gzhead.name.charCodeAt(x.gzindex++):0,K(x,k)}while(k!==0);x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),k===0&&(x.gzindex=0,x.status=91)}else x.status=91;if(x.status===91)if(x.gzhead.comment){d=x.pending;do{if(x.pending===x.pending_buf_size&&(x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),A(t),d=x.pending,x.pending===x.pending_buf_size)){k=1;break}k=x.gzindex<x.gzhead.comment.length?255&x.gzhead.comment.charCodeAt(x.gzindex++):0,K(x,k)}while(k!==0);x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),k===0&&(x.status=103)}else x.status=103;if(x.status===103&&(x.gzhead.hcrc?(x.pending+2>x.pending_buf_size&&A(t),x.pending+2<=x.pending_buf_size&&(K(x,255&t.adler),K(x,t.adler>>8&255),t.adler=0,x.status=C)):x.status=C),x.pending!==0){if(A(t),t.avail_out===0)return x.last_flush=-1,l}else if(t.avail_in===0&&W(z)<=W(P)&&z!==v)return Q(t,-5);if(x.status===666&&t.avail_in!==0)return Q(t,-5);if(t.avail_in!==0||x.lookahead!==0||z!==y&&x.status!==666){var U=x.strategy===2?function(E,V){for(var Z;;){if(E.lookahead===0&&(ie(E),E.lookahead===0)){if(V===y)return o;break}if(E.match_length=0,Z=i._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,Z&&(O(E,!1),E.strm.avail_out===0))return o}return E.insert=0,V===v?(O(E,!0),E.strm.avail_out===0?X:B):E.last_lit&&(O(E,!1),E.strm.avail_out===0)?o:L}(x,z):x.strategy===3?function(E,V){for(var Z,M,H,re,ee=E.window;;){if(E.lookahead<=G){if(ie(E),E.lookahead<=G&&V===y)return o;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=F&&0<E.strstart&&(M=ee[H=E.strstart-1])===ee[++H]&&M===ee[++H]&&M===ee[++H]){re=E.strstart+G;do;while(M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&H<re);E.match_length=G-(re-H),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=F?(Z=i._tr_tally(E,1,E.match_length-F),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(Z=i._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),Z&&(O(E,!1),E.strm.avail_out===0))return o}return E.insert=0,V===v?(O(E,!0),E.strm.avail_out===0?X:B):E.last_lit&&(O(E,!1),E.strm.avail_out===0)?o:L}(x,z):n[x.level].func(x,z);if(U!==X&&U!==B||(x.status=666),U===o||U===X)return t.avail_out===0&&(x.last_flush=-1),l;if(U===L&&(z===1?i._tr_align(x):z!==5&&(i._tr_stored_block(x,0,0,!1),z===3&&(J(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),A(t),t.avail_out===0))return x.last_flush=-1,l}return z!==v?l:x.wrap<=0?1:(x.wrap===2?(K(x,255&t.adler),K(x,t.adler>>8&255),K(x,t.adler>>16&255),K(x,t.adler>>24&255),K(x,255&t.total_in),K(x,t.total_in>>8&255),K(x,t.total_in>>16&255),K(x,t.total_in>>24&255)):($(x,t.adler>>>16),$(x,65535&t.adler)),A(t),0<x.wrap&&(x.wrap=-x.wrap),x.pending!==0?l:1)},r.deflateEnd=function(t){var z;return t&&t.state?(z=t.state.status)!==b&&z!==69&&z!==73&&z!==91&&z!==103&&z!==C&&z!==666?Q(t,g):(t.state=null,z===C?Q(t,-3):l):g},r.deflateSetDictionary=function(t,z){var P,x,d,k,D,U,E,V,Z=z.length;if(!t||!t.state||(k=(P=t.state).wrap)===2||k===1&&P.status!==b||P.lookahead)return g;for(k===1&&(t.adler=c(t.adler,z,Z,0)),P.wrap=0,Z>=P.w_size&&(k===0&&(J(P.head),P.strstart=0,P.block_start=0,P.insert=0),V=new s.Buf8(P.w_size),s.arraySet(V,z,Z-P.w_size,P.w_size,0),z=V,Z=P.w_size),D=t.avail_in,U=t.next_in,E=t.input,t.avail_in=Z,t.next_in=0,t.input=z,ie(P);P.lookahead>=F;){for(x=P.strstart,d=P.lookahead-(F-1);P.ins_h=(P.ins_h<<P.hash_shift^P.window[x+F-1])&P.hash_mask,P.prev[x&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=x,x++,--d;);P.strstart=x,P.lookahead=F-1,ie(P)}return P.strstart+=P.lookahead,P.block_start=P.strstart,P.insert=P.lookahead,P.lookahead=0,P.match_length=P.prev_length=F-1,P.match_available=0,t.next_in=U,t.input=E,t.avail_in=D,P.wrap=k,l},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,a,r){"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,r){"use strict";a.exports=function(n,s){var i,c,p,m,y,v,l,g,u,h,f,w,_,S,I,R,T,N,F,G,q,b,C,o,L;i=n.state,c=n.next_in,o=n.input,p=c+(n.avail_in-5),m=n.next_out,L=n.output,y=m-(s-n.avail_out),v=m+(n.avail_out-257),l=i.dmax,g=i.wsize,u=i.whave,h=i.wnext,f=i.window,w=i.hold,_=i.bits,S=i.lencode,I=i.distcode,R=(1<<i.lenbits)-1,T=(1<<i.distbits)-1;e:do{_<15&&(w+=o[c++]<<_,_+=8,w+=o[c++]<<_,_+=8),N=S[w&R];t:for(;;){if(w>>>=F=N>>>24,_-=F,(F=N>>>16&255)===0)L[m++]=65535&N;else{if(!(16&F)){if((64&F)==0){N=S[(65535&N)+(w&(1<<F)-1)];continue t}if(32&F){i.mode=12;break e}n.msg="invalid literal/length code",i.mode=30;break e}G=65535&N,(F&=15)&&(_<F&&(w+=o[c++]<<_,_+=8),G+=w&(1<<F)-1,w>>>=F,_-=F),_<15&&(w+=o[c++]<<_,_+=8,w+=o[c++]<<_,_+=8),N=I[w&T];r:for(;;){if(w>>>=F=N>>>24,_-=F,!(16&(F=N>>>16&255))){if((64&F)==0){N=I[(65535&N)+(w&(1<<F)-1)];continue r}n.msg="invalid distance code",i.mode=30;break e}if(q=65535&N,_<(F&=15)&&(w+=o[c++]<<_,(_+=8)<F&&(w+=o[c++]<<_,_+=8)),l<(q+=w&(1<<F)-1)){n.msg="invalid distance too far back",i.mode=30;break e}if(w>>>=F,_-=F,(F=m-y)<q){if(u<(F=q-F)&&i.sane){n.msg="invalid distance too far back",i.mode=30;break e}if(C=f,(b=0)===h){if(b+=g-F,F<G){for(G-=F;L[m++]=f[b++],--F;);b=m-q,C=L}}else if(h<F){if(b+=g+h-F,(F-=h)<G){for(G-=F;L[m++]=f[b++],--F;);if(b=0,h<G){for(G-=F=h;L[m++]=f[b++],--F;);b=m-q,C=L}}}else if(b+=h-F,F<G){for(G-=F;L[m++]=f[b++],--F;);b=m-q,C=L}for(;2<G;)L[m++]=C[b++],L[m++]=C[b++],L[m++]=C[b++],G-=3;G&&(L[m++]=C[b++],1<G&&(L[m++]=C[b++]))}else{for(b=m-q;L[m++]=L[b++],L[m++]=L[b++],L[m++]=L[b++],2<(G-=3););G&&(L[m++]=L[b++],1<G&&(L[m++]=L[b++]))}break}}break}}while(c<p&&m<v);c-=G=_>>3,w&=(1<<(_-=G<<3))-1,n.next_in=c,n.next_out=m,n.avail_in=c<p?p-c+5:5-(c-p),n.avail_out=m<v?v-m+257:257-(m-v),i.hold=w,i.bits=_}},{}],49:[function(e,a,r){"use strict";var n=e("../utils/common"),s=e("./adler32"),i=e("./crc32"),c=e("./inffast"),p=e("./inftrees"),m=1,y=2,v=0,l=-2,g=1,u=852,h=592;function f(b){return(b>>>24&255)+(b>>>8&65280)+((65280&b)<<8)+((255&b)<<24)}function w(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(b){var C;return b&&b.state?(C=b.state,b.total_in=b.total_out=C.total=0,b.msg="",C.wrap&&(b.adler=1&C.wrap),C.mode=g,C.last=0,C.havedict=0,C.dmax=32768,C.head=null,C.hold=0,C.bits=0,C.lencode=C.lendyn=new n.Buf32(u),C.distcode=C.distdyn=new n.Buf32(h),C.sane=1,C.back=-1,v):l}function S(b){var C;return b&&b.state?((C=b.state).wsize=0,C.whave=0,C.wnext=0,_(b)):l}function I(b,C){var o,L;return b&&b.state?(L=b.state,C<0?(o=0,C=-C):(o=1+(C>>4),C<48&&(C&=15)),C&&(C<8||15<C)?l:(L.window!==null&&L.wbits!==C&&(L.window=null),L.wrap=o,L.wbits=C,S(b))):l}function R(b,C){var o,L;return b?(L=new w,(b.state=L).window=null,(o=I(b,C))!==v&&(b.state=null),o):l}var T,N,F=!0;function G(b){if(F){var C;for(T=new n.Buf32(512),N=new n.Buf32(32),C=0;C<144;)b.lens[C++]=8;for(;C<256;)b.lens[C++]=9;for(;C<280;)b.lens[C++]=7;for(;C<288;)b.lens[C++]=8;for(p(m,b.lens,0,288,T,0,b.work,{bits:9}),C=0;C<32;)b.lens[C++]=5;p(y,b.lens,0,32,N,0,b.work,{bits:5}),F=!1}b.lencode=T,b.lenbits=9,b.distcode=N,b.distbits=5}function q(b,C,o,L){var X,B=b.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new n.Buf8(B.wsize)),L>=B.wsize?(n.arraySet(B.window,C,o-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(L<(X=B.wsize-B.wnext)&&(X=L),n.arraySet(B.window,C,o-L,X,B.wnext),(L-=X)?(n.arraySet(B.window,C,o-L,L,0),B.wnext=L,B.whave=B.wsize):(B.wnext+=X,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=X))),0}r.inflateReset=S,r.inflateReset2=I,r.inflateResetKeep=_,r.inflateInit=function(b){return R(b,15)},r.inflateInit2=R,r.inflate=function(b,C){var o,L,X,B,Q,W,J,A,O,K,$,j,ie,ce,Y,te,ae,se,he,fe,t,z,P,x,d=0,k=new n.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!b||!b.state||!b.output||!b.input&&b.avail_in!==0)return l;(o=b.state).mode===12&&(o.mode=13),Q=b.next_out,X=b.output,J=b.avail_out,B=b.next_in,L=b.input,W=b.avail_in,A=o.hold,O=o.bits,K=W,$=J,z=v;e:for(;;)switch(o.mode){case g:if(o.wrap===0){o.mode=13;break}for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(2&o.wrap&&A===35615){k[o.check=0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0),O=A=0,o.mode=2;break}if(o.flags=0,o.head&&(o.head.done=!1),!(1&o.wrap)||(((255&A)<<8)+(A>>8))%31){b.msg="incorrect header check",o.mode=30;break}if((15&A)!=8){b.msg="unknown compression method",o.mode=30;break}if(O-=4,t=8+(15&(A>>>=4)),o.wbits===0)o.wbits=t;else if(t>o.wbits){b.msg="invalid window size",o.mode=30;break}o.dmax=1<<t,b.adler=o.check=1,o.mode=512&A?10:12,O=A=0;break;case 2:for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(o.flags=A,(255&o.flags)!=8){b.msg="unknown compression method",o.mode=30;break}if(57344&o.flags){b.msg="unknown header flags set",o.mode=30;break}o.head&&(o.head.text=A>>8&1),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0)),O=A=0,o.mode=3;case 3:for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.head&&(o.head.time=A),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,k[2]=A>>>16&255,k[3]=A>>>24&255,o.check=i(o.check,k,4,0)),O=A=0,o.mode=4;case 4:for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.head&&(o.head.xflags=255&A,o.head.os=A>>8),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0)),O=A=0,o.mode=5;case 5:if(1024&o.flags){for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.length=A,o.head&&(o.head.extra_len=A),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0)),O=A=0}else o.head&&(o.head.extra=null);o.mode=6;case 6:if(1024&o.flags&&(W<(j=o.length)&&(j=W),j&&(o.head&&(t=o.head.extra_len-o.length,o.head.extra||(o.head.extra=new Array(o.head.extra_len)),n.arraySet(o.head.extra,L,B,j,t)),512&o.flags&&(o.check=i(o.check,L,j,B)),W-=j,B+=j,o.length-=j),o.length))break e;o.length=0,o.mode=7;case 7:if(2048&o.flags){if(W===0)break e;for(j=0;t=L[B+j++],o.head&&t&&o.length<65536&&(o.head.name+=String.fromCharCode(t)),t&&j<W;);if(512&o.flags&&(o.check=i(o.check,L,j,B)),W-=j,B+=j,t)break e}else o.head&&(o.head.name=null);o.length=0,o.mode=8;case 8:if(4096&o.flags){if(W===0)break e;for(j=0;t=L[B+j++],o.head&&t&&o.length<65536&&(o.head.comment+=String.fromCharCode(t)),t&&j<W;);if(512&o.flags&&(o.check=i(o.check,L,j,B)),W-=j,B+=j,t)break e}else o.head&&(o.head.comment=null);o.mode=9;case 9:if(512&o.flags){for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A!==(65535&o.check)){b.msg="header crc mismatch",o.mode=30;break}O=A=0}o.head&&(o.head.hcrc=o.flags>>9&1,o.head.done=!0),b.adler=o.check=0,o.mode=12;break;case 10:for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}b.adler=o.check=f(A),O=A=0,o.mode=11;case 11:if(o.havedict===0)return b.next_out=Q,b.avail_out=J,b.next_in=B,b.avail_in=W,o.hold=A,o.bits=O,2;b.adler=o.check=1,o.mode=12;case 12:if(C===5||C===6)break e;case 13:if(o.last){A>>>=7&O,O-=7&O,o.mode=27;break}for(;O<3;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}switch(o.last=1&A,O-=1,3&(A>>>=1)){case 0:o.mode=14;break;case 1:if(G(o),o.mode=20,C!==6)break;A>>>=2,O-=2;break e;case 2:o.mode=17;break;case 3:b.msg="invalid block type",o.mode=30}A>>>=2,O-=2;break;case 14:for(A>>>=7&O,O-=7&O;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if((65535&A)!=(A>>>16^65535)){b.msg="invalid stored block lengths",o.mode=30;break}if(o.length=65535&A,O=A=0,o.mode=15,C===6)break e;case 15:o.mode=16;case 16:if(j=o.length){if(W<j&&(j=W),J<j&&(j=J),j===0)break e;n.arraySet(X,L,B,j,Q),W-=j,B+=j,J-=j,Q+=j,o.length-=j;break}o.mode=12;break;case 17:for(;O<14;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(o.nlen=257+(31&A),A>>>=5,O-=5,o.ndist=1+(31&A),A>>>=5,O-=5,o.ncode=4+(15&A),A>>>=4,O-=4,286<o.nlen||30<o.ndist){b.msg="too many length or distance symbols",o.mode=30;break}o.have=0,o.mode=18;case 18:for(;o.have<o.ncode;){for(;O<3;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.lens[D[o.have++]]=7&A,A>>>=3,O-=3}for(;o.have<19;)o.lens[D[o.have++]]=0;if(o.lencode=o.lendyn,o.lenbits=7,P={bits:o.lenbits},z=p(0,o.lens,0,19,o.lencode,0,o.work,P),o.lenbits=P.bits,z){b.msg="invalid code lengths set",o.mode=30;break}o.have=0,o.mode=19;case 19:for(;o.have<o.nlen+o.ndist;){for(;te=(d=o.lencode[A&(1<<o.lenbits)-1])>>>16&255,ae=65535&d,!((Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(ae<16)A>>>=Y,O-=Y,o.lens[o.have++]=ae;else{if(ae===16){for(x=Y+2;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A>>>=Y,O-=Y,o.have===0){b.msg="invalid bit length repeat",o.mode=30;break}t=o.lens[o.have-1],j=3+(3&A),A>>>=2,O-=2}else if(ae===17){for(x=Y+3;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}O-=Y,t=0,j=3+(7&(A>>>=Y)),A>>>=3,O-=3}else{for(x=Y+7;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}O-=Y,t=0,j=11+(127&(A>>>=Y)),A>>>=7,O-=7}if(o.have+j>o.nlen+o.ndist){b.msg="invalid bit length repeat",o.mode=30;break}for(;j--;)o.lens[o.have++]=t}}if(o.mode===30)break;if(o.lens[256]===0){b.msg="invalid code -- missing end-of-block",o.mode=30;break}if(o.lenbits=9,P={bits:o.lenbits},z=p(m,o.lens,0,o.nlen,o.lencode,0,o.work,P),o.lenbits=P.bits,z){b.msg="invalid literal/lengths set",o.mode=30;break}if(o.distbits=6,o.distcode=o.distdyn,P={bits:o.distbits},z=p(y,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,P),o.distbits=P.bits,z){b.msg="invalid distances set",o.mode=30;break}if(o.mode=20,C===6)break e;case 20:o.mode=21;case 21:if(6<=W&&258<=J){b.next_out=Q,b.avail_out=J,b.next_in=B,b.avail_in=W,o.hold=A,o.bits=O,c(b,$),Q=b.next_out,X=b.output,J=b.avail_out,B=b.next_in,L=b.input,W=b.avail_in,A=o.hold,O=o.bits,o.mode===12&&(o.back=-1);break}for(o.back=0;te=(d=o.lencode[A&(1<<o.lenbits)-1])>>>16&255,ae=65535&d,!((Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(te&&(240&te)==0){for(se=Y,he=te,fe=ae;te=(d=o.lencode[fe+((A&(1<<se+he)-1)>>se)])>>>16&255,ae=65535&d,!(se+(Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}A>>>=se,O-=se,o.back+=se}if(A>>>=Y,O-=Y,o.back+=Y,o.length=ae,te===0){o.mode=26;break}if(32&te){o.back=-1,o.mode=12;break}if(64&te){b.msg="invalid literal/length code",o.mode=30;break}o.extra=15&te,o.mode=22;case 22:if(o.extra){for(x=o.extra;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.length+=A&(1<<o.extra)-1,A>>>=o.extra,O-=o.extra,o.back+=o.extra}o.was=o.length,o.mode=23;case 23:for(;te=(d=o.distcode[A&(1<<o.distbits)-1])>>>16&255,ae=65535&d,!((Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if((240&te)==0){for(se=Y,he=te,fe=ae;te=(d=o.distcode[fe+((A&(1<<se+he)-1)>>se)])>>>16&255,ae=65535&d,!(se+(Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}A>>>=se,O-=se,o.back+=se}if(A>>>=Y,O-=Y,o.back+=Y,64&te){b.msg="invalid distance code",o.mode=30;break}o.offset=ae,o.extra=15&te,o.mode=24;case 24:if(o.extra){for(x=o.extra;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.offset+=A&(1<<o.extra)-1,A>>>=o.extra,O-=o.extra,o.back+=o.extra}if(o.offset>o.dmax){b.msg="invalid distance too far back",o.mode=30;break}o.mode=25;case 25:if(J===0)break e;if(j=$-J,o.offset>j){if((j=o.offset-j)>o.whave&&o.sane){b.msg="invalid distance too far back",o.mode=30;break}ie=j>o.wnext?(j-=o.wnext,o.wsize-j):o.wnext-j,j>o.length&&(j=o.length),ce=o.window}else ce=X,ie=Q-o.offset,j=o.length;for(J<j&&(j=J),J-=j,o.length-=j;X[Q++]=ce[ie++],--j;);o.length===0&&(o.mode=21);break;case 26:if(J===0)break e;X[Q++]=o.length,J--,o.mode=21;break;case 27:if(o.wrap){for(;O<32;){if(W===0)break e;W--,A|=L[B++]<<O,O+=8}if($-=J,b.total_out+=$,o.total+=$,$&&(b.adler=o.check=o.flags?i(o.check,X,$,Q-$):s(o.check,X,$,Q-$)),$=J,(o.flags?A:f(A))!==o.check){b.msg="incorrect data check",o.mode=30;break}O=A=0}o.mode=28;case 28:if(o.wrap&&o.flags){for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A!==(4294967295&o.total)){b.msg="incorrect length check",o.mode=30;break}O=A=0}o.mode=29;case 29:z=1;break e;case 30:z=-3;break e;case 31:return-4;case 32:default:return l}return b.next_out=Q,b.avail_out=J,b.next_in=B,b.avail_in=W,o.hold=A,o.bits=O,(o.wsize||$!==b.avail_out&&o.mode<30&&(o.mode<27||C!==4))&&q(b,b.output,b.next_out,$-b.avail_out)?(o.mode=31,-4):(K-=b.avail_in,$-=b.avail_out,b.total_in+=K,b.total_out+=$,o.total+=$,o.wrap&&$&&(b.adler=o.check=o.flags?i(o.check,X,$,b.next_out-$):s(o.check,X,$,b.next_out-$)),b.data_type=o.bits+(o.last?64:0)+(o.mode===12?128:0)+(o.mode===20||o.mode===15?256:0),(K==0&&$===0||C===4)&&z===v&&(z=-5),z)},r.inflateEnd=function(b){if(!b||!b.state)return l;var C=b.state;return C.window&&(C.window=null),b.state=null,v},r.inflateGetHeader=function(b,C){var o;return b&&b.state?(2&(o=b.state).wrap)==0?l:((o.head=C).done=!1,v):l},r.inflateSetDictionary=function(b,C){var o,L=C.length;return b&&b.state?(o=b.state).wrap!==0&&o.mode!==11?l:o.mode===11&&s(1,C,L,0)!==o.check?-3:q(b,C,L,L)?(o.mode=31,-4):(o.havedict=1,v):l},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,a,r){"use strict";var n=e("../utils/common"),s=[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],i=[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],c=[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],p=[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(m,y,v,l,g,u,h,f){var w,_,S,I,R,T,N,F,G,q=f.bits,b=0,C=0,o=0,L=0,X=0,B=0,Q=0,W=0,J=0,A=0,O=null,K=0,$=new n.Buf16(16),j=new n.Buf16(16),ie=null,ce=0;for(b=0;b<=15;b++)$[b]=0;for(C=0;C<l;C++)$[y[v+C]]++;for(X=q,L=15;1<=L&&$[L]===0;L--);if(L<X&&(X=L),L===0)return g[u++]=20971520,g[u++]=20971520,f.bits=1,0;for(o=1;o<L&&$[o]===0;o++);for(X<o&&(X=o),b=W=1;b<=15;b++)if(W<<=1,(W-=$[b])<0)return-1;if(0<W&&(m===0||L!==1))return-1;for(j[1]=0,b=1;b<15;b++)j[b+1]=j[b]+$[b];for(C=0;C<l;C++)y[v+C]!==0&&(h[j[y[v+C]]++]=C);if(T=m===0?(O=ie=h,19):m===1?(O=s,K-=257,ie=i,ce-=257,256):(O=c,ie=p,-1),b=o,R=u,Q=C=A=0,S=-1,I=(J=1<<(B=X))-1,m===1&&852<J||m===2&&592<J)return 1;for(;;){for(N=b-Q,G=h[C]<T?(F=0,h[C]):h[C]>T?(F=ie[ce+h[C]],O[K+h[C]]):(F=96,0),w=1<<b-Q,o=_=1<<B;g[R+(A>>Q)+(_-=w)]=N<<24|F<<16|G|0,_!==0;);for(w=1<<b-1;A&w;)w>>=1;if(w!==0?(A&=w-1,A+=w):A=0,C++,--$[b]==0){if(b===L)break;b=y[v+h[C]]}if(X<b&&(A&I)!==S){for(Q===0&&(Q=X),R+=o,W=1<<(B=b-Q);B+Q<L&&!((W-=$[B+Q])<=0);)B++,W<<=1;if(J+=1<<B,m===1&&852<J||m===2&&592<J)return 1;g[S=A&I]=X<<24|B<<16|R-u|0}}return A!==0&&(g[R+A]=b-Q<<24|64<<16|0),f.bits=X,0}},{"../utils/common":41}],51:[function(e,a,r){"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,r){"use strict";var n=e("../utils/common"),s=0,i=1;function c(d){for(var k=d.length;0<=--k;)d[k]=0}var p=0,m=29,y=256,v=y+1+m,l=30,g=19,u=2*v+1,h=15,f=16,w=7,_=256,S=16,I=17,R=18,T=[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],N=[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],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],q=new Array(2*(v+2));c(q);var b=new Array(2*l);c(b);var C=new Array(512);c(C);var o=new Array(256);c(o);var L=new Array(m);c(L);var X,B,Q,W=new Array(l);function J(d,k,D,U,E){this.static_tree=d,this.extra_bits=k,this.extra_base=D,this.elems=U,this.max_length=E,this.has_stree=d&&d.length}function A(d,k){this.dyn_tree=d,this.max_code=0,this.stat_desc=k}function O(d){return d<256?C[d]:C[256+(d>>>7)]}function K(d,k){d.pending_buf[d.pending++]=255&k,d.pending_buf[d.pending++]=k>>>8&255}function $(d,k,D){d.bi_valid>f-D?(d.bi_buf|=k<<d.bi_valid&65535,K(d,d.bi_buf),d.bi_buf=k>>f-d.bi_valid,d.bi_valid+=D-f):(d.bi_buf|=k<<d.bi_valid&65535,d.bi_valid+=D)}function j(d,k,D){$(d,D[2*k],D[2*k+1])}function ie(d,k){for(var D=0;D|=1&d,d>>>=1,D<<=1,0<--k;);return D>>>1}function ce(d,k,D){var U,E,V=new Array(h+1),Z=0;for(U=1;U<=h;U++)V[U]=Z=Z+D[U-1]<<1;for(E=0;E<=k;E++){var M=d[2*E+1];M!==0&&(d[2*E]=ie(V[M]++,M))}}function Y(d){var k;for(k=0;k<v;k++)d.dyn_ltree[2*k]=0;for(k=0;k<l;k++)d.dyn_dtree[2*k]=0;for(k=0;k<g;k++)d.bl_tree[2*k]=0;d.dyn_ltree[2*_]=1,d.opt_len=d.static_len=0,d.last_lit=d.matches=0}function te(d){8<d.bi_valid?K(d,d.bi_buf):0<d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf),d.bi_buf=0,d.bi_valid=0}function ae(d,k,D,U){var E=2*k,V=2*D;return d[E]<d[V]||d[E]===d[V]&&U[k]<=U[D]}function se(d,k,D){for(var U=d.heap[D],E=D<<1;E<=d.heap_len&&(E<d.heap_len&&ae(k,d.heap[E+1],d.heap[E],d.depth)&&E++,!ae(k,U,d.heap[E],d.depth));)d.heap[D]=d.heap[E],D=E,E<<=1;d.heap[D]=U}function he(d,k,D){var U,E,V,Z,M=0;if(d.last_lit!==0)for(;U=d.pending_buf[d.d_buf+2*M]<<8|d.pending_buf[d.d_buf+2*M+1],E=d.pending_buf[d.l_buf+M],M++,U===0?j(d,E,k):(j(d,(V=o[E])+y+1,k),(Z=T[V])!==0&&$(d,E-=L[V],Z),j(d,V=O(--U),D),(Z=N[V])!==0&&$(d,U-=W[V],Z)),M<d.last_lit;);j(d,_,k)}function fe(d,k){var D,U,E,V=k.dyn_tree,Z=k.stat_desc.static_tree,M=k.stat_desc.has_stree,H=k.stat_desc.elems,re=-1;for(d.heap_len=0,d.heap_max=u,D=0;D<H;D++)V[2*D]!==0?(d.heap[++d.heap_len]=re=D,d.depth[D]=0):V[2*D+1]=0;for(;d.heap_len<2;)V[2*(E=d.heap[++d.heap_len]=re<2?++re:0)]=1,d.depth[E]=0,d.opt_len--,M&&(d.static_len-=Z[2*E+1]);for(k.max_code=re,D=d.heap_len>>1;1<=D;D--)se(d,V,D);for(E=H;D=d.heap[1],d.heap[1]=d.heap[d.heap_len--],se(d,V,1),U=d.heap[1],d.heap[--d.heap_max]=D,d.heap[--d.heap_max]=U,V[2*E]=V[2*D]+V[2*U],d.depth[E]=(d.depth[D]>=d.depth[U]?d.depth[D]:d.depth[U])+1,V[2*D+1]=V[2*U+1]=E,d.heap[1]=E++,se(d,V,1),2<=d.heap_len;);d.heap[--d.heap_max]=d.heap[1],function(ee,ue){var Ie,me,Se,oe,ze,He,ge=ue.dyn_tree,lt=ue.max_code,sr=ue.stat_desc.static_tree,or=ue.stat_desc.has_stree,ar=ue.stat_desc.extra_bits,ct=ue.stat_desc.extra_base,Ee=ue.stat_desc.max_length,Re=0;for(oe=0;oe<=h;oe++)ee.bl_count[oe]=0;for(ge[2*ee.heap[ee.heap_max]+1]=0,Ie=ee.heap_max+1;Ie<u;Ie++)Ee<(oe=ge[2*ge[2*(me=ee.heap[Ie])+1]+1]+1)&&(oe=Ee,Re++),ge[2*me+1]=oe,lt<me||(ee.bl_count[oe]++,ze=0,ct<=me&&(ze=ar[me-ct]),He=ge[2*me],ee.opt_len+=He*(oe+ze),or&&(ee.static_len+=He*(sr[2*me+1]+ze)));if(Re!==0){do{for(oe=Ee-1;ee.bl_count[oe]===0;)oe--;ee.bl_count[oe]--,ee.bl_count[oe+1]+=2,ee.bl_count[Ee]--,Re-=2}while(0<Re);for(oe=Ee;oe!==0;oe--)for(me=ee.bl_count[oe];me!==0;)lt<(Se=ee.heap[--Ie])||(ge[2*Se+1]!==oe&&(ee.opt_len+=(oe-ge[2*Se+1])*ge[2*Se],ge[2*Se+1]=oe),me--)}}(d,k),ce(V,re,d.bl_count)}function t(d,k,D){var U,E,V=-1,Z=k[1],M=0,H=7,re=4;for(Z===0&&(H=138,re=3),k[2*(D+1)+1]=65535,U=0;U<=D;U++)E=Z,Z=k[2*(U+1)+1],++M<H&&E===Z||(M<re?d.bl_tree[2*E]+=M:E!==0?(E!==V&&d.bl_tree[2*E]++,d.bl_tree[2*S]++):M<=10?d.bl_tree[2*I]++:d.bl_tree[2*R]++,V=E,re=(M=0)===Z?(H=138,3):E===Z?(H=6,3):(H=7,4))}function z(d,k,D){var U,E,V=-1,Z=k[1],M=0,H=7,re=4;for(Z===0&&(H=138,re=3),U=0;U<=D;U++)if(E=Z,Z=k[2*(U+1)+1],!(++M<H&&E===Z)){if(M<re)for(;j(d,E,d.bl_tree),--M!=0;);else E!==0?(E!==V&&(j(d,E,d.bl_tree),M--),j(d,S,d.bl_tree),$(d,M-3,2)):M<=10?(j(d,I,d.bl_tree),$(d,M-3,3)):(j(d,R,d.bl_tree),$(d,M-11,7));V=E,re=(M=0)===Z?(H=138,3):E===Z?(H=6,3):(H=7,4)}}c(W);var P=!1;function x(d,k,D,U){$(d,(p<<1)+(U?1:0),3),function(E,V,Z,M){te(E),M&&(K(E,Z),K(E,~Z)),n.arraySet(E.pending_buf,E.window,V,Z,E.pending),E.pending+=Z}(d,k,D,!0)}r._tr_init=function(d){P||(function(){var k,D,U,E,V,Z=new Array(h+1);for(E=U=0;E<m-1;E++)for(L[E]=U,k=0;k<1<<T[E];k++)o[U++]=E;for(o[U-1]=E,E=V=0;E<16;E++)for(W[E]=V,k=0;k<1<<N[E];k++)C[V++]=E;for(V>>=7;E<l;E++)for(W[E]=V<<7,k=0;k<1<<N[E]-7;k++)C[256+V++]=E;for(D=0;D<=h;D++)Z[D]=0;for(k=0;k<=143;)q[2*k+1]=8,k++,Z[8]++;for(;k<=255;)q[2*k+1]=9,k++,Z[9]++;for(;k<=279;)q[2*k+1]=7,k++,Z[7]++;for(;k<=287;)q[2*k+1]=8,k++,Z[8]++;for(ce(q,v+1,Z),k=0;k<l;k++)b[2*k+1]=5,b[2*k]=ie(k,5);X=new J(q,T,y+1,v,h),B=new J(b,N,0,l,h),Q=new J(new Array(0),F,0,g,w)}(),P=!0),d.l_desc=new A(d.dyn_ltree,X),d.d_desc=new A(d.dyn_dtree,B),d.bl_desc=new A(d.bl_tree,Q),d.bi_buf=0,d.bi_valid=0,Y(d)},r._tr_stored_block=x,r._tr_flush_block=function(d,k,D,U){var E,V,Z=0;0<d.level?(d.strm.data_type===2&&(d.strm.data_type=function(M){var H,re=4093624447;for(H=0;H<=31;H++,re>>>=1)if(1&re&&M.dyn_ltree[2*H]!==0)return s;if(M.dyn_ltree[18]!==0||M.dyn_ltree[20]!==0||M.dyn_ltree[26]!==0)return i;for(H=32;H<y;H++)if(M.dyn_ltree[2*H]!==0)return i;return s}(d)),fe(d,d.l_desc),fe(d,d.d_desc),Z=function(M){var H;for(t(M,M.dyn_ltree,M.l_desc.max_code),t(M,M.dyn_dtree,M.d_desc.max_code),fe(M,M.bl_desc),H=g-1;3<=H&&M.bl_tree[2*G[H]+1]===0;H--);return M.opt_len+=3*(H+1)+5+5+4,H}(d),E=d.opt_len+3+7>>>3,(V=d.static_len+3+7>>>3)<=E&&(E=V)):E=V=D+5,D+4<=E&&k!==-1?x(d,k,D,U):d.strategy===4||V===E?($(d,2+(U?1:0),3),he(d,q,b)):($(d,4+(U?1:0),3),function(M,H,re,ee){var ue;for($(M,H-257,5),$(M,re-1,5),$(M,ee-4,4),ue=0;ue<ee;ue++)$(M,M.bl_tree[2*G[ue]+1],3);z(M,M.dyn_ltree,H-1),z(M,M.dyn_dtree,re-1)}(d,d.l_desc.max_code+1,d.d_desc.max_code+1,Z+1),he(d,d.dyn_ltree,d.dyn_dtree)),Y(d),U&&te(d)},r._tr_tally=function(d,k,D){return d.pending_buf[d.d_buf+2*d.last_lit]=k>>>8&255,d.pending_buf[d.d_buf+2*d.last_lit+1]=255&k,d.pending_buf[d.l_buf+d.last_lit]=255&D,d.last_lit++,k===0?d.dyn_ltree[2*D]++:(d.matches++,k--,d.dyn_ltree[2*(o[D]+y+1)]++,d.dyn_dtree[2*O(k)]++),d.last_lit===d.lit_bufsize-1},r._tr_align=function(d){$(d,2,3),j(d,_,q),function(k){k.bi_valid===16?(K(k,k.bi_buf),k.bi_buf=0,k.bi_valid=0):8<=k.bi_valid&&(k.pending_buf[k.pending++]=255&k.bi_buf,k.bi_buf>>=8,k.bi_valid-=8)}(d)}},{"../utils/common":41}],53:[function(e,a,r){"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,r){(function(n){(function(s,i){"use strict";if(!s.setImmediate){var c,p,m,y,v=1,l={},g=!1,u=s.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(s);h=h&&h.setTimeout?h:s,c={}.toString.call(s.process)==="[object process]"?function(S){process.nextTick(function(){w(S)})}:function(){if(s.postMessage&&!s.importScripts){var S=!0,I=s.onmessage;return s.onmessage=function(){S=!1},s.postMessage("","*"),s.onmessage=I,S}}()?(y="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",_,!1):s.attachEvent("onmessage",_),function(S){s.postMessage(y+S,"*")}):s.MessageChannel?((m=new MessageChannel).port1.onmessage=function(S){w(S.data)},function(S){m.port2.postMessage(S)}):u&&"onreadystatechange"in u.createElement("script")?(p=u.documentElement,function(S){var I=u.createElement("script");I.onreadystatechange=function(){w(S),I.onreadystatechange=null,p.removeChild(I),I=null},p.appendChild(I)}):function(S){setTimeout(w,0,S)},h.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var I=new Array(arguments.length-1),R=0;R<I.length;R++)I[R]=arguments[R+1];var T={callback:S,args:I};return l[v]=T,c(v),v++},h.clearImmediate=f}function f(S){delete l[S]}function w(S){if(g)setTimeout(w,0,S);else{var I=l[S];if(I){g=!0;try{(function(R){var T=R.callback,N=R.args;switch(N.length){case 0:T();break;case 1:T(N[0]);break;case 2:T(N[0],N[1]);break;case 3:T(N[0],N[1],N[2]);break;default:T.apply(i,N)}})(I)}finally{f(S),g=!1}}}}function _(S){S.source===s&&typeof S.data=="string"&&S.data.indexOf(y)===0&&w(+S.data.slice(y.length))}})(typeof self>"u"?n===void 0?this:n:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});function De(e){return dt(e)}function Pr(e){return mt(e)}function yt(e){return ht(e)}function ye(e,a){return ut(e,a)}function Ue(e){return ft(e)}function Je(e){return pt(e)}var pe;(function(e){e[e.Data=0]="Data",e[e.Info=1]="Info",e[e.Metadata=2]="Metadata",e[e.Resource=3]="Resource",e[e.Thumbnail=4]="Thumbnail"})(pe||(pe={}));var wt;(function(e){e[e.Data=0]="Data",e[e.Info=1]="Info",e[e.Metadata=2]="Metadata",e[e.Resource=3]="Resource",e[e.Thumbnail=4]="Thumbnail"})(wt||(wt={}));var Ae;(function(e){e[e.Started=0]="Started",e[e.Created=1]="Created",e[e.Cancelled=2]="Cancelled",e[e.Finished=3]="Finished",e[e.Ignored=4]="Ignored",e[e.Failed=5]="Failed",e[e.Unknown=6]="Unknown"})(Ae||(Ae={}));var _n=Le(Pe());var Ve=function(){return Ve=Object.assign||function(a){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a},Ve.apply(this,arguments)},Qe={exports:{}},ne={},Ye={exports:{}},ve={};function St(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Fr(e,a,r){}function Tr(e,a,r){}var Cr=/javascript\s*\:/img;function zr(e,a){return Cr.test(a)?"":a}ve.whiteList=St();ve.getDefaultWhiteList=St;ve.onAttr=Fr;ve.onIgnoreAttr=Tr;ve.safeAttrValue=zr;var Rr={indexOf:function(e,a){var r,n;if(Array.prototype.indexOf)return e.indexOf(a);for(r=0,n=e.length;r<n;r++)if(e[r]===a)return r;return-1},forEach:function(e,a,r){var n,s;if(Array.prototype.forEach)return e.forEach(a,r);for(n=0,s=e.length;n<s;n++)a.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Fe=Rr;function Lr(e,a){e=Fe.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,n=!1,s=0,i=0,c="";function p(){if(!n){var v=Fe.trim(e.slice(s,i)),l=v.indexOf(":");if(l!==-1){var g=Fe.trim(v.slice(0,l)),u=Fe.trim(v.slice(l+1));if(g){var h=a(s,c.length,g,u,v);h&&(c+=h+"; ")}}}s=i+1}for(;i<r;i++){var m=e[i];if(m==="/"&&e[i+1]==="*"){var y=e.indexOf("*/",i+2);if(y===-1)break;i=y+1,s=i+1,n=!1}else m==="("?n=!0:m===")"?n=!1:m===";"?n||p():m===`
6
6
  `&&p()}return Fe.trim(c)}var Dr=Lr,Ne=ve,Ur=Dr;function bt(e){return e==null}function Nr(e){var a={};for(var r in e)a[r]=e[r];return a}function Et(e){e=Nr(e||{}),e.whiteList=e.whiteList||Ne.whiteList,e.onAttr=e.onAttr||Ne.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Ne.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Ne.safeAttrValue,this.options=e}Et.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var a=this,r=a.options,n=r.whiteList,s=r.onAttr,i=r.onIgnoreAttr,c=r.safeAttrValue,p=Ur(e,function(m,y,v,l,g){var u=n[v],h=!1;if(u===!0?h=u:typeof u=="function"?h=u(l):u instanceof RegExp&&(h=u.test(l)),h!==!0&&(h=!1),l=c(v,l),!!l){var f={position:y,sourcePosition:m,source:g,isWhite:h};if(h){var w=s(v,l,f);return bt(w)?v+":"+l:w}else{var w=i(v,l,f);if(!bt(w))return w}}});return p};var Br=Et;(function(e,a){var r=ve,n=Br;function s(c,p){var m=new n(p);return m.process(c)}a=e.exports=s,a.FilterCSS=n;for(var i in r)a[i]=r[i]})(Ye,Ye.exports);var et=Ye.exports,tt={indexOf:function(e,a){var r,n;if(Array.prototype.indexOf)return e.indexOf(a);for(r=0,n=e.length;r<n;r++)if(e[r]===a)return r;return-1},forEach:function(e,a,r){var n,s;if(Array.prototype.forEach)return e.forEach(a,r);for(n=0,s=e.length;n<s;n++)a.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var a=/\s|\n|\t/,r=a.exec(e);return r?r.index:-1}},Gr=et.FilterCSS,Wr=et.getDefaultWhiteList,Me=tt;function Ot(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var At=new Gr;function Vr(e,a,r){}function Mr(e,a,r){}function jr(e,a,r){}function $r(e,a,r){}function Pt(e){return e.replace(qr,"&lt;").replace(Hr,"&gt;")}function Zr(e,a,r,n){if(r=Lt(r),a==="href"||a==="src"){if(r=Me.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(a==="background"){if(Be.lastIndex=0,Be.test(r))return""}else if(a==="style"){if(_t.lastIndex=0,_t.test(r)||(kt.lastIndex=0,kt.test(r)&&(Be.lastIndex=0,Be.test(r))))return"";n!==!1&&(n=n||At,r=n.process(r))}return r=Dt(r),r}var qr=/</g,Hr=/>/g,Kr=/"/g,Jr=/&quot;/g,Xr=/&#([a-zA-Z0-9]*);?/gim,Qr=/&colon;?/gim,Yr=/&newline;?/gim,Be=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,_t=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,kt=/u\s*r\s*l\s*\(.*/gi;function Ft(e){return e.replace(Kr,"&quot;")}function Tt(e){return e.replace(Jr,'"')}function Ct(e){return e.replace(Xr,function(r,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function zt(e){return e.replace(Qr,":").replace(Yr," ")}function Rt(e){for(var a="",r=0,n=e.length;r<n;r++)a+=e.charCodeAt(r)<32?" ":e.charAt(r);return Me.trim(a)}function Lt(e){return e=Tt(e),e=Ct(e),e=zt(e),e=Rt(e),e}function Dt(e){return e=Ft(e),e=Pt(e),e}function en(){return""}function tn(e,a){typeof a!="function"&&(a=function(){});var r=!Array.isArray(e);function n(c){return r?!0:Me.indexOf(e,c)!==-1}var s=[],i=!1;return{onIgnoreTag:function(c,p,m){if(n(c))if(m.isClosing){var y="[/removed]",v=m.position+y.length;return s.push([i!==!1?i:m.position,v]),i=!1,y}else return i||(i=m.position),"[removed]";else return a(c,p,m)},remove:function(c){var p="",m=0;return Me.forEach(s,function(y){p+=c.slice(m,y[0]),m=y[1]}),p+=c.slice(m),p}}}function rn(e){for(var a="",r=0;r<e.length;){var n=e.indexOf("<!--",r);if(n===-1){a+=e.slice(r);break}a+=e.slice(r,n);var s=e.indexOf("-->",n);if(s===-1)break;r=s+3}return a}function nn(e){var a=e.split("");return a=a.filter(function(r){var n=r.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),a.join("")}ne.whiteList=Ot();ne.getDefaultWhiteList=Ot;ne.onTag=Vr;ne.onIgnoreTag=Mr;ne.onTagAttr=jr;ne.onIgnoreTagAttr=$r;ne.safeAttrValue=Zr;ne.escapeHtml=Pt;ne.escapeQuote=Ft;ne.unescapeQuote=Tt;ne.escapeHtmlEntities=Ct;ne.escapeDangerHtml5Entities=zt;ne.clearNonPrintableCharacter=Rt;ne.friendlyAttrValue=Lt;ne.escapeAttrValue=Dt;ne.onIgnoreTagStripAll=en;ne.StripTagBody=tn;ne.stripCommentTag=rn;ne.stripBlankChar=nn;ne.cssFilter=At;ne.getDefaultCSSWhiteList=Wr;var je={},we=tt;function sn(e){var a=we.spaceIndex(e),r;return a===-1?r=e.slice(1,-1):r=e.slice(1,a+1),r=we.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function on(e){return e.slice(0,2)==="</"}function an(e,a,r){var n="",s=0,i=!1,c=!1,p=0,m=e.length,y="",v="";e:for(p=0;p<m;p++){var l=e.charAt(p);if(i===!1){if(l==="<"){i=p;continue}}else if(c===!1){if(l==="<"){n+=r(e.slice(s,p)),i=p,s=p;continue}if(l===">"){n+=r(e.slice(s,i)),v=e.slice(i,p+1),y=sn(v),n+=a(i,n.length,y,v,on(v)),s=p+1,i=!1;continue}if(l==='"'||l==="'")for(var g=1,u=e.charAt(p-g);u.trim()===""||u==="=";){if(u==="="){c=l;continue e}u=e.charAt(p-++g)}}else if(l===c){c=!1;continue}}return s<e.length&&(n+=r(e.substr(s))),n}var ln=/[^a-zA-Z0-9\\_:.-]/gim;function cn(e,a){var r=0,n=0,s=[],i=!1,c=e.length;function p(g,u){if(g=we.trim(g),g=g.replace(ln,"").toLowerCase(),!(g.length<1)){var h=a(g,u||"");h&&s.push(h)}}for(var m=0;m<c;m++){var y=e.charAt(m),v,l;if(i===!1&&y==="="){i=e.slice(r,m),r=m+1,n=e.charAt(r)==='"'||e.charAt(r)==="'"?r:fn(e,m+1);continue}if(i!==!1&&m===n){if(l=e.indexOf(y,m+1),l===-1)break;v=we.trim(e.slice(n+1,l)),p(i,v),i=!1,m=l,r=m+1;continue}if(/\s|\n|\t/.test(y))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(l=un(e,m),l===-1){v=we.trim(e.slice(r,m)),p(v),i=!1,r=m+1;continue}else{m=l-1;continue}else if(l=pn(e,m-1),l===-1){v=we.trim(e.slice(r,m)),v=It(v),p(i,v),i=!1,r=m+1;continue}else continue}return r<e.length&&(i===!1?p(e.slice(r)):p(i,It(we.trim(e.slice(r))))),we.trim(s.join(" "))}function un(e,a){for(;a<e.length;a++){var r=e[a];if(r!==" ")return r==="="?a:-1}}function fn(e,a){for(;a<e.length;a++){var r=e[a];if(r!==" ")return r==="'"||r==='"'?a:-1}}function pn(e,a){for(;a>0;a--){var r=e[a];if(r!==" ")return r==="="?a:-1}}function dn(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function It(e){return dn(e)?e.substr(1,e.length-2):e}je.parseTag=an;je.parseAttr=cn;var hn=et.FilterCSS,de=ne,Ut=je,mn=Ut.parseTag,gn=Ut.parseAttr,We=tt;function Ge(e){return e==null}function xn(e){var a=We.spaceIndex(e);if(a===-1)return{html:"",closing:e[e.length-2]==="/"};e=We.trim(e.slice(a+1,-1));var r=e[e.length-1]==="/";return r&&(e=We.trim(e.slice(0,-1))),{html:e,closing:r}}function yn(e){var a={};for(var r in e)a[r]=e[r];return a}function wn(e){var a={};for(var r in e)Array.isArray(e[r])?a[r.toLowerCase()]=e[r].map(function(n){return n.toLowerCase()}):a[r.toLowerCase()]=e[r];return a}function Nt(e){e=yn(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=de.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=wn(e.whiteList||e.allowList):e.whiteList=de.whiteList,e.onTag=e.onTag||de.onTag,e.onTagAttr=e.onTagAttr||de.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||de.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||de.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||de.safeAttrValue,e.escapeHtml=e.escapeHtml||de.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new hn(e.css))}Nt.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var a=this,r=a.options,n=r.whiteList,s=r.onTag,i=r.onIgnoreTag,c=r.onTagAttr,p=r.onIgnoreTagAttr,m=r.safeAttrValue,y=r.escapeHtml,v=a.cssFilter;r.stripBlankChar&&(e=de.stripBlankChar(e)),r.allowCommentTag||(e=de.stripCommentTag(e));var l=!1;r.stripIgnoreTagBody&&(l=de.StripTagBody(r.stripIgnoreTagBody,i),i=l.onIgnoreTag);var g=mn(e,function(u,h,f,w,_){var S={sourcePosition:u,position:h,isClosing:_,isWhite:Object.prototype.hasOwnProperty.call(n,f)},I=s(f,w,S);if(!Ge(I))return I;if(S.isWhite){if(S.isClosing)return"</"+f+">";var R=xn(w),T=n[f],N=gn(R.html,function(F,G){var q=We.indexOf(T,F)!==-1,b=c(f,F,G,q);return Ge(b)?q?(G=m(f,F,G,v),G?F+'="'+G+'"':F):(b=p(f,F,G,q),Ge(b)?void 0:b):b});return w="<"+f,N&&(w+=" "+N),R.closing&&(w+=" /"),w+=">",w}else return I=i(f,w,S),Ge(I)?y(w):I},y);return l&&(g=l.remove(g)),g};var vn=Nt;(function(e,a){var r=ne,n=je,s=vn;function i(p,m){var y=new s(m);return y.process(p)}a=e.exports=i,a.filterXSS=i,a.FilterXSS=s,function(){for(var p in r)a[p]=r[p];for(var m in n)a[m]=n[m]}();function c(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}c()&&(self.filterXSS=e.exports)})(Qe,Qe.exports);var be=Qe.exports,bn=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var a=Object.getPrototypeOf(e);if(a===null)return!0;for(;Object.getPrototypeOf(a)!==null;)a=Object.getPrototypeOf(a);return Object.getPrototypeOf(e)===a},Bt=function(){function e(a,r){var n=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],details:["style"],div:["align","style","aria-label","aria-hidden"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ve(Ve({},be.getDefaultCSSWhiteList()),{flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,"line-height":!0,"justify-content":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,c,p,m){return i==="a"&&c==="href"||(i==="img"||i==="source")&&c==="src"?n.sanitizeUrl(p):be.safeAttrValue(i,c,p,m)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var s;a&&!r?s=a:a&&r?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(a).forEach(function(i){if(i==="whiteList")s.whiteList=n._extendObjectOfArrays([n.arcgisWhiteList,a.whiteList||{}]);else if(i==="css"){var c=a.css.whiteList;c!=null&&a.css instanceof Object&&Object.keys(c).forEach(function(p){return s.css.whiteList[p]=c[p]})}else s[i]=a[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new be.FilterXSS(s)}return e.prototype.sanitize=function(a,r){switch(r===void 0&&(r={}),typeof a){case"number":return isNaN(a)||!isFinite(a)?null:a;case"boolean":return a;case"string":return this._xssFilter.process(a);case"object":return this._iterateOverObject(a,r);default:return r.allowUndefined&&typeof a>"u"?void 0:null}},e.prototype.sanitizeUrl=function(a,r){var n=(r??{}).isProtocolRequired,s=n===void 0?!0:n,i=this._trim(a.substring(0,a.indexOf(":"))),c=a==="/",p=/^#/.test(a),m=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return c||p||m?be.escapeAttrValue(a):!i&&!s?be.escapeAttrValue("https://".concat(a)):""},e.prototype.sanitizeHTMLAttribute=function(a,r,n,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(a,r,n,s):be.safeAttrValue(a,r,n,s)},e.prototype.validate=function(a,r){r===void 0&&(r={});var n=this.sanitize(a,r);return{isValid:a===n,sanitized:n}},e.prototype.encodeHTML=function(a){var r=this;return String(a).replace(/[&<>"'\/]/g,function(n){return r._entityMap[n]})},e.prototype.encodeAttrValue=function(a){var r=/^[a-zA-Z0-9]$/;return String(a).replace(/[\x00-\xFF]/g,function(n,s){return r.test(n)?n:"&#x".concat(Number(a.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(a){var r={};return a.forEach(function(n){Object.keys(n).forEach(function(s){Array.isArray(n[s])&&Array.isArray(r[s])?r[s]=r[s].concat(n[s]):r[s]=n[s]})}),r},e.prototype._iterateOverObject=function(a,r){var n=this;r===void 0&&(r={});try{var s=!1,i=void 0;if(Array.isArray(a))i=a.reduce(function(p,m){var y=n.validate(m,r);return y.isValid?p.concat([m]):(s=!0,p.concat([y.sanitized]))},[]);else if(bn(a)){var c=Object.keys(a);i=c.reduce(function(p,m){var y=a[m],v=n.validate(y,r);return v.isValid?p[m]=y:(s=!0,p[m]=v.sanitized),p},{})}else return r.allowUndefined&&typeof a>"u"?void 0:null;return s?i:a}catch{return null}},e.prototype._trim=function(a){return String.prototype.trim?a.trim():a.replace(/(^\s*)|(\s*$)/g,"")},e}();function _e(e){return new Promise(a=>{$e(e).then(r=>{try{a(JSON.parse(r))}catch{a(null)}},()=>a(null))})}function Te(e,a,r){return new File([e],a||"",{type:r??e.type})}function $e(e){return new Promise(a=>{let r=new FileReader;r.onload=function(n){let s=n.target.result;a(s||"")},r.readAsText(e)})}function Ce(e){return e&&(e.endsWith("/")?e:e+"/")}function le(e,a){return a.split(".").reduce(function(r,n){return r?r[n]:void 0},e)}function Ni(e,a,r){let n=a.split(".").reduce(function(s,i){return s?s[i]:void 0},e);return typeof n>"u"?r:n}function rt(e,a,r){let n=a.split(".");n.reduce((s,i,c)=>c===n.length-1?(s[i]=r,r):(s[i]||(s[i]={}),s[i]),e)}function nt(e,a,r){if(le(e,a)){let n=a.split(".");n.reduce((s,i,c)=>c===n.length-1?(s[i]=r,r):s[i],e)}}function ke(e,a,r={}){if(!e)return Promise.reject("Url must be provided");let n={authentication:a,rawResponse:!0,...r};return ye(e,n).then(s=>s.blob())}var En="PK";function Ze(e,a,r,n=[],s){return new Promise((i,c)=>{Gt(e,r,n).then(p=>i(p?Te(p,a,s):null),c)})}function Gt(e,a,r=[]){return new Promise((n,s)=>{ke(e,a).then(i=>{st(i).then(c=>{c.type==="application/json"?_e(c).then(p=>{if(p?.error){let m=p.error.code;m!==void 0&&r.indexOf(m)>=0?n(null):s(p)}else n(c)}):n(c)},s)},s)})}function it(e,a){return new Promise(r=>{On(e,a).then(n=>r(_e(n)),()=>r(null))})}function On(e,a){return new Promise(r=>{let n=An(e,a);Gt(n,a,[400,500]).then(s=>r(st(s)),()=>r(null))})}function An(e,a){return`${Pn(a)}/content/items/${e}/data`}function Qi(e,a){return ke(e,a,{httpMethod:"GET"}).then(n=>st(n)).then(n=>n.type==="application/json"?_e(n):Promise.resolve(null))}function Pn(e){return le(e,"portal")||"https://www.arcgis.com/sharing/rest"}function Wt(e,a,r){return new Promise(n=>{Ze(e,a,r,[500]).then(n,()=>n(null))})}function st(e){return new Promise((a,r)=>{e&&e.size>0&&(e.type.startsWith("text/plain")||e.type.startsWith("application/json"))?$e(e).then(n=>{try{JSON.parse(n),a(new Blob([e],{type:"application/json"}))}catch{n.length>4&&n.substr(0,4)===En?a(new Blob([e],{type:"application/zip"})):n.startsWith("<")?a(new Blob([e],{type:"text/xml"})):a(e)}},r):e?a(e):r()})}function Zt(e,a,r,n){return new Promise((s,i)=>{let c={item:e,folderId:r,authentication:a,params:{...n??{}}};e?.data instanceof File?c.params.file=e.data:c.params.text=e.data,Ue(c).then(p=>p.success?s(p):i(p),p=>i(p))})}var Gn=Le(Pe());function xe(e,a,r){return{...e,fetchedFromSource:a,copiedToDestination:r}}var Wn=Le(Pe());var Kt;(function(e){e[e.NotYetVisited=0]="NotYetVisited",e[e.InProgress=1]="InProgress",e[e.Finished=2]="Finished"})(Kt||(Kt={}));var at;(function(e){e[e.thumbnail=0]="thumbnail",e[e.metadata=1]="metadata",e[e.resource=2]="resource",e[e.data=3]="data",e[e.fakezip=4]="fakezip",e[e.info=5]="info"})(at||(at={}));function Qt(e,a=0){let r=e.split("/"),n=r.pop(),s="",i=r.shift(),c=pe.Resource;if(i)if(i.endsWith("_info_thumbnail"))c=pe.Thumbnail;else if(i.endsWith("_info_metadata"))c=pe.Metadata,n="metadata.xml";else if(i.endsWith("_info_data"))c=pe.Data;else if(i.endsWith("_info_dataz"))n=n.replace(/\.zip$/,""),c=pe.Data;else if(a<1){let p=i.indexOf("_");p>0&&(s=i.substr(p+1))}else s=r.join("/");return{type:c,folder:s,filename:n}}function Yt(e,a){return e.folder?a.zip.folder(e.folder).file(e.filename,e.file,{binary:!0}):a.zip.file(e.filename,e.file,{binary:!0}),a.filelist.push(e),xe(e,!0)}function er(e,a,r){return new Promise(n=>{e.zip.generateAsync({type:"blob"}).then(s=>Te(s,e.filename,"application/zip")).then(s=>De({id:a,resource:s,authentication:r,params:{archive:!0}})).then(()=>n(xe(e,!0,!0)),()=>n(xe(e,!0,!1)))})}var rr=Le(Pe());function nr(e,a,r,n=40){return new Promise(s=>{let i=[],c=[];if(e.length>0){let m=0,y=tr(m);c.push(y);let v=0;e.forEach(l=>{(y.filelist.length>=n||v+l.file.size>=49999e3)&&(m++,y=tr(m),c.push(y),v=0),i.push(Yt(l,y)),v+=l.file.size})}i.length>0?Promise.all(i).then(p=>{p=p.filter(m=>!(m.fetchedFromSource&&typeof m.copiedToDestination>"u")),ti(c,a,r).then(m=>{s(p.concat(m))})}):s([])})}function ti(e,a,r){return new Promise(n=>{let s=[],i=e.filter(c=>Object.keys(c.zip.files).length>0);i.length>0?ir(i,a,r).then(c=>{n(c)}):n(s)})}function tr(e){return{filename:`resources${e}.zip`,zip:new rr.default,filelist:[]}}function ir(e,a,r){return new Promise(n=>{let s=[],i=e.pop(),c=Promise.resolve([]);e.length>0&&(c=ir(e,a,r)),c.then(p=>(s=p,new Promise(m=>{setTimeout(()=>m(),1e3)}))).then(()=>er(i,a,r)).then(p=>{p.filelist.forEach(m=>{s.push(xe(m,!0,p.copiedToDestination))}),n(s)})})}function Xl(e,a,r){return new Promise(n=>{nr(e,a,r).then(s=>{n(s.filter(i=>i.fetchedFromSource&&i.copiedToDestination).map(i=>i.folder+"/"+i.filename))})})}function ri(e,a,r){return Ce(e)+"content/items/"+a+"/resources/"+r}function Ql(e,a,r=[],n=0){return r.map(s=>({url:ri(e,a,s),...Qt(s,n)}))}function Yl(e){let a=e.match(/\.([a-z]+)$/i);return!!a&&"|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|".indexOf("|"+a[0]+"|")>=0}function ec(e,a){let r,n;return a.forEach(s=>{s.type===pe.Thumbnail&&(r=s.url,n=s.filename)}),r?Wt(r,n,e):Promise.resolve(null)}function tc(e,a,r){return yt({id:e,resource:a,authentication:r})}function rc(e,a,r,n){let s=a.split("/"),i=s.length>1?s.slice(0,s.length-1).join("/"):void 0,c=s[s.length-1];return Je({id:e,prefix:i,name:c,resource:r,authentication:n})}export{Pr as a,pe as b,le as c,Ni as d,rt as e,nt as f,it as g,Qi as h,Zt as i,Xl as j,Ql as k,Yl as l,ec as m,tc as n,rc as o};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{B as h,c as n,d as s,f as c,n as l,q as o,w as d}from"./3RC2WF5B.js";import"./C44EKR3M.js";var p=n`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{B as h,c as n,d as s,f as c,n as l,q as o,w as d}from"./NUCM6ABX.js";import"./AZKYXX53.js";var p=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as O}from"./2HW4GV5C.js";import{a as D}from"./PVMRTOAH.js";import{h as N,i as b}from"./ZVRPCQAG.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return void await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as O}from"./UFXHNUVA.js";import{a as D}from"./F4S54KIN.js";import{h as N,i as b}from"./WKEGSNNF.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return void await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as b}from"./4HNFRLEB.js";import"./2QX2DZO7.js";import"./QRM36WK6.js";import"./K4CSMHLX.js";import"./IG3I76TX.js";import"./OAJSYATY.js";import"./MSCUGG2N.js";import"./7WDOCGDK.js";import"./2HQWNDOT.js";import{a as r}from"./FIE266AU.js";import{B as c,c as o,d as a,f as i,q as l,w as n,y as e}from"./3RC2WF5B.js";import"./C44EKR3M.js";var h=o`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as b}from"./65GRV5ZI.js";import"./MCBLASJ3.js";import"./V66DC2RZ.js";import"./2DDJ2AFS.js";import"./KJUPNH26.js";import"./BTPTRXRA.js";import"./ARTYQZHE.js";import"./Q3SDKCO5.js";import"./GD5M2FA3.js";import{a as r}from"./66TACLFN.js";import{B as c,c as o,d as a,f as i,q as l,w as n,y as e}from"./NUCM6ABX.js";import"./AZKYXX53.js";var h=o`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a,b}from"./CNU3TPX7.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a,b}from"./BEUU4V47.js";import"./4DOBOTOA.js";import"./QMZEUTLX.js";import"./R2H5RSJ2.js";import"./AZKYXX53.js";export{a as TemplateEditorTypes,b as TemplateSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./L46SKXK3.js";import"./PVMRTOAH.js";import"./UKMHZ5PP.js";import"./ZVRPCQAG.js";import"./2Y7EB6IS.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./IRVZT2BS.js";import"./C44EKR3M.js";var A=`
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./P3NUNSXP.js";import"./F4S54KIN.js";import"./UFMXTBV5.js";import"./WKEGSNNF.js";import"./YDZXBSPS.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./T2ZDNBN5.js";import"./AZKYXX53.js";var A=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;