@esri/solutions-components 1.0.0-next.20250429.2 → 1.0.0-next.20250429.3

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 (977) hide show
  1. package/dist/cdn/22C42FDX.js +4 -0
  2. package/dist/cdn/22C42FDX.js.LEGAL.txt +19 -0
  3. package/dist/cdn/22KNDU4L.js +4 -0
  4. package/dist/cdn/232LGUIO.js +4 -0
  5. package/dist/cdn/2AEL333V.js +18 -0
  6. package/dist/cdn/2AEL333V.js.LEGAL.txt +3 -0
  7. package/dist/cdn/2FH6O37T.js +4 -0
  8. package/dist/cdn/2ITYWJXP.js +4 -0
  9. package/dist/cdn/2IWO7WG6.js +4 -0
  10. package/dist/cdn/2JGS45NH.js +4 -0
  11. package/dist/cdn/2NJHKJAJ.js +4 -0
  12. package/dist/cdn/2OIZKSYT.js +19 -0
  13. package/dist/cdn/2OIZKSYT.js.LEGAL.txt +3 -0
  14. package/dist/cdn/2PV4QPIQ.js +5 -0
  15. package/dist/cdn/33AWADPB.js +4 -0
  16. package/dist/cdn/33AWADPB.js.LEGAL.txt +19 -0
  17. package/dist/cdn/3DXNKSG6.js +4 -0
  18. package/dist/cdn/3E4ICQQ3.js +4 -0
  19. package/dist/cdn/3GCIZKCB.js +4 -0
  20. package/dist/cdn/3P7TLCLI.js +4 -0
  21. package/dist/cdn/3SP5OSNB.js +4 -0
  22. package/dist/cdn/3SP5OSNB.js.LEGAL.txt +19 -0
  23. package/dist/cdn/3UWP5XXE.js +18 -0
  24. package/dist/cdn/3UWP5XXE.js.LEGAL.txt +3 -0
  25. package/dist/cdn/4FYNOCLD.js +18 -0
  26. package/dist/cdn/4FYNOCLD.js.LEGAL.txt +3 -0
  27. package/dist/cdn/4LCTK7J4.js +4 -0
  28. package/dist/cdn/4TI6X2JW.js +18 -0
  29. package/dist/cdn/4TI6X2JW.js.LEGAL.txt +3 -0
  30. package/dist/cdn/4VLLD5RN.js +4 -0
  31. package/dist/cdn/4XI4JXYW.js +4 -0
  32. package/dist/cdn/4XWAYGQL.js +4 -0
  33. package/dist/cdn/4XWAYGQL.js.LEGAL.txt +19 -0
  34. package/dist/cdn/5CAFFNYB.js +4 -0
  35. package/dist/cdn/5GLDM3BA.js +4 -0
  36. package/dist/cdn/5GXHM63I.js +4 -0
  37. package/dist/cdn/5IAJTDXA.js +18 -0
  38. package/dist/cdn/5IAJTDXA.js.LEGAL.txt +3 -0
  39. package/dist/cdn/5LYR3JND.js +4 -0
  40. package/dist/cdn/5NTDBPJK.js +4 -0
  41. package/dist/cdn/6COR6M4G.js +18 -0
  42. package/dist/cdn/6COR6M4G.js.LEGAL.txt +3 -0
  43. package/dist/cdn/6EMGQAGO.js +18 -0
  44. package/dist/cdn/6EMGQAGO.js.LEGAL.txt +3 -0
  45. package/dist/cdn/6IOPZJBD.js +4 -0
  46. package/dist/cdn/6IOPZJBD.js.LEGAL.txt +3 -0
  47. package/dist/cdn/6IQJIA5G.js +4 -0
  48. package/dist/cdn/6JTY4XUU.js +18 -0
  49. package/dist/cdn/6JTY4XUU.js.LEGAL.txt +3 -0
  50. package/dist/cdn/6TNZ75ZY.js +4 -0
  51. package/dist/cdn/6TXOISGI.js +4 -0
  52. package/dist/cdn/7BQERNNX.js +4 -0
  53. package/dist/cdn/7D5CUQCA.js +4 -0
  54. package/dist/cdn/7DXTNVT2.js +4 -0
  55. package/dist/cdn/7QNDLRLN.js +4 -0
  56. package/dist/cdn/7UJWRH4O.js +4 -0
  57. package/dist/cdn/7YJLZ4QU.js +4 -0
  58. package/dist/cdn/A5D5ZESH.js +4 -0
  59. package/dist/cdn/A6QZZ3VH.js +8 -0
  60. package/dist/cdn/AE6BYXKE.js +9 -0
  61. package/dist/cdn/AENDOSHK.js +18 -0
  62. package/dist/cdn/AENDOSHK.js.LEGAL.txt +3 -0
  63. package/dist/cdn/AJMMJ35D.js +18 -0
  64. package/dist/cdn/AJMMJ35D.js.LEGAL.txt +3 -0
  65. package/dist/cdn/ANMQ4WEC.js +4 -0
  66. package/dist/cdn/APKQAZ37.js +18 -0
  67. package/dist/cdn/APKQAZ37.js.LEGAL.txt +12 -0
  68. package/dist/cdn/ASBPBNSA.js +18 -0
  69. package/dist/cdn/ASBPBNSA.js.LEGAL.txt +3 -0
  70. package/dist/cdn/ATOGX4LJ.js +4 -0
  71. package/dist/cdn/AXU5JSJR.js +4 -0
  72. package/dist/cdn/AZRFJ75J.js +4 -0
  73. package/dist/cdn/B56ZED7E.js +4 -0
  74. package/dist/cdn/BA3CJDGS.js +18 -0
  75. package/dist/cdn/BA3CJDGS.js.LEGAL.txt +3 -0
  76. package/dist/cdn/BFSRKOM5.js +4 -0
  77. package/dist/cdn/BFSRKOM5.js.LEGAL.txt +3 -0
  78. package/dist/cdn/BKMIKPJP.js +4 -0
  79. package/dist/cdn/BKRPTQTF.js +8 -0
  80. package/dist/cdn/BM6ZKAKX.js +4 -0
  81. package/dist/cdn/BRU5VLZB.js +4 -0
  82. package/dist/cdn/BV6EFJZC.js +4 -0
  83. package/dist/cdn/BWXKL73Q.js +4 -0
  84. package/dist/cdn/BXRR5CQX.js +18 -0
  85. package/dist/cdn/BXRR5CQX.js.LEGAL.txt +3 -0
  86. package/dist/cdn/BZMDZKKD.js +4 -0
  87. package/dist/cdn/C2NUDCJS.js +4 -0
  88. package/dist/cdn/C7USIHQI.js +4 -0
  89. package/dist/cdn/CBYQGHGB.js +4 -0
  90. package/dist/cdn/CHDRCTA2.js +5 -0
  91. package/dist/cdn/CSCKSCJS.js +4 -0
  92. package/dist/cdn/CSP52SLP.js +18 -0
  93. package/dist/cdn/CSP52SLP.js.LEGAL.txt +3 -0
  94. package/dist/cdn/D7RBYDHA.js +4 -0
  95. package/dist/cdn/DDUXI4IF.js +4 -0
  96. package/dist/cdn/DF5H3IEK.js +4 -0
  97. package/dist/cdn/DF7SC7I7.js +4 -0
  98. package/dist/cdn/DJOH7G5F.js +4 -0
  99. package/dist/cdn/DOCWZAWQ.js +4 -0
  100. package/dist/cdn/DOSIDEDS.js +4 -0
  101. package/dist/cdn/DPMODVSM.js +4 -0
  102. package/dist/cdn/DSVZ2BC3.js +4 -0
  103. package/dist/cdn/E56O66QA.js +18 -0
  104. package/dist/cdn/E56O66QA.js.LEGAL.txt +3 -0
  105. package/dist/cdn/E5WTQS2M.js +4 -0
  106. package/dist/cdn/ECPXOJK5.js +4 -0
  107. package/dist/cdn/EDFTPYOI.js +4 -0
  108. package/dist/cdn/EDFTPYOI.js.LEGAL.txt +19 -0
  109. package/dist/cdn/ELMN6SPW.js +4 -0
  110. package/dist/cdn/F7OSD75F.js +18 -0
  111. package/dist/cdn/F7OSD75F.js.LEGAL.txt +3 -0
  112. package/dist/cdn/FBI5RFZO.js +4 -0
  113. package/dist/cdn/FIT7VLTE.js +4 -0
  114. package/dist/cdn/FKSMD5UK.js +4 -0
  115. package/dist/cdn/FMMPP732.js +4 -0
  116. package/dist/cdn/FRGVF7FO.js +18 -0
  117. package/dist/cdn/FRGVF7FO.js.LEGAL.txt +3 -0
  118. package/dist/cdn/FUCKI2Q2.js +4 -0
  119. package/dist/cdn/GBFJW66J.js +4 -0
  120. package/dist/cdn/GOYPO5MZ.js +4 -0
  121. package/dist/cdn/GQFFK53T.js +18 -0
  122. package/dist/cdn/GQFFK53T.js.LEGAL.txt +3 -0
  123. package/dist/cdn/GRDGWIKI.js +18 -0
  124. package/dist/cdn/GRDGWIKI.js.LEGAL.txt +3 -0
  125. package/dist/cdn/GXIIZSKH.js +18 -0
  126. package/dist/cdn/GXIIZSKH.js.LEGAL.txt +3 -0
  127. package/dist/cdn/H2VC657I.js +4 -0
  128. package/dist/cdn/H5NGIUOR.js +6 -0
  129. package/dist/cdn/HHPIXOVQ.js +4 -0
  130. package/dist/cdn/HIMWA4AY.js +4 -0
  131. package/dist/cdn/HKWNXB2L.js +4 -0
  132. package/dist/cdn/HNLERDEE.js +4 -0
  133. package/dist/cdn/HO6XHKTA.js +4 -0
  134. package/dist/cdn/HQGWPLKX.js +18 -0
  135. package/dist/cdn/HQGWPLKX.js.LEGAL.txt +3 -0
  136. package/dist/cdn/HRS7TH4V.js +4 -0
  137. package/dist/cdn/HTTNKKGA.js +4 -0
  138. package/dist/cdn/HTTNKKGA.js.LEGAL.txt +3 -0
  139. package/dist/cdn/HTTZT4XO.js +4 -0
  140. package/dist/cdn/I3S3RHKO.js +4 -0
  141. package/dist/cdn/IDPY2HTP.js +4 -0
  142. package/dist/cdn/IFCEXPSO.js +4 -0
  143. package/dist/cdn/IGSPYODN.js +4 -0
  144. package/dist/cdn/IGUIFKBM.js +18 -0
  145. package/dist/cdn/IGUIFKBM.js.LEGAL.txt +3 -0
  146. package/dist/cdn/IH5KLHCP.js +4 -0
  147. package/dist/cdn/IH5T4YI4.js +4 -0
  148. package/dist/cdn/IJI5TVVB.js +4 -0
  149. package/dist/cdn/IKTHL4ZP.js +4 -0
  150. package/dist/cdn/ILBGLKAM.js +4 -0
  151. package/dist/cdn/IMF62JCN.js +4 -0
  152. package/dist/cdn/ISVFWP52.js +4 -0
  153. package/dist/cdn/IVQASYLB.js +4 -0
  154. package/dist/cdn/IWT5TQHH.js +4 -0
  155. package/dist/cdn/IXSAZ44D.js +4 -0
  156. package/dist/cdn/IXSAZ44D.js.LEGAL.txt +3 -0
  157. package/dist/cdn/J2GZERNM.js +18 -0
  158. package/dist/cdn/J2GZERNM.js.LEGAL.txt +3 -0
  159. package/dist/cdn/J2LO6UQR.js +4 -0
  160. package/dist/cdn/J57SZTYW.js +4 -0
  161. package/dist/cdn/J57SZTYW.js.LEGAL.txt +19 -0
  162. package/dist/cdn/JBZRABGU.js +4 -0
  163. package/dist/cdn/JFPQM5EE.js +18 -0
  164. package/dist/cdn/JFPQM5EE.js.LEGAL.txt +3 -0
  165. package/dist/cdn/JIS2U65W.js +18 -0
  166. package/dist/cdn/JIS2U65W.js.LEGAL.txt +19 -0
  167. package/dist/cdn/JKQLTUJ4.js +4 -0
  168. package/dist/cdn/JO2JPCFU.js +4 -0
  169. package/dist/cdn/JQ6T7T6G.js +4 -0
  170. package/dist/cdn/JR33HLNM.js +4 -0
  171. package/dist/cdn/JRHT3EK5.js +4 -0
  172. package/dist/cdn/JSQ5AWBW.js +4 -0
  173. package/dist/cdn/JVBGOVFZ.js +4 -0
  174. package/dist/cdn/JVDPUR2A.js +18 -0
  175. package/dist/cdn/JVDPUR2A.js.LEGAL.txt +3 -0
  176. package/dist/cdn/JZJO4WUB.js +4 -0
  177. package/dist/cdn/K6GWELTC.js +4 -0
  178. package/dist/cdn/KDRND4Z6.js +4 -0
  179. package/dist/cdn/KDVAQFLQ.js +18 -0
  180. package/dist/cdn/KDVAQFLQ.js.LEGAL.txt +3 -0
  181. package/dist/cdn/KIAF4C7S.js +18 -0
  182. package/dist/cdn/KIAF4C7S.js.LEGAL.txt +3 -0
  183. package/dist/cdn/KV6GNY37.js +9 -0
  184. package/dist/cdn/KVNQVUB5.js +4 -0
  185. package/dist/cdn/KXQJZ64O.js +4 -0
  186. package/dist/cdn/KY3QJMUH.js +4 -0
  187. package/dist/cdn/L2EGCDW5.js +18 -0
  188. package/dist/cdn/L2EGCDW5.js.LEGAL.txt +19 -0
  189. package/dist/cdn/L4URQLYC.js +18 -0
  190. package/dist/cdn/L4URQLYC.js.LEGAL.txt +3 -0
  191. package/dist/cdn/LBFURSNG.js +18 -0
  192. package/dist/cdn/LBFURSNG.js.LEGAL.txt +3 -0
  193. package/dist/cdn/LBTJ6QOS.js +4 -0
  194. package/dist/cdn/LIGAEQWZ.js +4 -0
  195. package/dist/cdn/LJVWV5E2.js +4 -0
  196. package/dist/cdn/LKA43LHY.js +4 -0
  197. package/dist/cdn/LLZZKICA.js +4 -0
  198. package/dist/cdn/LLZZKICA.js.LEGAL.txt +19 -0
  199. package/dist/cdn/LQUAMNZ7.js +18 -0
  200. package/dist/cdn/LQUAMNZ7.js.LEGAL.txt +3 -0
  201. package/dist/cdn/LRFMMOD2.js +18 -0
  202. package/dist/cdn/LRFMMOD2.js.LEGAL.txt +3 -0
  203. package/dist/cdn/LUZYQCG5.js +4 -0
  204. package/dist/cdn/LYAO22U7.js +18 -0
  205. package/dist/cdn/LYAO22U7.js.LEGAL.txt +3 -0
  206. package/dist/cdn/LYYW4BAR.js +18 -0
  207. package/dist/cdn/LYYW4BAR.js.LEGAL.txt +3 -0
  208. package/dist/cdn/M6DUTYFC.js +4 -0
  209. package/dist/cdn/M7LN44CN.js +4 -0
  210. package/dist/cdn/MAHMET42.js +18 -0
  211. package/dist/cdn/MAHMET42.js.LEGAL.txt +3 -0
  212. package/dist/cdn/MBI3VZU6.js +4 -0
  213. package/dist/cdn/MC2AOFXZ.js +4 -0
  214. package/dist/cdn/MDCKXQJO.js +4 -0
  215. package/dist/cdn/MDDPKODP.js +4 -0
  216. package/dist/cdn/MHHG4QRX.js +18 -0
  217. package/dist/cdn/MHHG4QRX.js.LEGAL.txt +3 -0
  218. package/dist/cdn/MJ3DSYU3.js +4 -0
  219. package/dist/cdn/MJAYXJ67.js +18 -0
  220. package/dist/cdn/MJAYXJ67.js.LEGAL.txt +3 -0
  221. package/dist/cdn/MJFKJQYB.js +4 -0
  222. package/dist/cdn/MQ7F7QUE.js +4 -0
  223. package/dist/cdn/MRIRPGEC.js +289 -0
  224. package/dist/cdn/MVC653PC.js +4 -0
  225. package/dist/cdn/NA7SDATI.js +4 -0
  226. package/dist/cdn/NBY24EHE.js +4 -0
  227. package/dist/cdn/NBZKCJYV.js +4 -0
  228. package/dist/cdn/NCW4OKDO.js +4 -0
  229. package/dist/cdn/NEHLZKDR.js +4 -0
  230. package/dist/cdn/NSPIY3IK.js +4 -0
  231. package/dist/cdn/NSYNBINJ.js +4 -0
  232. package/dist/cdn/OHJLE6AZ.js +4 -0
  233. package/dist/cdn/OLMHTXNQ.js +4 -0
  234. package/dist/cdn/OPDCGNBR.js +4 -0
  235. package/dist/cdn/P3LZYPPS.js +4 -0
  236. package/dist/cdn/P6UVWL7O.js +4 -0
  237. package/dist/cdn/PDORDF5G.js +369 -0
  238. package/dist/cdn/PEL7LK4D.js +4 -0
  239. package/dist/cdn/PKCMEQAU.js +4 -0
  240. package/dist/cdn/PQMLSZ6Q.js +4 -0
  241. package/dist/cdn/Q7SAQVYT.js +4 -0
  242. package/dist/cdn/QBBG744E.js +6 -0
  243. package/dist/cdn/QBBG744E.js.LEGAL.txt +145 -0
  244. package/dist/cdn/QGUBRZTX.js +4 -0
  245. package/dist/cdn/QJENMW5L.js +4 -0
  246. package/dist/cdn/QMQWHDJM.js +4 -0
  247. package/dist/cdn/QQAEGSRM.js +4 -0
  248. package/dist/cdn/QYZYW3RJ.js +4 -0
  249. package/dist/cdn/RCVFUSRR.js +18 -0
  250. package/dist/cdn/RCVFUSRR.js.LEGAL.txt +3 -0
  251. package/dist/cdn/RNMLGUYA.js +4 -0
  252. package/dist/cdn/RRYTJ647.js +4 -0
  253. package/dist/cdn/RS33KQS6.js +4 -0
  254. package/dist/cdn/RT4YNEI2.js +18 -0
  255. package/dist/cdn/RT4YNEI2.js.LEGAL.txt +3 -0
  256. package/dist/cdn/RUYFVXBS.js +4 -0
  257. package/dist/cdn/RXHV5MUS.js +4 -0
  258. package/dist/cdn/SAGLZRM2.js +4 -0
  259. package/dist/cdn/SC55QOSM.js +18 -0
  260. package/dist/cdn/SC55QOSM.js.LEGAL.txt +3 -0
  261. package/dist/cdn/SDR2LKPS.js +18 -0
  262. package/dist/cdn/SDR2LKPS.js.LEGAL.txt +3 -0
  263. package/dist/cdn/SU72XN2J.js +4 -0
  264. package/dist/cdn/T3LSH3IQ.js +4 -0
  265. package/dist/cdn/T4IIOCIY.js +8 -0
  266. package/dist/cdn/T6ZSMUPP.js +18 -0
  267. package/dist/cdn/T6ZSMUPP.js.LEGAL.txt +3 -0
  268. package/dist/cdn/TDQ4PMPX.js +29 -0
  269. package/dist/cdn/THB4E2IY.js +4 -0
  270. package/dist/cdn/TPPM5JZL.js +4 -0
  271. package/dist/cdn/TQVH5DBS.js +4 -0
  272. package/dist/cdn/TTRGENPC.js +4 -0
  273. package/dist/cdn/TTRGENPC.js.LEGAL.txt +19 -0
  274. package/dist/cdn/TUJ3EZ3B.js +18 -0
  275. package/dist/cdn/TUJ3EZ3B.js.LEGAL.txt +3 -0
  276. package/dist/cdn/TVKOIWJU.js +4 -0
  277. package/dist/cdn/TYKBHMEW.js +19 -0
  278. package/dist/cdn/TYKBHMEW.js.LEGAL.txt +3 -0
  279. package/dist/cdn/TZCTHM3O.js +4 -0
  280. package/dist/cdn/U5GK7MA2.js +4 -0
  281. package/dist/cdn/UDFUA4KS.js +25 -0
  282. package/dist/cdn/UDFUA4KS.js.LEGAL.txt +7 -0
  283. package/dist/cdn/UGQYR5OJ.js +4 -0
  284. package/dist/cdn/URG2ORXI.js +82 -0
  285. package/dist/cdn/URG2ORXI.js.LEGAL.txt +244 -0
  286. package/dist/cdn/V3B7MUGW.js +4 -0
  287. package/dist/cdn/V5LM464M.js +4 -0
  288. package/dist/cdn/VATXWLXP.js +4 -0
  289. package/dist/cdn/VAYC3VU7.js +4 -0
  290. package/dist/cdn/VDRQEGSJ.js +4 -0
  291. package/dist/cdn/VNOW7P2Y.js +4 -0
  292. package/dist/cdn/VOCV7RAX.js +19 -0
  293. package/dist/cdn/VOCV7RAX.js.LEGAL.txt +3 -0
  294. package/dist/cdn/VQWZCRQH.js +18 -0
  295. package/dist/cdn/VQWZCRQH.js.LEGAL.txt +3 -0
  296. package/dist/cdn/VS5WM6PK.js +4 -0
  297. package/dist/cdn/VSMUNPN4.js +18 -0
  298. package/dist/cdn/VSMUNPN4.js.LEGAL.txt +3 -0
  299. package/dist/cdn/VUYTCMDU.js +4 -0
  300. package/dist/cdn/VUZVPABL.js +4 -0
  301. package/dist/cdn/VVDHQ2YB.js +4 -0
  302. package/dist/cdn/VX67VK6N.js +18 -0
  303. package/dist/cdn/VX67VK6N.js.LEGAL.txt +3 -0
  304. package/dist/cdn/W4U323GK.js +18 -0
  305. package/dist/cdn/W4U323GK.js.LEGAL.txt +3 -0
  306. package/dist/cdn/WM3U5GDF.js +4 -0
  307. package/dist/cdn/WNZ4UWHI.js +4 -0
  308. package/dist/cdn/X2MYTIRF.js +4 -0
  309. package/dist/cdn/X2YIWORK.js +4 -0
  310. package/dist/cdn/X3GSSI5U.js +5 -0
  311. package/dist/cdn/X6DAAUGR.js +4 -0
  312. package/dist/cdn/X6HJTQUU.js +18 -0
  313. package/dist/cdn/X6HJTQUU.js.LEGAL.txt +3 -0
  314. package/dist/cdn/XCFCXYAK.js +4 -0
  315. package/dist/cdn/XDJDZ4PR.js +18 -0
  316. package/dist/cdn/XDJDZ4PR.js.LEGAL.txt +3 -0
  317. package/dist/cdn/XG2Q7G7X.js +4 -0
  318. package/dist/cdn/XGG24URK.js +18 -0
  319. package/dist/cdn/XGG24URK.js.LEGAL.txt +3 -0
  320. package/dist/cdn/XJALRDUG.js +4 -0
  321. package/dist/cdn/XRPWONB4.js +18 -0
  322. package/dist/cdn/XRPWONB4.js.LEGAL.txt +3 -0
  323. package/dist/cdn/XVFKRSIV.js +4 -0
  324. package/dist/cdn/Y5CMMV6Q.js +4 -0
  325. package/dist/cdn/Y6LO5U2B.js +4 -0
  326. package/dist/cdn/YEDPZR4L.js +4 -0
  327. package/dist/cdn/YGJIMBAF.js +4 -0
  328. package/dist/cdn/YKVV76O5.js +4 -0
  329. package/dist/cdn/YMCOH3HF.js +4 -0
  330. package/dist/cdn/YN6DMOAR.js +18 -0
  331. package/dist/cdn/YN6DMOAR.js.LEGAL.txt +3 -0
  332. package/dist/cdn/YPE7HICF.js +18 -0
  333. package/dist/cdn/YPE7HICF.js.LEGAL.txt +3 -0
  334. package/dist/cdn/YSN6N2HH.js +18 -0
  335. package/dist/cdn/YSN6N2HH.js.LEGAL.txt +3 -0
  336. package/dist/cdn/YTMQYMYL.js +4 -0
  337. package/dist/cdn/YTMQYMYL.js.LEGAL.txt +19 -0
  338. package/dist/cdn/ZBNWBHEY.js +4 -0
  339. package/dist/cdn/ZGO7ELRH.js +18 -0
  340. package/dist/cdn/ZGO7ELRH.js.LEGAL.txt +3 -0
  341. package/dist/cdn/ZIOMGTS2.js +4 -0
  342. package/dist/cdn/ZIOMGTS2.js.LEGAL.txt +19 -0
  343. package/dist/cdn/ZJFJ5SM2.js +4 -0
  344. package/dist/cdn/ZNC4QO2O.js +4 -0
  345. package/dist/cdn/ZQ5MCBMC.js +4 -0
  346. package/dist/cdn/ZVCA343S.js +4 -0
  347. package/dist/cdn/ZWNRE2BQ.js +18 -0
  348. package/dist/cdn/ZWNRE2BQ.js.LEGAL.txt +3 -0
  349. package/dist/cdn/ZYIJIP5N.js +4 -0
  350. package/dist/cdn/index.esm.js +2 -2
  351. package/dist/cdn/index.esm.js.LEGAL.txt +1 -1
  352. package/dist/chunks/common.js +1 -1
  353. package/dist/chunks/downloadUtils.js +1 -1
  354. package/dist/chunks/index.js +313 -405
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/publicNotificationStore.js +1 -1
  361. package/dist/chunks/queryUtils.js +1 -1
  362. package/dist/chunks/runtime.js +1 -1
  363. package/dist/chunks/solution-store.js +1 -1
  364. package/dist/chunks/templates.js +1 -1
  365. package/dist/chunks/useT9n.js +1 -1
  366. package/dist/components/arcgis-solution-assistant/customElement.js +1 -1
  367. package/dist/components/basemap-gallery/customElement.js +1 -1
  368. package/dist/components/buffer-tools/customElement.js +1 -1
  369. package/dist/components/card-manager/customElement.js +1 -1
  370. package/dist/components/consent-manager/customElement.js +1 -1
  371. package/dist/components/create-feature/customElement.js +1 -1
  372. package/dist/components/create-related-feature/customElement.js +1 -1
  373. package/dist/components/crowdsource-manager/customElement.js +1 -1
  374. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  375. package/dist/components/deduct-calculator/customElement.js +1 -1
  376. package/dist/components/delete-button/customElement.js +1 -1
  377. package/dist/components/delete-dialog/customElement.js +1 -1
  378. package/dist/components/edit-card/customElement.js +1 -1
  379. package/dist/components/feature-details/customElement.js +1 -1
  380. package/dist/components/feature-list/customElement.js +1 -1
  381. package/dist/components/field-selection/customElement.js +1 -1
  382. package/dist/components/floor-filter/customElement.js +1 -1
  383. package/dist/components/info-card/customElement.js +1 -1
  384. package/dist/components/json-editor/customElement.js +1 -1
  385. package/dist/components/layer-list/customElement.js +1 -1
  386. package/dist/components/layer-table/customElement.js +1 -1
  387. package/dist/components/map-card/customElement.js +1 -1
  388. package/dist/components/map-draw-tools/customElement.js +1 -1
  389. package/dist/components/map-fullscreen/customElement.js +1 -1
  390. package/dist/components/map-layer-picker/customElement.js +1 -1
  391. package/dist/components/map-legend/customElement.js +1 -1
  392. package/dist/components/map-picker/customElement.js +1 -1
  393. package/dist/components/map-search/customElement.js +1 -1
  394. package/dist/components/map-select-tools/customElement.js +1 -1
  395. package/dist/components/map-tools/customElement.js +1 -1
  396. package/dist/components/pci-calculator/customElement.js +1 -1
  397. package/dist/components/pdf-download/customElement.js +1 -1
  398. package/dist/components/public-notification/customElement.js +1 -1
  399. package/dist/components/refine-selection/customElement.js +1 -1
  400. package/dist/components/solution-arcticle-card/customElement.js +1 -1
  401. package/dist/components/solution-card/customElement.js +1 -1
  402. package/dist/components/solution-configuration/customElement.js +1 -1
  403. package/dist/components/solution-contents/customElement.js +1 -1
  404. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  405. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  406. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  407. package/dist/components/solution-deployed-card/customElement.js +1 -1
  408. package/dist/components/solution-deployed-panel/customElement.js +1 -1
  409. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  410. package/dist/components/solution-item/customElement.js +1 -1
  411. package/dist/components/solution-item-accordion/customElement.js +1 -1
  412. package/dist/components/solution-item-details/customElement.js +1 -1
  413. package/dist/components/solution-item-icon/customElement.js +1 -1
  414. package/dist/components/solution-item-sharing/customElement.js +1 -1
  415. package/dist/components/solution-organization-variables/customElement.js +1 -1
  416. package/dist/components/solution-resource-item/customElement.js +1 -1
  417. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  418. package/dist/components/solution-template-data/customElement.js +1 -1
  419. package/dist/components/solution-variables/customElement.js +1 -1
  420. package/dist/components/solutions-article-panel/customElement.js +1 -1
  421. package/dist/components/solutions-articles/customElement.js +1 -1
  422. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  423. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  424. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  425. package/dist/components/solutions-filter/customElement.js +1 -1
  426. package/dist/components/solutions-panel/customElement.js +1 -1
  427. package/dist/components/solutions-shell/customElement.js +1 -1
  428. package/dist/components/spatial-ref/customElement.js +1 -1
  429. package/dist/components/store-manager/customElement.js +1 -1
  430. package/dist/docs/api.json +1 -1
  431. package/dist/docs/docs.json +1 -1
  432. package/dist/docs/web-types.json +1 -1
  433. package/dist/index.js +1 -1
  434. package/dist/loader.js +1 -1
  435. package/package.json +5 -2
  436. package/dist/cdn/24ZOHQNY.js +0 -4
  437. package/dist/cdn/2CAD5YBN.js +0 -18
  438. package/dist/cdn/2CAD5YBN.js.LEGAL.txt +0 -3
  439. package/dist/cdn/2FCA5SR3.js +0 -4
  440. package/dist/cdn/2GWKFJWL.js +0 -4
  441. package/dist/cdn/2LJX4NEO.js +0 -4
  442. package/dist/cdn/2POIC75B.js +0 -4
  443. package/dist/cdn/2QHQHALS.js +0 -18
  444. package/dist/cdn/2QHQHALS.js.LEGAL.txt +0 -3
  445. package/dist/cdn/2R6VBGLM.js +0 -4
  446. package/dist/cdn/2VQIP7T2.js +0 -4
  447. package/dist/cdn/2WQYBAN2.js +0 -4
  448. package/dist/cdn/34I462JL.js +0 -18
  449. package/dist/cdn/34I462JL.js.LEGAL.txt +0 -3
  450. package/dist/cdn/3BEMPK3C.js +0 -8
  451. package/dist/cdn/3BEMPK3C.js.LEGAL.txt +0 -3
  452. package/dist/cdn/3CEZAOOA.js +0 -18
  453. package/dist/cdn/3CEZAOOA.js.LEGAL.txt +0 -3
  454. package/dist/cdn/3G4OFKMS.js +0 -18
  455. package/dist/cdn/3G4OFKMS.js.LEGAL.txt +0 -3
  456. package/dist/cdn/3GX3CANQ.js +0 -4
  457. package/dist/cdn/3IIZ2PSP.js +0 -19
  458. package/dist/cdn/3IIZ2PSP.js.LEGAL.txt +0 -3
  459. package/dist/cdn/3ISVB6TJ.js +0 -4
  460. package/dist/cdn/3KNOEMKH.js +0 -4
  461. package/dist/cdn/3LTBNG64.js +0 -4
  462. package/dist/cdn/3M2W2VAS.js +0 -18
  463. package/dist/cdn/3M2W2VAS.js.LEGAL.txt +0 -3
  464. package/dist/cdn/3TRW2TMT.js +0 -4
  465. package/dist/cdn/3ZPRFTQ6.js +0 -82
  466. package/dist/cdn/3ZPRFTQ6.js.LEGAL.txt +0 -244
  467. package/dist/cdn/47VW62CV.js +0 -4
  468. package/dist/cdn/4AKXLPA6.js +0 -4
  469. package/dist/cdn/4IGDDZIV.js +0 -4
  470. package/dist/cdn/4JBTTNEI.js +0 -4
  471. package/dist/cdn/4KYTOUIS.js +0 -4
  472. package/dist/cdn/4RB6HN2A.js +0 -4
  473. package/dist/cdn/4TOTQ6HW.js +0 -4
  474. package/dist/cdn/52XPDQYJ.js +0 -4
  475. package/dist/cdn/52XPDQYJ.js.LEGAL.txt +0 -3
  476. package/dist/cdn/52YED4YN.js +0 -4
  477. package/dist/cdn/53ES4PHM.js +0 -4
  478. package/dist/cdn/5DHNC4OX.js +0 -4
  479. package/dist/cdn/5JGHIZH4.js +0 -9
  480. package/dist/cdn/5MFVFDLJ.js +0 -18
  481. package/dist/cdn/5MFVFDLJ.js.LEGAL.txt +0 -3
  482. package/dist/cdn/5PEHC5TL.js +0 -4
  483. package/dist/cdn/5QATEOWF.js +0 -4
  484. package/dist/cdn/5ZFAIINA.js +0 -4
  485. package/dist/cdn/645UNITE.js +0 -4
  486. package/dist/cdn/6CDJVKOS.js +0 -18
  487. package/dist/cdn/6CDJVKOS.js.LEGAL.txt +0 -3
  488. package/dist/cdn/6RTLVCTX.js +0 -4
  489. package/dist/cdn/6RTLVCTX.js.LEGAL.txt +0 -3
  490. package/dist/cdn/6ZI3RNJ2.js +0 -4
  491. package/dist/cdn/72IOAXQ4.js +0 -4
  492. package/dist/cdn/765YH3WB.js +0 -18
  493. package/dist/cdn/765YH3WB.js.LEGAL.txt +0 -19
  494. package/dist/cdn/76QPJGUI.js +0 -4
  495. package/dist/cdn/7A4VT74B.js +0 -4
  496. package/dist/cdn/7CB7UZL7.js +0 -4
  497. package/dist/cdn/7CPIKWF6.js +0 -4
  498. package/dist/cdn/7ECOHFZP.js +0 -4
  499. package/dist/cdn/7O27ZUJF.js +0 -4
  500. package/dist/cdn/7Y5BGQ54.js +0 -4
  501. package/dist/cdn/A4PZSI3I.js +0 -4
  502. package/dist/cdn/A6ICAK5A.js +0 -4
  503. package/dist/cdn/AA3GUEAS.js +0 -4
  504. package/dist/cdn/ADNF7RUA.js +0 -18
  505. package/dist/cdn/ADNF7RUA.js.LEGAL.txt +0 -3
  506. package/dist/cdn/AG7RCFNP.js +0 -4
  507. package/dist/cdn/AJHH2ZIN.js +0 -4
  508. package/dist/cdn/ALDCQBDR.js +0 -4
  509. package/dist/cdn/ALIHFY7T.js +0 -18
  510. package/dist/cdn/ALIHFY7T.js.LEGAL.txt +0 -3
  511. package/dist/cdn/AOSL2YMM.js +0 -4
  512. package/dist/cdn/APJTED3E.js +0 -4
  513. package/dist/cdn/AYKTZHZC.js +0 -4
  514. package/dist/cdn/AZM74EUZ.js +0 -8
  515. package/dist/cdn/B6AGPVHI.js +0 -18
  516. package/dist/cdn/B6AGPVHI.js.LEGAL.txt +0 -3
  517. package/dist/cdn/BACYH476.js +0 -18
  518. package/dist/cdn/BACYH476.js.LEGAL.txt +0 -3
  519. package/dist/cdn/BDUBBFHV.js +0 -4
  520. package/dist/cdn/BSVV4372.js +0 -18
  521. package/dist/cdn/BSVV4372.js.LEGAL.txt +0 -3
  522. package/dist/cdn/BVNX2VTU.js +0 -4
  523. package/dist/cdn/BZPLSVWJ.js +0 -4
  524. package/dist/cdn/C2SME6PJ.js +0 -4
  525. package/dist/cdn/C4R2GLQG.js +0 -18
  526. package/dist/cdn/C4R2GLQG.js.LEGAL.txt +0 -3
  527. package/dist/cdn/C5RNWIS7.js +0 -4
  528. package/dist/cdn/CNH62BZ5.js +0 -4
  529. package/dist/cdn/CNI4FSON.js +0 -5
  530. package/dist/cdn/CQAPZLBU.js +0 -4
  531. package/dist/cdn/CR3S4UAR.js +0 -4
  532. package/dist/cdn/CTHCOXJR.js +0 -4
  533. package/dist/cdn/CX3XS6GM.js +0 -4
  534. package/dist/cdn/CY6LCGOS.js +0 -4
  535. package/dist/cdn/D3XCFU5I.js +0 -4
  536. package/dist/cdn/D7YZPDFT.js +0 -4
  537. package/dist/cdn/DJIVZZRJ.js +0 -4
  538. package/dist/cdn/DNG5FQP5.js +0 -6
  539. package/dist/cdn/DNG5FQP5.js.LEGAL.txt +0 -145
  540. package/dist/cdn/DQ577CMC.js +0 -4
  541. package/dist/cdn/DWBSY6PR.js +0 -18
  542. package/dist/cdn/DWBSY6PR.js.LEGAL.txt +0 -3
  543. package/dist/cdn/DYSZE2IX.js +0 -4
  544. package/dist/cdn/DYSZE2IX.js.LEGAL.txt +0 -3
  545. package/dist/cdn/E5CSO3YQ.js +0 -18
  546. package/dist/cdn/E5CSO3YQ.js.LEGAL.txt +0 -3
  547. package/dist/cdn/E62O26KP.js +0 -4
  548. package/dist/cdn/E7SAW2EU.js +0 -4
  549. package/dist/cdn/EDDAJ5XX.js +0 -4
  550. package/dist/cdn/EDDAJ5XX.js.LEGAL.txt +0 -19
  551. package/dist/cdn/EDLXFPLK.js +0 -18
  552. package/dist/cdn/EDLXFPLK.js.LEGAL.txt +0 -3
  553. package/dist/cdn/EJ3QSIXA.js +0 -4
  554. package/dist/cdn/EJIXFCLY.js +0 -4
  555. package/dist/cdn/ENEU2CW5.js +0 -4
  556. package/dist/cdn/EQ4Q4YFN.js +0 -4
  557. package/dist/cdn/EQHAGII7.js +0 -18
  558. package/dist/cdn/EQHAGII7.js.LEGAL.txt +0 -3
  559. package/dist/cdn/F3BQME64.js +0 -4
  560. package/dist/cdn/FEDIDIUN.js +0 -4
  561. package/dist/cdn/FJ3S4SSY.js +0 -4
  562. package/dist/cdn/FV7CCEO5.js +0 -4
  563. package/dist/cdn/FWMEU3TH.js +0 -4
  564. package/dist/cdn/FYPDAZY4.js +0 -4
  565. package/dist/cdn/FZM7PFFX.js +0 -18
  566. package/dist/cdn/FZM7PFFX.js.LEGAL.txt +0 -19
  567. package/dist/cdn/FZYGKH2F.js +0 -18
  568. package/dist/cdn/FZYGKH2F.js.LEGAL.txt +0 -3
  569. package/dist/cdn/G43BYPLK.js +0 -4
  570. package/dist/cdn/G5C5EZR2.js +0 -4
  571. package/dist/cdn/GBD7CDPF.js +0 -4
  572. package/dist/cdn/GDUU46MT.js +0 -4
  573. package/dist/cdn/GDW7DPBI.js +0 -4
  574. package/dist/cdn/GNUAMK2F.js +0 -25
  575. package/dist/cdn/GNUAMK2F.js.LEGAL.txt +0 -7
  576. package/dist/cdn/GQLTORRY.js +0 -4
  577. package/dist/cdn/GSY2HMIU.js +0 -4
  578. package/dist/cdn/GWGCPEZT.js +0 -4
  579. package/dist/cdn/GZ3FACUL.js +0 -18
  580. package/dist/cdn/GZ3FACUL.js.LEGAL.txt +0 -3
  581. package/dist/cdn/H2QXQ5FQ.js +0 -4
  582. package/dist/cdn/H52VB3LN.js +0 -18
  583. package/dist/cdn/H52VB3LN.js.LEGAL.txt +0 -3
  584. package/dist/cdn/I6YIA6T2.js +0 -4
  585. package/dist/cdn/IDEJRVLY.js +0 -4
  586. package/dist/cdn/IQMLI7XV.js +0 -4
  587. package/dist/cdn/IQMLI7XV.js.LEGAL.txt +0 -19
  588. package/dist/cdn/ISQZZX35.js +0 -19
  589. package/dist/cdn/ISQZZX35.js.LEGAL.txt +0 -3
  590. package/dist/cdn/ITHMBTYC.js +0 -4
  591. package/dist/cdn/IWJONPH3.js +0 -4
  592. package/dist/cdn/J4QUDHXQ.js +0 -4
  593. package/dist/cdn/JA62FDQW.js +0 -4
  594. package/dist/cdn/JIHPMED7.js +0 -4
  595. package/dist/cdn/KFQ2SQWV.js +0 -18
  596. package/dist/cdn/KFQ2SQWV.js.LEGAL.txt +0 -3
  597. package/dist/cdn/KJNV7AFX.js +0 -4
  598. package/dist/cdn/KQHFJOQ3.js +0 -4
  599. package/dist/cdn/KR6EKTLP.js +0 -29
  600. package/dist/cdn/KUUQFBQA.js +0 -4
  601. package/dist/cdn/KY6J4BP2.js +0 -18
  602. package/dist/cdn/KY6J4BP2.js.LEGAL.txt +0 -3
  603. package/dist/cdn/KYDFSKDP.js +0 -4
  604. package/dist/cdn/KYDFSKDP.js.LEGAL.txt +0 -19
  605. package/dist/cdn/L5PEOEBG.js +0 -18
  606. package/dist/cdn/L5PEOEBG.js.LEGAL.txt +0 -3
  607. package/dist/cdn/LAH7GV77.js +0 -4
  608. package/dist/cdn/LDWZIMIX.js +0 -18
  609. package/dist/cdn/LDWZIMIX.js.LEGAL.txt +0 -3
  610. package/dist/cdn/LEXQRU6J.js +0 -4
  611. package/dist/cdn/LFR6Z67H.js +0 -18
  612. package/dist/cdn/LFR6Z67H.js.LEGAL.txt +0 -3
  613. package/dist/cdn/LJCSK6B6.js +0 -4
  614. package/dist/cdn/LLVRSUHF.js +0 -9
  615. package/dist/cdn/LN3MWBJH.js +0 -5
  616. package/dist/cdn/LOKSYIVO.js +0 -4
  617. package/dist/cdn/LSADY4RJ.js +0 -18
  618. package/dist/cdn/LSADY4RJ.js.LEGAL.txt +0 -3
  619. package/dist/cdn/LX2P2RRX.js +0 -4
  620. package/dist/cdn/LYWBXOHT.js +0 -4
  621. package/dist/cdn/MAWBFPHE.js +0 -4
  622. package/dist/cdn/MDXTLHZ3.js +0 -4
  623. package/dist/cdn/MDY52YFH.js +0 -4
  624. package/dist/cdn/MFTPICPK.js +0 -4
  625. package/dist/cdn/MMSPIRK5.js +0 -18
  626. package/dist/cdn/MMSPIRK5.js.LEGAL.txt +0 -3
  627. package/dist/cdn/MNAXHDAU.js +0 -4
  628. package/dist/cdn/MROGECGR.js +0 -19
  629. package/dist/cdn/MROGECGR.js.LEGAL.txt +0 -3
  630. package/dist/cdn/MSXRRW4K.js +0 -18
  631. package/dist/cdn/MSXRRW4K.js.LEGAL.txt +0 -3
  632. package/dist/cdn/N2X2UEPR.js +0 -4
  633. package/dist/cdn/N37LDOL6.js +0 -4
  634. package/dist/cdn/N56V4PEU.js +0 -4
  635. package/dist/cdn/N5CEFGWB.js +0 -4
  636. package/dist/cdn/N7YV3YAM.js +0 -4
  637. package/dist/cdn/NBWUO4ME.js +0 -18
  638. package/dist/cdn/NBWUO4ME.js.LEGAL.txt +0 -3
  639. package/dist/cdn/NC5PXHSD.js +0 -4
  640. package/dist/cdn/NE4HY6GV.js +0 -18
  641. package/dist/cdn/NE4HY6GV.js.LEGAL.txt +0 -3
  642. package/dist/cdn/NE6KFVU7.js +0 -4
  643. package/dist/cdn/NIOP4TP4.js +0 -4
  644. package/dist/cdn/NKKRPICK.js +0 -4
  645. package/dist/cdn/NLBZROUX.js +0 -4
  646. package/dist/cdn/NRMNKBC6.js +0 -4
  647. package/dist/cdn/NRMNKBC6.js.LEGAL.txt +0 -19
  648. package/dist/cdn/O4EQXXUQ.js +0 -4
  649. package/dist/cdn/O4LE7CA4.js +0 -4
  650. package/dist/cdn/OSYPTK72.js +0 -18
  651. package/dist/cdn/OSYPTK72.js.LEGAL.txt +0 -3
  652. package/dist/cdn/OUEFIXE5.js +0 -4
  653. package/dist/cdn/OYV2ECT3.js +0 -4
  654. package/dist/cdn/P236K4ND.js +0 -4
  655. package/dist/cdn/P6GA3ZWP.js +0 -4
  656. package/dist/cdn/P6YBFIE2.js +0 -18
  657. package/dist/cdn/P6YBFIE2.js.LEGAL.txt +0 -3
  658. package/dist/cdn/PBYNVS65.js +0 -4
  659. package/dist/cdn/PC3E5QR4.js +0 -4
  660. package/dist/cdn/PF26G5FU.js +0 -18
  661. package/dist/cdn/PF26G5FU.js.LEGAL.txt +0 -3
  662. package/dist/cdn/PGN5KJ45.js +0 -18
  663. package/dist/cdn/PGN5KJ45.js.LEGAL.txt +0 -3
  664. package/dist/cdn/PGPO5TLM.js +0 -6
  665. package/dist/cdn/PGXI34O7.js +0 -4
  666. package/dist/cdn/PQ7RNYKS.js +0 -18
  667. package/dist/cdn/PQ7RNYKS.js.LEGAL.txt +0 -3
  668. package/dist/cdn/PQA3QEKR.js +0 -4
  669. package/dist/cdn/PTQVOQKV.js +0 -4
  670. package/dist/cdn/PYPMEIWY.js +0 -4
  671. package/dist/cdn/PZXSQUL2.js +0 -4
  672. package/dist/cdn/PZXSQUL2.js.LEGAL.txt +0 -19
  673. package/dist/cdn/Q3Q7OB2Z.js +0 -4
  674. package/dist/cdn/Q5AYW5YK.js +0 -4
  675. package/dist/cdn/QE3IE6HS.js +0 -4
  676. package/dist/cdn/QGUERUK2.js +0 -4
  677. package/dist/cdn/QHYTD34B.js +0 -4
  678. package/dist/cdn/QJI5TIFP.js +0 -4
  679. package/dist/cdn/QL7L7GRX.js +0 -5
  680. package/dist/cdn/QLBPMFND.js +0 -4
  681. package/dist/cdn/QM2JFOJH.js +0 -4
  682. package/dist/cdn/QUQOEMB2.js +0 -4
  683. package/dist/cdn/QVNZO6V5.js +0 -4
  684. package/dist/cdn/QXSHWKS2.js +0 -4
  685. package/dist/cdn/QY25RQBG.js +0 -18
  686. package/dist/cdn/QY25RQBG.js.LEGAL.txt +0 -3
  687. package/dist/cdn/QY34EFUA.js +0 -4
  688. package/dist/cdn/QY66TIP6.js +0 -4
  689. package/dist/cdn/R2FWI5PQ.js +0 -18
  690. package/dist/cdn/R2FWI5PQ.js.LEGAL.txt +0 -3
  691. package/dist/cdn/R3Z6EMEI.js +0 -4
  692. package/dist/cdn/RGNPXWAO.js +0 -4
  693. package/dist/cdn/RLHLQXYD.js +0 -4
  694. package/dist/cdn/RN5XBEN3.js +0 -4
  695. package/dist/cdn/RNXZHKL2.js +0 -4
  696. package/dist/cdn/RPUA2SDG.js +0 -4
  697. package/dist/cdn/RRPP7AV2.js +0 -4
  698. package/dist/cdn/RRPP7AV2.js.LEGAL.txt +0 -19
  699. package/dist/cdn/RWZPJIME.js +0 -4
  700. package/dist/cdn/RZI342IH.js +0 -18
  701. package/dist/cdn/RZI342IH.js.LEGAL.txt +0 -3
  702. package/dist/cdn/S3M7J3F2.js +0 -4
  703. package/dist/cdn/SO7347MK.js +0 -18
  704. package/dist/cdn/SO7347MK.js.LEGAL.txt +0 -12
  705. package/dist/cdn/T3BMWVFU.js +0 -4
  706. package/dist/cdn/T3ICSTI4.js +0 -4
  707. package/dist/cdn/T7XY6OWN.js +0 -18
  708. package/dist/cdn/T7XY6OWN.js.LEGAL.txt +0 -3
  709. package/dist/cdn/TF4Q4NRD.js +0 -4
  710. package/dist/cdn/TH4ZTQRV.js +0 -4
  711. package/dist/cdn/THQIS4UD.js +0 -4
  712. package/dist/cdn/THQIS4UD.js.LEGAL.txt +0 -19
  713. package/dist/cdn/TKKRNU4R.js +0 -4
  714. package/dist/cdn/TKWJD35O.js +0 -18
  715. package/dist/cdn/TKWJD35O.js.LEGAL.txt +0 -3
  716. package/dist/cdn/TM3MZDLO.js +0 -4
  717. package/dist/cdn/TMO2VLQF.js +0 -4
  718. package/dist/cdn/TQ7QDBCO.js +0 -4
  719. package/dist/cdn/TQN2YBCU.js +0 -18
  720. package/dist/cdn/TQN2YBCU.js.LEGAL.txt +0 -3
  721. package/dist/cdn/TU2T4NDX.js +0 -18
  722. package/dist/cdn/TU2T4NDX.js.LEGAL.txt +0 -3
  723. package/dist/cdn/TUNJTQR4.js +0 -18
  724. package/dist/cdn/TUNJTQR4.js.LEGAL.txt +0 -3
  725. package/dist/cdn/TY3QDVY7.js +0 -18
  726. package/dist/cdn/TY3QDVY7.js.LEGAL.txt +0 -3
  727. package/dist/cdn/U2BNNPQD.js +0 -4
  728. package/dist/cdn/U2BNNPQD.js.LEGAL.txt +0 -19
  729. package/dist/cdn/U562K4UM.js +0 -4
  730. package/dist/cdn/UDVAAJ6Q.js +0 -4
  731. package/dist/cdn/UF2HY2WV.js +0 -4
  732. package/dist/cdn/UIASRIMB.js +0 -4
  733. package/dist/cdn/UJOEYHV6.js +0 -4
  734. package/dist/cdn/ULYLKR2K.js +0 -18
  735. package/dist/cdn/ULYLKR2K.js.LEGAL.txt +0 -3
  736. package/dist/cdn/UZNNGVKJ.js +0 -18
  737. package/dist/cdn/UZNNGVKJ.js.LEGAL.txt +0 -3
  738. package/dist/cdn/V3JCSZM7.js +0 -369
  739. package/dist/cdn/V3V2IGDH.js +0 -4
  740. package/dist/cdn/V3W6ZJ3P.js +0 -18
  741. package/dist/cdn/V3W6ZJ3P.js.LEGAL.txt +0 -3
  742. package/dist/cdn/V7H6W6XH.js +0 -4
  743. package/dist/cdn/VFLCZK27.js +0 -4
  744. package/dist/cdn/VKAETNJ5.js +0 -4
  745. package/dist/cdn/VSLTGXC5.js +0 -4
  746. package/dist/cdn/VSXIIY3T.js +0 -18
  747. package/dist/cdn/VSXIIY3T.js.LEGAL.txt +0 -3
  748. package/dist/cdn/VXDNTPOM.js +0 -4
  749. package/dist/cdn/VYJL23CI.js +0 -4
  750. package/dist/cdn/WK34LK5M.js +0 -4
  751. package/dist/cdn/WLLRBH3K.js +0 -289
  752. package/dist/cdn/WMHWYYU6.js +0 -4
  753. package/dist/cdn/X754A4TH.js +0 -4
  754. package/dist/cdn/XBIYKCJL.js +0 -4
  755. package/dist/cdn/XEXO3P2F.js +0 -18
  756. package/dist/cdn/XEXO3P2F.js.LEGAL.txt +0 -3
  757. package/dist/cdn/XKA6XWTI.js +0 -18
  758. package/dist/cdn/XKA6XWTI.js.LEGAL.txt +0 -3
  759. package/dist/cdn/XMCETP3W.js +0 -4
  760. package/dist/cdn/XOENBVVA.js +0 -4
  761. package/dist/cdn/XOENBVVA.js.LEGAL.txt +0 -19
  762. package/dist/cdn/XP5JQF4M.js +0 -4
  763. package/dist/cdn/XP5JQF4M.js.LEGAL.txt +0 -19
  764. package/dist/cdn/XWPKW77R.js +0 -4
  765. package/dist/cdn/Y4FZBIZA.js +0 -18
  766. package/dist/cdn/Y4FZBIZA.js.LEGAL.txt +0 -3
  767. package/dist/cdn/YABDLR5L.js +0 -18
  768. package/dist/cdn/YABDLR5L.js.LEGAL.txt +0 -3
  769. package/dist/cdn/YBBH7QGM.js +0 -4
  770. package/dist/cdn/YBBJBF3K.js +0 -4
  771. package/dist/cdn/YCW6WM3Z.js +0 -18
  772. package/dist/cdn/YCW6WM3Z.js.LEGAL.txt +0 -3
  773. package/dist/cdn/YUFDX5ZR.js +0 -4
  774. package/dist/cdn/YWZTRBFN.js +0 -4
  775. package/dist/cdn/YYCU3YTE.js +0 -8
  776. package/dist/cdn/YZBTUOQD.js +0 -18
  777. package/dist/cdn/YZBTUOQD.js.LEGAL.txt +0 -3
  778. package/dist/cdn/Z37NSG3W.js +0 -4
  779. package/dist/cdn/Z3I2AEZO.js +0 -4
  780. package/dist/cdn/ZDPAU277.js +0 -4
  781. package/dist/cdn/ZHGIC7GI.js +0 -4
  782. package/dist/cdn/ZND3RVV7.js +0 -4
  783. package/dist/cdn/ZYNXSMKC.js +0 -8
  784. package/dist/cdn/ZZSAXRPC.js +0 -4
  785. /package/dist/cdn/{24ZOHQNY.js.LEGAL.txt → 22KNDU4L.js.LEGAL.txt} +0 -0
  786. /package/dist/cdn/{2FCA5SR3.js.LEGAL.txt → 232LGUIO.js.LEGAL.txt} +0 -0
  787. /package/dist/cdn/{2GWKFJWL.js.LEGAL.txt → 2FH6O37T.js.LEGAL.txt} +0 -0
  788. /package/dist/cdn/{2LJX4NEO.js.LEGAL.txt → 2ITYWJXP.js.LEGAL.txt} +0 -0
  789. /package/dist/cdn/{2POIC75B.js.LEGAL.txt → 2IWO7WG6.js.LEGAL.txt} +0 -0
  790. /package/dist/cdn/{2VQIP7T2.js.LEGAL.txt → 2JGS45NH.js.LEGAL.txt} +0 -0
  791. /package/dist/cdn/{2WQYBAN2.js.LEGAL.txt → 2NJHKJAJ.js.LEGAL.txt} +0 -0
  792. /package/dist/cdn/{LN3MWBJH.js.LEGAL.txt → 2PV4QPIQ.js.LEGAL.txt} +0 -0
  793. /package/dist/cdn/{3GX3CANQ.js.LEGAL.txt → 3DXNKSG6.js.LEGAL.txt} +0 -0
  794. /package/dist/cdn/{3ISVB6TJ.js.LEGAL.txt → 3E4ICQQ3.js.LEGAL.txt} +0 -0
  795. /package/dist/cdn/{3KNOEMKH.js.LEGAL.txt → 3GCIZKCB.js.LEGAL.txt} +0 -0
  796. /package/dist/cdn/{3LTBNG64.js.LEGAL.txt → 3P7TLCLI.js.LEGAL.txt} +0 -0
  797. /package/dist/cdn/{3TRW2TMT.js.LEGAL.txt → 4LCTK7J4.js.LEGAL.txt} +0 -0
  798. /package/dist/cdn/{47VW62CV.js.LEGAL.txt → 4VLLD5RN.js.LEGAL.txt} +0 -0
  799. /package/dist/cdn/{4AKXLPA6.js.LEGAL.txt → 4XI4JXYW.js.LEGAL.txt} +0 -0
  800. /package/dist/cdn/{4IGDDZIV.js.LEGAL.txt → 5CAFFNYB.js.LEGAL.txt} +0 -0
  801. /package/dist/cdn/{4JBTTNEI.js.LEGAL.txt → 5GLDM3BA.js.LEGAL.txt} +0 -0
  802. /package/dist/cdn/{4KYTOUIS.js.LEGAL.txt → 5GXHM63I.js.LEGAL.txt} +0 -0
  803. /package/dist/cdn/{4RB6HN2A.js.LEGAL.txt → 5LYR3JND.js.LEGAL.txt} +0 -0
  804. /package/dist/cdn/{4TOTQ6HW.js.LEGAL.txt → 5NTDBPJK.js.LEGAL.txt} +0 -0
  805. /package/dist/cdn/{52YED4YN.js.LEGAL.txt → 6IQJIA5G.js.LEGAL.txt} +0 -0
  806. /package/dist/cdn/{53ES4PHM.js.LEGAL.txt → 6TNZ75ZY.js.LEGAL.txt} +0 -0
  807. /package/dist/cdn/{2R6VBGLM.js.LEGAL.txt → 6TXOISGI.js.LEGAL.txt} +0 -0
  808. /package/dist/cdn/{5DHNC4OX.js.LEGAL.txt → 7BQERNNX.js.LEGAL.txt} +0 -0
  809. /package/dist/cdn/{5JGHIZH4.js.LEGAL.txt → 7D5CUQCA.js.LEGAL.txt} +0 -0
  810. /package/dist/cdn/{5PEHC5TL.js.LEGAL.txt → 7DXTNVT2.js.LEGAL.txt} +0 -0
  811. /package/dist/cdn/{5QATEOWF.js.LEGAL.txt → 7QNDLRLN.js.LEGAL.txt} +0 -0
  812. /package/dist/cdn/{5ZFAIINA.js.LEGAL.txt → 7UJWRH4O.js.LEGAL.txt} +0 -0
  813. /package/dist/cdn/{645UNITE.js.LEGAL.txt → 7YJLZ4QU.js.LEGAL.txt} +0 -0
  814. /package/dist/cdn/{6ZI3RNJ2.js.LEGAL.txt → A5D5ZESH.js.LEGAL.txt} +0 -0
  815. /package/dist/cdn/{AZM74EUZ.js.LEGAL.txt → A6QZZ3VH.js.LEGAL.txt} +0 -0
  816. /package/dist/cdn/{72IOAXQ4.js.LEGAL.txt → AE6BYXKE.js.LEGAL.txt} +0 -0
  817. /package/dist/cdn/{IWJONPH3.js.LEGAL.txt → ANMQ4WEC.js.LEGAL.txt} +0 -0
  818. /package/dist/cdn/{76QPJGUI.js.LEGAL.txt → ATOGX4LJ.js.LEGAL.txt} +0 -0
  819. /package/dist/cdn/{7A4VT74B.js.LEGAL.txt → AXU5JSJR.js.LEGAL.txt} +0 -0
  820. /package/dist/cdn/{7CB7UZL7.js.LEGAL.txt → AZRFJ75J.js.LEGAL.txt} +0 -0
  821. /package/dist/cdn/{7CPIKWF6.js.LEGAL.txt → B56ZED7E.js.LEGAL.txt} +0 -0
  822. /package/dist/cdn/{7ECOHFZP.js.LEGAL.txt → BKMIKPJP.js.LEGAL.txt} +0 -0
  823. /package/dist/cdn/{7O27ZUJF.js.LEGAL.txt → BKRPTQTF.js.LEGAL.txt} +0 -0
  824. /package/dist/cdn/{7Y5BGQ54.js.LEGAL.txt → BM6ZKAKX.js.LEGAL.txt} +0 -0
  825. /package/dist/cdn/{A4PZSI3I.js.LEGAL.txt → BRU5VLZB.js.LEGAL.txt} +0 -0
  826. /package/dist/cdn/{A6ICAK5A.js.LEGAL.txt → BV6EFJZC.js.LEGAL.txt} +0 -0
  827. /package/dist/cdn/{AA3GUEAS.js.LEGAL.txt → BWXKL73Q.js.LEGAL.txt} +0 -0
  828. /package/dist/cdn/{AG7RCFNP.js.LEGAL.txt → BZMDZKKD.js.LEGAL.txt} +0 -0
  829. /package/dist/cdn/{AJHH2ZIN.js.LEGAL.txt → C2NUDCJS.js.LEGAL.txt} +0 -0
  830. /package/dist/cdn/{ALDCQBDR.js.LEGAL.txt → C7USIHQI.js.LEGAL.txt} +0 -0
  831. /package/dist/cdn/{AOSL2YMM.js.LEGAL.txt → CBYQGHGB.js.LEGAL.txt} +0 -0
  832. /package/dist/cdn/{CNI4FSON.js.LEGAL.txt → CHDRCTA2.js.LEGAL.txt} +0 -0
  833. /package/dist/cdn/{APJTED3E.js.LEGAL.txt → CSCKSCJS.js.LEGAL.txt} +0 -0
  834. /package/dist/cdn/{AYKTZHZC.js.LEGAL.txt → D7RBYDHA.js.LEGAL.txt} +0 -0
  835. /package/dist/cdn/{BDUBBFHV.js.LEGAL.txt → DDUXI4IF.js.LEGAL.txt} +0 -0
  836. /package/dist/cdn/{BVNX2VTU.js.LEGAL.txt → DF5H3IEK.js.LEGAL.txt} +0 -0
  837. /package/dist/cdn/{WMHWYYU6.js.LEGAL.txt → DF7SC7I7.js.LEGAL.txt} +0 -0
  838. /package/dist/cdn/{BZPLSVWJ.js.LEGAL.txt → DJOH7G5F.js.LEGAL.txt} +0 -0
  839. /package/dist/cdn/{C2SME6PJ.js.LEGAL.txt → DOCWZAWQ.js.LEGAL.txt} +0 -0
  840. /package/dist/cdn/{C5RNWIS7.js.LEGAL.txt → DOSIDEDS.js.LEGAL.txt} +0 -0
  841. /package/dist/cdn/{CNH62BZ5.js.LEGAL.txt → DPMODVSM.js.LEGAL.txt} +0 -0
  842. /package/dist/cdn/{CQAPZLBU.js.LEGAL.txt → DSVZ2BC3.js.LEGAL.txt} +0 -0
  843. /package/dist/cdn/{CR3S4UAR.js.LEGAL.txt → E5WTQS2M.js.LEGAL.txt} +0 -0
  844. /package/dist/cdn/{CTHCOXJR.js.LEGAL.txt → ECPXOJK5.js.LEGAL.txt} +0 -0
  845. /package/dist/cdn/{CX3XS6GM.js.LEGAL.txt → ELMN6SPW.js.LEGAL.txt} +0 -0
  846. /package/dist/cdn/{CY6LCGOS.js.LEGAL.txt → FBI5RFZO.js.LEGAL.txt} +0 -0
  847. /package/dist/cdn/{D3XCFU5I.js.LEGAL.txt → FIT7VLTE.js.LEGAL.txt} +0 -0
  848. /package/dist/cdn/{D7YZPDFT.js.LEGAL.txt → FKSMD5UK.js.LEGAL.txt} +0 -0
  849. /package/dist/cdn/{DJIVZZRJ.js.LEGAL.txt → FMMPP732.js.LEGAL.txt} +0 -0
  850. /package/dist/cdn/{DQ577CMC.js.LEGAL.txt → FUCKI2Q2.js.LEGAL.txt} +0 -0
  851. /package/dist/cdn/{E62O26KP.js.LEGAL.txt → GBFJW66J.js.LEGAL.txt} +0 -0
  852. /package/dist/cdn/{YBBH7QGM.js.LEGAL.txt → GOYPO5MZ.js.LEGAL.txt} +0 -0
  853. /package/dist/cdn/{E7SAW2EU.js.LEGAL.txt → H2VC657I.js.LEGAL.txt} +0 -0
  854. /package/dist/cdn/{PGPO5TLM.js.LEGAL.txt → H5NGIUOR.js.LEGAL.txt} +0 -0
  855. /package/dist/cdn/{EJ3QSIXA.js.LEGAL.txt → HHPIXOVQ.js.LEGAL.txt} +0 -0
  856. /package/dist/cdn/{EJIXFCLY.js.LEGAL.txt → HIMWA4AY.js.LEGAL.txt} +0 -0
  857. /package/dist/cdn/{ENEU2CW5.js.LEGAL.txt → HKWNXB2L.js.LEGAL.txt} +0 -0
  858. /package/dist/cdn/{EQ4Q4YFN.js.LEGAL.txt → HNLERDEE.js.LEGAL.txt} +0 -0
  859. /package/dist/cdn/{F3BQME64.js.LEGAL.txt → HO6XHKTA.js.LEGAL.txt} +0 -0
  860. /package/dist/cdn/{FEDIDIUN.js.LEGAL.txt → HRS7TH4V.js.LEGAL.txt} +0 -0
  861. /package/dist/cdn/{FJ3S4SSY.js.LEGAL.txt → HTTZT4XO.js.LEGAL.txt} +0 -0
  862. /package/dist/cdn/{FV7CCEO5.js.LEGAL.txt → I3S3RHKO.js.LEGAL.txt} +0 -0
  863. /package/dist/cdn/{FWMEU3TH.js.LEGAL.txt → IDPY2HTP.js.LEGAL.txt} +0 -0
  864. /package/dist/cdn/{FYPDAZY4.js.LEGAL.txt → IFCEXPSO.js.LEGAL.txt} +0 -0
  865. /package/dist/cdn/{G43BYPLK.js.LEGAL.txt → IGSPYODN.js.LEGAL.txt} +0 -0
  866. /package/dist/cdn/{G5C5EZR2.js.LEGAL.txt → IH5KLHCP.js.LEGAL.txt} +0 -0
  867. /package/dist/cdn/{GBD7CDPF.js.LEGAL.txt → IH5T4YI4.js.LEGAL.txt} +0 -0
  868. /package/dist/cdn/{GDUU46MT.js.LEGAL.txt → IJI5TVVB.js.LEGAL.txt} +0 -0
  869. /package/dist/cdn/{GDW7DPBI.js.LEGAL.txt → IKTHL4ZP.js.LEGAL.txt} +0 -0
  870. /package/dist/cdn/{GQLTORRY.js.LEGAL.txt → ILBGLKAM.js.LEGAL.txt} +0 -0
  871. /package/dist/cdn/{GSY2HMIU.js.LEGAL.txt → IMF62JCN.js.LEGAL.txt} +0 -0
  872. /package/dist/cdn/{GWGCPEZT.js.LEGAL.txt → ISVFWP52.js.LEGAL.txt} +0 -0
  873. /package/dist/cdn/{H2QXQ5FQ.js.LEGAL.txt → IVQASYLB.js.LEGAL.txt} +0 -0
  874. /package/dist/cdn/{I6YIA6T2.js.LEGAL.txt → IWT5TQHH.js.LEGAL.txt} +0 -0
  875. /package/dist/cdn/{IDEJRVLY.js.LEGAL.txt → J2LO6UQR.js.LEGAL.txt} +0 -0
  876. /package/dist/cdn/{ITHMBTYC.js.LEGAL.txt → JBZRABGU.js.LEGAL.txt} +0 -0
  877. /package/dist/cdn/{J4QUDHXQ.js.LEGAL.txt → JKQLTUJ4.js.LEGAL.txt} +0 -0
  878. /package/dist/cdn/{JA62FDQW.js.LEGAL.txt → JO2JPCFU.js.LEGAL.txt} +0 -0
  879. /package/dist/cdn/{JIHPMED7.js.LEGAL.txt → JQ6T7T6G.js.LEGAL.txt} +0 -0
  880. /package/dist/cdn/{KJNV7AFX.js.LEGAL.txt → JR33HLNM.js.LEGAL.txt} +0 -0
  881. /package/dist/cdn/{KQHFJOQ3.js.LEGAL.txt → JRHT3EK5.js.LEGAL.txt} +0 -0
  882. /package/dist/cdn/{KR6EKTLP.js.LEGAL.txt → JSQ5AWBW.js.LEGAL.txt} +0 -0
  883. /package/dist/cdn/{KUUQFBQA.js.LEGAL.txt → JVBGOVFZ.js.LEGAL.txt} +0 -0
  884. /package/dist/cdn/{LAH7GV77.js.LEGAL.txt → JZJO4WUB.js.LEGAL.txt} +0 -0
  885. /package/dist/cdn/{LEXQRU6J.js.LEGAL.txt → K6GWELTC.js.LEGAL.txt} +0 -0
  886. /package/dist/cdn/{LJCSK6B6.js.LEGAL.txt → KDRND4Z6.js.LEGAL.txt} +0 -0
  887. /package/dist/cdn/{LLVRSUHF.js.LEGAL.txt → KV6GNY37.js.LEGAL.txt} +0 -0
  888. /package/dist/cdn/{LOKSYIVO.js.LEGAL.txt → KVNQVUB5.js.LEGAL.txt} +0 -0
  889. /package/dist/cdn/{LX2P2RRX.js.LEGAL.txt → KXQJZ64O.js.LEGAL.txt} +0 -0
  890. /package/dist/cdn/{LYWBXOHT.js.LEGAL.txt → KY3QJMUH.js.LEGAL.txt} +0 -0
  891. /package/dist/cdn/{MAWBFPHE.js.LEGAL.txt → LBTJ6QOS.js.LEGAL.txt} +0 -0
  892. /package/dist/cdn/{MDXTLHZ3.js.LEGAL.txt → LIGAEQWZ.js.LEGAL.txt} +0 -0
  893. /package/dist/cdn/{MDY52YFH.js.LEGAL.txt → LJVWV5E2.js.LEGAL.txt} +0 -0
  894. /package/dist/cdn/{MFTPICPK.js.LEGAL.txt → LKA43LHY.js.LEGAL.txt} +0 -0
  895. /package/dist/cdn/{MNAXHDAU.js.LEGAL.txt → LUZYQCG5.js.LEGAL.txt} +0 -0
  896. /package/dist/cdn/{N2X2UEPR.js.LEGAL.txt → M6DUTYFC.js.LEGAL.txt} +0 -0
  897. /package/dist/cdn/{N37LDOL6.js.LEGAL.txt → M7LN44CN.js.LEGAL.txt} +0 -0
  898. /package/dist/cdn/{N56V4PEU.js.LEGAL.txt → MBI3VZU6.js.LEGAL.txt} +0 -0
  899. /package/dist/cdn/{N5CEFGWB.js.LEGAL.txt → MC2AOFXZ.js.LEGAL.txt} +0 -0
  900. /package/dist/cdn/{N7YV3YAM.js.LEGAL.txt → MDCKXQJO.js.LEGAL.txt} +0 -0
  901. /package/dist/cdn/{NC5PXHSD.js.LEGAL.txt → MDDPKODP.js.LEGAL.txt} +0 -0
  902. /package/dist/cdn/{NE6KFVU7.js.LEGAL.txt → MJ3DSYU3.js.LEGAL.txt} +0 -0
  903. /package/dist/cdn/{NIOP4TP4.js.LEGAL.txt → MJFKJQYB.js.LEGAL.txt} +0 -0
  904. /package/dist/cdn/{NKKRPICK.js.LEGAL.txt → MQ7F7QUE.js.LEGAL.txt} +0 -0
  905. /package/dist/cdn/{NLBZROUX.js.LEGAL.txt → MRIRPGEC.js.LEGAL.txt} +0 -0
  906. /package/dist/cdn/{O4EQXXUQ.js.LEGAL.txt → MVC653PC.js.LEGAL.txt} +0 -0
  907. /package/dist/cdn/{O4LE7CA4.js.LEGAL.txt → NA7SDATI.js.LEGAL.txt} +0 -0
  908. /package/dist/cdn/{OUEFIXE5.js.LEGAL.txt → NBY24EHE.js.LEGAL.txt} +0 -0
  909. /package/dist/cdn/{OYV2ECT3.js.LEGAL.txt → NBZKCJYV.js.LEGAL.txt} +0 -0
  910. /package/dist/cdn/{P236K4ND.js.LEGAL.txt → NCW4OKDO.js.LEGAL.txt} +0 -0
  911. /package/dist/cdn/{P6GA3ZWP.js.LEGAL.txt → NEHLZKDR.js.LEGAL.txt} +0 -0
  912. /package/dist/cdn/{PBYNVS65.js.LEGAL.txt → NSPIY3IK.js.LEGAL.txt} +0 -0
  913. /package/dist/cdn/{PC3E5QR4.js.LEGAL.txt → NSYNBINJ.js.LEGAL.txt} +0 -0
  914. /package/dist/cdn/{PGXI34O7.js.LEGAL.txt → OHJLE6AZ.js.LEGAL.txt} +0 -0
  915. /package/dist/cdn/{PQA3QEKR.js.LEGAL.txt → OLMHTXNQ.js.LEGAL.txt} +0 -0
  916. /package/dist/cdn/{PTQVOQKV.js.LEGAL.txt → OPDCGNBR.js.LEGAL.txt} +0 -0
  917. /package/dist/cdn/{PYPMEIWY.js.LEGAL.txt → P3LZYPPS.js.LEGAL.txt} +0 -0
  918. /package/dist/cdn/{Q3Q7OB2Z.js.LEGAL.txt → P6UVWL7O.js.LEGAL.txt} +0 -0
  919. /package/dist/cdn/{Q5AYW5YK.js.LEGAL.txt → PDORDF5G.js.LEGAL.txt} +0 -0
  920. /package/dist/cdn/{QE3IE6HS.js.LEGAL.txt → PEL7LK4D.js.LEGAL.txt} +0 -0
  921. /package/dist/cdn/{QGUERUK2.js.LEGAL.txt → PKCMEQAU.js.LEGAL.txt} +0 -0
  922. /package/dist/cdn/{QHYTD34B.js.LEGAL.txt → PQMLSZ6Q.js.LEGAL.txt} +0 -0
  923. /package/dist/cdn/{QJI5TIFP.js.LEGAL.txt → Q7SAQVYT.js.LEGAL.txt} +0 -0
  924. /package/dist/cdn/{QLBPMFND.js.LEGAL.txt → QGUBRZTX.js.LEGAL.txt} +0 -0
  925. /package/dist/cdn/{QM2JFOJH.js.LEGAL.txt → QJENMW5L.js.LEGAL.txt} +0 -0
  926. /package/dist/cdn/{QUQOEMB2.js.LEGAL.txt → QMQWHDJM.js.LEGAL.txt} +0 -0
  927. /package/dist/cdn/{QVNZO6V5.js.LEGAL.txt → QQAEGSRM.js.LEGAL.txt} +0 -0
  928. /package/dist/cdn/{QXSHWKS2.js.LEGAL.txt → QYZYW3RJ.js.LEGAL.txt} +0 -0
  929. /package/dist/cdn/{QY34EFUA.js.LEGAL.txt → RNMLGUYA.js.LEGAL.txt} +0 -0
  930. /package/dist/cdn/{QY66TIP6.js.LEGAL.txt → RRYTJ647.js.LEGAL.txt} +0 -0
  931. /package/dist/cdn/{R3Z6EMEI.js.LEGAL.txt → RS33KQS6.js.LEGAL.txt} +0 -0
  932. /package/dist/cdn/{RGNPXWAO.js.LEGAL.txt → RUYFVXBS.js.LEGAL.txt} +0 -0
  933. /package/dist/cdn/{RLHLQXYD.js.LEGAL.txt → RXHV5MUS.js.LEGAL.txt} +0 -0
  934. /package/dist/cdn/{RN5XBEN3.js.LEGAL.txt → SAGLZRM2.js.LEGAL.txt} +0 -0
  935. /package/dist/cdn/{RNXZHKL2.js.LEGAL.txt → SU72XN2J.js.LEGAL.txt} +0 -0
  936. /package/dist/cdn/{RPUA2SDG.js.LEGAL.txt → T3LSH3IQ.js.LEGAL.txt} +0 -0
  937. /package/dist/cdn/{YYCU3YTE.js.LEGAL.txt → T4IIOCIY.js.LEGAL.txt} +0 -0
  938. /package/dist/cdn/{RWZPJIME.js.LEGAL.txt → TDQ4PMPX.js.LEGAL.txt} +0 -0
  939. /package/dist/cdn/{S3M7J3F2.js.LEGAL.txt → THB4E2IY.js.LEGAL.txt} +0 -0
  940. /package/dist/cdn/{T3BMWVFU.js.LEGAL.txt → TPPM5JZL.js.LEGAL.txt} +0 -0
  941. /package/dist/cdn/{T3ICSTI4.js.LEGAL.txt → TQVH5DBS.js.LEGAL.txt} +0 -0
  942. /package/dist/cdn/{TF4Q4NRD.js.LEGAL.txt → TVKOIWJU.js.LEGAL.txt} +0 -0
  943. /package/dist/cdn/{TH4ZTQRV.js.LEGAL.txt → TZCTHM3O.js.LEGAL.txt} +0 -0
  944. /package/dist/cdn/{TKKRNU4R.js.LEGAL.txt → U5GK7MA2.js.LEGAL.txt} +0 -0
  945. /package/dist/cdn/{TM3MZDLO.js.LEGAL.txt → UGQYR5OJ.js.LEGAL.txt} +0 -0
  946. /package/dist/cdn/{TMO2VLQF.js.LEGAL.txt → V3B7MUGW.js.LEGAL.txt} +0 -0
  947. /package/dist/cdn/{TQ7QDBCO.js.LEGAL.txt → V5LM464M.js.LEGAL.txt} +0 -0
  948. /package/dist/cdn/{U562K4UM.js.LEGAL.txt → VATXWLXP.js.LEGAL.txt} +0 -0
  949. /package/dist/cdn/{UDVAAJ6Q.js.LEGAL.txt → VAYC3VU7.js.LEGAL.txt} +0 -0
  950. /package/dist/cdn/{UF2HY2WV.js.LEGAL.txt → VDRQEGSJ.js.LEGAL.txt} +0 -0
  951. /package/dist/cdn/{UIASRIMB.js.LEGAL.txt → VNOW7P2Y.js.LEGAL.txt} +0 -0
  952. /package/dist/cdn/{UJOEYHV6.js.LEGAL.txt → VS5WM6PK.js.LEGAL.txt} +0 -0
  953. /package/dist/cdn/{V3JCSZM7.js.LEGAL.txt → VUYTCMDU.js.LEGAL.txt} +0 -0
  954. /package/dist/cdn/{V3V2IGDH.js.LEGAL.txt → VUZVPABL.js.LEGAL.txt} +0 -0
  955. /package/dist/cdn/{V7H6W6XH.js.LEGAL.txt → VVDHQ2YB.js.LEGAL.txt} +0 -0
  956. /package/dist/cdn/{VFLCZK27.js.LEGAL.txt → WM3U5GDF.js.LEGAL.txt} +0 -0
  957. /package/dist/cdn/{VKAETNJ5.js.LEGAL.txt → WNZ4UWHI.js.LEGAL.txt} +0 -0
  958. /package/dist/cdn/{VSLTGXC5.js.LEGAL.txt → X2MYTIRF.js.LEGAL.txt} +0 -0
  959. /package/dist/cdn/{VXDNTPOM.js.LEGAL.txt → X2YIWORK.js.LEGAL.txt} +0 -0
  960. /package/dist/cdn/{QL7L7GRX.js.LEGAL.txt → X3GSSI5U.js.LEGAL.txt} +0 -0
  961. /package/dist/cdn/{VYJL23CI.js.LEGAL.txt → X6DAAUGR.js.LEGAL.txt} +0 -0
  962. /package/dist/cdn/{WK34LK5M.js.LEGAL.txt → XCFCXYAK.js.LEGAL.txt} +0 -0
  963. /package/dist/cdn/{WLLRBH3K.js.LEGAL.txt → XG2Q7G7X.js.LEGAL.txt} +0 -0
  964. /package/dist/cdn/{X754A4TH.js.LEGAL.txt → XJALRDUG.js.LEGAL.txt} +0 -0
  965. /package/dist/cdn/{XBIYKCJL.js.LEGAL.txt → XVFKRSIV.js.LEGAL.txt} +0 -0
  966. /package/dist/cdn/{XMCETP3W.js.LEGAL.txt → Y5CMMV6Q.js.LEGAL.txt} +0 -0
  967. /package/dist/cdn/{XWPKW77R.js.LEGAL.txt → Y6LO5U2B.js.LEGAL.txt} +0 -0
  968. /package/dist/cdn/{YBBJBF3K.js.LEGAL.txt → YEDPZR4L.js.LEGAL.txt} +0 -0
  969. /package/dist/cdn/{YUFDX5ZR.js.LEGAL.txt → YGJIMBAF.js.LEGAL.txt} +0 -0
  970. /package/dist/cdn/{YWZTRBFN.js.LEGAL.txt → YKVV76O5.js.LEGAL.txt} +0 -0
  971. /package/dist/cdn/{Z37NSG3W.js.LEGAL.txt → YMCOH3HF.js.LEGAL.txt} +0 -0
  972. /package/dist/cdn/{Z3I2AEZO.js.LEGAL.txt → ZBNWBHEY.js.LEGAL.txt} +0 -0
  973. /package/dist/cdn/{ZDPAU277.js.LEGAL.txt → ZJFJ5SM2.js.LEGAL.txt} +0 -0
  974. /package/dist/cdn/{ZHGIC7GI.js.LEGAL.txt → ZNC4QO2O.js.LEGAL.txt} +0 -0
  975. /package/dist/cdn/{ZND3RVV7.js.LEGAL.txt → ZQ5MCBMC.js.LEGAL.txt} +0 -0
  976. /package/dist/cdn/{ZYNXSMKC.js.LEGAL.txt → ZVCA343S.js.LEGAL.txt} +0 -0
  977. /package/dist/cdn/{ZZSAXRPC.js.LEGAL.txt → ZYIJIP5N.js.LEGAL.txt} +0 -0
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as o}from"./5CAFFNYB.js";import{b as l}from"./VUZVPABL.js";import"./WM3U5GDF.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as x}from"./JBZRABGU.js";import{a as I}from"./LKA43LHY.js";import{a as d}from"./DJOH7G5F.js";import{b as p,d as v,e as M}from"./3GCIZKCB.js";import{a as y}from"./NCW4OKDO.js";import{a as k,e as R,f as A,g as E}from"./IKTHL4ZP.js";import{a as U}from"./4LCTK7J4.js";import{a as c}from"./PEL7LK4D.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as h}from"./BFSRKOM5.js";import{B as p,c as a,d as l,f as c,n,w as d}from"./QBBG744E.js";import"./WM3U5GDF.js";var u=a`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}`,r=class extends d{constructor(){super(...arguments),this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={listSelectionMode:1,templateInfos:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=u}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list label selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class="solution-list-item-label">${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${e.url?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",r);export{r as SolutionItemAccordion};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as u,b as m}from"./6TXOISGI.js";import{b as g}from"./EDFTPYOI.js";import{B as p,c as o,d as l,w as d}from"./QBBG744E.js";import"./WM3U5GDF.js";var f=o`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`,h=class extends d{constructor(){super(...arguments),this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchTerm="",this._searchElement=u()}static{this.properties={mapView:0,popupEnabled:5,resultGraphicEnabled:5,searchConfiguration:0,searchTerm:1,searchWidget:0}}static{this.styles=f}willUpdate(e){e.has("searchConfiguration")&&this.watchSearchConfigurationHandler(),e.has("mapView")&&this.mapViewWatchHandler()}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSearchWidget()})}async load(){await this._initModules()}loaded(){return this._initSearchWidget()}render(){return l`<div class="search-widget" ${m(this._searchElement)}></div>`}async _initModules(){let[e,s]=await g(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=e,this.FeatureLayer=s}_initSearchWidget(){if(this.mapView&&this._searchElement.value&&!this.searchWidget){let e={view:this.mapView,container:this._searchElement.value,searchTerm:this.searchTerm};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=this.Search&&new this.Search(e),this.searchWidget&&(this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled)}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(e,s){let w="includeDefaultSources",a=e.sources;return a&&a?.length>0?(e[w]=!1,a.forEach(t=>{if(t.hasOwnProperty("layer")){let i=t,r=i.layer?.id,n=r?s.map.findLayerById(r):null,c=i?.layer?.url;n?i.layer=n:c&&this.FeatureLayer&&(i.layer=new this.FeatureLayer(c))}}),a?.forEach(t=>{if(t.hasOwnProperty("locator")){let i=t;if(i?.name==="ArcGIS World Geocoding Service"){let r=i.outFields||["Addr_type","Match_addr","StAddr","City"];i.outFields=r,i.singleLineFieldName="SingleLine"}i.url=i.url,delete i.url}})):e={...e,includeDefaultSources:!0},e}};p("map-search",h);export{h as MapSearch};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as x}from"./B56ZED7E.js";import"./DF7SC7I7.js";import{d as v}from"./LLZZKICA.js";import{a as s}from"./4XWAYGQL.js";import"./TTRGENPC.js";import{a as r,b as h}from"./6TXOISGI.js";import{a as $}from"./BFSRKOM5.js";import{B as y,c as m,d as l,f as _,n as p,q as f,w as g,x as c,y as w}from"./QBBG744E.js";import"./WM3U5GDF.js";var T=m`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,u=class extends g{constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=$({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._deleteIds=[],this._layerTable=r(),this._shouldSetMapView=!1,this._layerExpressions=[],this._filterList=r(),this._mapCard=r(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=p(),this.showCoverPage=p(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),x(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_isPortraitMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16}}static{this.styles=T}static{this.shadowRootOptions=f}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await v(this._mapView,t);i&&await i.when(()=>{this._layerIds.length===0&&this.appLayout==="mapView"&&i.isTable&&(this.appLayout="splitView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${this._deleteModal()}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${t?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this._layerTable.value?.selectedIds} .layer=${this._layer}></delete-button>`:void 0}</div></div>`:void 0}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i),o=!this._isPortraitMobile&&this._isMobile?"border-right":"";return l`<div class=${`${a} overflow-hidden z-index-1 ${o}`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isPortraitMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer;return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableShare=${this.enableShare} enable-single-expand .hidden=${!this._isPortraitMobile&&i} home-zoom-index=3 home-zoom-position=top-left home-zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(n=>n.visible!==!1)} map-widgets-index=0 map-widgets-position=top-right map-widgets-size=m @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .toolOrder=${["legend","search","fullscreen","basemap","floorfilter"]} .zoomToScale=${this.zoomToScale} ${h(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${w({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isPortraitMobile} .layer=${this._layer} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=this._layer?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isPortraitMobile?"visibility-hidden":a?"display-none":"",L=a?"height-full width-full z-index-0":"display-none",C=this._getTableSizeClass(e,t),I=e===s.HORIZONTAL?"horizontal":"vertical",S=e===s.HORIZONTAL?"header":"panel-start",d=this.defaultWebmap&&this.defaultLayer,b=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,M=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(F=>Number.parseInt(F,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${C} border-bottom`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${I} slot=${S??_}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${d?b:void 0} .defaultLayerId=${d?this.defaultLayer:""} .defaultOid=${d&&!b?M:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isPortraitMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${h(this._layerTable)}></layer-table></div><div class=${c(L)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layerIds?.length===0} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${this._layer} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${c(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0;return l`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${h(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}async _updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&await this._layerTable.value?.filterUpdate(e),this._mapCard.value&&await this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[],this._layerExpressions.filter(t=>t.expressions.filter(i=>i.active).length>0).length>0}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};y("crowdsource-manager",u);export{u as CrowdsourceManager};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as i}from"./P3LZYPPS.js";import{a as s,c as l,d as r}from"./IKTHL4ZP.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
@@ -0,0 +1,6 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{c as mt}from"./JBZRABGU.js";import{b as ft,c as pt,d as dt,i as ht}from"./XCFCXYAK.js";import{b as ut}from"./VVDHQ2YB.js";import{a as Oe,c as lr,d as Le}from"./WM3U5GDF.js";var Pe=lr((bt,Xe)=>{(function(e){typeof bt=="object"&&typeof Xe<"u"?Xe.exports=e():typeof define=="function"&&define.amd?define([],e):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).JSZip=e()})(function(){return function e(a,r,n){function s(p,m){if(!r[p]){if(!a[p]){var y=typeof Oe=="function"&&Oe;if(!m&&y)return y(p,!0);if(i)return i(p,!0);var b=new Error("Cannot find module '"+p+"'");throw b.code="MODULE_NOT_FOUND",b}var l=r[p]={exports:{}};a[p][0].call(l.exports,function(g){var u=a[p][1][g];return s(u||g)},l,l.exports,e,a,r,n)}return r[p].exports}for(var i=typeof Oe=="function"&&Oe,c=0;c<n.length;c++)s(n[c]);return s}({1:[function(e,a,r){"use strict";var n=e("./utils"),s=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(c){for(var p,m,y,b,l,g,u,h=[],f=0,w=c.length,_=w,S=n.getTypeOf(c)!=="string";f<c.length;)_=w-f,y=S?(p=c[f++],m=f<w?c[f++]:0,f<w?c[f++]:0):(p=c.charCodeAt(f++),m=f<w?c.charCodeAt(f++):0,f<w?c.charCodeAt(f++):0),b=p>>2,l=(3&p)<<4|m>>4,g=1<_?(15&m)<<2|y>>6:64,u=2<_?63&y:64,h.push(i.charAt(b)+i.charAt(l)+i.charAt(g)+i.charAt(u));return h.join("")},r.decode=function(c){var p,m,y,b,l,g,u=0,h=0,f="data:";if(c.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var w,_=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===i.charAt(64)&&_--,c.charAt(c.length-2)===i.charAt(64)&&_--,_%1!=0)throw new Error("Invalid base64 input, bad content length.");for(w=s.uint8array?new Uint8Array(0|_):new Array(0|_);u<c.length;)p=i.indexOf(c.charAt(u++))<<2|(b=i.indexOf(c.charAt(u++)))>>4,m=(15&b)<<4|(l=i.indexOf(c.charAt(u++)))>>2,y=(3&l)<<6|(g=i.indexOf(c.charAt(u++))),w[h++]=p,l!==64&&(w[h++]=m),g!==64&&(w[h++]=y);return w}},{"./support":30,"./utils":32}],2:[function(e,a,r){"use strict";var n=e("./external"),s=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),c=e("./stream/DataLengthProbe");function p(m,y,b,l,g){this.compressedSize=m,this.uncompressedSize=y,this.crc32=b,this.compression=l,this.compressedContent=g}p.prototype={getContentWorker:function(){var m=new s(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),y=this;return m.on("end",function(){if(this.streamInfo.data_length!==y.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(m,y,b){return m.pipe(new i).pipe(new c("uncompressedSize")).pipe(y.compressWorker(b)).pipe(new c("compressedSize")).withStreamInfo("compression",y)},a.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,a,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,a,r){"use strict";var n=e("./utils"),s=function(){for(var i,c=[],p=0;p<256;p++){i=p;for(var m=0;m<8;m++)i=1&i?3988292384^i>>>1:i>>>1;c[p]=i}return c}();a.exports=function(i,c){return i!==void 0&&i.length?n.getTypeOf(i)!=="string"?function(p,m,y,b){var l=s,g=b+y;p^=-1;for(var u=b;u<g;u++)p=p>>>8^l[255&(p^m[u])];return-1^p}(0|c,i,i.length,0):function(p,m,y,b){var l=s,g=b+y;p^=-1;for(var u=b;u<g;u++)p=p>>>8^l[255&(p^m.charCodeAt(u))];return-1^p}(0|c,i,i.length,0):0}},{"./utils":32}],5:[function(e,a,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,a,r){"use strict";var n=null;n=typeof Promise<"u"?Promise:e("lie"),a.exports={Promise:n}},{lie:37}],7:[function(e,a,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),i=e("./utils"),c=e("./stream/GenericWorker"),p=n?"uint8array":"array";function m(y,b){c.call(this,"FlateWorker/"+y),this._pako=null,this._pakoAction=y,this._pakoOptions=b,this.meta={}}r.magic="\b\0",i.inherits(m,c),m.prototype.processChunk=function(y){this.meta=y.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(p,y.data),!1)},m.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var y=this;this._pako.onData=function(b){y.push({data:b,meta:y.meta})}},r.compressWorker=function(y){return new m("Deflate",y)},r.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,a,r){"use strict";function n(l,g){var u,h="";for(u=0;u<g;u++)h+=String.fromCharCode(255&l),l>>>=8;return h}function s(l,g,u,h,f,w){var _,S,I=l.file,R=l.compression,T=w!==p.utf8encode,N=i.transformTo("string",w(I.name)),F=i.transformTo("string",p.utf8encode(I.name)),G=I.comment,q=i.transformTo("string",w(G)),v=i.transformTo("string",p.utf8encode(G)),C=F.length!==I.name.length,o=v.length!==G.length,L="",X="",B="",Q=I.dir,W=I.date,J={crc32:0,compressedSize:0,uncompressedSize:0};g&&!u||(J.crc32=l.crc32,J.compressedSize=l.compressedSize,J.uncompressedSize=l.uncompressedSize);var A=0;g&&(A|=8),T||!C&&!o||(A|=2048);var O=0,K=0;Q&&(O|=16),f==="UNIX"?(K=798,O|=function(j,ie){var ce=j;return j||(ce=ie?16893:33204),(65535&ce)<<16}(I.unixPermissions,Q)):(K=20,O|=function(j){return 63&(j||0)}(I.dosPermissions)),_=W.getUTCHours(),_<<=6,_|=W.getUTCMinutes(),_<<=5,_|=W.getUTCSeconds()/2,S=W.getUTCFullYear()-1980,S<<=4,S|=W.getUTCMonth()+1,S<<=5,S|=W.getUTCDate(),C&&(X=n(1,1)+n(m(N),4)+F,L+="up"+n(X.length,2)+X),o&&(B=n(1,1)+n(m(q),4)+v,L+="uc"+n(B.length,2)+B);var $="";return $+=`
5
+ \0`,$+=n(A,2),$+=R.magic,$+=n(_,2),$+=n(S,2),$+=n(J.crc32,4),$+=n(J.compressedSize,4),$+=n(J.uncompressedSize,4),$+=n(N.length,2),$+=n(L.length,2),{fileRecord:y.LOCAL_FILE_HEADER+$+N+L,dirRecord:y.CENTRAL_FILE_HEADER+n(K,2)+$+n(q.length,2)+"\0\0\0\0"+n(O,4)+n(h,4)+N+L+q}}var i=e("../utils"),c=e("../stream/GenericWorker"),p=e("../utf8"),m=e("../crc32"),y=e("../signature");function b(l,g,u,h){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=u,this.encodeFileName=h,this.streamFiles=l,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(b,c),b.prototype.push=function(l){var g=l.meta.percent||0,u=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(l):(this.bytesWritten+=l.data.length,c.prototype.push.call(this,{data:l.data,meta:{currentFile:this.currentFile,percent:u?(g+100*(u-h-1))/u:100}}))},b.prototype.openedSource=function(l){this.currentSourceOffset=this.bytesWritten,this.currentFile=l.file.name;var g=this.streamFiles&&!l.file.dir;if(g){var u=s(l,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},b.prototype.closedSource=function(l){this.accumulate=!1;var g=this.streamFiles&&!l.file.dir,u=s(l,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),g)this.push({data:function(h){return y.DATA_DESCRIPTOR+n(h.crc32,4)+n(h.compressedSize,4)+n(h.uncompressedSize,4)}(l),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},b.prototype.flush=function(){for(var l=this.bytesWritten,g=0;g<this.dirRecords.length;g++)this.push({data:this.dirRecords[g],meta:{percent:100}});var u=this.bytesWritten-l,h=function(f,w,_,S,I){var R=i.transformTo("string",I(S));return y.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(f,2)+n(f,2)+n(w,4)+n(_,4)+n(R.length,2)+R}(this.dirRecords.length,u,l,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},b.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},b.prototype.registerPrevious=function(l){this._sources.push(l);var g=this;return l.on("data",function(u){g.processChunk(u)}),l.on("end",function(){g.closedSource(g.previous.streamInfo),g._sources.length?g.prepareNextSource():g.end()}),l.on("error",function(u){g.error(u)}),this},b.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},b.prototype.error=function(l){var g=this._sources;if(!c.prototype.error.call(this,l))return!1;for(var u=0;u<g.length;u++)try{g[u].error(l)}catch{}return!0},b.prototype.lock=function(){c.prototype.lock.call(this);for(var l=this._sources,g=0;g<l.length;g++)l[g].lock()},a.exports=b},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,a,r){"use strict";var n=e("../compressions"),s=e("./ZipFileWorker");r.generateWorker=function(i,c,p){var m=new s(c.streamFiles,p,c.platform,c.encodeFileName),y=0;try{i.forEach(function(b,l){y++;var g=function(w,_){var S=w||_,I=n[S];if(!I)throw new Error(S+" is not a valid compression method !");return I}(l.options.compression,c.compression),u=l.options.compressionOptions||c.compressionOptions||{},h=l.dir,f=l.date;l._compressWorker(g,u).withStreamInfo("file",{name:b,dir:h,date:f,comment:l.comment||"",unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions}).pipe(m)}),m.entriesCount=y}catch(b){m.error(b)}return m}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,a,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new n;for(var i in this)typeof this[i]!="function"&&(s[i]=this[i]);return s}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(s,i){return new n().loadAsync(s,i)},n.external=e("./external"),a.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,a,r){"use strict";var n=e("./utils"),s=e("./external"),i=e("./utf8"),c=e("./zipEntries"),p=e("./stream/Crc32Probe"),m=e("./nodejsUtils");function y(b){return new s.Promise(function(l,g){var u=b.decompressed.getContentWorker().pipe(new p);u.on("error",function(h){g(h)}).on("end",function(){u.streamInfo.crc32!==b.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):l()}).resume()})}a.exports=function(b,l){var g=this;return l=n.extend(l||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),m.isNode&&m.isStream(b)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",b,!0,l.optimizedBinaryString,l.base64).then(function(u){var h=new c(l);return h.load(u),h}).then(function(u){var h=[s.Promise.resolve(u)],f=u.files;if(l.checkCRC32)for(var w=0;w<f.length;w++)h.push(y(f[w]));return s.Promise.all(h)}).then(function(u){for(var h=u.shift(),f=h.files,w=0;w<f.length;w++){var _=f[w],S=_.fileNameStr,I=n.resolve(_.fileNameStr);g.file(I,_.decompressed,{binary:!0,optimizedBinaryString:!0,date:_.date,dir:_.dir,comment:_.fileCommentStr.length?_.fileCommentStr:null,unixPermissions:_.unixPermissions,dosPermissions:_.dosPermissions,createFolders:l.createFolders}),_.dir||(g.file(I).unsafeOriginalName=S)}return h.zipComment.length&&(g.comment=h.zipComment),g})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,a,r){"use strict";var n=e("../utils"),s=e("../stream/GenericWorker");function i(c,p){s.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(p)}n.inherits(i,s),i.prototype._bindStream=function(c){var p=this;(this._stream=c).pause(),c.on("data",function(m){p.push({data:m,meta:{percent:0}})}).on("error",function(m){p.isPaused?this.generatedError=m:p.error(m)}).on("end",function(){p.isPaused?p._upstreamEnded=!0:p.end()})},i.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},a.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,a,r){"use strict";var n=e("readable-stream").Readable;function s(i,c,p){n.call(this,c),this._helper=i;var m=this;i.on("data",function(y,b){m.push(y)||m._helper.pause(),p&&p(b)}).on("error",function(y){m.emit("error",y)}).on("end",function(){m.push(null)})}e("../utils").inherits(s,n),s.prototype._read=function(){this._helper.resume()},a.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,a,r){"use strict";a.exports={isNode:typeof Buffer<"u",newBufferFrom:function(n,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(n,s);if(typeof n=="number")throw new Error('The "data" argument must not be a number');return new Buffer(n,s)},allocBuffer:function(n){if(Buffer.alloc)return Buffer.alloc(n);var s=new Buffer(n);return s.fill(0),s},isBuffer:function(n){return Buffer.isBuffer(n)},isStream:function(n){return n&&typeof n.on=="function"&&typeof n.pause=="function"&&typeof n.resume=="function"}}},{}],15:[function(e,a,r){"use strict";function n(I,R,T){var N,F=i.getTypeOf(R),G=i.extend(T||{},m);G.date=G.date||new Date,G.compression!==null&&(G.compression=G.compression.toUpperCase()),typeof G.unixPermissions=="string"&&(G.unixPermissions=parseInt(G.unixPermissions,8)),G.unixPermissions&&16384&G.unixPermissions&&(G.dir=!0),G.dosPermissions&&16&G.dosPermissions&&(G.dir=!0),G.dir&&(I=f(I)),G.createFolders&&(N=h(I))&&w.call(this,N,!0);var q=F==="string"&&G.binary===!1&&G.base64===!1;T&&T.binary!==void 0||(G.binary=!q),(R instanceof y&&R.uncompressedSize===0||G.dir||!R||R.length===0)&&(G.base64=!1,G.binary=!0,R="",G.compression="STORE",F="string");var v=null;v=R instanceof y||R instanceof c?R:g.isNode&&g.isStream(R)?new u(I,R):i.prepareContent(I,R,G.binary,G.optimizedBinaryString,G.base64);var C=new b(I,v,G);this.files[I]=C}var s=e("./utf8"),i=e("./utils"),c=e("./stream/GenericWorker"),p=e("./stream/StreamHelper"),m=e("./defaults"),y=e("./compressedObject"),b=e("./zipObject"),l=e("./generate"),g=e("./nodejsUtils"),u=e("./nodejs/NodejsStreamInputAdapter"),h=function(I){I.slice(-1)==="/"&&(I=I.substring(0,I.length-1));var R=I.lastIndexOf("/");return 0<R?I.substring(0,R):""},f=function(I){return I.slice(-1)!=="/"&&(I+="/"),I},w=function(I,R){return R=R!==void 0?R:m.createFolders,I=f(I),this.files[I]||n.call(this,I,null,{dir:!0,createFolders:R}),this.files[I]};function _(I){return Object.prototype.toString.call(I)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(I){var R,T,N;for(R in this.files)N=this.files[R],(T=R.slice(this.root.length,R.length))&&R.slice(0,this.root.length)===this.root&&I(T,N)},filter:function(I){var R=[];return this.forEach(function(T,N){I(T,N)&&R.push(N)}),R},file:function(I,R,T){if(arguments.length!==1)return I=this.root+I,n.call(this,I,R,T),this;if(_(I)){var N=I;return this.filter(function(G,q){return!q.dir&&N.test(G)})}var F=this.files[this.root+I];return F&&!F.dir?F:null},folder:function(I){if(!I)return this;if(_(I))return this.filter(function(F,G){return G.dir&&I.test(F)});var R=this.root+I,T=w.call(this,R),N=this.clone();return N.root=T.name,N},remove:function(I){I=this.root+I;var R=this.files[I];if(R||(I.slice(-1)!=="/"&&(I+="/"),R=this.files[I]),R&&!R.dir)delete this.files[I];else for(var T=this.filter(function(F,G){return G.name.slice(0,I.length)===I}),N=0;N<T.length;N++)delete this.files[T[N].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(I){var R,T={};try{if((T=i.extend(I||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");i.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var N=T.comment||this.comment||"";R=l.generateWorker(this,T,N)}catch(F){(R=new c("error")).error(F)}return new p(R,T.type||"string",T.mimeType)},generateAsync:function(I,R){return this.generateInternalStream(I).accumulate(R)},generateNodeStream:function(I,R){return(I=I||{}).type||(I.type="nodebuffer"),this.generateInternalStream(I).toNodejsStream(R)}};a.exports=S},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,a,r){"use strict";a.exports=e("stream")},{stream:void 0}],17:[function(e,a,r){"use strict";var n=e("./DataReader");function s(i){n.call(this,i);for(var c=0;c<this.data.length;c++)i[c]=255&i[c]}e("../utils").inherits(s,n),s.prototype.byteAt=function(i){return this.data[this.zero+i]},s.prototype.lastIndexOfSignature=function(i){for(var c=i.charCodeAt(0),p=i.charCodeAt(1),m=i.charCodeAt(2),y=i.charCodeAt(3),b=this.length-4;0<=b;--b)if(this.data[b]===c&&this.data[b+1]===p&&this.data[b+2]===m&&this.data[b+3]===y)return b-this.zero;return-1},s.prototype.readAndCheckSignature=function(i){var c=i.charCodeAt(0),p=i.charCodeAt(1),m=i.charCodeAt(2),y=i.charCodeAt(3),b=this.readData(4);return c===b[0]&&p===b[1]&&m===b[2]&&y===b[3]},s.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,a,r){"use strict";var n=e("../utils");function s(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var c,p=0;for(this.checkOffset(i),c=this.index+i-1;c>=this.index;c--)p=(p<<8)+this.byteAt(c);return this.index+=i,p},readString:function(i){return n.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},a.exports=s},{"../utils":32}],19:[function(e,a,r){"use strict";var n=e("./Uint8ArrayReader");function s(i){n.call(this,i)}e("../utils").inherits(s,n),s.prototype.readData=function(i){this.checkOffset(i);var c=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,a,r){"use strict";var n=e("./DataReader");function s(i){n.call(this,i)}e("../utils").inherits(s,n),s.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},s.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},s.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},s.prototype.readData=function(i){this.checkOffset(i);var c=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,a,r){"use strict";var n=e("./ArrayReader");function s(i){n.call(this,i)}e("../utils").inherits(s,n),s.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,c},a.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,a,r){"use strict";var n=e("../utils"),s=e("../support"),i=e("./ArrayReader"),c=e("./StringReader"),p=e("./NodeBufferReader"),m=e("./Uint8ArrayReader");a.exports=function(y){var b=n.getTypeOf(y);return n.checkSupport(b),b!=="string"||s.uint8array?b==="nodebuffer"?new p(y):s.uint8array?new m(n.transformTo("uint8array",y)):new i(n.transformTo("array",y)):new c(y)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,a,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,a,r){"use strict";var n=e("./GenericWorker"),s=e("../utils");function i(c){n.call(this,"ConvertWorker to "+c),this.destType=c}s.inherits(i,n),i.prototype.processChunk=function(c){this.push({data:s.transformTo(this.destType,c.data),meta:c.meta})},a.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,a,r){"use strict";var n=e("./GenericWorker"),s=e("../crc32");function i(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,n),i.prototype.processChunk=function(c){this.streamInfo.crc32=s(c.data,this.streamInfo.crc32||0),this.push(c)},a.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,a,r){"use strict";var n=e("../utils"),s=e("./GenericWorker");function i(c){s.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}n.inherits(i,s),i.prototype.processChunk=function(c){if(c){var p=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=p+c.data.length}s.prototype.processChunk.call(this,c)},a.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,a,r){"use strict";var n=e("../utils"),s=e("./GenericWorker");function i(c){s.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(m){p.dataIsReady=!0,p.data=m,p.max=m&&m.length||0,p.type=n.getTypeOf(m),p.isPaused||p._tickAndRepeat()},function(m){p.error(m)})}n.inherits(i,s),i.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,p=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,p);break;case"uint8array":c=this.data.subarray(this.index,p);break;case"array":case"nodebuffer":c=this.data.slice(this.index,p)}return this.index=p,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},a.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,a,r){"use strict";function n(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,i){return this._listeners[s].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,i){if(this._listeners[s])for(var c=0;c<this._listeners[s].length;c++)this._listeners[s][c].call(this,i)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var i=this;return s.on("data",function(c){i.processChunk(c)}),s.on("end",function(){i.end()}),s.on("error",function(c){i.error(c)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,i){return this.extraStreamInfo[s]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},a.exports=n},{}],29:[function(e,a,r){"use strict";var n=e("../utils"),s=e("./ConvertWorker"),i=e("./GenericWorker"),c=e("../base64"),p=e("../support"),m=e("../external"),y=null;if(p.nodestream)try{y=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function b(g,u){return new m.Promise(function(h,f){var w=[],_=g._internalType,S=g._outputType,I=g._mimeType;g.on("data",function(R,T){w.push(R),u&&u(T)}).on("error",function(R){w=[],f(R)}).on("end",function(){try{var R=function(T,N,F){switch(T){case"blob":return n.newBlob(n.transformTo("arraybuffer",N),F);case"base64":return c.encode(N);default:return n.transformTo(T,N)}}(S,function(T,N){var F,G=0,q=null,v=0;for(F=0;F<N.length;F++)v+=N[F].length;switch(T){case"string":return N.join("");case"array":return Array.prototype.concat.apply([],N);case"uint8array":for(q=new Uint8Array(v),F=0;F<N.length;F++)q.set(N[F],G),G+=N[F].length;return q;case"nodebuffer":return Buffer.concat(N);default:throw new Error("concat : unsupported type '"+T+"'")}}(_,w),I);h(R)}catch(T){f(T)}w=[]}).resume()})}function l(g,u,h){var f=u;switch(u){case"blob":case"arraybuffer":f="uint8array";break;case"base64":f="string"}try{this._internalType=f,this._outputType=u,this._mimeType=h,n.checkSupport(f),this._worker=g.pipe(new s(f)),g.lock()}catch(w){this._worker=new i("error"),this._worker.error(w)}}l.prototype={accumulate:function(g){return b(this,g)},on:function(g,u){var h=this;return g==="data"?this._worker.on(g,function(f){u.call(h,f.data,f.meta)}):this._worker.on(g,function(){n.delay(u,arguments,h)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(g){if(n.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new y(this,{objectMode:this._outputType!=="nodebuffer"},g)}},a.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,a,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",r.nodebuffer=typeof Buffer<"u",r.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=new Blob([n],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(n),r.blob=s.getBlob("application/zip").size===0}catch{r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch{r.nodestream=!1}},{"readable-stream":16}],31:[function(e,a,r){"use strict";for(var n=e("./utils"),s=e("./support"),i=e("./nodejsUtils"),c=e("./stream/GenericWorker"),p=new Array(256),m=0;m<256;m++)p[m]=252<=m?6:248<=m?5:240<=m?4:224<=m?3:192<=m?2:1;p[254]=p[254]=1;function y(){c.call(this,"utf-8 decode"),this.leftOver=null}function b(){c.call(this,"utf-8 encode")}r.utf8encode=function(l){return s.nodebuffer?i.newBufferFrom(l,"utf-8"):function(g){var u,h,f,w,_,S=g.length,I=0;for(w=0;w<S;w++)(64512&(h=g.charCodeAt(w)))==55296&&w+1<S&&(64512&(f=g.charCodeAt(w+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),w++),I+=h<128?1:h<2048?2:h<65536?3:4;for(u=s.uint8array?new Uint8Array(I):new Array(I),w=_=0;_<I;w++)(64512&(h=g.charCodeAt(w)))==55296&&w+1<S&&(64512&(f=g.charCodeAt(w+1)))==56320&&(h=65536+(h-55296<<10)+(f-56320),w++),h<128?u[_++]=h:(h<2048?u[_++]=192|h>>>6:(h<65536?u[_++]=224|h>>>12:(u[_++]=240|h>>>18,u[_++]=128|h>>>12&63),u[_++]=128|h>>>6&63),u[_++]=128|63&h);return u}(l)},r.utf8decode=function(l){return s.nodebuffer?n.transformTo("nodebuffer",l).toString("utf-8"):function(g){var u,h,f,w,_=g.length,S=new Array(2*_);for(u=h=0;u<_;)if((f=g[u++])<128)S[h++]=f;else if(4<(w=p[f]))S[h++]=65533,u+=w-1;else{for(f&=w===2?31:w===3?15:7;1<w&&u<_;)f=f<<6|63&g[u++],w--;1<w?S[h++]=65533:f<65536?S[h++]=f:(f-=65536,S[h++]=55296|f>>10&1023,S[h++]=56320|1023&f)}return S.length!==h&&(S.subarray?S=S.subarray(0,h):S.length=h),n.applyFromCharCode(S)}(l=n.transformTo(s.uint8array?"uint8array":"array",l))},n.inherits(y,c),y.prototype.processChunk=function(l){var g=n.transformTo(s.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var u=g;(g=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),g.set(u,this.leftOver.length)}else g=this.leftOver.concat(g);this.leftOver=null}var h=function(w,_){var S;for((_=_||w.length)>w.length&&(_=w.length),S=_-1;0<=S&&(192&w[S])==128;)S--;return S<0||S===0?_:S+p[w[S]]>_?S:_}(g),f=g;h!==g.length&&(s.uint8array?(f=g.subarray(0,h),this.leftOver=g.subarray(h,g.length)):(f=g.slice(0,h),this.leftOver=g.slice(h,g.length))),this.push({data:r.utf8decode(f),meta:l.meta})},y.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=y,n.inherits(b,c),b.prototype.processChunk=function(l){this.push({data:r.utf8encode(l.data),meta:l.meta})},r.Utf8EncodeWorker=b},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,a,r){"use strict";var n=e("./support"),s=e("./base64"),i=e("./nodejsUtils"),c=e("./external");function p(u){return u}function m(u,h){for(var f=0;f<u.length;++f)h[f]=255&u.charCodeAt(f);return h}e("setimmediate"),r.newBlob=function(u,h){r.checkSupport("blob");try{return new Blob([u],{type:h})}catch{try{var f=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return f.append(u),f.getBlob(h)}catch{throw new Error("Bug : can't construct the Blob.")}}};var y={stringifyByChunk:function(u,h,f){var w=[],_=0,S=u.length;if(S<=f)return String.fromCharCode.apply(null,u);for(;_<S;)h==="array"||h==="nodebuffer"?w.push(String.fromCharCode.apply(null,u.slice(_,Math.min(_+f,S)))):w.push(String.fromCharCode.apply(null,u.subarray(_,Math.min(_+f,S)))),_+=f;return w.join("")},stringifyByChar:function(u){for(var h="",f=0;f<u.length;f++)h+=String.fromCharCode(u[f]);return h},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch{return!1}}()}};function b(u){var h=65536,f=r.getTypeOf(u),w=!0;if(f==="uint8array"?w=y.applyCanBeUsed.uint8array:f==="nodebuffer"&&(w=y.applyCanBeUsed.nodebuffer),w)for(;1<h;)try{return y.stringifyByChunk(u,f,h)}catch{h=Math.floor(h/2)}return y.stringifyByChar(u)}function l(u,h){for(var f=0;f<u.length;f++)h[f]=u[f];return h}r.applyFromCharCode=b;var g={};g.string={string:p,array:function(u){return m(u,new Array(u.length))},arraybuffer:function(u){return g.string.uint8array(u).buffer},uint8array:function(u){return m(u,new Uint8Array(u.length))},nodebuffer:function(u){return m(u,i.allocBuffer(u.length))}},g.array={string:b,array:p,arraybuffer:function(u){return new Uint8Array(u).buffer},uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return i.newBufferFrom(u)}},g.arraybuffer={string:function(u){return b(new Uint8Array(u))},array:function(u){return l(new Uint8Array(u),new Array(u.byteLength))},arraybuffer:p,uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return i.newBufferFrom(new Uint8Array(u))}},g.uint8array={string:b,array:function(u){return l(u,new Array(u.length))},arraybuffer:function(u){return u.buffer},uint8array:p,nodebuffer:function(u){return i.newBufferFrom(u)}},g.nodebuffer={string:b,array:function(u){return l(u,new Array(u.length))},arraybuffer:function(u){return g.nodebuffer.uint8array(u).buffer},uint8array:function(u){return l(u,new Uint8Array(u.length))},nodebuffer:p},r.transformTo=function(u,h){if(h=h||"",!u)return h;r.checkSupport(u);var f=r.getTypeOf(h);return g[f][u](h)},r.resolve=function(u){for(var h=u.split("/"),f=[],w=0;w<h.length;w++){var _=h[w];_==="."||_===""&&w!==0&&w!==h.length-1||(_===".."?f.pop():f.push(_))}return f.join("/")},r.getTypeOf=function(u){return typeof u=="string"?"string":Object.prototype.toString.call(u)==="[object Array]"?"array":n.nodebuffer&&i.isBuffer(u)?"nodebuffer":n.uint8array&&u instanceof Uint8Array?"uint8array":n.arraybuffer&&u instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(u){if(!n[u.toLowerCase()])throw new Error(u+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(u){var h,f,w="";for(f=0;f<(u||"").length;f++)w+="\\x"+((h=u.charCodeAt(f))<16?"0":"")+h.toString(16).toUpperCase();return w},r.delay=function(u,h,f){setImmediate(function(){u.apply(f||null,h||[])})},r.inherits=function(u,h){function f(){}f.prototype=h.prototype,u.prototype=new f},r.extend=function(){var u,h,f={};for(u=0;u<arguments.length;u++)for(h in arguments[u])Object.prototype.hasOwnProperty.call(arguments[u],h)&&f[h]===void 0&&(f[h]=arguments[u][h]);return f},r.prepareContent=function(u,h,f,w,_){return c.Promise.resolve(h).then(function(S){return n.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new c.Promise(function(I,R){var T=new FileReader;T.onload=function(N){I(N.target.result)},T.onerror=function(N){R(N.target.error)},T.readAsArrayBuffer(S)}):S}).then(function(S){var I=r.getTypeOf(S);return I?(I==="arraybuffer"?S=r.transformTo("uint8array",S):I==="string"&&(_?S=s.decode(S):f&&w!==!0&&(S=function(R){return m(R,n.uint8array?new Uint8Array(R.length):new Array(R.length))}(S))),S):c.Promise.reject(new Error("Can't read the data of '"+u+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,a,r){"use strict";var n=e("./reader/readerFor"),s=e("./utils"),i=e("./signature"),c=e("./zipEntry"),p=e("./support");function m(y){this.files=[],this.loadOptions=y}m.prototype={checkSignature:function(y){if(!this.reader.readAndCheckSignature(y)){this.reader.index-=4;var b=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(b)+", expected "+s.pretty(y)+")")}},isSignature:function(y,b){var l=this.reader.index;this.reader.setIndex(y);var g=this.reader.readString(4)===b;return this.reader.setIndex(l),g},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var y=this.reader.readData(this.zipCommentLength),b=p.uint8array?"uint8array":"array",l=s.transformTo(b,y);this.zipComment=this.loadOptions.decodeFileName(l)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var y,b,l,g=this.zip64EndOfCentralSize-44;0<g;)y=this.reader.readInt(2),b=this.reader.readInt(4),l=this.reader.readData(b),this.zip64ExtensibleData[y]={id:y,length:b,value:l}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var y,b;for(y=0;y<this.files.length;y++)b=this.files[y],this.reader.setIndex(b.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),b.readLocalPart(this.reader),b.handleUTF8(),b.processAttributes()},readCentralDir:function(){var y;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(y=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(y);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var y=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(y<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(y);var b=y;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(y=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(y),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var g=b-l;if(0<g)this.isSignature(b,i.CENTRAL_FILE_HEADER)||(this.reader.zero=g);else if(g<0)throw new Error("Corrupted zip: missing "+Math.abs(g)+" bytes.")},prepareReader:function(y){this.reader=n(y)},load:function(y){this.prepareReader(y),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},a.exports=m},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,a,r){"use strict";var n=e("./reader/readerFor"),s=e("./utils"),i=e("./compressedObject"),c=e("./crc32"),p=e("./utf8"),m=e("./compressions"),y=e("./support");function b(l,g){this.options=l,this.loadOptions=g}b.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var g,u;if(l.skip(22),this.fileNameLength=l.readInt(2),u=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(u),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((g=function(h){for(var f in m)if(Object.prototype.hasOwnProperty.call(m,f)&&m[f].magic===h)return m[f];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,g,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var g=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(g),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var l=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=l.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=l.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=l.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=l.readInt(4))}},readExtraFields:function(l){var g,u,h,f=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<f;)g=l.readInt(2),u=l.readInt(2),h=l.readData(u),this.extraFields[g]={id:g,length:u,value:h};l.setIndex(f)},handleUTF8:function(){var l=y.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=p.utf8decode(this.fileName),this.fileCommentStr=p.utf8decode(this.fileComment);else{var g=this.findExtraFieldUnicodePath();if(g!==null)this.fileNameStr=g;else{var u=s.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var h=this.findExtraFieldUnicodeComment();if(h!==null)this.fileCommentStr=h;else{var f=s.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(f)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var g=n(l.value);return g.readInt(1)!==1||c(this.fileName)!==g.readInt(4)?null:p.utf8decode(g.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var g=n(l.value);return g.readInt(1)!==1||c(this.fileComment)!==g.readInt(4)?null:p.utf8decode(g.readData(l.length-5))}return null}},a.exports=b},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,a,r){"use strict";function n(g,u,h){this.name=g,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=u,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var s=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),c=e("./utf8"),p=e("./compressedObject"),m=e("./stream/GenericWorker");n.prototype={internalStream:function(g){var u=null,h="string";try{if(!g)throw new Error("No output type specified.");var f=(h=g.toLowerCase())==="string"||h==="text";h!=="binarystring"&&h!=="text"||(h="string"),u=this._decompressWorker();var w=!this._dataBinary;w&&!f&&(u=u.pipe(new c.Utf8EncodeWorker)),!w&&f&&(u=u.pipe(new c.Utf8DecodeWorker))}catch(_){(u=new m("error")).error(_)}return new s(u,h,"")},async:function(g,u){return this.internalStream(g).accumulate(u)},nodeStream:function(g,u){return this.internalStream(g||"nodebuffer").toNodejsStream(u)},_compressWorker:function(g,u){if(this._data instanceof p&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var h=this._decompressWorker();return this._dataBinary||(h=h.pipe(new c.Utf8EncodeWorker)),p.createWorkerFrom(h,g,u)},_decompressWorker:function(){return this._data instanceof p?this._data.getContentWorker():this._data instanceof m?this._data:new i(this._data)}};for(var y=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],b=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<y.length;l++)n.prototype[y[l]]=b;a.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,a,r){(function(n){"use strict";var s,i,c=n.MutationObserver||n.WebKitMutationObserver;if(c){var p=0,m=new c(g),y=n.document.createTextNode("");m.observe(y,{characterData:!0}),s=function(){y.data=p=++p%2}}else if(n.setImmediate||n.MessageChannel===void 0)s="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var u=n.document.createElement("script");u.onreadystatechange=function(){g(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},n.document.documentElement.appendChild(u)}:function(){setTimeout(g,0)};else{var b=new n.MessageChannel;b.port1.onmessage=g,s=function(){b.port2.postMessage(0)}}var l=[];function g(){var u,h;i=!0;for(var f=l.length;f;){for(h=l,l=[],u=-1;++u<f;)h[u]();f=l.length}i=!1}a.exports=function(u){l.push(u)!==1||i||s()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(e,a,r){"use strict";var n=e("immediate");function s(){}var i={},c=["REJECTED"],p=["FULFILLED"],m=["PENDING"];function y(f){if(typeof f!="function")throw new TypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void 0,f!==s&&u(this,f)}function b(f,w,_){this.promise=f,typeof w=="function"&&(this.onFulfilled=w,this.callFulfilled=this.otherCallFulfilled),typeof _=="function"&&(this.onRejected=_,this.callRejected=this.otherCallRejected)}function l(f,w,_){n(function(){var S;try{S=w(_)}catch(I){return i.reject(f,I)}S===f?i.reject(f,new TypeError("Cannot resolve promise with itself")):i.resolve(f,S)})}function g(f){var w=f&&f.then;if(f&&(typeof f=="object"||typeof f=="function")&&typeof w=="function")return function(){w.apply(f,arguments)}}function u(f,w){var _=!1;function S(T){_||(_=!0,i.reject(f,T))}function I(T){_||(_=!0,i.resolve(f,T))}var R=h(function(){w(I,S)});R.status==="error"&&S(R.value)}function h(f,w){var _={};try{_.value=f(w),_.status="success"}catch(S){_.status="error",_.value=S}return _}(a.exports=y).prototype.finally=function(f){if(typeof f!="function")return this;var w=this.constructor;return this.then(function(_){return w.resolve(f()).then(function(){return _})},function(_){return w.resolve(f()).then(function(){throw _})})},y.prototype.catch=function(f){return this.then(null,f)},y.prototype.then=function(f,w){if(typeof f!="function"&&this.state===p||typeof w!="function"&&this.state===c)return this;var _=new this.constructor(s);return this.state!==m?l(_,this.state===p?f:w,this.outcome):this.queue.push(new b(_,f,w)),_},b.prototype.callFulfilled=function(f){i.resolve(this.promise,f)},b.prototype.otherCallFulfilled=function(f){l(this.promise,this.onFulfilled,f)},b.prototype.callRejected=function(f){i.reject(this.promise,f)},b.prototype.otherCallRejected=function(f){l(this.promise,this.onRejected,f)},i.resolve=function(f,w){var _=h(g,w);if(_.status==="error")return i.reject(f,_.value);var S=_.value;if(S)u(f,S);else{f.state=p,f.outcome=w;for(var I=-1,R=f.queue.length;++I<R;)f.queue[I].callFulfilled(w)}return f},i.reject=function(f,w){f.state=c,f.outcome=w;for(var _=-1,S=f.queue.length;++_<S;)f.queue[_].callRejected(w);return f},y.resolve=function(f){return f instanceof this?f:i.resolve(new this(s),f)},y.reject=function(f){var w=new this(s);return i.reject(w,f)},y.all=function(f){var w=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var _=f.length,S=!1;if(!_)return this.resolve([]);for(var I=new Array(_),R=0,T=-1,N=new this(s);++T<_;)F(f[T],T);return N;function F(G,q){w.resolve(G).then(function(v){I[q]=v,++R!==_||S||(S=!0,i.resolve(N,I))},function(v){S||(S=!0,i.reject(N,v))})}},y.race=function(f){var w=this;if(Object.prototype.toString.call(f)!=="[object Array]")return this.reject(new TypeError("must be an array"));var _=f.length,S=!1;if(!_)return this.resolve([]);for(var I=-1,R=new this(s);++I<_;)T=f[I],w.resolve(T).then(function(N){S||(S=!0,i.resolve(R,N))},function(N){S||(S=!0,i.reject(R,N))});var T;return R}},{immediate:36}],38:[function(e,a,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),a.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,a,r){"use strict";var n=e("./zlib/deflate"),s=e("./utils/common"),i=e("./utils/strings"),c=e("./zlib/messages"),p=e("./zlib/zstream"),m=Object.prototype.toString,y=0,b=-1,l=0,g=8;function u(f){if(!(this instanceof u))return new u(f);this.options=s.assign({level:b,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},f||{});var w=this.options;w.raw&&0<w.windowBits?w.windowBits=-w.windowBits:w.gzip&&0<w.windowBits&&w.windowBits<16&&(w.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var _=n.deflateInit2(this.strm,w.level,w.method,w.windowBits,w.memLevel,w.strategy);if(_!==y)throw new Error(c[_]);if(w.header&&n.deflateSetHeader(this.strm,w.header),w.dictionary){var S;if(S=typeof w.dictionary=="string"?i.string2buf(w.dictionary):m.call(w.dictionary)==="[object ArrayBuffer]"?new Uint8Array(w.dictionary):w.dictionary,(_=n.deflateSetDictionary(this.strm,S))!==y)throw new Error(c[_]);this._dict_set=!0}}function h(f,w){var _=new u(w);if(_.push(f,!0),_.err)throw _.msg||c[_.err];return _.result}u.prototype.push=function(f,w){var _,S,I=this.strm,R=this.options.chunkSize;if(this.ended)return!1;S=w===~~w?w:w===!0?4:0,typeof f=="string"?I.input=i.string2buf(f):m.call(f)==="[object ArrayBuffer]"?I.input=new Uint8Array(f):I.input=f,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new s.Buf8(R),I.next_out=0,I.avail_out=R),(_=n.deflate(I,S))!==1&&_!==y)return this.onEnd(_),!(this.ended=!0);I.avail_out!==0&&(I.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(s.shrinkBuf(I.output,I.next_out))):this.onData(s.shrinkBuf(I.output,I.next_out)))}while((0<I.avail_in||I.avail_out===0)&&_!==1);return S===4?(_=n.deflateEnd(this.strm),this.onEnd(_),this.ended=!0,_===y):S!==2||(this.onEnd(y),!(I.avail_out=0))},u.prototype.onData=function(f){this.chunks.push(f)},u.prototype.onEnd=function(f){f===y&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},r.Deflate=u,r.deflate=h,r.deflateRaw=function(f,w){return(w=w||{}).raw=!0,h(f,w)},r.gzip=function(f,w){return(w=w||{}).gzip=!0,h(f,w)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,a,r){"use strict";var n=e("./zlib/inflate"),s=e("./utils/common"),i=e("./utils/strings"),c=e("./zlib/constants"),p=e("./zlib/messages"),m=e("./zlib/zstream"),y=e("./zlib/gzheader"),b=Object.prototype.toString;function l(u){if(!(this instanceof l))return new l(u);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},u||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||u&&u.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&!(15&h.windowBits)&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m,this.strm.avail_out=0;var f=n.inflateInit2(this.strm,h.windowBits);if(f!==c.Z_OK)throw new Error(p[f]);this.header=new y,n.inflateGetHeader(this.strm,this.header)}function g(u,h){var f=new l(h);if(f.push(u,!0),f.err)throw f.msg||p[f.err];return f.result}l.prototype.push=function(u,h){var f,w,_,S,I,R,T=this.strm,N=this.options.chunkSize,F=this.options.dictionary,G=!1;if(this.ended)return!1;w=h===~~h?h:h===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof u=="string"?T.input=i.binstring2buf(u):b.call(u)==="[object ArrayBuffer]"?T.input=new Uint8Array(u):T.input=u,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new s.Buf8(N),T.next_out=0,T.avail_out=N),(f=n.inflate(T,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&F&&(R=typeof F=="string"?i.string2buf(F):b.call(F)==="[object ArrayBuffer]"?new Uint8Array(F):F,f=n.inflateSetDictionary(this.strm,R)),f===c.Z_BUF_ERROR&&G===!0&&(f=c.Z_OK,G=!1),f!==c.Z_STREAM_END&&f!==c.Z_OK)return this.onEnd(f),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&f!==c.Z_STREAM_END&&(T.avail_in!==0||w!==c.Z_FINISH&&w!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(_=i.utf8border(T.output,T.next_out),S=T.next_out-_,I=i.buf2string(T.output,_),T.next_out=S,T.avail_out=N-S,S&&s.arraySet(T.output,T.output,_,S,0),this.onData(I)):this.onData(s.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(G=!0)}while((0<T.avail_in||T.avail_out===0)&&f!==c.Z_STREAM_END);return f===c.Z_STREAM_END&&(w=c.Z_FINISH),w===c.Z_FINISH?(f=n.inflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===c.Z_OK):w!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(T.avail_out=0))},l.prototype.onData=function(u){this.chunks.push(u)},l.prototype.onEnd=function(u){u===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},r.Inflate=l,r.inflate=g,r.inflateRaw=function(u,h){return(h=h||{}).raw=!0,g(u,h)},r.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,a,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";r.assign=function(c){for(var p=Array.prototype.slice.call(arguments,1);p.length;){var m=p.shift();if(m){if(typeof m!="object")throw new TypeError(m+"must be non-object");for(var y in m)m.hasOwnProperty(y)&&(c[y]=m[y])}}return c},r.shrinkBuf=function(c,p){return c.length===p?c:c.subarray?c.subarray(0,p):(c.length=p,c)};var s={arraySet:function(c,p,m,y,b){if(p.subarray&&c.subarray)c.set(p.subarray(m,m+y),b);else for(var l=0;l<y;l++)c[b+l]=p[m+l]},flattenChunks:function(c){var p,m,y,b,l,g;for(p=y=0,m=c.length;p<m;p++)y+=c[p].length;for(g=new Uint8Array(y),p=b=0,m=c.length;p<m;p++)l=c[p],g.set(l,b),b+=l.length;return g}},i={arraySet:function(c,p,m,y,b){for(var l=0;l<y;l++)c[b+l]=p[m+l]},flattenChunks:function(c){return[].concat.apply([],c)}};r.setTyped=function(c){c?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,s)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(e,a,r){"use strict";var n=e("./common"),s=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{i=!1}for(var c=new n.Buf8(256),p=0;p<256;p++)c[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function m(y,b){if(b<65537&&(y.subarray&&i||!y.subarray&&s))return String.fromCharCode.apply(null,n.shrinkBuf(y,b));for(var l="",g=0;g<b;g++)l+=String.fromCharCode(y[g]);return l}c[254]=c[254]=1,r.string2buf=function(y){var b,l,g,u,h,f=y.length,w=0;for(u=0;u<f;u++)(64512&(l=y.charCodeAt(u)))==55296&&u+1<f&&(64512&(g=y.charCodeAt(u+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),u++),w+=l<128?1:l<2048?2:l<65536?3:4;for(b=new n.Buf8(w),u=h=0;h<w;u++)(64512&(l=y.charCodeAt(u)))==55296&&u+1<f&&(64512&(g=y.charCodeAt(u+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),u++),l<128?b[h++]=l:(l<2048?b[h++]=192|l>>>6:(l<65536?b[h++]=224|l>>>12:(b[h++]=240|l>>>18,b[h++]=128|l>>>12&63),b[h++]=128|l>>>6&63),b[h++]=128|63&l);return b},r.buf2binstring=function(y){return m(y,y.length)},r.binstring2buf=function(y){for(var b=new n.Buf8(y.length),l=0,g=b.length;l<g;l++)b[l]=y.charCodeAt(l);return b},r.buf2string=function(y,b){var l,g,u,h,f=b||y.length,w=new Array(2*f);for(l=g=0;l<f;)if((u=y[l++])<128)w[g++]=u;else if(4<(h=c[u]))w[g++]=65533,l+=h-1;else{for(u&=h===2?31:h===3?15:7;1<h&&l<f;)u=u<<6|63&y[l++],h--;1<h?w[g++]=65533:u<65536?w[g++]=u:(u-=65536,w[g++]=55296|u>>10&1023,w[g++]=56320|1023&u)}return m(w,g)},r.utf8border=function(y,b){var l;for((b=b||y.length)>y.length&&(b=y.length),l=b-1;0<=l&&(192&y[l])==128;)l--;return l<0||l===0?b:l+c[y[l]]>b?l:b}},{"./common":41}],43:[function(e,a,r){"use strict";a.exports=function(n,s,i,c){for(var p=65535&n|0,m=n>>>16&65535|0,y=0;i!==0;){for(i-=y=2e3<i?2e3:i;m=m+(p=p+s[c++]|0)|0,--y;);p%=65521,m%=65521}return p|m<<16|0}},{}],44:[function(e,a,r){"use strict";a.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,a,r){"use strict";var n=function(){for(var s,i=[],c=0;c<256;c++){s=c;for(var p=0;p<8;p++)s=1&s?3988292384^s>>>1:s>>>1;i[c]=s}return i}();a.exports=function(s,i,c,p){var m=n,y=p+c;s^=-1;for(var b=p;b<y;b++)s=s>>>8^m[255&(s^i[b])];return-1^s}},{}],46:[function(e,a,r){"use strict";var n,s=e("../utils/common"),i=e("./trees"),c=e("./adler32"),p=e("./crc32"),m=e("./messages"),y=0,b=4,l=0,g=-2,u=-1,h=4,f=2,w=8,_=9,S=286,I=30,R=19,T=2*S+1,N=15,F=3,G=258,q=G+F+1,v=42,C=113,o=1,L=2,X=3,B=4;function Q(t,z){return t.msg=m[z],z}function W(t){return(t<<1)-(4<t?9:0)}function J(t){for(var z=t.length;0<=--z;)t[z]=0}function A(t){var z=t.state,P=z.pending;P>t.avail_out&&(P=t.avail_out),P!==0&&(s.arraySet(t.output,z.pending_buf,z.pending_out,P,t.next_out),t.next_out+=P,z.pending_out+=P,t.total_out+=P,t.avail_out-=P,z.pending-=P,z.pending===0&&(z.pending_out=0))}function O(t,z){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,z),t.block_start=t.strstart,A(t.strm)}function K(t,z){t.pending_buf[t.pending++]=z}function $(t,z){t.pending_buf[t.pending++]=z>>>8&255,t.pending_buf[t.pending++]=255&z}function j(t,z){var P,x,d=t.max_chain_length,k=t.strstart,D=t.prev_length,U=t.nice_match,E=t.strstart>t.w_size-q?t.strstart-(t.w_size-q):0,V=t.window,Z=t.w_mask,M=t.prev,H=t.strstart+G,re=V[k+D-1],ee=V[k+D];t.prev_length>=t.good_match&&(d>>=2),U>t.lookahead&&(U=t.lookahead);do if(V[(P=z)+D]===ee&&V[P+D-1]===re&&V[P]===V[k]&&V[++P]===V[k+1]){k+=2,P++;do;while(V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&V[++k]===V[++P]&&k<H);if(x=G-(H-k),k=H-G,D<x){if(t.match_start=z,U<=(D=x))break;re=V[k+D-1],ee=V[k+D]}}while((z=M[z&Z])>E&&--d!=0);return D<=t.lookahead?D:t.lookahead}function ie(t){var z,P,x,d,k,D,U,E,V,Z,M=t.w_size;do{if(d=t.window_size-t.lookahead-t.strstart,t.strstart>=M+(M-q)){for(s.arraySet(t.window,t.window,M,M,0),t.match_start-=M,t.strstart-=M,t.block_start-=M,z=P=t.hash_size;x=t.head[--z],t.head[z]=M<=x?x-M:0,--P;);for(z=P=M;x=t.prev[--z],t.prev[z]=M<=x?x-M:0,--P;);d+=M}if(t.strm.avail_in===0)break;if(D=t.strm,U=t.window,E=t.strstart+t.lookahead,V=d,Z=void 0,Z=D.avail_in,V<Z&&(Z=V),P=Z===0?0:(D.avail_in-=Z,s.arraySet(U,D.input,D.next_in,Z,E),D.state.wrap===1?D.adler=c(D.adler,U,Z,E):D.state.wrap===2&&(D.adler=p(D.adler,U,Z,E)),D.next_in+=Z,D.total_in+=Z,Z),t.lookahead+=P,t.lookahead+t.insert>=F)for(k=t.strstart-t.insert,t.ins_h=t.window[k],t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+F-1])&t.hash_mask,t.prev[k&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=k,k++,t.insert--,!(t.lookahead+t.insert<F)););}while(t.lookahead<q&&t.strm.avail_in!==0)}function ce(t,z){for(var P,x;;){if(t.lookahead<q){if(ie(t),t.lookahead<q&&z===y)return o;if(t.lookahead===0)break}if(P=0,t.lookahead>=F&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),P!==0&&t.strstart-P<=t.w_size-q&&(t.match_length=j(t,P)),t.match_length>=F)if(x=i._tr_tally(t,t.strstart-t.match_start,t.match_length-F),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=F){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else x=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(x&&(O(t,!1),t.strm.avail_out===0))return o}return t.insert=t.strstart<F-1?t.strstart:F-1,z===b?(O(t,!0),t.strm.avail_out===0?X:B):t.last_lit&&(O(t,!1),t.strm.avail_out===0)?o:L}function Y(t,z){for(var P,x,d;;){if(t.lookahead<q){if(ie(t),t.lookahead<q&&z===y)return o;if(t.lookahead===0)break}if(P=0,t.lookahead>=F&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=F-1,P!==0&&t.prev_length<t.max_lazy_match&&t.strstart-P<=t.w_size-q&&(t.match_length=j(t,P),t.match_length<=5&&(t.strategy===1||t.match_length===F&&4096<t.strstart-t.match_start)&&(t.match_length=F-1)),t.prev_length>=F&&t.match_length<=t.prev_length){for(d=t.strstart+t.lookahead-F,x=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-F),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=d&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+F-1])&t.hash_mask,P=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=F-1,t.strstart++,x&&(O(t,!1),t.strm.avail_out===0))return o}else if(t.match_available){if((x=i._tr_tally(t,0,t.window[t.strstart-1]))&&O(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return o}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(x=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<F-1?t.strstart:F-1,z===b?(O(t,!0),t.strm.avail_out===0?X:B):t.last_lit&&(O(t,!1),t.strm.avail_out===0)?o:L}function te(t,z,P,x,d){this.good_length=t,this.max_lazy=z,this.nice_length=P,this.max_chain=x,this.func=d}function ae(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=w,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*T),this.dyn_dtree=new s.Buf16(2*(2*I+1)),this.bl_tree=new s.Buf16(2*(2*R+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(N+1),this.heap=new s.Buf16(2*S+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*S+1),J(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function se(t){var z;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=f,(z=t.state).pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap?v:C,t.adler=z.wrap===2?0:1,z.last_flush=y,i._tr_init(z),l):Q(t,g)}function he(t){var z=se(t);return z===l&&function(P){P.window_size=2*P.w_size,J(P.head),P.max_lazy_match=n[P.level].max_lazy,P.good_match=n[P.level].good_length,P.nice_match=n[P.level].nice_length,P.max_chain_length=n[P.level].max_chain,P.strstart=0,P.block_start=0,P.lookahead=0,P.insert=0,P.match_length=P.prev_length=F-1,P.match_available=0,P.ins_h=0}(t.state),z}function fe(t,z,P,x,d,k){if(!t)return g;var D=1;if(z===u&&(z=6),x<0?(D=0,x=-x):15<x&&(D=2,x-=16),d<1||_<d||P!==w||x<8||15<x||z<0||9<z||k<0||h<k)return Q(t,g);x===8&&(x=9);var U=new ae;return(t.state=U).strm=t,U.wrap=D,U.gzhead=null,U.w_bits=x,U.w_size=1<<U.w_bits,U.w_mask=U.w_size-1,U.hash_bits=d+7,U.hash_size=1<<U.hash_bits,U.hash_mask=U.hash_size-1,U.hash_shift=~~((U.hash_bits+F-1)/F),U.window=new s.Buf8(2*U.w_size),U.head=new s.Buf16(U.hash_size),U.prev=new s.Buf16(U.w_size),U.lit_bufsize=1<<d+6,U.pending_buf_size=4*U.lit_bufsize,U.pending_buf=new s.Buf8(U.pending_buf_size),U.d_buf=1*U.lit_bufsize,U.l_buf=3*U.lit_bufsize,U.level=z,U.strategy=k,U.method=P,he(t)}n=[new te(0,0,0,0,function(t,z){var P=65535;for(P>t.pending_buf_size-5&&(P=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ie(t),t.lookahead===0&&z===y)return o;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var x=t.block_start+P;if((t.strstart===0||t.strstart>=x)&&(t.lookahead=t.strstart-x,t.strstart=x,O(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-q&&(O(t,!1),t.strm.avail_out===0))return o}return t.insert=0,z===b?(O(t,!0),t.strm.avail_out===0?X:B):(t.strstart>t.block_start&&(O(t,!1),t.strm.avail_out),o)}),new te(4,4,8,4,ce),new te(4,5,16,8,ce),new te(4,6,32,32,ce),new te(4,4,16,16,Y),new te(8,16,32,32,Y),new te(8,16,128,128,Y),new te(8,32,128,256,Y),new te(32,128,258,1024,Y),new te(32,258,258,4096,Y)],r.deflateInit=function(t,z){return fe(t,z,w,15,8,0)},r.deflateInit2=fe,r.deflateReset=he,r.deflateResetKeep=se,r.deflateSetHeader=function(t,z){return t&&t.state?t.state.wrap!==2?g:(t.state.gzhead=z,l):g},r.deflate=function(t,z){var P,x,d,k;if(!t||!t.state||5<z||z<0)return t?Q(t,g):g;if(x=t.state,!t.output||!t.input&&t.avail_in!==0||x.status===666&&z!==b)return Q(t,t.avail_out===0?-5:g);if(x.strm=t,P=x.last_flush,x.last_flush=z,x.status===v)if(x.wrap===2)t.adler=0,K(x,31),K(x,139),K(x,8),x.gzhead?(K(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),K(x,255&x.gzhead.time),K(x,x.gzhead.time>>8&255),K(x,x.gzhead.time>>16&255),K(x,x.gzhead.time>>24&255),K(x,x.level===9?2:2<=x.strategy||x.level<2?4:0),K(x,255&x.gzhead.os),x.gzhead.extra&&x.gzhead.extra.length&&(K(x,255&x.gzhead.extra.length),K(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(t.adler=p(t.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=69):(K(x,0),K(x,0),K(x,0),K(x,0),K(x,0),K(x,x.level===9?2:2<=x.strategy||x.level<2?4:0),K(x,3),x.status=C);else{var D=w+(x.w_bits-8<<4)<<8;D|=(2<=x.strategy||x.level<2?0:x.level<6?1:x.level===6?2:3)<<6,x.strstart!==0&&(D|=32),D+=31-D%31,x.status=C,$(x,D),x.strstart!==0&&($(x,t.adler>>>16),$(x,65535&t.adler)),t.adler=1}if(x.status===69)if(x.gzhead.extra){for(d=x.pending;x.gzindex<(65535&x.gzhead.extra.length)&&(x.pending!==x.pending_buf_size||(x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),A(t),d=x.pending,x.pending!==x.pending_buf_size));)K(x,255&x.gzhead.extra[x.gzindex]),x.gzindex++;x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),x.gzindex===x.gzhead.extra.length&&(x.gzindex=0,x.status=73)}else x.status=73;if(x.status===73)if(x.gzhead.name){d=x.pending;do{if(x.pending===x.pending_buf_size&&(x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),A(t),d=x.pending,x.pending===x.pending_buf_size)){k=1;break}k=x.gzindex<x.gzhead.name.length?255&x.gzhead.name.charCodeAt(x.gzindex++):0,K(x,k)}while(k!==0);x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),k===0&&(x.gzindex=0,x.status=91)}else x.status=91;if(x.status===91)if(x.gzhead.comment){d=x.pending;do{if(x.pending===x.pending_buf_size&&(x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),A(t),d=x.pending,x.pending===x.pending_buf_size)){k=1;break}k=x.gzindex<x.gzhead.comment.length?255&x.gzhead.comment.charCodeAt(x.gzindex++):0,K(x,k)}while(k!==0);x.gzhead.hcrc&&x.pending>d&&(t.adler=p(t.adler,x.pending_buf,x.pending-d,d)),k===0&&(x.status=103)}else x.status=103;if(x.status===103&&(x.gzhead.hcrc?(x.pending+2>x.pending_buf_size&&A(t),x.pending+2<=x.pending_buf_size&&(K(x,255&t.adler),K(x,t.adler>>8&255),t.adler=0,x.status=C)):x.status=C),x.pending!==0){if(A(t),t.avail_out===0)return x.last_flush=-1,l}else if(t.avail_in===0&&W(z)<=W(P)&&z!==b)return Q(t,-5);if(x.status===666&&t.avail_in!==0)return Q(t,-5);if(t.avail_in!==0||x.lookahead!==0||z!==y&&x.status!==666){var U=x.strategy===2?function(E,V){for(var Z;;){if(E.lookahead===0&&(ie(E),E.lookahead===0)){if(V===y)return o;break}if(E.match_length=0,Z=i._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,Z&&(O(E,!1),E.strm.avail_out===0))return o}return E.insert=0,V===b?(O(E,!0),E.strm.avail_out===0?X:B):E.last_lit&&(O(E,!1),E.strm.avail_out===0)?o:L}(x,z):x.strategy===3?function(E,V){for(var Z,M,H,re,ee=E.window;;){if(E.lookahead<=G){if(ie(E),E.lookahead<=G&&V===y)return o;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=F&&0<E.strstart&&(M=ee[H=E.strstart-1])===ee[++H]&&M===ee[++H]&&M===ee[++H]){re=E.strstart+G;do;while(M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&M===ee[++H]&&H<re);E.match_length=G-(re-H),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=F?(Z=i._tr_tally(E,1,E.match_length-F),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(Z=i._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),Z&&(O(E,!1),E.strm.avail_out===0))return o}return E.insert=0,V===b?(O(E,!0),E.strm.avail_out===0?X:B):E.last_lit&&(O(E,!1),E.strm.avail_out===0)?o:L}(x,z):n[x.level].func(x,z);if(U!==X&&U!==B||(x.status=666),U===o||U===X)return t.avail_out===0&&(x.last_flush=-1),l;if(U===L&&(z===1?i._tr_align(x):z!==5&&(i._tr_stored_block(x,0,0,!1),z===3&&(J(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),A(t),t.avail_out===0))return x.last_flush=-1,l}return z!==b?l:x.wrap<=0?1:(x.wrap===2?(K(x,255&t.adler),K(x,t.adler>>8&255),K(x,t.adler>>16&255),K(x,t.adler>>24&255),K(x,255&t.total_in),K(x,t.total_in>>8&255),K(x,t.total_in>>16&255),K(x,t.total_in>>24&255)):($(x,t.adler>>>16),$(x,65535&t.adler)),A(t),0<x.wrap&&(x.wrap=-x.wrap),x.pending!==0?l:1)},r.deflateEnd=function(t){var z;return t&&t.state?(z=t.state.status)!==v&&z!==69&&z!==73&&z!==91&&z!==103&&z!==C&&z!==666?Q(t,g):(t.state=null,z===C?Q(t,-3):l):g},r.deflateSetDictionary=function(t,z){var P,x,d,k,D,U,E,V,Z=z.length;if(!t||!t.state||(k=(P=t.state).wrap)===2||k===1&&P.status!==v||P.lookahead)return g;for(k===1&&(t.adler=c(t.adler,z,Z,0)),P.wrap=0,Z>=P.w_size&&(k===0&&(J(P.head),P.strstart=0,P.block_start=0,P.insert=0),V=new s.Buf8(P.w_size),s.arraySet(V,z,Z-P.w_size,P.w_size,0),z=V,Z=P.w_size),D=t.avail_in,U=t.next_in,E=t.input,t.avail_in=Z,t.next_in=0,t.input=z,ie(P);P.lookahead>=F;){for(x=P.strstart,d=P.lookahead-(F-1);P.ins_h=(P.ins_h<<P.hash_shift^P.window[x+F-1])&P.hash_mask,P.prev[x&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=x,x++,--d;);P.strstart=x,P.lookahead=F-1,ie(P)}return P.strstart+=P.lookahead,P.block_start=P.strstart,P.insert=P.lookahead,P.lookahead=0,P.match_length=P.prev_length=F-1,P.match_available=0,t.next_in=U,t.input=E,t.avail_in=D,P.wrap=k,l},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,a,r){"use strict";a.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,a,r){"use strict";a.exports=function(n,s){var i,c,p,m,y,b,l,g,u,h,f,w,_,S,I,R,T,N,F,G,q,v,C,o,L;i=n.state,c=n.next_in,o=n.input,p=c+(n.avail_in-5),m=n.next_out,L=n.output,y=m-(s-n.avail_out),b=m+(n.avail_out-257),l=i.dmax,g=i.wsize,u=i.whave,h=i.wnext,f=i.window,w=i.hold,_=i.bits,S=i.lencode,I=i.distcode,R=(1<<i.lenbits)-1,T=(1<<i.distbits)-1;e:do{_<15&&(w+=o[c++]<<_,_+=8,w+=o[c++]<<_,_+=8),N=S[w&R];t:for(;;){if(w>>>=F=N>>>24,_-=F,(F=N>>>16&255)===0)L[m++]=65535&N;else{if(!(16&F)){if(!(64&F)){N=S[(65535&N)+(w&(1<<F)-1)];continue t}if(32&F){i.mode=12;break e}n.msg="invalid literal/length code",i.mode=30;break e}G=65535&N,(F&=15)&&(_<F&&(w+=o[c++]<<_,_+=8),G+=w&(1<<F)-1,w>>>=F,_-=F),_<15&&(w+=o[c++]<<_,_+=8,w+=o[c++]<<_,_+=8),N=I[w&T];r:for(;;){if(w>>>=F=N>>>24,_-=F,!(16&(F=N>>>16&255))){if(!(64&F)){N=I[(65535&N)+(w&(1<<F)-1)];continue r}n.msg="invalid distance code",i.mode=30;break e}if(q=65535&N,_<(F&=15)&&(w+=o[c++]<<_,(_+=8)<F&&(w+=o[c++]<<_,_+=8)),l<(q+=w&(1<<F)-1)){n.msg="invalid distance too far back",i.mode=30;break e}if(w>>>=F,_-=F,(F=m-y)<q){if(u<(F=q-F)&&i.sane){n.msg="invalid distance too far back",i.mode=30;break e}if(C=f,(v=0)===h){if(v+=g-F,F<G){for(G-=F;L[m++]=f[v++],--F;);v=m-q,C=L}}else if(h<F){if(v+=g+h-F,(F-=h)<G){for(G-=F;L[m++]=f[v++],--F;);if(v=0,h<G){for(G-=F=h;L[m++]=f[v++],--F;);v=m-q,C=L}}}else if(v+=h-F,F<G){for(G-=F;L[m++]=f[v++],--F;);v=m-q,C=L}for(;2<G;)L[m++]=C[v++],L[m++]=C[v++],L[m++]=C[v++],G-=3;G&&(L[m++]=C[v++],1<G&&(L[m++]=C[v++]))}else{for(v=m-q;L[m++]=L[v++],L[m++]=L[v++],L[m++]=L[v++],2<(G-=3););G&&(L[m++]=L[v++],1<G&&(L[m++]=L[v++]))}break}}break}}while(c<p&&m<b);c-=G=_>>3,w&=(1<<(_-=G<<3))-1,n.next_in=c,n.next_out=m,n.avail_in=c<p?p-c+5:5-(c-p),n.avail_out=m<b?b-m+257:257-(m-b),i.hold=w,i.bits=_}},{}],49:[function(e,a,r){"use strict";var n=e("../utils/common"),s=e("./adler32"),i=e("./crc32"),c=e("./inffast"),p=e("./inftrees"),m=1,y=2,b=0,l=-2,g=1,u=852,h=592;function f(v){return(v>>>24&255)+(v>>>8&65280)+((65280&v)<<8)+((255&v)<<24)}function w(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(v){var C;return v&&v.state?(C=v.state,v.total_in=v.total_out=C.total=0,v.msg="",C.wrap&&(v.adler=1&C.wrap),C.mode=g,C.last=0,C.havedict=0,C.dmax=32768,C.head=null,C.hold=0,C.bits=0,C.lencode=C.lendyn=new n.Buf32(u),C.distcode=C.distdyn=new n.Buf32(h),C.sane=1,C.back=-1,b):l}function S(v){var C;return v&&v.state?((C=v.state).wsize=0,C.whave=0,C.wnext=0,_(v)):l}function I(v,C){var o,L;return v&&v.state?(L=v.state,C<0?(o=0,C=-C):(o=1+(C>>4),C<48&&(C&=15)),C&&(C<8||15<C)?l:(L.window!==null&&L.wbits!==C&&(L.window=null),L.wrap=o,L.wbits=C,S(v))):l}function R(v,C){var o,L;return v?(L=new w,(v.state=L).window=null,(o=I(v,C))!==b&&(v.state=null),o):l}var T,N,F=!0;function G(v){if(F){var C;for(T=new n.Buf32(512),N=new n.Buf32(32),C=0;C<144;)v.lens[C++]=8;for(;C<256;)v.lens[C++]=9;for(;C<280;)v.lens[C++]=7;for(;C<288;)v.lens[C++]=8;for(p(m,v.lens,0,288,T,0,v.work,{bits:9}),C=0;C<32;)v.lens[C++]=5;p(y,v.lens,0,32,N,0,v.work,{bits:5}),F=!1}v.lencode=T,v.lenbits=9,v.distcode=N,v.distbits=5}function q(v,C,o,L){var X,B=v.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new n.Buf8(B.wsize)),L>=B.wsize?(n.arraySet(B.window,C,o-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(L<(X=B.wsize-B.wnext)&&(X=L),n.arraySet(B.window,C,o-L,X,B.wnext),(L-=X)?(n.arraySet(B.window,C,o-L,L,0),B.wnext=L,B.whave=B.wsize):(B.wnext+=X,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=X))),0}r.inflateReset=S,r.inflateReset2=I,r.inflateResetKeep=_,r.inflateInit=function(v){return R(v,15)},r.inflateInit2=R,r.inflate=function(v,C){var o,L,X,B,Q,W,J,A,O,K,$,j,ie,ce,Y,te,ae,se,he,fe,t,z,P,x,d=0,k=new n.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!v||!v.state||!v.output||!v.input&&v.avail_in!==0)return l;(o=v.state).mode===12&&(o.mode=13),Q=v.next_out,X=v.output,J=v.avail_out,B=v.next_in,L=v.input,W=v.avail_in,A=o.hold,O=o.bits,K=W,$=J,z=b;e:for(;;)switch(o.mode){case g:if(o.wrap===0){o.mode=13;break}for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(2&o.wrap&&A===35615){k[o.check=0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0),O=A=0,o.mode=2;break}if(o.flags=0,o.head&&(o.head.done=!1),!(1&o.wrap)||(((255&A)<<8)+(A>>8))%31){v.msg="incorrect header check",o.mode=30;break}if((15&A)!=8){v.msg="unknown compression method",o.mode=30;break}if(O-=4,t=8+(15&(A>>>=4)),o.wbits===0)o.wbits=t;else if(t>o.wbits){v.msg="invalid window size",o.mode=30;break}o.dmax=1<<t,v.adler=o.check=1,o.mode=512&A?10:12,O=A=0;break;case 2:for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(o.flags=A,(255&o.flags)!=8){v.msg="unknown compression method",o.mode=30;break}if(57344&o.flags){v.msg="unknown header flags set",o.mode=30;break}o.head&&(o.head.text=A>>8&1),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0)),O=A=0,o.mode=3;case 3:for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.head&&(o.head.time=A),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,k[2]=A>>>16&255,k[3]=A>>>24&255,o.check=i(o.check,k,4,0)),O=A=0,o.mode=4;case 4:for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.head&&(o.head.xflags=255&A,o.head.os=A>>8),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0)),O=A=0,o.mode=5;case 5:if(1024&o.flags){for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.length=A,o.head&&(o.head.extra_len=A),512&o.flags&&(k[0]=255&A,k[1]=A>>>8&255,o.check=i(o.check,k,2,0)),O=A=0}else o.head&&(o.head.extra=null);o.mode=6;case 6:if(1024&o.flags&&(W<(j=o.length)&&(j=W),j&&(o.head&&(t=o.head.extra_len-o.length,o.head.extra||(o.head.extra=new Array(o.head.extra_len)),n.arraySet(o.head.extra,L,B,j,t)),512&o.flags&&(o.check=i(o.check,L,j,B)),W-=j,B+=j,o.length-=j),o.length))break e;o.length=0,o.mode=7;case 7:if(2048&o.flags){if(W===0)break e;for(j=0;t=L[B+j++],o.head&&t&&o.length<65536&&(o.head.name+=String.fromCharCode(t)),t&&j<W;);if(512&o.flags&&(o.check=i(o.check,L,j,B)),W-=j,B+=j,t)break e}else o.head&&(o.head.name=null);o.length=0,o.mode=8;case 8:if(4096&o.flags){if(W===0)break e;for(j=0;t=L[B+j++],o.head&&t&&o.length<65536&&(o.head.comment+=String.fromCharCode(t)),t&&j<W;);if(512&o.flags&&(o.check=i(o.check,L,j,B)),W-=j,B+=j,t)break e}else o.head&&(o.head.comment=null);o.mode=9;case 9:if(512&o.flags){for(;O<16;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A!==(65535&o.check)){v.msg="header crc mismatch",o.mode=30;break}O=A=0}o.head&&(o.head.hcrc=o.flags>>9&1,o.head.done=!0),v.adler=o.check=0,o.mode=12;break;case 10:for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}v.adler=o.check=f(A),O=A=0,o.mode=11;case 11:if(o.havedict===0)return v.next_out=Q,v.avail_out=J,v.next_in=B,v.avail_in=W,o.hold=A,o.bits=O,2;v.adler=o.check=1,o.mode=12;case 12:if(C===5||C===6)break e;case 13:if(o.last){A>>>=7&O,O-=7&O,o.mode=27;break}for(;O<3;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}switch(o.last=1&A,O-=1,3&(A>>>=1)){case 0:o.mode=14;break;case 1:if(G(o),o.mode=20,C!==6)break;A>>>=2,O-=2;break e;case 2:o.mode=17;break;case 3:v.msg="invalid block type",o.mode=30}A>>>=2,O-=2;break;case 14:for(A>>>=7&O,O-=7&O;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if((65535&A)!=(A>>>16^65535)){v.msg="invalid stored block lengths",o.mode=30;break}if(o.length=65535&A,O=A=0,o.mode=15,C===6)break e;case 15:o.mode=16;case 16:if(j=o.length){if(W<j&&(j=W),J<j&&(j=J),j===0)break e;n.arraySet(X,L,B,j,Q),W-=j,B+=j,J-=j,Q+=j,o.length-=j;break}o.mode=12;break;case 17:for(;O<14;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(o.nlen=257+(31&A),A>>>=5,O-=5,o.ndist=1+(31&A),A>>>=5,O-=5,o.ncode=4+(15&A),A>>>=4,O-=4,286<o.nlen||30<o.ndist){v.msg="too many length or distance symbols",o.mode=30;break}o.have=0,o.mode=18;case 18:for(;o.have<o.ncode;){for(;O<3;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.lens[D[o.have++]]=7&A,A>>>=3,O-=3}for(;o.have<19;)o.lens[D[o.have++]]=0;if(o.lencode=o.lendyn,o.lenbits=7,P={bits:o.lenbits},z=p(0,o.lens,0,19,o.lencode,0,o.work,P),o.lenbits=P.bits,z){v.msg="invalid code lengths set",o.mode=30;break}o.have=0,o.mode=19;case 19:for(;o.have<o.nlen+o.ndist;){for(;te=(d=o.lencode[A&(1<<o.lenbits)-1])>>>16&255,ae=65535&d,!((Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(ae<16)A>>>=Y,O-=Y,o.lens[o.have++]=ae;else{if(ae===16){for(x=Y+2;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A>>>=Y,O-=Y,o.have===0){v.msg="invalid bit length repeat",o.mode=30;break}t=o.lens[o.have-1],j=3+(3&A),A>>>=2,O-=2}else if(ae===17){for(x=Y+3;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}O-=Y,t=0,j=3+(7&(A>>>=Y)),A>>>=3,O-=3}else{for(x=Y+7;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}O-=Y,t=0,j=11+(127&(A>>>=Y)),A>>>=7,O-=7}if(o.have+j>o.nlen+o.ndist){v.msg="invalid bit length repeat",o.mode=30;break}for(;j--;)o.lens[o.have++]=t}}if(o.mode===30)break;if(o.lens[256]===0){v.msg="invalid code -- missing end-of-block",o.mode=30;break}if(o.lenbits=9,P={bits:o.lenbits},z=p(m,o.lens,0,o.nlen,o.lencode,0,o.work,P),o.lenbits=P.bits,z){v.msg="invalid literal/lengths set",o.mode=30;break}if(o.distbits=6,o.distcode=o.distdyn,P={bits:o.distbits},z=p(y,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,P),o.distbits=P.bits,z){v.msg="invalid distances set",o.mode=30;break}if(o.mode=20,C===6)break e;case 20:o.mode=21;case 21:if(6<=W&&258<=J){v.next_out=Q,v.avail_out=J,v.next_in=B,v.avail_in=W,o.hold=A,o.bits=O,c(v,$),Q=v.next_out,X=v.output,J=v.avail_out,B=v.next_in,L=v.input,W=v.avail_in,A=o.hold,O=o.bits,o.mode===12&&(o.back=-1);break}for(o.back=0;te=(d=o.lencode[A&(1<<o.lenbits)-1])>>>16&255,ae=65535&d,!((Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(te&&!(240&te)){for(se=Y,he=te,fe=ae;te=(d=o.lencode[fe+((A&(1<<se+he)-1)>>se)])>>>16&255,ae=65535&d,!(se+(Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}A>>>=se,O-=se,o.back+=se}if(A>>>=Y,O-=Y,o.back+=Y,o.length=ae,te===0){o.mode=26;break}if(32&te){o.back=-1,o.mode=12;break}if(64&te){v.msg="invalid literal/length code",o.mode=30;break}o.extra=15&te,o.mode=22;case 22:if(o.extra){for(x=o.extra;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.length+=A&(1<<o.extra)-1,A>>>=o.extra,O-=o.extra,o.back+=o.extra}o.was=o.length,o.mode=23;case 23:for(;te=(d=o.distcode[A&(1<<o.distbits)-1])>>>16&255,ae=65535&d,!((Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(!(240&te)){for(se=Y,he=te,fe=ae;te=(d=o.distcode[fe+((A&(1<<se+he)-1)>>se)])>>>16&255,ae=65535&d,!(se+(Y=d>>>24)<=O);){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}A>>>=se,O-=se,o.back+=se}if(A>>>=Y,O-=Y,o.back+=Y,64&te){v.msg="invalid distance code",o.mode=30;break}o.offset=ae,o.extra=15&te,o.mode=24;case 24:if(o.extra){for(x=o.extra;O<x;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}o.offset+=A&(1<<o.extra)-1,A>>>=o.extra,O-=o.extra,o.back+=o.extra}if(o.offset>o.dmax){v.msg="invalid distance too far back",o.mode=30;break}o.mode=25;case 25:if(J===0)break e;if(j=$-J,o.offset>j){if((j=o.offset-j)>o.whave&&o.sane){v.msg="invalid distance too far back",o.mode=30;break}ie=j>o.wnext?(j-=o.wnext,o.wsize-j):o.wnext-j,j>o.length&&(j=o.length),ce=o.window}else ce=X,ie=Q-o.offset,j=o.length;for(J<j&&(j=J),J-=j,o.length-=j;X[Q++]=ce[ie++],--j;);o.length===0&&(o.mode=21);break;case 26:if(J===0)break e;X[Q++]=o.length,J--,o.mode=21;break;case 27:if(o.wrap){for(;O<32;){if(W===0)break e;W--,A|=L[B++]<<O,O+=8}if($-=J,v.total_out+=$,o.total+=$,$&&(v.adler=o.check=o.flags?i(o.check,X,$,Q-$):s(o.check,X,$,Q-$)),$=J,(o.flags?A:f(A))!==o.check){v.msg="incorrect data check",o.mode=30;break}O=A=0}o.mode=28;case 28:if(o.wrap&&o.flags){for(;O<32;){if(W===0)break e;W--,A+=L[B++]<<O,O+=8}if(A!==(4294967295&o.total)){v.msg="incorrect length check",o.mode=30;break}O=A=0}o.mode=29;case 29:z=1;break e;case 30:z=-3;break e;case 31:return-4;case 32:default:return l}return v.next_out=Q,v.avail_out=J,v.next_in=B,v.avail_in=W,o.hold=A,o.bits=O,(o.wsize||$!==v.avail_out&&o.mode<30&&(o.mode<27||C!==4))&&q(v,v.output,v.next_out,$-v.avail_out)?(o.mode=31,-4):(K-=v.avail_in,$-=v.avail_out,v.total_in+=K,v.total_out+=$,o.total+=$,o.wrap&&$&&(v.adler=o.check=o.flags?i(o.check,X,$,v.next_out-$):s(o.check,X,$,v.next_out-$)),v.data_type=o.bits+(o.last?64:0)+(o.mode===12?128:0)+(o.mode===20||o.mode===15?256:0),(K==0&&$===0||C===4)&&z===b&&(z=-5),z)},r.inflateEnd=function(v){if(!v||!v.state)return l;var C=v.state;return C.window&&(C.window=null),v.state=null,b},r.inflateGetHeader=function(v,C){var o;return v&&v.state&&2&(o=v.state).wrap?((o.head=C).done=!1,b):l},r.inflateSetDictionary=function(v,C){var o,L=C.length;return v&&v.state?(o=v.state).wrap!==0&&o.mode!==11?l:o.mode===11&&s(1,C,L,0)!==o.check?-3:q(v,C,L,L)?(o.mode=31,-4):(o.havedict=1,b):l},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,a,r){"use strict";var n=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],c=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],p=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];a.exports=function(m,y,b,l,g,u,h,f){var w,_,S,I,R,T,N,F,G,q=f.bits,v=0,C=0,o=0,L=0,X=0,B=0,Q=0,W=0,J=0,A=0,O=null,K=0,$=new n.Buf16(16),j=new n.Buf16(16),ie=null,ce=0;for(v=0;v<=15;v++)$[v]=0;for(C=0;C<l;C++)$[y[b+C]]++;for(X=q,L=15;1<=L&&$[L]===0;L--);if(L<X&&(X=L),L===0)return g[u++]=20971520,g[u++]=20971520,f.bits=1,0;for(o=1;o<L&&$[o]===0;o++);for(X<o&&(X=o),v=W=1;v<=15;v++)if(W<<=1,(W-=$[v])<0)return-1;if(0<W&&(m===0||L!==1))return-1;for(j[1]=0,v=1;v<15;v++)j[v+1]=j[v]+$[v];for(C=0;C<l;C++)y[b+C]!==0&&(h[j[y[b+C]]++]=C);if(T=m===0?(O=ie=h,19):m===1?(O=s,K-=257,ie=i,ce-=257,256):(O=c,ie=p,-1),v=o,R=u,Q=C=A=0,S=-1,I=(J=1<<(B=X))-1,m===1&&852<J||m===2&&592<J)return 1;for(;;){for(N=v-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<<v-Q,o=_=1<<B;g[R+(A>>Q)+(_-=w)]=N<<24|F<<16|G|0,_!==0;);for(w=1<<v-1;A&w;)w>>=1;if(w!==0?(A&=w-1,A+=w):A=0,C++,--$[v]==0){if(v===L)break;v=y[b+h[C]]}if(X<v&&(A&I)!==S){for(Q===0&&(Q=X),R+=o,W=1<<(B=v-Q);B+Q<L&&!((W-=$[B+Q])<=0);)B++,W<<=1;if(J+=1<<B,m===1&&852<J||m===2&&592<J)return 1;g[S=A&I]=X<<24|B<<16|R-u|0}}return A!==0&&(g[R+A]=v-Q<<24|64<<16|0),f.bits=X,0}},{"../utils/common":41}],51:[function(e,a,r){"use strict";a.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,a,r){"use strict";var n=e("../utils/common"),s=0,i=1;function c(d){for(var k=d.length;0<=--k;)d[k]=0}var p=0,m=29,y=256,b=y+1+m,l=30,g=19,u=2*b+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*(b+2));c(q);var v=new Array(2*l);c(v);var C=new Array(512);c(C);var o=new Array(256);c(o);var L=new Array(m);c(L);var X,B,Q,W=new Array(l);function J(d,k,D,U,E){this.static_tree=d,this.extra_bits=k,this.extra_base=D,this.elems=U,this.max_length=E,this.has_stree=d&&d.length}function A(d,k){this.dyn_tree=d,this.max_code=0,this.stat_desc=k}function O(d){return d<256?C[d]:C[256+(d>>>7)]}function K(d,k){d.pending_buf[d.pending++]=255&k,d.pending_buf[d.pending++]=k>>>8&255}function $(d,k,D){d.bi_valid>f-D?(d.bi_buf|=k<<d.bi_valid&65535,K(d,d.bi_buf),d.bi_buf=k>>f-d.bi_valid,d.bi_valid+=D-f):(d.bi_buf|=k<<d.bi_valid&65535,d.bi_valid+=D)}function j(d,k,D){$(d,D[2*k],D[2*k+1])}function ie(d,k){for(var D=0;D|=1&d,d>>>=1,D<<=1,0<--k;);return D>>>1}function ce(d,k,D){var U,E,V=new Array(h+1),Z=0;for(U=1;U<=h;U++)V[U]=Z=Z+D[U-1]<<1;for(E=0;E<=k;E++){var M=d[2*E+1];M!==0&&(d[2*E]=ie(V[M]++,M))}}function Y(d){var k;for(k=0;k<b;k++)d.dyn_ltree[2*k]=0;for(k=0;k<l;k++)d.dyn_dtree[2*k]=0;for(k=0;k<g;k++)d.bl_tree[2*k]=0;d.dyn_ltree[2*_]=1,d.opt_len=d.static_len=0,d.last_lit=d.matches=0}function te(d){8<d.bi_valid?K(d,d.bi_buf):0<d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf),d.bi_buf=0,d.bi_valid=0}function ae(d,k,D,U){var E=2*k,V=2*D;return d[E]<d[V]||d[E]===d[V]&&U[k]<=U[D]}function se(d,k,D){for(var U=d.heap[D],E=D<<1;E<=d.heap_len&&(E<d.heap_len&&ae(k,d.heap[E+1],d.heap[E],d.depth)&&E++,!ae(k,U,d.heap[E],d.depth));)d.heap[D]=d.heap[E],D=E,E<<=1;d.heap[D]=U}function he(d,k,D){var U,E,V,Z,M=0;if(d.last_lit!==0)for(;U=d.pending_buf[d.d_buf+2*M]<<8|d.pending_buf[d.d_buf+2*M+1],E=d.pending_buf[d.l_buf+M],M++,U===0?j(d,E,k):(j(d,(V=o[E])+y+1,k),(Z=T[V])!==0&&$(d,E-=L[V],Z),j(d,V=O(--U),D),(Z=N[V])!==0&&$(d,U-=W[V],Z)),M<d.last_lit;);j(d,_,k)}function fe(d,k){var D,U,E,V=k.dyn_tree,Z=k.stat_desc.static_tree,M=k.stat_desc.has_stree,H=k.stat_desc.elems,re=-1;for(d.heap_len=0,d.heap_max=u,D=0;D<H;D++)V[2*D]!==0?(d.heap[++d.heap_len]=re=D,d.depth[D]=0):V[2*D+1]=0;for(;d.heap_len<2;)V[2*(E=d.heap[++d.heap_len]=re<2?++re:0)]=1,d.depth[E]=0,d.opt_len--,M&&(d.static_len-=Z[2*E+1]);for(k.max_code=re,D=d.heap_len>>1;1<=D;D--)se(d,V,D);for(E=H;D=d.heap[1],d.heap[1]=d.heap[d.heap_len--],se(d,V,1),U=d.heap[1],d.heap[--d.heap_max]=D,d.heap[--d.heap_max]=U,V[2*E]=V[2*D]+V[2*U],d.depth[E]=(d.depth[D]>=d.depth[U]?d.depth[D]:d.depth[U])+1,V[2*D+1]=V[2*U+1]=E,d.heap[1]=E++,se(d,V,1),2<=d.heap_len;);d.heap[--d.heap_max]=d.heap[1],function(ee,ue){var Ie,me,Se,oe,ze,He,ge=ue.dyn_tree,lt=ue.max_code,sr=ue.stat_desc.static_tree,or=ue.stat_desc.has_stree,ar=ue.stat_desc.extra_bits,ct=ue.stat_desc.extra_base,Ee=ue.stat_desc.max_length,Re=0;for(oe=0;oe<=h;oe++)ee.bl_count[oe]=0;for(ge[2*ee.heap[ee.heap_max]+1]=0,Ie=ee.heap_max+1;Ie<u;Ie++)Ee<(oe=ge[2*ge[2*(me=ee.heap[Ie])+1]+1]+1)&&(oe=Ee,Re++),ge[2*me+1]=oe,lt<me||(ee.bl_count[oe]++,ze=0,ct<=me&&(ze=ar[me-ct]),He=ge[2*me],ee.opt_len+=He*(oe+ze),or&&(ee.static_len+=He*(sr[2*me+1]+ze)));if(Re!==0){do{for(oe=Ee-1;ee.bl_count[oe]===0;)oe--;ee.bl_count[oe]--,ee.bl_count[oe+1]+=2,ee.bl_count[Ee]--,Re-=2}while(0<Re);for(oe=Ee;oe!==0;oe--)for(me=ee.bl_count[oe];me!==0;)lt<(Se=ee.heap[--Ie])||(ge[2*Se+1]!==oe&&(ee.opt_len+=(oe-ge[2*Se+1])*ge[2*Se],ge[2*Se+1]=oe),me--)}}(d,k),ce(V,re,d.bl_count)}function t(d,k,D){var U,E,V=-1,Z=k[1],M=0,H=7,re=4;for(Z===0&&(H=138,re=3),k[2*(D+1)+1]=65535,U=0;U<=D;U++)E=Z,Z=k[2*(U+1)+1],++M<H&&E===Z||(M<re?d.bl_tree[2*E]+=M:E!==0?(E!==V&&d.bl_tree[2*E]++,d.bl_tree[2*S]++):M<=10?d.bl_tree[2*I]++:d.bl_tree[2*R]++,V=E,re=(M=0)===Z?(H=138,3):E===Z?(H=6,3):(H=7,4))}function z(d,k,D){var U,E,V=-1,Z=k[1],M=0,H=7,re=4;for(Z===0&&(H=138,re=3),U=0;U<=D;U++)if(E=Z,Z=k[2*(U+1)+1],!(++M<H&&E===Z)){if(M<re)for(;j(d,E,d.bl_tree),--M!=0;);else E!==0?(E!==V&&(j(d,E,d.bl_tree),M--),j(d,S,d.bl_tree),$(d,M-3,2)):M<=10?(j(d,I,d.bl_tree),$(d,M-3,3)):(j(d,R,d.bl_tree),$(d,M-11,7));V=E,re=(M=0)===Z?(H=138,3):E===Z?(H=6,3):(H=7,4)}}c(W);var P=!1;function x(d,k,D,U){$(d,(p<<1)+(U?1:0),3),function(E,V,Z,M){te(E),M&&(K(E,Z),K(E,~Z)),n.arraySet(E.pending_buf,E.window,V,Z,E.pending),E.pending+=Z}(d,k,D,!0)}r._tr_init=function(d){P||(function(){var k,D,U,E,V,Z=new Array(h+1);for(E=U=0;E<m-1;E++)for(L[E]=U,k=0;k<1<<T[E];k++)o[U++]=E;for(o[U-1]=E,E=V=0;E<16;E++)for(W[E]=V,k=0;k<1<<N[E];k++)C[V++]=E;for(V>>=7;E<l;E++)for(W[E]=V<<7,k=0;k<1<<N[E]-7;k++)C[256+V++]=E;for(D=0;D<=h;D++)Z[D]=0;for(k=0;k<=143;)q[2*k+1]=8,k++,Z[8]++;for(;k<=255;)q[2*k+1]=9,k++,Z[9]++;for(;k<=279;)q[2*k+1]=7,k++,Z[7]++;for(;k<=287;)q[2*k+1]=8,k++,Z[8]++;for(ce(q,b+1,Z),k=0;k<l;k++)v[2*k+1]=5,v[2*k]=ie(k,5);X=new J(q,T,y+1,b,h),B=new J(v,N,0,l,h),Q=new J(new Array(0),F,0,g,w)}(),P=!0),d.l_desc=new A(d.dyn_ltree,X),d.d_desc=new A(d.dyn_dtree,B),d.bl_desc=new A(d.bl_tree,Q),d.bi_buf=0,d.bi_valid=0,Y(d)},r._tr_stored_block=x,r._tr_flush_block=function(d,k,D,U){var E,V,Z=0;0<d.level?(d.strm.data_type===2&&(d.strm.data_type=function(M){var H,re=4093624447;for(H=0;H<=31;H++,re>>>=1)if(1&re&&M.dyn_ltree[2*H]!==0)return s;if(M.dyn_ltree[18]!==0||M.dyn_ltree[20]!==0||M.dyn_ltree[26]!==0)return i;for(H=32;H<y;H++)if(M.dyn_ltree[2*H]!==0)return i;return s}(d)),fe(d,d.l_desc),fe(d,d.d_desc),Z=function(M){var H;for(t(M,M.dyn_ltree,M.l_desc.max_code),t(M,M.dyn_dtree,M.d_desc.max_code),fe(M,M.bl_desc),H=g-1;3<=H&&M.bl_tree[2*G[H]+1]===0;H--);return M.opt_len+=3*(H+1)+5+5+4,H}(d),E=d.opt_len+3+7>>>3,(V=d.static_len+3+7>>>3)<=E&&(E=V)):E=V=D+5,D+4<=E&&k!==-1?x(d,k,D,U):d.strategy===4||V===E?($(d,2+(U?1:0),3),he(d,q,v)):($(d,4+(U?1:0),3),function(M,H,re,ee){var ue;for($(M,H-257,5),$(M,re-1,5),$(M,ee-4,4),ue=0;ue<ee;ue++)$(M,M.bl_tree[2*G[ue]+1],3);z(M,M.dyn_ltree,H-1),z(M,M.dyn_dtree,re-1)}(d,d.l_desc.max_code+1,d.d_desc.max_code+1,Z+1),he(d,d.dyn_ltree,d.dyn_dtree)),Y(d),U&&te(d)},r._tr_tally=function(d,k,D){return d.pending_buf[d.d_buf+2*d.last_lit]=k>>>8&255,d.pending_buf[d.d_buf+2*d.last_lit+1]=255&k,d.pending_buf[d.l_buf+d.last_lit]=255&D,d.last_lit++,k===0?d.dyn_ltree[2*D]++:(d.matches++,k--,d.dyn_ltree[2*(o[D]+y+1)]++,d.dyn_dtree[2*O(k)]++),d.last_lit===d.lit_bufsize-1},r._tr_align=function(d){$(d,2,3),j(d,_,q),function(k){k.bi_valid===16?(K(k,k.bi_buf),k.bi_buf=0,k.bi_valid=0):8<=k.bi_valid&&(k.pending_buf[k.pending++]=255&k.bi_buf,k.bi_buf>>=8,k.bi_valid-=8)}(d)}},{"../utils/common":41}],53:[function(e,a,r){"use strict";a.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,a,r){(function(n){(function(s,i){"use strict";if(!s.setImmediate){var c,p,m,y,b=1,l={},g=!1,u=s.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(s);h=h&&h.setTimeout?h:s,c={}.toString.call(s.process)==="[object process]"?function(S){process.nextTick(function(){w(S)})}:function(){if(s.postMessage&&!s.importScripts){var S=!0,I=s.onmessage;return s.onmessage=function(){S=!1},s.postMessage("","*"),s.onmessage=I,S}}()?(y="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",_,!1):s.attachEvent("onmessage",_),function(S){s.postMessage(y+S,"*")}):s.MessageChannel?((m=new MessageChannel).port1.onmessage=function(S){w(S.data)},function(S){m.port2.postMessage(S)}):u&&"onreadystatechange"in u.createElement("script")?(p=u.documentElement,function(S){var I=u.createElement("script");I.onreadystatechange=function(){w(S),I.onreadystatechange=null,p.removeChild(I),I=null},p.appendChild(I)}):function(S){setTimeout(w,0,S)},h.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var I=new Array(arguments.length-1),R=0;R<I.length;R++)I[R]=arguments[R+1];var T={callback:S,args:I};return l[b]=T,c(b),b++},h.clearImmediate=f}function f(S){delete l[S]}function w(S){if(g)setTimeout(w,0,S);else{var I=l[S];if(I){g=!0;try{(function(R){var T=R.callback,N=R.args;switch(N.length){case 0:T();break;case 1:T(N[0]);break;case 2:T(N[0],N[1]);break;case 3:T(N[0],N[1],N[2]);break;default:T.apply(i,N)}})(I)}finally{f(S),g=!1}}}}function _(S){S.source===s&&typeof S.data=="string"&&S.data.indexOf(y)===0&&w(+S.data.slice(y.length))}})(typeof self>"u"?n===void 0?this:n:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});function De(e){return dt(e)}function Pr(e){return mt(e)}function yt(e){return ht(e)}function ye(e,a){return ut(e,a)}function Ue(e){return ft(e)}function Je(e){return pt(e)}var pe;(function(e){e[e.Data=0]="Data",e[e.Info=1]="Info",e[e.Metadata=2]="Metadata",e[e.Resource=3]="Resource",e[e.Thumbnail=4]="Thumbnail"})(pe||(pe={}));var wt;(function(e){e[e.Data=0]="Data",e[e.Info=1]="Info",e[e.Metadata=2]="Metadata",e[e.Resource=3]="Resource",e[e.Thumbnail=4]="Thumbnail"})(wt||(wt={}));var Ae;(function(e){e[e.Started=0]="Started",e[e.Created=1]="Created",e[e.Cancelled=2]="Cancelled",e[e.Finished=3]="Finished",e[e.Ignored=4]="Ignored",e[e.Failed=5]="Failed",e[e.Unknown=6]="Unknown"})(Ae||(Ae={}));var _n=Le(Pe());var Ve=function(){return Ve=Object.assign||function(a){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a},Ve.apply(this,arguments)},Qe={exports:{}},ne={},Ye={exports:{}},be={};function St(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Fr(e,a,r){}function Tr(e,a,r){}var Cr=/javascript\s*\:/img;function zr(e,a){return Cr.test(a)?"":a}be.whiteList=St();be.getDefaultWhiteList=St;be.onAttr=Fr;be.onIgnoreAttr=Tr;be.safeAttrValue=zr;var Rr={indexOf:function(e,a){var r,n;if(Array.prototype.indexOf)return e.indexOf(a);for(r=0,n=e.length;r<n;r++)if(e[r]===a)return r;return-1},forEach:function(e,a,r){var n,s;if(Array.prototype.forEach)return e.forEach(a,r);for(n=0,s=e.length;n<s;n++)a.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Fe=Rr;function Lr(e,a){e=Fe.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,n=!1,s=0,i=0,c="";function p(){if(!n){var b=Fe.trim(e.slice(s,i)),l=b.indexOf(":");if(l!==-1){var g=Fe.trim(b.slice(0,l)),u=Fe.trim(b.slice(l+1));if(g){var h=a(s,c.length,g,u,b);h&&(c+=h+"; ")}}}s=i+1}for(;i<r;i++){var m=e[i];if(m==="/"&&e[i+1]==="*"){var y=e.indexOf("*/",i+2);if(y===-1)break;i=y+1,s=i+1,n=!1}else m==="("?n=!0:m===")"?n=!1:m===";"?n||p():m===`
6
+ `&&p()}return Fe.trim(c)}var Dr=Lr,Ne=be,Ur=Dr;function vt(e){return e==null}function Nr(e){var a={};for(var r in e)a[r]=e[r];return a}function Et(e){e=Nr(e||{}),e.whiteList=e.whiteList||Ne.whiteList,e.onAttr=e.onAttr||Ne.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Ne.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Ne.safeAttrValue,this.options=e}Et.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var a=this,r=a.options,n=r.whiteList,s=r.onAttr,i=r.onIgnoreAttr,c=r.safeAttrValue,p=Ur(e,function(m,y,b,l,g){var u=n[b],h=!1;if(u===!0?h=u:typeof u=="function"?h=u(l):u instanceof RegExp&&(h=u.test(l)),h!==!0&&(h=!1),l=c(b,l),!!l){var f={position:y,sourcePosition:m,source:g,isWhite:h};if(h){var w=s(b,l,f);return vt(w)?b+":"+l:w}else{var w=i(b,l,f);if(!vt(w))return w}}});return p};var Br=Et;(function(e,a){var r=be,n=Br;function s(c,p){var m=new n(p);return m.process(c)}a=e.exports=s,a.FilterCSS=n;for(var i in r)a[i]=r[i]})(Ye,Ye.exports);var et=Ye.exports,tt={indexOf:function(e,a){var r,n;if(Array.prototype.indexOf)return e.indexOf(a);for(r=0,n=e.length;r<n;r++)if(e[r]===a)return r;return-1},forEach:function(e,a,r){var n,s;if(Array.prototype.forEach)return e.forEach(a,r);for(n=0,s=e.length;n<s;n++)a.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var a=/\s|\n|\t/,r=a.exec(e);return r?r.index:-1}},Gr=et.FilterCSS,Wr=et.getDefaultWhiteList,Me=tt;function Ot(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var At=new Gr;function Vr(e,a,r){}function Mr(e,a,r){}function jr(e,a,r){}function $r(e,a,r){}function Pt(e){return e.replace(qr,"&lt;").replace(Hr,"&gt;")}function Zr(e,a,r,n){if(r=Lt(r),a==="href"||a==="src"){if(r=Me.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(a==="background"){if(Be.lastIndex=0,Be.test(r))return""}else if(a==="style"){if(_t.lastIndex=0,_t.test(r)||(kt.lastIndex=0,kt.test(r)&&(Be.lastIndex=0,Be.test(r))))return"";n!==!1&&(n=n||At,r=n.process(r))}return r=Dt(r),r}var qr=/</g,Hr=/>/g,Kr=/"/g,Jr=/&quot;/g,Xr=/&#([a-zA-Z0-9]*);?/gim,Qr=/&colon;?/gim,Yr=/&newline;?/gim,Be=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,_t=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,kt=/u\s*r\s*l\s*\(.*/gi;function Ft(e){return e.replace(Kr,"&quot;")}function Tt(e){return e.replace(Jr,'"')}function Ct(e){return e.replace(Xr,function(r,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function zt(e){return e.replace(Qr,":").replace(Yr," ")}function Rt(e){for(var a="",r=0,n=e.length;r<n;r++)a+=e.charCodeAt(r)<32?" ":e.charAt(r);return Me.trim(a)}function Lt(e){return e=Tt(e),e=Ct(e),e=zt(e),e=Rt(e),e}function Dt(e){return e=Ft(e),e=Pt(e),e}function en(){return""}function tn(e,a){typeof a!="function"&&(a=function(){});var r=!Array.isArray(e);function n(c){return r?!0:Me.indexOf(e,c)!==-1}var s=[],i=!1;return{onIgnoreTag:function(c,p,m){if(n(c))if(m.isClosing){var y="[/removed]",b=m.position+y.length;return s.push([i!==!1?i:m.position,b]),i=!1,y}else return i||(i=m.position),"[removed]";else return a(c,p,m)},remove:function(c){var p="",m=0;return Me.forEach(s,function(y){p+=c.slice(m,y[0]),m=y[1]}),p+=c.slice(m),p}}}function rn(e){for(var a="",r=0;r<e.length;){var n=e.indexOf("<!--",r);if(n===-1){a+=e.slice(r);break}a+=e.slice(r,n);var s=e.indexOf("-->",n);if(s===-1)break;r=s+3}return a}function nn(e){var a=e.split("");return a=a.filter(function(r){var n=r.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),a.join("")}ne.whiteList=Ot();ne.getDefaultWhiteList=Ot;ne.onTag=Vr;ne.onIgnoreTag=Mr;ne.onTagAttr=jr;ne.onIgnoreTagAttr=$r;ne.safeAttrValue=Zr;ne.escapeHtml=Pt;ne.escapeQuote=Ft;ne.unescapeQuote=Tt;ne.escapeHtmlEntities=Ct;ne.escapeDangerHtml5Entities=zt;ne.clearNonPrintableCharacter=Rt;ne.friendlyAttrValue=Lt;ne.escapeAttrValue=Dt;ne.onIgnoreTagStripAll=en;ne.StripTagBody=tn;ne.stripCommentTag=rn;ne.stripBlankChar=nn;ne.cssFilter=At;ne.getDefaultCSSWhiteList=Wr;var je={},we=tt;function sn(e){var a=we.spaceIndex(e),r;return a===-1?r=e.slice(1,-1):r=e.slice(1,a+1),r=we.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function on(e){return e.slice(0,2)==="</"}function an(e,a,r){var n="",s=0,i=!1,c=!1,p=0,m=e.length,y="",b="";e:for(p=0;p<m;p++){var l=e.charAt(p);if(i===!1){if(l==="<"){i=p;continue}}else if(c===!1){if(l==="<"){n+=r(e.slice(s,p)),i=p,s=p;continue}if(l===">"){n+=r(e.slice(s,i)),b=e.slice(i,p+1),y=sn(b),n+=a(i,n.length,y,b,on(b)),s=p+1,i=!1;continue}if(l==='"'||l==="'")for(var g=1,u=e.charAt(p-g);u.trim()===""||u==="=";){if(u==="="){c=l;continue e}u=e.charAt(p-++g)}}else if(l===c){c=!1;continue}}return s<e.length&&(n+=r(e.substr(s))),n}var ln=/[^a-zA-Z0-9\\_:.-]/gim;function cn(e,a){var r=0,n=0,s=[],i=!1,c=e.length;function p(g,u){if(g=we.trim(g),g=g.replace(ln,"").toLowerCase(),!(g.length<1)){var h=a(g,u||"");h&&s.push(h)}}for(var m=0;m<c;m++){var y=e.charAt(m),b,l;if(i===!1&&y==="="){i=e.slice(r,m),r=m+1,n=e.charAt(r)==='"'||e.charAt(r)==="'"?r:fn(e,m+1);continue}if(i!==!1&&m===n){if(l=e.indexOf(y,m+1),l===-1)break;b=we.trim(e.slice(n+1,l)),p(i,b),i=!1,m=l,r=m+1;continue}if(/\s|\n|\t/.test(y))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(l=un(e,m),l===-1){b=we.trim(e.slice(r,m)),p(b),i=!1,r=m+1;continue}else{m=l-1;continue}else if(l=pn(e,m-1),l===-1){b=we.trim(e.slice(r,m)),b=It(b),p(i,b),i=!1,r=m+1;continue}else continue}return r<e.length&&(i===!1?p(e.slice(r)):p(i,It(we.trim(e.slice(r))))),we.trim(s.join(" "))}function un(e,a){for(;a<e.length;a++){var r=e[a];if(r!==" ")return r==="="?a:-1}}function fn(e,a){for(;a<e.length;a++){var r=e[a];if(r!==" ")return r==="'"||r==='"'?a:-1}}function pn(e,a){for(;a>0;a--){var r=e[a];if(r!==" ")return r==="="?a:-1}}function dn(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function It(e){return dn(e)?e.substr(1,e.length-2):e}je.parseTag=an;je.parseAttr=cn;var hn=et.FilterCSS,de=ne,Ut=je,mn=Ut.parseTag,gn=Ut.parseAttr,We=tt;function Ge(e){return e==null}function xn(e){var a=We.spaceIndex(e);if(a===-1)return{html:"",closing:e[e.length-2]==="/"};e=We.trim(e.slice(a+1,-1));var r=e[e.length-1]==="/";return r&&(e=We.trim(e.slice(0,-1))),{html:e,closing:r}}function yn(e){var a={};for(var r in e)a[r]=e[r];return a}function wn(e){var a={};for(var r in e)Array.isArray(e[r])?a[r.toLowerCase()]=e[r].map(function(n){return n.toLowerCase()}):a[r.toLowerCase()]=e[r];return a}function Nt(e){e=yn(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=de.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=wn(e.whiteList||e.allowList):e.whiteList=de.whiteList,e.onTag=e.onTag||de.onTag,e.onTagAttr=e.onTagAttr||de.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||de.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||de.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||de.safeAttrValue,e.escapeHtml=e.escapeHtml||de.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new hn(e.css))}Nt.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var a=this,r=a.options,n=r.whiteList,s=r.onTag,i=r.onIgnoreTag,c=r.onTagAttr,p=r.onIgnoreTagAttr,m=r.safeAttrValue,y=r.escapeHtml,b=a.cssFilter;r.stripBlankChar&&(e=de.stripBlankChar(e)),r.allowCommentTag||(e=de.stripCommentTag(e));var l=!1;r.stripIgnoreTagBody&&(l=de.StripTagBody(r.stripIgnoreTagBody,i),i=l.onIgnoreTag);var g=mn(e,function(u,h,f,w,_){var S={sourcePosition:u,position:h,isClosing:_,isWhite:Object.prototype.hasOwnProperty.call(n,f)},I=s(f,w,S);if(!Ge(I))return I;if(S.isWhite){if(S.isClosing)return"</"+f+">";var R=xn(w),T=n[f],N=gn(R.html,function(F,G){var q=We.indexOf(T,F)!==-1,v=c(f,F,G,q);return Ge(v)?q?(G=m(f,F,G,b),G?F+'="'+G+'"':F):(v=p(f,F,G,q),Ge(v)?void 0:v):v});return w="<"+f,N&&(w+=" "+N),R.closing&&(w+=" /"),w+=">",w}else return I=i(f,w,S),Ge(I)?y(w):I},y);return l&&(g=l.remove(g)),g};var bn=Nt;(function(e,a){var r=ne,n=je,s=bn;function i(p,m){var y=new s(m);return y.process(p)}a=e.exports=i,a.filterXSS=i,a.FilterXSS=s,function(){for(var p in r)a[p]=r[p];for(var m in n)a[m]=n[m]}();function c(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}c()&&(self.filterXSS=e.exports)})(Qe,Qe.exports);var ve=Qe.exports,vn=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var a=Object.getPrototypeOf(e);if(a===null)return!0;for(;Object.getPrototypeOf(a)!==null;)a=Object.getPrototypeOf(a);return Object.getPrototypeOf(e)===a},Bt=function(){function e(a,r){var n=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],details:["style"],div:["align","style","aria-label","aria-hidden"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ve(Ve({},ve.getDefaultCSSWhiteList()),{flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,"line-height":!0,"justify-content":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,c,p,m){return i==="a"&&c==="href"||(i==="img"||i==="source")&&c==="src"?n.sanitizeUrl(p):ve.safeAttrValue(i,c,p,m)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var s;a&&!r?s=a:a&&r?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(a).forEach(function(i){if(i==="whiteList")s.whiteList=n._extendObjectOfArrays([n.arcgisWhiteList,a.whiteList||{}]);else if(i==="css"){var c=a.css.whiteList;c!=null&&a.css instanceof Object&&Object.keys(c).forEach(function(p){return s.css.whiteList[p]=c[p]})}else s[i]=a[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new ve.FilterXSS(s)}return e.prototype.sanitize=function(a,r){switch(r===void 0&&(r={}),typeof a){case"number":return isNaN(a)||!isFinite(a)?null:a;case"boolean":return a;case"string":return this._xssFilter.process(a);case"object":return this._iterateOverObject(a,r);default:return r.allowUndefined&&typeof a>"u"?void 0:null}},e.prototype.sanitizeUrl=function(a,r){var n=(r??{}).isProtocolRequired,s=n===void 0?!0:n,i=this._trim(a.substring(0,a.indexOf(":"))),c=a==="/",p=/^#/.test(a),m=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return c||p||m?ve.escapeAttrValue(a):!i&&!s?ve.escapeAttrValue("https://".concat(a)):""},e.prototype.sanitizeHTMLAttribute=function(a,r,n,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(a,r,n,s):ve.safeAttrValue(a,r,n,s)},e.prototype.validate=function(a,r){r===void 0&&(r={});var n=this.sanitize(a,r);return{isValid:a===n,sanitized:n}},e.prototype.encodeHTML=function(a){var r=this;return String(a).replace(/[&<>"'\/]/g,function(n){return r._entityMap[n]})},e.prototype.encodeAttrValue=function(a){var r=/^[a-zA-Z0-9]$/;return String(a).replace(/[\x00-\xFF]/g,function(n,s){return r.test(n)?n:"&#x".concat(Number(a.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(a){var r={};return a.forEach(function(n){Object.keys(n).forEach(function(s){Array.isArray(n[s])&&Array.isArray(r[s])?r[s]=r[s].concat(n[s]):r[s]=n[s]})}),r},e.prototype._iterateOverObject=function(a,r){var n=this;r===void 0&&(r={});try{var s=!1,i=void 0;if(Array.isArray(a))i=a.reduce(function(p,m){var y=n.validate(m,r);return y.isValid?p.concat([m]):(s=!0,p.concat([y.sanitized]))},[]);else if(vn(a)){var c=Object.keys(a);i=c.reduce(function(p,m){var y=a[m],b=n.validate(y,r);return b.isValid?p[m]=y:(s=!0,p[m]=b.sanitized),p},{})}else return r.allowUndefined&&typeof a>"u"?void 0:null;return s?i:a}catch{return null}},e.prototype._trim=function(a){return String.prototype.trim?a.trim():a.replace(/(^\s*)|(\s*$)/g,"")},e}();function _e(e){return new Promise(a=>{$e(e).then(r=>{try{a(JSON.parse(r))}catch{a(null)}},()=>a(null))})}function Te(e,a,r){return new File([e],a||"",{type:r??e.type})}function $e(e){return new Promise(a=>{let r=new FileReader;r.onload=function(n){let s=n.target.result;a(s||"")},r.readAsText(e)})}function Ce(e){return e&&(e.endsWith("/")?e:e+"/")}function le(e,a){return a.split(".").reduce(function(r,n){return r?r[n]:void 0},e)}function Ni(e,a,r){let n=a.split(".").reduce(function(s,i){return s?s[i]:void 0},e);return typeof n>"u"?r:n}function rt(e,a,r){let n=a.split(".");n.reduce((s,i,c)=>c===n.length-1?(s[i]=r,r):(s[i]||(s[i]={}),s[i]),e)}function nt(e,a,r){if(le(e,a)){let n=a.split(".");n.reduce((s,i,c)=>c===n.length-1?(s[i]=r,r):s[i],e)}}function ke(e,a,r={}){if(!e)return Promise.reject("Url must be provided");let n={authentication:a,rawResponse:!0,...r};return ye(e,n).then(s=>s.blob())}var En="PK";function Ze(e,a,r,n=[],s){return new Promise((i,c)=>{Gt(e,r,n).then(p=>i(p?Te(p,a,s):null),c)})}function Gt(e,a,r=[]){return new Promise((n,s)=>{ke(e,a).then(i=>{st(i).then(c=>{c.type==="application/json"?_e(c).then(p=>{if(p?.error){let m=p.error.code;m!==void 0&&r.indexOf(m)>=0?n(null):s(p)}else n(c)}):n(c)},s)},s)})}function it(e,a){return new Promise(r=>{On(e,a).then(n=>r(_e(n)),()=>r(null))})}function On(e,a){return new Promise(r=>{let n=An(e,a);Gt(n,a,[400,500]).then(s=>r(st(s)),()=>r(null))})}function An(e,a){return`${Pn(a)}/content/items/${e}/data`}function Qi(e,a){return ke(e,a,{httpMethod:"GET"}).then(n=>st(n)).then(n=>n.type==="application/json"?_e(n):Promise.resolve(null))}function Pn(e){return le(e,"portal")||"https://www.arcgis.com/sharing/rest"}function Wt(e,a,r){return new Promise(n=>{Ze(e,a,r,[500]).then(n,()=>n(null))})}function st(e){return new Promise((a,r)=>{e&&e.size>0&&(e.type.startsWith("text/plain")||e.type.startsWith("application/json"))?$e(e).then(n=>{try{JSON.parse(n),a(new Blob([e],{type:"application/json"}))}catch{n.length>4&&n.substr(0,4)===En?a(new Blob([e],{type:"application/zip"})):n.startsWith("<")?a(new Blob([e],{type:"text/xml"})):a(e)}},r):e?a(e):r()})}function Zt(e,a,r,n){return new Promise((s,i)=>{let c={item:e,folderId:r,authentication:a,params:{...n??{}}};e?.data instanceof File?c.params.file=e.data:c.params.text=e.data,Ue(c).then(p=>p.success?s(p):i(p),p=>i(p))})}var Gn=Le(Pe());function xe(e,a,r){return{...e,fetchedFromSource:a,copiedToDestination:r}}var Wn=Le(Pe());var Kt;(function(e){e[e.NotYetVisited=0]="NotYetVisited",e[e.InProgress=1]="InProgress",e[e.Finished=2]="Finished"})(Kt||(Kt={}));var at;(function(e){e[e.thumbnail=0]="thumbnail",e[e.metadata=1]="metadata",e[e.resource=2]="resource",e[e.data=3]="data",e[e.fakezip=4]="fakezip",e[e.info=5]="info"})(at||(at={}));function Qt(e,a=0){let r=e.split("/"),n=r.pop(),s="",i=r.shift(),c=pe.Resource;if(i)if(i.endsWith("_info_thumbnail"))c=pe.Thumbnail;else if(i.endsWith("_info_metadata"))c=pe.Metadata,n="metadata.xml";else if(i.endsWith("_info_data"))c=pe.Data;else if(i.endsWith("_info_dataz"))n=n.replace(/\.zip$/,""),c=pe.Data;else if(a<1){let p=i.indexOf("_");p>0&&(s=i.substr(p+1))}else s=r.join("/");return{type:c,folder:s,filename:n}}function Yt(e,a){return e.folder?a.zip.folder(e.folder).file(e.filename,e.file,{binary:!0}):a.zip.file(e.filename,e.file,{binary:!0}),a.filelist.push(e),xe(e,!0)}function er(e,a,r){return new Promise(n=>{e.zip.generateAsync({type:"blob"}).then(s=>Te(s,e.filename,"application/zip")).then(s=>De({id:a,resource:s,authentication:r,params:{archive:!0}})).then(()=>n(xe(e,!0,!0)),()=>n(xe(e,!0,!1)))})}var rr=Le(Pe());function nr(e,a,r,n=40){return new Promise(s=>{let i=[],c=[];if(e.length>0){let m=0,y=tr(m);c.push(y);let b=0;e.forEach(l=>{(y.filelist.length>=n||b+l.file.size>=49999e3)&&(m++,y=tr(m),c.push(y),b=0),i.push(Yt(l,y)),b+=l.file.size})}i.length>0?Promise.all(i).then(p=>{p=p.filter(m=>!(m.fetchedFromSource&&typeof m.copiedToDestination>"u")),ti(c,a,r).then(m=>{s(p.concat(m))})}):s([])})}function ti(e,a,r){return new Promise(n=>{let s=[],i=e.filter(c=>Object.keys(c.zip.files).length>0);i.length>0?ir(i,a,r).then(c=>{n(c)}):n(s)})}function tr(e){return{filename:`resources${e}.zip`,zip:new rr.default,filelist:[]}}function ir(e,a,r){return new Promise(n=>{let s=[],i=e.pop(),c=Promise.resolve([]);e.length>0&&(c=ir(e,a,r)),c.then(p=>(s=p,new Promise(m=>{setTimeout(()=>m(),1e3)}))).then(()=>er(i,a,r)).then(p=>{p.filelist.forEach(m=>{s.push(xe(m,!0,p.copiedToDestination))}),n(s)})})}function Xl(e,a,r){return new Promise(n=>{nr(e,a,r).then(s=>{n(s.filter(i=>i.fetchedFromSource&&i.copiedToDestination).map(i=>i.folder+"/"+i.filename))})})}function ri(e,a,r){return Ce(e)+"content/items/"+a+"/resources/"+r}function Ql(e,a,r=[],n=0){return r.map(s=>({url:ri(e,a,s),...Qt(s,n)}))}function Yl(e){let a=e.match(/\.([a-z]+)$/i);return!!a&&"|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|".indexOf("|"+a[0]+"|")>=0}function ec(e,a){let r,n;return a.forEach(s=>{s.type===pe.Thumbnail&&(r=s.url,n=s.filename)}),r?Wt(r,n,e):Promise.resolve(null)}function tc(e,a,r){return yt({id:e,resource:a,authentication:r})}function rc(e,a,r,n){let s=a.split("/"),i=s.length>1?s.slice(0,s.length-1).join("/"):void 0,c=s[s.length-1];return Je({id:e,prefix:i,name:c,resource:r,authentication:n})}export{Pr as a,pe as b,le as c,Ni as d,rt as e,nt as f,it as g,Qi as h,Zt as i,Xl as j,Ql as k,Yl as l,ec as m,tc as n,rc as o};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{c as a}from"./YGJIMBAF.js";import"./WM3U5GDF.js";export{a as MetricSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250429.3 */
4
+ import{a as h}from"./5CAFFNYB.js";import{b as m}from"./VAYC3VU7.js";import{a as U}from"./ANMQ4WEC.js";import{c as t,e as l,f as d}from"./LKA43LHY.js";import{a as N}from"./DJOH7G5F.js";import{c as A}from"./VUZVPABL.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};