@esri/solutions-components 0.6.17 → 0.6.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/t9n/map-tools/resources.json +2 -1
  3. package/dist/assets/t9n/map-tools/resources_en.json +2 -1
  4. package/dist/assets/t9n/solution-spatial-ref/resources.json +0 -1
  5. package/dist/assets/t9n/solution-spatial-ref/resources_en.json +0 -1
  6. package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +6 -0
  7. package/dist/assets/t9n/solution-spatial-ref/resources_he.json +6 -0
  8. package/dist/assets/t9n/spatial-ref/resources.json +3 -0
  9. package/dist/assets/t9n/spatial-ref/resources_en.json +3 -0
  10. package/dist/assets/t9n/spatial-ref/resources_fr.json +3 -0
  11. package/dist/assets/t9n/spatial-ref/resources_he.json +3 -0
  12. package/dist/cjs/{ExpandToggle-18c74d06.js → ExpandToggle-39e472da.js} +1 -1
  13. package/dist/cjs/{FloatingArrow-8cc84cea.js → FloatingArrow-8c88459a.js} +1 -1
  14. package/dist/cjs/{Heading-c02158c2.js → Heading-8b27f655.js} +1 -1
  15. package/dist/cjs/{ar-3ed0e602.js → ar-6b662222.js} +5 -5
  16. package/dist/cjs/{basemap-gallery_6.cjs.entry.js → basemap-gallery_7.cjs.entry.js} +128 -6
  17. package/dist/cjs/{bg-6057cefd.js → bg-fa2dc0d8.js} +5 -5
  18. package/dist/cjs/{bs-7a26fe7c.js → bs-feb3d9c5.js} +5 -5
  19. package/dist/cjs/buffer-tools_4.cjs.entry.js +7 -7
  20. package/dist/cjs/{ca-5f6c553c.js → ca-0277c48d.js} +5 -5
  21. package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
  22. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  23. package/dist/cjs/calcite-action-bar_3.cjs.entry.js +5 -5
  24. package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
  25. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
  26. package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
  27. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  28. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  29. package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
  30. package/dist/cjs/calcite-block.cjs.entry.js +5 -5
  31. package/dist/cjs/calcite-button.cjs.entry.js +4 -4
  32. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  33. package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-checkbox_3.cjs.entry.js} +124 -320
  34. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  35. package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
  36. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  37. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
  38. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
  39. package/dist/cjs/calcite-combobox_6.cjs.entry.js +24 -20
  40. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
  41. package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
  42. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  43. package/dist/cjs/calcite-filter_3.cjs.entry.js +3 -3
  44. package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
  45. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  46. package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
  47. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  49. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
  50. package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
  51. package/dist/cjs/{calcite-input-time-picker-c1aa4c8f.js → calcite-input-time-picker-0b068c1f.js} +53 -53
  52. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
  53. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
  54. package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
  55. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  56. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  57. package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
  58. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  59. package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
  60. package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
  61. package/dist/cjs/calcite-meter.cjs.entry.js +3 -3
  62. package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  64. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  65. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  66. package/dist/cjs/calcite-notice_2.cjs.entry.js +6 -6
  67. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  68. package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
  69. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
  70. package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
  71. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
  72. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
  73. package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
  74. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  75. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  76. package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
  77. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  78. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
  79. package/dist/cjs/calcite-sheet.cjs.entry.js +3 -3
  80. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
  81. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +11 -10
  82. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  83. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
  84. package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
  85. package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
  86. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  87. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +3 -3
  88. package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
  89. package/dist/cjs/calcite-table.cjs.entry.js +3 -3
  90. package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
  91. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
  92. package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
  93. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  94. package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
  95. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  96. package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
  97. package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
  98. package/dist/cjs/card-manager_3.cjs.entry.js +15 -12
  99. package/dist/{collection/components/card-manager/test/card-manager.e2e.js → cjs/common-13719149.js} +17 -9
  100. package/dist/cjs/{conditionalSlot-c989690a.js → conditionalSlot-795790b5.js} +1 -1
  101. package/dist/cjs/crowdsource-manager.cjs.entry.js +14 -9
  102. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  103. package/dist/cjs/{cs-532325fc.js → cs-6f20de14.js} +5 -5
  104. package/dist/cjs/{da-41411e1e.js → da-d4b3c7de.js} +5 -5
  105. package/dist/cjs/{de-at-31452a36.js → de-at-b9df2464.js} +5 -5
  106. package/dist/cjs/{de-7faafe28.js → de-cd070c4c.js} +5 -5
  107. package/dist/cjs/{de-ch-c05ad794.js → de-ch-8012e3ac.js} +5 -5
  108. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  109. package/dist/cjs/{downloadUtils-121fd7ff.js → downloadUtils-3e8b45ec.js} +3 -3
  110. package/dist/cjs/edit-card_2.cjs.entry.js +7 -6
  111. package/dist/cjs/{el-336b9b7a.js → el-3bafc319.js} +5 -5
  112. package/dist/cjs/{en-au-274bdf3e.js → en-au-69ac6dd5.js} +5 -5
  113. package/dist/cjs/{en-ca-feb0dab0.js → en-ca-e2d69548.js} +5 -5
  114. package/dist/cjs/{en-gb-0d00325d.js → en-gb-43cbe44d.js} +5 -5
  115. package/dist/cjs/{es-13de9478.js → es-f809bdee.js} +5 -5
  116. package/dist/cjs/{es-mx-a889d63d.js → es-mx-cb6bdcde.js} +5 -5
  117. package/dist/cjs/{et-e8b90e16.js → et-d1fb804f.js} +5 -5
  118. package/dist/cjs/{fi-7a32cf84.js → fi-809e575d.js} +5 -5
  119. package/dist/cjs/{form-44895e53.js → form-78a3337d.js} +1 -1
  120. package/dist/cjs/{fr-ch-1b79327b.js → fr-ch-ec117c1a.js} +5 -5
  121. package/dist/cjs/{fr-4b281d52.js → fr-e300020c.js} +5 -5
  122. package/dist/cjs/{he-b155cf0c.js → he-f419115b.js} +5 -5
  123. package/dist/cjs/{hi-f036e41f.js → hi-0837fa9e.js} +5 -5
  124. package/dist/cjs/{hr-ef421ab5.js → hr-26c92b0c.js} +5 -5
  125. package/dist/cjs/{hu-9a9495fa.js → hu-b4348f61.js} +5 -5
  126. package/dist/cjs/{id-57d1c6f3.js → id-39ae2fbb.js} +5 -5
  127. package/dist/cjs/{index-ee37804b.js → index-1ffa261f.js} +48 -18
  128. package/dist/cjs/{index-feeb7b6a.js → index-2bdbac04.js} +1 -1
  129. package/dist/cjs/{index.es-5c0c137a.js → index.es-bf2ee853.js} +4 -4
  130. package/dist/cjs/{it-cd26a173.js → it-c0010df5.js} +5 -5
  131. package/dist/cjs/{it-ch-7704635a.js → it-ch-1d96ff25.js} +5 -5
  132. package/dist/cjs/{ja-a40fc95f.js → ja-d612ffd0.js} +5 -5
  133. package/dist/cjs/{ko-1ca619b7.js → ko-3bacee3c.js} +5 -5
  134. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  135. package/dist/cjs/list-item.cjs.entry.js +1 -1
  136. package/dist/cjs/{loadModules-f6df8d6a.js → loadModules-03328b9d.js} +1 -1
  137. package/dist/cjs/{loadable-5d36908d.js → loadable-d12ec307.js} +1 -1
  138. package/dist/cjs/loader.cjs.js +2 -2
  139. package/dist/cjs/{locale-67f5f6b6.js → locale-d50f3250.js} +1 -1
  140. package/dist/cjs/{lt-1d18afa8.js → lt-3d9fa497.js} +5 -5
  141. package/dist/cjs/{lv-142ba83c.js → lv-3b7eddb4.js} +5 -5
  142. package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
  143. package/dist/cjs/{mk-fa7c661d.js → mk-06e25b87.js} +5 -5
  144. package/dist/cjs/{nb-bae4efed.js → nb-631e48ca.js} +5 -5
  145. package/dist/cjs/{nl-2a0ce458.js → nl-6db6ac0b.js} +5 -5
  146. package/dist/cjs/{openCloseComponent-078fbb79.js → openCloseComponent-cfafcccc.js} +1 -1
  147. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  148. package/dist/cjs/{pl-bbd4edda.js → pl-a139e04e.js} +5 -5
  149. package/dist/cjs/{pt-br-36764205.js → pt-br-11aab00e.js} +5 -5
  150. package/dist/cjs/{pt-74ab8ef9.js → pt-f3d702ac.js} +5 -5
  151. package/dist/cjs/public-notification.cjs.entry.js +6 -6
  152. package/dist/cjs/{publicNotificationStore-610bd880.js → publicNotificationStore-9c812ef4.js} +1 -1
  153. package/dist/cjs/{ro-ce2e1b5a.js → ro-49c70e64.js} +5 -5
  154. package/dist/cjs/{ru-0349726f.js → ru-304563d2.js} +5 -5
  155. package/dist/cjs/{shared-list-render-a5fb8233.js → shared-list-render-e6464688.js} +1 -1
  156. package/dist/cjs/{sk-2a42230b.js → sk-a8fe9263.js} +5 -5
  157. package/dist/cjs/{sl-27146799.js → sl-bf82d012.js} +5 -5
  158. package/dist/cjs/solution-configuration.cjs.entry.js +5 -4
  159. package/dist/cjs/solution-contents_3.cjs.entry.js +23 -21258
  160. package/dist/cjs/solution-item-icon.cjs.entry.js +327 -0
  161. package/dist/cjs/{solution-store-c443e657.js → solution-resource-f9e3b289.js} +2 -1698
  162. package/dist/cjs/solution-store-714601a2.js +1707 -0
  163. package/dist/cjs/solutions-components.cjs.js +3 -3
  164. package/dist/cjs/spatial-ref.cjs.entry.js +21293 -0
  165. package/dist/cjs/{sr-72fa52b5.js → sr-4f2f9974.js} +5 -5
  166. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  167. package/dist/cjs/{sv-c7abc43b.js → sv-a2916e2b.js} +5 -5
  168. package/dist/cjs/{t9n-a3d7ce48.js → t9n-c630f16d.js} +1 -1
  169. package/dist/cjs/{th-e7620fd7.js → th-c5f23e8f.js} +5 -5
  170. package/dist/cjs/{tr-c1f9956d.js → tr-0486b336.js} +5 -5
  171. package/dist/cjs/{uk-a5fc4e4a.js → uk-3cf18069.js} +5 -5
  172. package/dist/cjs/{utils-a4918620.js → utils-0f154174.js} +1 -1
  173. package/dist/cjs/{vi-bd88795c.js → vi-813fe8f6.js} +5 -5
  174. package/dist/cjs/{zh-cn-797be53d.js → zh-cn-e835d4ea.js} +5 -5
  175. package/dist/cjs/{zh-hk-d1f6cd4e.js → zh-hk-cdc4af5b.js} +5 -5
  176. package/dist/cjs/{zh-tw-0342f9c3.js → zh-tw-5a93dab8.js} +5 -5
  177. package/dist/collection/collection-manifest.json +4 -2
  178. package/dist/collection/components/card-manager/card-manager.js +2 -2
  179. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +16 -0
  180. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +47 -6
  181. package/dist/collection/components/edit-card/edit-card.css +0 -12
  182. package/dist/collection/components/floor-filter/floor-filter.css +19 -0
  183. package/dist/collection/components/floor-filter/floor-filter.js +181 -0
  184. package/dist/collection/components/info-card/info-card.js +3 -2
  185. package/dist/collection/components/layer-table/layer-table.css +8 -0
  186. package/dist/collection/components/layer-table/layer-table.js +20 -4
  187. package/dist/collection/components/map-card/map-card.js +19 -1
  188. package/dist/collection/components/map-layer-picker/map-layer-picker.js +15 -11
  189. package/dist/collection/components/map-picker/map-picker.css +1 -4
  190. package/dist/collection/components/map-picker/map-picker.js +1 -1
  191. package/dist/collection/components/map-tools/map-tools.js +54 -1
  192. package/dist/collection/components/solution-configuration/solution-configuration.js +7 -1
  193. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +1 -7
  194. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +37 -291
  195. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +24 -12
  196. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +32 -128
  197. package/dist/collection/components/spatial-ref/spatial-ref.css +20 -0
  198. package/dist/collection/components/spatial-ref/spatial-ref.js +445 -0
  199. package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +71 -0
  200. package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +158 -0
  201. package/dist/collection/demos/crowdsource-manager.html +4 -0
  202. package/dist/collection/demos/solution-spatial-ref.html +9 -16
  203. package/dist/collection/demos/spatial-ref.html +53 -0
  204. package/dist/collection/utils/{templates.e2e.js → test/templates.e2e.js} +2 -2
  205. package/dist/collection/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
  206. package/dist/components/action-bar.js +7 -0
  207. package/dist/components/action-group.js +4 -0
  208. package/dist/components/action-menu.js +5 -1
  209. package/dist/components/action.js +3 -0
  210. package/dist/components/alert.js +8 -1
  211. package/dist/components/basemap-gallery2.js +2 -0
  212. package/dist/components/buffer-tools2.js +3 -0
  213. package/dist/components/button.js +4 -0
  214. package/dist/components/calcite-accordion.js +6 -1
  215. package/dist/components/calcite-action-pad.js +5 -0
  216. package/dist/components/calcite-block-section.js +3 -0
  217. package/dist/components/calcite-block.js +3 -0
  218. package/dist/components/calcite-card.js +3 -0
  219. package/dist/components/calcite-chip-group.js +3 -1
  220. package/dist/components/calcite-color-picker.js +9 -1
  221. package/dist/components/calcite-flow-item.js +3 -0
  222. package/dist/components/calcite-inline-editable.js +6 -1
  223. package/dist/components/calcite-input-date-picker.js +16 -1
  224. package/dist/components/calcite-input-time-picker.js +10 -0
  225. package/dist/components/calcite-input-time-zone.js +3 -0
  226. package/dist/components/calcite-menu-item.js +4 -1
  227. package/dist/components/calcite-meter.js +11 -0
  228. package/dist/components/calcite-option-group.js +3 -0
  229. package/dist/components/calcite-radio-button-group.js +6 -1
  230. package/dist/components/calcite-radio-button.js +6 -1
  231. package/dist/components/calcite-rating.js +4 -0
  232. package/dist/components/calcite-sheet.js +5 -1
  233. package/dist/components/calcite-split-button.js +3 -0
  234. package/dist/components/calcite-stepper-item.js +5 -1
  235. package/dist/components/calcite-stepper.js +7 -1
  236. package/dist/components/calcite-table-row.js +8 -1
  237. package/dist/components/calcite-table.js +10 -1
  238. package/dist/components/calcite-text-area.js +3 -0
  239. package/dist/components/calcite-tile-select.js +4 -1
  240. package/dist/components/calcite-tip-manager.js +5 -0
  241. package/dist/components/calcite-tip.js +3 -0
  242. package/dist/components/card-manager2.js +2 -2
  243. package/dist/components/chip.js +4 -1
  244. package/dist/components/color-picker-hex-input.js +2 -0
  245. package/dist/components/color-picker-swatch.js +2 -0
  246. package/dist/components/combobox-item.js +2 -0
  247. package/dist/components/combobox.js +14 -1
  248. package/dist/components/crowdsource-manager.js +86 -73
  249. package/dist/components/date-picker-month-header.js +4 -0
  250. package/dist/components/date-picker.js +8 -0
  251. package/dist/components/dropdown-group.js +3 -1
  252. package/dist/components/dropdown.js +9 -1
  253. package/dist/components/edit-card2.js +4 -1
  254. package/dist/components/filter2.js +5 -0
  255. package/dist/components/floor-filter.d.ts +11 -0
  256. package/dist/components/floor-filter.js +11 -0
  257. package/dist/components/floor-filter2.js +119 -0
  258. package/dist/components/handle.js +8 -0
  259. package/dist/components/icon.js +3 -0
  260. package/dist/components/info-card2.js +7 -3
  261. package/dist/components/input-message.js +3 -0
  262. package/dist/components/input-number.js +8 -0
  263. package/dist/components/input-text.js +6 -0
  264. package/dist/components/input.js +9 -0
  265. package/dist/components/layer-table2.js +12 -6
  266. package/dist/components/list-item2.js +8 -1
  267. package/dist/components/list.js +8 -1
  268. package/dist/components/map-card2.js +45 -37
  269. package/dist/components/map-draw-tools2.js +3 -0
  270. package/dist/components/map-fullscreen2.js +2 -0
  271. package/dist/components/map-layer-picker2.js +17 -11
  272. package/dist/components/map-legend2.js +2 -0
  273. package/dist/components/map-picker2.js +5 -2
  274. package/dist/components/map-search2.js +3 -0
  275. package/dist/components/map-select-tools2.js +4 -1
  276. package/dist/components/map-tools2.js +58 -11
  277. package/dist/components/menu.js +5 -1
  278. package/dist/components/modal.js +7 -1
  279. package/dist/components/notice.js +5 -0
  280. package/dist/components/option.js +5 -0
  281. package/dist/components/pagination.js +3 -0
  282. package/dist/components/panel.js +3 -0
  283. package/dist/components/pick-list-item.js +9 -0
  284. package/dist/components/popover.js +11 -0
  285. package/dist/components/public-notification.js +8 -1
  286. package/dist/components/scrim.js +3 -0
  287. package/dist/components/segmented-control-item.js +2 -0
  288. package/dist/components/segmented-control.js +7 -1
  289. package/dist/components/select.js +4 -1
  290. package/dist/components/shell-panel.js +8 -0
  291. package/dist/components/slider.js +7 -1
  292. package/dist/components/solution-configuration.js +83 -73
  293. package/dist/components/solution-contents2.js +2 -0
  294. package/dist/components/solution-item-sharing2.js +2 -0
  295. package/dist/components/solution-item2.js +2 -0
  296. package/dist/components/solution-organization-variables2.js +2 -0
  297. package/dist/components/solution-resource-item2.js +4 -1
  298. package/dist/components/solution-resource.js +1836 -0
  299. package/dist/components/solution-spatial-ref2.js +41 -21277
  300. package/dist/components/solution-store.js +2 -1830
  301. package/dist/components/solution-template-data2.js +2 -0
  302. package/dist/components/solution-variables2.js +2 -0
  303. package/dist/components/spatial-ref.d.ts +11 -0
  304. package/dist/components/spatial-ref.js +11 -0
  305. package/dist/components/spatial-ref2.js +21376 -0
  306. package/dist/components/tab-nav.js +4 -1
  307. package/dist/components/tab-title.js +5 -1
  308. package/dist/components/table-cell.js +4 -0
  309. package/dist/components/table-header.js +5 -0
  310. package/dist/components/time-picker.js +6 -1
  311. package/dist/components/tooltip.js +7 -0
  312. package/dist/components/tree-item.js +5 -1
  313. package/dist/components/value-list.js +4 -1
  314. package/dist/esm/{ExpandToggle-cc557b88.js → ExpandToggle-583be90e.js} +1 -1
  315. package/dist/esm/{FloatingArrow-2ae40cab.js → FloatingArrow-f3c4aaad.js} +1 -1
  316. package/dist/esm/{Heading-e0cca2ac.js → Heading-28b8fc31.js} +1 -1
  317. package/dist/esm/{ar-ddf52dcc.js → ar-d7509316.js} +5 -5
  318. package/dist/esm/{basemap-gallery_6.entry.js → basemap-gallery_7.entry.js} +128 -7
  319. package/dist/esm/{bg-6ae0e04d.js → bg-a6c0d55d.js} +5 -5
  320. package/dist/esm/{bs-b8b19908.js → bs-a98cc594.js} +5 -5
  321. package/dist/esm/buffer-tools_4.entry.js +7 -7
  322. package/dist/esm/{ca-35b5c182.js → ca-8d7b9677.js} +5 -5
  323. package/dist/esm/calcite-accordion-item.entry.js +2 -2
  324. package/dist/esm/calcite-accordion.entry.js +1 -1
  325. package/dist/esm/calcite-action-bar_3.entry.js +5 -5
  326. package/dist/esm/calcite-action-group_2.entry.js +4 -4
  327. package/dist/esm/calcite-action-pad.entry.js +5 -5
  328. package/dist/esm/calcite-action_2.entry.js +6 -6
  329. package/dist/esm/calcite-alert.entry.js +4 -4
  330. package/dist/esm/calcite-avatar.entry.js +1 -1
  331. package/dist/esm/calcite-block-section.entry.js +3 -3
  332. package/dist/esm/calcite-block.entry.js +5 -5
  333. package/dist/esm/calcite-button.entry.js +4 -4
  334. package/dist/esm/calcite-card.entry.js +3 -3
  335. package/dist/esm/{calcite-tree_3.entry.js → calcite-checkbox_3.entry.js} +125 -321
  336. package/dist/esm/calcite-chip-group.entry.js +2 -2
  337. package/dist/esm/calcite-chip.entry.js +4 -4
  338. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  339. package/dist/esm/calcite-color-picker.entry.js +3 -3
  340. package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
  341. package/dist/esm/calcite-combobox_6.entry.js +24 -20
  342. package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
  343. package/dist/esm/calcite-date-picker.entry.js +4 -4
  344. package/dist/esm/calcite-fab.entry.js +2 -2
  345. package/dist/esm/calcite-filter_3.entry.js +3 -3
  346. package/dist/esm/calcite-flow-item.entry.js +3 -3
  347. package/dist/esm/calcite-flow.entry.js +2 -2
  348. package/dist/esm/calcite-graph.entry.js +1 -1
  349. package/dist/esm/calcite-icon.entry.js +1 -1
  350. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  351. package/dist/esm/calcite-input-date-picker.entry.js +6 -6
  352. package/dist/esm/calcite-input-number_2.entry.js +4 -4
  353. package/dist/esm/{calcite-input-time-picker-25074af7.js → calcite-input-time-picker-f5250903.js} +53 -53
  354. package/dist/esm/calcite-input-time-picker.entry.js +5 -5
  355. package/dist/esm/calcite-input-time-zone.entry.js +4 -4
  356. package/dist/esm/calcite-input_2.entry.js +4 -4
  357. package/dist/esm/calcite-label.entry.js +1 -1
  358. package/dist/esm/calcite-link.entry.js +2 -2
  359. package/dist/esm/calcite-list-item-group.entry.js +1 -1
  360. package/dist/esm/calcite-loader.entry.js +1 -1
  361. package/dist/esm/calcite-menu-item.entry.js +3 -3
  362. package/dist/esm/calcite-menu.entry.js +3 -3
  363. package/dist/esm/calcite-meter.entry.js +3 -3
  364. package/dist/esm/calcite-modal.entry.js +5 -5
  365. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  366. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  367. package/dist/esm/calcite-navigation.entry.js +2 -2
  368. package/dist/esm/calcite-notice_2.entry.js +6 -6
  369. package/dist/esm/calcite-option-group.entry.js +1 -1
  370. package/dist/esm/calcite-option_2.entry.js +3 -3
  371. package/dist/esm/calcite-pagination.entry.js +3 -3
  372. package/dist/esm/calcite-panel_2.entry.js +5 -5
  373. package/dist/esm/calcite-pick-list-group.entry.js +3 -3
  374. package/dist/esm/calcite-pick-list-item.entry.js +4 -4
  375. package/dist/esm/calcite-pick-list.entry.js +3 -3
  376. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  377. package/dist/esm/calcite-radio-button.entry.js +3 -3
  378. package/dist/esm/calcite-rating.entry.js +4 -4
  379. package/dist/esm/calcite-scrim.entry.js +2 -2
  380. package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
  381. package/dist/esm/calcite-sheet.entry.js +3 -3
  382. package/dist/esm/calcite-shell-center-row.entry.js +2 -2
  383. package/dist/esm/calcite-shell-panel_14.entry.js +9 -8
  384. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  385. package/dist/esm/calcite-split-button.entry.js +2 -2
  386. package/dist/esm/calcite-stepper-item.entry.js +2 -2
  387. package/dist/esm/calcite-stepper.entry.js +1 -1
  388. package/dist/esm/calcite-switch.entry.js +3 -3
  389. package/dist/esm/calcite-table-cell_2.entry.js +3 -3
  390. package/dist/esm/calcite-table-row.entry.js +1 -1
  391. package/dist/esm/calcite-table.entry.js +3 -3
  392. package/dist/esm/calcite-text-area.entry.js +4 -4
  393. package/dist/esm/calcite-tile-select-group.entry.js +1 -1
  394. package/dist/esm/calcite-tile-select.entry.js +2 -2
  395. package/dist/esm/calcite-tile.entry.js +2 -2
  396. package/dist/esm/calcite-time-picker.entry.js +3 -3
  397. package/dist/esm/calcite-tip-group.entry.js +1 -1
  398. package/dist/esm/calcite-tip-manager.entry.js +3 -3
  399. package/dist/esm/calcite-tip.entry.js +4 -4
  400. package/dist/esm/card-manager_3.entry.js +15 -12
  401. package/dist/{collection/components/buffer-tools/test/buffer-tools.e2e.js → esm/common-e4a8e353.js} +15 -9
  402. package/dist/esm/{conditionalSlot-1fee63c6.js → conditionalSlot-7a5c509c.js} +1 -1
  403. package/dist/esm/crowdsource-manager.entry.js +14 -9
  404. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  405. package/dist/esm/{cs-6b705d4a.js → cs-38f3de9d.js} +5 -5
  406. package/dist/esm/{da-98fb2f82.js → da-6ef39f6c.js} +5 -5
  407. package/dist/esm/{de-8c50f5a9.js → de-6aef04c8.js} +5 -5
  408. package/dist/esm/{de-at-1691a616.js → de-at-6617bb68.js} +5 -5
  409. package/dist/esm/{de-ch-79a84498.js → de-ch-552d1170.js} +5 -5
  410. package/dist/esm/deduct-calculator.entry.js +1 -1
  411. package/dist/esm/{downloadUtils-287994b1.js → downloadUtils-13d9188b.js} +3 -3
  412. package/dist/esm/edit-card_2.entry.js +7 -6
  413. package/dist/esm/{el-190e7ae2.js → el-36c2f66f.js} +5 -5
  414. package/dist/esm/{en-au-0ef540f4.js → en-au-d58f85c1.js} +5 -5
  415. package/dist/esm/{en-ca-7620d498.js → en-ca-1693b17f.js} +5 -5
  416. package/dist/esm/{en-gb-9979e5e6.js → en-gb-827d54cc.js} +5 -5
  417. package/dist/esm/{es-684f674f.js → es-adb3fd4e.js} +5 -5
  418. package/dist/esm/{es-mx-6557f849.js → es-mx-82199d09.js} +5 -5
  419. package/dist/esm/{et-39dc88ee.js → et-af7f407f.js} +5 -5
  420. package/dist/esm/{fi-ae888a7e.js → fi-37c08e8e.js} +5 -5
  421. package/dist/esm/{form-65431957.js → form-a6c0a47e.js} +1 -1
  422. package/dist/esm/{fr-0f3e5633.js → fr-1dbd68cf.js} +5 -5
  423. package/dist/esm/{fr-ch-1d3f3d8b.js → fr-ch-0da3f9d5.js} +5 -5
  424. package/dist/esm/{he-ded822de.js → he-970bc7e6.js} +5 -5
  425. package/dist/esm/{hi-2ac80022.js → hi-e332f8ea.js} +5 -5
  426. package/dist/esm/{hr-394e5f6e.js → hr-e7103f84.js} +5 -5
  427. package/dist/esm/{hu-20e6d5bf.js → hu-876d56a7.js} +5 -5
  428. package/dist/esm/{id-b3e29596.js → id-c53da15f.js} +5 -5
  429. package/dist/esm/{index-c7de2486.js → index-0740c914.js} +48 -18
  430. package/dist/esm/{index-f4bd5aa3.js → index-71d123d4.js} +1 -1
  431. package/dist/esm/{index.es-a3f8409f.js → index.es-edd974bc.js} +4 -4
  432. package/dist/esm/{it-ch-310cd66d.js → it-ch-c7aeaf03.js} +5 -5
  433. package/dist/esm/{it-fd4ce07f.js → it-f98d068c.js} +5 -5
  434. package/dist/esm/{ja-491a796f.js → ja-596aa74d.js} +5 -5
  435. package/dist/esm/{ko-4b0e597a.js → ko-bdf2643b.js} +5 -5
  436. package/dist/esm/layout-manager.entry.js +2 -2
  437. package/dist/esm/list-item.entry.js +1 -1
  438. package/dist/esm/{loadModules-2880c7e3.js → loadModules-687a30c5.js} +1 -1
  439. package/dist/esm/{loadable-d0274dee.js → loadable-54096620.js} +1 -1
  440. package/dist/esm/loader.js +3 -3
  441. package/dist/esm/{locale-9624832c.js → locale-6be4e8f0.js} +1 -1
  442. package/dist/esm/{lt-e3b6faa8.js → lt-029144ad.js} +5 -5
  443. package/dist/esm/{lv-843c127b.js → lv-00292bd8.js} +5 -5
  444. package/dist/esm/map-select-tools_3.entry.js +6 -6
  445. package/dist/esm/{mk-7d312f03.js → mk-ca84aaa7.js} +5 -5
  446. package/dist/esm/{nb-2e44a8ff.js → nb-3a17d242.js} +5 -5
  447. package/dist/esm/{nl-672e572a.js → nl-42fe3f2b.js} +5 -5
  448. package/dist/esm/{openCloseComponent-c3d01cbc.js → openCloseComponent-fd76e488.js} +1 -1
  449. package/dist/esm/pci-calculator.entry.js +1 -1
  450. package/dist/esm/{pl-2d04d234.js → pl-8ccccfb6.js} +5 -5
  451. package/dist/esm/{pt-03401582.js → pt-470ef28a.js} +5 -5
  452. package/dist/esm/{pt-br-d672a5e9.js → pt-br-15c5e95d.js} +5 -5
  453. package/dist/esm/public-notification.entry.js +6 -6
  454. package/dist/esm/{publicNotificationStore-dcf39a55.js → publicNotificationStore-f25d1e95.js} +1 -1
  455. package/dist/esm/{ro-af820149.js → ro-6ccfabcf.js} +5 -5
  456. package/dist/esm/{ru-1a0cd9d9.js → ru-4ca6ea5c.js} +5 -5
  457. package/dist/esm/{shared-list-render-e8aa5fa4.js → shared-list-render-0d4accf0.js} +1 -1
  458. package/dist/esm/{sk-1e1c79eb.js → sk-d2cc438e.js} +5 -5
  459. package/dist/esm/{sl-a99cc70f.js → sl-fa960833.js} +5 -5
  460. package/dist/esm/solution-configuration.entry.js +5 -4
  461. package/dist/esm/solution-contents_3.entry.js +22 -21257
  462. package/dist/esm/solution-item-icon.entry.js +323 -0
  463. package/dist/esm/{solution-store-b29d50f7.js → solution-resource-be35d35b.js} +1 -1697
  464. package/dist/esm/solution-store-3ee6c7a3.js +1704 -0
  465. package/dist/esm/solutions-components.js +4 -4
  466. package/dist/esm/spatial-ref.entry.js +21289 -0
  467. package/dist/esm/{sr-17c90387.js → sr-e13a01d0.js} +5 -5
  468. package/dist/esm/store-manager.entry.js +1 -1
  469. package/dist/esm/{sv-3a1f0f81.js → sv-ce009db9.js} +5 -5
  470. package/dist/esm/{t9n-142cc7d6.js → t9n-1eaba69b.js} +1 -1
  471. package/dist/esm/{th-5b5e589e.js → th-bd60a4c0.js} +5 -5
  472. package/dist/esm/{tr-2abb582d.js → tr-b117b905.js} +5 -5
  473. package/dist/esm/{uk-c4017d1c.js → uk-d75d58c8.js} +5 -5
  474. package/dist/esm/{utils-25bc3baa.js → utils-bc49354a.js} +1 -1
  475. package/dist/esm/{vi-7fcdb1c9.js → vi-d7057f94.js} +5 -5
  476. package/dist/esm/{zh-cn-dd3f8e1a.js → zh-cn-21968b0c.js} +5 -5
  477. package/dist/esm/{zh-hk-c3cc3efa.js → zh-hk-848e7600.js} +5 -5
  478. package/dist/esm/{zh-tw-9795e61e.js → zh-tw-9930054d.js} +5 -5
  479. package/dist/solutions-components/demos/crowdsource-manager.html +4 -0
  480. package/dist/solutions-components/demos/solution-spatial-ref.html +9 -16
  481. package/dist/solutions-components/demos/spatial-ref.html +53 -0
  482. package/dist/solutions-components/{p-5ce6c4f9.js → p-0014f93f.js} +1 -1
  483. package/dist/solutions-components/{p-172c2ff8.js → p-01a8ab25.js} +1 -1
  484. package/dist/solutions-components/{p-01b8dcb9.entry.js → p-01f06f9a.entry.js} +1 -1
  485. package/dist/solutions-components/{p-794f5ecf.entry.js → p-02637c3c.entry.js} +1 -1
  486. package/dist/solutions-components/{p-b08b69f3.entry.js → p-0272b972.entry.js} +3 -3
  487. package/dist/solutions-components/{p-34471053.entry.js → p-037f2f52.entry.js} +1 -1
  488. package/dist/solutions-components/{p-31c9aa38.entry.js → p-04660d48.entry.js} +1 -1
  489. package/dist/solutions-components/{p-d67cd53a.entry.js → p-04735c27.entry.js} +1 -1
  490. package/dist/solutions-components/{p-0dab4c93.js → p-05948b48.js} +1 -1
  491. package/dist/solutions-components/{p-04115935.entry.js → p-06bc850e.entry.js} +1 -1
  492. package/dist/solutions-components/{p-3f749459.entry.js → p-08b96a9c.entry.js} +1 -1
  493. package/dist/solutions-components/{p-77b3a53c.entry.js → p-09dda965.entry.js} +2 -2
  494. package/dist/solutions-components/{p-64d29ba2.entry.js → p-0aac33f5.entry.js} +2 -2
  495. package/dist/solutions-components/p-0d773964.entry.js +6 -0
  496. package/dist/solutions-components/{p-2e8ac8d0.entry.js → p-10131b72.entry.js} +1 -1
  497. package/dist/solutions-components/{p-745c7800.js → p-10f990d1.js} +1 -1
  498. package/dist/solutions-components/{p-267b290f.js → p-112c7f0b.js} +1 -1
  499. package/dist/solutions-components/p-12e15eaa.js +11 -0
  500. package/dist/solutions-components/{p-4d942b0f.entry.js → p-13b21d19.entry.js} +2 -2
  501. package/dist/solutions-components/{p-25489aec.entry.js → p-1468af6d.entry.js} +1 -1
  502. package/dist/solutions-components/{p-768de060.entry.js → p-15b2c977.entry.js} +1 -1
  503. package/dist/solutions-components/{p-280fcaab.entry.js → p-1ac699f8.entry.js} +1 -1
  504. package/dist/{collection/components/map-card/test/map-card.e2e.js → solutions-components/p-1b228f97.js} +2 -10
  505. package/dist/solutions-components/{p-9c79de73.entry.js → p-1b5fdc60.entry.js} +1 -1
  506. package/dist/solutions-components/{p-7810711d.js → p-1ed04a5a.js} +1 -1
  507. package/dist/solutions-components/{p-035a137a.entry.js → p-1fcee160.entry.js} +1 -1
  508. package/dist/solutions-components/p-2040681e.js +6 -0
  509. package/dist/solutions-components/{p-6b5f3b85.entry.js → p-22025739.entry.js} +1 -1
  510. package/dist/solutions-components/p-22edbea5.entry.js +6 -0
  511. package/dist/solutions-components/{p-129e03dd.entry.js → p-236b2000.entry.js} +1 -1
  512. package/dist/solutions-components/{p-fedd0f22.js → p-2406fda3.js} +1 -1
  513. package/dist/solutions-components/{p-7e378eb0.js → p-272018eb.js} +1 -1
  514. package/dist/solutions-components/{p-f524cc5b.entry.js → p-27492081.entry.js} +1 -1
  515. package/dist/solutions-components/{p-6fd92ce9.entry.js → p-296909a6.entry.js} +1 -1
  516. package/dist/solutions-components/{p-45f50640.js → p-29e42601.js} +1 -1
  517. package/dist/solutions-components/{p-b6babf4d.js → p-2a23b33c.js} +1 -1
  518. package/dist/solutions-components/{p-1139acc7.js → p-2b749168.js} +1 -1
  519. package/dist/solutions-components/{p-430a06d9.js → p-2ed7930b.js} +1 -1
  520. package/dist/solutions-components/{p-bb2a526a.entry.js → p-2ffbb0aa.entry.js} +1 -1
  521. package/dist/solutions-components/{p-baac72ec.entry.js → p-32d8a04d.entry.js} +1 -1
  522. package/dist/solutions-components/{p-b8859882.entry.js → p-33247dbf.entry.js} +1 -1
  523. package/dist/solutions-components/{p-3399ccfd.js → p-345a4781.js} +1 -1
  524. package/dist/solutions-components/{p-1ab414e0.js → p-375fd36b.js} +2 -2
  525. package/dist/solutions-components/{p-1cb9e670.js → p-38dcc542.js} +1 -1
  526. package/dist/solutions-components/{p-4b31c994.entry.js → p-41ee9121.entry.js} +1 -1
  527. package/dist/solutions-components/{p-7f76fe11.js → p-44f8ec67.js} +1 -1
  528. package/dist/solutions-components/{p-cc462e38.js → p-482534a7.js} +1 -1
  529. package/dist/solutions-components/{p-cbd1313c.entry.js → p-499bc634.entry.js} +2 -2
  530. package/dist/solutions-components/{p-80fea327.js → p-4a382f62.js} +1 -1
  531. package/dist/solutions-components/{p-4a3cdcab.js → p-4caa1f9d.js} +1 -1
  532. package/dist/solutions-components/{p-3166f85f.entry.js → p-4dd80a57.entry.js} +1 -1
  533. package/dist/solutions-components/{p-34a6324f.js → p-4f35e0b8.js} +1 -1
  534. package/dist/solutions-components/{p-b0f131a3.entry.js → p-521e30a8.entry.js} +1 -1
  535. package/dist/solutions-components/{p-0a883f51.entry.js → p-52db1792.entry.js} +1 -1
  536. package/dist/solutions-components/{p-f913ed49.entry.js → p-52f0f3ad.entry.js} +1 -1
  537. package/dist/solutions-components/{p-3cc30e11.entry.js → p-53fe14b3.entry.js} +1 -1
  538. package/dist/solutions-components/p-573d2241.entry.js +18 -0
  539. package/dist/solutions-components/{p-19c5e43e.entry.js → p-575f731c.entry.js} +1 -1
  540. package/dist/solutions-components/{p-60395ffe.entry.js → p-579cc100.entry.js} +1 -1
  541. package/dist/solutions-components/{p-b1b646e2.js → p-57f2b4f9.js} +1 -1
  542. package/dist/solutions-components/{p-698c6a56.js → p-58c2de0d.js} +2 -2
  543. package/dist/solutions-components/{p-6e8a194d.js → p-58da33ce.js} +1 -1
  544. package/dist/solutions-components/{p-bf528ffd.js → p-595b6177.js} +1 -1
  545. package/dist/solutions-components/{p-ba5bb069.js → p-5c83c577.js} +1 -1
  546. package/dist/solutions-components/{p-d32b683a.js → p-5dc13b6d.js} +2 -2
  547. package/dist/solutions-components/{p-15a9fe95.entry.js → p-5e8dee25.entry.js} +1 -1
  548. package/dist/solutions-components/{p-344f18cb.js → p-61f3b001.js} +1 -1
  549. package/dist/solutions-components/{p-469c8f8a.js → p-63a6c23c.js} +1 -1
  550. package/dist/solutions-components/{p-eb58da32.entry.js → p-649e12c3.entry.js} +1 -1
  551. package/dist/solutions-components/{p-4a1177cb.js → p-6610bad4.js} +1 -1
  552. package/dist/solutions-components/{p-c6ec3442.js → p-66380f26.js} +1 -1
  553. package/dist/solutions-components/{p-5ef595d1.entry.js → p-672d79f2.entry.js} +1 -1
  554. package/dist/solutions-components/{p-936f3d55.js → p-68b33cb6.js} +1 -1
  555. package/dist/solutions-components/{p-78d2e50c.entry.js → p-6954fc16.entry.js} +1 -1
  556. package/dist/solutions-components/{p-ab1136be.entry.js → p-6d50909d.entry.js} +1 -1
  557. package/dist/solutions-components/{p-7501734c.js → p-6e5bbdbd.js} +1 -1
  558. package/dist/solutions-components/{p-bca7e7eb.entry.js → p-6e89bbec.entry.js} +1 -1
  559. package/dist/solutions-components/{p-9d8f7215.js → p-6eecc279.js} +1 -1
  560. package/dist/solutions-components/{p-4797a3cf.entry.js → p-6f012379.entry.js} +1 -1
  561. package/dist/solutions-components/{p-8bed242f.entry.js → p-70c370a9.entry.js} +1 -1
  562. package/dist/solutions-components/{p-eaf5987f.js → p-71d0f30c.js} +1 -1
  563. package/dist/solutions-components/{p-cef70b7a.entry.js → p-740ef07f.entry.js} +1 -1
  564. package/dist/solutions-components/{p-dfd2bfd2.entry.js → p-7758f01f.entry.js} +1 -1
  565. package/dist/solutions-components/{p-14476bd9.js → p-7814f6db.js} +1 -1
  566. package/dist/solutions-components/{p-92ad7b80.entry.js → p-790dac6b.entry.js} +1 -1
  567. package/dist/solutions-components/{p-4e1cd165.entry.js → p-79396110.entry.js} +1 -1
  568. package/dist/solutions-components/p-79c55b19.entry.js +6 -0
  569. package/dist/solutions-components/{p-c52751f2.js → p-7c23c4cd.js} +1 -1
  570. package/dist/solutions-components/{p-c53e947f.entry.js → p-7d347571.entry.js} +1 -1
  571. package/dist/solutions-components/p-7d7b7536.entry.js +21 -0
  572. package/dist/solutions-components/{p-2a4dee2f.entry.js → p-7e2220d7.entry.js} +1 -1
  573. package/dist/solutions-components/{p-07163369.entry.js → p-7e6b953a.entry.js} +1 -1
  574. package/dist/solutions-components/{p-d65c4d90.entry.js → p-7f8be8cd.entry.js} +1 -1
  575. package/dist/solutions-components/{p-d2f24ad1.js → p-81a962c3.js} +1 -1
  576. package/dist/solutions-components/{p-2bfb8046.entry.js → p-85287a5e.entry.js} +2 -2
  577. package/dist/solutions-components/{p-76aba0ae.entry.js → p-892075e5.entry.js} +2 -2
  578. package/dist/solutions-components/{p-1603e9ff.js → p-89fc9c87.js} +2 -2
  579. package/dist/solutions-components/{p-3abd1256.entry.js → p-8cf4fd05.entry.js} +1 -1
  580. package/dist/solutions-components/{p-45489c38.js → p-903aa065.js} +1 -1
  581. package/dist/solutions-components/p-91c78d98.js +7 -0
  582. package/dist/solutions-components/{p-96fe0805.entry.js → p-947d032f.entry.js} +1 -1
  583. package/dist/solutions-components/{p-0c48d072.js → p-965495c7.js} +1 -1
  584. package/dist/solutions-components/{p-e755a394.entry.js → p-9654f62f.entry.js} +1 -1
  585. package/dist/solutions-components/{p-423e9751.entry.js → p-97082d8d.entry.js} +1 -1
  586. package/dist/solutions-components/{p-22833bd3.js → p-99d8a839.js} +1 -1
  587. package/dist/solutions-components/{p-af7c14db.js → p-9b3e8d42.js} +1 -1
  588. package/dist/solutions-components/{p-57e866b8.js → p-9c5e66fe.js} +1 -1
  589. package/dist/solutions-components/{p-f57ac880.entry.js → p-9de59894.entry.js} +1 -1
  590. package/dist/solutions-components/{p-73fb22e6.js → p-9f7d7413.js} +1 -1
  591. package/dist/solutions-components/p-a3ef570f.entry.js +6 -0
  592. package/dist/solutions-components/{p-2c551d05.entry.js → p-a4328542.entry.js} +1 -1
  593. package/dist/solutions-components/{p-1930b17b.js → p-a452c2a8.js} +1 -1
  594. package/dist/solutions-components/{p-b955d734.entry.js → p-a62ec89b.entry.js} +1 -1
  595. package/dist/solutions-components/{p-30d623da.js → p-a6cf2623.js} +2 -2
  596. package/dist/solutions-components/{p-8cb140c1.js → p-a7d5752b.js} +1 -1
  597. package/dist/solutions-components/p-a8a80924.entry.js +6 -0
  598. package/dist/solutions-components/{p-ef7f84f3.js → p-ab857e6d.js} +1 -1
  599. package/dist/solutions-components/p-ac7332b3.entry.js +6 -0
  600. package/dist/solutions-components/{p-9b274fb7.entry.js → p-ae443c91.entry.js} +1 -1
  601. package/dist/solutions-components/{p-90da2ee4.entry.js → p-af25c24c.entry.js} +3 -3
  602. package/dist/solutions-components/{p-02306194.entry.js → p-af68933d.entry.js} +1 -1
  603. package/dist/solutions-components/{p-f21953d6.js → p-b73319e1.js} +1 -1
  604. package/dist/solutions-components/{p-6767ad18.entry.js → p-bb6f49fb.entry.js} +1 -1
  605. package/dist/solutions-components/{p-732d1f36.entry.js → p-bf48be66.entry.js} +1 -1
  606. package/dist/solutions-components/{p-6fd5cad1.js → p-c1a86a7f.js} +1 -1
  607. package/dist/solutions-components/{p-1f555ffc.js → p-c347875f.js} +1 -1
  608. package/dist/solutions-components/{p-f670a739.js → p-c5fd52fa.js} +1 -1
  609. package/dist/solutions-components/{p-2379bf72.entry.js → p-c69de0fa.entry.js} +1 -1
  610. package/dist/solutions-components/{p-7c5eaf19.js → p-c6c4ed96.js} +1 -1
  611. package/dist/solutions-components/{p-3c5c1487.entry.js → p-ceffb944.entry.js} +2 -2
  612. package/dist/solutions-components/{p-e01bf2ec.entry.js → p-cfdb15b7.entry.js} +1 -1
  613. package/dist/solutions-components/p-d0544f24.js +192 -0
  614. package/dist/solutions-components/{p-01eb495b.entry.js → p-d2fab6cd.entry.js} +1 -1
  615. package/dist/solutions-components/{p-7749e304.entry.js → p-d31fe523.entry.js} +1 -1
  616. package/dist/solutions-components/{p-6ac61b3a.entry.js → p-d9229a22.entry.js} +1 -1
  617. package/dist/solutions-components/{p-e28bec90.js → p-dac63a50.js} +1 -1
  618. package/dist/solutions-components/{p-252a1df3.entry.js → p-dc38fe60.entry.js} +1 -1
  619. package/dist/solutions-components/{p-753da967.entry.js → p-dd7e8e5d.entry.js} +1 -1
  620. package/dist/solutions-components/{p-28238078.js → p-dec91018.js} +1 -1
  621. package/dist/solutions-components/{p-734cb206.entry.js → p-e03226cf.entry.js} +1 -1
  622. package/dist/solutions-components/{p-493efa67.entry.js → p-e4bd7ed1.entry.js} +1 -1
  623. package/dist/solutions-components/{p-12faff7c.js → p-e5e60190.js} +1 -1
  624. package/dist/solutions-components/{p-e4a3a8a2.entry.js → p-e770c412.entry.js} +1 -1
  625. package/dist/solutions-components/{p-38eb91d3.js → p-e7c11602.js} +1 -1
  626. package/dist/solutions-components/{p-b27c416e.entry.js → p-e851ead7.entry.js} +1 -1
  627. package/dist/solutions-components/{p-9f193b28.entry.js → p-e85ee6f1.entry.js} +1 -1
  628. package/dist/solutions-components/{p-d89050c9.js → p-e9148c7b.js} +2 -2
  629. package/dist/solutions-components/{p-2c99a243.js → p-e9ae9ec7.js} +1 -1
  630. package/dist/solutions-components/{p-8abdcfa4.js → p-e9f128b3.js} +1 -1
  631. package/dist/solutions-components/{p-1d84e73c.js → p-eb5e6881.js} +1 -1
  632. package/dist/solutions-components/{p-bfc9d4b0.entry.js → p-ecd5e842.entry.js} +1 -1
  633. package/dist/solutions-components/{p-66dd455f.entry.js → p-f2c3068e.entry.js} +1 -1
  634. package/dist/solutions-components/{p-86885106.js → p-f53a8e59.js} +1 -1
  635. package/dist/solutions-components/{p-cb6bba8a.entry.js → p-f5523c9d.entry.js} +2 -2
  636. package/dist/solutions-components/{p-b6e89988.entry.js → p-fa124fdf.entry.js} +1 -1
  637. package/dist/solutions-components/{p-29c26a5d.entry.js → p-fa3732fa.entry.js} +1 -1
  638. package/dist/solutions-components/{p-69cb8427.js → p-fad93fd0.js} +1 -1
  639. package/dist/solutions-components/{p-d22be647.entry.js → p-fb1a6e2e.entry.js} +1 -1
  640. package/dist/solutions-components/{p-71fb484a.entry.js → p-fc0ca498.entry.js} +2 -2
  641. package/dist/solutions-components/p-ff0d7712.js +44 -0
  642. package/dist/solutions-components/{p-e39f0574.js → p-ff40cfb2.js} +1 -1
  643. package/dist/solutions-components/{p-ff4351b7.entry.js → p-ff863f16.entry.js} +1 -1
  644. package/dist/solutions-components/{p-016f47e2.entry.js → p-ffb567ab.entry.js} +1 -1
  645. package/dist/solutions-components/solutions-components.esm.js +1 -1
  646. package/dist/solutions-components/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
  647. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +9 -1
  648. package/dist/types/components/floor-filter/floor-filter.d.ts +65 -0
  649. package/dist/types/components/layer-table/layer-table.d.ts +4 -0
  650. package/dist/types/components/map-card/map-card.d.ts +4 -0
  651. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +9 -5
  652. package/dist/types/components/map-tools/map-tools.d.ts +24 -0
  653. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +11 -93
  654. package/dist/types/components/spatial-ref/spatial-ref.d.ts +142 -0
  655. package/dist/types/components.d.ts +131 -16
  656. package/dist/types/preact.d.ts +8 -1
  657. package/dist/types/stencil-public-runtime.d.ts +3 -3
  658. package/package.json +6 -6
  659. package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -136
  660. package/dist/collection/components/basemap-gallery/test/basemap-gallery.e2e.js +0 -29
  661. package/dist/collection/components/basemap-gallery/test/basemap-gallery.spec.js +0 -37
  662. package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -160
  663. package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -37
  664. package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -29
  665. package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -37
  666. package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -29
  667. package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -37
  668. package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -29
  669. package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -37
  670. package/dist/collection/components/edit-card/test/edit-card.e2e.js +0 -14
  671. package/dist/collection/components/edit-card/test/edit-card.spec.js +0 -22
  672. package/dist/collection/components/info-card/test/info-card.e2e.js +0 -29
  673. package/dist/collection/components/info-card/test/info-card.spec.js +0 -37
  674. package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -36
  675. package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -65
  676. package/dist/collection/components/layer-table/test/layer-table.e2e.js +0 -29
  677. package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -37
  678. package/dist/collection/components/layout-manager/test/layout-manager.e2e.js +0 -29
  679. package/dist/collection/components/layout-manager/test/layout-manager.spec.js +0 -37
  680. package/dist/collection/components/list-item/test/list-item.e2e.js +0 -29
  681. package/dist/collection/components/list-item/test/list-item.spec.js +0 -37
  682. package/dist/collection/components/map-card/test/map-card.spec.js +0 -37
  683. package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -29
  684. package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -37
  685. package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +0 -29
  686. package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +0 -37
  687. package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -29
  688. package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -114
  689. package/dist/collection/components/map-legend/test/map-legend.e2e.js +0 -14
  690. package/dist/collection/components/map-legend/test/map-legend.spec.js +0 -22
  691. package/dist/collection/components/map-picker/test/map-picker.e2e.js +0 -29
  692. package/dist/collection/components/map-picker/test/map-picker.spec.js +0 -37
  693. package/dist/collection/components/map-search/test/map-search.e2e.js +0 -29
  694. package/dist/collection/components/map-search/test/map-search.spec.js +0 -37
  695. package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -29
  696. package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -366
  697. package/dist/collection/components/map-tools/test/map-tools.e2e.js +0 -29
  698. package/dist/collection/components/map-tools/test/map-tools.spec.js +0 -37
  699. package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -29
  700. package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -37
  701. package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -76
  702. package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -107
  703. package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -161
  704. package/dist/collection/components/refine-selection/test/refine-selection.e2e.js +0 -14
  705. package/dist/collection/components/refine-selection/test/refine-selection.spec.js +0 -22
  706. package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -36
  707. package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -119
  708. package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -94
  709. package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -143
  710. package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -36
  711. package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -77
  712. package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -36
  713. package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -142
  714. package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -29
  715. package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -39
  716. package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -36
  717. package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -54
  718. package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -36
  719. package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -65
  720. package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -36
  721. package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -55
  722. package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -36
  723. package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -60
  724. package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -36
  725. package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -131
  726. package/dist/esm/calcite-checkbox.entry.js +0 -132
  727. package/dist/solutions-components/p-17d176b5.js +0 -230
  728. package/dist/solutions-components/p-1d9a5198.entry.js +0 -37
  729. package/dist/solutions-components/p-33613993.js +0 -7
  730. package/dist/solutions-components/p-3707d9bd.entry.js +0 -6
  731. package/dist/solutions-components/p-41bbccbc.entry.js +0 -6
  732. package/dist/solutions-components/p-4f2fce86.entry.js +0 -6
  733. package/dist/solutions-components/p-5079b190.js +0 -11
  734. package/dist/solutions-components/p-5ffaaaf4.entry.js +0 -6
  735. package/dist/solutions-components/p-736e76fb.entry.js +0 -17
  736. package/dist/solutions-components/p-dda517b9.entry.js +0 -6
  737. package/dist/solutions-components/p-fec5368b.js +0 -6
  738. /package/dist/collection/components/{solution-spatial-ref → spatial-ref}/spatialreferences.js +0 -0
  739. /package/dist/types/components/{solution-spatial-ref → spatial-ref}/spatialreferences.d.ts +0 -0
@@ -0,0 +1,44 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{c as t,a as r,b as i}from"./p-e1a4994d.js";
7
+ /** @license
8
+ * Copyright 2018 Esri
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */
22
+ const n=1;var e,o,s;!function(t){t[t.Data=0]="Data",t[t.Info=1]="Info",t[t.Metadata=2]="Metadata",t[t.Resource=3]="Resource",t[t.Thumbnail=4]="Thumbnail"}(e||(e={})),function(t){t[t.Data=0]="Data",t[t.Info=1]="Info",t[t.Metadata=2]="Metadata",t[t.Resource=3]="Resource",t[t.Thumbnail=4]="Thumbnail"}(o||(o={})),function(t){t[t.Started=0]="Started",t[t.Created=1]="Created",t[t.Cancelled=2]="Cancelled",t[t.Finished=3]="Finished",t[t.Ignored=4]="Ignored",t[t.Failed=5]="Failed",t[t.Unknown=6]="Unknown"}(s||(s={}));var a=t((function(t){
23
+ /*!
24
+
25
+ JSZip v3.10.1 - A JavaScript class for generating and reading zip files
26
+ <http://stuartk.com/jszip>
27
+
28
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
29
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
30
+
31
+ JSZip uses the library pako released under the MIT license :
32
+ https://github.com/nodeca/pako/blob/main/LICENSE
33
+ */
34
+ t.exports=function t(r,n,e){function o(a,f){if(!n[a]){if(!r[a]){var u="function"==typeof i&&i;if(!f&&u)return u(a,!0);if(s)return s(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var h=n[a]={exports:{}};r[a][0].call(h.exports,(function(t){return o(r[a][1][t]||t)}),h,h.exports,t,r,n,e)}return n[a].exports}for(var s="function"==typeof i&&i,a=0;a<e.length;a++)o(e[a]);return o}({1:[function(t,r,i){var n=t("./utils"),e=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(t){for(var r,i,e,s,a,f,u=[],c=0,h=t.length,l=h,d="string"!==n.getTypeOf(t);c<t.length;)l=h-c,e=d?(r=t[c++],i=c<h?t[c++]:0,c<h?t[c++]:0):(r=t.charCodeAt(c++),i=c<h?t.charCodeAt(c++):0,c<h?t.charCodeAt(c++):0),s=(3&r)<<4|i>>4,a=1<l?(15&i)<<2|e>>6:64,f=2<l?63&e:64,u.push(o.charAt(r>>2)+o.charAt(s)+o.charAt(a)+o.charAt(f));return u.join("")},i.decode=function(t){var r,i,n,s,a,f,u=0,c=0,h="data:";if(t.substr(0,5)===h)throw new Error("Invalid base64 input, it looks like a data url.");var l,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&d--,t.charAt(t.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=e.uint8array?new Uint8Array(0|d):new Array(0|d);u<t.length;)r=o.indexOf(t.charAt(u++))<<2|(s=o.indexOf(t.charAt(u++)))>>4,i=(15&s)<<4|(a=o.indexOf(t.charAt(u++)))>>2,n=(3&a)<<6|(f=o.indexOf(t.charAt(u++))),l[c++]=r,64!==a&&(l[c++]=i),64!==f&&(l[c++]=n);return l}},{"./support":30,"./utils":32}],2:[function(t,r){var i=t("./external"),n=t("./stream/DataWorker"),e=t("./stream/Crc32Probe"),o=t("./stream/DataLengthProbe");function s(t,r,i,n,e){this.compressedSize=t,this.uncompressedSize=r,this.crc32=i,this.compression=n,this.compressedContent=e}s.prototype={getContentWorker:function(){var t=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),r=this;return t.on("end",(function(){if(this.streamInfo.data_length!==r.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,r,i){return t.pipe(new e).pipe(new o("uncompressedSize")).pipe(r.compressWorker(i)).pipe(new o("compressedSize")).withStreamInfo("compression",r)},r.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,r,i){var n=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,r){var i=t("./utils"),n=function(){for(var t,r=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;r[i]=t}return r}();r.exports=function(t,r){return void 0!==t&&t.length?"string"!==i.getTypeOf(t)?function(t,r,i){var e=n,o=0+i;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^r[s])];return-1^t}(0|r,t,t.length):function(t,r,i){var e=n,o=0+i;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^r.charCodeAt(s))];return-1^t}(0|r,t,t.length):0}},{"./utils":32}],5:[function(t,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(t,r){var i;i="undefined"!=typeof Promise?Promise:t("lie"),r.exports={Promise:i}},{lie:37}],7:[function(t,r,i){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=t("pako"),o=t("./utils"),s=t("./stream/GenericWorker"),a=n?"uint8array":"array";function f(t,r){s.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=r,this.meta={}}i.magic="\b\0",o.inherits(f,s),f.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,t.data),!1)},f.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},f.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},f.prototype._createPako=function(){this._pako=new e[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(r){t.push({data:r,meta:t.meta})}},i.compressWorker=function(t){return new f("Deflate",t)},i.uncompressWorker=function(){return new f("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,r){function i(t,r){var i,n="";for(i=0;i<r;i++)n+=String.fromCharCode(255&t),t>>>=8;return n}function n(t,r,n,o,u,c){var h,l,d=t.file,p=t.compression,m=c!==s.utf8encode,v=e.transformTo("string",c(d.name)),b=e.transformTo("string",s.utf8encode(d.name)),g=d.comment,w=e.transformTo("string",c(g)),y=e.transformTo("string",s.utf8encode(g)),k=b.length!==d.name.length,x=y.length!==g.length,A="",E="",z="",S=d.dir,j=d.date,U={crc32:0,compressedSize:0,uncompressedSize:0};r&&!n||(U.crc32=t.crc32,U.compressedSize=t.compressedSize,U.uncompressedSize=t.uncompressedSize);var O=0;r&&(O|=8),m||!k&&!x||(O|=2048);var R=0,B=0;S&&(R|=16),"UNIX"===u?(B=798,R|=function(t,r){var i=t;return t||(i=r?16893:33204),(65535&i)<<16}(d.unixPermissions,S)):(B=20,R|=function(t){return 63&(t||0)}(d.dosPermissions)),h=j.getUTCHours(),h<<=6,h|=j.getUTCMinutes(),h<<=5,h|=j.getUTCSeconds()/2,l=j.getUTCFullYear()-1980,l<<=4,l|=j.getUTCMonth()+1,l<<=5,l|=j.getUTCDate(),k&&(E=i(1,1)+i(a(v),4)+b,A+="up"+i(E.length,2)+E),x&&(z=i(1,1)+i(a(w),4)+y,A+="uc"+i(z.length,2)+z);var C="";return C+="\n\0",C+=i(O,2),C+=p.magic,C+=i(h,2),C+=i(l,2),C+=i(U.crc32,4),C+=i(U.compressedSize,4),C+=i(U.uncompressedSize,4),C+=i(v.length,2),C+=i(A.length,2),{fileRecord:f.LOCAL_FILE_HEADER+C+v+A,dirRecord:f.CENTRAL_FILE_HEADER+i(B,2)+C+i(w.length,2)+"\0\0\0\0"+i(R,4)+i(o,4)+v+A+w}}var e=t("../utils"),o=t("../stream/GenericWorker"),s=t("../utf8"),a=t("../crc32"),f=t("../signature");function u(t,r,i,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=r,this.zipPlatform=i,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(u,o),u.prototype.push=function(t){var r=t.meta.percent||0,i=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:i?(r+100*(i-n-1))/i:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var r=this.streamFiles&&!t.file.dir;if(r){var i=n(t,r,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var r=this.streamFiles&&!t.file.dir,e=n(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),r)this.push({data:function(t){return f.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,r=0;r<this.dirRecords.length;r++)this.push({data:this.dirRecords[r],meta:{percent:100}});var n=function(t,r,n,o,s){var a=e.transformTo("string",s(o));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(t,2)+i(t,2)+i(r,4)+i(n,4)+i(a.length,2)+a}(this.dirRecords.length,this.bytesWritten-t,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.closedSource(r.previous.streamInfo),r._sources.length?r.prepareNextSource():r.end()})),t.on("error",(function(t){r.error(t)})),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var r=this._sources;if(!o.prototype.error.call(this,t))return!1;for(var i=0;i<r.length;i++)try{r[i].error(t)}catch(t){}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var t=this._sources,r=0;r<t.length;r++)t[r].lock()},r.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,r,i){var n=t("../compressions"),e=t("./ZipFileWorker");i.generateWorker=function(t,r,i){var o=new e(r.streamFiles,i,r.platform,r.encodeFileName),s=0;try{t.forEach((function(t,i){s++;var e=function(t,r){var i=t||r,e=n[i];if(!e)throw new Error(i+" is not a valid compression method !");return e}(i.options.compression,r.compression),a=i.dir,f=i.date;i._compressWorker(e,i.options.compressionOptions||r.compressionOptions||{}).withStreamInfo("file",{name:t,dir:a,date:f,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(o)})),o.entriesCount=s}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,r){function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new i;for(var r in this)"function"!=typeof this[r]&&(t[r]=this[r]);return t}}(i.prototype=t("./object")).loadAsync=t("./load"),i.support=t("./support"),i.defaults=t("./defaults"),i.version="3.10.1",i.loadAsync=function(t,r){return(new i).loadAsync(t,r)},i.external=t("./external"),r.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,r){var i=t("./utils"),n=t("./external"),e=t("./utf8"),o=t("./zipEntries"),s=t("./stream/Crc32Probe"),a=t("./nodejsUtils");function f(t){return new n.Promise((function(r,i){var n=t.decompressed.getContentWorker().pipe(new s);n.on("error",(function(t){i(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?i(new Error("Corrupted zip : CRC32 mismatch")):r()})).resume()}))}r.exports=function(t,r){var s=this;return r=i.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:e.utf8decode}),a.isNode&&a.isStream(t)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",t,!0,r.optimizedBinaryString,r.base64).then((function(t){var i=new o(r);return i.load(t),i})).then((function(t){var i=[n.Promise.resolve(t)],e=t.files;if(r.checkCRC32)for(var o=0;o<e.length;o++)i.push(f(e[o]));return n.Promise.all(i)})).then((function(t){for(var n=t.shift(),e=n.files,o=0;o<e.length;o++){var a=e[o],f=a.fileNameStr,u=i.resolve(a.fileNameStr);s.file(u,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:r.createFolders}),a.dir||(s.file(u).unsafeOriginalName=f)}return n.zipComment.length&&(s.comment=n.zipComment),s}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,r){var i=t("../utils"),n=t("../stream/GenericWorker");function e(t,r){n.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(r)}i.inherits(e,n),e.prototype._bindStream=function(t){var r=this;(this._stream=t).pause(),t.on("data",(function(t){r.push({data:t,meta:{percent:0}})})).on("error",(function(t){r.isPaused?this.generatedError=t:r.error(t)})).on("end",(function(){r.isPaused?r._upstreamEnded=!0:r.end()}))},e.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},e.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=e},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,r){var i=t("readable-stream").Readable;function n(t,r,n){i.call(this,r),this._helper=t;var e=this;t.on("data",(function(t,r){e.push(t)||e._helper.pause(),n&&n(r)})).on("error",(function(t){e.emit("error",t)})).on("end",(function(){e.push(null)}))}t("../utils").inherits(n,i),n.prototype._read=function(){this._helper.resume()},r.exports=n},{"../utils":32,"readable-stream":16}],14:[function(t,r){r.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,r);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,r)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var r=new Buffer(t);return r.fill(0),r},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,r){function i(t,r,i){var n,s=e.getTypeOf(r),c=e.extend(i||{},a);c.date=c.date||new Date,null!==c.compression&&(c.compression=c.compression.toUpperCase()),"string"==typeof c.unixPermissions&&(c.unixPermissions=parseInt(c.unixPermissions,8)),c.unixPermissions&&16384&c.unixPermissions&&(c.dir=!0),c.dosPermissions&&16&c.dosPermissions&&(c.dir=!0),c.dir&&(t=p(t)),c.createFolders&&(n=d(t))&&m.call(this,n,!0),i&&void 0!==i.binary||(c.binary=!("string"===s&&!1===c.binary&&!1===c.base64)),(r instanceof f&&0===r.uncompressedSize||c.dir||!r||0===r.length)&&(c.base64=!1,c.binary=!0,r="",c.compression="STORE",s="string");var v;v=r instanceof f||r instanceof o?r:h.isNode&&h.isStream(r)?new l(t,r):e.prepareContent(t,r,c.binary,c.optimizedBinaryString,c.base64);var b=new u(t,v,c);this.files[t]=b}var n=t("./utf8"),e=t("./utils"),o=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),a=t("./defaults"),f=t("./compressedObject"),u=t("./zipObject"),c=t("./generate"),h=t("./nodejsUtils"),l=t("./nodejs/NodejsStreamInputAdapter"),d=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var r=t.lastIndexOf("/");return 0<r?t.substring(0,r):""},p=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},m=function(t,r){return r=void 0!==r?r:a.createFolders,t=p(t),this.files[t]||i.call(this,t,null,{dir:!0,createFolders:r}),this.files[t]};function v(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var r,i,n;for(r in this.files)n=this.files[r],(i=r.slice(this.root.length,r.length))&&r.slice(0,this.root.length)===this.root&&t(i,n)},filter:function(t){var r=[];return this.forEach((function(i,n){t(i,n)&&r.push(n)})),r},file:function(t,r,n){if(1!==arguments.length)return i.call(this,t=this.root+t,r,n),this;if(v(t)){var e=t;return this.filter((function(t,r){return!r.dir&&e.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(v(t))return this.filter((function(r,i){return i.dir&&t.test(r)}));var r=m.call(this,this.root+t),i=this.clone();return i.root=r.name,i},remove:function(t){var r=this.files[t=this.root+t];if(r||("/"!==t.slice(-1)&&(t+="/"),r=this.files[t]),r&&!r.dir)delete this.files[t];else for(var i=this.filter((function(r,i){return i.name.slice(0,t.length)===t})),n=0;n<i.length;n++)delete this.files[i[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(t){var r,i={};try{if((i=e.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=i.type.toLowerCase(),i.compression=i.compression.toUpperCase(),"binarystring"===i.type&&(i.type="string"),!i.type)throw new Error("No output type specified.");e.checkSupport(i.type),"darwin"!==i.platform&&"freebsd"!==i.platform&&"linux"!==i.platform&&"sunos"!==i.platform||(i.platform="UNIX"),"win32"===i.platform&&(i.platform="DOS"),r=c.generateWorker(this,i,i.comment||this.comment||"")}catch(t){(r=new o("error")).error(t)}return new s(r,i.type||"string",i.mimeType)},generateAsync:function(t,r){return this.generateInternalStream(t).accumulate(r)},generateNodeStream:function(t,r){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(r)}};r.exports=b},{"./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(t,r){r.exports=t("stream")},{stream:void 0}],17:[function(t,r){var i=t("./DataReader");function n(t){i.call(this,t);for(var r=0;r<this.data.length;r++)t[r]=255&t[r]}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data[this.zero+t]},n.prototype.lastIndexOfSignature=function(t){for(var r=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),e=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===r&&this.data[o+1]===i&&this.data[o+2]===n&&this.data[o+3]===e)return o-this.zero;return-1},n.prototype.readAndCheckSignature=function(t){var r=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),e=t.charCodeAt(3),o=this.readData(4);return r===o[0]&&i===o[1]&&n===o[2]&&e===o[3]},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./DataReader":18}],18:[function(t,r){var i=t("../utils");function n(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var r,i=0;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)i=(i<<8)+this.byteAt(r);return this.index+=t,i},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},r.exports=n},{"../utils":32}],19:[function(t,r){var i=t("./Uint8ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,r){var i=t("./DataReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,r){var i=t("./ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,r){var i=t("../utils"),n=t("../support"),e=t("./ArrayReader"),o=t("./StringReader"),s=t("./NodeBufferReader"),a=t("./Uint8ArrayReader");r.exports=function(t){var r=i.getTypeOf(t);return i.checkSupport(r),"string"!==r||n.uint8array?"nodebuffer"===r?new s(t):n.uint8array?new a(i.transformTo("uint8array",t)):new e(i.transformTo("array",t)):new o(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,r){var i=t("./GenericWorker"),n=t("../utils");function e(t){i.call(this,"ConvertWorker to "+t),this.destType=t}n.inherits(e,i),e.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},r.exports=e},{"../utils":32,"./GenericWorker":28}],25:[function(t,r){var i=t("./GenericWorker"),n=t("../crc32");function e(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(e,i),e.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},r.exports=e},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,r){var i=t("../utils"),n=t("./GenericWorker");function e(t){n.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(e,n),e.prototype.processChunk=function(t){t&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+t.data.length),n.prototype.processChunk.call(this,t)},r.exports=e},{"../utils":32,"./GenericWorker":28}],27:[function(t,r){var i=t("../utils"),n=t("./GenericWorker");function e(t){n.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){r.dataIsReady=!0,r.data=t,r.max=t&&t.length||0,r.type=i.getTypeOf(t),r.isPaused||r._tickAndRepeat()}),(function(t){r.error(t)}))}i.inherits(e,n),e.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},e.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},e.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},e.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,r=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,r);break;case"uint8array":t=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":t=this.data.slice(this.index,r)}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=e},{"../utils":32,"./GenericWorker":28}],28:[function(t,r){function i(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,r){return this._listeners[t].push(r),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,r){if(this._listeners[t])for(var i=0;i<this._listeners[t].length;i++)this._listeners[t][i].call(this,r)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.end()})),t.on("error",(function(t){r.error(t)})),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 t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,r){return this.extraStreamInfo[t]=r,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},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 t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},r.exports=i},{}],29:[function(t,r){var i=t("../utils"),n=t("./ConvertWorker"),e=t("./GenericWorker"),o=t("../base64"),s=t("../support"),a=t("../external"),f=null;if(s.nodestream)try{f=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,r,o){var s=r;switch(r){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=r,this._mimeType=o,i.checkSupport(s),this._worker=t.pipe(new n(s)),t.lock()}catch(t){this._worker=new e("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return function(t,r){return new a.Promise((function(n,e){var s=[],a=t._internalType,f=t._outputType,u=t._mimeType;t.on("data",(function(t,i){s.push(t),r&&r(i)})).on("error",(function(t){s=[],e(t)})).on("end",(function(){try{var t=function(t,r,n){switch(t){case"blob":return i.newBlob(i.transformTo("arraybuffer",r),n);case"base64":return o.encode(r);default:return i.transformTo(t,r)}}(f,function(t,r){var i,n=0,e=null,o=0;for(i=0;i<r.length;i++)o+=r[i].length;switch(t){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(e=new Uint8Array(o),i=0;i<r.length;i++)e.set(r[i],n),n+=r[i].length;return e;case"nodebuffer":return Buffer.concat(r);default:throw new Error("concat : unsupported type '"+t+"'")}}(a,s),u);n(t)}catch(t){e(t)}s=[]})).resume()}))}(this,t)},on:function(t,r){var n=this;return this._worker.on(t,"data"===t?function(t){r.call(n,t.data,t.meta)}:function(){i.delay(r,arguments,n)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:"nodebuffer"!==this._outputType},t)}},r.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer="undefined"!=typeof Buffer,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var n=new ArrayBuffer(0);try{i.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(n),i.blob=0===e.getBlob("application/zip").size}catch(t){i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch(t){i.nodestream=!1}},{"readable-stream":16}],31:[function(t,r,i){for(var n=t("./utils"),e=t("./support"),o=t("./nodejsUtils"),s=t("./stream/GenericWorker"),a=new Array(256),f=0;f<256;f++)a[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;function u(){s.call(this,"utf-8 decode"),this.leftOver=null}function c(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,i.utf8encode=function(t){return e.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var r,i,n,o,s,a=t.length,f=0;for(o=0;o<a;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<a&&56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++),f+=i<128?1:i<2048?2:i<65536?3:4;for(r=e.uint8array?new Uint8Array(f):new Array(f),o=s=0;s<f;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<a&&56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++),i<128?r[s++]=i:(i<2048?r[s++]=192|i>>>6:(i<65536?r[s++]=224|i>>>12:(r[s++]=240|i>>>18,r[s++]=128|i>>>12&63),r[s++]=128|i>>>6&63),r[s++]=128|63&i);return r}(t)},i.utf8decode=function(t){return e.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var r,i,e,o,s=t.length,f=new Array(2*s);for(r=i=0;r<s;)if((e=t[r++])<128)f[i++]=e;else if(4<(o=a[e]))f[i++]=65533,r+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&r<s;)e=e<<6|63&t[r++],o--;1<o?f[i++]=65533:e<65536?f[i++]=e:(f[i++]=55296|(e-=65536)>>10&1023,f[i++]=56320|1023&e)}return f.length!==i&&(f.subarray?f=f.subarray(0,i):f.length=i),n.applyFromCharCode(f)}(t=n.transformTo(e.uint8array?"uint8array":"array",t))},n.inherits(u,s),u.prototype.processChunk=function(t){var r=n.transformTo(e.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var o=r;(r=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),r.set(o,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var s=function(t,r){var i;for((r=r||t.length)>t.length&&(r=t.length),i=r-1;0<=i&&128==(192&t[i]);)i--;return i<0||0===i?r:i+a[t[i]]>r?i:r}(r),f=r;s!==r.length&&(e.uint8array?(f=r.subarray(0,s),this.leftOver=r.subarray(s,r.length)):(f=r.slice(0,s),this.leftOver=r.slice(s,r.length))),this.push({data:i.utf8decode(f),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=u,n.inherits(c,s),c.prototype.processChunk=function(t){this.push({data:i.utf8encode(t.data),meta:t.meta})},i.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,r,i){var n=t("./support"),e=t("./base64"),o=t("./nodejsUtils"),s=t("./external");function a(t){return t}function f(t,r){for(var i=0;i<t.length;++i)r[i]=255&t.charCodeAt(i);return r}t("setimmediate"),i.newBlob=function(t,r){i.checkSupport("blob");try{return new Blob([t],{type:r})}catch(i){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(t,r,i){var n=[],e=0,o=t.length;if(o<=i)return String.fromCharCode.apply(null,t);for(;e<o;)n.push(String.fromCharCode.apply(null,"array"===r||"nodebuffer"===r?t.slice(e,Math.min(e+i,o)):t.subarray(e,Math.min(e+i,o)))),e+=i;return n.join("")},stringifyByChar:function(t){for(var r="",i=0;i<t.length;i++)r+=String.fromCharCode(t[i]);return r},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function c(t){var r=65536,n=i.getTypeOf(t),e=!0;if("uint8array"===n?e=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(e=u.applyCanBeUsed.nodebuffer),e)for(;1<r;)try{return u.stringifyByChunk(t,n,r)}catch(t){r=Math.floor(r/2)}return u.stringifyByChar(t)}function h(t,r){for(var i=0;i<t.length;i++)r[i]=t[i];return r}i.applyFromCharCode=c;var l={};l.string={string:a,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return l.string.uint8array(t).buffer},uint8array:function(t){return f(t,new Uint8Array(t.length))},nodebuffer:function(t){return f(t,o.allocBuffer(t.length))}},l.array={string:c,array:a,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},l.arraybuffer={string:function(t){return c(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:a,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},l.uint8array={string:c,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:a,nodebuffer:function(t){return o.newBufferFrom(t)}},l.nodebuffer={string:c,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return l.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:a},i.transformTo=function(t,r){if(r=r||"",!t)return r;i.checkSupport(t);var n=i.getTypeOf(r);return l[n][t](r)},i.resolve=function(t){for(var r=t.split("/"),i=[],n=0;n<r.length;n++){var e=r[n];"."===e||""===e&&0!==n&&n!==r.length-1||(".."===e?i.pop():i.push(e))}return i.join("/")},i.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&o.isBuffer(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(t){var r,i,n="";for(i=0;i<(t||"").length;i++)n+="\\x"+((r=t.charCodeAt(i))<16?"0":"")+r.toString(16).toUpperCase();return n},i.delay=function(t,r,i){setImmediate((function(){t.apply(i||null,r||[])}))},i.inherits=function(t,r){function i(){}i.prototype=r.prototype,t.prototype=new i},i.extend=function(){var t,r,i={};for(t=0;t<arguments.length;t++)for(r in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],r)&&void 0===i[r]&&(i[r]=arguments[t][r]);return i},i.prepareContent=function(t,r,o,a,u){return s.Promise.resolve(r).then((function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new s.Promise((function(r,i){var n=new FileReader;n.onload=function(t){r(t.target.result)},n.onerror=function(t){i(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(r){var c=i.getTypeOf(r);return c?("arraybuffer"===c?r=i.transformTo("uint8array",r):"string"===c&&(u?r=e.decode(r):o&&!0!==a&&(r=function(t){return f(t,n.uint8array?new Uint8Array(t.length):new Array(t.length))}(r))),r):s.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,r){var i=t("./reader/readerFor"),n=t("./utils"),e=t("./signature"),o=t("./zipEntry"),s=t("./support");function a(t){this.files=[],this.loadOptions=t}a.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var r=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(r)+", expected "+n.pretty(t)+")")}},isSignature:function(t,r){var i=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===r;return this.reader.setIndex(i),n},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 t=this.reader.readData(this.zipCommentLength),r=n.transformTo(s.uint8array?"uint8array":"array",t);this.zipComment=this.loadOptions.decodeFileName(r)},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 t,r,i,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[t]={id:t,length:r,value:i}},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 t,r;for(t=0;t<this.files.length;t++)this.reader.setIndex((r=this.files[t]).localHeaderOffset),this.checkSignature(e.LOCAL_FILE_HEADER),r.readLocalPart(this.reader),r.handleUTF8(),r.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(e.CENTRAL_FILE_HEADER);)(t=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(e.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,e.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(t);var r=t;if(this.checkSignature(e.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,e.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(e.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(e.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var o=r-i;if(0<o)this.isSignature(r,e.CENTRAL_FILE_HEADER)||(this.reader.zero=o);else if(o<0)throw new Error("Corrupted zip: missing "+Math.abs(o)+" bytes.")},prepareReader:function(t){this.reader=i(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=a},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,r){var i=t("./reader/readerFor"),n=t("./utils"),e=t("./compressedObject"),o=t("./crc32"),s=t("./utf8"),a=t("./compressions"),f=t("./support");function u(t,r){this.options=t,this.loadOptions=r}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var r,i;if(t.skip(22),this.fileNameLength=t.readInt(2),i=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(i),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(r=function(t){for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r)&&a[r].magic===t)return a[r];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new e(this.compressedSize,this.uncompressedSize,this.crc32,r,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var r=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(r),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var r,i,n,e=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<e;)r=t.readInt(2),i=t.readInt(2),n=t.readData(i),this.extraFields[r]={id:r,length:i,value:n};t.setIndex(e)},handleUTF8:function(){var t=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var r=this.findExtraFieldUnicodePath();if(null!==r)this.fileNameStr=r;else{var i=n.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var e=this.findExtraFieldUnicodeComment();if(null!==e)this.fileCommentStr=e;else{var o=n.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var r=i(t.value);return 1!==r.readInt(1)||o(this.fileName)!==r.readInt(4)?null:s.utf8decode(r.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var r=i(t.value);return 1!==r.readInt(1)||o(this.fileComment)!==r.readInt(4)?null:s.utf8decode(r.readData(t.length-5))}return null}},r.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,r){function i(t,r,i){this.name=t,this.dir=i.dir,this.date=i.date,this.comment=i.comment,this.unixPermissions=i.unixPermissions,this.dosPermissions=i.dosPermissions,this._data=r,this._dataBinary=i.binary,this.options={compression:i.compression,compressionOptions:i.compressionOptions}}var n=t("./stream/StreamHelper"),e=t("./stream/DataWorker"),o=t("./utf8"),s=t("./compressedObject"),a=t("./stream/GenericWorker");i.prototype={internalStream:function(t){var r=null,i="string";try{if(!t)throw new Error("No output type specified.");var e="string"===(i=t.toLowerCase())||"text"===i;"binarystring"!==i&&"text"!==i||(i="string"),r=this._decompressWorker();var s=!this._dataBinary;s&&!e&&(r=r.pipe(new o.Utf8EncodeWorker)),!s&&e&&(r=r.pipe(new o.Utf8DecodeWorker))}catch(t){(r=new a("error")).error(t)}return new n(r,i,"")},async:function(t,r){return this.internalStream(t).accumulate(r)},nodeStream:function(t,r){return this.internalStream(t||"nodebuffer").toNodejsStream(r)},_compressWorker:function(t,r){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var i=this._decompressWorker();return this._dataBinary||(i=i.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(i,t,r)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof a?this._data:new e(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<f.length;c++)i.prototype[f[c]]=u;r.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,i){(function(t){var r,n,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var o=0,s=new e(c),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),r=function(){a.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var r=t.document.createElement("script");r.onreadystatechange=function(){c(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},t.document.documentElement.appendChild(r)}:function(){setTimeout(c,0)};else{var f=new t.MessageChannel;f.port1.onmessage=c,r=function(){f.port2.postMessage(0)}}var u=[];function c(){var t,r;n=!0;for(var i=u.length;i;){for(r=u,u=[],t=-1;++t<i;)r[t]();i=u.length}n=!1}i.exports=function(t){1!==u.push(t)||n||r()}}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,r){var i=t("immediate");function n(){}var e={},o=["REJECTED"],s=["FULFILLED"],a=["PENDING"];function f(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=a,this.queue=[],this.outcome=void 0,t!==n&&l(this,t)}function u(t,r,i){this.promise=t,"function"==typeof r&&(this.onFulfilled=r,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function c(t,r,n){i((function(){var i;try{i=r(n)}catch(i){return e.reject(t,i)}i===t?e.reject(t,new TypeError("Cannot resolve promise with itself")):e.resolve(t,i)}))}function h(t){var r=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof r)return function(){r.apply(t,arguments)}}function l(t,r){var i=!1;function n(r){i||(i=!0,e.reject(t,r))}function o(r){i||(i=!0,e.resolve(t,r))}var s=d((function(){r(o,n)}));"error"===s.status&&n(s.value)}function d(t,r){var i={};try{i.value=t(r),i.status="success"}catch(t){i.status="error",i.value=t}return i}(r.exports=f).prototype.finally=function(t){if("function"!=typeof t)return this;var r=this.constructor;return this.then((function(i){return r.resolve(t()).then((function(){return i}))}),(function(i){return r.resolve(t()).then((function(){throw i}))}))},f.prototype.catch=function(t){return this.then(null,t)},f.prototype.then=function(t,r){if("function"!=typeof t&&this.state===s||"function"!=typeof r&&this.state===o)return this;var i=new this.constructor(n);return this.state!==a?c(i,this.state===s?t:r,this.outcome):this.queue.push(new u(i,t,r)),i},u.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){e.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},e.resolve=function(t,r){var i=d(h,r);if("error"===i.status)return e.reject(t,i.value);var n=i.value;if(n)l(t,n);else{t.state=s,t.outcome=r;for(var o=-1,a=t.queue.length;++o<a;)t.queue[o].callFulfilled(r)}return t},e.reject=function(t,r){t.state=o,t.outcome=r;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(r);return t},f.resolve=function(t){return t instanceof this?t:e.resolve(new this(n),t)},f.reject=function(t){var r=new this(n);return e.reject(r,t)},f.all=function(t){var r=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,o=!1;if(!i)return this.resolve([]);for(var s=new Array(i),a=0,f=-1,u=new this(n);++f<i;)c(t[f],f);return u;function c(t,n){r.resolve(t).then((function(t){s[n]=t,++a!==i||o||(o=!0,e.resolve(u,s))}),(function(t){o||(o=!0,e.reject(u,t))}))}},f.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,i=!1;if(!r)return this.resolve([]);for(var o=-1,s=new this(n);++o<r;)this.resolve(t[o]).then((function(t){i||(i=!0,e.resolve(s,t))}),(function(t){i||(i=!0,e.reject(s,t))}));return s}},{immediate:36}],38:[function(t,r){var i={};(0,t("./lib/utils/common").assign)(i,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),r.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,r,i){var n=t("./zlib/deflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/messages"),a=t("./zlib/zstream"),f=Object.prototype.toString,u=0,c=-1,h=0,l=8;function d(t){if(!(this instanceof d))return new d(t);this.options=e.assign({level:c,method:l,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},t||{});var r=this.options;r.raw&&0<r.windowBits?r.windowBits=-r.windowBits:r.gzip&&0<r.windowBits&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var i=n.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(i!==u)throw new Error(s[i]);if(r.header&&n.deflateSetHeader(this.strm,r.header),r.dictionary){var p;if(p="string"==typeof r.dictionary?o.string2buf(r.dictionary):"[object ArrayBuffer]"===f.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,(i=n.deflateSetDictionary(this.strm,p))!==u)throw new Error(s[i]);this._dict_set=!0}}function p(t,r){var i=new d(r);if(i.push(t,!0),i.err)throw i.msg||s[i.err];return i.result}d.prototype.push=function(t,r){var i,s,a=this.strm,c=this.options.chunkSize;if(this.ended)return!1;s=r===~~r?r:!0===r?4:0,a.input="string"==typeof t?o.string2buf(t):"[object ArrayBuffer]"===f.call(t)?new Uint8Array(t):t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new e.Buf8(c),a.next_out=0,a.avail_out=c),1!==(i=n.deflate(a,s))&&i!==u)return this.onEnd(i),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||this.onData("string"===this.options.to?o.buf2binstring(e.shrinkBuf(a.output,a.next_out)):e.shrinkBuf(a.output,a.next_out))}while((0<a.avail_in||0===a.avail_out)&&1!==i);return 4===s?(i=n.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==s||(this.onEnd(u),!(a.avail_out=0))},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){t===u&&(this.result="string"===this.options.to?this.chunks.join(""):e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=d,i.deflate=p,i.deflateRaw=function(t,r){return(r=r||{}).raw=!0,p(t,r)},i.gzip=function(t,r){return(r=r||{}).gzip=!0,p(t,r)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,r,i){var n=t("./zlib/inflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/constants"),a=t("./zlib/messages"),f=t("./zlib/zstream"),u=t("./zlib/gzheader"),c=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=e.assign({chunkSize:16384,windowBits:0,to:""},t||{});var r=this.options;r.raw&&0<=r.windowBits&&r.windowBits<16&&(r.windowBits=-r.windowBits,0===r.windowBits&&(r.windowBits=-15)),!(0<=r.windowBits&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),15<r.windowBits&&r.windowBits<48&&0==(15&r.windowBits)&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,r.windowBits);if(i!==s.Z_OK)throw new Error(a[i]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function l(t,r){var i=new h(r);if(i.push(t,!0),i.err)throw i.msg||a[i.err];return i.result}h.prototype.push=function(t,r){var i,a,f,u,h,l,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,v=!1;if(this.ended)return!1;a=r===~~r?r:!0===r?s.Z_FINISH:s.Z_NO_FLUSH,d.input="string"==typeof t?o.binstring2buf(t):"[object ArrayBuffer]"===c.call(t)?new Uint8Array(t):t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new e.Buf8(p),d.next_out=0,d.avail_out=p),(i=n.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(l="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,i=n.inflateSetDictionary(this.strm,l)),i===s.Z_BUF_ERROR&&!0===v&&(i=s.Z_OK,v=!1),i!==s.Z_STREAM_END&&i!==s.Z_OK)return this.onEnd(i),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&i!==s.Z_STREAM_END&&(0!==d.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(f=o.utf8border(d.output,d.next_out),u=d.next_out-f,h=o.buf2string(d.output,f),d.next_out=u,d.avail_out=p-u,u&&e.arraySet(d.output,d.output,f,u,0),this.onData(h)):this.onData(e.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(v=!0)}while((0<d.avail_in||0===d.avail_out)&&i!==s.Z_STREAM_END);return i===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(d.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===s.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=h,i.inflate=l,i.inflateRaw=function(t,r){return(r=r||{}).raw=!0,l(t,r)},i.ungzip=l},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,r,i){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var i=r.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])}}return t},i.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var e={arraySet:function(t,r,i,n,e){if(r.subarray&&t.subarray)t.set(r.subarray(i,i+n),e);else for(var o=0;o<n;o++)t[e+o]=r[i+o]},flattenChunks:function(t){var r,i,n,e,o,s;for(r=n=0,i=t.length;r<i;r++)n+=t[r].length;for(s=new Uint8Array(n),r=e=0,i=t.length;r<i;r++)s.set(o=t[r],e),e+=o.length;return s}},o={arraySet:function(t,r,i,n,e){for(var o=0;o<n;o++)t[e+o]=r[i+o]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,e)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(n)},{}],42:[function(t,r,i){var n=t("./common"),e=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function f(t,r){if(r<65537&&(t.subarray&&o||!t.subarray&&e))return String.fromCharCode.apply(null,n.shrinkBuf(t,r));for(var i="",s=0;s<r;s++)i+=String.fromCharCode(t[s]);return i}s[254]=s[254]=1,i.string2buf=function(t){var r,i,e,o,s,a=t.length,f=0;for(o=0;o<a;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<a&&56320==(64512&(e=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(e-56320),o++),f+=i<128?1:i<2048?2:i<65536?3:4;for(r=new n.Buf8(f),o=s=0;s<f;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<a&&56320==(64512&(e=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(e-56320),o++),i<128?r[s++]=i:(i<2048?r[s++]=192|i>>>6:(i<65536?r[s++]=224|i>>>12:(r[s++]=240|i>>>18,r[s++]=128|i>>>12&63),r[s++]=128|i>>>6&63),r[s++]=128|63&i);return r},i.buf2binstring=function(t){return f(t,t.length)},i.binstring2buf=function(t){for(var r=new n.Buf8(t.length),i=0,e=r.length;i<e;i++)r[i]=t.charCodeAt(i);return r},i.buf2string=function(t,r){var i,n,e,o,a=r||t.length,u=new Array(2*a);for(i=n=0;i<a;)if((e=t[i++])<128)u[n++]=e;else if(4<(o=s[e]))u[n++]=65533,i+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&i<a;)e=e<<6|63&t[i++],o--;1<o?u[n++]=65533:e<65536?u[n++]=e:(u[n++]=55296|(e-=65536)>>10&1023,u[n++]=56320|1023&e)}return f(u,n)},i.utf8border=function(t,r){var i;for((r=r||t.length)>t.length&&(r=t.length),i=r-1;0<=i&&128==(192&t[i]);)i--;return i<0||0===i?r:i+s[t[i]]>r?i:r}},{"./common":41}],43:[function(t,r){r.exports=function(t,r,i,n){for(var e=65535&t|0,o=t>>>16&65535|0,s=0;0!==i;){for(i-=s=2e3<i?2e3:i;o=o+(e=e+r[n++]|0)|0,--s;);e%=65521,o%=65521}return e|o<<16|0}},{}],44:[function(t,r){r.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(t,r){var i=function(){for(var t,r=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;r[i]=t}return r}();r.exports=function(t,r,n,e){var o=i,s=e+n;t^=-1;for(var a=e;a<s;a++)t=t>>>8^o[255&(t^r[a])];return-1^t}},{}],46:[function(t,r,i){var n,e=t("../utils/common"),o=t("./trees"),s=t("./adler32"),a=t("./crc32"),f=t("./messages"),u=0,c=0,h=-2,l=2,d=8,p=286,m=30,v=19,b=2*p+1,g=15,w=3,y=258,k=y+w+1,x=42,A=113;function E(t,r){return t.msg=f[r],r}function z(t){return(t<<1)-(4<t?9:0)}function S(t){for(var r=t.length;0<=--r;)t[r]=0}function j(t){var r=t.state,i=r.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(e.arraySet(t.output,r.pending_buf,r.pending_out,i,t.next_out),t.next_out+=i,r.pending_out+=i,t.total_out+=i,t.avail_out-=i,r.pending-=i,0===r.pending&&(r.pending_out=0))}function U(t,r){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,r),t.block_start=t.strstart,j(t.strm)}function O(t,r){t.pending_buf[t.pending++]=r}function R(t,r){t.pending_buf[t.pending++]=r>>>8&255,t.pending_buf[t.pending++]=255&r}function B(t,r){var i,n,e=t.max_chain_length,o=t.strstart,s=t.prev_length,a=t.nice_match,f=t.strstart>t.w_size-k?t.strstart-(t.w_size-k):0,u=t.window,c=t.w_mask,h=t.prev,l=t.strstart+y,d=u[o+s-1],p=u[o+s];t.prev_length>=t.good_match&&(e>>=2),a>t.lookahead&&(a=t.lookahead);do{if(u[(i=r)+s]===p&&u[i+s-1]===d&&u[i]===u[o]&&u[++i]===u[o+1]){o+=2,i++;do{}while(u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&o<l);if(n=y-(l-o),o=l-y,s<n){if(t.match_start=r,a<=(s=n))break;d=u[o+s-1],p=u[o+s]}}}while((r=h[r&c])>f&&0!=--e);return s<=t.lookahead?s:t.lookahead}function C(t){var r,i,n,o,f,u,c,h,l,d,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-k)){for(e.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,r=i=t.hash_size;n=t.head[--r],t.head[r]=p<=n?n-p:0,--i;);for(r=i=p;n=t.prev[--r],t.prev[r]=p<=n?n-p:0,--i;);o+=p}if(0===t.strm.avail_in)break;if(c=t.window,h=t.strstart+t.lookahead,d=void 0,(l=o)<(d=(u=t.strm).avail_in)&&(d=l),i=0===d?0:(u.avail_in-=d,e.arraySet(c,u.input,u.next_in,d,h),1===u.state.wrap?u.adler=s(u.adler,c,d,h):2===u.state.wrap&&(u.adler=a(u.adler,c,d,h)),u.next_in+=d,u.total_in+=d,d),t.lookahead+=i,t.lookahead+t.insert>=w)for(t.ins_h=t.window[f=t.strstart-t.insert],t.ins_h=(t.ins_h<<t.hash_shift^t.window[f+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[f+w-1])&t.hash_mask,t.prev[f&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=f,f++,t.insert--,!(t.lookahead+t.insert<w)););}while(t.lookahead<k&&0!==t.strm.avail_in)}function W(t,r){for(var i,n;;){if(t.lookahead<k){if(C(t),t.lookahead<k&&r===u)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=w&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+w-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-k&&(t.match_length=B(t,i)),t.match_length>=w)if(n=o._tr_tally(t,t.strstart-t.match_start,t.match_length-w),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=w){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+w-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);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 n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(U(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<w-1?t.strstart:w-1,4===r?(U(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(U(t,!1),0===t.strm.avail_out)?1:2}function _(t,r){for(var i,n,e;;){if(t.lookahead<k){if(C(t),t.lookahead<k&&r===u)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=w&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+w-1])&t.hash_mask,i=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=w-1,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-k&&(t.match_length=B(t,i),t.match_length<=5&&(1===t.strategy||t.match_length===w&&4096<t.strstart-t.match_start)&&(t.match_length=w-1)),t.prev_length>=w&&t.match_length<=t.prev_length){for(e=t.strstart+t.lookahead-w,n=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-w),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=e&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+w-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=w-1,t.strstart++,n&&(U(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=o._tr_tally(t,0,t.window[t.strstart-1]))&&U(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<w-1?t.strstart:w-1,4===r?(U(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(U(t,!1),0===t.strm.avail_out)?1:2}function F(t,r,i,n,e){this.good_length=t,this.max_lazy=r,this.nice_length=i,this.max_chain=n,this.func=e}function I(){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=d,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 e.Buf16(2*b),this.dyn_dtree=new e.Buf16(2*(2*m+1)),this.bl_tree=new e.Buf16(2*(2*v+1)),S(this.dyn_ltree),S(this.dyn_dtree),S(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(g+1),this.heap=new e.Buf16(2*p+1),S(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*p+1),S(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 T(t){var r;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=l,(r=t.state).pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?x:A,t.adler=2===r.wrap?0:1,r.last_flush=u,o._tr_init(r),c):E(t,h)}function Z(t){var r=T(t);return r===c&&function(t){t.window_size=2*t.w_size,S(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=w-1,t.match_available=0,t.ins_h=0}(t.state),r}function D(t,r,i,n,o,s){if(!t)return h;var a=1;if(-1===r&&(r=6),n<0?(a=0,n=-n):15<n&&(a=2,n-=16),o<1||9<o||i!==d||n<8||15<n||r<0||9<r||s<0||4<s)return E(t,h);8===n&&(n=9);var f=new I;return(t.state=f).strm=t,f.wrap=a,f.gzhead=null,f.w_bits=n,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=o+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+w-1)/w),f.window=new e.Buf8(2*f.w_size),f.head=new e.Buf16(f.hash_size),f.prev=new e.Buf16(f.w_size),f.lit_bufsize=1<<o+6,f.pending_buf_size=4*f.lit_bufsize,f.pending_buf=new e.Buf8(f.pending_buf_size),f.d_buf=1*f.lit_bufsize,f.l_buf=3*f.lit_bufsize,f.level=r,f.strategy=s,f.method=i,Z(t)}n=[new F(0,0,0,0,(function(t,r){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(C(t),0===t.lookahead&&r===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,U(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-k&&(U(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(U(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&U(t,!1),1)})),new F(4,4,8,4,W),new F(4,5,16,8,W),new F(4,6,32,32,W),new F(4,4,16,16,_),new F(8,16,32,32,_),new F(8,16,128,128,_),new F(8,32,128,256,_),new F(32,128,258,1024,_),new F(32,258,258,4096,_)],i.deflateInit=function(t,r){return D(t,r,d,15,8,0)},i.deflateInit2=D,i.deflateReset=Z,i.deflateResetKeep=T,i.deflateSetHeader=function(t,r){return t&&t.state?2!==t.state.wrap?h:(t.state.gzhead=r,c):h},i.deflate=function(t,r){var i,e,s,f;if(!t||!t.state||5<r||r<0)return t?E(t,h):h;if(e=t.state,!t.output||!t.input&&0!==t.avail_in||666===e.status&&4!==r)return E(t,0===t.avail_out?-5:h);if(e.strm=t,i=e.last_flush,e.last_flush=r,e.status===x)if(2===e.wrap)t.adler=0,O(e,31),O(e,139),O(e,8),e.gzhead?(O(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),O(e,255&e.gzhead.time),O(e,e.gzhead.time>>8&255),O(e,e.gzhead.time>>16&255),O(e,e.gzhead.time>>24&255),O(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),O(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(O(e,255&e.gzhead.extra.length),O(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=a(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(O(e,0),O(e,0),O(e,0),O(e,0),O(e,0),O(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),O(e,3),e.status=A);else{var l=d+(e.w_bits-8<<4)<<8;l|=(2<=e.strategy||e.level<2?0:e.level<6?1:6===e.level?2:3)<<6,0!==e.strstart&&(l|=32),l+=31-l%31,e.status=A,R(e,l),0!==e.strstart&&(R(e,t.adler>>>16),R(e,65535&t.adler)),t.adler=1}if(69===e.status)if(e.gzhead.extra){for(s=e.pending;e.gzindex<(65535&e.gzhead.extra.length)&&(e.pending!==e.pending_buf_size||(e.gzhead.hcrc&&e.pending>s&&(t.adler=a(t.adler,e.pending_buf,e.pending-s,s)),j(t),s=e.pending,e.pending!==e.pending_buf_size));)O(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>s&&(t.adler=a(t.adler,e.pending_buf,e.pending-s,s)),e.gzindex===e.gzhead.extra.length&&(e.gzindex=0,e.status=73)}else e.status=73;if(73===e.status)if(e.gzhead.name){s=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>s&&(t.adler=a(t.adler,e.pending_buf,e.pending-s,s)),j(t),s=e.pending,e.pending===e.pending_buf_size)){f=1;break}f=e.gzindex<e.gzhead.name.length?255&e.gzhead.name.charCodeAt(e.gzindex++):0,O(e,f)}while(0!==f);e.gzhead.hcrc&&e.pending>s&&(t.adler=a(t.adler,e.pending_buf,e.pending-s,s)),0===f&&(e.gzindex=0,e.status=91)}else e.status=91;if(91===e.status)if(e.gzhead.comment){s=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>s&&(t.adler=a(t.adler,e.pending_buf,e.pending-s,s)),j(t),s=e.pending,e.pending===e.pending_buf_size)){f=1;break}f=e.gzindex<e.gzhead.comment.length?255&e.gzhead.comment.charCodeAt(e.gzindex++):0,O(e,f)}while(0!==f);e.gzhead.hcrc&&e.pending>s&&(t.adler=a(t.adler,e.pending_buf,e.pending-s,s)),0===f&&(e.status=103)}else e.status=103;if(103===e.status&&(e.gzhead.hcrc?(e.pending+2>e.pending_buf_size&&j(t),e.pending+2<=e.pending_buf_size&&(O(e,255&t.adler),O(e,t.adler>>8&255),t.adler=0,e.status=A)):e.status=A),0!==e.pending){if(j(t),0===t.avail_out)return e.last_flush=-1,c}else if(0===t.avail_in&&z(r)<=z(i)&&4!==r)return E(t,-5);if(666===e.status&&0!==t.avail_in)return E(t,-5);if(0!==t.avail_in||0!==e.lookahead||r!==u&&666!==e.status){var p=2===e.strategy?function(t,r){for(var i;;){if(0===t.lookahead&&(C(t),0===t.lookahead)){if(r===u)return 1;break}if(t.match_length=0,i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(U(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(U(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(U(t,!1),0===t.strm.avail_out)?1:2}(e,r):3===e.strategy?function(t,r){for(var i,n,e,s,a=t.window;;){if(t.lookahead<=y){if(C(t),t.lookahead<=y&&r===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=w&&0<t.strstart&&(n=a[e=t.strstart-1])===a[++e]&&n===a[++e]&&n===a[++e]){s=t.strstart+y;do{}while(n===a[++e]&&n===a[++e]&&n===a[++e]&&n===a[++e]&&n===a[++e]&&n===a[++e]&&n===a[++e]&&n===a[++e]&&e<s);t.match_length=y-(s-e),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=w?(i=o._tr_tally(t,1,t.match_length-w),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(U(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===r?(U(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(U(t,!1),0===t.strm.avail_out)?1:2}(e,r):n[e.level].func(e,r);if(3!==p&&4!==p||(e.status=666),1===p||3===p)return 0===t.avail_out&&(e.last_flush=-1),c;if(2===p&&(1===r?o._tr_align(e):5!==r&&(o._tr_stored_block(e,0,0,!1),3===r&&(S(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),j(t),0===t.avail_out))return e.last_flush=-1,c}return 4!==r?c:e.wrap<=0?1:(2===e.wrap?(O(e,255&t.adler),O(e,t.adler>>8&255),O(e,t.adler>>16&255),O(e,t.adler>>24&255),O(e,255&t.total_in),O(e,t.total_in>>8&255),O(e,t.total_in>>16&255),O(e,t.total_in>>24&255)):(R(e,t.adler>>>16),R(e,65535&t.adler)),j(t),0<e.wrap&&(e.wrap=-e.wrap),0!==e.pending?c:1)},i.deflateEnd=function(t){var r;return t&&t.state?(r=t.state.status)!==x&&69!==r&&73!==r&&91!==r&&103!==r&&r!==A&&666!==r?E(t,h):(t.state=null,r===A?E(t,-3):c):h},i.deflateSetDictionary=function(t,r){var i,n,o,a,f,u,l,d,p=r.length;if(!t||!t.state)return h;if(2===(a=(i=t.state).wrap)||1===a&&i.status!==x||i.lookahead)return h;for(1===a&&(t.adler=s(t.adler,r,p,0)),i.wrap=0,p>=i.w_size&&(0===a&&(S(i.head),i.strstart=0,i.block_start=0,i.insert=0),d=new e.Buf8(i.w_size),e.arraySet(d,r,p-i.w_size,i.w_size,0),r=d,p=i.w_size),f=t.avail_in,u=t.next_in,l=t.input,t.avail_in=p,t.next_in=0,t.input=r,C(i);i.lookahead>=w;){for(n=i.strstart,o=i.lookahead-(w-1);i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+w-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++,--o;);i.strstart=n,i.lookahead=w-1,C(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=w-1,i.match_available=0,t.next_in=u,t.input=l,t.avail_in=f,i.wrap=a,c},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,r){r.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(t,r){r.exports=function(t,r){var i,n,e,o,s,a,f,u,c,h,l,d,p,m,v,b,g,w,y,k,x,A,E,z,S;z=t.input,e=(n=t.next_in)+(t.avail_in-5),S=t.output,s=(o=t.next_out)-(r-t.avail_out),a=o+(t.avail_out-257),f=(i=t.state).dmax,u=i.wsize,c=i.whave,h=i.wnext,l=i.window,d=i.hold,p=i.bits,m=i.lencode,v=i.distcode,b=(1<<i.lenbits)-1,g=(1<<i.distbits)-1;t:do{p<15&&(d+=z[n++]<<p,d+=z[n++]<<(p+=8),p+=8),w=m[d&b];r:for(;;){if(d>>>=y=w>>>24,p-=y,0==(y=w>>>16&255))S[o++]=65535&w;else{if(!(16&y)){if(0==(64&y)){w=m[(65535&w)+(d&(1<<y)-1)];continue r}if(32&y){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}k=65535&w,(y&=15)&&(p<y&&(d+=z[n++]<<p,p+=8),k+=d&(1<<y)-1,d>>>=y,p-=y),p<15&&(d+=z[n++]<<p,d+=z[n++]<<(p+=8),p+=8),w=v[d&g];i:for(;;){if(d>>>=y=w>>>24,p-=y,!(16&(y=w>>>16&255))){if(0==(64&y)){w=v[(65535&w)+(d&(1<<y)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(x=65535&w,p<(y&=15)&&(d+=z[n++]<<p,(p+=8)<y&&(d+=z[n++]<<p,p+=8)),f<(x+=d&(1<<y)-1)){t.msg="invalid distance too far back",i.mode=30;break t}if(d>>>=y,p-=y,(y=o-s)<x){if(c<(y=x-y)&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(E=l,(A=0)===h){if(A+=u-y,y<k){for(k-=y;S[o++]=l[A++],--y;);A=o-x,E=S}}else if(h<y){if(A+=u+h-y,(y-=h)<k){for(k-=y;S[o++]=l[A++],--y;);if(A=0,h<k){for(k-=y=h;S[o++]=l[A++],--y;);A=o-x,E=S}}}else if(A+=h-y,y<k){for(k-=y;S[o++]=l[A++],--y;);A=o-x,E=S}for(;2<k;)S[o++]=E[A++],S[o++]=E[A++],S[o++]=E[A++],k-=3;k&&(S[o++]=E[A++],1<k&&(S[o++]=E[A++]))}else{for(A=o-x;S[o++]=S[A++],S[o++]=S[A++],S[o++]=S[A++],2<(k-=3););k&&(S[o++]=S[A++],1<k&&(S[o++]=S[A++]))}break}}break}}while(n<e&&o<a);n-=k=p>>3,d&=(1<<(p-=k<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<e?e-n+5:5-(n-e),t.avail_out=o<a?a-o+257:257-(o-a),i.hold=d,i.bits=p}},{}],49:[function(t,r,i){var n=t("../utils/common"),e=t("./adler32"),o=t("./crc32"),s=t("./inffast"),a=t("./inftrees"),f=0,u=-2,c=1,h=852,l=592;function d(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function p(){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 m(t){var r;return t&&t.state?(t.total_in=t.total_out=(r=t.state).total=0,t.msg="",r.wrap&&(t.adler=1&r.wrap),r.mode=c,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new n.Buf32(h),r.distcode=r.distdyn=new n.Buf32(l),r.sane=1,r.back=-1,f):u}function v(t){var r;return t&&t.state?((r=t.state).wsize=0,r.whave=0,r.wnext=0,m(t)):u}function b(t,r){var i,n;return t&&t.state?(n=t.state,r<0?(i=0,r=-r):(i=1+(r>>4),r<48&&(r&=15)),r&&(r<8||15<r)?u:(null!==n.window&&n.wbits!==r&&(n.window=null),n.wrap=i,n.wbits=r,v(t))):u}function g(t,r){var i,n;return t?(n=new p,(t.state=n).window=null,(i=b(t,r))!==f&&(t.state=null),i):u}var w,y,k=!0;function x(t){if(k){var r;for(w=new n.Buf32(512),y=new n.Buf32(32),r=0;r<144;)t.lens[r++]=8;for(;r<256;)t.lens[r++]=9;for(;r<280;)t.lens[r++]=7;for(;r<288;)t.lens[r++]=8;for(a(1,t.lens,0,288,w,0,t.work,{bits:9}),r=0;r<32;)t.lens[r++]=5;a(2,t.lens,0,32,y,0,t.work,{bits:5}),k=!1}t.lencode=w,t.lenbits=9,t.distcode=y,t.distbits=5}function A(t,r,i,e){var o,s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new n.Buf8(s.wsize)),e>=s.wsize?(n.arraySet(s.window,r,i-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(e<(o=s.wsize-s.wnext)&&(o=e),n.arraySet(s.window,r,i-e,o,s.wnext),(e-=o)?(n.arraySet(s.window,r,i-e,e,0),s.wnext=e,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}i.inflateReset=v,i.inflateReset2=b,i.inflateResetKeep=m,i.inflateInit=function(t){return g(t,15)},i.inflateInit2=g,i.inflate=function(t,r){var i,h,l,p,m,v,b,g,w,y,k,E,z,S,j,U,O,R,B,C,W,_,F,I,T=0,Z=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(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return u;12===(i=t.state).mode&&(i.mode=13),m=t.next_out,l=t.output,p=t.next_in,h=t.input,g=i.hold,w=i.bits,y=v=t.avail_in,k=b=t.avail_out,_=f;t:for(;;)switch(i.mode){case c:if(0===i.wrap){i.mode=13;break}for(;w<16;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(2&i.wrap&&35615===g){Z[i.check=0]=255&g,Z[1]=g>>>8&255,i.check=o(i.check,Z,2,0),w=g=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&g)<<8)+(g>>8))%31){t.msg="incorrect header check",i.mode=30;break}if(8!=(15&g)){t.msg="unknown compression method",i.mode=30;break}if(w-=4,W=8+(15&(g>>>=4)),0===i.wbits)i.wbits=W;else if(W>i.wbits){t.msg="invalid window size",i.mode=30;break}i.dmax=1<<W,t.adler=i.check=1,i.mode=512&g?10:12,w=g=0;break;case 2:for(;w<16;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(i.flags=g,8!=(255&i.flags)){t.msg="unknown compression method",i.mode=30;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=30;break}i.head&&(i.head.text=g>>8&1),512&i.flags&&(Z[0]=255&g,Z[1]=g>>>8&255,i.check=o(i.check,Z,2,0)),w=g=0,i.mode=3;case 3:for(;w<32;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}i.head&&(i.head.time=g),512&i.flags&&(Z[0]=255&g,Z[1]=g>>>8&255,Z[2]=g>>>16&255,Z[3]=g>>>24&255,i.check=o(i.check,Z,4,0)),w=g=0,i.mode=4;case 4:for(;w<16;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}i.head&&(i.head.xflags=255&g,i.head.os=g>>8),512&i.flags&&(Z[0]=255&g,Z[1]=g>>>8&255,i.check=o(i.check,Z,2,0)),w=g=0,i.mode=5;case 5:if(1024&i.flags){for(;w<16;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}i.length=g,i.head&&(i.head.extra_len=g),512&i.flags&&(Z[0]=255&g,Z[1]=g>>>8&255,i.check=o(i.check,Z,2,0)),w=g=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&(v<(E=i.length)&&(E=v),E&&(i.head&&(W=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,h,p,E,W)),512&i.flags&&(i.check=o(i.check,h,E,p)),v-=E,p+=E,i.length-=E),i.length))break t;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===v)break t;for(E=0;W=h[p+E++],i.head&&W&&i.length<65536&&(i.head.name+=String.fromCharCode(W)),W&&E<v;);if(512&i.flags&&(i.check=o(i.check,h,E,p)),v-=E,p+=E,W)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===v)break t;for(E=0;W=h[p+E++],i.head&&W&&i.length<65536&&(i.head.comment+=String.fromCharCode(W)),W&&E<v;);if(512&i.flags&&(i.check=o(i.check,h,E,p)),v-=E,p+=E,W)break t}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;w<16;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(g!==(65535&i.check)){t.msg="header crc mismatch",i.mode=30;break}w=g=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=12;break;case 10:for(;w<32;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}t.adler=i.check=d(g),w=g=0,i.mode=11;case 11:if(0===i.havedict)return t.next_out=m,t.avail_out=b,t.next_in=p,t.avail_in=v,i.hold=g,i.bits=w,2;t.adler=i.check=1,i.mode=12;case 12:if(5===r||6===r)break t;case 13:if(i.last){g>>>=7&w,w-=7&w,i.mode=27;break}for(;w<3;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}switch(i.last=1&g,w-=1,3&(g>>>=1)){case 0:i.mode=14;break;case 1:if(x(i),i.mode=20,6!==r)break;g>>>=2,w-=2;break t;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=30}g>>>=2,w-=2;break;case 14:for(g>>>=7&w,w-=7&w;w<32;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if((65535&g)!=(g>>>16^65535)){t.msg="invalid stored block lengths",i.mode=30;break}if(i.length=65535&g,w=g=0,i.mode=15,6===r)break t;case 15:i.mode=16;case 16:if(E=i.length){if(v<E&&(E=v),b<E&&(E=b),0===E)break t;n.arraySet(l,h,p,E,m),v-=E,p+=E,b-=E,m+=E,i.length-=E;break}i.mode=12;break;case 17:for(;w<14;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(i.nlen=257+(31&g),w-=5,i.ndist=1+(31&(g>>>=5)),w-=5,i.ncode=4+(15&(g>>>=5)),g>>>=4,w-=4,286<i.nlen||30<i.ndist){t.msg="too many length or distance symbols",i.mode=30;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;w<3;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}i.lens[D[i.have++]]=7&g,g>>>=3,w-=3}for(;i.have<19;)i.lens[D[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,_=a(0,i.lens,0,19,i.lencode,0,i.work,F={bits:i.lenbits}),i.lenbits=F.bits,_){t.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;U=(T=i.lencode[g&(1<<i.lenbits)-1])>>>16&255,O=65535&T,!((j=T>>>24)<=w);){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(O<16)g>>>=j,w-=j,i.lens[i.have++]=O;else{if(16===O){for(I=j+2;w<I;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(g>>>=j,w-=j,0===i.have){t.msg="invalid bit length repeat",i.mode=30;break}W=i.lens[i.have-1],E=3+(3&g),g>>>=2,w-=2}else if(17===O){for(I=j+3;w<I;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}w-=j,W=0,E=3+(7&(g>>>=j)),g>>>=3,w-=3}else{for(I=j+7;w<I;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}w-=j,W=0,E=11+(127&(g>>>=j)),g>>>=7,w-=7}if(i.have+E>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=30;break}for(;E--;)i.lens[i.have++]=W}}if(30===i.mode)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,_=a(1,i.lens,0,i.nlen,i.lencode,0,i.work,F={bits:i.lenbits}),i.lenbits=F.bits,_){t.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,_=a(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,F={bits:i.distbits}),i.distbits=F.bits,_){t.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===r)break t;case 20:i.mode=21;case 21:if(6<=v&&258<=b){t.next_out=m,t.avail_out=b,t.next_in=p,t.avail_in=v,i.hold=g,i.bits=w,s(t,k),m=t.next_out,l=t.output,b=t.avail_out,p=t.next_in,h=t.input,v=t.avail_in,g=i.hold,w=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;U=(T=i.lencode[g&(1<<i.lenbits)-1])>>>16&255,O=65535&T,!((j=T>>>24)<=w);){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(U&&0==(240&U)){for(R=j,B=U,C=O;U=(T=i.lencode[C+((g&(1<<R+B)-1)>>R)])>>>16&255,O=65535&T,!(R+(j=T>>>24)<=w);){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}g>>>=R,w-=R,i.back+=R}if(g>>>=j,w-=j,i.back+=j,i.length=O,0===U){i.mode=26;break}if(32&U){i.back=-1,i.mode=12;break}if(64&U){t.msg="invalid literal/length code",i.mode=30;break}i.extra=15&U,i.mode=22;case 22:if(i.extra){for(I=i.extra;w<I;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}i.length+=g&(1<<i.extra)-1,g>>>=i.extra,w-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;U=(T=i.distcode[g&(1<<i.distbits)-1])>>>16&255,O=65535&T,!((j=T>>>24)<=w);){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(0==(240&U)){for(R=j,B=U,C=O;U=(T=i.distcode[C+((g&(1<<R+B)-1)>>R)])>>>16&255,O=65535&T,!(R+(j=T>>>24)<=w);){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}g>>>=R,w-=R,i.back+=R}if(g>>>=j,w-=j,i.back+=j,64&U){t.msg="invalid distance code",i.mode=30;break}i.offset=O,i.extra=15&U,i.mode=24;case 24:if(i.extra){for(I=i.extra;w<I;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}i.offset+=g&(1<<i.extra)-1,g>>>=i.extra,w-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===b)break t;if(i.offset>(E=k-b)){if((E=i.offset-E)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=30;break}z=E>i.wnext?i.wsize-(E-=i.wnext):i.wnext-E,E>i.length&&(E=i.length),S=i.window}else S=l,z=m-i.offset,E=i.length;for(b<E&&(E=b),b-=E,i.length-=E;l[m++]=S[z++],--E;);0===i.length&&(i.mode=21);break;case 26:if(0===b)break t;l[m++]=i.length,b--,i.mode=21;break;case 27:if(i.wrap){for(;w<32;){if(0===v)break t;v--,g|=h[p++]<<w,w+=8}if(t.total_out+=k-=b,i.total+=k,k&&(t.adler=i.check=i.flags?o(i.check,l,k,m-k):e(i.check,l,k,m-k)),k=b,(i.flags?g:d(g))!==i.check){t.msg="incorrect data check",i.mode=30;break}w=g=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;w<32;){if(0===v)break t;v--,g+=h[p++]<<w,w+=8}if(g!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=30;break}w=g=0}i.mode=29;case 29:_=1;break t;case 30:_=-3;break t;case 31:return-4;default:return u}return t.next_out=m,t.avail_out=b,t.next_in=p,t.avail_in=v,i.hold=g,i.bits=w,(i.wsize||k!==t.avail_out&&i.mode<30&&(i.mode<27||4!==r))&&A(t,t.output,t.next_out,k-t.avail_out)?(i.mode=31,-4):(k-=t.avail_out,t.total_in+=y-=t.avail_in,t.total_out+=k,i.total+=k,i.wrap&&k&&(t.adler=i.check=i.flags?o(i.check,l,k,t.next_out-k):e(i.check,l,k,t.next_out-k)),t.data_type=i.bits+(i.last?64:0)+(12===i.mode?128:0)+(20===i.mode||15===i.mode?256:0),(0==y&&0===k||4===r)&&_===f&&(_=-5),_)},i.inflateEnd=function(t){if(!t||!t.state)return u;var r=t.state;return r.window&&(r.window=null),t.state=null,f},i.inflateGetHeader=function(t,r){var i;return t&&t.state?0==(2&(i=t.state).wrap)?u:((i.head=r).done=!1,f):u},i.inflateSetDictionary=function(t,r){var i,n=r.length;return t&&t.state?0!==(i=t.state).wrap&&11!==i.mode?u:11===i.mode&&e(1,r,n,0)!==i.check?-3:A(t,r,n,n)?(i.mode=31,-4):(i.havedict=1,f):u},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,r){var i=t("../utils/common"),n=[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],e=[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],o=[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],s=[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];r.exports=function(t,r,a,f,u,c,h,l){var d,p,m,v,b,g,w,y,k,x=l.bits,A=0,E=0,z=0,S=0,j=0,U=0,O=0,R=0,B=0,C=0,W=null,_=0,F=new i.Buf16(16),I=new i.Buf16(16),T=null,Z=0;for(A=0;A<=15;A++)F[A]=0;for(E=0;E<f;E++)F[r[a+E]]++;for(j=x,S=15;1<=S&&0===F[S];S--);if(S<j&&(j=S),0===S)return u[c++]=20971520,u[c++]=20971520,l.bits=1,0;for(z=1;z<S&&0===F[z];z++);for(j<z&&(j=z),A=R=1;A<=15;A++)if(R<<=1,(R-=F[A])<0)return-1;if(0<R&&(0===t||1!==S))return-1;for(I[1]=0,A=1;A<15;A++)I[A+1]=I[A]+F[A];for(E=0;E<f;E++)0!==r[a+E]&&(h[I[r[a+E]]++]=E);if(g=0===t?(W=T=h,19):1===t?(W=n,_-=257,T=e,Z-=257,256):(W=o,T=s,-1),A=z,b=c,O=E=C=0,m=-1,v=(B=1<<(U=j))-1,1===t&&852<B||2===t&&592<B)return 1;for(;;){for(w=A-O,k=h[E]<g?(y=0,h[E]):h[E]>g?(y=T[Z+h[E]],W[_+h[E]]):(y=96,0),d=1<<A-O,z=p=1<<U;u[b+(C>>O)+(p-=d)]=w<<24|y<<16|k|0,0!==p;);for(d=1<<A-1;C&d;)d>>=1;if(0!==d?(C&=d-1,C+=d):C=0,E++,0==--F[A]){if(A===S)break;A=r[a+h[E]]}if(j<A&&(C&v)!==m){for(0===O&&(O=j),b+=z,R=1<<(U=A-O);U+O<S&&!((R-=F[U+O])<=0);)U++,R<<=1;if(B+=1<<U,1===t&&852<B||2===t&&592<B)return 1;u[m=C&v]=j<<24|U<<16|b-c|0}}return 0!==C&&(u[b+C]=A-O<<24|64<<16|0),l.bits=j,0}},{"../utils/common":41}],51:[function(t,r){r.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(t,r,i){var n=t("../utils/common");function e(t){for(var r=t.length;0<=--r;)t[r]=0}var o=256,s=286,a=30,f=15,u=16,c=[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],h=[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],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=new Array(576);e(p);var m=new Array(60);e(m);var v=new Array(512);e(v);var b=new Array(256);e(b);var g=new Array(29);e(g);var w,y,k,x=new Array(a);function A(t,r,i,n,e){this.static_tree=t,this.extra_bits=r,this.extra_base=i,this.elems=n,this.max_length=e,this.has_stree=t&&t.length}function E(t,r){this.dyn_tree=t,this.max_code=0,this.stat_desc=r}function z(t){return t<256?v[t]:v[256+(t>>>7)]}function S(t,r){t.pending_buf[t.pending++]=255&r,t.pending_buf[t.pending++]=r>>>8&255}function j(t,r,i){t.bi_valid>u-i?(t.bi_buf|=r<<t.bi_valid&65535,S(t,t.bi_buf),t.bi_buf=r>>u-t.bi_valid,t.bi_valid+=i-u):(t.bi_buf|=r<<t.bi_valid&65535,t.bi_valid+=i)}function U(t,r,i){j(t,i[2*r],i[2*r+1])}function O(t,r){for(var i=0;i|=1&t,t>>>=1,i<<=1,0<--r;);return i>>>1}function R(t,r,i){var n,e,o=new Array(f+1),s=0;for(n=1;n<=f;n++)o[n]=s=s+i[n-1]<<1;for(e=0;e<=r;e++){var a=t[2*e+1];0!==a&&(t[2*e]=O(o[a]++,a))}}function B(t){var r;for(r=0;r<s;r++)t.dyn_ltree[2*r]=0;for(r=0;r<a;r++)t.dyn_dtree[2*r]=0;for(r=0;r<19;r++)t.bl_tree[2*r]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function C(t){8<t.bi_valid?S(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function W(t,r,i,n){var e=2*r,o=2*i;return t[e]<t[o]||t[e]===t[o]&&n[r]<=n[i]}function _(t,r,i){for(var n=t.heap[i],e=i<<1;e<=t.heap_len&&(e<t.heap_len&&W(r,t.heap[e+1],t.heap[e],t.depth)&&e++,!W(r,n,t.heap[e],t.depth));)t.heap[i]=t.heap[e],i=e,e<<=1;t.heap[i]=n}function F(t,r,i){var n,e,s,a,f=0;if(0!==t.last_lit)for(;n=t.pending_buf[t.d_buf+2*f]<<8|t.pending_buf[t.d_buf+2*f+1],e=t.pending_buf[t.l_buf+f],f++,0===n?U(t,e,r):(U(t,(s=b[e])+o+1,r),0!==(a=c[s])&&j(t,e-=g[s],a),U(t,s=z(--n),i),0!==(a=h[s])&&j(t,n-=x[s],a)),f<t.last_lit;);U(t,256,r)}function I(t,r){var i,n,e,o=r.dyn_tree,s=r.stat_desc.static_tree,a=r.stat_desc.has_stree,u=r.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,i=0;i<u;i++)0!==o[2*i]?(t.heap[++t.heap_len]=c=i,t.depth[i]=0):o[2*i+1]=0;for(;t.heap_len<2;)o[2*(e=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[e]=0,t.opt_len--,a&&(t.static_len-=s[2*e+1]);for(r.max_code=c,i=t.heap_len>>1;1<=i;i--)_(t,o,i);for(e=u;i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],_(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,o[2*e]=o[2*i]+o[2*n],t.depth[e]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,o[2*i+1]=o[2*n+1]=e,t.heap[1]=e++,_(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,r){var i,n,e,o,s,a,u=r.dyn_tree,c=r.max_code,h=r.stat_desc.static_tree,l=r.stat_desc.has_stree,d=r.stat_desc.extra_bits,p=r.stat_desc.extra_base,m=r.stat_desc.max_length,v=0;for(o=0;o<=f;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<573;i++)m<(o=u[2*u[2*(n=t.heap[i])+1]+1]+1)&&(o=m,v++),u[2*n+1]=o,c<n||(t.bl_count[o]++,s=0,p<=n&&(s=d[n-p]),t.opt_len+=(a=u[2*n])*(o+s),l&&(t.static_len+=a*(h[2*n+1]+s)));if(0!==v){do{for(o=m-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[m]--,v-=2}while(0<v);for(o=m;0!==o;o--)for(n=t.bl_count[o];0!==n;)c<(e=t.heap[--i])||(u[2*e+1]!==o&&(t.opt_len+=(o-u[2*e+1])*u[2*e],u[2*e+1]=o),n--)}}(t,r),R(o,c,t.bl_count)}function T(t,r,i){var n,e,o=-1,s=r[1],a=0,f=7,u=4;for(0===s&&(f=138,u=3),r[2*(i+1)+1]=65535,n=0;n<=i;n++)e=s,s=r[2*(n+1)+1],++a<f&&e===s||(a<u?t.bl_tree[2*e]+=a:0!==e?(e!==o&&t.bl_tree[2*e]++,t.bl_tree[32]++):a<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=e,u=(a=0)===s?(f=138,3):e===s?(f=6,3):(f=7,4))}function Z(t,r,i){var n,e,o=-1,s=r[1],a=0,f=7,u=4;for(0===s&&(f=138,u=3),n=0;n<=i;n++)if(e=s,s=r[2*(n+1)+1],!(++a<f&&e===s)){if(a<u)for(;U(t,e,t.bl_tree),0!=--a;);else 0!==e?(e!==o&&(U(t,e,t.bl_tree),a--),U(t,16,t.bl_tree),j(t,a-3,2)):a<=10?(U(t,17,t.bl_tree),j(t,a-3,3)):(U(t,18,t.bl_tree),j(t,a-11,7));o=e,u=(a=0)===s?(f=138,3):e===s?(f=6,3):(f=7,4)}}e(x);var D=!1;function N(t,r,i,e){j(t,0+(e?1:0),3),function(t,r,i){C(t),S(t,i),S(t,~i),n.arraySet(t.pending_buf,t.window,r,i,t.pending),t.pending+=i}(t,r,i)}i._tr_init=function(t){D||(function(){var t,r,i,n,e,o=new Array(f+1);for(n=i=0;n<28;n++)for(g[n]=i,t=0;t<1<<c[n];t++)b[i++]=n;for(b[i-1]=n,n=e=0;n<16;n++)for(x[n]=e,t=0;t<1<<h[n];t++)v[e++]=n;for(e>>=7;n<a;n++)for(x[n]=e<<7,t=0;t<1<<h[n]-7;t++)v[256+e++]=n;for(r=0;r<=f;r++)o[r]=0;for(t=0;t<=143;)p[2*t+1]=8,t++,o[8]++;for(;t<=255;)p[2*t+1]=9,t++,o[9]++;for(;t<=279;)p[2*t+1]=7,t++,o[7]++;for(;t<=287;)p[2*t+1]=8,t++,o[8]++;for(R(p,287,o),t=0;t<a;t++)m[2*t+1]=5,m[2*t]=O(t,5);w=new A(p,c,257,s,f),y=new A(m,h,0,a,f),k=new A(new Array(0),l,0,19,7)}(),D=!0),t.l_desc=new E(t.dyn_ltree,w),t.d_desc=new E(t.dyn_dtree,y),t.bl_desc=new E(t.bl_tree,k),t.bi_buf=0,t.bi_valid=0,B(t)},i._tr_stored_block=N,i._tr_flush_block=function(t,r,i,n){var e,s,a=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<o;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),a=function(t){var r;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),r=18;3<=r&&0===t.bl_tree[2*d[r]+1];r--);return t.opt_len+=3*(r+1)+5+5+4,r}(t),(s=t.static_len+3+7>>>3)<=(e=t.opt_len+3+7>>>3)&&(e=s)):e=s=i+5,i+4<=e&&-1!==r?N(t,r,i,n):4===t.strategy||s===e?(j(t,2+(n?1:0),3),F(t,p,m)):(j(t,4+(n?1:0),3),function(t,r,i,n){var e;for(j(t,r-257,5),j(t,i-1,5),j(t,n-4,4),e=0;e<n;e++)j(t,t.bl_tree[2*d[e]+1],3);Z(t,t.dyn_ltree,r-1),Z(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),F(t,t.dyn_ltree,t.dyn_dtree)),B(t),n&&C(t)},i._tr_tally=function(t,r,i){return t.pending_buf[t.d_buf+2*t.last_lit]=r>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&r,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===r?t.dyn_ltree[2*i]++:(t.matches++,r--,t.dyn_ltree[2*(b[i]+o+1)]++,t.dyn_dtree[2*z(r)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){j(t,2,3),U(t,256,p),function(t){16===t.bi_valid?(S(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,r){r.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(){(function(t){!function(t,r){if(!t.setImmediate){var i,n,e,o,s=1,a={},f=!1,u=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,i="[object process]"==={}.toString.call(t.process)?function(t){process.nextTick((function(){l(t)}))}:function(){if(t.postMessage&&!t.importScripts){var r=!0,i=t.onmessage;return t.onmessage=function(){r=!1},t.postMessage("","*"),t.onmessage=i,r}}()?(o="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",d,!1):t.attachEvent("onmessage",d),function(r){t.postMessage(o+r,"*")}):t.MessageChannel?((e=new MessageChannel).port1.onmessage=function(t){l(t.data)},function(t){e.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(t){var r=u.createElement("script");r.onreadystatechange=function(){l(t),r.onreadystatechange=null,n.removeChild(r),r=null},n.appendChild(r)}):function(t){setTimeout(l,0,t)},c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];return a[s]={callback:t,args:r},i(s),s++},c.clearImmediate=h}function h(t){delete a[t]}function l(t){if(f)setTimeout(l,0,t);else{var i=a[t];if(i){f=!0;try{!function(t){var i=t.callback,n=t.args;switch(n.length){case 0:i();break;case 1:i(n[0]);break;case 2:i(n[0],n[1]);break;case 3:i(n[0],n[1],n[2]);break;default:i.apply(r,n)}}(i)}finally{h(t),f=!1}}}}function d(r){r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(o)&&l(+r.data.slice(o.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)})),f={exports:{}},u={},c={exports:{}},h={};
35
+ /*!
36
+ * @esri/arcgis-html-sanitizer - v3.0.1 - Tue Nov 15 2022 09:46:54 GMT-0800 (Pacific Standard Time)
37
+ * Copyright (c) 2022 - Environmental Systems Research Institute, Inc.
38
+ * Apache-2.0
39
+ *
40
+ * js-xss
41
+ * Copyright (c) 2012-2018 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
42
+ * http://ucdok.com
43
+ * MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details
44
+ */function l(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var d=/javascript\s*\:/gim;h.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},h.getDefaultWhiteList=l,h.onAttr=function(){},h.onIgnoreAttr=function(){},h.safeAttrValue=function(t,r){return d.test(r)?"":r};var p=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},m=function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")},v=h,b=function(t,r){";"!==(t=m(t))[t.length-1]&&(t+=";");var i=t.length,n=!1,e=0,o=0,s="";function a(){if(!n){var i=p(t.slice(e,o)),a=i.indexOf(":");if(-1!==a){var f=p(i.slice(0,a)),u=p(i.slice(a+1));if(f){var c=r(e,s.length,f,u,i);c&&(s+=c+"; ")}}}e=o+1}for(;o<i;o++){var f=t[o];if("/"===f&&"*"===t[o+1]){var u=t.indexOf("*/",o+2);if(-1===u)break;e=(o=u+1)+1,n=!1}else"("===f?n=!0:")"===f?n=!1:";"===f?n||a():"\n"===f&&a()}return p(s)};function g(t){return null==t}function w(t){(t=function(t){var r={};for(var i in t)r[i]=t[i];return r}(t||{})).whiteList=t.whiteList||v.whiteList,t.onAttr=t.onAttr||v.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||v.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||v.safeAttrValue,this.options=t}w.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var r=this.options,i=r.whiteList,n=r.onAttr,e=r.onIgnoreAttr,o=r.safeAttrValue;return b(t,(function(t,r,s,a,f){var u=i[s],c=!1;if(!0===u?c=u:"function"==typeof u?c=u(a):u instanceof RegExp&&(c=u.test(a)),!0!==c&&(c=!1),a=o(s,a)){var h,l={position:r,sourcePosition:t,source:f,isWhite:c};return c?g(h=n(s,a,l))?s+":"+a:h:g(h=e(s,a,l))?void 0:h}}))};var y=w;!function(t,r){var i=h,n=y;for(var e in(r=t.exports=function(t,r){return new n(r).process(t)}).FilterCSS=n,i)r[e]=i[e]}(c,c.exports);var k={indexOf:function(t,r){var i,n;if(Array.prototype.indexOf)return t.indexOf(r);for(i=0,n=t.length;i<n;i++)if(t[i]===r)return i;return-1},forEach:function(t,r,i){var n,e;if(Array.prototype.forEach)return t.forEach(r,i);for(n=0,e=t.length;n<e;n++)r.call(i,t[n],n,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var r=/\s|\n|\t/.exec(t);return r?r.index:-1}},x=c.exports.getDefaultWhiteList,A=k;var E=new(0,c.exports.FilterCSS);function z(t){return t.replace(S,"&lt;").replace(j,"&gt;")}var S=/</g,j=/>/g,U=/"/g,O=/&quot;/g,R=/&#([a-zA-Z0-9]*);?/gim,B=/&colon;?/gim,C=/&newline;?/gim,W=/((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,_=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,F=/u\s*r\s*l\s*\(.*/gi;function I(t){return t.replace(U,"&quot;")}function T(t){return t.replace(O,'"')}function Z(t){return t.replace(R,(function(t,r){return String.fromCharCode("x"===r[0]||"X"===r[0]?parseInt(r.substr(1),16):parseInt(r,10))}))}function D(t){return t.replace(B,":").replace(C," ")}function N(t){for(var r="",i=0,n=t.length;i<n;i++)r+=t.charCodeAt(i)<32?" ":t.charAt(i);return A.trim(r)}function P(t){return N(t=D(t=Z(t=T(t))))}function G(t){return z(t=I(t))}u.whiteList={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"]},u.getDefaultWhiteList=function(){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"]}},u.onTag=function(){},u.onIgnoreTag=function(){},u.onTagAttr=function(){},u.onIgnoreTagAttr=function(){},u.safeAttrValue=function(t,r,i,n){if(i=P(i),"href"===r||"src"===r){if("#"===(i=A.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===r){if(W.lastIndex=0,W.test(i))return""}else if("style"===r){if(_.lastIndex=0,_.test(i))return"";if(F.lastIndex=0,F.test(i)&&(W.lastIndex=0,W.test(i)))return"";!1!==n&&(i=(n=n||E).process(i))}return G(i)},u.escapeHtml=z,u.escapeQuote=I,u.unescapeQuote=T,u.escapeHtmlEntities=Z,u.escapeDangerHtml5Entities=D,u.clearNonPrintableCharacter=N,u.friendlyAttrValue=P,u.escapeAttrValue=G,u.onIgnoreTagStripAll=function(){return""},u.StripTagBody=function(t,r){"function"!=typeof r&&(r=function(){});var i=!Array.isArray(t),n=[],e=!1;return{onIgnoreTag:function(o,s,a){if(function(r){return!!i||-1!==A.indexOf(t,r)}(o)){if(a.isClosing){return n.push([!1!==e?e:a.position,a.position+10]),e=!1,"[/removed]"}return e||(e=a.position),"[removed]"}return r(o,s,a)},remove:function(t){var r="",i=0;return A.forEach(n,(function(n){r+=t.slice(i,n[0]),i=n[1]})),r+=t.slice(i)}}},u.stripCommentTag=function(t){for(var r="",i=0;i<t.length;){var n=t.indexOf("\x3c!--",i);if(-1===n){r+=t.slice(i);break}r+=t.slice(i,n);var e=t.indexOf("--\x3e",n);if(-1===e)break;i=e+3}return r},u.stripBlankChar=function(t){var r=t.split("");return(r=r.filter((function(t){var r=t.charCodeAt(0);return!(127===r||r<=31&&10!==r&&13!==r)}))).join("")},u.cssFilter=E,u.getDefaultCSSWhiteList=x;var L={},M=k;function H(t){var r,i=M.spaceIndex(t);return r=t.slice(1,-1===i?-1:i+1),"/"===(r=M.trim(r).toLowerCase()).slice(0,1)&&(r=r.slice(1)),"/"===r.slice(-1)&&(r=r.slice(0,-1)),r}function K(t){return"</"===t.slice(0,2)}var J=/[^a-zA-Z0-9\\_:.-]/gim;function q(t,r){for(;r<t.length;r++){var i=t[r];if(" "!==i)return"="===i?r:-1}}function X(t,r){for(;r<t.length;r++){var i=t[r];if(" "!==i)return"'"===i||'"'===i?r:-1}}function Y(t,r){for(;r>0;r--){var i=t[r];if(" "!==i)return"="===i?r:-1}}function $(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}L.parseTag=function(t,r,i){var n="",e=0,o=!1,s=!1,a=0,f=t.length,u="",c="";t:for(a=0;a<f;a++){var h=t.charAt(a);if(!1===o){if("<"===h){o=a;continue}}else if(!1===s){if("<"===h){n+=i(t.slice(e,a)),o=a,e=a;continue}if(">"===h){n+=i(t.slice(e,o)),u=H(c=t.slice(o,a+1)),n+=r(o,n.length,u,c,K(c)),e=a+1,o=!1;continue}if('"'===h||"'"===h)for(var l=1,d=t.charAt(a-l);""===d.trim()||"="===d;){if("="===d){s=h;continue t}d=t.charAt(a-++l)}}else if(h===s){s=!1;continue}}return e<t.length&&(n+=i(t.substr(e))),n},L.parseAttr=function(t,r){var i=0,n=0,e=[],o=!1,s=t.length;function a(t,i){if(!((t=(t=M.trim(t)).replace(J,"").toLowerCase()).length<1)){var n=r(t,i||"");n&&e.push(n)}}for(var f=0;f<s;f++){var u,c=t.charAt(f);if(!1!==o||"="!==c)if(!1===o||f!==n){if(/\s|\n|\t/.test(c)){if(t=t.replace(/\s|\n|\t/g," "),!1===o){if(-1===(u=q(t,f))){a(M.trim(t.slice(i,f))),o=!1,i=f+1;continue}f=u-1;continue}if(-1===(u=Y(t,f-1))){a(o,$(M.trim(t.slice(i,f)))),o=!1,i=f+1;continue}}}else{if(-1===(u=t.indexOf(c,f+1)))break;a(o,M.trim(t.slice(n+1,u))),o=!1,i=(f=u)+1}else o=t.slice(i,f),n='"'===t.charAt(i=f+1)||"'"===t.charAt(i)?i:X(t,f+1)}return i<t.length&&(!1===o?a(t.slice(i)):a(o,$(M.trim(t.slice(i))))),M.trim(e.join(" "))};var V=c.exports.FilterCSS,Q=u,tt=L.parseTag,rt=L.parseAttr,it=k;function nt(t){return null==t}function et(t){(t=function(t){var r={};for(var i in t)r[i]=t[i];return r}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Q.onIgnoreTagStripAll),t.whiteList=t.whiteList||t.allowList?function(t){var r={};for(var i in t)Array.isArray(t[i])?r[i.toLowerCase()]=t[i].map((function(t){return t.toLowerCase()})):r[i.toLowerCase()]=t[i];return r}(t.whiteList||t.allowList):Q.whiteList,t.onTag=t.onTag||Q.onTag,t.onTagAttr=t.onTagAttr||Q.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Q.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Q.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Q.safeAttrValue,t.escapeHtml=t.escapeHtml||Q.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new V(t.css))}et.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var r=this.options,i=r.whiteList,n=r.onTag,e=r.onIgnoreTag,o=r.onTagAttr,s=r.onIgnoreTagAttr,a=r.safeAttrValue,f=r.escapeHtml,u=this.cssFilter;r.stripBlankChar&&(t=Q.stripBlankChar(t)),r.allowCommentTag||(t=Q.stripCommentTag(t));var c=!1;r.stripIgnoreTagBody&&(c=Q.StripTagBody(r.stripIgnoreTagBody,e),e=c.onIgnoreTag);var h=tt(t,(function(t,r,c,h,l){var d={sourcePosition:t,position:r,isClosing:l,isWhite:Object.prototype.hasOwnProperty.call(i,c)},p=n(c,h,d);if(!nt(p))return p;if(d.isWhite){if(d.isClosing)return"</"+c+">";var m=function(t){var r=it.spaceIndex(t);if(-1===r)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=it.trim(t.slice(r+1,-1)))[t.length-1];return i&&(t=it.trim(t.slice(0,-1))),{html:t,closing:i}}(h),v=i[c],b=rt(m.html,(function(t,r){var i=-1!==it.indexOf(v,t),n=o(c,t,r,i);return nt(n)?i?(r=a(c,t,r,u))?t+'="'+r+'"':t:nt(n=s(c,t,r,i))?void 0:n:n}));return h="<"+c,b&&(h+=" "+b),m.closing&&(h+=" /"),h+">"}return nt(p=e(c,h,d))?f(h):p}),f);return c&&(h=c.remove(h)),h};var ot,st,at=et;!function(t,r){var i=u,n=L,e=at;function o(t,r){return new e(r).process(t)}(r=t.exports=o).filterXSS=o,r.FilterXSS=e,function(){for(var t in i)r[t]=i[t];for(var e in n)r[e]=n[e]}(),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(f,f.exports),function(t){t[t.NotYetVisited=0]="NotYetVisited",t[t.InProgress=1]="InProgress",t[t.Finished=2]="Finished"}(ot||(ot={})),function(t){t[t.thumbnail=0]="thumbnail",t[t.metadata=1]="metadata",t[t.resource=2]="resource",t[t.data=3]="data",t[t.fakezip=4]="fakezip",t[t.info=5]="info"}(st||(st={}));export{e as E,n as S,a as j}
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{d as o}from"./p-d32b683a.js";import"./p-33613993.js";import"./p-5ce6c4f9.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4a3cdcab.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-7e378eb0.js";var e={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};o.locale(e,null,!0);export default e;
6
+ import{d as o}from"./p-5dc13b6d.js";import"./p-91c78d98.js";import"./p-0014f93f.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-35a41253.js";import"./p-943a5ed7.js";import"./p-79e83176.js";import"./p-dcc50669.js";import"./p-4caa1f9d.js";import"./p-08901512.js";import"./p-9cb360bd.js";import"./p-910cf04b.js";import"./p-6527978c.js";import"./p-e912299d.js";import"./p-272018eb.js";var m={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};o.locale(m,null,!0);export default m;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as e,c as t,h as i,H as a,g as n}from"./p-33613993.js";import{l as s,a as l}from"./p-dcc50669.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";
6
+ import{r as e,c as t,h as i,H as a,g as n}from"./p-91c78d98.js";import{l as s,a as l}from"./p-dcc50669.js";import"./p-1ba1336c.js";import"./p-31fdc998.js";import"./p-31133802.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
@@ -3,4 +3,4 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{r as t,h as i,g as e,c as s,F as o}from"./p-33613993.js";import{c as n,d as a}from"./p-5079b190.js";import{c,s as l,a as r}from"./p-4a3cdcab.js";import{c as h,d}from"./p-08901512.js";import{u,c as p,d as m,s as f}from"./p-7e378eb0.js";import{S as g,C as v,I as x}from"./p-38e79175.js";import{S as b,I as y,C as w}from"./p-0505d89a.js";import{u as I,t as M,i as k,e as j}from"./p-1ba1336c.js";import{g as C}from"./p-f351978d.js";import{g as E}from"./p-31fdc998.js";import{i as z}from"./p-79e83176.js";import"./p-9cb360bd.js";import"./p-31133802.js";const H=class{constructor(i){t(this,i),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=I(t)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await c(this),this.el.focus()}connectedCallback(){h(this),p(this),n(this)}disconnectedCallback(){d(this),m(this),a(this)}async componentWillLoad(){l(this),await f(this)}componentDidLoad(){r(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:s,layout:o,messages:n,overlayPositioning:a,hasMenuActions:c}=this;return i("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!c,label:n.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:a,placement:"horizontal"===o?"bottom-start":"leading-start",scale:s},i("calcite-action",{icon:y.menu,scale:s,slot:g.trigger,text:n.more,textEnabled:t}),i("slot",{name:b.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),i("slot",{name:b.menuTooltip,slot:g.tooltip}))}render(){return i("div",{"aria-label":this.label,class:w.container,role:"group"},i("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';const A=["ArrowUp","ArrowDown","End","Home"],D=class{constructor(i){t(this,i),this.calciteActionMenuOpen=s(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${E()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:s}=this,o=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==o&&(this.disconnectMenuButtonEl(),this.menuButtonEl=o,this.setTooltipReferenceElement(),o&&(o.active=e,o.setAttribute("aria-controls",i),o.setAttribute("aria-expanded",M(e)),o.setAttribute("aria-haspopup","true"),o.id||(o.id=t),o.label||(o.label=s),o.text||(o.text=s),o.addEventListener("pointerdown",this.menuButtonClick),o.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{k(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:s}=this;t&&(t.referenceElement=i||s?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:s}=this,o=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=o),t.active=i===s},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:s,open:o}=this;if(e.length){if(z(i)){if(t.preventDefault(),!o)return void this.toggleOpen();const i=e[s];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,A))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=C(Math.max(s-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=C(s+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){l(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){k(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await c(this),j(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:e,expanded:s}=this;return i("slot",{name:g.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:v.defaultTrigger,icon:x.menu,scale:e,text:t,textEnabled:s,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:o,menuButtonEl:n,label:a,placement:c,overlayPositioning:l,flipPlacements:r}=this,h=t[e];return i("calcite-popover",{flipPlacements:r,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==n?void 0:n.id,class:v.menu,id:o,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(o,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:g.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};D.style=":host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_action_group,D as calcite_action_menu}
6
+ import{r as t,h as i,g as e,c as s,F as o}from"./p-91c78d98.js";import{c as n,d as a}from"./p-12e15eaa.js";import{c,s as l,a as r}from"./p-4caa1f9d.js";import{c as h,d}from"./p-08901512.js";import{u,c as p,d as m,s as f}from"./p-272018eb.js";import{S as g,C as v,I as x}from"./p-38e79175.js";import{S as b,I as y,C as w}from"./p-0505d89a.js";import{u as I,t as M,i as k,e as j}from"./p-1ba1336c.js";import{g as C}from"./p-f351978d.js";import{g as E}from"./p-31fdc998.js";import{i as z}from"./p-79e83176.js";import"./p-9cb360bd.js";import"./p-31133802.js";const H=class{constructor(i){t(this,i),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=I(t)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await c(this),this.el.focus()}connectedCallback(){h(this),p(this),n(this)}disconnectedCallback(){d(this),m(this),a(this)}async componentWillLoad(){l(this),await f(this)}componentDidLoad(){r(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:s,layout:o,messages:n,overlayPositioning:a,hasMenuActions:c}=this;return i("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!c,label:n.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:a,placement:"horizontal"===o?"bottom-start":"leading-start",scale:s},i("calcite-action",{icon:y.menu,scale:s,slot:g.trigger,text:n.more,textEnabled:t}),i("slot",{name:b.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),i("slot",{name:b.menuTooltip,slot:g.tooltip}))}render(){return i("div",{"aria-label":this.label,class:w.container,role:"group"},i("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}:host([hidden]){display:none}[hidden]{display:none}';const A=["ArrowUp","ArrowDown","End","Home"],D=class{constructor(i){t(this,i),this.calciteActionMenuOpen=s(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${E()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:s}=this,o=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==o&&(this.disconnectMenuButtonEl(),this.menuButtonEl=o,this.setTooltipReferenceElement(),o&&(o.active=e,o.setAttribute("aria-controls",i),o.setAttribute("aria-expanded",M(e)),o.setAttribute("aria-haspopup","true"),o.id||(o.id=t),o.label||(o.label=s),o.text||(o.text=s),o.addEventListener("pointerdown",this.menuButtonClick),o.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{k(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:s}=this;t&&(t.referenceElement=i||s?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:s}=this,o=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=o),t.active=i===s},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:s,open:o}=this;if(e.length){if(z(i)){if(t.preventDefault(),!o)return void this.toggleOpen();const i=e[s];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,A))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=C(Math.max(s-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=C(s+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){l(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){k(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await c(this),j(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:e,expanded:s}=this;return i("slot",{name:g.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:v.defaultTrigger,icon:x.menu,scale:e,text:t,textEnabled:s,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:o,menuButtonEl:n,label:a,placement:c,overlayPositioning:l,flipPlacements:r}=this,h=t[e];return i("calcite-popover",{flipPlacements:r,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==n?void 0:n.id,class:v.menu,id:o,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(o,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:g.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};D.style=":host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_action_group,D as calcite_action_menu}