@esri/solutions-components 1.0.0-next.20250528.1 → 1.0.0-next.20250528.2

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 (378) hide show
  1. package/dist/cdn/{OGZ3UIZT.js → 27LQAQ6Y.js} +2 -2
  2. package/dist/cdn/{25PBJJQW.js → 2BECX5WX.js} +2 -2
  3. package/dist/cdn/{AYFLC652.js → 2HAFNSIE.js} +2 -2
  4. package/dist/cdn/{LVMAXE6W.js → 2IDGPQJR.js} +2 -2
  5. package/dist/cdn/{O6HZLBPG.js → 2MMQZII3.js} +2 -2
  6. package/dist/cdn/{OXNEUTDS.js → 2OOMOXGH.js} +2 -2
  7. package/dist/cdn/{GUKAJOM3.js → 2TF5G4JI.js} +1 -1
  8. package/dist/cdn/{YQFC4GG5.js → 2XZSJ6JD.js} +2 -2
  9. package/dist/cdn/{VMYRQS35.js → 35BOYRXZ.js} +2 -2
  10. package/dist/cdn/{VJF4PI5U.js → 3LMFSQQR.js} +2 -2
  11. package/dist/cdn/{QTWHZ3DL.js → 3PIEW24G.js} +2 -2
  12. package/dist/cdn/{B7PLQJPS.js → 3S4FG2ZZ.js} +2 -2
  13. package/dist/cdn/{MEJKJ4M5.js → 3SGIDV3I.js} +2 -2
  14. package/dist/cdn/{ZIB46UQF.js → 3WC22OVN.js} +2 -2
  15. package/dist/cdn/{JFW3ETMX.js → 3XJKMZHA.js} +1 -1
  16. package/dist/cdn/{LGMAK23W.js → 455HDVF4.js} +2 -2
  17. package/dist/cdn/{GPPR5STT.js → 4KGZBVTB.js} +2 -2
  18. package/dist/cdn/{4BCOHKBU.js → 4ME5QMIF.js} +2 -2
  19. package/dist/cdn/{3I4NEFH6.js → 4QWQA7SP.js} +2 -2
  20. package/dist/cdn/{TNVAHKZK.js → 4S2I2R2Q.js} +1 -1
  21. package/dist/cdn/{XYAE4MT5.js → 54NDBS5W.js} +2 -2
  22. package/dist/cdn/{6CNRWGJ4.js → 5APFWJZZ.js} +2 -2
  23. package/dist/cdn/{PEAUVPGM.js → 5BKTEPSJ.js} +2 -2
  24. package/dist/cdn/{BQJ4XZB4.js → 5IZBEDEU.js} +1 -1
  25. package/dist/cdn/{EMLYZ2SS.js → 5NIDGVLZ.js} +2 -2
  26. package/dist/cdn/{4FJ6YIEW.js → 5P6SZW5B.js} +2 -2
  27. package/dist/cdn/{BTD7DMX5.js → 5PENO4BC.js} +2 -2
  28. package/dist/cdn/{CDAJFWOQ.js → 5USKOL72.js} +2 -2
  29. package/dist/cdn/{WVH5MJSX.js → 5ZAVVIAH.js} +2 -2
  30. package/dist/cdn/{43IF6RVS.js → 64XCUKMX.js} +2 -2
  31. package/dist/cdn/{JU2E7OJJ.js → 66IB2PZE.js} +2 -2
  32. package/dist/cdn/{PW6BCLMM.js → 6APCAUUT.js} +2 -2
  33. package/dist/cdn/{RHIPAMD6.js → 6CPKRUI3.js} +1 -1
  34. package/dist/cdn/{BQWBXINS.js → 6GVJGNRK.js} +2 -2
  35. package/dist/cdn/{2GFLPWN7.js → 6PWODZF3.js} +2 -2
  36. package/dist/cdn/{WFWVO6JC.js → 6QWS7JEN.js} +2 -2
  37. package/dist/cdn/{NQ4GJ2EY.js → 6RHP2Y7C.js} +1 -1
  38. package/dist/cdn/{OYGGU32Q.js → 6WQKENE2.js} +4 -4
  39. package/dist/cdn/{LDUWYS5W.js → 6WXHOI6Z.js} +2 -2
  40. package/dist/cdn/{LDBZTZKY.js → 6XYU4BZS.js} +2 -2
  41. package/dist/cdn/{AK7RIEHS.js → 72HLVTY7.js} +2 -2
  42. package/dist/cdn/{GOJUA34O.js → 73NJ4RPV.js} +1 -1
  43. package/dist/cdn/{KNTNR7IZ.js → 7GY7BTPK.js} +2 -2
  44. package/dist/cdn/{O5KMAS35.js → 7OZTZCPH.js} +2 -2
  45. package/dist/cdn/{F53ZDM22.js → A2WX4D7A.js} +1 -1
  46. package/dist/cdn/{KGCLTR2S.js → A3JKO4I4.js} +1 -1
  47. package/dist/cdn/{M3IHDXDC.js → A4JM6VWA.js} +2 -2
  48. package/dist/cdn/{NDIWTIWO.js → ABYMP2JA.js} +2 -2
  49. package/dist/cdn/{R73PDU63.js → AF3RJAL5.js} +1 -1
  50. package/dist/cdn/{JQ2FK77O.js → AGRD4ULC.js} +2 -2
  51. package/dist/cdn/{QB3JQLSH.js → AH5AIEIN.js} +1 -1
  52. package/dist/cdn/{GBW3TB6N.js → AHEWCN4W.js} +2 -2
  53. package/dist/cdn/{IYU2EMNF.js → AJUGJQUJ.js} +1 -1
  54. package/dist/cdn/{4EEFLJ7L.js → ARQHAHK5.js} +2 -2
  55. package/dist/cdn/{JSGP47F6.js → ARYFWYUR.js} +1 -1
  56. package/dist/cdn/{4KQPYQDK.js → AT3MTRQS.js} +1 -1
  57. package/dist/cdn/{AJGIKTXY.js → B4HONVWZ.js} +1 -1
  58. package/dist/cdn/{SJXIUCRN.js → BACSZ2Z7.js} +1 -1
  59. package/dist/cdn/{77Q75LZE.js → BANL5YR3.js} +2 -2
  60. package/dist/cdn/{HQRVKXX3.js → BB7RJW6E.js} +2 -2
  61. package/dist/cdn/BGVU5VPJ.js +18 -0
  62. package/dist/cdn/{SJRG6HSF.js → BKQVXWB7.js} +2 -2
  63. package/dist/cdn/{JV6ZPBUH.js → BZFFNFXK.js} +2 -2
  64. package/dist/cdn/{PMGGZDUN.js → C2XKMOX2.js} +2 -2
  65. package/dist/cdn/{HRPJRXCN.js → C3A3SGFC.js} +2 -2
  66. package/dist/cdn/{OC7VO4DN.js → C7TWT6K2.js} +2 -2
  67. package/dist/cdn/{7TRQSZUN.js → CLZ42RFU.js} +1 -1
  68. package/dist/cdn/{KIFEL7BK.js → COLHBQ5X.js} +2 -2
  69. package/dist/cdn/{7EPNN646.js → CPB7DXI3.js} +2 -2
  70. package/dist/cdn/{ZYKXXCGE.js → CQ6SIDRV.js} +2 -2
  71. package/dist/cdn/{RCJYMJC7.js → CQMNR2XZ.js} +1 -1
  72. package/dist/cdn/{CJWTSXB2.js → CR3NXOPF.js} +2 -2
  73. package/dist/cdn/{ZYGUTXA6.js → CRYN5SYR.js} +2 -2
  74. package/dist/cdn/CSTT6IAN.js +4 -0
  75. package/dist/cdn/{VSZYFVFD.js → CXW7Q33E.js} +2 -2
  76. package/dist/cdn/{XIE4A7B3.js → D6KVYJKN.js} +2 -2
  77. package/dist/cdn/{CQDWK2WT.js → DCP6AHDZ.js} +2 -2
  78. package/dist/cdn/{W5Y6RZM3.js → DJI7J3C3.js} +2 -2
  79. package/dist/cdn/{KIBBTGLB.js → DMRVOPBM.js} +2 -2
  80. package/dist/cdn/{T6F66PP6.js → DT2GGHBN.js} +2 -2
  81. package/dist/cdn/{UZTDCPJS.js → DUOJYQGU.js} +2 -2
  82. package/dist/cdn/{FJFCA3JN.js → DWBMQBAB.js} +2 -2
  83. package/dist/cdn/{DTGGAA3W.js → DZXTVGRQ.js} +2 -2
  84. package/dist/cdn/{WWUUOJSY.js → ELBSRAMH.js} +2 -2
  85. package/dist/cdn/{ND675HM5.js → ETSCX6UD.js} +1 -1
  86. package/dist/cdn/{KSS3APGW.js → EU3TXNP2.js} +2 -2
  87. package/dist/cdn/{W3GEDPI3.js → EXWX56R4.js} +2 -2
  88. package/dist/cdn/F7YKY2OF.js +4 -0
  89. package/dist/cdn/{G5U4WJ6F.js → FATTGIYI.js} +2 -2
  90. package/dist/cdn/{CY46FXGX.js → FCHOLYNH.js} +2 -2
  91. package/dist/cdn/{VPZ5SZQL.js → FEWEA7AN.js} +2 -2
  92. package/dist/cdn/{KRGDTQIC.js → FF7R4YTO.js} +2 -2
  93. package/dist/cdn/{PIIJOLSO.js → FNHXNPPV.js} +2 -2
  94. package/dist/cdn/{MV7WFJWQ.js → FPWLAJBO.js} +1 -1
  95. package/dist/cdn/{YYNAOG7P.js → FTCXP7FD.js} +2 -2
  96. package/dist/cdn/FY5WSCFM.js +4 -0
  97. package/dist/cdn/{QBAOABKC.js → GA7L2IWK.js} +2 -2
  98. package/dist/cdn/{O3VZ3S2D.js → GLCP6BKS.js} +2 -2
  99. package/dist/cdn/{ZWADX6AH.js → GLL5XNBZ.js} +2 -2
  100. package/dist/cdn/{D7KUWDF4.js → GOHA6HJP.js} +2 -2
  101. package/dist/cdn/{G2LRWQIG.js → GPKFZD7B.js} +2 -2
  102. package/dist/cdn/{BUFXQMR4.js → GR5ID3PD.js} +1 -1
  103. package/dist/cdn/{XTBY6TYN.js → GUP4UK2N.js} +2 -2
  104. package/dist/cdn/{2XJALQPT.js → GVI4R5J2.js} +2 -2
  105. package/dist/cdn/{KONDPSKH.js → HJJD6V2O.js} +2 -2
  106. package/dist/cdn/{CHQTMB53.js → HM7CZ2CI.js} +2 -2
  107. package/dist/cdn/{DWC5BEDO.js → HM7JZP3A.js} +1 -1
  108. package/dist/cdn/{LLDUTJLC.js → HOYA4JWQ.js} +2 -2
  109. package/dist/cdn/{LIA4W3XJ.js → HOYVNZRK.js} +2 -2
  110. package/dist/cdn/{TILTEUIM.js → HTYN6WXU.js} +2 -2
  111. package/dist/cdn/{IFDRGA6G.js → HYTRDNUE.js} +2 -2
  112. package/dist/cdn/{WIUOXWKD.js → I4KZ2A5P.js} +2 -2
  113. package/dist/cdn/{NRKV4EJ5.js → IBDFSTWX.js} +2 -2
  114. package/dist/cdn/{ZGCS2MUQ.js → IBEMOISL.js} +2 -2
  115. package/dist/cdn/{JPKSZ5IW.js → IE24UY4O.js} +2 -2
  116. package/dist/cdn/{6GZ3P7MW.js → IIPLB2RS.js} +2 -2
  117. package/dist/cdn/{VQ6Q6POM.js → IIX655ZM.js} +1 -1
  118. package/dist/cdn/{GE7Z77AB.js → IJBFY7JW.js} +2 -2
  119. package/dist/cdn/{TE37N2QX.js → INDADVJP.js} +2 -2
  120. package/dist/cdn/{4ICGVS3H.js → INY65VHN.js} +2 -2
  121. package/dist/cdn/{OFT4RWEQ.js → IP6ATOM6.js} +2 -2
  122. package/dist/cdn/{TJ7USYVU.js → IPIQ52KV.js} +2 -2
  123. package/dist/cdn/{KH77SOOF.js → IUBGSA3I.js} +1 -1
  124. package/dist/cdn/{ZRSXDUMU.js → IVXXAKCK.js} +2 -2
  125. package/dist/cdn/{FGXWHEON.js → J5LWWUIP.js} +2 -2
  126. package/dist/cdn/{NXSWGBEL.js → J62YOWFC.js} +2 -2
  127. package/dist/cdn/{KCERPNOX.js → JATAGG24.js} +2 -2
  128. package/dist/cdn/{LAMCTX2N.js → JBDNXDLS.js} +2 -2
  129. package/dist/cdn/{3WNIWICF.js → JBG5SAVM.js} +1 -1
  130. package/dist/cdn/{VOA4OGLR.js → JBZH2KKN.js} +2 -2
  131. package/dist/cdn/{2BKLFFV3.js → JDSGIOVR.js} +2 -2
  132. package/dist/cdn/{ZXNSOMLE.js → JFVYQIUH.js} +2 -2
  133. package/dist/cdn/{GWZZSWGD.js → JHFAVQVG.js} +2 -2
  134. package/dist/cdn/{UU7VMXV4.js → JKB6LYON.js} +2 -2
  135. package/dist/cdn/{KTBOVBO5.js → JSDNVCX7.js} +2 -2
  136. package/dist/cdn/{SXA34E2S.js → JY7KFFEJ.js} +2 -2
  137. package/dist/cdn/{D47MDJ3H.js → K6SJCTAS.js} +1 -1
  138. package/dist/cdn/K72NRGFR.js +4 -0
  139. package/dist/cdn/{LUEDPLY5.js → KETC3CAC.js} +2 -2
  140. package/dist/cdn/{NYVDHE7E.js → KFFWCZKY.js} +2 -2
  141. package/dist/cdn/{TZMAAM5M.js → KOQOMT46.js} +2 -2
  142. package/dist/cdn/{E4W6U2SB.js → KPKDVL2J.js} +2 -2
  143. package/dist/cdn/{6NZPPYBU.js → KSMEO6R5.js} +2 -2
  144. package/dist/cdn/{OLCSJ76K.js → KZWHC2ST.js} +2 -2
  145. package/dist/cdn/{72HVUAV7.js → L32HIJPV.js} +2 -2
  146. package/dist/cdn/{CBDBYDEC.js → L3IX5SCS.js} +2 -2
  147. package/dist/cdn/{Y5PUS34W.js → LBJE5BZD.js} +1 -1
  148. package/dist/cdn/{ETIBVIWV.js → LWBDG7UH.js} +2 -2
  149. package/dist/cdn/{I6S2QECH.js → LYQL4O5M.js} +2 -2
  150. package/dist/cdn/{AICVPUBP.js → LYWU4RZH.js} +2 -2
  151. package/dist/cdn/{JLOUT5MX.js → M3OFPTT3.js} +2 -2
  152. package/dist/cdn/{PDSHIJNC.js → MHSBM4WB.js} +2 -2
  153. package/dist/cdn/{LGDOEW7U.js → MRMD4H7O.js} +2 -2
  154. package/dist/cdn/{KHX3R2Z4.js → MRUWYVHI.js} +2 -2
  155. package/dist/cdn/{LSN7P2WQ.js → MVN27KOI.js} +2 -2
  156. package/dist/cdn/{7B4R56TM.js → N2MZJBHS.js} +2 -2
  157. package/dist/cdn/{CQVD5CBU.js → N324UTZ5.js} +2 -2
  158. package/dist/cdn/{FRFEDLSJ.js → N4OHCK66.js} +2 -2
  159. package/dist/cdn/{XT622WJC.js → N5UBRYXZ.js} +2 -2
  160. package/dist/cdn/{RV2K4TCT.js → NGO6CV3G.js} +2 -2
  161. package/dist/cdn/{L3QLTAE7.js → NNQAPUKF.js} +1 -1
  162. package/dist/cdn/{JKUIOQXV.js → NZCTTZQJ.js} +2 -2
  163. package/dist/cdn/{7O72W7MF.js → O4UWY4LV.js} +2 -2
  164. package/dist/cdn/O4YIZH4Y.js +4 -0
  165. package/dist/cdn/{Z2PPSD4G.js → OC334CIK.js} +2 -2
  166. package/dist/cdn/{QJF7KQWQ.js → OC44744D.js} +2 -2
  167. package/dist/cdn/{S6W7RXCG.js → OI3SHZPE.js} +2 -2
  168. package/dist/cdn/{3VARNN3H.js → OPD73MSN.js} +2 -2
  169. package/dist/cdn/{XGZWD23R.js → OW7E6OZU.js} +2 -2
  170. package/dist/cdn/{Y35URT5Q.js → PGFLUWJN.js} +2 -2
  171. package/dist/cdn/{3UDIIW5C.js → PLAM4ZSV.js} +2 -2
  172. package/dist/cdn/{UN6AJVDX.js → POG7OHTN.js} +2 -2
  173. package/dist/cdn/{WWYCJLBB.js → PP63JUSI.js} +2 -2
  174. package/dist/cdn/{UREM6GTN.js → PRB7DA6V.js} +2 -2
  175. package/dist/cdn/PTLSWZZ2.js +4 -0
  176. package/dist/cdn/{IS7TFPZJ.js → PZFNMBVW.js} +2 -2
  177. package/dist/cdn/{CKS2TCJA.js → Q5HH7VHO.js} +2 -2
  178. package/dist/cdn/{35V32ZGG.js → QBYJ6PX6.js} +2 -2
  179. package/dist/cdn/{AUPBYR3G.js → QDFSCCOX.js} +2 -2
  180. package/dist/cdn/{MKKLL5ZS.js → QDMUSM3I.js} +2 -2
  181. package/dist/cdn/{MIYEYP2E.js → QIVTK7HW.js} +2 -2
  182. package/dist/cdn/{O5J4RJ7B.js → QO56HLQG.js} +2 -2
  183. package/dist/cdn/{FCUG4KCK.js → QOPQPJ6E.js} +1 -1
  184. package/dist/cdn/{MD4FE2CK.js → QPNL4XAH.js} +1 -1
  185. package/dist/cdn/{JR76OCEB.js → QPRN44LY.js} +2 -2
  186. package/dist/cdn/{OH2C77EU.js → QZVIZAH5.js} +2 -2
  187. package/dist/cdn/{NLEAVUXF.js → R53BLRMX.js} +2 -2
  188. package/dist/cdn/{VUPD7KXT.js → RFYBQIXD.js} +2 -2
  189. package/dist/cdn/{5R67XATC.js → RIQZUFV2.js} +2 -2
  190. package/dist/cdn/{ZGLNJWEU.js → RJJHXXVX.js} +2 -2
  191. package/dist/cdn/{VWG7PXDE.js → ROR6SI6U.js} +2 -2
  192. package/dist/cdn/{ECUWZTYK.js → RR3GDG64.js} +1 -1
  193. package/dist/cdn/{NG7TRKJC.js → RS6TXCOP.js} +2 -2
  194. package/dist/cdn/{FU7XT4WQ.js → RTTXS2RX.js} +2 -2
  195. package/dist/cdn/{CFAG2FSB.js → RVNPJNAS.js} +2 -2
  196. package/dist/cdn/{ATD6DCLS.js → RVOILI7H.js} +2 -2
  197. package/dist/cdn/{KLOTZOBR.js → S56UY63G.js} +2 -2
  198. package/dist/cdn/{JXE3ERND.js → SDKQPMU5.js} +2 -2
  199. package/dist/cdn/{OWFH5BT6.js → SFJHXT65.js} +1 -1
  200. package/dist/cdn/{TWC3U47D.js → SFS5GEDR.js} +2 -2
  201. package/dist/cdn/{MLUU7VQW.js → SGX5RQ3B.js} +2 -2
  202. package/dist/cdn/{HSQGDLNP.js → SGXJZQ4L.js} +2 -2
  203. package/dist/cdn/{ZEXSMSCH.js → SLKM4GXK.js} +2 -2
  204. package/dist/cdn/{6EP7M7XJ.js → SMLBVO43.js} +2 -2
  205. package/dist/cdn/{C6CUID27.js → T2DUZEDU.js} +1 -1
  206. package/dist/cdn/{ZQ3NC6T5.js → TCDUH4QD.js} +2 -2
  207. package/dist/cdn/{Q5XIIJWU.js → TCRWJTPW.js} +2 -2
  208. package/dist/cdn/{43OPIVHU.js → TKILZGVC.js} +2 -2
  209. package/dist/cdn/{ZZOPKSTN.js → TMXXOYO3.js} +2 -2
  210. package/dist/cdn/{BZAHWVGQ.js → TQ24PIOH.js} +1 -1
  211. package/dist/cdn/{XTJG5DFS.js → TSB43IHY.js} +2 -2
  212. package/dist/cdn/{Z3IGCQ5P.js → TWFIXUDH.js} +2 -2
  213. package/dist/cdn/{T7CCQFVO.js → TWGLV5JH.js} +2 -2
  214. package/dist/cdn/{5P7OI5M3.js → U2EADFOW.js} +2 -2
  215. package/dist/cdn/{J6V5STA2.js → U4N25UBP.js} +2 -2
  216. package/dist/cdn/{QAYAJ4FV.js → UBUVKOMA.js} +2 -2
  217. package/dist/cdn/{VSHIFJKY.js → UFQAANOF.js} +2 -2
  218. package/dist/cdn/{MZR4QIPT.js → UHBAUGQ4.js} +1 -1
  219. package/dist/cdn/{OTBCJJWT.js → UKDRKFWF.js} +2 -2
  220. package/dist/cdn/{WFZTAET5.js → UOL6LQRJ.js} +2 -2
  221. package/dist/cdn/{RTK3SRIT.js → UOWOGIE5.js} +2 -2
  222. package/dist/cdn/{EEPQSN7Q.js → UQBMV5BY.js} +2 -2
  223. package/dist/cdn/{PQYDJLKT.js → UZVRS2XU.js} +1 -1
  224. package/dist/cdn/{FHO5VR6B.js → V5UFRWYB.js} +2 -2
  225. package/dist/cdn/{U4QTERGW.js → VGPMZBNK.js} +2 -2
  226. package/dist/cdn/{EBAAUYON.js → VUHZ6YXM.js} +2 -2
  227. package/dist/cdn/{V6HLBAH2.js → VXCG5LEV.js} +2 -2
  228. package/dist/cdn/{GEXPP6OZ.js → VYMYL6JP.js} +2 -2
  229. package/dist/cdn/{GWBHN5NX.js → WO7YGQFB.js} +2 -2
  230. package/dist/cdn/{F3PTGHYO.js → WVVZ4CLC.js} +2 -2
  231. package/dist/cdn/{XUB7T7AY.js → WX4ZUMZN.js} +2 -2
  232. package/dist/cdn/{EEA33WZI.js → WYRW7PJT.js} +2 -2
  233. package/dist/cdn/{YHLJU5F5.js → X4W4ZZ7O.js} +2 -2
  234. package/dist/cdn/{7PBXJUEO.js → X6GE3EIS.js} +2 -2
  235. package/dist/cdn/{PTJY6HJV.js → XA34OFHO.js} +2 -2
  236. package/dist/cdn/{JLDFHYKB.js → XCO35G7O.js} +2 -2
  237. package/dist/cdn/{LEPBL2Y4.js → XEO56VFL.js} +2 -2
  238. package/dist/cdn/{B3LCPBNL.js → XFDA7NEB.js} +2 -2
  239. package/dist/cdn/{U7UDQUDH.js → XFZL2VCD.js} +2 -2
  240. package/dist/cdn/{SDZEVUAE.js → XHZTR3BJ.js} +2 -2
  241. package/dist/cdn/{WPS526RU.js → XIJFQNOB.js} +2 -2
  242. package/dist/cdn/{W7L5ZB6Y.js → XL4TPC5B.js} +2 -2
  243. package/dist/cdn/{MXWAIEZD.js → XN5WML6J.js} +2 -2
  244. package/dist/cdn/{IPQ4FLYZ.js → XOHNTOVE.js} +2 -2
  245. package/dist/cdn/{I6XJAIFC.js → XQKIPHIH.js} +2 -2
  246. package/dist/cdn/{ATVPQHJY.js → XQNKJT3W.js} +2 -2
  247. package/dist/cdn/{XA42UGQ7.js → XSNJZI7M.js} +2 -2
  248. package/dist/cdn/XY544Q64.js +4 -0
  249. package/dist/cdn/Y236OPC4.js +4 -0
  250. package/dist/cdn/{JTR2SH4G.js → Y3MVHWDO.js} +2 -2
  251. package/dist/cdn/{N25XK6FN.js → Y4M5KS3M.js} +1 -1
  252. package/dist/cdn/{KQUX7BEF.js → Y5QDB3GF.js} +2 -2
  253. package/dist/cdn/{RPFPO2CV.js → YAK6SM64.js} +2 -2
  254. package/dist/cdn/{C2QYX64L.js → YFG6Q4W4.js} +2 -2
  255. package/dist/cdn/{WVBNKWGH.js → YOSMKTOJ.js} +2 -2
  256. package/dist/cdn/{P3YM6KJZ.js → YQHRK3AQ.js} +2 -2
  257. package/dist/cdn/{GMXEQORB.js → YTSZZUYS.js} +2 -2
  258. package/dist/cdn/{PRJAT3UX.js → YUOGYP2W.js} +2 -2
  259. package/dist/cdn/{V52IJEN4.js → YVBTB4PY.js} +2 -2
  260. package/dist/cdn/{XZIMLV7H.js → YXUMTVRG.js} +1 -1
  261. package/dist/cdn/{CSHPIQ5D.js → YZCPJ5JI.js} +2 -2
  262. package/dist/cdn/{5GTGLHQA.js → Z2MJRFIE.js} +2 -2
  263. package/dist/cdn/{KANXN4TE.js → Z3T7XWKC.js} +2 -2
  264. package/dist/cdn/{6HHL5FY3.js → Z6TJZJH7.js} +2 -2
  265. package/dist/cdn/{XKK7HJBO.js → ZA4R3KFB.js} +2 -2
  266. package/dist/cdn/{KREDNK7J.js → ZEIIGNWR.js} +2 -2
  267. package/dist/cdn/{PWAKHJK5.js → ZEZCVFYU.js} +2 -2
  268. package/dist/cdn/{NX52APT5.js → ZGO54R7R.js} +2 -2
  269. package/dist/cdn/{O6O3MX2S.js → ZHXAH2ZO.js} +2 -2
  270. package/dist/cdn/{UPK424CD.js → ZJKJXFXC.js} +2 -2
  271. package/dist/cdn/{6CDGGVGE.js → ZJXXAWMH.js} +1 -1
  272. package/dist/cdn/{YI5CBQRZ.js → ZLNLCCC6.js} +1 -1
  273. package/dist/cdn/{IE537KVP.js → ZOPBEUAZ.js} +2 -2
  274. package/dist/cdn/{YJSQANUI.js → ZUGYY22V.js} +2 -2
  275. package/dist/cdn/{ANGZ4WNK.js → ZWGDNNV7.js} +2 -2
  276. package/dist/cdn/{G24GFGOQ.js → ZZAKVFN7.js} +2 -2
  277. package/dist/cdn/index.js +2 -2
  278. package/dist/chunks/Auth.js +1 -1
  279. package/dist/chunks/cardFetchingUtils.js +1 -1
  280. package/dist/chunks/common.js +1 -1
  281. package/dist/chunks/deployAppContexts.js +1 -1
  282. package/dist/chunks/downloadUtils.js +1 -1
  283. package/dist/chunks/index.js +1 -1
  284. package/dist/chunks/interfaces.js +1 -1
  285. package/dist/chunks/loadModules.js +1 -1
  286. package/dist/chunks/mapViewUtils.js +1 -1
  287. package/dist/chunks/pciUtils.js +1 -1
  288. package/dist/chunks/popupUtils.js +1 -1
  289. package/dist/chunks/publicNotificationStore.js +1 -1
  290. package/dist/chunks/queryUtils.js +1 -1
  291. package/dist/chunks/runtime.js +1 -1
  292. package/dist/chunks/solution-store.js +1 -1
  293. package/dist/chunks/templates.js +1 -1
  294. package/dist/chunks/useT9n.js +1 -1
  295. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  296. package/dist/components/basemap-gallery/customElement.js +1 -1
  297. package/dist/components/buffer-tools/customElement.js +1 -1
  298. package/dist/components/card-manager/customElement.js +1 -1
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.js +1 -1
  301. package/dist/components/create-related-feature/customElement.js +1 -1
  302. package/dist/components/crowdsource-manager/customElement.js +1 -1
  303. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  304. package/dist/components/deduct-calculator/customElement.js +1 -1
  305. package/dist/components/delete-button/customElement.js +1 -1
  306. package/dist/components/delete-dialog/customElement.js +1 -1
  307. package/dist/components/edit-card/customElement.js +1 -1
  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.js +3 -3
  313. package/dist/components/json-editor/customElement.js +1 -1
  314. package/dist/components/layer-list/customElement.js +1 -1
  315. package/dist/components/layer-table/customElement.js +1 -1
  316. package/dist/components/map-card/customElement.js +1 -1
  317. package/dist/components/map-draw-tools/customElement.js +1 -1
  318. package/dist/components/map-fullscreen/customElement.js +1 -1
  319. package/dist/components/map-layer-picker/customElement.js +1 -1
  320. package/dist/components/map-legend/customElement.js +1 -1
  321. package/dist/components/map-picker/customElement.js +1 -1
  322. package/dist/components/map-search/customElement.js +1 -1
  323. package/dist/components/map-select-tools/customElement.js +1 -1
  324. package/dist/components/map-tools/customElement.js +1 -1
  325. package/dist/components/pci-calculator/customElement.js +1 -1
  326. package/dist/components/pdf-download/customElement.js +1 -1
  327. package/dist/components/public-notification/customElement.js +1 -1
  328. package/dist/components/refine-selection/customElement.js +1 -1
  329. package/dist/components/selection-tool/customElement.js +1 -1
  330. package/dist/components/solution-article-card/customElement.js +1 -1
  331. package/dist/components/solution-configuration/customElement.js +1 -1
  332. package/dist/components/solution-configure-panel/customElement.js +1 -1
  333. package/dist/components/solution-configure-titles/customElement.js +1 -1
  334. package/dist/components/solution-contents/customElement.js +1 -1
  335. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  336. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  337. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  338. package/dist/components/solution-deployed-card/customElement.js +1 -1
  339. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  340. package/dist/components/solution-details-card/customElement.js +1 -1
  341. package/dist/components/solution-details-panel/customElement.js +1 -1
  342. package/dist/components/solution-item/customElement.js +1 -1
  343. package/dist/components/solution-item-accordion/customElement.js +1 -1
  344. package/dist/components/solution-item-details/customElement.js +1 -1
  345. package/dist/components/solution-item-icon/customElement.js +1 -1
  346. package/dist/components/solution-item-sharing/customElement.js +1 -1
  347. package/dist/components/solution-items-diagram/customElement.js +1 -1
  348. package/dist/components/solution-organization-variables/customElement.js +1 -1
  349. package/dist/components/solution-resource-item/customElement.js +1 -1
  350. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  351. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  352. package/dist/components/solution-template-data/customElement.js +1 -1
  353. package/dist/components/solution-variables/customElement.js +1 -1
  354. package/dist/components/solutions-all-panel/customElement.js +1 -1
  355. package/dist/components/solutions-all-shell/customElement.js +1 -1
  356. package/dist/components/solutions-article-panel/customElement.js +1 -1
  357. package/dist/components/solutions-articles/customElement.js +1 -1
  358. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  359. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  360. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  361. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  362. package/dist/components/spatial-ref/customElement.js +1 -1
  363. package/dist/components/store-manager/customElement.js +1 -1
  364. package/dist/docs/api.json +1 -1
  365. package/dist/docs/docs.json +1 -1
  366. package/dist/docs/web-types.json +1 -1
  367. package/dist/index.js +1 -1
  368. package/dist/loader.js +1 -1
  369. package/package.json +1 -1
  370. package/dist/cdn/4CZ6KARN.js +0 -4
  371. package/dist/cdn/BYQMGQYW.js +0 -4
  372. package/dist/cdn/CSLY3NAJ.js +0 -4
  373. package/dist/cdn/GFGFGTPN.js +0 -18
  374. package/dist/cdn/H2B7HOSC.js +0 -4
  375. package/dist/cdn/IOMQBKLV.js +0 -4
  376. package/dist/cdn/JDNXYCIG.js +0 -4
  377. package/dist/cdn/NHLCW2BL.js +0 -4
  378. package/dist/cdn/ZIBR3KWF.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.20250528.1 */
4
- import{c as bt}from"./MXWAIEZD.js";import{a as Xe,b as gt,c as xt,d as yt,i as wt,j as Ae,k as vt,l as Qe,m as Ye}from"./PEAUVPGM.js";import{b as mt}from"./PQYDJLKT.js";import{a as Oe,c as yr,d as De}from"./AJGIKTXY.js";var Fe=yr((Et,tt)=>{(function(e){typeof Et=="object"&&typeof tt<"u"?tt.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(o,t,r){function s(p,m){if(!t[p]){if(!o[p]){var g=typeof Oe=="function"&&Oe;if(!m&&g)return g(p,!0);if(i)return i(p,!0);var v=new Error("Cannot find module '"+p+"'");throw v.code="MODULE_NOT_FOUND",v}var c=t[p]={exports:{}};o[p][0].call(c.exports,function(x){var u=o[p][1][x];return s(u||x)},c,c.exports,e,o,t,r)}return t[p].exports}for(var i=typeof Oe=="function"&&Oe,l=0;l<r.length;l++)s(r[l]);return s}({1:[function(e,o,t){"use strict";var r=e("./utils"),s=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(l){for(var p,m,g,v,c,x,u,h=[],f=0,w=l.length,_=w,S=r.getTypeOf(l)!=="string";f<l.length;)_=w-f,g=S?(p=l[f++],m=f<w?l[f++]:0,f<w?l[f++]:0):(p=l.charCodeAt(f++),m=f<w?l.charCodeAt(f++):0,f<w?l.charCodeAt(f++):0),v=p>>2,c=(3&p)<<4|m>>4,x=1<_?(15&m)<<2|g>>6:64,u=2<_?63&g:64,h.push(i.charAt(v)+i.charAt(c)+i.charAt(x)+i.charAt(u));return h.join("")},t.decode=function(l){var p,m,g,v,c,x,u=0,h=0,f="data:";if(l.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var w,_=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===i.charAt(64)&&_--,l.charAt(l.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<l.length;)p=i.indexOf(l.charAt(u++))<<2|(v=i.indexOf(l.charAt(u++)))>>4,m=(15&v)<<4|(c=i.indexOf(l.charAt(u++)))>>2,g=(3&c)<<6|(x=i.indexOf(l.charAt(u++))),w[h++]=p,c!==64&&(w[h++]=m),x!==64&&(w[h++]=g);return w}},{"./support":30,"./utils":32}],2:[function(e,o,t){"use strict";var r=e("./external"),s=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),l=e("./stream/DataLengthProbe");function p(m,g,v,c,x){this.compressedSize=m,this.uncompressedSize=g,this.crc32=v,this.compression=c,this.compressedContent=x}p.prototype={getContentWorker:function(){var m=new s(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),g=this;return m.on("end",function(){if(this.streamInfo.data_length!==g.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(m,g,v){return m.pipe(new i).pipe(new l("uncompressedSize")).pipe(g.compressWorker(v)).pipe(new l("compressedSize")).withStreamInfo("compression",g)},o.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,o,t){"use strict";var r=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,o,t){"use strict";var r=e("./utils"),s=function(){for(var i,l=[],p=0;p<256;p++){i=p;for(var m=0;m<8;m++)i=1&i?3988292384^i>>>1:i>>>1;l[p]=i}return l}();o.exports=function(i,l){return i!==void 0&&i.length?r.getTypeOf(i)!=="string"?function(p,m,g,v){var c=s,x=v+g;p^=-1;for(var u=v;u<x;u++)p=p>>>8^c[255&(p^m[u])];return-1^p}(0|l,i,i.length,0):function(p,m,g,v){var c=s,x=v+g;p^=-1;for(var u=v;u<x;u++)p=p>>>8^c[255&(p^m.charCodeAt(u))];return-1^p}(0|l,i,i.length,0):0}},{"./utils":32}],5:[function(e,o,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,o,t){"use strict";var r=null;r=typeof Promise<"u"?Promise:e("lie"),o.exports={Promise:r}},{lie:37}],7:[function(e,o,t){"use strict";var r=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),i=e("./utils"),l=e("./stream/GenericWorker"),p=r?"uint8array":"array";function m(g,v){l.call(this,"FlateWorker/"+g),this._pako=null,this._pakoAction=g,this._pakoOptions=v,this.meta={}}t.magic="\b\0",i.inherits(m,l),m.prototype.processChunk=function(g){this.meta=g.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(p,g.data),!1)},m.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){l.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 g=this;this._pako.onData=function(v){g.push({data:v,meta:g.meta})}},t.compressWorker=function(g){return new m("Deflate",g)},t.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,o,t){"use strict";function r(c,x){var u,h="";for(u=0;u<x;u++)h+=String.fromCharCode(255&c),c>>>=8;return h}function s(c,x,u,h,f,w){var _,S,I=c.file,R=c.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,a=b.length!==G.length,L="",X="",B="",Q=I.dir,W=I.date,J={crc32:0,compressedSize:0,uncompressedSize:0};x&&!u||(J.crc32=c.crc32,J.compressedSize=c.compressedSize,J.uncompressedSize=c.uncompressedSize);var A=0;x&&(A|=8),T||!C&&!a||(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=r(1,1)+r(m(N),4)+F,L+="up"+r(X.length,2)+X),a&&(B=r(1,1)+r(m(q),4)+b,L+="uc"+r(B.length,2)+B);var $="";return $+=`
3
+ v1.0.0-next.20250528.2 */
4
+ import{c as bt}from"./XN5WML6J.js";import{a as Xe,b as gt,c as xt,d as yt,i as wt,j as Ae,k as vt,l as Qe,m as Ye}from"./5BKTEPSJ.js";import{b as mt}from"./UZVRS2XU.js";import{a as Oe,c as yr,d as De}from"./B4HONVWZ.js";var Fe=yr((Et,tt)=>{(function(e){typeof Et=="object"&&typeof tt<"u"?tt.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(o,t,r){function s(p,m){if(!t[p]){if(!o[p]){var g=typeof Oe=="function"&&Oe;if(!m&&g)return g(p,!0);if(i)return i(p,!0);var v=new Error("Cannot find module '"+p+"'");throw v.code="MODULE_NOT_FOUND",v}var c=t[p]={exports:{}};o[p][0].call(c.exports,function(x){var u=o[p][1][x];return s(u||x)},c,c.exports,e,o,t,r)}return t[p].exports}for(var i=typeof Oe=="function"&&Oe,l=0;l<r.length;l++)s(r[l]);return s}({1:[function(e,o,t){"use strict";var r=e("./utils"),s=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(l){for(var p,m,g,v,c,x,u,h=[],f=0,w=l.length,_=w,S=r.getTypeOf(l)!=="string";f<l.length;)_=w-f,g=S?(p=l[f++],m=f<w?l[f++]:0,f<w?l[f++]:0):(p=l.charCodeAt(f++),m=f<w?l.charCodeAt(f++):0,f<w?l.charCodeAt(f++):0),v=p>>2,c=(3&p)<<4|m>>4,x=1<_?(15&m)<<2|g>>6:64,u=2<_?63&g:64,h.push(i.charAt(v)+i.charAt(c)+i.charAt(x)+i.charAt(u));return h.join("")},t.decode=function(l){var p,m,g,v,c,x,u=0,h=0,f="data:";if(l.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var w,_=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===i.charAt(64)&&_--,l.charAt(l.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<l.length;)p=i.indexOf(l.charAt(u++))<<2|(v=i.indexOf(l.charAt(u++)))>>4,m=(15&v)<<4|(c=i.indexOf(l.charAt(u++)))>>2,g=(3&c)<<6|(x=i.indexOf(l.charAt(u++))),w[h++]=p,c!==64&&(w[h++]=m),x!==64&&(w[h++]=g);return w}},{"./support":30,"./utils":32}],2:[function(e,o,t){"use strict";var r=e("./external"),s=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),l=e("./stream/DataLengthProbe");function p(m,g,v,c,x){this.compressedSize=m,this.uncompressedSize=g,this.crc32=v,this.compression=c,this.compressedContent=x}p.prototype={getContentWorker:function(){var m=new s(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),g=this;return m.on("end",function(){if(this.streamInfo.data_length!==g.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(m,g,v){return m.pipe(new i).pipe(new l("uncompressedSize")).pipe(g.compressWorker(v)).pipe(new l("compressedSize")).withStreamInfo("compression",g)},o.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,o,t){"use strict";var r=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,o,t){"use strict";var r=e("./utils"),s=function(){for(var i,l=[],p=0;p<256;p++){i=p;for(var m=0;m<8;m++)i=1&i?3988292384^i>>>1:i>>>1;l[p]=i}return l}();o.exports=function(i,l){return i!==void 0&&i.length?r.getTypeOf(i)!=="string"?function(p,m,g,v){var c=s,x=v+g;p^=-1;for(var u=v;u<x;u++)p=p>>>8^c[255&(p^m[u])];return-1^p}(0|l,i,i.length,0):function(p,m,g,v){var c=s,x=v+g;p^=-1;for(var u=v;u<x;u++)p=p>>>8^c[255&(p^m.charCodeAt(u))];return-1^p}(0|l,i,i.length,0):0}},{"./utils":32}],5:[function(e,o,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,o,t){"use strict";var r=null;r=typeof Promise<"u"?Promise:e("lie"),o.exports={Promise:r}},{lie:37}],7:[function(e,o,t){"use strict";var r=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),i=e("./utils"),l=e("./stream/GenericWorker"),p=r?"uint8array":"array";function m(g,v){l.call(this,"FlateWorker/"+g),this._pako=null,this._pakoAction=g,this._pakoOptions=v,this.meta={}}t.magic="\b\0",i.inherits(m,l),m.prototype.processChunk=function(g){this.meta=g.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(p,g.data),!1)},m.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){l.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 g=this;this._pako.onData=function(v){g.push({data:v,meta:g.meta})}},t.compressWorker=function(g){return new m("Deflate",g)},t.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,o,t){"use strict";function r(c,x){var u,h="";for(u=0;u<x;u++)h+=String.fromCharCode(255&c),c>>>=8;return h}function s(c,x,u,h,f,w){var _,S,I=c.file,R=c.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,a=b.length!==G.length,L="",X="",B="",Q=I.dir,W=I.date,J={crc32:0,compressedSize:0,uncompressedSize:0};x&&!u||(J.crc32=c.crc32,J.compressedSize=c.compressedSize,J.uncompressedSize=c.uncompressedSize);var A=0;x&&(A|=8),T||!C&&!a||(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=r(1,1)+r(m(N),4)+F,L+="up"+r(X.length,2)+X),a&&(B=r(1,1)+r(m(q),4)+b,L+="uc"+r(B.length,2)+B);var $="";return $+=`
5
5
  \0`,$+=r(A,2),$+=R.magic,$+=r(_,2),$+=r(S,2),$+=r(J.crc32,4),$+=r(J.compressedSize,4),$+=r(J.uncompressedSize,4),$+=r(N.length,2),$+=r(L.length,2),{fileRecord:g.LOCAL_FILE_HEADER+$+N+L,dirRecord:g.CENTRAL_FILE_HEADER+r(K,2)+$+r(q.length,2)+"\0\0\0\0"+r(O,4)+r(h,4)+N+L+q}}var i=e("../utils"),l=e("../stream/GenericWorker"),p=e("../utf8"),m=e("../crc32"),g=e("../signature");function v(c,x,u,h){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=x,this.zipPlatform=u,this.encodeFileName=h,this.streamFiles=c,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(v,l),v.prototype.push=function(c){var x=c.meta.percent||0,u=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(c):(this.bytesWritten+=c.data.length,l.prototype.push.call(this,{data:c.data,meta:{currentFile:this.currentFile,percent:u?(x+100*(u-h-1))/u:100}}))},v.prototype.openedSource=function(c){this.currentSourceOffset=this.bytesWritten,this.currentFile=c.file.name;var x=this.streamFiles&&!c.file.dir;if(x){var u=s(c,x,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(c){this.accumulate=!1;var x=this.streamFiles&&!c.file.dir,u=s(c,x,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),x)this.push({data:function(h){return g.DATA_DESCRIPTOR+r(h.crc32,4)+r(h.compressedSize,4)+r(h.uncompressedSize,4)}(c),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 c=this.bytesWritten,x=0;x<this.dirRecords.length;x++)this.push({data:this.dirRecords[x],meta:{percent:100}});var u=this.bytesWritten-c,h=function(f,w,_,S,I){var R=i.transformTo("string",I(S));return g.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(f,2)+r(f,2)+r(w,4)+r(_,4)+r(R.length,2)+R}(this.dirRecords.length,u,c,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(c){this._sources.push(c);var x=this;return c.on("data",function(u){x.processChunk(u)}),c.on("end",function(){x.closedSource(x.previous.streamInfo),x._sources.length?x.prepareNextSource():x.end()}),c.on("error",function(u){x.error(u)}),this},v.prototype.resume=function(){return!!l.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(c){var x=this._sources;if(!l.prototype.error.call(this,c))return!1;for(var u=0;u<x.length;u++)try{x[u].error(c)}catch{}return!0},v.prototype.lock=function(){l.prototype.lock.call(this);for(var c=this._sources,x=0;x<c.length;x++)c[x].lock()},o.exports=v},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,o,t){"use strict";var r=e("../compressions"),s=e("./ZipFileWorker");t.generateWorker=function(i,l,p){var m=new s(l.streamFiles,p,l.platform,l.encodeFileName),g=0;try{i.forEach(function(v,c){g++;var x=function(w,_){var S=w||_,I=r[S];if(!I)throw new Error(S+" is not a valid compression method !");return I}(c.options.compression,l.compression),u=c.options.compressionOptions||l.compressionOptions||{},h=c.dir,f=c.date;c._compressWorker(x,u).withStreamInfo("file",{name:v,dir:h,date:f,comment:c.comment||"",unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions}).pipe(m)}),m.entriesCount=g}catch(v){m.error(v)}return m}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,o,t){"use strict";function r(){if(!(this instanceof r))return new r;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 r;for(var i in this)typeof this[i]!="function"&&(s[i]=this[i]);return s}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(s,i){return new r().loadAsync(s,i)},r.external=e("./external"),o.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,o,t){"use strict";var r=e("./utils"),s=e("./external"),i=e("./utf8"),l=e("./zipEntries"),p=e("./stream/Crc32Probe"),m=e("./nodejsUtils");function g(v){return new s.Promise(function(c,x){var u=v.decompressed.getContentWorker().pipe(new p);u.on("error",function(h){x(h)}).on("end",function(){u.streamInfo.crc32!==v.decompressed.crc32?x(new Error("Corrupted zip : CRC32 mismatch")):c()}).resume()})}o.exports=function(v,c){var x=this;return c=r.extend(c||{},{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.")):r.prepareContent("the loaded zip file",v,!0,c.optimizedBinaryString,c.base64).then(function(u){var h=new l(c);return h.load(u),h}).then(function(u){var h=[s.Promise.resolve(u)],f=u.files;if(c.checkCRC32)for(var w=0;w<f.length;w++)h.push(g(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=r.resolve(_.fileNameStr);x.file(I,_.decompressed,{binary:!0,optimizedBinaryString:!0,date:_.date,dir:_.dir,comment:_.fileCommentStr.length?_.fileCommentStr:null,unixPermissions:_.unixPermissions,dosPermissions:_.dosPermissions,createFolders:c.createFolders}),_.dir||(x.file(I).unsafeOriginalName=S)}return h.zipComment.length&&(x.comment=h.zipComment),x})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,o,t){"use strict";var r=e("../utils"),s=e("../stream/GenericWorker");function i(l,p){s.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(p)}r.inherits(i,s),i.prototype._bindStream=function(l){var p=this;(this._stream=l).pause(),l.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)},o.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,o,t){"use strict";var r=e("readable-stream").Readable;function s(i,l,p){r.call(this,l),this._helper=i;var m=this;i.on("data",function(g,v){m.push(g)||m._helper.pause(),p&&p(v)}).on("error",function(g){m.emit("error",g)}).on("end",function(){m.push(null)})}e("../utils").inherits(s,r),s.prototype._read=function(){this._helper.resume()},o.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,o,t){"use strict";o.exports={isNode:typeof Buffer<"u",newBufferFrom:function(r,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(r,s);if(typeof r=="number")throw new Error('The "data" argument must not be a number');return new Buffer(r,s)},allocBuffer:function(r){if(Buffer.alloc)return Buffer.alloc(r);var s=new Buffer(r);return s.fill(0),s},isBuffer:function(r){return Buffer.isBuffer(r)},isStream:function(r){return r&&typeof r.on=="function"&&typeof r.pause=="function"&&typeof r.resume=="function"}}},{}],15:[function(e,o,t){"use strict";function r(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 g&&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 g||R instanceof l?R:x.isNode&&x.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"),l=e("./stream/GenericWorker"),p=e("./stream/StreamHelper"),m=e("./defaults"),g=e("./compressedObject"),v=e("./zipObject"),c=e("./generate"),x=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]||r.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,r.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=c.generateWorker(this,T,N)}catch(F){(R=new l("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)}};o.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,o,t){"use strict";o.exports=e("stream")},{stream:void 0}],17:[function(e,o,t){"use strict";var r=e("./DataReader");function s(i){r.call(this,i);for(var l=0;l<this.data.length;l++)i[l]=255&i[l]}e("../utils").inherits(s,r),s.prototype.byteAt=function(i){return this.data[this.zero+i]},s.prototype.lastIndexOfSignature=function(i){for(var l=i.charCodeAt(0),p=i.charCodeAt(1),m=i.charCodeAt(2),g=i.charCodeAt(3),v=this.length-4;0<=v;--v)if(this.data[v]===l&&this.data[v+1]===p&&this.data[v+2]===m&&this.data[v+3]===g)return v-this.zero;return-1},s.prototype.readAndCheckSignature=function(i){var l=i.charCodeAt(0),p=i.charCodeAt(1),m=i.charCodeAt(2),g=i.charCodeAt(3),v=this.readData(4);return l===v[0]&&p===v[1]&&m===v[2]&&g===v[3]},s.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,l},o.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,o,t){"use strict";var r=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 l,p=0;for(this.checkOffset(i),l=this.index+i-1;l>=this.index;l--)p=(p<<8)+this.byteAt(l);return this.index+=i,p},readString:function(i){return r.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))}},o.exports=s},{"../utils":32}],19:[function(e,o,t){"use strict";var r=e("./Uint8ArrayReader");function s(i){r.call(this,i)}e("../utils").inherits(s,r),s.prototype.readData=function(i){this.checkOffset(i);var l=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,l},o.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,o,t){"use strict";var r=e("./DataReader");function s(i){r.call(this,i)}e("../utils").inherits(s,r),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 l=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,l},o.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,o,t){"use strict";var r=e("./ArrayReader");function s(i){r.call(this,i)}e("../utils").inherits(s,r),s.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,l},o.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,o,t){"use strict";var r=e("../utils"),s=e("../support"),i=e("./ArrayReader"),l=e("./StringReader"),p=e("./NodeBufferReader"),m=e("./Uint8ArrayReader");o.exports=function(g){var v=r.getTypeOf(g);return r.checkSupport(v),v!=="string"||s.uint8array?v==="nodebuffer"?new p(g):s.uint8array?new m(r.transformTo("uint8array",g)):new i(r.transformTo("array",g)):new l(g)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,o,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,o,t){"use strict";var r=e("./GenericWorker"),s=e("../utils");function i(l){r.call(this,"ConvertWorker to "+l),this.destType=l}s.inherits(i,r),i.prototype.processChunk=function(l){this.push({data:s.transformTo(this.destType,l.data),meta:l.meta})},o.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,o,t){"use strict";var r=e("./GenericWorker"),s=e("../crc32");function i(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,r),i.prototype.processChunk=function(l){this.streamInfo.crc32=s(l.data,this.streamInfo.crc32||0),this.push(l)},o.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,o,t){"use strict";var r=e("../utils"),s=e("./GenericWorker");function i(l){s.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}r.inherits(i,s),i.prototype.processChunk=function(l){if(l){var p=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=p+l.data.length}s.prototype.processChunk.call(this,l)},o.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,o,t){"use strict";var r=e("../utils"),s=e("./GenericWorker");function i(l){s.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(m){p.dataIsReady=!0,p.data=m,p.max=m&&m.length||0,p.type=r.getTypeOf(m),p.isPaused||p._tickAndRepeat()},function(m){p.error(m)})}r.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,r.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,p=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,p);break;case"uint8array":l=this.data.subarray(this.index,p);break;case"array":case"nodebuffer":l=this.data.slice(this.index,p)}return this.index=p,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},o.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,o,t){"use strict";function r(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}r.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 l=0;l<this._listeners[s].length;l++)this._listeners[s][l].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(l){i.processChunk(l)}),s.on("end",function(){i.end()}),s.on("error",function(l){i.error(l)}),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}},o.exports=r},{}],29:[function(e,o,t){"use strict";var r=e("../utils"),s=e("./ConvertWorker"),i=e("./GenericWorker"),l=e("../base64"),p=e("../support"),m=e("../external"),g=null;if(p.nodestream)try{g=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function v(x,u){return new m.Promise(function(h,f){var w=[],_=x._internalType,S=x._outputType,I=x._mimeType;x.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 r.newBlob(r.transformTo("arraybuffer",N),F);case"base64":return l.encode(N);default:return r.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 c(x,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,r.checkSupport(f),this._worker=x.pipe(new s(f)),x.lock()}catch(w){this._worker=new i("error"),this._worker.error(w)}}c.prototype={accumulate:function(x){return v(this,x)},on:function(x,u){var h=this;return x==="data"?this._worker.on(x,function(f){u.call(h,f.data,f.meta)}):this._worker.on(x,function(){r.delay(u,arguments,h)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(x){if(r.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new g(this,{objectMode:this._outputType!=="nodebuffer"},x)}},o.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,o,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",t.nodebuffer=typeof Buffer<"u",t.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")t.blob=!1;else{var r=new ArrayBuffer(0);try{t.blob=new Blob([r],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(r),t.blob=s.getBlob("application/zip").size===0}catch{t.blob=!1}}}try{t.nodestream=!!e("readable-stream").Readable}catch{t.nodestream=!1}},{"readable-stream":16}],31:[function(e,o,t){"use strict";for(var r=e("./utils"),s=e("./support"),i=e("./nodejsUtils"),l=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 g(){l.call(this,"utf-8 decode"),this.leftOver=null}function v(){l.call(this,"utf-8 encode")}t.utf8encode=function(c){return s.nodebuffer?i.newBufferFrom(c,"utf-8"):function(x){var u,h,f,w,_,S=x.length,I=0;for(w=0;w<S;w++)(64512&(h=x.charCodeAt(w)))==55296&&w+1<S&&(64512&(f=x.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=x.charCodeAt(w)))==55296&&w+1<S&&(64512&(f=x.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}(c)},t.utf8decode=function(c){return s.nodebuffer?r.transformTo("nodebuffer",c).toString("utf-8"):function(x){var u,h,f,w,_=x.length,S=new Array(2*_);for(u=h=0;u<_;)if((f=x[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&x[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),r.applyFromCharCode(S)}(c=r.transformTo(s.uint8array?"uint8array":"array",c))},r.inherits(g,l),g.prototype.processChunk=function(c){var x=r.transformTo(s.uint8array?"uint8array":"array",c.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var u=x;(x=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),x.set(u,this.leftOver.length)}else x=this.leftOver.concat(x);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:_}(x),f=x;h!==x.length&&(s.uint8array?(f=x.subarray(0,h),this.leftOver=x.subarray(h,x.length)):(f=x.slice(0,h),this.leftOver=x.slice(h,x.length))),this.push({data:t.utf8decode(f),meta:c.meta})},g.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=g,r.inherits(v,l),v.prototype.processChunk=function(c){this.push({data:t.utf8encode(c.data),meta:c.meta})},t.Utf8EncodeWorker=v},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,o,t){"use strict";var r=e("./support"),s=e("./base64"),i=e("./nodejsUtils"),l=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"),t.newBlob=function(u,h){t.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 g={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 r.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch{return!1}}()}};function v(u){var h=65536,f=t.getTypeOf(u),w=!0;if(f==="uint8array"?w=g.applyCanBeUsed.uint8array:f==="nodebuffer"&&(w=g.applyCanBeUsed.nodebuffer),w)for(;1<h;)try{return g.stringifyByChunk(u,f,h)}catch{h=Math.floor(h/2)}return g.stringifyByChar(u)}function c(u,h){for(var f=0;f<u.length;f++)h[f]=u[f];return h}t.applyFromCharCode=v;var x={};x.string={string:p,array:function(u){return m(u,new Array(u.length))},arraybuffer:function(u){return x.string.uint8array(u).buffer},uint8array:function(u){return m(u,new Uint8Array(u.length))},nodebuffer:function(u){return m(u,i.allocBuffer(u.length))}},x.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)}},x.arraybuffer={string:function(u){return v(new Uint8Array(u))},array:function(u){return c(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))}},x.uint8array={string:v,array:function(u){return c(u,new Array(u.length))},arraybuffer:function(u){return u.buffer},uint8array:p,nodebuffer:function(u){return i.newBufferFrom(u)}},x.nodebuffer={string:v,array:function(u){return c(u,new Array(u.length))},arraybuffer:function(u){return x.nodebuffer.uint8array(u).buffer},uint8array:function(u){return c(u,new Uint8Array(u.length))},nodebuffer:p},t.transformTo=function(u,h){if(h=h||"",!u)return h;t.checkSupport(u);var f=t.getTypeOf(h);return x[f][u](h)},t.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("/")},t.getTypeOf=function(u){return typeof u=="string"?"string":Object.prototype.toString.call(u)==="[object Array]"?"array":r.nodebuffer&&i.isBuffer(u)?"nodebuffer":r.uint8array&&u instanceof Uint8Array?"uint8array":r.arraybuffer&&u instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(u){if(!r[u.toLowerCase()])throw new Error(u+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.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},t.delay=function(u,h,f){setImmediate(function(){u.apply(f||null,h||[])})},t.inherits=function(u,h){function f(){}f.prototype=h.prototype,u.prototype=new f},t.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},t.prepareContent=function(u,h,f,w,_){return l.Promise.resolve(h).then(function(S){return r.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new l.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=t.getTypeOf(S);return I?(I==="arraybuffer"?S=t.transformTo("uint8array",S):I==="string"&&(_?S=s.decode(S):f&&w!==!0&&(S=function(R){return m(R,r.uint8array?new Uint8Array(R.length):new Array(R.length))}(S))),S):l.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,o,t){"use strict";var r=e("./reader/readerFor"),s=e("./utils"),i=e("./signature"),l=e("./zipEntry"),p=e("./support");function m(g){this.files=[],this.loadOptions=g}m.prototype={checkSignature:function(g){if(!this.reader.readAndCheckSignature(g)){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(g)+")")}},isSignature:function(g,v){var c=this.reader.index;this.reader.setIndex(g);var x=this.reader.readString(4)===v;return this.reader.setIndex(c),x},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 g=this.reader.readData(this.zipCommentLength),v=p.uint8array?"uint8array":"array",c=s.transformTo(v,g);this.zipComment=this.loadOptions.decodeFileName(c)},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 g,v,c,x=this.zip64EndOfCentralSize-44;0<x;)g=this.reader.readInt(2),v=this.reader.readInt(4),c=this.reader.readData(v),this.zip64ExtensibleData[g]={id:g,length:v,value:c}},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 g,v;for(g=0;g<this.files.length;g++)v=this.files[g],this.reader.setIndex(v.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),v.readLocalPart(this.reader),v.handleUTF8(),v.processAttributes()},readCentralDir:function(){var g;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(g=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(g);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 g=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(g<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(g);var v=g;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,(g=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(g),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 c=this.centralDirOffset+this.centralDirSize;this.zip64&&(c+=20,c+=12+this.zip64EndOfCentralSize);var x=v-c;if(0<x)this.isSignature(v,i.CENTRAL_FILE_HEADER)||(this.reader.zero=x);else if(x<0)throw new Error("Corrupted zip: missing "+Math.abs(x)+" bytes.")},prepareReader:function(g){this.reader=r(g)},load:function(g){this.prepareReader(g),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},o.exports=m},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,o,t){"use strict";var r=e("./reader/readerFor"),s=e("./utils"),i=e("./compressedObject"),l=e("./crc32"),p=e("./utf8"),m=e("./compressions"),g=e("./support");function v(c,x){this.options=c,this.loadOptions=x}v.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(c){var x,u;if(c.skip(22),this.fileNameLength=c.readInt(2),u=c.readInt(2),this.fileName=c.readData(this.fileNameLength),c.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((x=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,x,c.readData(this.compressedSize))},readCentralPart:function(c){this.versionMadeBy=c.readInt(2),c.skip(2),this.bitFlag=c.readInt(2),this.compressionMethod=c.readString(2),this.date=c.readDate(),this.crc32=c.readInt(4),this.compressedSize=c.readInt(4),this.uncompressedSize=c.readInt(4);var x=c.readInt(2);if(this.extraFieldsLength=c.readInt(2),this.fileCommentLength=c.readInt(2),this.diskNumberStart=c.readInt(2),this.internalFileAttributes=c.readInt(2),this.externalFileAttributes=c.readInt(4),this.localHeaderOffset=c.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");c.skip(x),this.readExtraFields(c),this.parseZIP64ExtraField(c),this.fileComment=c.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var c=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),c==0&&(this.dosPermissions=63&this.externalFileAttributes),c==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var c=r(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=c.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=c.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=c.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=c.readInt(4))}},readExtraFields:function(c){var x,u,h,f=c.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});c.index+4<f;)x=c.readInt(2),u=c.readInt(2),h=c.readData(u),this.extraFields[x]={id:x,length:u,value:h};c.setIndex(f)},handleUTF8:function(){var c=g.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=p.utf8decode(this.fileName),this.fileCommentStr=p.utf8decode(this.fileComment);else{var x=this.findExtraFieldUnicodePath();if(x!==null)this.fileNameStr=x;else{var u=s.transformTo(c,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var h=this.findExtraFieldUnicodeComment();if(h!==null)this.fileCommentStr=h;else{var f=s.transformTo(c,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(f)}}},findExtraFieldUnicodePath:function(){var c=this.extraFields[28789];if(c){var x=r(c.value);return x.readInt(1)!==1||l(this.fileName)!==x.readInt(4)?null:p.utf8decode(x.readData(c.length-5))}return null},findExtraFieldUnicodeComment:function(){var c=this.extraFields[25461];if(c){var x=r(c.value);return x.readInt(1)!==1||l(this.fileComment)!==x.readInt(4)?null:p.utf8decode(x.readData(c.length-5))}return null}},o.exports=v},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,o,t){"use strict";function r(x,u,h){this.name=x,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"),l=e("./utf8"),p=e("./compressedObject"),m=e("./stream/GenericWorker");r.prototype={internalStream:function(x){var u=null,h="string";try{if(!x)throw new Error("No output type specified.");var f=(h=x.toLowerCase())==="string"||h==="text";h!=="binarystring"&&h!=="text"||(h="string"),u=this._decompressWorker();var w=!this._dataBinary;w&&!f&&(u=u.pipe(new l.Utf8EncodeWorker)),!w&&f&&(u=u.pipe(new l.Utf8DecodeWorker))}catch(_){(u=new m("error")).error(_)}return new s(u,h,"")},async:function(x,u){return this.internalStream(x).accumulate(u)},nodeStream:function(x,u){return this.internalStream(x||"nodebuffer").toNodejsStream(u)},_compressWorker:function(x,u){if(this._data instanceof p&&this._data.compression.magic===x.magic)return this._data.getCompressedWorker();var h=this._decompressWorker();return this._dataBinary||(h=h.pipe(new l.Utf8EncodeWorker)),p.createWorkerFrom(h,x,u)},_decompressWorker:function(){return this._data instanceof p?this._data.getContentWorker():this._data instanceof m?this._data:new i(this._data)}};for(var g=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],v=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<g.length;c++)r.prototype[g[c]]=v;o.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,o,t){(function(r){"use strict";var s,i,l=r.MutationObserver||r.WebKitMutationObserver;if(l){var p=0,m=new l(x),g=r.document.createTextNode("");m.observe(g,{characterData:!0}),s=function(){g.data=p=++p%2}}else if(r.setImmediate||r.MessageChannel===void 0)s="document"in r&&"onreadystatechange"in r.document.createElement("script")?function(){var u=r.document.createElement("script");u.onreadystatechange=function(){x(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},r.document.documentElement.appendChild(u)}:function(){setTimeout(x,0)};else{var v=new r.MessageChannel;v.port1.onmessage=x,s=function(){v.port2.postMessage(0)}}var c=[];function x(){var u,h;i=!0;for(var f=c.length;f;){for(h=c,c=[],u=-1;++u<f;)h[u]();f=c.length}i=!1}o.exports=function(u){c.push(u)!==1||i||s()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(e,o,t){"use strict";var r=e("immediate");function s(){}var i={},l=["REJECTED"],p=["FULFILLED"],m=["PENDING"];function g(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 c(f,w,_){r(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 x(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 _}(o.exports=g).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 _})})},g.prototype.catch=function(f){return this.then(null,f)},g.prototype.then=function(f,w){if(typeof f!="function"&&this.state===p||typeof w!="function"&&this.state===l)return this;var _=new this.constructor(s);return this.state!==m?c(_,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){c(this.promise,this.onFulfilled,f)},v.prototype.callRejected=function(f){i.reject(this.promise,f)},v.prototype.otherCallRejected=function(f){c(this.promise,this.onRejected,f)},i.resolve=function(f,w){var _=h(x,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=l,f.outcome=w;for(var _=-1,S=f.queue.length;++_<S;)f.queue[_].callRejected(w);return f},g.resolve=function(f){return f instanceof this?f:i.resolve(new this(s),f)},g.reject=function(f){var w=new this(s);return i.reject(w,f)},g.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))})}},g.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,o,t){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),o.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,o,t){"use strict";var r=e("./zlib/deflate"),s=e("./utils/common"),i=e("./utils/strings"),l=e("./zlib/messages"),p=e("./zlib/zstream"),m=Object.prototype.toString,g=0,v=-1,c=0,x=8;function u(f){if(!(this instanceof u))return new u(f);this.options=s.assign({level:v,method:x,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,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 _=r.deflateInit2(this.strm,w.level,w.method,w.windowBits,w.memLevel,w.strategy);if(_!==g)throw new Error(l[_]);if(w.header&&r.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,(_=r.deflateSetDictionary(this.strm,S))!==g)throw new Error(l[_]);this._dict_set=!0}}function h(f,w){var _=new u(w);if(_.push(f,!0),_.err)throw _.msg||l[_.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),(_=r.deflate(I,S))!==1&&_!==g)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?(_=r.deflateEnd(this.strm),this.onEnd(_),this.ended=!0,_===g):S!==2||(this.onEnd(g),!(I.avail_out=0))},u.prototype.onData=function(f){this.chunks.push(f)},u.prototype.onEnd=function(f){f===g&&(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},t.Deflate=u,t.deflate=h,t.deflateRaw=function(f,w){return(w=w||{}).raw=!0,h(f,w)},t.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,o,t){"use strict";var r=e("./zlib/inflate"),s=e("./utils/common"),i=e("./utils/strings"),l=e("./zlib/constants"),p=e("./zlib/messages"),m=e("./zlib/zstream"),g=e("./zlib/gzheader"),v=Object.prototype.toString;function c(u){if(!(this instanceof c))return new c(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=r.inflateInit2(this.strm,h.windowBits);if(f!==l.Z_OK)throw new Error(p[f]);this.header=new g,r.inflateGetHeader(this.strm,this.header)}function x(u,h){var f=new c(h);if(f.push(u,!0),f.err)throw f.msg||p[f.err];return f.result}c.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?l.Z_FINISH:l.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=r.inflate(T,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&F&&(R=typeof F=="string"?i.string2buf(F):v.call(F)==="[object ArrayBuffer]"?new Uint8Array(F):F,f=r.inflateSetDictionary(this.strm,R)),f===l.Z_BUF_ERROR&&G===!0&&(f=l.Z_OK,G=!1),f!==l.Z_STREAM_END&&f!==l.Z_OK)return this.onEnd(f),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&f!==l.Z_STREAM_END&&(T.avail_in!==0||w!==l.Z_FINISH&&w!==l.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!==l.Z_STREAM_END);return f===l.Z_STREAM_END&&(w=l.Z_FINISH),w===l.Z_FINISH?(f=r.inflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===l.Z_OK):w!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(T.avail_out=0))},c.prototype.onData=function(u){this.chunks.push(u)},c.prototype.onEnd=function(u){u===l.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},t.Inflate=c,t.inflate=x,t.inflateRaw=function(u,h){return(h=h||{}).raw=!0,x(u,h)},t.ungzip=x},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,o,t){"use strict";var r=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";t.assign=function(l){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 g in m)m.hasOwnProperty(g)&&(l[g]=m[g])}}return l},t.shrinkBuf=function(l,p){return l.length===p?l:l.subarray?l.subarray(0,p):(l.length=p,l)};var s={arraySet:function(l,p,m,g,v){if(p.subarray&&l.subarray)l.set(p.subarray(m,m+g),v);else for(var c=0;c<g;c++)l[v+c]=p[m+c]},flattenChunks:function(l){var p,m,g,v,c,x;for(p=g=0,m=l.length;p<m;p++)g+=l[p].length;for(x=new Uint8Array(g),p=v=0,m=l.length;p<m;p++)c=l[p],x.set(c,v),v+=c.length;return x}},i={arraySet:function(l,p,m,g,v){for(var c=0;c<g;c++)l[v+c]=p[m+c]},flattenChunks:function(l){return[].concat.apply([],l)}};t.setTyped=function(l){l?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,s)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(r)},{}],42:[function(e,o,t){"use strict";var r=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 l=new r.Buf8(256),p=0;p<256;p++)l[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function m(g,v){if(v<65537&&(g.subarray&&i||!g.subarray&&s))return String.fromCharCode.apply(null,r.shrinkBuf(g,v));for(var c="",x=0;x<v;x++)c+=String.fromCharCode(g[x]);return c}l[254]=l[254]=1,t.string2buf=function(g){var v,c,x,u,h,f=g.length,w=0;for(u=0;u<f;u++)(64512&(c=g.charCodeAt(u)))==55296&&u+1<f&&(64512&(x=g.charCodeAt(u+1)))==56320&&(c=65536+(c-55296<<10)+(x-56320),u++),w+=c<128?1:c<2048?2:c<65536?3:4;for(v=new r.Buf8(w),u=h=0;h<w;u++)(64512&(c=g.charCodeAt(u)))==55296&&u+1<f&&(64512&(x=g.charCodeAt(u+1)))==56320&&(c=65536+(c-55296<<10)+(x-56320),u++),c<128?v[h++]=c:(c<2048?v[h++]=192|c>>>6:(c<65536?v[h++]=224|c>>>12:(v[h++]=240|c>>>18,v[h++]=128|c>>>12&63),v[h++]=128|c>>>6&63),v[h++]=128|63&c);return v},t.buf2binstring=function(g){return m(g,g.length)},t.binstring2buf=function(g){for(var v=new r.Buf8(g.length),c=0,x=v.length;c<x;c++)v[c]=g.charCodeAt(c);return v},t.buf2string=function(g,v){var c,x,u,h,f=v||g.length,w=new Array(2*f);for(c=x=0;c<f;)if((u=g[c++])<128)w[x++]=u;else if(4<(h=l[u]))w[x++]=65533,c+=h-1;else{for(u&=h===2?31:h===3?15:7;1<h&&c<f;)u=u<<6|63&g[c++],h--;1<h?w[x++]=65533:u<65536?w[x++]=u:(u-=65536,w[x++]=55296|u>>10&1023,w[x++]=56320|1023&u)}return m(w,x)},t.utf8border=function(g,v){var c;for((v=v||g.length)>g.length&&(v=g.length),c=v-1;0<=c&&(192&g[c])==128;)c--;return c<0||c===0?v:c+l[g[c]]>v?c:v}},{"./common":41}],43:[function(e,o,t){"use strict";o.exports=function(r,s,i,l){for(var p=65535&r|0,m=r>>>16&65535|0,g=0;i!==0;){for(i-=g=2e3<i?2e3:i;m=m+(p=p+s[l++]|0)|0,--g;);p%=65521,m%=65521}return p|m<<16|0}},{}],44:[function(e,o,t){"use strict";o.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,o,t){"use strict";var r=function(){for(var s,i=[],l=0;l<256;l++){s=l;for(var p=0;p<8;p++)s=1&s?3988292384^s>>>1:s>>>1;i[l]=s}return i}();o.exports=function(s,i,l,p){var m=r,g=p+l;s^=-1;for(var v=p;v<g;v++)s=s>>>8^m[255&(s^i[v])];return-1^s}},{}],46:[function(e,o,t){"use strict";var r,s=e("../utils/common"),i=e("./trees"),l=e("./adler32"),p=e("./crc32"),m=e("./messages"),g=0,v=4,c=0,x=-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,a=1,L=2,X=3,B=4;function Q(n,z){return n.msg=m[z],z}function W(n){return(n<<1)-(4<n?9:0)}function J(n){for(var z=n.length;0<=--z;)n[z]=0}function A(n){var z=n.state,P=z.pending;P>n.avail_out&&(P=n.avail_out),P!==0&&(s.arraySet(n.output,z.pending_buf,z.pending_out,P,n.next_out),n.next_out+=P,z.pending_out+=P,n.total_out+=P,n.avail_out-=P,z.pending-=P,z.pending===0&&(z.pending_out=0))}function O(n,z){i._tr_flush_block(n,0<=n.block_start?n.block_start:-1,n.strstart-n.block_start,z),n.block_start=n.strstart,A(n.strm)}function K(n,z){n.pending_buf[n.pending++]=z}function $(n,z){n.pending_buf[n.pending++]=z>>>8&255,n.pending_buf[n.pending++]=255&z}function j(n,z){var P,y,d=n.max_chain_length,k=n.strstart,D=n.prev_length,U=n.nice_match,E=n.strstart>n.w_size-q?n.strstart-(n.w_size-q):0,V=n.window,Z=n.w_mask,M=n.prev,H=n.strstart+G,re=V[k+D-1],ee=V[k+D];n.prev_length>=n.good_match&&(d>>=2),U>n.lookahead&&(U=n.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(y=G-(H-k),k=H-G,D<y){if(n.match_start=z,U<=(D=y))break;re=V[k+D-1],ee=V[k+D]}}while((z=M[z&Z])>E&&--d!=0);return D<=n.lookahead?D:n.lookahead}function ie(n){var z,P,y,d,k,D,U,E,V,Z,M=n.w_size;do{if(d=n.window_size-n.lookahead-n.strstart,n.strstart>=M+(M-q)){for(s.arraySet(n.window,n.window,M,M,0),n.match_start-=M,n.strstart-=M,n.block_start-=M,z=P=n.hash_size;y=n.head[--z],n.head[z]=M<=y?y-M:0,--P;);for(z=P=M;y=n.prev[--z],n.prev[z]=M<=y?y-M:0,--P;);d+=M}if(n.strm.avail_in===0)break;if(D=n.strm,U=n.window,E=n.strstart+n.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=l(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),n.lookahead+=P,n.lookahead+n.insert>=F)for(k=n.strstart-n.insert,n.ins_h=n.window[k],n.ins_h=(n.ins_h<<n.hash_shift^n.window[k+1])&n.hash_mask;n.insert&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[k+F-1])&n.hash_mask,n.prev[k&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=k,k++,n.insert--,!(n.lookahead+n.insert<F)););}while(n.lookahead<q&&n.strm.avail_in!==0)}function ce(n,z){for(var P,y;;){if(n.lookahead<q){if(ie(n),n.lookahead<q&&z===g)return a;if(n.lookahead===0)break}if(P=0,n.lookahead>=F&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+F-1])&n.hash_mask,P=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),P!==0&&n.strstart-P<=n.w_size-q&&(n.match_length=j(n,P)),n.match_length>=F)if(y=i._tr_tally(n,n.strstart-n.match_start,n.match_length-F),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=F){for(n.match_length--;n.strstart++,n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+F-1])&n.hash_mask,P=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart,--n.match_length!=0;);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+1])&n.hash_mask;else y=i._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(y&&(O(n,!1),n.strm.avail_out===0))return a}return n.insert=n.strstart<F-1?n.strstart:F-1,z===v?(O(n,!0),n.strm.avail_out===0?X:B):n.last_lit&&(O(n,!1),n.strm.avail_out===0)?a:L}function Y(n,z){for(var P,y,d;;){if(n.lookahead<q){if(ie(n),n.lookahead<q&&z===g)return a;if(n.lookahead===0)break}if(P=0,n.lookahead>=F&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+F-1])&n.hash_mask,P=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=F-1,P!==0&&n.prev_length<n.max_lazy_match&&n.strstart-P<=n.w_size-q&&(n.match_length=j(n,P),n.match_length<=5&&(n.strategy===1||n.match_length===F&&4096<n.strstart-n.match_start)&&(n.match_length=F-1)),n.prev_length>=F&&n.match_length<=n.prev_length){for(d=n.strstart+n.lookahead-F,y=i._tr_tally(n,n.strstart-1-n.prev_match,n.prev_length-F),n.lookahead-=n.prev_length-1,n.prev_length-=2;++n.strstart<=d&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+F-1])&n.hash_mask,P=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),--n.prev_length!=0;);if(n.match_available=0,n.match_length=F-1,n.strstart++,y&&(O(n,!1),n.strm.avail_out===0))return a}else if(n.match_available){if((y=i._tr_tally(n,0,n.window[n.strstart-1]))&&O(n,!1),n.strstart++,n.lookahead--,n.strm.avail_out===0)return a}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(y=i._tr_tally(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<F-1?n.strstart:F-1,z===v?(O(n,!0),n.strm.avail_out===0?X:B):n.last_lit&&(O(n,!1),n.strm.avail_out===0)?a:L}function te(n,z,P,y,d){this.good_length=n,this.max_lazy=z,this.nice_length=P,this.max_chain=y,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(n){var z;return n&&n.state?(n.total_in=n.total_out=0,n.data_type=f,(z=n.state).pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap?b:C,n.adler=z.wrap===2?0:1,z.last_flush=g,i._tr_init(z),c):Q(n,x)}function me(n){var z=se(n);return z===c&&function(P){P.window_size=2*P.w_size,J(P.head),P.max_lazy_match=r[P.level].max_lazy,P.good_match=r[P.level].good_length,P.nice_match=r[P.level].nice_length,P.max_chain_length=r[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}(n.state),z}function fe(n,z,P,y,d,k){if(!n)return x;var D=1;if(z===u&&(z=6),y<0?(D=0,y=-y):15<y&&(D=2,y-=16),d<1||_<d||P!==w||y<8||15<y||z<0||9<z||k<0||h<k)return Q(n,x);y===8&&(y=9);var U=new ae;return(n.state=U).strm=n,U.wrap=D,U.gzhead=null,U.w_bits=y,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,me(n)}r=[new te(0,0,0,0,function(n,z){var P=65535;for(P>n.pending_buf_size-5&&(P=n.pending_buf_size-5);;){if(n.lookahead<=1){if(ie(n),n.lookahead===0&&z===g)return a;if(n.lookahead===0)break}n.strstart+=n.lookahead,n.lookahead=0;var y=n.block_start+P;if((n.strstart===0||n.strstart>=y)&&(n.lookahead=n.strstart-y,n.strstart=y,O(n,!1),n.strm.avail_out===0)||n.strstart-n.block_start>=n.w_size-q&&(O(n,!1),n.strm.avail_out===0))return a}return n.insert=0,z===v?(O(n,!0),n.strm.avail_out===0?X:B):(n.strstart>n.block_start&&(O(n,!1),n.strm.avail_out),a)}),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)],t.deflateInit=function(n,z){return fe(n,z,w,15,8,0)},t.deflateInit2=fe,t.deflateReset=me,t.deflateResetKeep=se,t.deflateSetHeader=function(n,z){return n&&n.state?n.state.wrap!==2?x:(n.state.gzhead=z,c):x},t.deflate=function(n,z){var P,y,d,k;if(!n||!n.state||5<z||z<0)return n?Q(n,x):x;if(y=n.state,!n.output||!n.input&&n.avail_in!==0||y.status===666&&z!==v)return Q(n,n.avail_out===0?-5:x);if(y.strm=n,P=y.last_flush,y.last_flush=z,y.status===b)if(y.wrap===2)n.adler=0,K(y,31),K(y,139),K(y,8),y.gzhead?(K(y,(y.gzhead.text?1:0)+(y.gzhead.hcrc?2:0)+(y.gzhead.extra?4:0)+(y.gzhead.name?8:0)+(y.gzhead.comment?16:0)),K(y,255&y.gzhead.time),K(y,y.gzhead.time>>8&255),K(y,y.gzhead.time>>16&255),K(y,y.gzhead.time>>24&255),K(y,y.level===9?2:2<=y.strategy||y.level<2?4:0),K(y,255&y.gzhead.os),y.gzhead.extra&&y.gzhead.extra.length&&(K(y,255&y.gzhead.extra.length),K(y,y.gzhead.extra.length>>8&255)),y.gzhead.hcrc&&(n.adler=p(n.adler,y.pending_buf,y.pending,0)),y.gzindex=0,y.status=69):(K(y,0),K(y,0),K(y,0),K(y,0),K(y,0),K(y,y.level===9?2:2<=y.strategy||y.level<2?4:0),K(y,3),y.status=C);else{var D=w+(y.w_bits-8<<4)<<8;D|=(2<=y.strategy||y.level<2?0:y.level<6?1:y.level===6?2:3)<<6,y.strstart!==0&&(D|=32),D+=31-D%31,y.status=C,$(y,D),y.strstart!==0&&($(y,n.adler>>>16),$(y,65535&n.adler)),n.adler=1}if(y.status===69)if(y.gzhead.extra){for(d=y.pending;y.gzindex<(65535&y.gzhead.extra.length)&&(y.pending!==y.pending_buf_size||(y.gzhead.hcrc&&y.pending>d&&(n.adler=p(n.adler,y.pending_buf,y.pending-d,d)),A(n),d=y.pending,y.pending!==y.pending_buf_size));)K(y,255&y.gzhead.extra[y.gzindex]),y.gzindex++;y.gzhead.hcrc&&y.pending>d&&(n.adler=p(n.adler,y.pending_buf,y.pending-d,d)),y.gzindex===y.gzhead.extra.length&&(y.gzindex=0,y.status=73)}else y.status=73;if(y.status===73)if(y.gzhead.name){d=y.pending;do{if(y.pending===y.pending_buf_size&&(y.gzhead.hcrc&&y.pending>d&&(n.adler=p(n.adler,y.pending_buf,y.pending-d,d)),A(n),d=y.pending,y.pending===y.pending_buf_size)){k=1;break}k=y.gzindex<y.gzhead.name.length?255&y.gzhead.name.charCodeAt(y.gzindex++):0,K(y,k)}while(k!==0);y.gzhead.hcrc&&y.pending>d&&(n.adler=p(n.adler,y.pending_buf,y.pending-d,d)),k===0&&(y.gzindex=0,y.status=91)}else y.status=91;if(y.status===91)if(y.gzhead.comment){d=y.pending;do{if(y.pending===y.pending_buf_size&&(y.gzhead.hcrc&&y.pending>d&&(n.adler=p(n.adler,y.pending_buf,y.pending-d,d)),A(n),d=y.pending,y.pending===y.pending_buf_size)){k=1;break}k=y.gzindex<y.gzhead.comment.length?255&y.gzhead.comment.charCodeAt(y.gzindex++):0,K(y,k)}while(k!==0);y.gzhead.hcrc&&y.pending>d&&(n.adler=p(n.adler,y.pending_buf,y.pending-d,d)),k===0&&(y.status=103)}else y.status=103;if(y.status===103&&(y.gzhead.hcrc?(y.pending+2>y.pending_buf_size&&A(n),y.pending+2<=y.pending_buf_size&&(K(y,255&n.adler),K(y,n.adler>>8&255),n.adler=0,y.status=C)):y.status=C),y.pending!==0){if(A(n),n.avail_out===0)return y.last_flush=-1,c}else if(n.avail_in===0&&W(z)<=W(P)&&z!==v)return Q(n,-5);if(y.status===666&&n.avail_in!==0)return Q(n,-5);if(n.avail_in!==0||y.lookahead!==0||z!==g&&y.status!==666){var U=y.strategy===2?function(E,V){for(var Z;;){if(E.lookahead===0&&(ie(E),E.lookahead===0)){if(V===g)return a;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 a}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)?a:L}(y,z):y.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===g)return a;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 a}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)?a:L}(y,z):r[y.level].func(y,z);if(U!==X&&U!==B||(y.status=666),U===a||U===X)return n.avail_out===0&&(y.last_flush=-1),c;if(U===L&&(z===1?i._tr_align(y):z!==5&&(i._tr_stored_block(y,0,0,!1),z===3&&(J(y.head),y.lookahead===0&&(y.strstart=0,y.block_start=0,y.insert=0))),A(n),n.avail_out===0))return y.last_flush=-1,c}return z!==v?c:y.wrap<=0?1:(y.wrap===2?(K(y,255&n.adler),K(y,n.adler>>8&255),K(y,n.adler>>16&255),K(y,n.adler>>24&255),K(y,255&n.total_in),K(y,n.total_in>>8&255),K(y,n.total_in>>16&255),K(y,n.total_in>>24&255)):($(y,n.adler>>>16),$(y,65535&n.adler)),A(n),0<y.wrap&&(y.wrap=-y.wrap),y.pending!==0?c:1)},t.deflateEnd=function(n){var z;return n&&n.state?(z=n.state.status)!==b&&z!==69&&z!==73&&z!==91&&z!==103&&z!==C&&z!==666?Q(n,x):(n.state=null,z===C?Q(n,-3):c):x},t.deflateSetDictionary=function(n,z){var P,y,d,k,D,U,E,V,Z=z.length;if(!n||!n.state||(k=(P=n.state).wrap)===2||k===1&&P.status!==b||P.lookahead)return x;for(k===1&&(n.adler=l(n.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=n.avail_in,U=n.next_in,E=n.input,n.avail_in=Z,n.next_in=0,n.input=z,ie(P);P.lookahead>=F;){for(y=P.strstart,d=P.lookahead-(F-1);P.ins_h=(P.ins_h<<P.hash_shift^P.window[y+F-1])&P.hash_mask,P.prev[y&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=y,y++,--d;);P.strstart=y,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,n.next_in=U,n.input=E,n.avail_in=D,P.wrap=k,c},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,o,t){"use strict";o.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,o,t){"use strict";o.exports=function(r,s){var i,l,p,m,g,v,c,x,u,h,f,w,_,S,I,R,T,N,F,G,q,b,C,a,L;i=r.state,l=r.next_in,a=r.input,p=l+(r.avail_in-5),m=r.next_out,L=r.output,g=m-(s-r.avail_out),v=m+(r.avail_out-257),c=i.dmax,x=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+=a[l++]<<_,_+=8,w+=a[l++]<<_,_+=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}r.msg="invalid literal/length code",i.mode=30;break e}G=65535&N,(F&=15)&&(_<F&&(w+=a[l++]<<_,_+=8),G+=w&(1<<F)-1,w>>>=F,_-=F),_<15&&(w+=a[l++]<<_,_+=8,w+=a[l++]<<_,_+=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}r.msg="invalid distance code",i.mode=30;break e}if(q=65535&N,_<(F&=15)&&(w+=a[l++]<<_,(_+=8)<F&&(w+=a[l++]<<_,_+=8)),c<(q+=w&(1<<F)-1)){r.msg="invalid distance too far back",i.mode=30;break e}if(w>>>=F,_-=F,(F=m-g)<q){if(u<(F=q-F)&&i.sane){r.msg="invalid distance too far back",i.mode=30;break e}if(C=f,(b=0)===h){if(b+=x-F,F<G){for(G-=F;L[m++]=f[b++],--F;);b=m-q,C=L}}else if(h<F){if(b+=x+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(l<p&&m<v);l-=G=_>>3,w&=(1<<(_-=G<<3))-1,r.next_in=l,r.next_out=m,r.avail_in=l<p?p-l+5:5-(l-p),r.avail_out=m<v?v-m+257:257-(m-v),i.hold=w,i.bits=_}},{}],49:[function(e,o,t){"use strict";var r=e("../utils/common"),s=e("./adler32"),i=e("./crc32"),l=e("./inffast"),p=e("./inftrees"),m=1,g=2,v=0,c=-2,x=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 r.Buf16(320),this.work=new r.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=x,C.last=0,C.havedict=0,C.dmax=32768,C.head=null,C.hold=0,C.bits=0,C.lencode=C.lendyn=new r.Buf32(u),C.distcode=C.distdyn=new r.Buf32(h),C.sane=1,C.back=-1,v):c}function S(b){var C;return b&&b.state?((C=b.state).wsize=0,C.whave=0,C.wnext=0,_(b)):c}function I(b,C){var a,L;return b&&b.state?(L=b.state,C<0?(a=0,C=-C):(a=1+(C>>4),C<48&&(C&=15)),C&&(C<8||15<C)?c:(L.window!==null&&L.wbits!==C&&(L.window=null),L.wrap=a,L.wbits=C,S(b))):c}function R(b,C){var a,L;return b?(L=new w,(b.state=L).window=null,(a=I(b,C))!==v&&(b.state=null),a):c}var T,N,F=!0;function G(b){if(F){var C;for(T=new r.Buf32(512),N=new r.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(g,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,a,L){var X,B=b.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new r.Buf8(B.wsize)),L>=B.wsize?(r.arraySet(B.window,C,a-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(L<(X=B.wsize-B.wnext)&&(X=L),r.arraySet(B.window,C,a-L,X,B.wnext),(L-=X)?(r.arraySet(B.window,C,a-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}t.inflateReset=S,t.inflateReset2=I,t.inflateResetKeep=_,t.inflateInit=function(b){return R(b,15)},t.inflateInit2=R,t.inflate=function(b,C){var a,L,X,B,Q,W,J,A,O,K,$,j,ie,ce,Y,te,ae,se,me,fe,n,z,P,y,d=0,k=new r.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 c;(a=b.state).mode===12&&(a.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=a.hold,O=a.bits,K=W,$=J,z=v;e:for(;;)switch(a.mode){case x:if(a.wrap===0){a.mode=13;break}for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(2&a.wrap&&A===35615){k[a.check=0]=255&A,k[1]=A>>>8&255,a.check=i(a.check,k,2,0),O=A=0,a.mode=2;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&A)<<8)+(A>>8))%31){b.msg="incorrect header check",a.mode=30;break}if((15&A)!=8){b.msg="unknown compression method",a.mode=30;break}if(O-=4,n=8+(15&(A>>>=4)),a.wbits===0)a.wbits=n;else if(n>a.wbits){b.msg="invalid window size",a.mode=30;break}a.dmax=1<<n,b.adler=a.check=1,a.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(a.flags=A,(255&a.flags)!=8){b.msg="unknown compression method",a.mode=30;break}if(57344&a.flags){b.msg="unknown header flags set",a.mode=30;break}a.head&&(a.head.text=A>>8&1),512&a.flags&&(k[0]=255&A,k[1]=A>>>8&255,a.check=i(a.check,k,2,0)),O=A=0,a.mode=3;case 3:for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}a.head&&(a.head.time=A),512&a.flags&&(k[0]=255&A,k[1]=A>>>8&255,k[2]=A>>>16&255,k[3]=A>>>24&255,a.check=i(a.check,k,4,0)),O=A=0,a.mode=4;case 4:for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}a.head&&(a.head.xflags=255&A,a.head.os=A>>8),512&a.flags&&(k[0]=255&A,k[1]=A>>>8&255,a.check=i(a.check,k,2,0)),O=A=0,a.mode=5;case 5:if(1024&a.flags){for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}a.length=A,a.head&&(a.head.extra_len=A),512&a.flags&&(k[0]=255&A,k[1]=A>>>8&255,a.check=i(a.check,k,2,0)),O=A=0}else a.head&&(a.head.extra=null);a.mode=6;case 6:if(1024&a.flags&&(W<(j=a.length)&&(j=W),j&&(a.head&&(n=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Array(a.head.extra_len)),r.arraySet(a.head.extra,L,B,j,n)),512&a.flags&&(a.check=i(a.check,L,j,B)),W-=j,B+=j,a.length-=j),a.length))break e;a.length=0,a.mode=7;case 7:if(2048&a.flags){if(W===0)break e;for(j=0;n=L[B+j++],a.head&&n&&a.length<65536&&(a.head.name+=String.fromCharCode(n)),n&&j<W;);if(512&a.flags&&(a.check=i(a.check,L,j,B)),W-=j,B+=j,n)break e}else a.head&&(a.head.name=null);a.length=0,a.mode=8;case 8:if(4096&a.flags){if(W===0)break e;for(j=0;n=L[B+j++],a.head&&n&&a.length<65536&&(a.head.comment+=String.fromCharCode(n)),n&&j<W;);if(512&a.flags&&(a.check=i(a.check,L,j,B)),W-=j,B+=j,n)break e}else a.head&&(a.head.comment=null);a.mode=9;case 9:if(512&a.flags){for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A!==(65535&a.check)){b.msg="header crc mismatch",a.mode=30;break}O=A=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),b.adler=a.check=0,a.mode=12;break;case 10:for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}b.adler=a.check=f(A),O=A=0,a.mode=11;case 11:if(a.havedict===0)return b.next_out=Q,b.avail_out=J,b.next_in=B,b.avail_in=W,a.hold=A,a.bits=O,2;b.adler=a.check=1,a.mode=12;case 12:if(C===5||C===6)break e;case 13:if(a.last){A>>>=7&O,O-=7&O,a.mode=27;break}for(;O<3;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}switch(a.last=1&A,O-=1,3&(A>>>=1)){case 0:a.mode=14;break;case 1:if(G(a),a.mode=20,C!==6)break;A>>>=2,O-=2;break e;case 2:a.mode=17;break;case 3:b.msg="invalid block type",a.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",a.mode=30;break}if(a.length=65535&A,O=A=0,a.mode=15,C===6)break e;case 15:a.mode=16;case 16:if(j=a.length){if(W<j&&(j=W),J<j&&(j=J),j===0)break e;r.arraySet(X,L,B,j,Q),W-=j,B+=j,J-=j,Q+=j,a.length-=j;break}a.mode=12;break;case 17:for(;O<14;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(a.nlen=257+(31&A),A>>>=5,O-=5,a.ndist=1+(31&A),A>>>=5,O-=5,a.ncode=4+(15&A),A>>>=4,O-=4,286<a.nlen||30<a.ndist){b.msg="too many length or distance symbols",a.mode=30;break}a.have=0,a.mode=18;case 18:for(;a.have<a.ncode;){for(;O<3;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}a.lens[D[a.have++]]=7&A,A>>>=3,O-=3}for(;a.have<19;)a.lens[D[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,P={bits:a.lenbits},z=p(0,a.lens,0,19,a.lencode,0,a.work,P),a.lenbits=P.bits,z){b.msg="invalid code lengths set",a.mode=30;break}a.have=0,a.mode=19;case 19:for(;a.have<a.nlen+a.ndist;){for(;te=(d=a.lencode[A&(1<<a.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,a.lens[a.have++]=ae;else{if(ae===16){for(y=Y+2;O<y;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A>>>=Y,O-=Y,a.have===0){b.msg="invalid bit length repeat",a.mode=30;break}n=a.lens[a.have-1],j=3+(3&A),A>>>=2,O-=2}else if(ae===17){for(y=Y+3;O<y;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}O-=Y,n=0,j=3+(7&(A>>>=Y)),A>>>=3,O-=3}else{for(y=Y+7;O<y;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}O-=Y,n=0,j=11+(127&(A>>>=Y)),A>>>=7,O-=7}if(a.have+j>a.nlen+a.ndist){b.msg="invalid bit length repeat",a.mode=30;break}for(;j--;)a.lens[a.have++]=n}}if(a.mode===30)break;if(a.lens[256]===0){b.msg="invalid code -- missing end-of-block",a.mode=30;break}if(a.lenbits=9,P={bits:a.lenbits},z=p(m,a.lens,0,a.nlen,a.lencode,0,a.work,P),a.lenbits=P.bits,z){b.msg="invalid literal/lengths set",a.mode=30;break}if(a.distbits=6,a.distcode=a.distdyn,P={bits:a.distbits},z=p(g,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,P),a.distbits=P.bits,z){b.msg="invalid distances set",a.mode=30;break}if(a.mode=20,C===6)break e;case 20:a.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,a.hold=A,a.bits=O,l(b,$),Q=b.next_out,X=b.output,J=b.avail_out,B=b.next_in,L=b.input,W=b.avail_in,A=a.hold,O=a.bits,a.mode===12&&(a.back=-1);break}for(a.back=0;te=(d=a.lencode[A&(1<<a.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,me=te,fe=ae;te=(d=a.lencode[fe+((A&(1<<se+me)-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,a.back+=se}if(A>>>=Y,O-=Y,a.back+=Y,a.length=ae,te===0){a.mode=26;break}if(32&te){a.back=-1,a.mode=12;break}if(64&te){b.msg="invalid literal/length code",a.mode=30;break}a.extra=15&te,a.mode=22;case 22:if(a.extra){for(y=a.extra;O<y;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}a.length+=A&(1<<a.extra)-1,A>>>=a.extra,O-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=23;case 23:for(;te=(d=a.distcode[A&(1<<a.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,me=te,fe=ae;te=(d=a.distcode[fe+((A&(1<<se+me)-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,a.back+=se}if(A>>>=Y,O-=Y,a.back+=Y,64&te){b.msg="invalid distance code",a.mode=30;break}a.offset=ae,a.extra=15&te,a.mode=24;case 24:if(a.extra){for(y=a.extra;O<y;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}a.offset+=A&(1<<a.extra)-1,A>>>=a.extra,O-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){b.msg="invalid distance too far back",a.mode=30;break}a.mode=25;case 25:if(J===0)break e;if(j=$-J,a.offset>j){if((j=a.offset-j)>a.whave&&a.sane){b.msg="invalid distance too far back",a.mode=30;break}ie=j>a.wnext?(j-=a.wnext,a.wsize-j):a.wnext-j,j>a.length&&(j=a.length),ce=a.window}else ce=X,ie=Q-a.offset,j=a.length;for(J<j&&(j=J),J-=j,a.length-=j;X[Q++]=ce[ie++],--j;);a.length===0&&(a.mode=21);break;case 26:if(J===0)break e;X[Q++]=a.length,J--,a.mode=21;break;case 27:if(a.wrap){for(;O<32;){if(W===0)break e;W--,A|=L[B++]<<O,O+=8}if($-=J,b.total_out+=$,a.total+=$,$&&(b.adler=a.check=a.flags?i(a.check,X,$,Q-$):s(a.check,X,$,Q-$)),$=J,(a.flags?A:f(A))!==a.check){b.msg="incorrect data check",a.mode=30;break}O=A=0}a.mode=28;case 28:if(a.wrap&&a.flags){for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A!==(4294967295&a.total)){b.msg="incorrect length check",a.mode=30;break}O=A=0}a.mode=29;case 29:z=1;break e;case 30:z=-3;break e;case 31:return-4;case 32:default:return c}return b.next_out=Q,b.avail_out=J,b.next_in=B,b.avail_in=W,a.hold=A,a.bits=O,(a.wsize||$!==b.avail_out&&a.mode<30&&(a.mode<27||C!==4))&&q(b,b.output,b.next_out,$-b.avail_out)?(a.mode=31,-4):(K-=b.avail_in,$-=b.avail_out,b.total_in+=K,b.total_out+=$,a.total+=$,a.wrap&&$&&(b.adler=a.check=a.flags?i(a.check,X,$,b.next_out-$):s(a.check,X,$,b.next_out-$)),b.data_type=a.bits+(a.last?64:0)+(a.mode===12?128:0)+(a.mode===20||a.mode===15?256:0),(K==0&&$===0||C===4)&&z===v&&(z=-5),z)},t.inflateEnd=function(b){if(!b||!b.state)return c;var C=b.state;return C.window&&(C.window=null),b.state=null,v},t.inflateGetHeader=function(b,C){var a;return b&&b.state?(2&(a=b.state).wrap)==0?c:((a.head=C).done=!1,v):c},t.inflateSetDictionary=function(b,C){var a,L=C.length;return b&&b.state?(a=b.state).wrap!==0&&a.mode!==11?c:a.mode===11&&s(1,C,L,0)!==a.check?-3:q(b,C,L,L)?(a.mode=31,-4):(a.havedict=1,v):c},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,o,t){"use strict";var r=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],l=[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];o.exports=function(m,g,v,c,x,u,h,f){var w,_,S,I,R,T,N,F,G,q=f.bits,b=0,C=0,a=0,L=0,X=0,B=0,Q=0,W=0,J=0,A=0,O=null,K=0,$=new r.Buf16(16),j=new r.Buf16(16),ie=null,ce=0;for(b=0;b<=15;b++)$[b]=0;for(C=0;C<c;C++)$[g[v+C]]++;for(X=q,L=15;1<=L&&$[L]===0;L--);if(L<X&&(X=L),L===0)return x[u++]=20971520,x[u++]=20971520,f.bits=1,0;for(a=1;a<L&&$[a]===0;a++);for(X<a&&(X=a),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<c;C++)g[v+C]!==0&&(h[j[g[v+C]]++]=C);if(T=m===0?(O=ie=h,19):m===1?(O=s,K-=257,ie=i,ce-=257,256):(O=l,ie=p,-1),b=a,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,a=_=1<<B;x[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=g[v+h[C]]}if(X<b&&(A&I)!==S){for(Q===0&&(Q=X),R+=a,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;x[S=A&I]=X<<24|B<<16|R-u|0}}return A!==0&&(x[R+A]=b-Q<<24|64<<16|0),f.bits=X,0}},{"../utils/common":41}],51:[function(e,o,t){"use strict";o.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,o,t){"use strict";var r=e("../utils/common"),s=0,i=1;function l(d){for(var k=d.length;0<=--k;)d[k]=0}var p=0,m=29,g=256,v=g+1+m,c=30,x=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));l(q);var b=new Array(2*c);l(b);var C=new Array(512);l(C);var a=new Array(256);l(a);var L=new Array(m);l(L);var X,B,Q,W=new Array(c);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<c;k++)d.dyn_dtree[2*k]=0;for(k=0;k<x;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 me(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=a[E])+g+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,ge,Se,oe,Re,Je,xe=ue.dyn_tree,dt=ue.max_code,mr=ue.stat_desc.static_tree,gr=ue.stat_desc.has_stree,xr=ue.stat_desc.extra_bits,ht=ue.stat_desc.extra_base,Ee=ue.stat_desc.max_length,Le=0;for(oe=0;oe<=h;oe++)ee.bl_count[oe]=0;for(xe[2*ee.heap[ee.heap_max]+1]=0,Ie=ee.heap_max+1;Ie<u;Ie++)Ee<(oe=xe[2*xe[2*(ge=ee.heap[Ie])+1]+1]+1)&&(oe=Ee,Le++),xe[2*ge+1]=oe,dt<ge||(ee.bl_count[oe]++,Re=0,ht<=ge&&(Re=xr[ge-ht]),Je=xe[2*ge],ee.opt_len+=Je*(oe+Re),gr&&(ee.static_len+=Je*(mr[2*ge+1]+Re)));if(Le!==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]--,Le-=2}while(0<Le);for(oe=Ee;oe!==0;oe--)for(ge=ee.bl_count[oe];ge!==0;)dt<(Se=ee.heap[--Ie])||(xe[2*Se+1]!==oe&&(ee.opt_len+=(oe-xe[2*Se+1])*xe[2*Se],xe[2*Se+1]=oe),ge--)}}(d,k),ce(V,re,d.bl_count)}function n(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)}}l(W);var P=!1;function y(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)),r.arraySet(E.pending_buf,E.window,V,Z,E.pending),E.pending+=Z}(d,k,D,!0)}t._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++)a[U++]=E;for(a[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<c;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<c;k++)b[2*k+1]=5,b[2*k]=ie(k,5);X=new J(q,T,g+1,v,h),B=new J(b,N,0,c,h),Q=new J(new Array(0),F,0,x,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)},t._tr_stored_block=y,t._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<g;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(n(M,M.dyn_ltree,M.l_desc.max_code),n(M,M.dyn_dtree,M.d_desc.max_code),fe(M,M.bl_desc),H=x-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?y(d,k,D,U):d.strategy===4||V===E?($(d,2+(U?1:0),3),me(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),me(d,d.dyn_ltree,d.dyn_dtree)),Y(d),U&&te(d)},t._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*(a[D]+g+1)]++,d.dyn_dtree[2*O(k)]++),d.last_lit===d.lit_bufsize-1},t._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,o,t){"use strict";o.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,o,t){(function(r){(function(s,i){"use strict";if(!s.setImmediate){var l,p,m,g,v=1,c={},x=!1,u=s.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(s);h=h&&h.setTimeout?h:s,l={}.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}}()?(g="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",_,!1):s.attachEvent("onmessage",_),function(S){s.postMessage(g+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 c[v]=T,l(v),v++},h.clearImmediate=f}function f(S){delete c[S]}function w(S){if(x)setTimeout(w,0,S);else{var I=c[S];if(I){x=!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),x=!1}}}}function _(S){S.source===s&&typeof S.data=="string"&&S.data.indexOf(g)===0&&w(+S.data.slice(g.length))}})(typeof self>"u"?r===void 0?this:r:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});function Ue(e){return yt(e)}function Dr(e){return bt(e)}function It(e){return wt(e)}function pe(e,o){return mt(e,o)}function Ne(e){return vt(e)}function Be(e){return gt(e)}function et(e){return xt(e)}var de;(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"})(de||(de={}));var St;(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"})(St||(St={}));var Pe;(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"})(Pe||(Pe={}));var Pn=De(Fe());var je=function(){return je=Object.assign||function(o){for(var t,r=1,s=arguments.length;r<s;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i])}return o},je.apply(this,arguments)},rt={exports:{}},ne={},nt={exports:{}},ve={};function Tt(){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 Ur(e,o,t){}function Nr(e,o,t){}var Br=/javascript\s*\:/img;function Gr(e,o){return Br.test(o)?"":o}ve.whiteList=Tt();ve.getDefaultWhiteList=Tt;ve.onAttr=Ur;ve.onIgnoreAttr=Nr;ve.safeAttrValue=Gr;var Wr={indexOf:function(e,o){var t,r;if(Array.prototype.indexOf)return e.indexOf(o);for(t=0,r=e.length;t<r;t++)if(e[t]===o)return t;return-1},forEach:function(e,o,t){var r,s;if(Array.prototype.forEach)return e.forEach(o,t);for(r=0,s=e.length;r<s;r++)o.call(t,e[r],r,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,"")}},Te=Wr;function Vr(e,o){e=Te.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,r=!1,s=0,i=0,l="";function p(){if(!r){var v=Te.trim(e.slice(s,i)),c=v.indexOf(":");if(c!==-1){var x=Te.trim(v.slice(0,c)),u=Te.trim(v.slice(c+1));if(x){var h=o(s,l.length,x,u,v);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var m=e[i];if(m==="/"&&e[i+1]==="*"){var g=e.indexOf("*/",i+2);if(g===-1)break;i=g+1,s=i+1,r=!1}else m==="("?r=!0:m===")"?r=!1:m===";"?r||p():m===`
6
6
  `&&p()}return Te.trim(l)}var Mr=Vr,Ge=ve,jr=Mr;function Ot(e){return e==null}function $r(e){var o={};for(var t in e)o[t]=e[t];return o}function Ct(e){e=$r(e||{}),e.whiteList=e.whiteList||Ge.whiteList,e.onAttr=e.onAttr||Ge.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Ge.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Ge.safeAttrValue,this.options=e}Ct.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var o=this,t=o.options,r=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,p=jr(e,function(m,g,v,c,x){var u=r[v],h=!1;if(u===!0?h=u:typeof u=="function"?h=u(c):u instanceof RegExp&&(h=u.test(c)),h!==!0&&(h=!1),c=l(v,c),!!c){var f={position:g,sourcePosition:m,source:x,isWhite:h};if(h){var w=s(v,c,f);return Ot(w)?v+":"+c:w}else{var w=i(v,c,f);if(!Ot(w))return w}}});return p};var Zr=Ct;(function(e,o){var t=ve,r=Zr;function s(l,p){var m=new r(p);return m.process(l)}o=e.exports=s,o.FilterCSS=r;for(var i in t)o[i]=t[i]})(nt,nt.exports);var it=nt.exports,st={indexOf:function(e,o){var t,r;if(Array.prototype.indexOf)return e.indexOf(o);for(t=0,r=e.length;t<r;t++)if(e[t]===o)return t;return-1},forEach:function(e,o,t){var r,s;if(Array.prototype.forEach)return e.forEach(o,t);for(r=0,s=e.length;r<s;r++)o.call(t,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var o=/\s|\n|\t/,t=o.exec(e);return t?t.index:-1}},qr=it.FilterCSS,Hr=it.getDefaultWhiteList,$e=st;function zt(){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 Rt=new qr;function Kr(e,o,t){}function Jr(e,o,t){}function Xr(e,o,t){}function Qr(e,o,t){}function Lt(e){return e.replace(en,"&lt;").replace(tn,"&gt;")}function Yr(e,o,t,r){if(t=Wt(t),o==="href"||o==="src"){if(t=$e.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(o==="background"){if(We.lastIndex=0,We.test(t))return""}else if(o==="style"){if(At.lastIndex=0,At.test(t)||(Pt.lastIndex=0,Pt.test(t)&&(We.lastIndex=0,We.test(t))))return"";r!==!1&&(r=r||Rt,t=r.process(t))}return t=Vt(t),t}var en=/</g,tn=/>/g,rn=/"/g,nn=/&quot;/g,sn=/&#([a-zA-Z0-9]*);?/gim,on=/&colon;?/gim,an=/&newline;?/gim,We=/((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,At=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Pt=/u\s*r\s*l\s*\(.*/gi;function Dt(e){return e.replace(rn,"&quot;")}function Ut(e){return e.replace(nn,'"')}function Nt(e){return e.replace(sn,function(t,r){return r[0]==="x"||r[0]==="X"?String.fromCharCode(parseInt(r.substr(1),16)):String.fromCharCode(parseInt(r,10))})}function Bt(e){return e.replace(on,":").replace(an," ")}function Gt(e){for(var o="",t=0,r=e.length;t<r;t++)o+=e.charCodeAt(t)<32?" ":e.charAt(t);return $e.trim(o)}function Wt(e){return e=Ut(e),e=Nt(e),e=Bt(e),e=Gt(e),e}function Vt(e){return e=Dt(e),e=Lt(e),e}function ln(){return""}function cn(e,o){typeof o!="function"&&(o=function(){});var t=!Array.isArray(e);function r(l){return t?!0:$e.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,p,m){if(r(l))if(m.isClosing){var g="[/removed]",v=m.position+g.length;return s.push([i!==!1?i:m.position,v]),i=!1,g}else return i||(i=m.position),"[removed]";else return o(l,p,m)},remove:function(l){var p="",m=0;return $e.forEach(s,function(g){p+=l.slice(m,g[0]),m=g[1]}),p+=l.slice(m),p}}}function un(e){for(var o="",t=0;t<e.length;){var r=e.indexOf("<!--",t);if(r===-1){o+=e.slice(t);break}o+=e.slice(t,r);var s=e.indexOf("-->",r);if(s===-1)break;t=s+3}return o}function fn(e){var o=e.split("");return o=o.filter(function(t){var r=t.charCodeAt(0);return r===127?!1:r<=31?r===10||r===13:!0}),o.join("")}ne.whiteList=zt();ne.getDefaultWhiteList=zt;ne.onTag=Kr;ne.onIgnoreTag=Jr;ne.onTagAttr=Xr;ne.onIgnoreTagAttr=Qr;ne.safeAttrValue=Yr;ne.escapeHtml=Lt;ne.escapeQuote=Dt;ne.unescapeQuote=Ut;ne.escapeHtmlEntities=Nt;ne.escapeDangerHtml5Entities=Bt;ne.clearNonPrintableCharacter=Gt;ne.friendlyAttrValue=Wt;ne.escapeAttrValue=Vt;ne.onIgnoreTagStripAll=ln;ne.StripTagBody=cn;ne.stripCommentTag=un;ne.stripBlankChar=fn;ne.cssFilter=Rt;ne.getDefaultCSSWhiteList=Hr;var Ze={},we=st;function pn(e){var o=we.spaceIndex(e),t;return o===-1?t=e.slice(1,-1):t=e.slice(1,o+1),t=we.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function dn(e){return e.slice(0,2)==="</"}function hn(e,o,t){var r="",s=0,i=!1,l=!1,p=0,m=e.length,g="",v="";e:for(p=0;p<m;p++){var c=e.charAt(p);if(i===!1){if(c==="<"){i=p;continue}}else if(l===!1){if(c==="<"){r+=t(e.slice(s,p)),i=p,s=p;continue}if(c===">"){r+=t(e.slice(s,i)),v=e.slice(i,p+1),g=pn(v),r+=o(i,r.length,g,v,dn(v)),s=p+1,i=!1;continue}if(c==='"'||c==="'")for(var x=1,u=e.charAt(p-x);u.trim()===""||u==="=";){if(u==="="){l=c;continue e}u=e.charAt(p-++x)}}else if(c===l){l=!1;continue}}return s<e.length&&(r+=t(e.substr(s))),r}var mn=/[^a-zA-Z0-9\\_:.-]/gim;function gn(e,o){var t=0,r=0,s=[],i=!1,l=e.length;function p(x,u){if(x=we.trim(x),x=x.replace(mn,"").toLowerCase(),!(x.length<1)){var h=o(x,u||"");h&&s.push(h)}}for(var m=0;m<l;m++){var g=e.charAt(m),v,c;if(i===!1&&g==="="){i=e.slice(t,m),t=m+1,r=e.charAt(t)==='"'||e.charAt(t)==="'"?t:yn(e,m+1);continue}if(i!==!1&&m===r){if(c=e.indexOf(g,m+1),c===-1)break;v=we.trim(e.slice(r+1,c)),p(i,v),i=!1,m=c,t=m+1;continue}if(/\s|\n|\t/.test(g))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(c=xn(e,m),c===-1){v=we.trim(e.slice(t,m)),p(v),i=!1,t=m+1;continue}else{m=c-1;continue}else if(c=wn(e,m-1),c===-1){v=we.trim(e.slice(t,m)),v=Ft(v),p(i,v),i=!1,t=m+1;continue}else continue}return t<e.length&&(i===!1?p(e.slice(t)):p(i,Ft(we.trim(e.slice(t))))),we.trim(s.join(" "))}function xn(e,o){for(;o<e.length;o++){var t=e[o];if(t!==" ")return t==="="?o:-1}}function yn(e,o){for(;o<e.length;o++){var t=e[o];if(t!==" ")return t==="'"||t==='"'?o:-1}}function wn(e,o){for(;o>0;o--){var t=e[o];if(t!==" ")return t==="="?o:-1}}function vn(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Ft(e){return vn(e)?e.substr(1,e.length-2):e}Ze.parseTag=hn;Ze.parseAttr=gn;var bn=it.FilterCSS,he=ne,Mt=Ze,_n=Mt.parseTag,kn=Mt.parseAttr,Me=st;function Ve(e){return e==null}function In(e){var o=Me.spaceIndex(e);if(o===-1)return{html:"",closing:e[e.length-2]==="/"};e=Me.trim(e.slice(o+1,-1));var t=e[e.length-1]==="/";return t&&(e=Me.trim(e.slice(0,-1))),{html:e,closing:t}}function Sn(e){var o={};for(var t in e)o[t]=e[t];return o}function En(e){var o={};for(var t in e)Array.isArray(e[t])?o[t.toLowerCase()]=e[t].map(function(r){return r.toLowerCase()}):o[t.toLowerCase()]=e[t];return o}function jt(e){e=Sn(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=he.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=En(e.whiteList||e.allowList):e.whiteList=he.whiteList,e.onTag=e.onTag||he.onTag,e.onTagAttr=e.onTagAttr||he.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||he.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||he.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||he.safeAttrValue,e.escapeHtml=e.escapeHtml||he.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new bn(e.css))}jt.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var o=this,t=o.options,r=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,p=t.onIgnoreTagAttr,m=t.safeAttrValue,g=t.escapeHtml,v=o.cssFilter;t.stripBlankChar&&(e=he.stripBlankChar(e)),t.allowCommentTag||(e=he.stripCommentTag(e));var c=!1;t.stripIgnoreTagBody&&(c=he.StripTagBody(t.stripIgnoreTagBody,i),i=c.onIgnoreTag);var x=_n(e,function(u,h,f,w,_){var S={sourcePosition:u,position:h,isClosing:_,isWhite:Object.prototype.hasOwnProperty.call(r,f)},I=s(f,w,S);if(!Ve(I))return I;if(S.isWhite){if(S.isClosing)return"</"+f+">";var R=In(w),T=r[f],N=kn(R.html,function(F,G){var q=Me.indexOf(T,F)!==-1,b=l(f,F,G,q);return Ve(b)?q?(G=m(f,F,G,v),G?F+'="'+G+'"':F):(b=p(f,F,G,q),Ve(b)?void 0:b):b});return w="<"+f,N&&(w+=" "+N),R.closing&&(w+=" /"),w+=">",w}else return I=i(f,w,S),Ve(I)?g(w):I},g);return c&&(x=c.remove(x)),x};var On=jt;(function(e,o){var t=ne,r=Ze,s=On;function i(p,m){var g=new s(m);return g.process(p)}o=e.exports=i,o.filterXSS=i,o.FilterXSS=s,function(){for(var p in t)o[p]=t[p];for(var m in r)o[m]=r[m]}();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(rt,rt.exports);var be=rt.exports,An=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var o=Object.getPrototypeOf(e);if(o===null)return!0;for(;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o},ot=function(){function e(o,t){var r=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=je(je({},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,l,p,m){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?r.sanitizeUrl(p):be.safeAttrValue(i,l,p,m)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var s;o&&!t?s=o:o&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(o).forEach(function(i){if(i==="whiteList")s.whiteList=r._extendObjectOfArrays([r.arcgisWhiteList,o.whiteList||{}]);else if(i==="css"){var l=o.css.whiteList;l!=null&&o.css instanceof Object&&Object.keys(l).forEach(function(p){return s.css.whiteList[p]=l[p]})}else s[i]=o[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(o,t){switch(t===void 0&&(t={}),typeof o){case"number":return isNaN(o)||!isFinite(o)?null:o;case"boolean":return o;case"string":return this._xssFilter.process(o);case"object":return this._iterateOverObject(o,t);default:return t.allowUndefined&&typeof o>"u"?void 0:null}},e.prototype.sanitizeUrl=function(o,t){var r=(t??{}).isProtocolRequired,s=r===void 0?!0:r,i=this._trim(o.substring(0,o.indexOf(":"))),l=o==="/",p=/^#/.test(o),m=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||p||m?be.escapeAttrValue(o):!i&&!s?be.escapeAttrValue("https://".concat(o)):""},e.prototype.sanitizeHTMLAttribute=function(o,t,r,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(o,t,r,s):be.safeAttrValue(o,t,r,s)},e.prototype.validate=function(o,t){t===void 0&&(t={});var r=this.sanitize(o,t);return{isValid:o===r,sanitized:r}},e.prototype.encodeHTML=function(o){var t=this;return String(o).replace(/[&<>"'\/]/g,function(r){return t._entityMap[r]})},e.prototype.encodeAttrValue=function(o){var t=/^[a-zA-Z0-9]$/;return String(o).replace(/[\x00-\xFF]/g,function(r,s){return t.test(r)?r:"&#x".concat(Number(o.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(o){var t={};return o.forEach(function(r){Object.keys(r).forEach(function(s){Array.isArray(r[s])&&Array.isArray(t[s])?t[s]=t[s].concat(r[s]):t[s]=r[s]})}),t},e.prototype._iterateOverObject=function(o,t){var r=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(o))i=o.reduce(function(p,m){var g=r.validate(m,t);return g.isValid?p.concat([m]):(s=!0,p.concat([g.sanitized]))},[]);else if(An(o)){var l=Object.keys(o);i=l.reduce(function(p,m){var g=o[m],v=r.validate(g,t);return v.isValid?p[m]=g:(s=!0,p[m]=v.sanitized),p},{})}else return t.allowUndefined&&typeof o>"u"?void 0:null;return s?i:o}catch{return null}},e.prototype._trim=function(o){return String.prototype.trim?o.trim():o.replace(/(^\s*)|(\s*$)/g,"")},e}();function Fn(e,o){return o||(o=new ot),o.sanitize(e)}function _e(e){return new Promise(o=>{qe(e).then(t=>{try{o(JSON.parse(t))}catch{o(null)}},()=>o(null))})}function Ce(e,o,t){return new File([e],o||"",{type:t??e.type})}function qe(e){return new Promise(o=>{let t=new FileReader;t.onload=function(r){let s=r.target.result;o(s||"")},t.readAsText(e)})}function ze(e){return e&&(e.endsWith("/")?e:e+"/")}function le(e,o){return o.split(".").reduce(function(t,r){return t?t[r]:void 0},e)}function Ki(e,o,t){let r=o.split(".").reduce(function(s,i){return s?s[i]:void 0},e);return typeof r>"u"?t:r}function at(e,o,t){let r=o.split(".");r.reduce((s,i,l)=>l===r.length-1?(s[i]=t,t):(s[i]||(s[i]={}),s[i]),e)}function lt(e,o,t){if(le(e,o)){let r=o.split(".");r.reduce((s,i,l)=>l===r.length-1?(s[i]=t,t):s[i],e)}}function ke(e,o,t={}){if(!e)return Promise.reject("Url must be provided");let r={authentication:o,rawResponse:!0,...t};return pe(e,r).then(s=>s.blob())}function Gn(e){let o={q:"",start:1,num:100};return typeof e=="string"?o.q=e:e instanceof Ae?o.q=e.toParam():o={...o,...e},o.sortField==="relevance"&&delete o.sortField,o}function Wn(e){return Ne(e)}function Vn(e,o){let t=Gn(e),r=o||{query:t.q,start:1,num:100,nextStart:-1,total:0,results:[]};return new Promise((s,i)=>{Wn(e).then(l=>{r.results=r.results.concat(l.results),r.num=r.total=r.results.length,l.nextStart>0?(t.start=l.nextStart,s(Vn(t,r))):s(r)},l=>i(l))})}function Mn(e,o,t,r,s,i){r=r||{};let l=i||{query:o,start:1,num:100,nextStart:-1,total:0,results:[]};return r.sortField==="relevance"&&delete r.sortField,new Promise((p,m)=>{Ht(e,o,t,r,s).then(g=>{l.results=l.results.concat(g.results),l.num=l.total=l.results.length,g.nextStart>0?(r.start=g.nextStart,p(Mn(e,o,t,r,s,l))):p(l)},g=>m(g))})}function Ht(e,o,t,r,s){let i={groupId:e,q:o,params:Object.assign({num:100},r),authentication:t,portal:s};return Array.isArray(i.params.categories)&&(i.params.categories=i.params.categories.map(l=>l.split(","))),Qe(i)}function Kt(e,o,t,r){return new Promise((s,i)=>{let l={item:e,folderId:t,authentication:o,params:{...r??{}}};e?.data instanceof File?l.params.file=e.data:l.params.text=e.data,Be(l).then(p=>p.success?s(p):i(p),p=>i(p))})}var qn="PK";function Jt(e,o){return Ye(e,{authentication:o})}function Xt(e){return e.getUser()}function He(e,o,t,r=[],s){return new Promise((i,l)=>{Qt(e,t,r).then(p=>i(p?Ce(p,o,s):null),l)})}function Qt(e,o,t=[]){return new Promise((r,s)=>{ke(e,o).then(i=>{ft(i).then(l=>{l.type==="application/json"?_e(l).then(p=>{if(p?.error){let m=p.error.code;m!==void 0&&t.indexOf(m)>=0?r(null):s(p)}else r(l)}):r(l)},s)},s)})}async function Yt(e,o){let t=`${e}/portals/self/servers`;return(await pe(t,{authentication:o,httpMethod:"GET",params:{f:"json"}})).servers}function ut(e,o){return new Promise(t=>{Hn(e,o).then(r=>t(_e(r)),()=>t(null))})}function Hn(e,o){return new Promise(t=>{let r=Kn(e,o);Qt(r,o,[400,500]).then(s=>t(ft(s)),()=>t(null))})}function Kn(e,o){return`${Jn(o)}/content/items/${e}/data`}function ro(e,o){return ke(e,o,{httpMethod:"GET"}).then(r=>ft(r)).then(r=>r.type==="application/json"?_e(r):Promise.resolve(null))}function Jn(e){return le(e,"portal")||"https://www.arcgis.com/sharing/rest"}function er(e,o,t){return new Promise(r=>{He(e,o,t,[500]).then(r,()=>r(null))})}function ft(e){return new Promise((o,t)=>{e&&e.size>0&&(e.type.startsWith("text/plain")||e.type.startsWith("application/json"))?qe(e).then(r=>{try{JSON.parse(r),o(new Blob([e],{type:"application/json"}))}catch{r.length>4&&r.substr(0,4)===qn?o(new Blob([e],{type:"application/zip"})):r.startsWith("<")?o(new Blob([e],{type:"text/xml"})):o(e)}},t):e?o(e):t()})}var Qn=De(Fe());function ye(e,o,t){return{...e,fetchedFromSource:o,copiedToDestination:t}}var Yn=De(Fe());async function vo(e,o){try{let t=`${e}/checkStatus`,i=(await pe(t,{authentication:o,httpMethod:"GET",params:{f:"json"}}))?.hasAdvancedLicense||!1;return Promise.resolve(i)}catch{return Promise.resolve(!1)}}async function rr(e,o,t){let r;if(!o){let l=await Xt(e);t=t??l.orgId,o=await Jt("",e)}let s=`https://${o.portalHostname}`,i=`${s}/sharing/rest`;return o.isPortal?r=await ei(i,e):r=o.helperServices?.workflowManager?.url??s,Promise.resolve(t?`${r}/${t}`:`${r}/workflow`)}async function ei(e,o){let r=(await Yt(e,o)).find(s=>s.serverFunction==="WorkflowManager");return r?r.url:""}var ir;(function(e){e[e.NotYetVisited=0]="NotYetVisited",e[e.InProgress=1]="InProgress",e[e.Finished=2]="Finished"})(ir||(ir={}));function or(e){let o=`${Xe(e)}/portals/self/subscriptioninfo`,t={httpMethod:"GET",...e};return pe(o,t)}var pt;(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"})(pt||(pt={}));function lr(e,o=0){let t=e.split("/"),r=t.pop(),s="",i=t.shift(),l=de.Resource;if(i)if(i.endsWith("_info_thumbnail"))l=de.Thumbnail;else if(i.endsWith("_info_metadata"))l=de.Metadata,r="metadata.xml";else if(i.endsWith("_info_data"))l=de.Data;else if(i.endsWith("_info_dataz"))r=r.replace(/\.zip$/,""),l=de.Data;else if(o<1){let p=i.indexOf("_");p>0&&(s=i.substr(p+1))}else s=t.join("/");return{type:l,folder:s,filename:r}}function cr(e,o){return e.folder?o.zip.folder(e.folder).file(e.filename,e.file,{binary:!0}):o.zip.file(e.filename,e.file,{binary:!0}),o.filelist.push(e),ye(e,!0)}function ur(e,o,t){return new Promise(r=>{e.zip.generateAsync({type:"blob"}).then(s=>Ce(s,e.filename,"application/zip")).then(s=>Ue({id:o,resource:s,authentication:t,params:{archive:!0}})).then(()=>r(ye(e,!0,!0)),()=>r(ye(e,!0,!1)))})}var pr=De(Fe());function dr(e,o,t,r=40){return new Promise(s=>{let i=[],l=[];if(e.length>0){let m=0,g=fr(m);l.push(g);let v=0;e.forEach(c=>{(g.filelist.length>=r||v+c.file.size>=49999e3)&&(m++,g=fr(m),l.push(g),v=0),i.push(cr(c,g)),v+=c.file.size})}i.length>0?Promise.all(i).then(p=>{p=p.filter(m=>!(m.fetchedFromSource&&typeof m.copiedToDestination>"u")),di(l,o,t).then(m=>{s(p.concat(m))})}):s([])})}function di(e,o,t){return new Promise(r=>{let s=[],i=e.filter(l=>Object.keys(l.zip.files).length>0);i.length>0?hr(i,o,t).then(l=>{r(l)}):r(s)})}function fr(e){return{filename:`resources${e}.zip`,zip:new pr.default,filelist:[]}}function hr(e,o,t){return new Promise(r=>{let s=[],i=e.pop(),l=Promise.resolve([]);e.length>0&&(l=hr(e,o,t)),l.then(p=>(s=p,new Promise(m=>{setTimeout(()=>m(),1e3)}))).then(()=>ur(i,o,t)).then(p=>{p.filelist.forEach(m=>{s.push(ye(m,!0,p.copiedToDestination))}),r(s)})})}function sc(e,o,t){return new Promise(r=>{dr(e,o,t).then(s=>{r(s.filter(i=>i.fetchedFromSource&&i.copiedToDestination).map(i=>i.folder+"/"+i.filename))})})}function hi(e,o,t){return ze(e)+"content/items/"+o+"/resources/"+t}function oc(e,o,t=[],r=0){return t.map(s=>({url:hi(e,o,s),...lr(s,r)}))}function ac(e){let o=e.match(/\.([a-z]+)$/i);return!!o&&"|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|".indexOf("|"+o[0]+"|")>=0}function lc(e,o){let t,r;return o.forEach(s=>{s.type===de.Thumbnail&&(t=s.url,r=s.filename)}),t?er(t,r,e):Promise.resolve(null)}function cc(e,o,t){return It({id:e,resource:o,authentication:t})}function uc(e,o,t,r){let s=o.split("/"),i=s.length>1?s.slice(0,s.length-1).join("/"):void 0,l=s[s.length-1];return et({id:e,prefix:i,name:l,resource:t,authentication:r})}function $c(e,o){return o.hasOwnProperty("velocityUrl")?Promise.resolve(o.velocityUrl):mi(e).then(t=>(o.velocityUrl=t.velocityUrl,Promise.resolve(t.velocityUrl)))}function mi(e){return or({authentication:e}).then(o=>{let t="",r=!1,s=le(o,"orgCapabilities");return Array.isArray(s)&&s.some(i=>(r=i.id==="velocity"?!0:r,r&&i.status==="active"&&i.velocityUrl&&(t=i.velocityUrl),t)),Promise.resolve({velocityUrl:t,hasVelocity:r})})}export{Dr as a,pe as b,de as c,Fn as d,le as e,Ki as f,at as g,lt as h,ut as i,ro as j,Vn as k,Mn as l,Kt as m,vo as n,rr as o,ei as p,sc as q,oc as r,ac as s,lc as t,cc as u,uc as v,$c as w};
@@ -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.20250528.1 */
4
- import{a as n}from"./3WNIWICF.js";import{a as s}from"./4EEFLJ7L.js";import"./JTR2SH4G.js";import"./IYU2EMNF.js";import"./MV7WFJWQ.js";import"./GOJUA34O.js";import{a as r,b as i}from"./PDSHIJNC.js";import"./GBW3TB6N.js";import"./WIUOXWKD.js";import{a as o}from"./LAMCTX2N.js";import{a}from"./NRKV4EJ5.js";import"./PEAUVPGM.js";import"./PQYDJLKT.js";import"./MD4FE2CK.js";import"./JFW3ETMX.js";import"./KIFEL7BK.js";import"./6CDGGVGE.js";import"./LEPBL2Y4.js";import"./MZR4QIPT.js";import"./HQRVKXX3.js";import"./4BCOHKBU.js";import"./NLEAVUXF.js";import"./B3LCPBNL.js";import"./2BKLFFV3.js";import"./LDBZTZKY.js";import"./OFT4RWEQ.js";import"./5R67XATC.js";import"./OWFH5BT6.js";import"./ATD6DCLS.js";import"./QB3JQLSH.js";import"./XTBY6TYN.js";import"./7PBXJUEO.js";import"./5GTGLHQA.js";import"./C6CUID27.js";import"./CQVD5CBU.js";import"./LSN7P2WQ.js";import"./N25XK6FN.js";import"./KGCLTR2S.js";import"./AJGIKTXY.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.0.0-next.20250528.2 */
4
+ import{a as n}from"./JBG5SAVM.js";import{a as s}from"./ARQHAHK5.js";import"./Y3MVHWDO.js";import"./AJUGJQUJ.js";import"./FPWLAJBO.js";import"./73NJ4RPV.js";import{a as r,b as i}from"./MHSBM4WB.js";import"./AHEWCN4W.js";import"./I4KZ2A5P.js";import{a as o}from"./JBDNXDLS.js";import{a}from"./IBDFSTWX.js";import"./5BKTEPSJ.js";import"./UZVRS2XU.js";import"./QPNL4XAH.js";import"./3XJKMZHA.js";import"./COLHBQ5X.js";import"./ZJXXAWMH.js";import"./XEO56VFL.js";import"./UHBAUGQ4.js";import"./BB7RJW6E.js";import"./4ME5QMIF.js";import"./R53BLRMX.js";import"./XFDA7NEB.js";import"./JDSGIOVR.js";import"./6XYU4BZS.js";import"./IP6ATOM6.js";import"./RIQZUFV2.js";import"./SFJHXT65.js";import"./RVOILI7H.js";import"./AH5AIEIN.js";import"./GUP4UK2N.js";import"./X6GE3EIS.js";import"./Z2MJRFIE.js";import"./T2DUZEDU.js";import"./N324UTZ5.js";import"./MVN27KOI.js";import"./Y4M5KS3M.js";import"./A3JKO4I4.js";import"./B4HONVWZ.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -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.20250528.1 */
3
+ v1.0.0-next.20250528.2 */
4
4
  function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
@@ -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.20250528.1 */
4
- import{a as b}from"./R73PDU63.js";import{a}from"./CY46FXGX.js";import"./GUKAJOM3.js";import"./KONDPSKH.js";import"./MXWAIEZD.js";import"./MV7WFJWQ.js";import"./PEAUVPGM.js";import"./PQYDJLKT.js";import"./JFW3ETMX.js";import{h as l,i as h}from"./Y5PUS34W.js";import{a as m}from"./C2QYX64L.js";import{D as p,I as u,c as d,d as r,o as n,q as f}from"./L3QLTAE7.js";import"./AJGIKTXY.js";var g=d`@layer{/** @license
3
+ v1.0.0-next.20250528.2 */
4
+ import{a as b}from"./AF3RJAL5.js";import{a}from"./FCHOLYNH.js";import"./2TF5G4JI.js";import"./HJJD6V2O.js";import"./XN5WML6J.js";import"./FPWLAJBO.js";import"./5BKTEPSJ.js";import"./UZVRS2XU.js";import"./3XJKMZHA.js";import{h as l,i as h}from"./LBJE5BZD.js";import{a as m}from"./YFG6Q4W4.js";import{D as p,I as u,c as d,d as r,o as n,q as f}from"./NNQAPUKF.js";import"./B4HONVWZ.js";var g=d`@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.20250528.1 */
4
- import{b as d}from"./HSQGDLNP.js";import{D as c,E as l,I as h,c as o,d as a,o as r}from"./L3QLTAE7.js";import"./AJGIKTXY.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.0.0-next.20250528.2 */
4
+ import{b as d}from"./SGXJZQ4L.js";import{D as c,E as l,I as h,c as o,d as a,o as r}from"./NNQAPUKF.js";import"./B4HONVWZ.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends c{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${l(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${d(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};h("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -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.20250528.1 */
4
- import{a as b}from"./I6S2QECH.js";import{b as c}from"./MD4FE2CK.js";import{a as u}from"./JFW3ETMX.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
3
+ v1.0.0-next.20250528.2 */
4
+ import{a as b}from"./LYQL4O5M.js";import{b as c}from"./QPNL4XAH.js";import{a as u}from"./3XJKMZHA.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
@@ -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.20250528.1 */
4
- import{a as t}from"./KIFEL7BK.js";import"./6CDGGVGE.js";import"./LEPBL2Y4.js";import"./MZR4QIPT.js";import"./HQRVKXX3.js";import"./4BCOHKBU.js";import"./NLEAVUXF.js";import"./B3LCPBNL.js";import"./2BKLFFV3.js";import"./LDBZTZKY.js";import"./OFT4RWEQ.js";import"./5R67XATC.js";import"./OWFH5BT6.js";import"./ATD6DCLS.js";import"./QB3JQLSH.js";import"./XTBY6TYN.js";import"./7PBXJUEO.js";import"./5GTGLHQA.js";import"./C6CUID27.js";import"./CQVD5CBU.js";import"./LSN7P2WQ.js";import"./N25XK6FN.js";import"./KGCLTR2S.js";import"./AJGIKTXY.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.0.0-next.20250528.2 */
4
+ import{a as t}from"./COLHBQ5X.js";import"./ZJXXAWMH.js";import"./XEO56VFL.js";import"./UHBAUGQ4.js";import"./BB7RJW6E.js";import"./4ME5QMIF.js";import"./R53BLRMX.js";import"./XFDA7NEB.js";import"./JDSGIOVR.js";import"./6XYU4BZS.js";import"./IP6ATOM6.js";import"./RIQZUFV2.js";import"./SFJHXT65.js";import"./RVOILI7H.js";import"./AH5AIEIN.js";import"./GUP4UK2N.js";import"./X6GE3EIS.js";import"./Z2MJRFIE.js";import"./T2DUZEDU.js";import"./N324UTZ5.js";import"./MVN27KOI.js";import"./Y4M5KS3M.js";import"./A3JKO4I4.js";import"./B4HONVWZ.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -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.20250528.1 */
4
- import{b as c}from"./PQYDJLKT.js";import{a as y}from"./JFW3ETMX.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.0.0-next.20250528.2 */
4
+ import{b as c}from"./UZVRS2XU.js";import{a as y}from"./3XJKMZHA.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
@@ -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.20250528.1 */
4
- import{k as a}from"./PEAUVPGM.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.0.0-next.20250528.2 */
4
+ import{k as a}from"./5BKTEPSJ.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
@@ -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.20250528.1 */
4
- import{a as t}from"./F3PTGHYO.js";import"./BZAHWVGQ.js";import"./TILTEUIM.js";import"./I6S2QECH.js";import"./MD4FE2CK.js";import"./JFW3ETMX.js";import"./MZR4QIPT.js";import"./AJGIKTXY.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
3
+ v1.0.0-next.20250528.2 */
4
+ import{a as t}from"./WVVZ4CLC.js";import"./TQ24PIOH.js";import"./HTYN6WXU.js";import"./LYQL4O5M.js";import"./QPNL4XAH.js";import"./3XJKMZHA.js";import"./UHBAUGQ4.js";import"./B4HONVWZ.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};