@esri/solutions-components 0.8.37 → 0.8.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1172) hide show
  1. package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
  2. package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
  3. package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
  4. package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
  5. package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
  6. package/dist/assets/t9n/layer-list/resources_da.json +1 -1
  7. package/dist/assets/t9n/layer-list/resources_de.json +1 -1
  8. package/dist/assets/t9n/layer-list/resources_el.json +1 -1
  9. package/dist/assets/t9n/layer-list/resources_es.json +1 -1
  10. package/dist/assets/t9n/layer-list/resources_et.json +1 -1
  11. package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
  12. package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
  13. package/dist/assets/t9n/layer-list/resources_he.json +1 -1
  14. package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
  15. package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
  16. package/dist/assets/t9n/layer-list/resources_id.json +1 -1
  17. package/dist/assets/t9n/layer-list/resources_it.json +1 -1
  18. package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
  19. package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
  20. package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
  21. package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
  22. package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
  23. package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
  24. package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
  25. package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
  26. package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
  27. package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
  28. package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
  29. package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
  30. package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
  31. package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
  32. package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
  33. package/dist/assets/t9n/layer-list/resources_th.json +1 -1
  34. package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
  35. package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
  36. package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
  37. package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
  38. package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
  39. package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
  40. package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
  41. package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
  42. package/dist/cjs/Heading-f1f9e2dd.js +25 -0
  43. package/dist/cjs/Validation-425b2de4.js +20 -0
  44. package/dist/cjs/ar-a2f57db2.js +105 -0
  45. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  46. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  47. package/dist/cjs/bg-cb903045.js +83 -0
  48. package/dist/cjs/breakpoints-7d21666f.js +17 -0
  49. package/dist/cjs/browser-d12b6cd5.js +25 -0
  50. package/dist/cjs/bs-3690f22d.js +52 -0
  51. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  52. package/dist/cjs/ca-fec18921.js +72 -0
  53. package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
  54. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  55. package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
  56. package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
  57. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
  58. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
  59. package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
  60. package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
  61. package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
  62. package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
  64. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  65. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  66. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  67. package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
  68. package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
  69. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  70. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
  72. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  74. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
  75. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  76. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
  78. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
  79. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  80. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  81. package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
  82. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  84. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  85. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  86. package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
  87. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
  88. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  89. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  90. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  91. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  92. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  93. package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
  94. package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
  95. package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
  96. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  98. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  99. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  101. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  103. package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
  104. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
  105. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
  106. package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  108. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  109. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  110. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
  111. package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
  112. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
  113. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
  114. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  115. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  116. package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
  117. package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
  118. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  119. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  120. package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
  121. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  123. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  124. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  125. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  126. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  127. package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
  130. package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
  132. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  133. package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
  134. package/dist/cjs/common-03600219.js +38 -0
  135. package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
  136. package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
  137. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  138. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  139. package/dist/cjs/cs-b061b441.js +148 -0
  140. package/dist/cjs/da-e3c379ae.js +67 -0
  141. package/dist/cjs/date-874bf94e.js +261 -0
  142. package/dist/cjs/de-65d2876f.js +92 -0
  143. package/dist/cjs/de-at-16b7b50e.js +91 -0
  144. package/dist/cjs/de-ch-11dcd113.js +91 -0
  145. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  146. package/dist/cjs/downloadUtils-839a1425.js +3165 -0
  147. package/dist/cjs/el-321d43b5.js +67 -0
  148. package/dist/cjs/en-au-c48e6b73.js +67 -0
  149. package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
  150. package/dist/cjs/en-gb-8ced841b.js +70 -0
  151. package/dist/cjs/es-aca5e6b4.js +67 -0
  152. package/dist/cjs/es-mx-b69f0ebb.js +66 -0
  153. package/dist/cjs/et-7e29340d.js +93 -0
  154. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  155. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  156. package/dist/cjs/feature-list.cjs.entry.js +7 -7
  157. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  158. package/dist/cjs/fi-f215f4d1.js +116 -0
  159. package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
  160. package/dist/cjs/form-71a108a7.js +381 -0
  161. package/dist/cjs/fr-0daba4be.js +69 -0
  162. package/dist/cjs/fr-ch-76f752e9.js +67 -0
  163. package/dist/cjs/he-32860a76.js +106 -0
  164. package/dist/cjs/helpers-7cee3150.js +940 -0
  165. package/dist/cjs/hi-c5639f76.js +66 -0
  166. package/dist/cjs/hr-eb700fd5.js +81 -0
  167. package/dist/cjs/hu-e30e3d3a.js +89 -0
  168. package/dist/cjs/id-a3e96e5b.js +67 -0
  169. package/dist/cjs/index-97020c9d.js +201 -0
  170. package/dist/cjs/index-ff18be0d.js +1739 -0
  171. package/dist/cjs/index.es-dd4d4842.js +11317 -0
  172. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
  173. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  174. package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
  175. package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
  176. package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
  177. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
  178. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  179. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
  180. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
  181. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  182. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  183. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
  184. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  185. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
  186. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  187. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  188. package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
  189. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
  190. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
  191. package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
  192. package/dist/cjs/interactive-7e5c7df4.js +154 -0
  193. package/dist/cjs/it-acd3cf54.js +67 -0
  194. package/dist/cjs/it-ch-c78435e7.js +67 -0
  195. package/dist/cjs/ja-ede2132a.js +73 -0
  196. package/dist/cjs/ko-fcd96551.js +73 -0
  197. package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
  198. package/dist/cjs/languageUtil-d23251cd.js +69 -0
  199. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  200. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  201. package/dist/cjs/loadModules-4189814e.js +23 -0
  202. package/dist/cjs/loadable-5d538ba2.js +94 -0
  203. package/dist/cjs/loader.cjs.js +1 -1
  204. package/dist/cjs/locale-62f4cef2.js +91 -0
  205. package/dist/cjs/locale-6973733d.js +161 -0
  206. package/dist/cjs/locale-d2a1066a.js +584 -0
  207. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  208. package/dist/cjs/lt-a30330ef.js +98 -0
  209. package/dist/cjs/lv-ac3b6560.js +67 -0
  210. package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
  211. package/dist/cjs/mapViewUtils-78b14528.js +510 -0
  212. package/dist/cjs/mk-a3053dea.js +67 -0
  213. package/dist/cjs/mode-3478ba36.js +19 -0
  214. package/dist/cjs/nb-7ab0bac1.js +68 -0
  215. package/dist/cjs/nl-7fa437ef.js +68 -0
  216. package/dist/cjs/observers-2a59d471.js +55 -0
  217. package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
  218. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  219. package/dist/cjs/pciUtils-f1adcf64.js +847 -0
  220. package/dist/cjs/pl-ea95b104.js +115 -0
  221. package/dist/cjs/popupUtils-bae7f923.js +111 -0
  222. package/dist/cjs/pt-472083c2.js +68 -0
  223. package/dist/cjs/pt-br-5f18543e.js +66 -0
  224. package/dist/cjs/public-notification.cjs.entry.js +28 -16
  225. package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
  226. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  227. package/dist/cjs/restHelpersGet-afc74285.js +919 -0
  228. package/dist/cjs/ro-e8b3d65c.js +67 -0
  229. package/dist/cjs/ru-becefd01.js +127 -0
  230. package/dist/cjs/share-item.cjs.entry.js +1 -1
  231. package/dist/cjs/shared-list-render-6491aae1.js +365 -0
  232. package/dist/cjs/sk-2f5fd4e0.js +149 -0
  233. package/dist/cjs/sl-3ae17da6.js +169 -0
  234. package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
  235. package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
  236. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  237. package/dist/cjs/solution-resource-ffe3c333.js +145 -0
  238. package/dist/cjs/solution-store-c8bada29.js +1344 -0
  239. package/dist/cjs/solutions-components.cjs.js +2 -2
  240. package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
  241. package/dist/cjs/sr-7d6b8d1b.js +102 -0
  242. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  243. package/dist/cjs/styles-ef2b1e04.js +13 -0
  244. package/dist/cjs/sv-9c51da5c.js +72 -0
  245. package/dist/cjs/t9n-ef615628.js +100 -0
  246. package/dist/cjs/th-fec0a074.js +66 -0
  247. package/dist/cjs/time-089ab043.js +289 -0
  248. package/dist/cjs/tr-8d7c18a1.js +67 -0
  249. package/dist/cjs/uk-46a61312.js +105 -0
  250. package/dist/cjs/utils-1de4eaa0.js +130 -0
  251. package/dist/cjs/utils-d237cb85.js +65 -0
  252. package/dist/cjs/vi-4114aa90.js +71 -0
  253. package/dist/cjs/zh-cn-30aca6fe.js +95 -0
  254. package/dist/cjs/zh-hk-5971eb67.js +72 -0
  255. package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
  256. package/dist/collection/collection-manifest.json +1 -1
  257. package/dist/collection/components/consent-manager/consent-manager.js +1 -0
  258. package/dist/collection/components/feature-details/feature-details.js +10 -15
  259. package/dist/collection/components/public-notification/public-notification.js +20 -8
  260. package/dist/collection/utils/mapViewUtils.js +2 -0
  261. package/dist/collection/utils/mapViewUtils.ts +2 -0
  262. package/dist/collection/utils/pciUtils.js +1 -1
  263. package/dist/collection/utils/pciUtils.ts +2 -2
  264. package/dist/components/breakpoints.js +5 -5
  265. package/dist/components/button.js +1 -1
  266. package/dist/components/calcite-accordion-item.js +1 -1
  267. package/dist/components/calcite-navigation-logo.js +1 -1
  268. package/dist/components/calcite-stepper-item.js +1 -1
  269. package/dist/components/combobox-item.js +1 -1
  270. package/dist/components/consent-manager.js +7 -1029
  271. package/dist/components/deduct-calculator2.js +1 -1
  272. package/dist/components/dropdown-item.js +1 -1
  273. package/dist/components/feature-details2.js +10 -15
  274. package/dist/components/helpers.js +723 -691
  275. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  276. package/dist/components/instant-apps-control-panel.js +1 -1
  277. package/dist/components/instant-apps-create.js +47 -45
  278. package/dist/components/instant-apps-export.js +1 -1
  279. package/dist/components/instant-apps-filter-list2.js +24 -24
  280. package/dist/components/instant-apps-header2.js +2 -2
  281. package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
  282. package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
  283. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
  284. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
  285. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
  286. package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
  287. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
  288. package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
  289. package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
  290. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  291. package/dist/components/instant-apps-landing-page.js +10 -10
  292. package/dist/components/instant-apps-language-switcher.js +1 -1
  293. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  294. package/dist/components/instant-apps-language-translator2.js +44 -44
  295. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  296. package/dist/components/instant-apps-measurement.js +1 -1
  297. package/dist/components/instant-apps-popover.js +1 -1
  298. package/dist/components/instant-apps-popovers.js +1 -1
  299. package/dist/components/instant-apps-scoreboard.js +1 -1
  300. package/dist/components/instant-apps-sign-in2.js +3 -3
  301. package/dist/components/instant-apps-social-share2.js +12 -11
  302. package/dist/components/instant-apps-splash.js +7 -7
  303. package/dist/components/languageUtil.js +43 -43
  304. package/dist/components/loadModules2.js +3 -3
  305. package/dist/components/locale3.js +58 -58
  306. package/dist/components/mapViewUtils.js +2 -0
  307. package/dist/components/mode.js +6 -6
  308. package/dist/components/public-notification.js +20 -8
  309. package/dist/components/restHelpersGet.js +329 -382
  310. package/dist/components/solution-resource.js +107 -107
  311. package/dist/components/solution-store.js +482 -482
  312. package/dist/components/store.js +66 -66
  313. package/dist/components/styles.js +1 -1
  314. package/dist/components/tab-title.js +1 -1
  315. package/dist/components/tree-item.js +1 -1
  316. package/dist/components/utils4.js +80 -80
  317. package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
  318. package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
  319. package/dist/esm/Heading-63031c74.js +22 -0
  320. package/dist/esm/Validation-6712b322.js +18 -0
  321. package/dist/esm/ar-19d4f5c7.js +103 -0
  322. package/dist/esm/arcgis-login.entry.js +1 -1
  323. package/dist/esm/basemap-gallery_7.entry.js +3 -3
  324. package/dist/esm/bg-63235b1a.js +81 -0
  325. package/dist/esm/breakpoints-3afa0fd9.js +15 -0
  326. package/dist/esm/browser-e76c94f7.js +23 -0
  327. package/dist/esm/bs-a1b74ac8.js +50 -0
  328. package/dist/esm/buffer-tools_3.entry.js +5 -5
  329. package/dist/esm/ca-b29c38ed.js +70 -0
  330. package/dist/esm/calcite-accordion-item.entry.js +4 -4
  331. package/dist/esm/calcite-accordion.entry.js +2 -2
  332. package/dist/esm/calcite-action-bar.entry.js +7 -7
  333. package/dist/esm/calcite-action-group.entry.js +6 -6
  334. package/dist/esm/calcite-action-menu_3.entry.js +9 -9
  335. package/dist/esm/calcite-action-pad_2.entry.js +11 -11
  336. package/dist/esm/calcite-action_2.entry.js +7 -7
  337. package/dist/esm/calcite-alert_4.entry.js +13 -13
  338. package/dist/esm/calcite-avatar_2.entry.js +2 -2
  339. package/dist/esm/calcite-block-section.entry.js +5 -5
  340. package/dist/esm/calcite-block_5.entry.js +55 -54
  341. package/dist/esm/calcite-button.entry.js +9 -9
  342. package/dist/esm/calcite-card-group.entry.js +4 -4
  343. package/dist/esm/calcite-card.entry.js +7 -7
  344. package/dist/esm/calcite-carousel-item.entry.js +1 -1
  345. package/dist/esm/calcite-carousel.entry.js +7 -7
  346. package/dist/esm/calcite-checkbox.entry.js +5 -5
  347. package/dist/esm/calcite-chip-group.entry.js +4 -4
  348. package/dist/esm/calcite-chip_2.entry.js +10 -10
  349. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  350. package/dist/esm/calcite-color-picker.entry.js +7 -7
  351. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  352. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  353. package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
  354. package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
  355. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  356. package/dist/esm/calcite-fab.entry.js +4 -4
  357. package/dist/esm/calcite-filter_5.entry.js +7 -7
  358. package/dist/esm/calcite-flow_6.entry.js +20 -25
  359. package/dist/esm/calcite-icon.entry.js +2 -2
  360. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  361. package/dist/esm/calcite-input-number.entry.js +9 -9
  362. package/dist/esm/calcite-input-text.entry.js +9 -9
  363. package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
  364. package/dist/esm/calcite-input-time-picker.entry.js +12 -12
  365. package/dist/esm/calcite-input-time-zone.entry.js +8 -8
  366. package/dist/esm/calcite-input_2.entry.js +9 -9
  367. package/dist/esm/calcite-label.entry.js +1 -1
  368. package/dist/esm/calcite-link.entry.js +4 -4
  369. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  370. package/dist/esm/calcite-menu-item.entry.js +5 -5
  371. package/dist/esm/calcite-menu.entry.js +5 -5
  372. package/dist/esm/calcite-meter.entry.js +5 -5
  373. package/dist/esm/calcite-modal.entry.js +7 -7
  374. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  375. package/dist/esm/calcite-navigation.entry.js +2 -2
  376. package/dist/esm/calcite-notice.entry.js +7 -7
  377. package/dist/esm/calcite-option-group.entry.js +1 -1
  378. package/dist/esm/calcite-option_2.entry.js +7 -7
  379. package/dist/esm/calcite-pagination.entry.js +5 -5
  380. package/dist/esm/calcite-panel_2.entry.js +9 -9
  381. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  382. package/dist/esm/calcite-pick-list-item.entry.js +8 -8
  383. package/dist/esm/calcite-pick-list.entry.js +6 -6
  384. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  385. package/dist/esm/calcite-radio-button.entry.js +5 -5
  386. package/dist/esm/calcite-rating.entry.js +8 -8
  387. package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
  388. package/dist/esm/calcite-sheet.entry.js +4 -4
  389. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  390. package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
  391. package/dist/esm/calcite-sortable-list.entry.js +4 -4
  392. package/dist/esm/calcite-split-button.entry.js +4 -4
  393. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  394. package/dist/esm/calcite-stepper.entry.js +4 -4
  395. package/dist/esm/calcite-switch.entry.js +5 -5
  396. package/dist/esm/calcite-table-cell_2.entry.js +7 -7
  397. package/dist/esm/calcite-table-row.entry.js +3 -3
  398. package/dist/esm/calcite-table.entry.js +6 -6
  399. package/dist/esm/calcite-text-area.entry.js +9 -9
  400. package/dist/esm/calcite-tile-group.entry.js +4 -4
  401. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  402. package/dist/esm/calcite-tile-select.entry.js +4 -4
  403. package/dist/esm/calcite-tile.entry.js +4 -4
  404. package/dist/esm/calcite-time-picker.entry.js +6 -6
  405. package/dist/esm/calcite-tip-group.entry.js +1 -1
  406. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  407. package/dist/esm/calcite-tip.entry.js +6 -6
  408. package/dist/esm/calcite-tooltip.entry.js +4 -4
  409. package/dist/esm/calcite-tree_2.entry.js +6 -6
  410. package/dist/esm/card-manager_3.entry.js +7 -7
  411. package/dist/esm/common-8697fccd.js +36 -0
  412. package/dist/esm/conditionalSlot-56bdb202.js +51 -0
  413. package/dist/esm/consent-manager.entry.js +10 -1031
  414. package/dist/esm/crowdsource-manager.entry.js +4 -4
  415. package/dist/esm/crowdsource-reporter.entry.js +4 -4
  416. package/dist/esm/cs-da7231d6.js +146 -0
  417. package/dist/esm/da-7e105037.js +65 -0
  418. package/dist/esm/date-93ae46b9.js +245 -0
  419. package/dist/esm/de-at-1d9434bb.js +89 -0
  420. package/dist/esm/de-b5646b5d.js +90 -0
  421. package/dist/esm/de-ch-7beada93.js +89 -0
  422. package/dist/esm/deduct-calculator.entry.js +2 -2
  423. package/dist/esm/downloadUtils-97acca92.js +3158 -0
  424. package/dist/esm/el-0f4bf89b.js +65 -0
  425. package/dist/esm/en-au-5c144cef.js +65 -0
  426. package/dist/esm/en-ca-1160089a.js +64 -0
  427. package/dist/esm/en-gb-ae98fc58.js +68 -0
  428. package/dist/esm/es-88e1743a.js +65 -0
  429. package/dist/esm/es-mx-020dfaaa.js +64 -0
  430. package/dist/esm/esri-loader-3080dcc0.js +311 -0
  431. package/dist/esm/et-84f63ef8.js +91 -0
  432. package/dist/esm/feature-comments.entry.js +1 -1
  433. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  434. package/dist/esm/feature-list.entry.js +8 -8
  435. package/dist/esm/features-flow-item.entry.js +1 -1
  436. package/dist/esm/fi-1016ee6e.js +114 -0
  437. package/dist/esm/floating-ui-f086572c.js +2287 -0
  438. package/dist/esm/form-8fd73cbd.js +372 -0
  439. package/dist/esm/fr-0e7ffd73.js +67 -0
  440. package/dist/esm/fr-ch-e18bae2c.js +65 -0
  441. package/dist/esm/he-0cebe004.js +104 -0
  442. package/dist/esm/helpers-7c88b974.js +913 -0
  443. package/dist/esm/hi-cded031d.js +64 -0
  444. package/dist/esm/hr-5643b2ab.js +79 -0
  445. package/dist/esm/html2canvas-fd387d87.js +7845 -0
  446. package/dist/esm/hu-6d605858.js +87 -0
  447. package/dist/esm/id-7d804c46.js +65 -0
  448. package/dist/esm/index-83b693bc.js +1705 -0
  449. package/dist/esm/index-d97f4f15.js +199 -0
  450. package/dist/esm/index.es-ee5497bc.js +11230 -0
  451. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
  452. package/dist/esm/instant-apps-control-panel.entry.js +4 -4
  453. package/dist/esm/instant-apps-create.entry.js +53 -51
  454. package/dist/esm/instant-apps-export.entry.js +7 -7
  455. package/dist/esm/instant-apps-header.entry.js +7 -7
  456. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
  457. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
  458. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
  459. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
  460. package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
  461. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
  462. package/dist/esm/instant-apps-landing-page.entry.js +12 -12
  463. package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
  464. package/dist/esm/instant-apps-language-translator.entry.js +9 -9
  465. package/dist/esm/instant-apps-measurement.entry.js +6 -6
  466. package/dist/esm/instant-apps-popover.entry.js +6 -6
  467. package/dist/esm/instant-apps-popovers.entry.js +2 -2
  468. package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
  469. package/dist/esm/instant-apps-sign-in.entry.js +8 -8
  470. package/dist/esm/instant-apps-splash.entry.js +12 -12
  471. package/dist/esm/interactive-3b9600a6.js +149 -0
  472. package/dist/esm/it-849be361.js +65 -0
  473. package/dist/esm/it-ch-453fa26d.js +65 -0
  474. package/dist/esm/ja-edff1441.js +71 -0
  475. package/dist/esm/ko-dc103450.js +71 -0
  476. package/dist/esm/languageSwitcher-0f693a04.js +57 -0
  477. package/dist/esm/languageUtil-de206286.js +66 -0
  478. package/dist/esm/layout-manager.entry.js +3 -3
  479. package/dist/esm/list-flow-item.entry.js +1 -1
  480. package/dist/esm/loadModules-43119ac8.js +21 -0
  481. package/dist/esm/loadable-b765a6f6.js +89 -0
  482. package/dist/esm/loader.js +2 -2
  483. package/dist/esm/locale-42369411.js +156 -0
  484. package/dist/esm/locale-70630b7c.js +86 -0
  485. package/dist/esm/locale-a4cbae12.js +571 -0
  486. package/dist/esm/location-flow-item.entry.js +1 -1
  487. package/dist/esm/lt-270cc811.js +96 -0
  488. package/dist/esm/lv-c877043c.js +65 -0
  489. package/dist/esm/map-select-tools_3.entry.js +9 -9
  490. package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
  491. package/dist/esm/mk-a816a702.js +65 -0
  492. package/dist/esm/mode-8c5f5dc9.js +17 -0
  493. package/dist/esm/nb-e9c09b70.js +66 -0
  494. package/dist/esm/nl-56e70f3b.js +66 -0
  495. package/dist/esm/observers-fcb1c07b.js +53 -0
  496. package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
  497. package/dist/esm/pci-calculator.entry.js +2 -2
  498. package/dist/esm/pciUtils-986ddad9.js +844 -0
  499. package/dist/esm/pl-687b559a.js +113 -0
  500. package/dist/esm/popupUtils-98ad70f3.js +109 -0
  501. package/dist/esm/pt-8b05fed2.js +66 -0
  502. package/dist/esm/pt-br-85bdf812.js +64 -0
  503. package/dist/esm/public-notification.entry.js +29 -17
  504. package/dist/esm/publicNotificationStore-08faccff.js +45 -0
  505. package/dist/esm/purify-caded4cd.js +1714 -0
  506. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  507. package/dist/esm/restHelpersGet-dab84057.js +906 -0
  508. package/dist/esm/ro-0975d6bb.js +65 -0
  509. package/dist/esm/ru-24b83704.js +125 -0
  510. package/dist/esm/share-item.entry.js +1 -1
  511. package/dist/esm/shared-list-render-07a20fc5.js +343 -0
  512. package/dist/esm/sk-8179af4d.js +147 -0
  513. package/dist/esm/sl-e6922692.js +167 -0
  514. package/dist/esm/solution-configuration.entry.js +7 -7
  515. package/dist/esm/solution-contents_3.entry.js +8 -8
  516. package/dist/esm/solution-item-icon.entry.js +1 -1
  517. package/dist/esm/solution-resource-a2fff3bf.js +142 -0
  518. package/dist/esm/solution-store-30a19a45.js +1342 -0
  519. package/dist/esm/solutions-components.js +3 -3
  520. package/dist/esm/spatial-ref.entry.js +5 -5
  521. package/dist/esm/sr-1d30e69e.js +100 -0
  522. package/dist/esm/store-manager.entry.js +1 -1
  523. package/dist/esm/styles-b3492d9f.js +11 -0
  524. package/dist/esm/sv-ea3c4b80.js +70 -0
  525. package/dist/esm/t9n-dd2a98fc.js +95 -0
  526. package/dist/esm/th-0f1b35bc.js +64 -0
  527. package/dist/esm/time-bc97792f.js +274 -0
  528. package/dist/esm/tr-eb4e860e.js +65 -0
  529. package/dist/esm/uk-f3ebd952.js +103 -0
  530. package/dist/esm/utils-9bb48951.js +121 -0
  531. package/dist/esm/utils-bf012a3f.js +54 -0
  532. package/dist/esm/vi-872e449d.js +69 -0
  533. package/dist/esm/zh-cn-8c5a3222.js +93 -0
  534. package/dist/esm/zh-hk-247683c2.js +70 -0
  535. package/dist/esm/zh-tw-76a429e9.js +91 -0
  536. package/dist/loader/cdn.js +1 -2
  537. package/dist/loader/index.cjs.js +1 -2
  538. package/dist/loader/index.es2017.js +1 -2
  539. package/dist/loader/index.js +1 -2
  540. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
  541. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
  542. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
  543. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
  544. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
  545. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
  546. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
  547. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
  548. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
  549. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
  550. package/dist/solutions-components/p-01ba6099.js +6 -0
  551. package/dist/solutions-components/p-03178c37.js +6 -0
  552. package/dist/solutions-components/p-046acd6b.entry.js +6 -0
  553. package/dist/solutions-components/p-0a053ed7.js +6 -0
  554. package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
  555. package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
  556. package/dist/solutions-components/p-11094d76.entry.js +29 -0
  557. package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
  558. package/dist/solutions-components/p-123fcb43.entry.js +6 -0
  559. package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
  560. package/dist/solutions-components/p-132b1138.entry.js +21 -0
  561. package/dist/solutions-components/p-13b513ed.entry.js +11 -0
  562. package/dist/solutions-components/p-15e08453.js +6 -0
  563. package/dist/solutions-components/p-17feaae0.entry.js +17 -0
  564. package/dist/solutions-components/p-1983d6e8.js +6 -0
  565. package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
  566. package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
  567. package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
  568. package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
  569. package/dist/solutions-components/p-1d369231.js +21 -0
  570. package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
  571. package/dist/solutions-components/p-20a567b0.entry.js +6 -0
  572. package/dist/solutions-components/p-21965dcd.entry.js +11 -0
  573. package/dist/solutions-components/p-2305749d.entry.js +17 -0
  574. package/dist/solutions-components/p-24634430.entry.js +11 -0
  575. package/dist/solutions-components/p-2599399f.entry.js +6 -0
  576. package/dist/solutions-components/p-27c68097.js +11 -0
  577. package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
  578. package/dist/solutions-components/p-28fd26ed.js +6 -0
  579. package/dist/solutions-components/p-293d376c.js +6 -0
  580. package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
  581. package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
  582. package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
  583. package/dist/solutions-components/p-2a990146.entry.js +6 -0
  584. package/dist/solutions-components/p-2b4e50ed.js +6 -0
  585. package/dist/solutions-components/p-2d99bd61.js +6 -0
  586. package/dist/solutions-components/p-2e401f51.js +6 -0
  587. package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
  588. package/dist/solutions-components/p-3102119d.entry.js +11 -0
  589. package/dist/solutions-components/p-3137377f.entry.js +11 -0
  590. package/dist/solutions-components/p-34722455.entry.js +6 -0
  591. package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
  592. package/dist/solutions-components/p-37e2754a.js +6 -0
  593. package/dist/solutions-components/p-398ff315.js +11 -0
  594. package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
  595. package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
  596. package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
  597. package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
  598. package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
  599. package/dist/solutions-components/p-3eb49703.js +489 -0
  600. package/dist/solutions-components/p-42ea2581.js +6 -0
  601. package/dist/solutions-components/p-44043ef6.entry.js +11 -0
  602. package/dist/solutions-components/p-44bfa87d.js +11 -0
  603. package/dist/solutions-components/p-45db29e2.js +6 -0
  604. package/dist/solutions-components/p-465fbfc2.js +6 -0
  605. package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
  606. package/dist/solutions-components/p-49250010.js +6 -0
  607. package/dist/solutions-components/p-4b80b699.entry.js +6 -0
  608. package/dist/solutions-components/p-4b85c3dc.js +6 -0
  609. package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
  610. package/dist/solutions-components/p-4fbd1a02.js +6 -0
  611. package/dist/solutions-components/p-50aa0e5a.js +6 -0
  612. package/dist/solutions-components/p-52bcd209.entry.js +6 -0
  613. package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
  614. package/dist/solutions-components/p-5443995c.entry.js +11 -0
  615. package/dist/solutions-components/p-55730588.js +6 -0
  616. package/dist/solutions-components/p-57961ae0.entry.js +6 -0
  617. package/dist/solutions-components/p-57a03a95.js +17 -0
  618. package/dist/solutions-components/p-59f016a1.js +61 -0
  619. package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
  620. package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
  621. package/dist/solutions-components/p-5db64297.entry.js +11 -0
  622. package/dist/solutions-components/p-5eb6219c.js +11 -0
  623. package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
  624. package/dist/solutions-components/p-5ed825c4.js +6 -0
  625. package/dist/solutions-components/p-5f1fdaf9.js +11 -0
  626. package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
  627. package/dist/solutions-components/p-61dcdc62.js +6 -0
  628. package/dist/solutions-components/p-622f33ee.entry.js +6 -0
  629. package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
  630. package/dist/solutions-components/p-652140aa.entry.js +6 -0
  631. package/dist/solutions-components/p-6809e050.entry.js +11 -0
  632. package/dist/solutions-components/p-69cfc738.entry.js +6 -0
  633. package/dist/solutions-components/p-69db1e2c.js +6 -0
  634. package/dist/solutions-components/p-6acf6c8f.js +7 -0
  635. package/dist/solutions-components/p-6bf91f6e.js +6 -0
  636. package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
  637. package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
  638. package/dist/solutions-components/p-6d51c6bf.js +6 -0
  639. package/dist/solutions-components/p-6df9b158.entry.js +11 -0
  640. package/dist/solutions-components/p-716a0878.js +11 -0
  641. package/dist/solutions-components/p-71c212e6.entry.js +12 -0
  642. package/dist/solutions-components/p-71ed8170.entry.js +11 -0
  643. package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
  644. package/dist/solutions-components/p-7388563d.js +6 -0
  645. package/dist/solutions-components/p-747d4b59.js +21 -0
  646. package/dist/solutions-components/p-74dbad36.js +6 -0
  647. package/dist/solutions-components/p-7638ce3d.js +6 -0
  648. package/dist/solutions-components/p-76f51550.entry.js +11 -0
  649. package/dist/solutions-components/p-7773d8ea.js +6 -0
  650. package/dist/solutions-components/p-7822e93b.js +16 -0
  651. package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
  652. package/dist/solutions-components/p-7996f123.js +50 -0
  653. package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
  654. package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
  655. package/dist/solutions-components/p-7a646a97.js +6 -0
  656. package/dist/solutions-components/p-7afca6b4.js +26 -0
  657. package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
  658. package/dist/solutions-components/p-7efcfb47.js +6 -0
  659. package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
  660. package/dist/solutions-components/p-7fe77355.js +6 -0
  661. package/dist/solutions-components/p-7fea6d8a.js +6 -0
  662. package/dist/solutions-components/p-8008449b.entry.js +16 -0
  663. package/dist/solutions-components/p-813d004f.js +16 -0
  664. package/dist/solutions-components/p-8241b179.entry.js +17 -0
  665. package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
  666. package/dist/solutions-components/p-853d952d.entry.js +6 -0
  667. package/dist/solutions-components/p-89f6ff72.js +6 -0
  668. package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
  669. package/dist/solutions-components/p-8babc507.entry.js +6 -0
  670. package/dist/solutions-components/p-8c6d9b5a.js +6 -0
  671. package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
  672. package/dist/solutions-components/p-8ed6ce4d.js +11 -0
  673. package/dist/solutions-components/p-9088fa3a.js +6 -0
  674. package/dist/solutions-components/p-90e3ce7f.js +6 -0
  675. package/dist/solutions-components/p-9271710d.js +6 -0
  676. package/dist/solutions-components/p-9377260c.js +6 -0
  677. package/dist/solutions-components/p-941e55f0.entry.js +6 -0
  678. package/dist/solutions-components/p-946ee345.js +145 -0
  679. package/dist/solutions-components/p-97421bb9.js +6 -0
  680. package/dist/solutions-components/p-9808250d.entry.js +6 -0
  681. package/dist/solutions-components/p-9a7e00b8.js +6 -0
  682. package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
  683. package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
  684. package/dist/solutions-components/p-9c6c056a.js +12 -0
  685. package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
  686. package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
  687. package/dist/solutions-components/p-9e77f5c7.js +11 -0
  688. package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
  689. package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
  690. package/dist/solutions-components/p-a204dcff.entry.js +11 -0
  691. package/dist/solutions-components/p-a2390bee.entry.js +6 -0
  692. package/dist/solutions-components/p-a805c11f.entry.js +6 -0
  693. package/dist/solutions-components/p-a89e61f4.js +11 -0
  694. package/dist/solutions-components/p-aa967a48.entry.js +6 -0
  695. package/dist/solutions-components/p-ab8039f5.js +6 -0
  696. package/dist/solutions-components/p-acef743f.entry.js +11 -0
  697. package/dist/solutions-components/p-ada34f83.js +6 -0
  698. package/dist/solutions-components/p-af1c9389.entry.js +6 -0
  699. package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
  700. package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
  701. package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
  702. package/dist/solutions-components/p-b25e8339.js +6 -0
  703. package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
  704. package/dist/solutions-components/p-b2f11718.entry.js +11 -0
  705. package/dist/solutions-components/p-b4230022.entry.js +11 -0
  706. package/dist/solutions-components/p-b442aa02.entry.js +17 -0
  707. package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
  708. package/dist/solutions-components/p-b5c88983.js +6 -0
  709. package/dist/solutions-components/p-b64cc55e.js +11 -0
  710. package/dist/solutions-components/p-b77b6c26.js +6 -0
  711. package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
  712. package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
  713. package/dist/solutions-components/p-ba569f8b.js +11 -0
  714. package/dist/solutions-components/p-bac8a4cd.js +6 -0
  715. package/dist/solutions-components/p-bd459df3.entry.js +11 -0
  716. package/dist/solutions-components/p-bf27cd5f.js +6 -0
  717. package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
  718. package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
  719. package/dist/solutions-components/p-c4160bf7.js +6 -0
  720. package/dist/solutions-components/p-c4ddb206.js +21 -0
  721. package/dist/solutions-components/p-c554abce.entry.js +11 -0
  722. package/dist/solutions-components/p-c63a8225.entry.js +6 -0
  723. package/dist/solutions-components/p-c8935707.entry.js +11 -0
  724. package/dist/solutions-components/p-c96bde1d.js +6 -0
  725. package/dist/solutions-components/p-c9b22653.js +36 -0
  726. package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
  727. package/dist/solutions-components/p-cc07069d.entry.js +11 -0
  728. package/dist/solutions-components/p-cc388a08.js +11 -0
  729. package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
  730. package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
  731. package/dist/solutions-components/p-d029b513.js +6 -0
  732. package/dist/solutions-components/p-d11d941c.js +6 -0
  733. package/dist/solutions-components/p-d27ab863.js +37 -0
  734. package/dist/solutions-components/p-d31a139f.entry.js +11 -0
  735. package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
  736. package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
  737. package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
  738. package/dist/solutions-components/p-da75df88.entry.js +6 -0
  739. package/dist/solutions-components/p-de279d51.entry.js +6 -0
  740. package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
  741. package/dist/solutions-components/p-df0a1d4b.js +11 -0
  742. package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
  743. package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
  744. package/dist/solutions-components/p-e11a4728.entry.js +6 -0
  745. package/dist/solutions-components/p-e528c321.js +6 -0
  746. package/dist/solutions-components/p-e6c9e6af.js +11 -0
  747. package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
  748. package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
  749. package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
  750. package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
  751. package/dist/solutions-components/p-ee309d0b.js +6 -0
  752. package/dist/solutions-components/p-ee7f7c24.js +6 -0
  753. package/dist/solutions-components/p-ef54f211.js +6 -0
  754. package/dist/solutions-components/p-ef930f76.entry.js +11 -0
  755. package/dist/solutions-components/p-f163a137.js +6 -0
  756. package/dist/solutions-components/p-f1ae51dc.js +21 -0
  757. package/dist/solutions-components/p-f480b275.js +6 -0
  758. package/dist/solutions-components/p-f539a342.entry.js +11 -0
  759. package/dist/solutions-components/p-f8c45269.entry.js +6 -0
  760. package/dist/solutions-components/p-fa1ceaf9.js +7 -0
  761. package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
  762. package/dist/solutions-components/p-fc9a49db.js +6 -0
  763. package/dist/solutions-components/solutions-components.esm.js +1 -1
  764. package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
  765. package/dist/solutions-components/utils/pciUtils.ts +2 -2
  766. package/dist/types/stencil-public-runtime.d.ts +3 -8
  767. package/package.json +41 -40
  768. package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
  769. package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
  770. package/dist/cjs/Heading-1f831135.js +0 -25
  771. package/dist/cjs/Validation-eb9afded.js +0 -20
  772. package/dist/cjs/ar-1013e0a6.js +0 -105
  773. package/dist/cjs/bg-7013971e.js +0 -83
  774. package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
  775. package/dist/cjs/browser-a96d0614.js +0 -25
  776. package/dist/cjs/bs-97bd61eb.js +0 -52
  777. package/dist/cjs/ca-2a76034c.js +0 -72
  778. package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
  779. package/dist/cjs/common-6d2c14c6.js +0 -38
  780. package/dist/cjs/conditionalSlot-93779916.js +0 -54
  781. package/dist/cjs/cs-b189af7b.js +0 -148
  782. package/dist/cjs/da-ebb3b688.js +0 -67
  783. package/dist/cjs/date-456675b2.js +0 -261
  784. package/dist/cjs/de-01ac3f09.js +0 -92
  785. package/dist/cjs/de-at-1437180c.js +0 -91
  786. package/dist/cjs/de-ch-b9a068a3.js +0 -91
  787. package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
  788. package/dist/cjs/el-7ce5c99d.js +0 -67
  789. package/dist/cjs/en-au-c3ca3a9f.js +0 -67
  790. package/dist/cjs/en-ca-34007cde.js +0 -66
  791. package/dist/cjs/en-gb-2db136a2.js +0 -70
  792. package/dist/cjs/es-f00ce3f0.js +0 -67
  793. package/dist/cjs/es-mx-503b9e1a.js +0 -66
  794. package/dist/cjs/et-556f49fd.js +0 -93
  795. package/dist/cjs/fi-47ef7686.js +0 -116
  796. package/dist/cjs/floating-ui-06d961ad.js +0 -2295
  797. package/dist/cjs/form-a27f759c.js +0 -381
  798. package/dist/cjs/fr-5ba5763a.js +0 -69
  799. package/dist/cjs/fr-ch-9b02cb30.js +0 -67
  800. package/dist/cjs/he-07cce409.js +0 -106
  801. package/dist/cjs/helpers-618a3f7d.js +0 -907
  802. package/dist/cjs/hi-7b691fb6.js +0 -66
  803. package/dist/cjs/hr-ebd3ae66.js +0 -81
  804. package/dist/cjs/hu-b177f75e.js +0 -89
  805. package/dist/cjs/id-ffab63fb.js +0 -67
  806. package/dist/cjs/index-79b35510.js +0 -1682
  807. package/dist/cjs/index-c078ea5f.js +0 -201
  808. package/dist/cjs/index.es-4e523f8b.js +0 -11317
  809. package/dist/cjs/interactive-f08f0369.js +0 -154
  810. package/dist/cjs/it-8646ff2a.js +0 -67
  811. package/dist/cjs/it-ch-6c949267.js +0 -67
  812. package/dist/cjs/ja-cf48eff1.js +0 -73
  813. package/dist/cjs/ko-294e5fae.js +0 -73
  814. package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
  815. package/dist/cjs/languageUtil-da436671.js +0 -69
  816. package/dist/cjs/loadModules-b28900c2.js +0 -23
  817. package/dist/cjs/loadable-b374ef4b.js +0 -94
  818. package/dist/cjs/locale-3fd260e3.js +0 -91
  819. package/dist/cjs/locale-48d76c59.js +0 -161
  820. package/dist/cjs/locale-5efdf085.js +0 -584
  821. package/dist/cjs/lt-a592829c.js +0 -98
  822. package/dist/cjs/lv-39a6d278.js +0 -67
  823. package/dist/cjs/mapViewUtils-911698e5.js +0 -508
  824. package/dist/cjs/mk-afea13c6.js +0 -67
  825. package/dist/cjs/mode-d6c12b38.js +0 -19
  826. package/dist/cjs/nb-b7cf648c.js +0 -68
  827. package/dist/cjs/nl-72021978.js +0 -68
  828. package/dist/cjs/observers-4fa351d9.js +0 -55
  829. package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
  830. package/dist/cjs/pciUtils-a238f3a1.js +0 -847
  831. package/dist/cjs/pl-82312f6a.js +0 -115
  832. package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
  833. package/dist/cjs/pt-42d95816.js +0 -68
  834. package/dist/cjs/pt-br-b0b546fc.js +0 -66
  835. package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
  836. package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
  837. package/dist/cjs/ro-e7948270.js +0 -67
  838. package/dist/cjs/ru-3526e86f.js +0 -127
  839. package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
  840. package/dist/cjs/sk-0f35900e.js +0 -149
  841. package/dist/cjs/sl-abc6455f.js +0 -169
  842. package/dist/cjs/solution-resource-a577e84f.js +0 -145
  843. package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
  844. package/dist/cjs/sr-fe2d4b5b.js +0 -102
  845. package/dist/cjs/styles-c9e1375a.js +0 -13
  846. package/dist/cjs/sv-6503d7e1.js +0 -72
  847. package/dist/cjs/t9n-9d199056.js +0 -100
  848. package/dist/cjs/th-9600cb11.js +0 -66
  849. package/dist/cjs/time-d250cbf5.js +0 -289
  850. package/dist/cjs/tr-faae7cc6.js +0 -67
  851. package/dist/cjs/uk-5e626d2b.js +0 -105
  852. package/dist/cjs/utils-e3996e43.js +0 -65
  853. package/dist/cjs/utils-f3710824.js +0 -130
  854. package/dist/cjs/vi-74653398.js +0 -71
  855. package/dist/cjs/zh-cn-b53af030.js +0 -95
  856. package/dist/cjs/zh-hk-96b751d5.js +0 -72
  857. package/dist/cjs/zh-tw-50d1a248.js +0 -93
  858. package/dist/esm/ExpandToggle-73432b0a.js +0 -110
  859. package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
  860. package/dist/esm/Heading-03b41bf8.js +0 -22
  861. package/dist/esm/Validation-59757032.js +0 -18
  862. package/dist/esm/ar-a0f8473e.js +0 -103
  863. package/dist/esm/bg-4a8059f0.js +0 -81
  864. package/dist/esm/breakpoints-f0f1417d.js +0 -15
  865. package/dist/esm/browser-9897260d.js +0 -23
  866. package/dist/esm/bs-3d9fa4b7.js +0 -50
  867. package/dist/esm/ca-a74ba459.js +0 -70
  868. package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
  869. package/dist/esm/common-7f72122b.js +0 -36
  870. package/dist/esm/conditionalSlot-16953b0d.js +0 -51
  871. package/dist/esm/cs-cd3323d4.js +0 -146
  872. package/dist/esm/da-eccb7ace.js +0 -65
  873. package/dist/esm/date-562b6fba.js +0 -245
  874. package/dist/esm/de-269c8d62.js +0 -90
  875. package/dist/esm/de-at-742cc453.js +0 -89
  876. package/dist/esm/de-ch-b4ff8ebb.js +0 -89
  877. package/dist/esm/downloadUtils-571a502d.js +0 -3158
  878. package/dist/esm/el-e7e0181b.js +0 -65
  879. package/dist/esm/en-au-0f12d4ae.js +0 -65
  880. package/dist/esm/en-ca-d692f9a4.js +0 -64
  881. package/dist/esm/en-gb-e91744e9.js +0 -68
  882. package/dist/esm/es-867bace7.js +0 -65
  883. package/dist/esm/es-mx-cde6ed6f.js +0 -64
  884. package/dist/esm/esri-loader-2bf735ed.js +0 -311
  885. package/dist/esm/et-a2613f53.js +0 -91
  886. package/dist/esm/fi-07875b7a.js +0 -114
  887. package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
  888. package/dist/esm/form-6d38f4ee.js +0 -372
  889. package/dist/esm/fr-669ba3b9.js +0 -67
  890. package/dist/esm/fr-ch-da569be6.js +0 -65
  891. package/dist/esm/he-6cbfe53b.js +0 -104
  892. package/dist/esm/helpers-61b05164.js +0 -881
  893. package/dist/esm/hi-913d1595.js +0 -64
  894. package/dist/esm/hr-8f581dc9.js +0 -79
  895. package/dist/esm/html2canvas-28c7de60.js +0 -7845
  896. package/dist/esm/hu-02bb4a04.js +0 -87
  897. package/dist/esm/id-306dcc93.js +0 -65
  898. package/dist/esm/index-ba5da2b0.js +0 -1648
  899. package/dist/esm/index-c06194fa.js +0 -199
  900. package/dist/esm/index.es-2f9f04c5.js +0 -11230
  901. package/dist/esm/interactive-52276a00.js +0 -149
  902. package/dist/esm/it-3f0c20a1.js +0 -65
  903. package/dist/esm/it-ch-fe18a6c5.js +0 -65
  904. package/dist/esm/ja-41455a15.js +0 -71
  905. package/dist/esm/ko-88a4fc75.js +0 -71
  906. package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
  907. package/dist/esm/languageUtil-36f8f4ef.js +0 -66
  908. package/dist/esm/loadModules-496086ee.js +0 -21
  909. package/dist/esm/loadable-cca582a3.js +0 -89
  910. package/dist/esm/locale-353c1c36.js +0 -571
  911. package/dist/esm/locale-69333b8e.js +0 -86
  912. package/dist/esm/locale-a490c4f6.js +0 -156
  913. package/dist/esm/lt-5c1c3aa4.js +0 -96
  914. package/dist/esm/lv-acb76551.js +0 -65
  915. package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
  916. package/dist/esm/mk-b12a886b.js +0 -65
  917. package/dist/esm/mode-66911cb5.js +0 -17
  918. package/dist/esm/nb-50bbf4fa.js +0 -66
  919. package/dist/esm/nl-6dd1488e.js +0 -66
  920. package/dist/esm/observers-19e5cb73.js +0 -53
  921. package/dist/esm/openCloseComponent-04234cea.js +0 -90
  922. package/dist/esm/pciUtils-73d4b6b4.js +0 -844
  923. package/dist/esm/pl-f0ccb3a4.js +0 -113
  924. package/dist/esm/polyfills/core-js.js +0 -11
  925. package/dist/esm/polyfills/dom.js +0 -79
  926. package/dist/esm/polyfills/es5-html-element.js +0 -1
  927. package/dist/esm/polyfills/index.js +0 -34
  928. package/dist/esm/polyfills/system.js +0 -6
  929. package/dist/esm/popupUtils-8efd3cde.js +0 -109
  930. package/dist/esm/pt-3adf4f5e.js +0 -66
  931. package/dist/esm/pt-br-5ad78776.js +0 -64
  932. package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
  933. package/dist/esm/purify-dbd0968e.js +0 -1714
  934. package/dist/esm/restHelpersGet-1bd54274.js +0 -959
  935. package/dist/esm/ro-ba24a126.js +0 -65
  936. package/dist/esm/ru-2feffc99.js +0 -125
  937. package/dist/esm/shared-list-render-aaa69039.js +0 -343
  938. package/dist/esm/sk-097e96ba.js +0 -147
  939. package/dist/esm/sl-27721fe2.js +0 -167
  940. package/dist/esm/solution-resource-0d0eb597.js +0 -142
  941. package/dist/esm/solution-store-997e0cb8.js +0 -1342
  942. package/dist/esm/sr-b421770e.js +0 -100
  943. package/dist/esm/styles-367380b5.js +0 -11
  944. package/dist/esm/sv-3bad8e53.js +0 -70
  945. package/dist/esm/t9n-165900a5.js +0 -95
  946. package/dist/esm/th-7cc88e5d.js +0 -64
  947. package/dist/esm/time-d605c462.js +0 -274
  948. package/dist/esm/tr-0a2743e1.js +0 -65
  949. package/dist/esm/uk-6d2572d0.js +0 -103
  950. package/dist/esm/utils-26baa5d3.js +0 -54
  951. package/dist/esm/utils-bd72a603.js +0 -121
  952. package/dist/esm/vi-e8feb97f.js +0 -69
  953. package/dist/esm/zh-cn-fdec5be5.js +0 -93
  954. package/dist/esm/zh-hk-07c60ac2.js +0 -70
  955. package/dist/esm/zh-tw-b1e4174b.js +0 -91
  956. package/dist/solutions-components/p-011892f2.entry.js +0 -11
  957. package/dist/solutions-components/p-022edd7a.entry.js +0 -11
  958. package/dist/solutions-components/p-02651dd3.entry.js +0 -11
  959. package/dist/solutions-components/p-04af53a2.js +0 -6
  960. package/dist/solutions-components/p-053be79f.entry.js +0 -12
  961. package/dist/solutions-components/p-0669c156.entry.js +0 -17
  962. package/dist/solutions-components/p-06748b7a.entry.js +0 -6
  963. package/dist/solutions-components/p-070b98cd.entry.js +0 -17
  964. package/dist/solutions-components/p-0894d584.js +0 -6
  965. package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
  966. package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
  967. package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
  968. package/dist/solutions-components/p-0c523112.js +0 -6
  969. package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
  970. package/dist/solutions-components/p-0d17246a.entry.js +0 -6
  971. package/dist/solutions-components/p-0fba267c.entry.js +0 -12
  972. package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
  973. package/dist/solutions-components/p-105d8256.js +0 -6
  974. package/dist/solutions-components/p-11881a54.js +0 -6
  975. package/dist/solutions-components/p-11e873c7.entry.js +0 -6
  976. package/dist/solutions-components/p-12c80030.js +0 -11
  977. package/dist/solutions-components/p-1506751c.entry.js +0 -11
  978. package/dist/solutions-components/p-17674f66.js +0 -6
  979. package/dist/solutions-components/p-177a139d.entry.js +0 -11
  980. package/dist/solutions-components/p-18b27561.entry.js +0 -11
  981. package/dist/solutions-components/p-19dbfe71.js +0 -6
  982. package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
  983. package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
  984. package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
  985. package/dist/solutions-components/p-1e915546.entry.js +0 -47
  986. package/dist/solutions-components/p-229ec6a3.js +0 -11
  987. package/dist/solutions-components/p-238d8710.entry.js +0 -11
  988. package/dist/solutions-components/p-23d35d76.js +0 -6
  989. package/dist/solutions-components/p-2445cf51.js +0 -7
  990. package/dist/solutions-components/p-2455bcb0.js +0 -21
  991. package/dist/solutions-components/p-246b1648.entry.js +0 -12
  992. package/dist/solutions-components/p-261880f7.entry.js +0 -11
  993. package/dist/solutions-components/p-2665663a.entry.js +0 -6
  994. package/dist/solutions-components/p-26eb1225.entry.js +0 -6
  995. package/dist/solutions-components/p-2775f82b.js +0 -6
  996. package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
  997. package/dist/solutions-components/p-287d2d49.entry.js +0 -11
  998. package/dist/solutions-components/p-28d2ab1a.js +0 -6
  999. package/dist/solutions-components/p-28e582b0.entry.js +0 -11
  1000. package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
  1001. package/dist/solutions-components/p-2e625f11.js +0 -11
  1002. package/dist/solutions-components/p-302fccc1.entry.js +0 -6
  1003. package/dist/solutions-components/p-314dc933.entry.js +0 -6
  1004. package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
  1005. package/dist/solutions-components/p-328fbf6d.js +0 -11
  1006. package/dist/solutions-components/p-334e6394.js +0 -37
  1007. package/dist/solutions-components/p-3365a6de.entry.js +0 -11
  1008. package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
  1009. package/dist/solutions-components/p-370283a4.js +0 -6
  1010. package/dist/solutions-components/p-392be4a7.js +0 -6
  1011. package/dist/solutions-components/p-3b7e0d5a.js +0 -26
  1012. package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
  1013. package/dist/solutions-components/p-3ce690d9.js +0 -6
  1014. package/dist/solutions-components/p-3da83eee.entry.js +0 -22
  1015. package/dist/solutions-components/p-3e33078e.entry.js +0 -11
  1016. package/dist/solutions-components/p-400a584e.js +0 -6
  1017. package/dist/solutions-components/p-415d519f.entry.js +0 -6
  1018. package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
  1019. package/dist/solutions-components/p-4370de50.js +0 -6
  1020. package/dist/solutions-components/p-43d1b0bd.js +0 -11
  1021. package/dist/solutions-components/p-4870be89.entry.js +0 -6
  1022. package/dist/solutions-components/p-489be360.entry.js +0 -11
  1023. package/dist/solutions-components/p-490e4875.entry.js +0 -11
  1024. package/dist/solutions-components/p-4ac019d3.js +0 -6
  1025. package/dist/solutions-components/p-4ba6f8f0.js +0 -6
  1026. package/dist/solutions-components/p-4ca83bea.js +0 -6
  1027. package/dist/solutions-components/p-4e07c030.entry.js +0 -11
  1028. package/dist/solutions-components/p-502172da.entry.js +0 -17
  1029. package/dist/solutions-components/p-50741707.entry.js +0 -6
  1030. package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
  1031. package/dist/solutions-components/p-51d5532f.entry.js +0 -6
  1032. package/dist/solutions-components/p-52dba022.js +0 -489
  1033. package/dist/solutions-components/p-530b73ce.js +0 -66
  1034. package/dist/solutions-components/p-533a9cca.entry.js +0 -11
  1035. package/dist/solutions-components/p-570a3777.js +0 -6
  1036. package/dist/solutions-components/p-57eeed77.js +0 -61
  1037. package/dist/solutions-components/p-5862de8d.entry.js +0 -6
  1038. package/dist/solutions-components/p-591175a6.js +0 -6
  1039. package/dist/solutions-components/p-5974ba05.js +0 -16
  1040. package/dist/solutions-components/p-5b654493.entry.js +0 -6
  1041. package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
  1042. package/dist/solutions-components/p-5f873153.js +0 -6
  1043. package/dist/solutions-components/p-6085ab9c.js +0 -11
  1044. package/dist/solutions-components/p-614ebce7.js +0 -6
  1045. package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
  1046. package/dist/solutions-components/p-628874a6.entry.js +0 -6
  1047. package/dist/solutions-components/p-62c34f96.entry.js +0 -11
  1048. package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
  1049. package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
  1050. package/dist/solutions-components/p-680a43bb.entry.js +0 -6
  1051. package/dist/solutions-components/p-6bdafe3f.js +0 -6
  1052. package/dist/solutions-components/p-6d753a3d.js +0 -7
  1053. package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
  1054. package/dist/solutions-components/p-7348c869.entry.js +0 -6
  1055. package/dist/solutions-components/p-74a283fb.entry.js +0 -11
  1056. package/dist/solutions-components/p-76d70d3e.js +0 -6
  1057. package/dist/solutions-components/p-77cd573b.entry.js +0 -6
  1058. package/dist/solutions-components/p-7883b885.entry.js +0 -17
  1059. package/dist/solutions-components/p-790ab21b.js +0 -6
  1060. package/dist/solutions-components/p-798d20c2.entry.js +0 -11
  1061. package/dist/solutions-components/p-79e2e203.entry.js +0 -6
  1062. package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
  1063. package/dist/solutions-components/p-7b17e929.entry.js +0 -6
  1064. package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
  1065. package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
  1066. package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
  1067. package/dist/solutions-components/p-814ad17b.js +0 -6
  1068. package/dist/solutions-components/p-820d8935.js +0 -11
  1069. package/dist/solutions-components/p-8294d644.js +0 -21
  1070. package/dist/solutions-components/p-82e085d0.js +0 -6
  1071. package/dist/solutions-components/p-84913712.js +0 -6
  1072. package/dist/solutions-components/p-865a9a2b.js +0 -6
  1073. package/dist/solutions-components/p-8674e740.js +0 -11
  1074. package/dist/solutions-components/p-86a8cf0e.js +0 -11
  1075. package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
  1076. package/dist/solutions-components/p-896c9644.js +0 -36
  1077. package/dist/solutions-components/p-89a0889f.js +0 -21
  1078. package/dist/solutions-components/p-8f760a96.js +0 -11
  1079. package/dist/solutions-components/p-8fd36ce2.js +0 -6
  1080. package/dist/solutions-components/p-92eadd14.entry.js +0 -6
  1081. package/dist/solutions-components/p-937f5a14.js +0 -6
  1082. package/dist/solutions-components/p-96c901b4.entry.js +0 -6
  1083. package/dist/solutions-components/p-96e9c88b.js +0 -6
  1084. package/dist/solutions-components/p-972fd6e2.js +0 -11
  1085. package/dist/solutions-components/p-996a9b86.js +0 -6
  1086. package/dist/solutions-components/p-997ed04c.js +0 -6
  1087. package/dist/solutions-components/p-9c05337d.entry.js +0 -6
  1088. package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
  1089. package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
  1090. package/dist/solutions-components/p-9db9645e.js +0 -12
  1091. package/dist/solutions-components/p-9f11bcc0.js +0 -6
  1092. package/dist/solutions-components/p-9f27fdfb.js +0 -6
  1093. package/dist/solutions-components/p-9f635891.js +0 -17
  1094. package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
  1095. package/dist/solutions-components/p-a008937e.entry.js +0 -6
  1096. package/dist/solutions-components/p-a24e5541.js +0 -6
  1097. package/dist/solutions-components/p-a25bbcc1.js +0 -11
  1098. package/dist/solutions-components/p-a520fedd.js +0 -6
  1099. package/dist/solutions-components/p-a5f1bbe9.js +0 -6
  1100. package/dist/solutions-components/p-a87405cb.entry.js +0 -11
  1101. package/dist/solutions-components/p-ab2c8a60.entry.js +0 -6
  1102. package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
  1103. package/dist/solutions-components/p-ac77e72f.js +0 -6
  1104. package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
  1105. package/dist/solutions-components/p-b0a4644b.js +0 -6
  1106. package/dist/solutions-components/p-b5bfe190.js +0 -16
  1107. package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
  1108. package/dist/solutions-components/p-b965c059.entry.js +0 -16
  1109. package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
  1110. package/dist/solutions-components/p-bb53e532.js +0 -6
  1111. package/dist/solutions-components/p-bc82830a.js +0 -6
  1112. package/dist/solutions-components/p-bdcf99c0.js +0 -6
  1113. package/dist/solutions-components/p-bfd3d428.js +0 -11
  1114. package/dist/solutions-components/p-c02351ae.entry.js +0 -11
  1115. package/dist/solutions-components/p-c0c5c7a9.js +0 -6
  1116. package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
  1117. package/dist/solutions-components/p-c151a297.entry.js +0 -6
  1118. package/dist/solutions-components/p-c4a44f66.js +0 -6
  1119. package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
  1120. package/dist/solutions-components/p-c5becad1.entry.js +0 -6
  1121. package/dist/solutions-components/p-c6be0487.entry.js +0 -6
  1122. package/dist/solutions-components/p-c757c37b.js +0 -6
  1123. package/dist/solutions-components/p-c791e836.entry.js +0 -6
  1124. package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
  1125. package/dist/solutions-components/p-c8233fcd.entry.js +0 -6
  1126. package/dist/solutions-components/p-c8260cf0.js +0 -145
  1127. package/dist/solutions-components/p-c9653aec.js +0 -6
  1128. package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
  1129. package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
  1130. package/dist/solutions-components/p-cce71e60.entry.js +0 -11
  1131. package/dist/solutions-components/p-cd190ff9.js +0 -6
  1132. package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
  1133. package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
  1134. package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
  1135. package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
  1136. package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
  1137. package/dist/solutions-components/p-d893cddf.entry.js +0 -11
  1138. package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
  1139. package/dist/solutions-components/p-d8da6406.entry.js +0 -6
  1140. package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
  1141. package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
  1142. package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
  1143. package/dist/solutions-components/p-deb3adb8.js +0 -6
  1144. package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
  1145. package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
  1146. package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
  1147. package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
  1148. package/dist/solutions-components/p-e96d0b39.js +0 -6
  1149. package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
  1150. package/dist/solutions-components/p-ec843a3e.js +0 -6
  1151. package/dist/solutions-components/p-eda6994e.entry.js +0 -6
  1152. package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
  1153. package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
  1154. package/dist/solutions-components/p-ee81a7c3.js +0 -6
  1155. package/dist/solutions-components/p-eeaed243.js +0 -11
  1156. package/dist/solutions-components/p-f1822d63.js +0 -6
  1157. package/dist/solutions-components/p-f22a4439.js +0 -21
  1158. package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
  1159. package/dist/solutions-components/p-f4456214.js +0 -6
  1160. package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
  1161. package/dist/solutions-components/p-f9475704.js +0 -6
  1162. package/dist/solutions-components/p-fac36b42.entry.js +0 -6
  1163. package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
  1164. package/dist/solutions-components/p-fc79eaaf.js +0 -6
  1165. package/dist/solutions-components/p-fcb11407.entry.js +0 -11
  1166. package/dist/solutions-components/p-fd28754c.entry.js +0 -6
  1167. package/dist/solutions-components/p-fd6f2ba3.js +0 -6
  1168. package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
  1169. /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
  1170. /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
  1171. /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
  1172. /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -1,66 +0,0 @@
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"./p-334e6394.js";import"./p-a230b270.js";
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])},n(e,t)},e=function(){return e=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},e.apply(this,arguments)};function t(n){return Object.keys(n).some((function(e){var t=n[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":case"Object":case"Date":case"Function":case"Boolean":case"String":case"Number":return!1;default:return!0}}))}function r(n){var e={};return Object.keys(n).forEach((function(t){var r,o,i=n[t];if(i&&i.toParam&&(i=i.toParam()),i||0===i||"boolean"==typeof i||"string"==typeof i){var a;switch(i.constructor.name){case"Array":var u=null===(o=null===(r=i[0])||void 0===r?void 0:r.constructor)||void 0===o?void 0:o.name;a="Array"===u?i:"Object"===u?JSON.stringify(i):i.join(",");break;case"Object":a=JSON.stringify(i);break;case"Date":a=i.valueOf();break;case"Function":a=null;break;case"Boolean":a=i+"";break;default:a=i}(a||0===a||"string"==typeof a||Array.isArray(a))&&(e[t]=a)}})),e}function o(n,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map((function(e){return o(n,e)})).join("&"):encodeURIComponent(n)+"="+encodeURIComponent(e)}function i(n){var e=r(n);return Object.keys(e).map((function(n){return o(n,e[n])})).join("&")}var a=function(n,e,t,r,o){n=n||"UNKNOWN_ERROR",e=e||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message="UNKNOWN_ERROR_CODE"===e?n:e+": "+n,this.originalMessage=n,this.code=e,this.response=t,this.url=r,this.options=o};a.prototype=Object.create(Error.prototype),a.prototype.constructor=a;var u="@esri/arcgis-rest-js",c={httpMethod:"POST",params:{f:"json"}},s=function(t){function r(n,e,r,o,i){void 0===n&&(n="AUTHENTICATION_ERROR"),void 0===e&&(e="AUTHENTICATION_ERROR_CODE");var a=t.call(this,n,e,r,o,i)||this;return a.name="ArcGISAuthError",a.message="AUTHENTICATION_ERROR_CODE"===e?n:e+": "+n,a}return function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(r,t),r.prototype.retry=function(n,t){var r=this;void 0===t&&(t=3);var o=0,i=function(a,u){n(r.url,r.options).then((function(n){var t=e(e({},r.options),{authentication:n});return o+=1,f(r.url,t)})).then((function(n){a(n)})).catch((function(n){"ArcGISAuthError"===n.name&&o<t?i(a,u):u("ArcGISAuthError"===n.name&&o>=t?r:n)}))};return new Promise((function(n,e){i(n,e)}))},r}(a);function f(n,o){void 0===o&&(o={params:{f:"json"}});var f=e(e(e({httpMethod:"POST"},c),o),{params:e(e({},c.params),o.params),headers:e(e({},c.headers),o.headers)}),l=[],d=[];if(f.fetch||"undefined"==typeof fetch?(l.push("`fetch`"),d.push("`node-fetch`")):f.fetch=fetch.bind(Function("return this")()),"undefined"==typeof Promise&&(l.push("`Promise`"),d.push("`es6-promise`")),"undefined"==typeof FormData&&(l.push("`FormData`"),d.push("`isomorphic-form-data`")),!f.fetch||"undefined"==typeof Promise||"undefined"==typeof FormData)throw new Error("`arcgis-rest-request` requires a `fetch` implementation and global variables for `Promise` and `FormData` to be present in the global scope. You are missing "+l.join(", ")+". We recommend installing the "+d.join(", ")+" modules at the root of your application to add these to the global scope. See https://bit.ly/2KNwWaJ for more info.");var p=f.httpMethod,h=f.authentication,m=f.rawResponse,w=e({f:"json"},f.params),O=null,v={method:p,credentials:f.credentials||"same-origin"};return f.headers&&f.headers["X-Esri-Auth-Client-Id"]&&n.indexOf("/oauth2/platformSelf")>-1&&(v.credentials="include"),(h?h.getToken(n,{fetch:f.fetch}).catch((function(e){return e.url=n,e.options=f,O=e,Promise.resolve("")})):Promise.resolve("")).then((function(o){o.length&&(w.token=o),h&&h.getDomainCredentials&&(v.credentials=h.getDomainCredentials(n));var a={};if("GET"===v.method){w.token&&f.hideToken&&"undefined"==typeof window&&(a["X-Esri-Authorization"]="Bearer "+w.token,delete w.token);var c=""===i(w)?n:n+"?"+i(w);f.maxUrlLength&&c.length>f.maxUrlLength||w.token&&f.hideToken?(v.method="POST",o.length&&f.hideToken&&(w.token=o,delete a["X-Esri-Authorization"])):n=c}var s=new RegExp("/items/.+/updateResources").test(n);return"POST"===v.method&&(v.body=function(n,e){var o=t(n)||e,a=r(n);if(o){var u=new FormData;return Object.keys(a).forEach((function(n){"undefined"!=typeof Blob&&a[n]instanceof Blob?u.append(n,a[n],a.fileName||a[n].name||n):u.append(n,a[n])})),u}return i(n)}(w,s)),v.headers=e(e({},a),f.headers),"undefined"!=typeof window||v.headers.referer||(v.headers.referer=u),t(w)||s||(v.headers["Content-Type"]="application/x-www-form-urlencoded"),f.fetch(n,v)})).then((function(e){if(!e.ok)throw new a(e.statusText,"HTTP "+e.status,e,n,f);if(m)return e;switch(w.f){case"json":case"geojson":return e.json();case"html":case"text":return e.text();default:return e.blob()}})).then((function(e){if("json"!==w.f&&"geojson"!==w.f||m)return e;var t=function(n,e,t,r,o){if(n.code>=400)throw new a(u=n.message,c=n.code,n,e,r);if(n.error){var i=n.error,u=i.message,c=i.code,f=i.messageCode,l=f||c||"UNKNOWN_ERROR_CODE";if(498===c||499===c||"GWM_0003"===f||400===c&&"Unable to generate token."===u)throw o||new s(u,l,n,e,r);throw new a(u,l,n,e,r)}if("failed"===n.status||"failure"===n.status){u=void 0,c="UNKNOWN_ERROR_CODE";try{u=JSON.parse(n.statusMessage).message,c=JSON.parse(n.statusMessage).code}catch(e){u=n.statusMessage||n.message}throw new a(u,c,n,e,r)}return n}(e,n,0,f,O);if(O){var r=n.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];f.authentication.federatedServers[r]={token:[],expires:new Date(Date.now()+864e5)},O=null}return t}))}function l(n){return"string"!=typeof n||"/"===(n=n.trim())[n.length-1]&&(n=n.slice(0,-1)),n}
21
- /** @license
22
- * Copyright 2020 Esri
23
- *
24
- * Licensed under the Apache License, Version 2.0 (the "License");
25
- * you may not use this file except in compliance with the License.
26
- * You may obtain a copy of the License at
27
- *
28
- * http://www.apache.org/licenses/LICENSE-2.0
29
- *
30
- * Unless required by applicable law or agreed to in writing, software
31
- * distributed under the License is distributed on an "AS IS" BASIS,
32
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33
- * See the License for the specific language governing permissions and
34
- * limitations under the License.
35
- */
36
- /** @license
37
- * Copyright 2018 Esri
38
- *
39
- * Licensed under the Apache License, Version 2.0 (the "License");
40
- * you may not use this file except in compliance with the License.
41
- * You may obtain a copy of the License at
42
- *
43
- * http://www.apache.org/licenses/LICENSE-2.0
44
- *
45
- * Unless required by applicable law or agreed to in writing, software
46
- * distributed under the License is distributed on an "AS IS" BASIS,
47
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
48
- * See the License for the specific language governing permissions and
49
- * limitations under the License.
50
- */
51
- function d(n){return new Promise((e=>{h(n).then((n=>{try{e(JSON.parse(n))}catch(n){e(null)}}),(()=>e(null)))}))}function p(n,e,t){return n?function(n,e,t){let r;try{r=new File(n,e,t)}catch(o){r=function(){void 0===t&&(t={type:""});const r=new Blob(n,t);return r.lastModified=new Date,r.name=e,r}()}return r}([n],e||"",{type:t||n.type}):null}function h(n){return new Promise((e=>{const t=new FileReader;t.onload=function(n){e(n.target.result||"")},t.readAsText(n)}))}function m(n){return n?n.endsWith("/")?n:n+"/":n}function w(n,e){return e.split(".").reduce((function(n,e){return n?n[e]:void 0}),n)}function O(n,e,t){const r=e.split(".");r.reduce(((n,e,o)=>o===r.length-1?(n[e]=t,t):(n[e]||(n[e]={}),n[e])),n)}function v(n,e,t={}){return n?f(n,{authentication:e,rawResponse:!0,...t}).then((n=>n.blob())):Promise.reject("Url must be provided")}
52
- /** @license
53
- * Copyright 2018 Esri
54
- *
55
- * Licensed under the Apache License, Version 2.0 (the "License");
56
- * you may not use this file except in compliance with the License.
57
- * You may obtain a copy of the License at
58
- *
59
- * http://www.apache.org/licenses/LICENSE-2.0
60
- *
61
- * Unless required by applicable law or agreed to in writing, software
62
- * distributed under the License is distributed on an "AS IS" BASIS,
63
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
64
- * See the License for the specific language governing permissions and
65
- * limitations under the License.
66
- */const b="PK";function R(n,e,t=[]){return new Promise(((r,o)=>{v(n,e).then((n=>{E(n).then((n=>{"application/json"===n.type?d(n).then((e=>{if(e?.error){const n=e.error.code;void 0!==n&&t.indexOf(n)>=0?r(null):o(e)}else r(n)})):r(n)}),o)}),o)}))}function y(n,e){return new Promise((t=>{(function(n,e){return new Promise((t=>{const r=function(n,e){return`${function(n){return w(n,"portal")||"https://www.arcgis.com/sharing/rest"}(e)}/content/items/${n}/data`}(n,e);R(r,e,[400,500]).then((n=>t(E(n))),(()=>t(null)))}))})(n,e).then((n=>t(d(n))),(()=>t(null)))}))}function N(n,e){return v(n,e,{httpMethod:"GET"}).then((n=>E(n))).then((n=>"application/json"===n.type?d(n):Promise.resolve(null)))}function j(n,e,t){return new Promise((r=>{(function(n,e,t,r=[],o){return new Promise(((i,a)=>{R(n,t,r).then((n=>i(n?p(n,e,o):null)),a)}))})(n,e,t,[500]).then(r,(()=>r(null)))}))}function E(n){return new Promise(((e,t)=>{n&&n.size>0&&(n.type.startsWith("text/plain")||n.type.startsWith("application/json"))?h(n).then((t=>{try{JSON.parse(t),e(new Blob([n],{type:"application/json"}))}catch(r){t.length>4&&t.substr(0,4)===b?e(new Blob([n],{type:"application/zip"})):t.startsWith("<")?e(new Blob([n],{type:"text/xml"})):e(n)}}),t):n?e(n):t()}))}export{s as A,u as N,e as _,w as a,p as b,l as c,m as d,i as e,j as f,N as g,y as h,f as r,O as s}
@@ -1,11 +0,0 @@
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{r as t,c as e,h as s,F as i,g as a}from"./p-6d753a3d.js";import{s as o,a as n,c as r}from"./p-a25bbcc1.js";import{n as l,c,d as h}from"./p-b5bfe190.js";import{u as d,c as p,s as m,d as g}from"./p-2e625f11.js";import{c as b}from"./p-bfd3d428.js";import{g as u}from"./p-e6e50975.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";const v={width:{large:f("1440px"),medium:f("1152px"),small:f("768px"),xsmall:f("476px"),xxsmall:f("320px")}};function f(t){return parseInt(t)}
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const k="page",x="selected",y="chevron",z="disabled",I=class{constructor(s){t(this,s),this.calcitePaginationChange=e(this,"calcitePaginationChange",6),this.resizeObserver=b("resize",(t=>t.forEach(this.resizeHandler))),this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t),this.firstClicked=()=>{this.startItem=1,this.emitUpdate()},this.lastClicked=()=>{this.startItem=this.lastStartItem,this.emitUpdate()},this.previousClicked=async()=>{await this.previousPage(),this.emitUpdate()},this.nextClicked=async()=>{await this.nextPage(),this.emitUpdate()},this.handlePageClick=t=>{this.startItem=parseInt(t.target.value,10),this.emitUpdate()},this.groupSeparator=!1,this.messages=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.pageSize=20,this.scale="m",this.startItem=1,this.totalItems=0,this.defaultMessages=void 0,this.effectiveLocale="",this.maxItems=1,this.totalPages=void 0,this.lastStartItem=void 0,this.isXXSmall=void 0}onMessagesChange(){}handleTotalPages(){this.pageSize<1&&(this.pageSize=1),this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){d(this,this.effectiveLocale)}effectiveLocaleWatcher(){l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){const{totalItems:t,pageSize:e,totalPages:s}=this;this.lastStartItem=1+(t%e==0?t-e:Math.floor(s)*e)}handleIsXXSmall(){this.isXXSmall=1===this.maxItems}connectedCallback(){var t;c(this),p(this),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}async componentWillLoad(){await m(this),o(this),this.handleTotalPages(),this.handleLastStartItemChange(),this.handleIsXXSmall()}componentDidLoad(){n(this),this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){var t;h(this),g(this),null===(t=this.resizeObserver)||void 0===t||t.disconnect()}async setFocus(){await r(this),this.el.focus()}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:this.startItem=t>=Math.ceil(this.totalPages)?this.lastStartItem:t<=0?1:(t-1)*this.pageSize+1}}setMaxItemsToBreakpoint(t){v&&t&&(this.maxItems=t>=v.width.medium?11:t>=v.width.small?9:t>=v.width.xsmall?7:t>=v.width.xxsmall?5:1)}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-2-2}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-2-1}emitUpdate(){this.calcitePaginationChange.emit()}renderEllipsis(t){return s("span",{class:"ellipsis","data-test-ellipsis":t,key:t},"…")}renderItems(){const{totalItems:t,pageSize:e,startItem:s,maxItems:i,totalPages:a,lastStartItem:o,isXXSmall:n}=this,r=[];if(n)return r.push(this.renderPage(s)),r;const l=t>e,c=this.showStartEllipsis(),h=this.showEndEllipsis();l&&r.push(this.renderPage(1)),c&&r.push(this.renderEllipsis("start"));const d=i-2-(h?1:0)-(c?1:0);let p,m;a-1<=d?(m=1+e,p=o-e):s/e<d?(m=1+e,p=1+d*e):s+d*e>=t?(m=o-d*e,p=o-e):(m=s-e*((d-1)/2),p=s+e*((d-1)/2));for(let t=0;t<d&&m<=p;t++)r.push(this.renderPage(m)),m+=e;return h&&r.push(this.renderEllipsis("end")),r.push(this.renderPage(o)),r}renderPage(t){const{pageSize:e}=this,i=Math.floor(t/e)+(1===e?0:1);l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=l.localize(i.toString()),o=t===this.startItem;return s("button",{"aria-current":o?"page":"false",class:{[k]:!0,[x]:o},onClick:this.handlePageClick,value:t},a)}renderPreviousChevron(){const{pageSize:t,startItem:e,messages:i}=this,a=1===t?e<=t:e<t;return s("button",{"aria-label":i.previous,class:{[y]:!0,[z]:a},"data-test-chevron":"previous",disabled:a,key:"previous",onClick:this.previousClicked},s("calcite-icon",{flipRtl:!0,icon:"chevron-left",scale:u(this.scale)}))}renderNextChevron(){const{totalItems:t,pageSize:e,startItem:i,messages:a}=this,o=i+e>t;return s("button",{"aria-label":a.next,class:{[y]:!0,[z]:o},"data-test-chevron":"next",disabled:o,key:"next-button",onClick:this.nextClicked},s("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:u(this.scale)}))}renderFirstChevron(){const{messages:t,startItem:e,isXXSmall:i}=this,a=1===e;return i?s("button",{"aria-label":t.first,class:{[y]:!0,[z]:a},disabled:a,key:"first-button",onClick:this.firstClicked},s("calcite-icon",{flipRtl:!0,icon:"chevron-start",scale:u(this.scale)})):null}renderLastChevron(){const{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this,o=e===a;return i?s("button",{"aria-label":t.last,class:{[y]:!0,[z]:o},disabled:o,key:"last-button",onClick:this.lastClicked},s("calcite-icon",{flipRtl:!0,icon:"chevron-end",scale:u(this.scale)})):null}render(){return s(i,{key:"9d37f173bfa3e76e1d7ce4d2b013383d13e1c331"},this.renderFirstChevron(),this.renderPreviousChevron(),this.renderItems(),this.renderNextChevron(),this.renderLastChevron())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],totalItems:["handleTotalPages","handleLastStartItemChange"],pageSize:["handleTotalPages","handleLastStartItemChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"],totalPages:["handleLastStartItemChange"],maxItems:["handleIsXXSmall"]}}};I.style=":host{display:flex;writing-mode:horizontal-tb}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:0.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:0.75rem}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.chevron,.page,.ellipsis{margin:0px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity:0;background-color:transparent;padding:0px;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-3)}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{color:var(--calcite-color-text-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-color-border-2)}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-end-color:var(--calcite-color-brand)}.chevron:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-brand)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_pagination}
@@ -1,6 +0,0 @@
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{d as e}from"./p-bc82830a.js";import"./p-6d753a3d.js";import"./p-229ec6a3.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9db9645e.js";import"./p-820d8935.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-a25bbcc1.js";import"./p-b5bfe190.js";import"./p-bfd3d428.js";import"./p-97f0e1b6.js";import"./p-86a8cf0e.js";import"./p-ebf59857.js";import"./p-2e625f11.js";import"./p-12c80030.js";import"./p-972fd6e2.js";var o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(o,null,!0);export{o as default}
@@ -1,61 +0,0 @@
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{a as t,g as r}from"./p-82e085d0.js";import{b as i}from"./p-52dba022.js";import"./p-6d753a3d.js";import"./p-896c9644.js";import"./p-5aaa05ef.js";import"./p-c1cf3ebc.js";import"./p-334e6394.js";import"./p-a230b270.js";import"./p-530b73ce.js";var e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,S=k({}.toString),N=k("".slice),j=function(t){return N(S(t),8,-1)},P=a,O=j,E=Object,T=M("".split),C=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"==O(t)?T(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,L=function(t){if(R(t))throw B("Can't call method on "+t);return t},$=C,I=L,D=function(t){return $(I(t))},F="object"==typeof document&&document.all,z={all:F,IS_HTMLDDA:void 0===F&&void 0!==F},_=z.all,Y=z.IS_HTMLDDA?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},X=Y,q=z.all,G=z.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:X(t)||t===q}:function(t){return"object"==typeof t?null!==t:X(t)},U=n,V=Y,H=function(t,r){return arguments.length<2?V(i=U[t])?i:void 0:U[t]&&U[t][r];var i},W=M({}.isPrototypeOf),Q="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Z=Q,K=n.process,J=n.Deno,tt=K&&K.versions||J&&J.version,rt=tt&&tt.v8;rt&&(y=(p=rt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Z&&(!(p=Z.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Z.match(/Chrome\/(\d+)/))&&(y=+p[1]);var it=y,et=it,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=H,ot=Y,ht=W,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=Y,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var i=t[r];return mt(i)?void 0:gt(i)},wt=c,xt=Y,Mt=G,kt=TypeError,St={exports:{}},Nt=n,jt=Object.defineProperty,Pt=function(t,r){try{jt(Nt,t,{value:r,configurable:!0,writable:!0})}catch(i){Nt[t]=r}return r},Ot="__core-js_shared__",Et=n[Ot]||Pt(Ot,{}),Tt=Et;(St.exports=function(t,r){return Tt[t]||(Tt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=L,At=Object,Rt=function(t){return At(Ct(t))},Bt=Rt,Lt=M({}.hasOwnProperty),$t=Object.hasOwn||function(t,r){return Lt(Bt(t),r)},It=M,Dt=0,Ft=Math.random(),zt=It(1..toString),_t=function(t){return"Symbol("+(void 0===t?"":t)+")_"+zt(++Dt+Ft,36)},Yt=$t,Xt=_t,qt=nt,Gt=st,Ut=n.Symbol,Vt=(0,St.exports)("wks"),Ht=Gt?Ut.for||Ut:Ut&&Ut.withoutSetter||Xt,Wt=function(t){return Yt(Vt,t)||(Vt[t]=qt&&Yt(Ut,t)?Ut[t]:Ht("Symbol."+t)),Vt[t]},Qt=c,Zt=G,Kt=ct,Jt=bt,tr=TypeError,rr=Wt("toPrimitive"),ir=function(t,r){if(!Zt(t)||Kt(t))return t;var i,e=Jt(t,rr);if(e){if(void 0===r&&(r="default"),i=Qt(e,t,r),!Zt(i)||Kt(i))return i;throw tr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var i,e;if("string"===r&&xt(i=t.toString)&&!Mt(e=wt(i,t)))return e;if(xt(i=t.valueOf)&&!Mt(e=wt(i,t)))return e;if("string"!==r&&xt(i=t.toString)&&!Mt(e=wt(i,t)))return e;throw kt("Can't convert object to primitive value")}(t,r)},er=ct,nr=function(t){var r=ir(t,"string");return er(r)?r:r+""},sr=G,ar=n.document,or=sr(ar)&&sr(ar.createElement),hr=function(t){return or?ar.createElement(t):{}},ur=hr,cr=!o&&!a((function(){return 7!=Object.defineProperty(ur("div"),"a",{get:function(){return 7}}).a})),fr=c,lr=f,vr=g,dr=D,pr=nr,yr=$t,gr=cr,mr=Object.getOwnPropertyDescriptor;s.f=o?mr:function(t,r){if(t=dr(t),r=pr(r),gr)try{return mr(t,r)}catch(t){}if(yr(t,r))return vr(!fr(lr.f,t,r),t[r])};var br={},wr=o&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),xr=G,Mr=String,kr=TypeError,Sr=function(t){if(xr(t))return t;throw kr(Mr(t)+" is not an object")},Nr=cr,jr=Sr,Pr=nr,Or=TypeError,Er=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Cr="enumerable",Ar="configurable",Rr="writable";br.f=o?wr?function(t,r,i){if(jr(t),r=Pr(r),jr(i),"function"==typeof t&&"prototype"===r&&"value"in i&&Rr in i&&!i[Rr]){var e=Tr(t,r);e&&e[Rr]&&(t[r]=i.value,i={configurable:Ar in i?i[Ar]:e[Ar],enumerable:Cr in i?i[Cr]:e[Cr],writable:!1})}return Er(t,r,i)}:Er:function(t,r,i){if(jr(t),r=Pr(r),jr(i),Nr)try{return Er(t,r,i)}catch(t){}if("get"in i||"set"in i)throw Or("Accessors not supported");return"value"in i&&(t[r]=i.value),t};var Br=br,Lr=g,$r=o?function(t,r,i){return Br.f(t,r,Lr(1,i))}:function(t,r,i){return t[r]=i,t},Ir={exports:{}},Dr=o,Fr=Function.prototype,zr=Dr&&Object.getOwnPropertyDescriptor,_r=$t(Fr,"name"),Yr={EXISTS:_r,PROPER:_r&&"something"===function(){}.name,CONFIGURABLE:_r&&(!Dr||Dr&&zr(Fr,"name").configurable)},Xr=Y,qr=Et,Gr=M(Function.toString);Xr(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Ur,Vr,Hr,Wr=qr.inspectSource,Qr=n.WeakMap,Zr=Y(Qr)&&/native code/.test(String(Qr)),Kr=_t,Jr=(0,St.exports)("keys"),ti=function(t){return Jr[t]||(Jr[t]=Kr(t))},ri={},ii=G,ei=$r,ni=$t,si=ti,ai=ri,oi="Object already initialized",hi=n.TypeError;if(Zr||Et.state){var ui=Et.state||(Et.state=new(0,n.WeakMap));ui.get=ui.get,ui.has=ui.has,ui.set=ui.set,Ur=function(t,r){if(ui.has(t))throw hi(oi);return r.facade=t,ui.set(t,r),r},Vr=function(t){return ui.get(t)||{}},Hr=function(t){return ui.has(t)}}else{var ci=si("state");ai[ci]=!0,Ur=function(t,r){if(ni(t,ci))throw hi(oi);return r.facade=t,ei(t,ci,r),r},Vr=function(t){return ni(t,ci)?t[ci]:{}},Hr=function(t){return ni(t,ci)}}var fi={set:Ur,get:Vr,has:Hr,enforce:function(t){return Hr(t)?Vr(t):Ur(t,{})},getterFor:function(t){return function(r){var i;if(!ii(r)||(i=Vr(r)).type!==t)throw hi("Incompatible receiver, "+t+" required");return i}}},li=M,vi=a,di=Y,pi=$t,yi=o,gi=Yr.CONFIGURABLE,mi=Wr,bi=fi.enforce,wi=fi.get,xi=String,Mi=Object.defineProperty,ki=li("".slice),Si=li("".replace),Ni=li([].join),ji=yi&&!vi((function(){return 8!==Mi((function(){}),"length",{value:8}).length})),Pi=String(String).split("String"),Oi=Ir.exports=function(t,r,i){"Symbol("===ki(xi(r),0,7)&&(r="["+Si(xi(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(r="get "+r),i&&i.setter&&(r="set "+r),(!pi(t,"name")||gi&&t.name!==r)&&(yi?Mi(t,"name",{value:r,configurable:!0}):t.name=r),ji&&i&&pi(i,"arity")&&t.length!==i.arity&&Mi(t,"length",{value:i.arity});try{i&&pi(i,"constructor")&&i.constructor?yi&&Mi(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=bi(t);return pi(e,"source")||(e.source=Ni(Pi,"string"==typeof r?r:"")),t};Function.prototype.toString=Oi((function(){return di(this)&&wi(this).source||mi(this)}),"toString");var Ei=Y,Ti=br,Ci=Ir.exports,Ai=Pt,Ri=function(t,r,i,e){e||(e={});var n=e.enumerable,s=void 0!==e.name?e.name:r;if(Ei(i)&&Ci(i,s,e),e.global)n?t[r]=i:Ai(r,i);else{try{e.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=i:Ti.f(t,r,{value:i,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},Bi={},Li=Math.ceil,$i=Math.floor,Ii=Math.trunc||function(t){var r=+t;return(r>0?$i:Li)(r)},Di=Ii,Fi=function(t){var r=+t;return r!=r||0===r?0:Di(r)},zi=Fi,_i=Math.max,Yi=Math.min,Xi=function(t,r){var i=zi(t);return i<0?_i(i+r,0):Yi(i,r)},qi=Fi,Gi=Math.min,Ui=function(t){return t>0?Gi(qi(t),9007199254740991):0},Vi=Ui,Hi=function(t){return Vi(t.length)},Wi=D,Qi=Xi,Zi=Hi,Ki=function(t){return function(r,i,e){var n,s=Wi(r),a=Zi(s),o=Qi(e,a);if(t&&i!=i){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===i)return t||o||0;return!t&&-1}},Ji={includes:Ki(!0),indexOf:Ki(!1)},te=$t,re=D,ie=Ji.indexOf,ee=ri,ne=M([].push),se=function(t,r){var i,e=re(t),n=0,s=[];for(i in e)!te(ee,i)&&te(e,i)&&ne(s,i);for(;r.length>n;)te(e,i=r[n++])&&(~ie(s,i)||ne(s,i));return s},ae=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oe=se,he=ae.concat("length","prototype");Bi.f=Object.getOwnPropertyNames||function(t){return oe(t,he)};var ue={};ue.f=Object.getOwnPropertySymbols;var ce=H,fe=Bi,le=ue,ve=Sr,de=M([].concat),pe=ce("Reflect","ownKeys")||function(t){var r=fe.f(ve(t)),i=le.f;return i?de(r,i(t)):r},ye=$t,ge=pe,me=s,be=br,we=a,xe=Y,Me=/#|\.prototype\./,ke=function(t,r){var i=Ne[Se(t)];return i==Pe||i!=je&&(xe(r)?we(r):!!r)},Se=ke.normalize=function(t){return String(t).replace(Me,".").toLowerCase()},Ne=ke.data={},je=ke.NATIVE="N",Pe=ke.POLYFILL="P",Oe=ke,Ee=n,Te=s.f,Ce=$r,Ae=Ri,Re=Pt,Be=function(t,r,i){for(var e=ge(r),n=be.f,s=me.f,a=0;a<e.length;a++){var o=e[a];ye(t,o)||i&&ye(i,o)||n(t,o,s(r,o))}},Le=Oe,$e=function(t,r){var i,e,n,s,a,o=t.target,h=t.global,u=t.stat;if(i=h?Ee:u?Ee[o]||Re(o,{}):(Ee[o]||{}).prototype)for(e in r){if(s=r[e],n=t.dontCallGetSet?(a=Te(i,e))&&a.value:i[e],!Le(h?e:o+(u?".":"#")+e,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Be(s,n)}(t.sham||n&&n.sham)&&Ce(s,"sham",!0),Ae(i,e,s,t)}},Ie="undefined"!=typeof process&&"process"==j(process),De=Y,Fe=String,ze=TypeError,_e=M,Ye=Sr,Xe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,i={};try{(t=_e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),r=i instanceof Array}catch(t){}return function(i,e){return Ye(i),function(t){if("object"==typeof t||De(t))return t;throw ze("Can't set "+Fe(t)+" as a prototype")}(e),r?t(i,e):i.__proto__=e,i}}():void 0),qe=br.f,Ge=$t,Ue=Wt("toStringTag"),Ve=function(t,r,i){t&&!i&&(t=t.prototype),t&&!Ge(t,Ue)&&qe(t,Ue,{configurable:!0,value:r})},He=H,We=br,Qe=o,Ze=Wt("species"),Ke=W,Je=TypeError,tn={};tn[Wt("toStringTag")]="z";var rn="[object z]"===String(tn),en=Y,nn=j,sn=Wt("toStringTag"),an=Object,on="Arguments"==nn(function(){return arguments}()),hn=rn?nn:function(t){var r,i,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=an(t),sn))?i:on?nn(r):"Object"==(e=nn(r))&&en(r.callee)?"Arguments":e},un=M,cn=a,fn=Y,ln=hn,vn=Wr,dn=function(){},pn=[],yn=H("Reflect","construct"),gn=/^\s*(?:class|function)\b/,mn=un(gn.exec),bn=!gn.exec(dn),wn=function(t){if(!fn(t))return!1;try{return yn(dn,pn,t),!0}catch(t){return!1}},xn=function(t){if(!fn(t))return!1;switch(ln(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!mn(gn,vn(t))}catch(t){return!0}};xn.sham=!0;var Mn,kn,Sn,Nn,jn=!yn||cn((function(){var t;return wn(wn.call)||!wn(Object)||!wn((function(){t=!0}))||t}))?xn:wn,Pn=jn,On=lt,En=TypeError,Tn=Sr,Cn=A,An=Wt("species"),Rn=function(t,r){var i,e=Tn(t).constructor;return void 0===e||Cn(i=Tn(e)[An])?r:function(t){if(Pn(t))return t;throw En(On(t)+" is not a constructor")}(i)},Bn=Function.prototype,Ln=Bn.apply,$n=Bn.call,In="object"==typeof Reflect&&Reflect.apply||(h?$n.bind(Ln):function(){return $n.apply(Ln,arguments)}),Dn=j,Fn=M,zn=function(t){if("Function"===Dn(t))return Fn(t)},_n=yt,Yn=h,Xn=zn(zn.bind),qn=function(t,r){return _n(t),void 0===r?t:Yn?Xn(t,r):function(){return t.apply(r,arguments)}},Gn=H("document","documentElement"),Un=M([].slice),Vn=TypeError,Hn=/(?:ipad|iphone|ipod).*applewebkit/i.test(Q),Wn=n,Qn=In,Zn=qn,Kn=Y,Jn=$t,ts=a,rs=Gn,is=Un,es=hr,ns=Hn,ss=Ie,as=Wn.setImmediate,os=Wn.clearImmediate,hs=Wn.process,us=Wn.Dispatch,cs=Wn.Function,fs=Wn.MessageChannel,ls=Wn.String,vs=0,ds={},ps="onreadystatechange";ts((function(){Mn=Wn.location}));var ys=function(t){if(Jn(ds,t)){var r=ds[t];delete ds[t],r()}},gs=function(t){return function(){ys(t)}},ms=function(t){ys(t.data)},bs=function(t){Wn.postMessage(ls(t),Mn.protocol+"//"+Mn.host)};as&&os||(as=function(t){!function(t,r){if(t<r)throw Vn("Not enough arguments")}(arguments.length,1);var r=Kn(t)?t:cs(t),i=is(arguments,1);return ds[++vs]=function(){Qn(r,void 0,i)},kn(vs),vs},os=function(t){delete ds[t]},ss?kn=function(t){hs.nextTick(gs(t))}:us&&us.now?kn=function(t){us.now(gs(t))}:fs&&!ns?(Nn=(Sn=new fs).port2,Sn.port1.onmessage=ms,kn=Zn(Nn.postMessage,Nn)):Wn.addEventListener&&Kn(Wn.postMessage)&&!Wn.importScripts&&Mn&&"file:"!==Mn.protocol&&!ts(bs)?(kn=bs,Wn.addEventListener("message",ms,!1)):kn=ps in es("script")?function(t){rs.appendChild(es("script"))[ps]=function(){rs.removeChild(this),ys(t)}}:function(t){setTimeout(gs(t),0)});var ws={set:as,clear:os},xs=function(){this.head=null,this.tail=null};xs.prototype={add:function(t){var r={item:t,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Ms,ks,Ss,Ns,js,Ps=xs,Os=/ipad|iphone|ipod/i.test(Q)&&"undefined"!=typeof Pebble,Es=/web0s(?!.*chrome)/i.test(Q),Ts=n,Cs=qn,As=ws.set,Rs=Ps,Bs=Hn,Ls=Os,$s=Es,Is=Ie,Ds=Ts.MutationObserver||Ts.WebKitMutationObserver,Fs=Ts.document,zs=Ts.process,_s=Ts.Promise,Ys=(0,s.f)(Ts,"queueMicrotask"),Xs=Ys&&Ys.value;if(!Xs){var qs=new Rs,Gs=function(){var t,r;for(Is&&(t=zs.domain)&&t.exit();r=qs.get();)try{r()}catch(t){throw qs.head&&Ms(),t}t&&t.enter()};Bs||Is||$s||!Ds||!Fs?!Ls&&_s&&_s.resolve?((Ns=_s.resolve(void 0)).constructor=_s,js=Cs(Ns.then,Ns),Ms=function(){js(Gs)}):Is?Ms=function(){zs.nextTick(Gs)}:(As=Cs(As,Ts),Ms=function(){As(Gs)}):(ks=!0,Ss=Fs.createTextNode(""),new Ds(Gs).observe(Ss,{characterData:!0}),Ms=function(){Ss.data=ks=!ks}),Xs=function(t){qs.head||Ms(),qs.add(t)}}var Us=Xs,Vs=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Hs=n.Promise,Ws="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Qs=!Ws&&!Ie&&"object"==typeof window&&"object"==typeof document,Zs=n,Ks=Hs,Js=Y,ta=Oe,ra=Wr,ia=Qs,ea=Ws,na=it,sa=Wt("species"),aa=!1,oa=Js(Zs.PromiseRejectionEvent),ha=ta("Promise",(function(){var t=ra(Ks),r=t!==String(Ks);if(!r&&66===na)return!0;if(!na||na<51||!/native code/.test(t)){var i=new Ks((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};if((i.constructor={})[sa]=e,!(aa=i.then((function(){}))instanceof e))return!0}return!r&&(ia||ea)&&!oa})),ua={CONSTRUCTOR:ha,REJECTION_EVENT:oa,SUBCLASSING:aa},ca={},fa=yt,la=TypeError,va=function(t){var r,i;this.promise=new t((function(t,e){if(void 0!==r||void 0!==i)throw la("Bad Promise constructor");r=t,i=e})),this.resolve=fa(r),this.reject=fa(i)};ca.f=function(t){return new va(t)};var da,pa,ya,ga,ma=$e,ba=Ie,wa=n,xa=c,Ma=Ri,ka=Xe,Sa=Ve,Na=yt,ja=Y,Pa=G,Oa=Rn,Ea=ws.set,Ta=Us,Ca=Vs,Aa=Ps,Ra=fi,Ba=Hs,La=ca,$a="Promise",Ia=ua.CONSTRUCTOR,Da=ua.REJECTION_EVENT,Fa=ua.SUBCLASSING,za=Ra.getterFor($a),_a=Ra.set,Ya=Ba&&Ba.prototype,Xa=Ba,qa=Ya,Ga=wa.TypeError,Ua=wa.document,Va=wa.process,Ha=La.f,Wa=Ha,Qa=!!(Ua&&Ua.createEvent&&wa.dispatchEvent),Za="unhandledrejection",Ka=function(t){var r;return!(!Pa(t)||!ja(r=t.then))&&r},Ja=function(t,r){var i,e,n,s=r.value,a=1==r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&no(r),r.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?u(Ga("Promise-chain cycle")):(e=Ka(i))?xa(e,i,h,u):h(i)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},to=function(t,r){t.notified||(t.notified=!0,Ta((function(){for(var i,e=t.reactions;i=e.get();)Ja(i,t);t.notified=!1,r&&!t.rejection&&io(t)})))},ro=function(t,r,i){var e,n;Qa?((e=Ua.createEvent("Event")).promise=r,e.reason=i,e.initEvent(t,!1,!0),wa.dispatchEvent(e)):e={promise:r,reason:i},!Da&&(n=wa["on"+t])?n(e):t===Za&&function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",i)},io=function(t){xa(Ea,wa,(function(){var r,i=t.facade,e=t.value;if(eo(t)&&(r=Ca((function(){ba?Va.emit("unhandledRejection",e,i):ro(Za,i,e)})),t.rejection=ba||eo(t)?2:1,r.error))throw r.value}))},eo=function(t){return 1!==t.rejection&&!t.parent},no=function(t){xa(Ea,wa,(function(){var r=t.facade;ba?Va.emit("rejectionHandled",r):ro("rejectionhandled",r,t.value)}))},so=function(t,r,i){return function(e){t(r,e,i)}},ao=function(t,r,i){t.done||(t.done=!0,i&&(t=i),t.value=r,t.state=2,to(t,!0))},oo=function(t,r,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===r)throw Ga("Promise can't be resolved itself");var e=Ka(r);e?Ta((function(){var i={done:!1};try{xa(e,r,so(oo,i,t),so(ao,i,t))}catch(r){ao(i,r,t)}})):(t.value=r,t.state=1,to(t,!1))}catch(r){ao({done:!1},r,t)}}};if(Ia&&(Xa=function(t){(function(t,r){if(Ke(r,t))return t;throw Je("Incorrect invocation")})(this,qa),Na(t),xa(da,this);var r=za(this);try{t(so(oo,r),so(ao,r))}catch(t){ao(r,t)}},(da=function(){_a(this,{type:$a,done:!1,notified:!1,parent:!1,reactions:new Aa,rejection:!1,state:0,value:void 0})}).prototype=Ma(qa=Xa.prototype,"then",(function(t,r){var i=za(this),e=Ha(Oa(this,Xa));return i.parent=!0,e.ok=!ja(t)||t,e.fail=ja(r)&&r,e.domain=ba?Va.domain:void 0,0==i.state?i.reactions.add(e):Ta((function(){Ja(e,i)})),e.promise})),pa=function(){var t=new da,r=za(t);this.promise=t,this.resolve=so(oo,r),this.reject=so(ao,r)},La.f=Ha=function(t){return t===Xa||void 0===t?new pa(t):Wa(t)},ja(Ba)&&Ya!==Object.prototype)){ya=Ya.then,Fa||Ma(Ya,"then",(function(t,r){var i=this;return new Xa((function(t,r){xa(ya,i,t,r)})).then(t,r)}),{unsafe:!0});try{delete Ya.constructor}catch(t){}ka&&ka(Ya,qa)}ma({global:!0,constructor:!0,wrap:!0,forced:Ia},{Promise:Xa}),Sa(Xa,$a,!1),ga=He($a),Qe&&ga&&!ga[Ze]&&(0,We.f)(ga,Ze,{configurable:!0,get:function(){return this}});var ho={},uo=ho,co=Wt("iterator"),fo=Array.prototype,lo=hn,vo=bt,po=A,yo=ho,go=Wt("iterator"),mo=function(t){if(!po(t))return vo(t,go)||vo(t,"@@iterator")||yo[lo(t)]},bo=c,wo=yt,xo=Sr,Mo=lt,ko=mo,So=TypeError,No=c,jo=Sr,Po=bt,Oo=qn,Eo=c,To=Sr,Co=lt,Ao=Hi,Ro=W,Bo=mo,Lo=function(t,r,i){var e,n;jo(t);try{if(!(e=Po(t,"return"))){if("throw"===r)throw i;return i}e=No(e,t)}catch(t){n=!0,e=t}if("throw"===r)throw i;if(n)throw e;return jo(e),i},$o=TypeError,Io=function(t,r){this.stopped=t,this.result=r},Do=Io.prototype,Fo=function(t,r,i){var e,n,s,a,o,h,u,c,f=!(!i||!i.AS_ENTRIES),l=!(!i||!i.IS_RECORD),v=!(!i||!i.IS_ITERATOR),d=!(!i||!i.INTERRUPTED),p=Oo(r,i&&i.that),y=function(t){return e&&Lo(e,"normal",t),new Io(!0,t)},g=function(t){return f?(To(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)e=t.iterator;else if(v)e=t;else{if(!(n=Bo(t)))throw $o(Co(t)+" is not iterable");if(void 0!==(c=n)&&(uo.Array===c||fo[co]===c)){for(s=0,a=Ao(t);a>s;s++)if((o=g(t[s]))&&Ro(Do,o))return o;return new Io(!1)}e=function(t,r){var i=arguments.length<2?ko(t):r;if(wo(i))return xo(bo(i,t));throw So(Mo(t)+" is not iterable")}(t,n)}for(h=l?t.next:e.next;!(u=Eo(h,e)).done;){try{o=g(u.value)}catch(t){Lo(e,"throw",t)}if("object"==typeof o&&o&&Ro(Do,o))return o}return new Io(!1)},zo=Wt("iterator"),_o=!1;try{var Yo=0,Xo={next:function(){return{done:!!Yo++}},return:function(){_o=!0}};Xo[zo]=function(){return this},Array.from(Xo,(function(){throw 2}))}catch(t){}var qo=Hs,Go=ua.CONSTRUCTOR||!function(t,r){if(!r&&!_o)return!1;var i=!1;try{var e={};e[zo]=function(){return{next:function(){return{done:i=!0}}}},t(e)}catch(t){}return i}((function(t){qo.all(t).then(void 0,(function(){}))})),Uo=c,Vo=yt,Ho=ca,Wo=Vs,Qo=Fo;$e({target:"Promise",stat:!0,forced:Go},{all:function(t){var r=this,i=Ho.f(r),e=i.resolve,n=i.reject,s=Wo((function(){var i=Vo(r.resolve),s=[],a=0,o=1;Qo(t,(function(t){var h=a++,u=!1;o++,Uo(i,r,t).then((function(t){u||(u=!0,s[h]=t,--o||e(s))}),n)})),--o||e(s)}));return s.error&&n(s.value),i.promise}});var Zo=Hs,Ko=H,Jo=Y,th=Ri,rh=Zo&&Zo.prototype;if($e({target:"Promise",proto:!0,forced:ua.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),Jo(Zo)){var ih=Ko("Promise").prototype.catch;rh.catch!==ih&&th(rh,"catch",ih,{unsafe:!0})}var eh=c,nh=yt,sh=ca,ah=Vs,oh=Fo;$e({target:"Promise",stat:!0,forced:Go},{race:function(t){var r=this,i=sh.f(r),e=i.reject,n=ah((function(){var n=nh(r.resolve);oh(t,(function(t){eh(n,r,t).then(i.resolve,e)}))}));return n.error&&e(n.value),i.promise}});var hh=c,uh=ca;$e({target:"Promise",stat:!0,forced:ua.CONSTRUCTOR},{reject:function(t){var r=uh.f(this);return hh(r.reject,void 0,t),r.promise}});var ch=Sr,fh=G,lh=ca;$e({target:"Promise",stat:!0,forced:ua.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(ch(t),fh(r)&&r.constructor===t)return r;var i=lh.f(t);return(0,i.resolve)(r),i.promise}(this,t)}});var vh={exports:{}};!function(t){function r(t,r,i,e,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void i(t)}o.done?r(h):Promise.resolve(h).then(e,n)}t.exports=function(t){return function(){var i=this,e=arguments;return new Promise((function(n,s){var a=t.apply(i,e);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports}(vh);const dh=r(vh.exports);var ph=hn,yh=String,gh=function(t){if("Symbol"===ph(t))throw TypeError("Cannot convert a Symbol value to a string");return yh(t)},mh=Sr,bh=function(){var t=mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},wh=a,xh=n.RegExp,Mh=wh((function(){var t=xh("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),kh=Mh||wh((function(){return!xh("a","y").sticky})),Sh={BROKEN_CARET:Mh||wh((function(){var t=xh("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:kh,UNSUPPORTED_Y:Mh},Nh={},jh=se,Ph=ae,Oh=Object.keys||function(t){return jh(t,Ph)},Eh=br,Th=Sr,Ch=D,Ah=Oh;Nh.f=o&&!wr?Object.defineProperties:function(t,r){Th(t);for(var i,e=Ch(r),n=Ah(r),s=n.length,a=0;s>a;)Eh.f(t,i=n[a++],e[i]);return t};var Rh,Bh=Sr,Lh=Nh,$h=ae,Ih=ri,Dh=Gn,Fh=hr,zh="prototype",_h="script",Yh=ti("IE_PROTO"),Xh=function(){},qh=function(t){return"<"+_h+">"+t+"</"+_h+">"},Gh=function(t){t.write(qh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Uh=function(){try{Rh=new ActiveXObject("htmlfile")}catch(t){}var t,r,i;Uh="undefined"!=typeof document?document.domain&&Rh?Gh(Rh):(r=Fh("iframe"),i="java"+_h+":",r.style.display="none",Dh.appendChild(r),r.src=String(i),(t=r.contentWindow.document).open(),t.write(qh("document.F=Object")),t.close(),t.F):Gh(Rh);for(var e=$h.length;e--;)delete Uh[zh][$h[e]];return Uh()};Ih[Yh]=!0;var Vh,Hh,Wh=Object.create||function(t,r){var i;return null!==t?(Xh[zh]=Bh(t),i=new Xh,Xh[zh]=null,i[Yh]=t):i=Uh(),void 0===r?i:Lh.f(i,r)},Qh=n.RegExp,Zh=a((function(){var t=Qh(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Kh=n.RegExp,Jh=a((function(){var t=Kh("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),tu=c,ru=M,iu=gh,eu=bh,nu=Sh,su=Wh,au=fi.get,ou=Zh,hu=Jh,uu=(0,St.exports)("native-string-replace",String.prototype.replace),cu=RegExp.prototype.exec,fu=cu,lu=ru("".charAt),vu=ru("".indexOf),du=ru("".replace),pu=ru("".slice),yu=(Hh=/b*/g,tu(cu,Vh=/a/,"a"),tu(cu,Hh,"a"),0!==Vh.lastIndex||0!==Hh.lastIndex),gu=nu.BROKEN_CARET,mu=void 0!==/()??/.exec("")[1];(yu||mu||gu||ou||hu)&&(fu=function(t){var r,i,e,n,s,a,o,h=this,u=au(h),c=iu(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=tu(fu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=gu&&h.sticky,d=tu(eu,h),p=h.source,y=0,g=c;if(v&&(d=du(d,"y",""),-1===vu(d,"g")&&(d+="g"),g=pu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==lu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),i=new RegExp("^(?:"+p+")",d)),mu&&(i=new RegExp("^"+p+"$(?!\\s)",d)),yu&&(e=h.lastIndex),n=tu(cu,v?i:h,g),v?n?(n.input=pu(n.input,y),n[0]=pu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:yu&&n&&(h.lastIndex=h.global?n.index+n[0].length:e),mu&&n&&n.length>1&&tu(uu,n[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=su(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var bu=fu;$e({target:"RegExp",proto:!0,forced:/./.exec!==bu},{exec:bu});var wu=zn,xu=Ri,Mu=bu,ku=a,Su=Wt,Nu=$r,ju=Su("species"),Pu=RegExp.prototype,Ou=function(t,r,i,e){var n=Su(t),s=!ku((function(){var r={};return r[n]=function(){return 7},7!=""[t](r)})),a=s&&!ku((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[ju]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return r=!0,null},i[n](""),!r}));if(!s||!a||i){var o=wu(/./[n]),h=r(n,""[t],(function(t,r,i,e,n){var a=wu(t),h=r.exec;return h===Mu||h===Pu.exec?s&&!n?{done:!0,value:o(r,i,e)}:{done:!0,value:a(i,r,e)}:{done:!1}}));xu(String.prototype,t,h[0]),xu(Pu,n,h[1])}e&&Nu(Pu[n],"sham",!0)},Eu=M,Tu=Fi,Cu=gh,Au=L,Ru=Eu("".charAt),Bu=Eu("".charCodeAt),Lu=Eu("".slice),$u=function(t){return function(r,i){var e,n,s=Cu(Au(r)),a=Tu(i),o=s.length;return a<0||a>=o?t?"":void 0:(e=Bu(s,a))<55296||e>56319||a+1===o||(n=Bu(s,a+1))<56320||n>57343?t?Ru(s,a):e:t?Lu(s,a,a+2):n-56320+(e-55296<<10)+65536}},Iu=($u(!1),$u(!0)),Du=function(t,r,i){return r+(i?Iu(t,r).length:1)},Fu=c,zu=Sr,_u=Y,Yu=j,Xu=bu,qu=TypeError,Gu=function(t,r){var i=t.exec;if(_u(i)){var e=Fu(i,t,r);return null!==e&&zu(e),e}if("RegExp"===Yu(t))return Fu(Xu,t,r);throw qu("RegExp#exec called on incompatible receiver")},Uu=c,Vu=Sr,Hu=A,Wu=Ui,Qu=gh,Zu=L,Ku=bt,Ju=Du,tc=Gu;Ou("match",(function(t,r,i){return[function(r){var i=Zu(this),e=Hu(r)?void 0:Ku(r,t);return e?Uu(e,r,i):new RegExp(r)[t](Qu(i))},function(t){var e=Vu(this),n=Qu(t),s=i(r,e,n);if(s.done)return s.value;if(!e.global)return tc(e,n);var a=e.unicode;e.lastIndex=0;for(var o,h=[],u=0;null!==(o=tc(e,n));){var c=Qu(o[0]);h[u]=c,""===c&&(e.lastIndex=Ju(n,Wu(e.lastIndex),a)),u++}return 0===u?null:h}]}));var rc=M,ic=Rt,ec=Math.floor,nc=rc("".charAt),sc=rc("".replace),ac=rc("".slice),oc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,hc=/\$([$&'`]|\d{1,2})/g,uc=In,cc=c,fc=M,lc=Ou,vc=a,dc=Sr,pc=Y,yc=A,gc=Fi,mc=Ui,bc=gh,wc=L,xc=Du,Mc=bt,kc=function(t,r,i,e,n,s){var a=i+t.length,o=e.length,h=hc;return void 0!==n&&(n=ic(n),h=oc),sc(s,h,(function(s,h){var u;switch(nc(h,0)){case"$":return"$";case"&":return t;case"`":return ac(r,0,i);case"'":return ac(r,a);case"<":u=n[ac(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ec(c/10);return 0===f?s:f<=o?void 0===e[f-1]?nc(h,1):e[f-1]+nc(h,1):s}u=e[c-1]}return void 0===u?"":u}))},Sc=Gu,Nc=Wt("replace"),jc=Math.max,Pc=Math.min,Oc=fc([].concat),Ec=fc([].push),Tc=fc("".indexOf),Cc=fc("".slice),Ac="$0"==="a".replace(/./,"$0"),Rc=!!/./[Nc]&&""===/./[Nc]("a","$0");lc("replace",(function(t,r,i){var e=Rc?"$":"$0";return[function(t,i){var e=wc(this),n=yc(t)?void 0:Mc(t,Nc);return n?cc(n,t,e,i):cc(r,bc(e),t,i)},function(t,n){var s=dc(this),a=bc(t);if("string"==typeof n&&-1===Tc(n,e)&&-1===Tc(n,"$<")){var o=i(r,s,a,n);if(o.done)return o.value}var h=pc(n);h||(n=bc(n));var u=s.global;if(u){var c=s.unicode;s.lastIndex=0}for(var f=[];;){var l=Sc(s,a);if(null===l)break;if(Ec(f,l),!u)break;""===bc(l[0])&&(s.lastIndex=xc(a,mc(s.lastIndex),c))}for(var v,d="",p=0,y=0;y<f.length;y++){for(var g=bc((l=f[y])[0]),m=jc(Pc(gc(l.index),a.length),0),b=[],w=1;w<l.length;w++)Ec(b,void 0===(v=l[w])?v:String(v));var x=l.groups;if(h){var M=Oc([g],b,m,a);void 0!==x&&Ec(M,x);var k=bc(uc(n,void 0,M))}else k=kc(g,a,m,b,x,n);m>=p&&(d+=Cc(a,p,m)+k,p=m+g.length)}return d+Cc(a,p)}]}),!!vc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Ac||Rc);var Bc,Lc=G,$c=j,Ic=Wt("match"),Dc=function(t){var r;return Lc(t)&&(void 0!==(r=t[Ic])?!!r:"RegExp"==$c(t))},Fc=Dc,zc=TypeError,_c=function(t){if(Fc(t))throw zc("The method doesn't accept regular expressions");return t},Yc=Wt("match"),Xc=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{return r[Yc]=!1,"/./"[t](r)}catch(t){}}return!1},qc=$e,Gc=zn,Uc=s.f,Vc=Ui,Hc=gh,Wc=_c,Qc=L,Zc=Xc,Kc=Gc("".startsWith),Jc=Gc("".slice),tf=Math.min,rf=Zc("startsWith");qc({target:"String",proto:!0,forced:!(!rf&&(Bc=Uc(String.prototype,"startsWith"),Bc&&!Bc.writable)||rf)},{startsWith:function(t){var r=Hc(Qc(this));Wc(t);var i=Vc(tf(arguments.length>1?arguments[1]:void 0,r.length)),e=Hc(t);return Kc?Kc(r,e,i):Jc(r,i,i+e.length)===e}});var ef=Wh,nf=br.f,sf=Wt("unscopables"),af=Array.prototype;null==af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=$t,lf=Y,vf=Rt,df=cf,pf=ti("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var i=r.constructor;return lf(i)&&r instanceof i?i.prototype:r instanceof yf?gf:null},bf=a,wf=Y,xf=G,Mf=mf,kf=Ri,Sf=Wt("iterator"),Nf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Nf=!0);var jf=!xf(of)||bf((function(){var t={};return of[Sf].call(t)!==t}));jf&&(of={}),wf(of[Sf])||kf(of,Sf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Nf},Of=Pf.IteratorPrototype,Ef=Wh,Tf=g,Cf=Ve,Af=ho,Rf=function(){return this},Bf=$e,Lf=c,$f=Y,If=mf,Df=Xe,Ff=Ve,zf=$r,_f=Ri,Yf=ho,Xf=Yr.PROPER,qf=Yr.CONFIGURABLE,Gf=Pf.IteratorPrototype,Uf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Wt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=D,Jf=function(t){af[sf][t]=!0},tl=ho,rl=br.f,il=function(t,r){return{value:t,done:r}},el=o,nl="Array Iterator",sl=fi.set,al=fi.getterFor(nl),ol=function(t,r,i,e,n,s,a){!function(t,r,i,e){var n=r+" Iterator";t.prototype=Ef(Of,{next:Tf(+!e,i)}),Cf(t,n,!1),Af[n]=Rf}(i,r,e);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Uf&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new i(this,t)}}return function(){return new i(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Uf&&d||c(n),y="Array"==r&&v.entries||d;if(y&&(o=If(y.call(new t)))!==Object.prototype&&o.next&&(If(o)!==Gf&&(Df?Df(o,Gf):$f(o[Vf])||_f(o,Vf,Zf)),Ff(o,f,!0)),Xf&&n==Wf&&d&&d.name!==Wf&&(qf?zf(v,"name",Wf):(l=!0,p=function(){return Lf(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Uf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Uf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,i=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,il(void 0,!0)):il("keys"==i?e:"values"==i?r[e]:[e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),el&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=hr("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=$r,yl=Wt,gl=yl("iterator"),ml=yl("toStringTag"),bl=dl.values,wl=function(t,r){if(t){if(t[gl]!==bl)try{pl(t,gl,bl)}catch(r){t[gl]=bl}if(t[ml]||pl(t,ml,r),ll[r])for(var i in dl)if(t[i]!==dl[i])try{pl(t,i,dl[i])}catch(r){t[i]=dl[i]}}};for(var xl in ll)wl(fl[xl]&&fl[xl].prototype,xl);wl(vl,"DOMTokenList");var Ml={exports:{}},kl={exports:{}},Sl={exports:{}};!function(t){var r=i.exports.default;t.exports=function(t,i){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Sl),function(t){var r=i.exports.default,e=Sl.exports;t.exports=function(t){var i=e(t,"string");return"symbol"===r(i)?i:String(i)},t.exports.__esModule=!0,t.exports.default=t.exports}(kl),function(t){var r=kl.exports;t.exports=function(t,i,e){return(i=r(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ml);const Nl=r(Ml.exports);var jl=yt,Pl=Rt,Ol=C,El=Hi,Tl=TypeError,Cl=function(t){return function(r,i,e,n){jl(i);var s=Pl(r),a=Ol(s),o=El(s),h=t?o-1:0,u=t?-1:1;if(e<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw Tl("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=i(n,a[h],h,s));return n}},Al={left:Cl(!1),right:Cl(!0)},Rl=a,Bl=function(t,r){var i=[][t];return!!i&&Rl((function(){i.call(null,r||function(){return 1},1)}))},Ll=Al.left;$e({target:"Array",proto:!0,forced:!Ie&&it>79&&it<83||!Bl("reduce")},{reduce:function(t){var r=arguments.length;return Ll(this,t,r,r>1?arguments[1]:void 0)}});var $l=$e,Il=zn,Dl=s.f,Fl=Ui,zl=gh,_l=_c,Yl=L,Xl=Xc,ql=Il("".endsWith),Gl=Il("".slice),Ul=Math.min,Vl=Xl("endsWith"),Hl=!Vl&&!!function(){var t=Dl(String.prototype,"endsWith");return t&&!t.writable}();$l({target:"String",proto:!0,forced:!Hl&&!Vl},{endsWith:function(t){var r=zl(Yl(this));_l(t);var i=arguments.length>1?arguments[1]:void 0,e=r.length,n=void 0===i?e:Ul(Fl(i),e),s=zl(t);return ql?ql(r,s,n):Gl(r,n-s.length,n)===s}});var Wl=nr,Ql=br,Zl=g,Kl=Xi,Jl=Hi,tv=Array,rv=Math.max,iv=In,ev=c,nv=M,sv=Ou,av=Sr,ov=A,hv=Dc,uv=L,cv=Rn,fv=Du,lv=Ui,vv=gh,dv=bt,pv=function(t,r,i){for(var e=Jl(t),n=Kl(r,e),s=Kl(void 0===i?e:i,e),a=tv(rv(s-n,0)),o=0;n<s;n++,o++)h=a,u=t[n],c=void 0,(c=Wl(o))in h?Ql.f(h,c,Zl(0,u)):h[c]=u;var h,u,c;return a.length=o,a},yv=Gu,gv=bu,mv=a,bv=Sh.UNSUPPORTED_Y,wv=4294967295,xv=Math.min,Mv=[].push,kv=nv(/./.exec),Sv=nv(Mv),Nv=nv("".slice);sv("split",(function(t,r,i){var e;return e="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var e=vv(uv(this)),n=void 0===i?wv:i>>>0;if(0===n)return[];if(void 0===t)return[e];if(!hv(t))return ev(r,e,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=ev(gv,c,e))&&!((a=c.lastIndex)>u&&(Sv(h,Nv(e,u,s.index)),s.length>1&&s.index<e.length&&iv(Mv,h,pv(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===e.length?!o&&kv(c,"")||Sv(h,""):Sv(h,Nv(e,u)),h.length>n?pv(h,0,n):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:ev(r,this,t,i)}:r,[function(r,i){var n=uv(this),s=ov(r)?void 0:dv(r,t);return s?ev(s,r,n,i):ev(e,vv(n),r,i)},function(t,n){var s=av(this),a=vv(t),o=i(e,s,a,n,e!==r);if(o.done)return o.value;var h=cv(s,RegExp),u=s.unicode,c=new h(bv?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(bv?"g":"y")),f=void 0===n?wv:n>>>0;if(0===f)return[];if(0===a.length)return null===yv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=bv?0:v;var p,y=yv(c,bv?Nv(a,v):a);if(null===y||(p=xv(lv(c.lastIndex+(bv?v:0)),a.length))===l)v=fv(a,v,u);else{if(Sv(d,Nv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(Sv(d,y[g]),d.length===f)return d;v=l=p}}return Sv(d,Nv(a,l)),d}]}),!!mv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]})),bv);var jv={exports:{}},Pv={exports:{}};(function(){var t,r,i,e,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?Pv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(Pv.exports=function(){return(t()-n)/1e6},r=process.hrtime,e=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=e-s):Date.now?(Pv.exports=function(){return Date.now()-i},i=Date.now()):(Pv.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(t);for(var Ov=Pv.exports,Ev="undefined"==typeof window?t:window,Tv=["moz","webkit"],Cv="AnimationFrame",Av=Ev["request"+Cv],Rv=Ev["cancel"+Cv]||Ev["cancelRequest"+Cv],Bv=0;!Av&&Bv<Tv.length;Bv++)Av=Ev[Tv[Bv]+"Request"+Cv],Rv=Ev[Tv[Bv]+"Cancel"+Cv]||Ev[Tv[Bv]+"CancelRequest"+Cv];if(!Av||!Rv){var Lv=0,$v=0,Iv=[],Dv=1e3/60;Av=function(t){if(0===Iv.length){var r=Ov(),i=Math.max(0,Dv-(r-Lv));Lv=i+r,setTimeout((function(){var t=Iv.slice(0);Iv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(Lv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(i))}return Iv.push({handle:++$v,callback:t,cancelled:!1}),$v},Rv=function(t){for(var r=0;r<Iv.length;r++)Iv[r].handle===t&&(Iv[r].cancelled=!0)}}jv.exports=function(t){return Av.call(Ev,t)},jv.exports.cancel=function(){Rv.apply(Ev,arguments)},jv.exports.polyfill=function(t){t||(t=Ev),t.requestAnimationFrame=Av,t.cancelAnimationFrame=Rv};const Fv=jv.exports;var zv,_v="\t\n\v\f\r                 \u2028\u2029\ufeff",Yv=L,Xv=gh,qv=_v,Gv=M("".replace),Uv="["+qv+"]",Vv=RegExp("^"+Uv+Uv+"*"),Hv=RegExp(Uv+Uv+"*$"),Wv=function(t){return function(r){var i=Xv(Yv(r));return 1&t&&(i=Gv(i,Vv,"")),2&t&&(i=Gv(i,Hv,"")),i}},Qv={start:Wv(1),end:Wv(2),trim:Wv(3)},Zv=Yr.PROPER,Kv=_v,Jv=Qv.trim;$e({target:"String",proto:!0,forced:(zv="trim",a((function(){return!!Kv[zv]()||"​…᠎"!=="​…᠎"[zv]()||Zv&&Kv[zv].name!==zv})))},{trim:function(){return Jv(this)}});var td=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var i=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],e=0;e<i.length;e++){var n=i[e].process,s=i[e].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"#"+t+r+i},this.getHelpXML=function(){for(var t=new Array,e=0;e<i.length;e++)for(var n=i[e].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var h=document.createElement("li"),u=new RGBColor(t[e]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},rd=$e,id=Ji.indexOf,ed=Bl,nd=zn([].indexOf),sd=!!nd&&1/nd([1],1,-0)<0;rd({target:"Array",proto:!0,forced:sd||!ed("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return sd?nd(this,t,r)||0:id(this,t,r)}});var ad=$e,od=_c,hd=L,ud=gh,cd=Xc,fd=M("".indexOf);ad({target:"String",proto:!0,forced:!cd("includes")},{includes:function(t){return!!~fd(ud(hd(this)),ud(od(t)),arguments.length>1?arguments[1]:void 0)}});var ld=j,vd=$e,dd=Array.isArray||function(t){return"Array"==ld(t)},pd=M([].reverse),yd=[1,2];vd({target:"Array",proto:!0,forced:String(yd)===String(yd.reverse())},{reverse:function(){return dd(this)&&(this.length=this.length),pd(this)}});
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- var gd=function(t,r){return(gd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])})(t,r)};function md(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}gd(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}function bd(t,r){var i=t[0],e=t[1];return[i*Math.cos(r)-e*Math.sin(r),i*Math.sin(r)+e*Math.cos(r)]}function wd(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0;i<t.length;i++)if("number"!=typeof t[i])throw new Error("assertNumbers arguments["+i+"] is not a number. "+typeof t[i]+" == typeof "+t[i]);return!0}var xd=Math.PI;function Md(t,r,i){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var e=t.rX,n=t.rY,s=t.x,a=t.y;e=Math.abs(t.rX),n=Math.abs(t.rY);var o=bd([(r-s)/2,(i-a)/2],-t.xRot/180*xd),h=o[0],u=o[1],c=Math.pow(h,2)/Math.pow(e,2)+Math.pow(u,2)/Math.pow(n,2);1<c&&(e*=Math.sqrt(c),n*=Math.sqrt(c)),t.rX=e,t.rY=n;var f=Math.pow(e,2)*Math.pow(u,2)+Math.pow(n,2)*Math.pow(h,2),l=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(e,2)*Math.pow(n,2)-f)/f)),v=e*u/n*l,d=-n*h/e*l,p=bd([v,d],t.xRot/180*xd);t.cX=p[0]+(r+s)/2,t.cY=p[1]+(i+a)/2,t.phi1=Math.atan2((u-d)/n,(h-v)/e),t.phi2=Math.atan2((-u-d)/n,(-h-v)/e),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*xd),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*xd),t.phi1*=180/xd,t.phi2*=180/xd}function kd(t,r,i){wd(t,r,i);var e=t*t+r*r-i*i;if(0>e)return[];if(0===e)return[[t*i/(t*t+r*r),r*i/(t*t+r*r)]];var n=Math.sqrt(e);return[[(t*i+r*n)/(t*t+r*r),(r*i-t*n)/(t*t+r*r)],[(t*i-r*n)/(t*t+r*r),(r*i+t*n)/(t*t+r*r)]]}var Sd,Nd=Math.PI/180;function jd(t,r,i){return(1-i)*t+i*r}function Pd(t,r,i,e){return t+Math.cos(e/180*xd)*r+Math.sin(e/180*xd)*i}function Od(t,r,i,e){var n=1e-6,s=r-t,a=i-r,o=3*s+3*(e-i)-6*a,h=6*(a-s),u=3*s;return Math.abs(o)<n?[-u/h]:function(t,r,i){void 0===i&&(i=1e-6);var e=t*t/4-r;if(e<-i)return[];if(e<=i)return[-t/2];var n=Math.sqrt(e);return[-t/2-n,-t/2+n]}(h/o,u/o,n)}function Ed(t,r,i,e,n){var s=1-n;return t*(s*s*s)+r*(3*s*s*n)+i*(3*s*n*n)+e*(n*n*n)}!function(t){function r(){return n((function(t,r,i){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=i),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=i),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=i),t.relative=!1),t}))}function i(){var t=NaN,r=NaN,i=NaN,e=NaN;return n((function(n,s,a){return n.type&Ld.SMOOTH_CURVE_TO&&(n.type=Ld.CURVE_TO,t=isNaN(t)?s:t,r=isNaN(r)?a:r,n.x1=n.relative?s-t:2*s-t,n.y1=n.relative?a-r:2*a-r),n.type&Ld.CURVE_TO?(t=n.relative?s+n.x2:n.x2,r=n.relative?a+n.y2:n.y2):(t=NaN,r=NaN),n.type&Ld.SMOOTH_QUAD_TO&&(n.type=Ld.QUAD_TO,i=isNaN(i)?s:i,e=isNaN(e)?a:e,n.x1=n.relative?s-i:2*s-i,n.y1=n.relative?a-e:2*a-e),n.type&Ld.QUAD_TO?(i=n.relative?s+n.x1:n.x1,e=n.relative?a+n.y1:n.y1):(i=NaN,e=NaN),n}))}function e(){var t=NaN,r=NaN;return n((function(i,e,n){if(i.type&Ld.SMOOTH_QUAD_TO&&(i.type=Ld.QUAD_TO,t=isNaN(t)?e:t,r=isNaN(r)?n:r,i.x1=i.relative?e-t:2*e-t,i.y1=i.relative?n-r:2*n-r),i.type&Ld.QUAD_TO){t=i.relative?e+i.x1:i.x1,r=i.relative?n+i.y1:i.y1;var s=i.x1,a=i.y1;i.type=Ld.CURVE_TO,i.x1=((i.relative?0:e)+2*s)/3,i.y1=((i.relative?0:n)+2*a)/3,i.x2=(i.x+2*s)/3,i.y2=(i.y+2*a)/3}else t=NaN,r=NaN;return i}))}function n(t){var r=0,i=0,e=NaN,n=NaN;return function(s){if(isNaN(e)&&!(s.type&Ld.MOVE_TO))throw new Error("path must start with moveto");var a=t(s,r,i,e,n);return s.type&Ld.CLOSE_PATH&&(r=e,i=n),void 0!==s.x&&(r=s.relative?r+s.x:s.x),void 0!==s.y&&(i=s.relative?i+s.y:s.y),s.type&Ld.MOVE_TO&&(e=r,n=i),a}}function s(t,r,i,e,s,a){return wd(t,r,i,e,s,a),n((function(n,o,h,u){var c=n.x1,f=n.x2,l=n.relative&&!isNaN(u),v=void 0!==n.x?n.x:l?0:o,d=void 0!==n.y?n.y:l?0:h;function p(t){return t*t}n.type&Ld.HORIZ_LINE_TO&&0!==r&&(n.type=Ld.LINE_TO,n.y=n.relative?0:h),n.type&Ld.VERT_LINE_TO&&0!==i&&(n.type=Ld.LINE_TO,n.x=n.relative?0:o),void 0!==n.x&&(n.x=n.x*t+d*i+(l?0:s)),void 0!==n.y&&(n.y=v*r+n.y*e+(l?0:a)),void 0!==n.x1&&(n.x1=n.x1*t+n.y1*i+(l?0:s)),void 0!==n.y1&&(n.y1=c*r+n.y1*e+(l?0:a)),void 0!==n.x2&&(n.x2=n.x2*t+n.y2*i+(l?0:s)),void 0!==n.y2&&(n.y2=f*r+n.y2*e+(l?0:a));var y=t*e-r*i;if(void 0!==n.xRot&&(1!==t||0!==r||0!==i||1!==e))if(0===y)delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag,n.type=Ld.LINE_TO;else{var g=n.xRot*Math.PI/180,m=Math.sin(g),b=Math.cos(g),w=1/p(n.rX),x=1/p(n.rY),M=p(b)*w+p(m)*x,k=2*m*b*(w-x),S=p(m)*w+p(b)*x,N=M*e*e-k*r*e+S*r*r,j=k*(t*e+r*i)-2*(M*i*e+S*t*r),P=M*i*i-k*t*i+S*t*t,O=(Math.atan2(j,N-P)+Math.PI)%Math.PI/2,E=Math.sin(O),T=Math.cos(O);n.rX=Math.abs(y)/Math.sqrt(N*p(T)+j*E*T+P*p(E)),n.rY=Math.abs(y)/Math.sqrt(N*p(E)-j*E*T+P*p(T)),n.xRot=180*O/Math.PI}return void 0!==n.sweepFlag&&0>y&&(n.sweepFlag=+!n.sweepFlag),n}))}t.ROUND=function(t){function r(r){return Math.round(r*t)/t}return void 0===t&&(t=1e13),wd(t),function(t){return void 0!==t.x1&&(t.x1=r(t.x1)),void 0!==t.y1&&(t.y1=r(t.y1)),void 0!==t.x2&&(t.x2=r(t.x2)),void 0!==t.y2&&(t.y2=r(t.y2)),void 0!==t.x&&(t.x=r(t.x)),void 0!==t.y&&(t.y=r(t.y)),void 0!==t.rX&&(t.rX=r(t.rX)),void 0!==t.rY&&(t.rY=r(t.rY)),t}},t.TO_ABS=r,t.TO_REL=function(){return n((function(t,r,i){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=i),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=i),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=i),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,r,i){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===i&&(i=!0),n((function(e,n,s,a,o){if(isNaN(a)&&!(e.type&Ld.MOVE_TO))throw new Error("path must start with moveto");return r&&e.type&Ld.HORIZ_LINE_TO&&(e.type=Ld.LINE_TO,e.y=e.relative?0:s),i&&e.type&Ld.VERT_LINE_TO&&(e.type=Ld.LINE_TO,e.x=e.relative?0:n),t&&e.type&Ld.CLOSE_PATH&&(e.type=Ld.LINE_TO,e.x=e.relative?a-n:a,e.y=e.relative?o-s:o),e.type&Ld.ARC&&(0===e.rX||0===e.rY)&&(e.type=Ld.LINE_TO,delete e.rX,delete e.rY,delete e.xRot,delete e.lArcFlag,delete e.sweepFlag),e}))},t.NORMALIZE_ST=i,t.QT_TO_C=e,t.INFO=n,t.SANITIZE=function(t){void 0===t&&(t=0),wd(t);var r=NaN,i=NaN,e=NaN,s=NaN;return n((function(n,a,o,h,u){var c=Math.abs,f=!1,l=0,v=0;if(n.type&Ld.SMOOTH_CURVE_TO&&(l=isNaN(r)?0:a-r,v=isNaN(i)?0:o-i),n.type&(Ld.CURVE_TO|Ld.SMOOTH_CURVE_TO)?(r=n.relative?a+n.x2:n.x2,i=n.relative?o+n.y2:n.y2):(r=NaN,i=NaN),n.type&Ld.SMOOTH_QUAD_TO?(e=isNaN(e)?a:2*a-e,s=isNaN(s)?o:2*o-s):n.type&Ld.QUAD_TO?(e=n.relative?a+n.x1:n.x1,s=n.relative?o+n.y1:n.y2):(e=NaN,s=NaN),n.type&Ld.LINE_COMMANDS||n.type&Ld.ARC&&(0===n.rX||0===n.rY||!n.lArcFlag)||n.type&Ld.CURVE_TO||n.type&Ld.SMOOTH_CURVE_TO||n.type&Ld.QUAD_TO||n.type&Ld.SMOOTH_QUAD_TO){var d=void 0===n.x?0:n.relative?n.x:n.x-a,p=void 0===n.y?0:n.relative?n.y:n.y-o;l=isNaN(e)?void 0===n.x1?l:n.relative?n.x:n.x1-a:e-a,v=isNaN(s)?void 0===n.y1?v:n.relative?n.y:n.y1-o:s-o;var y=void 0===n.x2?0:n.relative?n.x:n.x2-a,g=void 0===n.y2?0:n.relative?n.y:n.y2-o;c(d)<=t&&c(p)<=t&&c(l)<=t&&c(v)<=t&&c(y)<=t&&c(g)<=t&&(f=!0)}return n.type&Ld.CLOSE_PATH&&c(a-h)<=t&&c(o-u)<=t&&(f=!0),f?[]:n}))},t.MATRIX=s,t.ROTATE=function(t,r,i){void 0===r&&(r=0),void 0===i&&(i=0),wd(t,r,i);var e=Math.sin(t),n=Math.cos(t);return s(n,e,-e,n,r-r*n+i*e,i-r*e-i*n)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),wd(t,r),s(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),wd(t,r),s(t,0,0,r,0,0)},t.SKEW_X=function(t){return wd(t),s(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return wd(t),s(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),wd(t),s(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),wd(t),s(1,0,0,-1,0,t)},t.A_TO_C=function(){return n((function(t,r,i){return Ld.ARC===t.type?function(t,r,i){var e,n,s,a;t.cX||Md(t,r,i);for(var o=Math.min(t.phi1,t.phi2),h=Math.max(t.phi1,t.phi2)-o,u=Math.ceil(h/90),c=new Array(u),f=r,l=i,v=0;v<u;v++){var d=jd(t.phi1,t.phi2,v/u),p=jd(t.phi1,t.phi2,(v+1)/u),y=4/3*Math.tan((p-d)*Nd/4),g=[Math.cos(d*Nd)-y*Math.sin(d*Nd),Math.sin(d*Nd)+y*Math.cos(d*Nd)],m=g[0],b=g[1],w=[Math.cos(p*Nd),Math.sin(p*Nd)],x=w[0],M=w[1],k=[x+y*Math.sin(p*Nd),M-y*Math.cos(p*Nd)],S=k[0],N=k[1];c[v]={relative:t.relative,type:Ld.CURVE_TO};var j=function(r,i){var e=bd([r*t.rX,i*t.rY],t.xRot);return[t.cX+e[0],t.cY+e[1]]};e=j(m,b),c[v].x1=e[0],c[v].y1=e[1],n=j(S,N),c[v].x2=n[0],c[v].y2=n[1],s=j(x,M),c[v].x=s[0],c[v].y=s[1],t.relative&&(c[v].x1-=f,c[v].y1-=l,c[v].x2-=f,c[v].y2-=l,c[v].x-=f,c[v].y-=l),f=(a=[c[v].x,c[v].y])[0],l=a[1]}return c}(t,t.relative?0:r,t.relative?0:i):t}))},t.ANNOTATE_ARCS=function(){return n((function(t,r,i){return t.relative&&(r=0,i=0),Ld.ARC===t.type&&Md(t,r,i),t}))},t.CLONE=function(){return function(t){var r={};for(var i in t)r[i]=t[i];return r}},t.CALCULATE_BOUNDS=function(){var t=r(),s=e(),a=i(),o=n((function(r,i,e){var n=a(s(t(function(t){var r={};for(var i in t)r[i]=t[i];return r}(r))));function h(t){t>o.maxX&&(o.maxX=t),t<o.minX&&(o.minX=t)}function u(t){t>o.maxY&&(o.maxY=t),t<o.minY&&(o.minY=t)}if(n.type&Ld.DRAWING_COMMANDS&&(h(i),u(e)),n.type&Ld.HORIZ_LINE_TO&&h(n.x),n.type&Ld.VERT_LINE_TO&&u(n.y),n.type&Ld.LINE_TO&&(h(n.x),u(n.y)),n.type&Ld.CURVE_TO){h(n.x),u(n.y);for(var c=0,f=Od(i,n.x1,n.x2,n.x);c<f.length;c++)0<(P=f[c])&&1>P&&h(Ed(i,n.x1,n.x2,n.x,P));for(var l=0,v=Od(e,n.y1,n.y2,n.y);l<v.length;l++)0<(P=v[l])&&1>P&&u(Ed(e,n.y1,n.y2,n.y,P))}if(n.type&Ld.ARC){h(n.x),u(n.y),Md(n,i,e);for(var d=n.xRot/180*Math.PI,p=Math.cos(d)*n.rX,y=Math.sin(d)*n.rX,g=-Math.sin(d)*n.rY,m=Math.cos(d)*n.rY,b=n.phi1<n.phi2?[n.phi1,n.phi2]:-180>n.phi2?[n.phi2+360,n.phi1+360]:[n.phi2,n.phi1],w=b[0],x=b[1],M=function(t){var r=180*Math.atan2(t[1],t[0])/Math.PI;return r<w?r+360:r},k=0,S=kd(g,-p,0).map(M);k<S.length;k++)(P=S[k])>w&&P<x&&h(Pd(n.cX,p,g,P));for(var N=0,j=kd(m,-y,0).map(M);N<j.length;N++){var P;(P=j[N])>w&&P<x&&u(Pd(n.cY,y,m,P))}}return r}));return o.minX=1/0,o.maxX=-1/0,o.minY=1/0,o.maxY=-1/0,o}}(Sd||(Sd={}));var Td,Cd=function(){function t(){}return t.prototype.round=function(t){return this.transform(Sd.ROUND(t))},t.prototype.toAbs=function(){return this.transform(Sd.TO_ABS())},t.prototype.toRel=function(){return this.transform(Sd.TO_REL())},t.prototype.normalizeHVZ=function(t,r,i){return this.transform(Sd.NORMALIZE_HVZ(t,r,i))},t.prototype.normalizeST=function(){return this.transform(Sd.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(Sd.QT_TO_C())},t.prototype.aToC=function(){return this.transform(Sd.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(Sd.SANITIZE(t))},t.prototype.translate=function(t,r){return this.transform(Sd.TRANSLATE(t,r))},t.prototype.scale=function(t,r){return this.transform(Sd.SCALE(t,r))},t.prototype.rotate=function(t,r,i){return this.transform(Sd.ROTATE(t,r,i))},t.prototype.matrix=function(t,r,i,e,n,s){return this.transform(Sd.MATRIX(t,r,i,e,n,s))},t.prototype.skewX=function(t){return this.transform(Sd.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(Sd.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(Sd.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(Sd.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(Sd.ANNOTATE_ARCS())},t}(),Ad=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},Rd=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},Bd=function(t){function r(){var r=t.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return md(r,t),r.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},r.prototype.parse=function(t,r){var i=this;void 0===r&&(r=[]);for(var e=function(t){r.push(t),i.curArgs.length=0,i.canParseCommandOrComma=!0},n=0;n<t.length;n++){var s=t[n],a=!(this.curCommandType!==Ld.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),o=Rd(s)&&("0"===this.curNumber&&"0"===s||a);if(!Rd(s)||o)if("e"!==s&&"E"!==s)if("-"!==s&&"+"!==s||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==s||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+n);if(this.curCommandType===Ld.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+n+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+n+'"');this.curArgs.push(h),this.curArgs.length===$d[this.curCommandType]&&(Ld.HORIZ_LINE_TO===this.curCommandType?e({type:Ld.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):Ld.VERT_LINE_TO===this.curCommandType?e({type:Ld.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===Ld.MOVE_TO||this.curCommandType===Ld.LINE_TO||this.curCommandType===Ld.SMOOTH_QUAD_TO?(e({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),Ld.MOVE_TO===this.curCommandType&&(this.curCommandType=Ld.LINE_TO)):this.curCommandType===Ld.CURVE_TO?e({type:Ld.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===Ld.SMOOTH_CURVE_TO?e({type:Ld.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Ld.QUAD_TO?e({type:Ld.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Ld.ARC&&e({type:Ld.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!Ad(s))if(","===s&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==s&&"-"!==s&&"."!==s)if(o)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+n+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==s&&"Z"!==s)if("h"===s||"H"===s)this.curCommandType=Ld.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=Ld.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=Ld.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=Ld.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=Ld.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=Ld.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=Ld.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=Ld.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+".");this.curCommandType=Ld.ARC,this.curCommandRelative="a"===s}else r.push({type:Ld.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal="."===s}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},r.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,i){void 0===i&&(i=[]);for(var e=0,n=Object.getPrototypeOf(this).parse.call(this,r);e<n.length;e++){var s=t(n[e]);Array.isArray(s)?i.push.apply(i,s):i.push(s)}return i}}})},r}(Cd),Ld=function(t){function r(i){var e=t.call(this)||this;return e.commands="string"==typeof i?r.parse(i):i,e}return md(r,t),r.prototype.encode=function(){return r.encode(this.commands)},r.prototype.getBounds=function(){var t=Sd.CALCULATE_BOUNDS();return this.transform(t),t},r.prototype.transform=function(t){for(var r=[],i=0,e=this.commands;i<e.length;i++){var n=t(e[i]);Array.isArray(n)?r.push.apply(r,n):r.push(n)}return this.commands=r,this},r.encode=function(t){return function(t){var r="";Array.isArray(t)||(t=[t]);for(var i=0;i<t.length;i++){var e=t[i];if(e.type===Ld.CLOSE_PATH)r+="z";else if(e.type===Ld.HORIZ_LINE_TO)r+=(e.relative?"h":"H")+e.x;else if(e.type===Ld.VERT_LINE_TO)r+=(e.relative?"v":"V")+e.y;else if(e.type===Ld.MOVE_TO)r+=(e.relative?"m":"M")+e.x+" "+e.y;else if(e.type===Ld.LINE_TO)r+=(e.relative?"l":"L")+e.x+" "+e.y;else if(e.type===Ld.CURVE_TO)r+=(e.relative?"c":"C")+e.x1+" "+e.y1+" "+e.x2+" "+e.y2+" "+e.x+" "+e.y;else if(e.type===Ld.SMOOTH_CURVE_TO)r+=(e.relative?"s":"S")+e.x2+" "+e.y2+" "+e.x+" "+e.y;else if(e.type===Ld.QUAD_TO)r+=(e.relative?"q":"Q")+e.x1+" "+e.y1+" "+e.x+" "+e.y;else if(e.type===Ld.SMOOTH_QUAD_TO)r+=(e.relative?"t":"T")+e.x+" "+e.y;else{if(e.type!==Ld.ARC)throw new Error('Unexpected command type "'+e.type+'" at index '+i+".");r+=(e.relative?"a":"A")+e.rX+" "+e.rY+" "+e.xRot+" "+ +e.lArcFlag+" "+ +e.sweepFlag+" "+e.x+" "+e.y}}return r}(t)},r.parse=function(t){var r=new Bd,i=[];return r.parse(t,i),r.finish(i),i},r.CLOSE_PATH=1,r.MOVE_TO=2,r.HORIZ_LINE_TO=4,r.VERT_LINE_TO=8,r.LINE_TO=16,r.CURVE_TO=32,r.SMOOTH_CURVE_TO=64,r.QUAD_TO=128,r.SMOOTH_QUAD_TO=256,r.ARC=512,r.LINE_COMMANDS=r.LINE_TO|r.HORIZ_LINE_TO|r.VERT_LINE_TO,r.DRAWING_COMMANDS=r.HORIZ_LINE_TO|r.VERT_LINE_TO|r.LINE_TO|r.CURVE_TO|r.SMOOTH_CURVE_TO|r.QUAD_TO|r.SMOOTH_QUAD_TO|r.ARC,r}(Cd),$d=((Td={})[Ld.MOVE_TO]=2,Td[Ld.LINE_TO]=2,Td[Ld.HORIZ_LINE_TO]=1,Td[Ld.VERT_LINE_TO]=1,Td[Ld.CLOSE_PATH]=0,Td[Ld.QUAD_TO]=4,Td[Ld.SMOOTH_QUAD_TO]=2,Td[Ld.CURVE_TO]=6,Td[Ld.SMOOTH_CURVE_TO]=4,Td[Ld.ARC]=7,Td),Id=c,Dd=$t,Fd=W,zd=bh,_d=RegExp.prototype,Yd=Yr.PROPER,Xd=Ri,qd=Sr,Gd=gh,Ud="toString",Vd=RegExp.prototype[Ud];function Hd(t){return Hd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hd(t)}(a((function(){return"/a/b"!=Vd.call({source:"a",flags:"b"})}))||Yd&&Vd.name!=Ud)&&Xd(RegExp.prototype,Ud,(function(){var t=qd(this);return"/"+Gd(t.source)+"/"+Gd(function(t){var r=t.flags;return void 0!==r||"flags"in _d||Dd(t,"flags")||!Fd(_d,t)?r:Id(zd,t)}(t))}),{unsafe:!0});
22
- /**
23
- * StackBlur - a fast almost Gaussian Blur For Canvas
24
- *
25
- * In case you find this class useful - especially in commercial projects -
26
- * I am not totally unhappy for a small donation to my PayPal account
27
- * mario@quasimondo.de
28
- *
29
- * Or support me on flattr:
30
- * {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
31
- *
32
- * @module StackBlur
33
- * @author Mario Klingemann
34
- * Contact: mario@quasimondo.com
35
- * Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
36
- * Twitter: @quasimondo
37
- *
38
- * @copyright (c) 2010 Mario Klingemann
39
- *
40
- * Permission is hereby granted, free of charge, to any person
41
- * obtaining a copy of this software and associated documentation
42
- * files (the "Software"), to deal in the Software without
43
- * restriction, including without limitation the rights to use,
44
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
45
- * copies of the Software, and to permit persons to whom the
46
- * Software is furnished to do so, subject to the following
47
- * conditions:
48
- *
49
- * The above copyright notice and this permission notice shall be
50
- * included in all copies or substantial portions of the Software.
51
- *
52
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
53
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
54
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
55
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
56
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
57
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
58
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
59
- * OTHER DEALINGS IN THE SOFTWARE.
60
- */
61
- var Wd=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Qd=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function Zd(t,r,i,e,n,s){if(!(isNaN(s)||s<1)){s|=0;var a=function(t,r,i,e,n){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==Hd(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var s=t.getContext("2d");try{return s.getImageData(r,i,e,n)}catch(t){throw new Error("unable to access image data: "+t)}}(t,r,i,e,n);a=function(t,r,i,e,n,s){for(var a,o=t.data,h=2*s+1,u=e-1,c=n-1,f=s+1,l=f*(f+1)/2,v=new Kd,d=v,p=1;p<h;p++)d=d.next=new Kd,p===f&&(a=d);d.next=v;for(var y=null,g=null,m=0,b=0,w=Wd[s],x=Qd[s],M=0;M<n;M++){d=v;for(var k=o[b],S=o[b+1],N=o[b+2],j=o[b+3],P=0;P<f;P++)d.r=k,d.g=S,d.b=N,d.a=j,d=d.next;for(var O=0,E=0,T=0,C=0,A=f*k,R=f*S,B=f*N,L=f*j,$=l*k,I=l*S,D=l*N,F=l*j,z=1;z<f;z++){var _=b+((u<z?u:z)<<2),Y=o[_],X=o[_+1],q=o[_+2],G=o[_+3],U=f-z;$+=(d.r=Y)*U,I+=(d.g=X)*U,D+=(d.b=q)*U,F+=(d.a=G)*U,O+=Y,E+=X,T+=q,C+=G,d=d.next}y=v,g=a;for(var V=0;V<e;V++){var H=F*w>>x;if(o[b+3]=H,0!==H){var W=255/H;o[b]=($*w>>x)*W,o[b+1]=(I*w>>x)*W,o[b+2]=(D*w>>x)*W}else o[b]=o[b+1]=o[b+2]=0;$-=A,I-=R,D-=B,F-=L,A-=y.r,R-=y.g,B-=y.b,L-=y.a;var Q=V+s+1;$+=O+=y.r=o[Q=m+(Q<u?Q:u)<<2],I+=E+=y.g=o[Q+1],D+=T+=y.b=o[Q+2],F+=C+=y.a=o[Q+3],y=y.next;var Z=g.r,K=g.g,J=g.b,tt=g.a;A+=Z,R+=K,B+=J,L+=tt,O-=Z,E-=K,T-=J,C-=tt,g=g.next,b+=4}m+=e}for(var rt=0;rt<e;rt++){var it=o[b=rt<<2],et=o[b+1],nt=o[b+2],st=o[b+3],at=f*it,ot=f*et,ht=f*nt,ut=f*st,ct=l*it,ft=l*et,lt=l*nt,vt=l*st;d=v;for(var dt=0;dt<f;dt++)d.r=it,d.g=et,d.b=nt,d.a=st,d=d.next;for(var pt=e,yt=0,gt=0,mt=0,bt=0,wt=1;wt<=s;wt++){var xt=f-wt;ct+=(d.r=it=o[b=pt+rt<<2])*xt,ft+=(d.g=et=o[b+1])*xt,lt+=(d.b=nt=o[b+2])*xt,vt+=(d.a=st=o[b+3])*xt,bt+=it,yt+=et,gt+=nt,mt+=st,d=d.next,wt<c&&(pt+=e)}b=rt,y=v,g=a;for(var Mt=0;Mt<n;Mt++){var kt=b<<2;o[kt+3]=st=vt*w>>x,st>0?(o[kt]=(ct*w>>x)*(st=255/st),o[kt+1]=(ft*w>>x)*st,o[kt+2]=(lt*w>>x)*st):o[kt]=o[kt+1]=o[kt+2]=0,ct-=at,ft-=ot,lt-=ht,vt-=ut,at-=y.r,ot-=y.g,ht-=y.b,ut-=y.a,kt=rt+((kt=Mt+f)<c?kt:c)*e<<2,ct+=bt+=y.r=o[kt],ft+=yt+=y.g=o[kt+1],lt+=gt+=y.b=o[kt+2],vt+=mt+=y.a=o[kt+3],y=y.next,at+=it=g.r,ot+=et=g.g,ht+=nt=g.b,ut+=st=g.a,bt-=it,yt-=et,gt-=nt,mt-=st,g=g.next,b+=e}}return t}(a,0,0,e,n,s),t.getContext("2d").putImageData(a,r,i)}}var Kd=function t(){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null},Jd=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,r)=>new OffscreenCanvas(t,r),createImage:t=>dh((function*(){var r=yield fetch(t),i=yield r.blob();return yield createImageBitmap(i)}))()};return"undefined"==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(r,"DOMParser"),r},node:function(t){var{DOMParser:r,canvas:i,fetch:e}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,fetch:e,createCanvas:i.createCanvas,createImage:i.loadImage}}});function tp(t){return t.replace(/(?!\u3000)\s+/gm," ")}function rp(t){return t.replace(/^[\n \t]+/,"")}function ip(t){return t.replace(/[\n \t]+$/,"")}function ep(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var np=/^[A-Z-]+$/;function sp(t){return np.test(t)?t.toLowerCase():t}function ap(t){var r=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return r[2]||r[3]||r[4]}function op(t){if(!t.startsWith("rgb"))return t;var r=3;return t.replace(/\d+(\.\d+)?/g,((t,i)=>r--&&i?String(Math.round(parseFloat(t))):t))}var hp=/(\[[^\]]+\])/g,up=/(#[^\s+>~.[:]+)/g,cp=/(\.[^\s+>~.[:]+)/g,fp=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,lp=/(:[\w-]+\([^)]*\))/gi,vp=/(:[^\s+>~.[:]+)/g,dp=/([^\s+>~.[:]+)/g;function pp(t,r){var i=r.exec(t);return i?[t.replace(r," "),i.length]:[t,0]}function yp(t){var r=[0,0,0],i=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),e=0;return[i,e]=pp(i,hp),r[1]+=e,[i,e]=pp(i,up),r[0]+=e,[i,e]=pp(i,cp),r[1]+=e,[i,e]=pp(i,fp),r[2]+=e,[i,e]=pp(i,lp),r[1]+=e,[i,e]=pp(i,vp),r[1]+=e,i=i.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[i,e]=pp(i,dp),r[2]+=e,r.join("")}var gp=1e-8;function mp(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function bp(t,r){return(t[0]*r[0]+t[1]*r[1])/(mp(t)*mp(r))}function wp(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(bp(t,r))}function xp(t){return t*t*t}function Mp(t){return 3*t*t*(1-t)}function kp(t){return 3*t*(1-t)*(1-t)}function Sp(t){return(1-t)*(1-t)*(1-t)}function Np(t){return t*t}function jp(t){return 2*t*(1-t)}function Pp(t){return(1-t)*(1-t)}class Op{constructor(t,r,i){this.document=t,this.name=r,this.value=i,this.isNormalizedColor=!1}static empty(t){return new Op(t,"EMPTY","")}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:r,name:i}=this;return tp(this.getString()).trim().split(t).map((t=>new Op(r,i,t)))}hasValue(t){var{value:r}=this;return null!==r&&""!==r&&(t||0!==r)&&void 0!==r}isString(t){var{value:r}=this,i="string"==typeof r;return i&&t?t.test(r):i}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return void 0===t||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var{value:r}=this,i=parseFloat(r);return this.isString(/%$/)&&(i/=100),i}getString(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}getColor(t){var r=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=op(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[i,e]="boolean"==typeof t?[void 0,t]:[t],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&e:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(i);default:var s=this.getNumber();return r&&s<1?s*n.computeSize(i):s}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),r=/#([^)'"]+)/.exec(t);return r&&(r=r[1]),r||(r=t),this.document.definitions[r]}getFillStyleDefinition(t,r){var i=this.getDefinition();if(!i)return null;if("function"==typeof i.createGradient)return i.createGradient(this.document.ctx,t,r);if("function"==typeof i.createPattern){if(i.getHrefAttribute().hasValue()){var e=i.getAttribute("patternTransform");i=i.getHrefAttribute().getDefinition(),e.hasValue()&&i.getAttribute("patternTransform",!0).setValue(e.value)}return i.createPattern(this.document.ctx,t,r)}return null}getTextBaseline(){return this.hasValue()?Op.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var r=this.getColor(),i=r.length,e=0,n=0;n<i&&(","===r[n]&&e++,3!==e);n++);if(t.hasValue()&&this.isString()&&3!==e){var s=new td(r);s.ok&&(s.alpha=t.getNumber(),r=s.toRGBA())}return new Op(this.document,this.name,r)}}Op.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class Ep{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,r){this.viewPorts.push({width:t,height:r})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Tp{constructor(t,r){this.x=t,this.y=r}static parse(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[i=r,e=r]=ep(t);return new Tp(i,e)}static parseScale(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[i=r,e=i]=ep(t);return new Tp(i,e)}static parsePath(t){for(var r=ep(t),i=r.length,e=[],n=0;n<i;n+=2)e.push(new Tp(r[n],r[n+1]));return e}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:r,y:i}=this,e=r*t[1]+i*t[3]+t[5];this.x=r*t[0]+i*t[2]+t[4],this.y=e}}class Cp{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:t,onClick:r,onMouseMove:i}=this,e=t.ctx.canvas;e.onclick=r,e.onmousemove=i,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:r,eventElements:i}=this,{style:e}=t.ctx.canvas;e&&(e.cursor=""),r.forEach(((t,r)=>{for(var{run:e}=t,n=i[r];n;)e(n),n=n.parent})),this.events=[],this.eventElements=[]}}checkPath(t,r){if(this.working&&r){var{events:i,eventElements:e}=this;i.forEach(((i,n)=>{var{x:s,y:a}=i;!e[n]&&r.isPointInPath&&r.isPointInPath(s,a)&&(e[n]=t)}))}}checkBoundingBox(t,r){if(this.working&&r){var{events:i,eventElements:e}=this;i.forEach(((i,n)=>{var{x:s,y:a}=i;!e[n]&&r.isPointInBox(s,a)&&(e[n]=t)}))}}mapXY(t,r){for(var{window:i,ctx:e}=this.screen,n=new Tp(t,r),s=e.canvas;s;)n.x-=s.offsetLeft,n.y-=s.offsetTop,s=s.offsetParent;return i.scrollX&&(n.x+=i.scrollX),i.scrollY&&(n.y+=i.scrollY),n}onClick(t){var{x:r,y:i}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:r,y:i,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:r,y:i}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:r,y:i,run(t){t.onMouseMove&&t.onMouseMove()}})}}var Ap="undefined"!=typeof window?window:null,Rp="undefined"!=typeof fetch?fetch.bind(void 0):null;class Bp{constructor(t){var{fetch:r=Rp,window:i=Ap}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Ep,this.mouse=new Cp(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=i,this.fetch=r}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every((t=>t()));return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:r,ctx:i,aspectRatio:e,width:n,desiredWidth:s,height:a,desiredHeight:o,minX:h=0,minY:u=0,refX:c,refY:f,clip:l=!1,clipX:v=0,clipY:d=0}=t,p=tp(e).replace(/^defer\s/,""),[y,g]=p.split(" "),m=y||"xMidYMid",b=g||"meet",w=n/s,x=a/o,M=Math.min(w,x),k=Math.max(w,x),S=s,N=o;"meet"===b&&(S*=M,N*=M),"slice"===b&&(S*=k,N*=k);var j=new Op(r,"refX",c),P=new Op(r,"refY",f),O=j.hasValue()&&P.hasValue();if(O&&i.translate(-M*j.getPixels("x"),-M*P.getPixels("y")),l){var E=M*v,T=M*d;i.beginPath(),i.moveTo(E,T),i.lineTo(n,T),i.lineTo(n,a),i.lineTo(E,a),i.closePath(),i.clip()}if(!O){var C="meet"===b&&M===x,A="slice"===b&&k===x,R="meet"===b&&M===w,B="slice"===b&&k===w;m.startsWith("xMid")&&(C||A)&&i.translate(n/2-S/2,0),m.endsWith("YMid")&&(R||B)&&i.translate(0,a/2-N/2),m.startsWith("xMax")&&(C||A)&&i.translate(n-S,0),m.endsWith("YMax")&&(R||B)&&i.translate(0,a-N)}switch(!0){case"none"===m:i.scale(w,x);break;case"meet"===b:i.scale(M,M);break;case"slice"===b:i.scale(k,k)}i.translate(-h,-u)}start(t){var{enableRedraw:r=!1,ignoreMouse:i=!1,ignoreAnimation:e=!1,ignoreDimensions:n=!1,ignoreClear:s=!1,forceRedraw:a,scaleWidth:o,scaleHeight:h,offsetX:u,offsetY:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:f,mouse:l}=this,v=1e3/f;if(this.frameDuration=v,this.readyPromise=new Promise((t=>{this.resolveReady=t})),this.isReady()&&this.render(t,n,s,o,h,u,c),r){var d=Date.now(),p=d,y=0,g=()=>{d=Date.now(),(y=d-p)>=v&&(p=d-y%v,this.shouldUpdate(e,a)&&(this.render(t,n,s,o,h,u,c),l.runEvents())),this.intervalId=Fv(g)};i||l.start(),this.intervalId=Fv(g)}}stop(){this.intervalId&&(Fv.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,r){if(!t){var{frameDuration:i}=this;if(this.animations.reduce(((t,r)=>r.update(i)||t),!1))return!0}return!("function"!=typeof r||!r())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}render(t,r,i,e,n,s,a){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:h,viewPort:u,ctx:c,isFirstRender:f}=this,l=c.canvas;u.clear(),l.width&&l.height?u.setCurrent(l.width,l.height):u.setCurrent(o,h);var v=t.getStyle("width"),d=t.getStyle("height");!r&&(f||"number"!=typeof e&&"number"!=typeof n)&&(v.hasValue()&&(l.width=v.getPixels("x"),l.style&&(l.style.width="".concat(l.width,"px"))),d.hasValue()&&(l.height=d.getPixels("y"),l.style&&(l.style.height="".concat(l.height,"px"))));var p=l.clientWidth||l.width,y=l.clientHeight||l.height;if(r&&v.hasValue()&&d.hasValue()&&(p=v.getPixels("x"),y=d.getPixels("y")),u.setCurrent(p,y),"number"==typeof s&&t.getAttribute("x",!0).setValue(s),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof e||"number"==typeof n){var g=ep(t.getAttribute("viewBox").getString()),m=0,b=0;if("number"==typeof e){var w=t.getStyle("width");w.hasValue()?m=w.getPixels("x")/e:isNaN(g[2])||(m=g[2]/e)}if("number"==typeof n){var x=t.getStyle("height");x.hasValue()?b=x.getPixels("y")/n:isNaN(g[3])||(b=g[3]/n)}m||(m=b),b||(b=m),t.getAttribute("width",!0).setValue(e),t.getAttribute("height",!0).setValue(n);var M=t.getStyle("transform",!0,!0);M.setValue("".concat(M.getString()," scale(").concat(1/m,", ").concat(1/b,")"))}i||c.clearRect(0,0,p,y),t.render(c),f&&(this.isFirstRender=!1)}}Bp.defaultWindow=Ap,Bp.defaultFetch=Rp;var{defaultFetch:Lp}=Bp,$p="undefined"!=typeof DOMParser?DOMParser:null;class Ip{constructor(){var{fetch:t=Lp,DOMParser:r=$p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=r}parse(t){var r=this;return dh((function*(){return t.startsWith("<")?r.parseFromString(t):r.load(t)}))()}parseFromString(t){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(t,"image/svg+xml"))}catch(i){return this.checkDocument(r.parseFromString(t,"text/xml"))}}checkDocument(t){var r=t.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return t}load(t){var r=this;return dh((function*(){var i=yield r.fetch(t),e=yield i.text();return r.parseFromString(e)}))()}}class Dp{constructor(t,r){this.type="translate",this.point=null,this.point=Tp.parse(r)}apply(t){var{x:r,y:i}=this.point;t.translate(r||0,i||0)}unapply(t){var{x:r,y:i}=this.point;t.translate(-1*r||0,-1*i||0)}applyToPoint(t){var{x:r,y:i}=this.point;t.applyTransform([1,0,0,1,r||0,i||0])}}class Fp{constructor(t,r,i){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var e=ep(r);this.angle=new Op(t,"angle",e[0]),this.originX=i[0],this.originY=i[1],this.cx=e[1]||0,this.cy=e[2]||0}apply(t){var{cx:r,cy:i,originX:e,originY:n,angle:s}=this,a=r+e.getPixels("x"),o=i+n.getPixels("y");t.translate(a,o),t.rotate(s.getRadians()),t.translate(-a,-o)}unapply(t){var{cx:r,cy:i,originX:e,originY:n,angle:s}=this,a=r+e.getPixels("x"),o=i+n.getPixels("y");t.translate(a,o),t.rotate(-1*s.getRadians()),t.translate(-a,-o)}applyToPoint(t){var{cx:r,cy:i,angle:e}=this,n=e.getRadians();t.applyTransform([1,0,0,1,r||0,i||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-r||0,-i||0])}}class zp{constructor(t,r,i){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var e=Tp.parseScale(r);0!==e.x&&0!==e.y||(e.x=gp,e.y=gp),this.scale=e,this.originX=i[0],this.originY=i[1]}apply(t){var{scale:{x:r,y:i},originX:e,originY:n}=this,s=e.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(r,i||r),t.translate(-s,-a)}unapply(t){var{scale:{x:r,y:i},originX:e,originY:n}=this,s=e.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(1/r,1/i||r),t.translate(-s,-a)}applyToPoint(t){var{x:r,y:i}=this.scale;t.applyTransform([r||0,0,0,i||0,0,0])}}class _p{constructor(t,r,i){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=ep(r),this.originX=i[0],this.originY=i[1]}apply(t){var{originX:r,originY:i,matrix:e}=this,n=r.getPixels("x"),s=i.getPixels("y");t.translate(n,s),t.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t.translate(-n,-s)}unapply(t){var{originX:r,originY:i,matrix:e}=this,n=e[0],s=e[2],a=e[4],o=e[1],h=e[3],u=e[5],c=1/(n*(1*h-0*u)-s*(1*o-0*u)+a*(0*o-0*h)),f=r.getPixels("x"),l=i.getPixels("y");t.translate(f,l),t.transform(c*(1*h-0*u),c*(0*u-1*o),c*(0*a-1*s),c*(1*n-0*a),c*(s*u-a*h),c*(a*o-n*u)),t.translate(-f,-l)}applyToPoint(t){t.applyTransform(this.matrix)}}class Yp extends _p{constructor(t,r,i){super(t,r,i),this.type="skew",this.angle=null,this.angle=new Op(t,"angle",r)}}class Xp extends Yp{constructor(t,r,i){super(t,r,i),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class qp extends Yp{constructor(t,r,i){super(t,r,i),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class Gp{constructor(t,r,i){this.document=t,this.transforms=[];var e=function(t){return tp(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);e.forEach((t=>{if("none"!==t){var[r,e]=function(t){var[r,i]=t.split("(");return[r.trim(),i.trim().replace(")","")]}(t),n=Gp.transformTypes[r];void 0!==n&&this.transforms.push(new n(this.document,e,i))}}))}static fromElement(t,r){var i=r.getStyle("transform",!1,!0),[e,n=e]=r.getStyle("transform-origin",!1,!0).split(),s=[e,n];return i.hasValue()?new Gp(t,i.getString(),s):null}apply(t){for(var{transforms:r}=this,i=r.length,e=0;e<i;e++)r[e].apply(t)}unapply(t){for(var{transforms:r}=this,i=r.length-1;i>=0;i--)r[i].unapply(t)}applyToPoint(t){for(var{transforms:r}=this,i=r.length,e=0;e<i;e++)r[e].applyToPoint(t)}}Gp.transformTypes={translate:Dp,rotate:Fp,scale:zp,matrix:_p,skewX:Xp,skewY:qp};class Up{constructor(t,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=r,this.captureTextNodes=i,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(Array.from(r.attributes).forEach((r=>{var i=sp(r.nodeName);this.attributes[i]=new Op(t,i,r.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var e=this.getAttribute("style").getString().split(";").map((t=>t.trim()));e.forEach((r=>{if(r){var[i,e]=r.split(":").map((t=>t.trim()));this.styles[i]=new Op(t,i,e)}}))}var{definitions:n}=t,s=this.getAttribute("id");s.hasValue()&&(n[s.getString()]||(n[s.getString()]=this)),Array.from(r.childNodes).forEach((r=>{if(1===r.nodeType)this.addChild(r);else if(i&&(3===r.nodeType||4===r.nodeType)){var e=t.createTextNode(r);e.getText().length>0&&this.addChild(e)}}))}}getAttribute(t){var r=this.attributes[t];if(!r&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var i=new Op(this.document,t,"");return this.attributes[t]=i,i}return r||Op.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if("href"===t||t.endsWith(":href"))return this.attributes[t];return Op.empty(this.document)}getStyle(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=this.styles[t];if(e)return e;var n=this.getAttribute(t);if(null!=n&&n.hasValue())return this.styles[t]=n,n;if(!i){var{parent:s}=this;if(s){var a=s.getStyle(t);if(null!=a&&a.hasValue())return a}}if(r){var o=new Op(this.document,t,"");return this.styles[t]=o,o}return e||Op.empty(this.document)}render(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var i=this.getStyle("filter").getDefinition();i&&(this.applyEffects(t),i.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var r=Gp.fromElement(this.document,this);r&&r.apply(t);var i=this.getStyle("clip-path",!1,!0);if(i.hasValue()){var e=i.getDefinition();e&&e.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach((r=>{r.render(t)}))}addChild(t){var r=t instanceof Up?t:this.document.createElement(t);r.parent=this,Up.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(t){var r,{node:i}=this;if("function"==typeof i.matches)return i.matches(t);var e=null===(r=i.getAttribute)||void 0===r?void 0:r.call(i,"class");return!(!e||""===e)&&e.split(" ").some((r=>".".concat(r)===t))}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:r}=this.document;for(var i in t)if(!i.startsWith("@")&&this.matchesSelector(i)){var e=t[i],n=r[i];if(e)for(var s in e){var a=this.stylesSpecificity[s];void 0===a&&(a="000"),n>=a&&(this.styles[s]=e[s],this.stylesSpecificity[s]=n)}}}removeStyles(t,r){return r.reduce(((r,i)=>{var e=t.getStyle(i);if(!e.hasValue())return r;var n=e.getString();return e.setValue(""),[...r,[i,n]]}),[])}restoreStyles(t,r){r.forEach((r=>{var[i,e]=r;t.getStyle(i,!0).setValue(e)}))}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}Up.ignoreChildTypes=["title"];class Vp extends Up{constructor(t,r,i){super(t,r,i)}}function Hp(t){var r=t.trim();return/^('|")/.test(r)?r:'"'.concat(r,'"')}function Wp(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function Qp(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}class Zp{constructor(t,r,i,e,n,s){var a=s?"string"==typeof s?Zp.parse(s):s:{};this.fontFamily=n||a.fontFamily,this.fontSize=e||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=i||a.fontWeight,this.fontVariant=r||a.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,r="",i="",e="",n="",s="",a=tp(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),o={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach((t=>{switch(!0){case!o.fontStyle&&Zp.styles.includes(t):"inherit"!==t&&(r=t),o.fontStyle=!0;break;case!o.fontVariant&&Zp.variants.includes(t):"inherit"!==t&&(i=t),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&Zp.weights.includes(t):"inherit"!==t&&(e=t),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0;break;case!o.fontSize:"inherit"!==t&&([n]=t.split("/")),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0,o.fontSize=!0;break;default:"inherit"!==t&&(s+=t)}})),new Zp(r,i,e,n,s,t)}toString(){return[Wp(this.fontStyle),this.fontVariant,Qp(this.fontWeight),this.fontSize,(t=this.fontFamily,"undefined"==typeof process?t:t.trim().split(",").map(Hp).join(","))].join(" ").trim();var t}}Zp.styles="normal|italic|oblique|inherit",Zp.variants="normal|small-caps|inherit",Zp.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class Kp{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=r,this.x2=i,this.y2=e,this.addPoint(t,r),this.addPoint(i,e)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,r){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==r&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:r,y1:i,x2:e,y2:n}=t;this.addPoint(r,i),this.addPoint(e,n)}}sumCubic(t,r,i,e,n){return Math.pow(1-t,3)*r+3*Math.pow(1-t,2)*t*i+3*(1-t)*Math.pow(t,2)*e+Math.pow(t,3)*n}bezierCurveAdd(t,r,i,e,n){var s=6*r-12*i+6*e,a=-3*r+9*i-9*e+3*n,o=3*i-3*r;if(0!==a){var h=Math.pow(s,2)-4*o*a;if(!(h<0)){var u=(-s+Math.sqrt(h))/(2*a);0<u&&u<1&&(t?this.addX(this.sumCubic(u,r,i,e,n)):this.addY(this.sumCubic(u,r,i,e,n)));var c=(-s-Math.sqrt(h))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,r,i,e,n)):this.addY(this.sumCubic(c,r,i,e,n)))}}else{if(0===s)return;var f=-o/s;0<f&&f<1&&(t?this.addX(this.sumCubic(f,r,i,e,n)):this.addY(this.sumCubic(f,r,i,e,n)))}}addBezierCurve(t,r,i,e,n,s,a,o){this.addPoint(t,r),this.addPoint(a,o),this.bezierCurveAdd(!0,t,i,n,a),this.bezierCurveAdd(!1,r,e,s,o)}addQuadraticCurve(t,r,i,e,n,s){var a=t+2/3*(i-t),o=r+2/3*(e-r);this.addBezierCurve(t,r,a,a+1/3*(n-t),o,o+1/3*(s-r),n,s)}isPointInBox(t,r){var{x1:i,y1:e,x2:n,y2:s}=this;return i<=t&&t<=n&&e<=r&&r<=s}}class Jp extends Ld{constructor(t){super(t.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Tp(0,0),this.control=new Tp(0,0),this.current=new Tp(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:r}=this;return t>=r.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=new Tp(this.command[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x"],this.command[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"]);return this.makeAbsolute(t)}getAsControlPoint(t,r){var i=this.getPoint(t,r);return this.control=i,i}getAsCurrentPoint(t,r){var i=this.getPoint(t,r);return this.current=i,i}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==Ld.CURVE_TO&&t!==Ld.SMOOTH_CURVE_TO&&t!==Ld.QUAD_TO&&t!==Ld.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:i},control:{x:e,y:n}}=this;return new Tp(2*r-e,2*i-n)}makeAbsolute(t){if(this.command.relative){var{x:r,y:i}=this.current;t.x+=r,t.y+=i}return t}addMarker(t,r,i){var{points:e,angles:n}=this;i&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=e[e.length-1].angleTo(i)),this.addMarkerAngle(t,r?r.angleTo(t):null)}addMarkerAngle(t,r){this.points.push(t),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,r=t.length,i=0;i<r;i++)if(!t[i])for(var e=i+1;e<r;e++)if(t[e]){t[i]=t[e];break}return t}}class ty extends Up{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,r=this;r;){var i=r.getStyle("opacity",!1,!0);i.hasValue(!0)&&(t*=i.getNumber()),r=r.parent}return t}setContext(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!r){var i=this.getStyle("fill"),e=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),s=this.getStyle("stroke-opacity");if(i.isUrlDefinition()){var a=i.getFillStyleDefinition(this,e);a&&(t.fillStyle=a)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var o=i.getColor();"inherit"!==o&&(t.fillStyle="none"===o?"rgba(0,0,0,0)":o)}if(e.hasValue()){var h=new Op(this.document,"fill",t.fillStyle).addOpacity(e).getColor();t.fillStyle=h}if(n.isUrlDefinition()){var u=n.getFillStyleDefinition(this,s);u&&(t.strokeStyle=u)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var c=n.getString();"inherit"!==c&&(t.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(s.hasValue()){var f=new Op(this.document,"stroke",t.strokeStyle).addOpacity(s).getString();t.strokeStyle=f}var l=this.getStyle("stroke-width");if(l.hasValue()){var v=l.getPixels();t.lineWidth=v||gp}var d=this.getStyle("stroke-linecap"),p=this.getStyle("stroke-linejoin"),y=this.getStyle("stroke-miterlimit"),g=this.getStyle("stroke-dasharray"),m=this.getStyle("stroke-dashoffset");if(d.hasValue()&&(t.lineCap=d.getString()),p.hasValue()&&(t.lineJoin=p.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),g.hasValue()&&"none"!==g.getString()){var b=ep(g.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var w=m.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=w:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=w:void 0!==t.mozDashOffset&&(t.mozDashOffset=w)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var x=this.getStyle("font"),M=this.getStyle("font-style"),k=this.getStyle("font-variant"),S=this.getStyle("font-weight"),N=this.getStyle("font-size"),j=this.getStyle("font-family"),P=new Zp(M.getString(),k.getString(),S.getString(),N.hasValue()?"".concat(N.getPixels(!0),"px"):"",j.getString(),Zp.parse(x.getString(),t.font));M.setValue(P.fontStyle),k.setValue(P.fontVariant),S.setValue(P.fontWeight),N.setValue(P.fontSize),j.setValue(P.fontFamily),t.font=P.toString(),N.isPixels()&&(this.document.emSize=N.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class ry extends ty{constructor(t,r,i){super(t,r,i),this.type="path",this.pathParser=null,this.pathParser=new Jp(this.getAttribute("d").getString())}path(t){var{pathParser:r}=this,i=new Kp;for(r.reset(),t&&t.beginPath();!r.isEnd();)switch(r.next().type){case Jp.MOVE_TO:this.pathM(t,i);break;case Jp.LINE_TO:this.pathL(t,i);break;case Jp.HORIZ_LINE_TO:this.pathH(t,i);break;case Jp.VERT_LINE_TO:this.pathV(t,i);break;case Jp.CURVE_TO:this.pathC(t,i);break;case Jp.SMOOTH_CURVE_TO:this.pathS(t,i);break;case Jp.QUAD_TO:this.pathQ(t,i);break;case Jp.SMOOTH_QUAD_TO:this.pathT(t,i);break;case Jp.ARC:this.pathA(t,i);break;case Jp.CLOSE_PATH:this.pathZ(t,i)}return i}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,r=t.getMarkerPoints(),i=t.getMarkerAngles(),e=r.map(((t,r)=>[t,i[r]]));return e}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var r=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==r.getString("inherit")?t.fill(r.getString()):t.fill()),""!==t.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var i=this.getMarkers();if(i){var e=i.length-1,n=this.getStyle("marker-start"),s=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(n.isUrlDefinition()){var o=n.getDefinition(),[h,u]=i[0];o.render(t,h,u)}if(s.isUrlDefinition())for(var c=s.getDefinition(),f=1;f<e;f++){var[l,v]=i[f];c.render(t,l,v)}if(a.isUrlDefinition()){var d=a.getDefinition(),[p,y]=i[e];d.render(t,p,y)}}}static pathM(t){var r=t.getAsCurrentPoint();return t.start=t.current,{point:r}}pathM(t,r){var{pathParser:i}=this,{point:e}=ry.pathM(i),{x:n,y:s}=e;i.addMarker(e),r.addPoint(n,s),t&&t.moveTo(n,s)}static pathL(t){var{current:r}=t;return{current:r,point:t.getAsCurrentPoint()}}pathL(t,r){var{pathParser:i}=this,{current:e,point:n}=ry.pathL(i),{x:s,y:a}=n;i.addMarker(n,e),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathH(t){var{current:r,command:i}=t,e=new Tp((i.relative?r.x:0)+i.x,r.y);return t.current=e,{current:r,point:e}}pathH(t,r){var{pathParser:i}=this,{current:e,point:n}=ry.pathH(i),{x:s,y:a}=n;i.addMarker(n,e),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathV(t){var{current:r,command:i}=t,e=new Tp(r.x,(i.relative?r.y:0)+i.y);return t.current=e,{current:r,point:e}}pathV(t,r){var{pathParser:i}=this,{current:e,point:n}=ry.pathV(i),{x:s,y:a}=n;i.addMarker(n,e),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathC(t){var{current:r}=t;return{current:r,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathC(t,r){var{pathParser:i}=this,{current:e,point:n,controlPoint:s,currentPoint:a}=ry.pathC(i);i.addMarker(a,s,n),r.addBezierCurve(e.x,e.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathS(t){var{current:r}=t;return{current:r,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathS(t,r){var{pathParser:i}=this,{current:e,point:n,controlPoint:s,currentPoint:a}=ry.pathS(i);i.addMarker(a,s,n),r.addBezierCurve(e.x,e.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathQ(t){var{current:r}=t;return{current:r,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}pathQ(t,r){var{pathParser:i}=this,{current:e,controlPoint:n,currentPoint:s}=ry.pathQ(i);i.addMarker(s,n,n),r.addQuadraticCurve(e.x,e.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathT(t){var{current:r}=t,i=t.getReflectedControlPoint();return t.control=i,{current:r,controlPoint:i,currentPoint:t.getAsCurrentPoint()}}pathT(t,r){var{pathParser:i}=this,{current:e,controlPoint:n,currentPoint:s}=ry.pathT(i);i.addMarker(s,n,n),r.addQuadraticCurve(e.x,e.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathA(t){var{current:r,command:i}=t,{rX:e,rY:n,xRot:s,lArcFlag:a,sweepFlag:o}=i,h=s*(Math.PI/180),u=t.getAsCurrentPoint(),c=new Tp(Math.cos(h)*(r.x-u.x)/2+Math.sin(h)*(r.y-u.y)/2,-Math.sin(h)*(r.x-u.x)/2+Math.cos(h)*(r.y-u.y)/2),f=Math.pow(c.x,2)/Math.pow(e,2)+Math.pow(c.y,2)/Math.pow(n,2);f>1&&(e*=Math.sqrt(f),n*=Math.sqrt(f));var l=(a===o?-1:1)*Math.sqrt((Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(e,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(l)&&(l=0);var v=new Tp(l*e*c.y/n,l*-n*c.x/e),d=new Tp((r.x+u.x)/2+Math.cos(h)*v.x-Math.sin(h)*v.y,(r.y+u.y)/2+Math.sin(h)*v.x+Math.cos(h)*v.y),p=wp([1,0],[(c.x-v.x)/e,(c.y-v.y)/n]),y=[(c.x-v.x)/e,(c.y-v.y)/n],g=[(-c.x-v.x)/e,(-c.y-v.y)/n],m=wp(y,g);return bp(y,g)<=-1&&(m=Math.PI),bp(y,g)>=1&&(m=0),{currentPoint:u,rX:e,rY:n,sweepFlag:o,xAxisRotation:h,centp:d,a1:p,ad:m}}pathA(t,r){var{pathParser:i}=this,{currentPoint:e,rX:n,rY:s,sweepFlag:a,xAxisRotation:o,centp:h,a1:u,ad:c}=ry.pathA(i),f=1-a?1:-1,l=u+f*(c/2),v=new Tp(h.x+n*Math.cos(l),h.y+s*Math.sin(l));if(i.addMarkerAngle(v,l-f*Math.PI/2),i.addMarkerAngle(e,l-f*Math.PI),r.addPoint(e.x,e.y),t&&!isNaN(u)&&!isNaN(c)){var d=n>s?n:s,p=n>s?1:n/s,y=n>s?s/n:1;t.translate(h.x,h.y),t.rotate(o),t.scale(p,y),t.arc(0,0,d,u,u+c,Boolean(1-a)),t.scale(1/p,1/y),t.rotate(-o),t.translate(-h.x,-h.y)}}static pathZ(t){t.current=t.start}pathZ(t,r){ry.pathZ(this.pathParser),t&&r.x1!==r.x2&&r.y1!==r.y2&&t.closePath()}}class iy extends ry{constructor(t,r,i){super(t,r,i),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class ey extends ty{constructor(t,r,i){super(t,r,new.target===ey||i),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){super.setContext(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var r=null;return this.children.forEach(((i,e)=>{var n=this.getChildBoundingBox(t,this,this,e);r?r.addBoundingBox(n):r=n})),r}getFontSize(){var{document:t,parent:r}=this,i=Zp.parse(t.ctx.font).fontSize;return r.getStyle("font-size").getNumber(i)}getTElementBoundingBox(t){var r=this.getFontSize();return new Kp(this.x,this.y-r,this.x+this.measureText(t),this.y)}getGlyph(t,r,i){var e=r[i],n=null;if(t.isArabic){var s=r.length,a=r[i-1],o=r[i+1],h="isolated";if((0===i||" "===a)&&i<s-1&&" "!==o&&(h="terminal"),i>0&&" "!==a&&i<s-1&&" "!==o&&(h="medial"),i>0&&" "!==a&&(i===s-1||" "===o)&&(h="initial"),void 0!==t.glyphs[e]){var u=t.glyphs[e];n=u instanceof iy?u:u[h]}}else n=t.glyphs[e];return n||(n=t.missingGlyph),n}getText(){return""}getTextFromNode(t){var r=t||this.node,i=Array.from(r.parentNode.childNodes),e=i.indexOf(r),n=i.length-1,s=tp(r.textContent||"");return 0===e&&(s=rp(s)),e===n&&(s=ip(s)),s}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach(((r,i)=>{this.renderChild(t,this,this,i)}));var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:r,parent:i}=this,e=this.getText(),n=i.getStyle("font-family").getDefinition();if(n)for(var{unitsPerEm:s}=n.fontFace,a=Zp.parse(r.ctx.font),o=i.getStyle("font-size").getNumber(a.fontSize),h=i.getStyle("font-style").getString(a.fontStyle),u=o/s,c=n.isRTL?e.split("").reverse().join(""):e,f=ep(i.getAttribute("dx").getString()),l=c.length,v=0;v<l;v++){var d=this.getGlyph(n,c,v);t.translate(this.x,this.y),t.scale(u,-u);var p=t.lineWidth;t.lineWidth=t.lineWidth*s/o,"italic"===h&&t.transform(1,0,.4,1,0,0),d.render(t),"italic"===h&&t.transform(1,0,-.4,1,0,0),t.lineWidth=p,t.scale(1/u,-1/u),t.translate(-this.x,-this.y),this.x+=o*(d.horizAdvX||n.horizAdvX)/s,void 0===f[v]||isNaN(f[v])||(this.x+=f[v])}else{var{x:y,y:g}=this;t.fillStyle&&t.fillText(e,y,g),t.strokeStyle&&t.strokeText(e,y,g)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t,r=this.leafTexts[this.textChunkStart],i=r.getStyle("text-anchor").getString("start");t="start"===i?r.x-this.minX:"end"===i?r.x-this.maxX:r.x-(this.minX+this.maxX)/2;for(var e=this.textChunkStart;e<this.leafTexts.length;e++)this.leafTexts[e].x+=t;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach(((r,i)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,i)})),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,r,i,e){var n=i.children[e];n.children.length>0?n.children.forEach(((i,e)=>{r.adjustChildCoordinatesRecursiveCore(t,r,n,e)})):this.adjustChildCoordinates(t,r,i,e)}adjustChildCoordinates(t,r,i,e){var n=i.children[e];if("function"!=typeof n.measureText)return n;t.save(),n.setContext(t,!0);var s=n.getAttribute("x"),a=n.getAttribute("y"),o=n.getAttribute("dx"),h=n.getAttribute("dy"),u=n.getStyle("font-family").getDefinition(),c=Boolean(u)&&u.isRTL;0===e&&(s.hasValue()||s.setValue(n.getInheritedAttribute("x")),a.hasValue()||a.setValue(n.getInheritedAttribute("y")),o.hasValue()||o.setValue(n.getInheritedAttribute("dx")),h.hasValue()||h.setValue(n.getInheritedAttribute("dy")));var f=n.measureText(t);return c&&(r.x-=f),s.hasValue()?(r.applyAnchoring(),n.x=s.getPixels("x"),o.hasValue()&&(n.x+=o.getPixels("x"))):(o.hasValue()&&(r.x+=o.getPixels("x")),n.x=r.x),r.x=n.x,c||(r.x+=f),a.hasValue()?(n.y=a.getPixels("y"),h.hasValue()&&(n.y+=h.getPixels("y"))):(h.hasValue()&&(r.y+=h.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+f),r.maxX=Math.max(r.maxX,n.x,n.x+f),n.clearContext(t),t.restore(),n}getChildBoundingBox(t,r,i,e){var n=i.children[e];if("function"!=typeof n.getBoundingBox)return null;var s=n.getBoundingBox(t);return s?(n.children.forEach(((i,e)=>{var a=r.getChildBoundingBox(t,r,n,e);s.addBoundingBox(a)})),s):null}renderChild(t,r,i,e){var n=i.children[e];n.render(t),n.children.forEach(((i,e)=>{r.renderChild(t,r,n,e)}))}measureText(t){var{measureCache:r}=this;if(~r)return r;var i=this.getText(),e=this.measureTargetText(t,i);return this.measureCache=e,e}measureTargetText(t,r){if(!r.length)return 0;var{parent:i}=this,e=i.getStyle("font-family").getDefinition();if(e){for(var n=this.getFontSize(),s=e.isRTL?r.split("").reverse().join(""):r,a=ep(i.getAttribute("dx").getString()),o=s.length,h=0,u=0;u<o;u++)h+=(this.getGlyph(e,s,u).horizAdvX||e.horizAdvX)*n/e.fontFace.unitsPerEm,void 0===a[u]||isNaN(a[u])||(h+=a[u]);return h}if(!t.measureText)return 10*r.length;t.save(),this.setContext(t,!0);var{width:c}=t.measureText(r);return this.clearContext(t),t.restore(),c}getInheritedAttribute(t){for(var r=this;r instanceof ey&&r.isFirstChild();){var i=r.parent.getAttribute(t);if(i.hasValue(!0))return i.getValue("0");r=r.parent}return null}}class ny extends ey{constructor(t,r,i){super(t,r,new.target===ny||i),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class sy extends ny{constructor(){super(...arguments),this.type="textNode"}}class ay extends ty{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var r,{document:i}=this,{screen:e,window:n}=i,s=t.canvas;if(e.setDefaults(t),s.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(s).getPropertyValue("font");var a=new Op(i,"fontSize",Zp.parse(t.font).fontSize);a.hasValue()&&(i.rootEmSize=a.getPixels("y"),i.emSize=i.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:o,height:h}=e.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var u=this.getAttribute("refX"),c=this.getAttribute("refY"),f=this.getAttribute("viewBox"),l=f.hasValue()?ep(f.getString()):null,v=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),d=0,p=0,y=0,g=0;l&&(d=l[0],p=l[1]),this.root||(o=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y"),"marker"===this.type&&(y=d,g=p,d=0,p=0)),e.viewPort.setCurrent(o,h),!this.node||this.parent&&"foreignObject"!==(null===(r=this.node.parentNode)||void 0===r?void 0:r.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),l&&(o=l[2],h=l[3]),i.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:e.viewPort.width,desiredWidth:o,height:e.viewPort.height,desiredHeight:h,minX:d,minY:p,refX:u.getValue(),refY:c.getValue(),clip:v,clipX:y,clipY:g}),l&&(e.viewPort.removeCurrent(),e.viewPort.setCurrent(o,h))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=this.getAttribute("width",!0),n=this.getAttribute("height",!0),s=this.getAttribute("viewBox"),a=this.getAttribute("style"),o=e.getNumber(0),h=n.getNumber(0);if(i)if("string"==typeof i)this.getAttribute("preserveAspectRatio",!0).setValue(i);else{var u=this.getAttribute("preserveAspectRatio");u.hasValue()&&u.setValue(u.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(e.setValue(t),n.setValue(r),s.hasValue()||s.setValue("0 0 ".concat(o||t," ").concat(h||r)),a.hasValue()){var c=this.getStyle("width"),f=this.getStyle("height");c.hasValue()&&c.setValue("".concat(t,"px")),f.hasValue()&&f.setValue("".concat(r,"px"))}}}class oy extends ry{constructor(){super(...arguments),this.type="rect"}path(t){var r=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),e=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),s=this.getAttribute("rx"),a=this.getAttribute("ry"),o=s.getPixels("x"),h=a.getPixels("y");if(s.hasValue()&&!a.hasValue()&&(h=o),a.hasValue()&&!s.hasValue()&&(o=h),o=Math.min(o,e/2),h=Math.min(h,n/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),n>0&&e>0&&(t.moveTo(r+o,i),t.lineTo(r+e-o,i),t.bezierCurveTo(r+e-o+u*o,i,r+e,i+h-u*h,r+e,i+h),t.lineTo(r+e,i+n-h),t.bezierCurveTo(r+e,i+n-h+u*h,r+e-o+u*o,i+n,r+e-o,i+n),t.lineTo(r+o,i+n),t.bezierCurveTo(r+o-u*o,i+n,r,i+n-h+u*h,r,i+n-h),t.lineTo(r,i+h),t.bezierCurveTo(r,i+h-u*h,r+o-u*o,i,r+o,i),t.closePath())}return new Kp(r,i,r+e,i+n)}getMarkers(){return null}}class hy extends ry{constructor(){super(...arguments),this.type="circle"}path(t){var r=this.getAttribute("cx").getPixels("x"),i=this.getAttribute("cy").getPixels("y"),e=this.getAttribute("r").getPixels();return t&&e>0&&(t.beginPath(),t.arc(r,i,e,0,2*Math.PI,!1),t.closePath()),new Kp(r-e,i-e,r+e,i+e)}getMarkers(){return null}}class uy extends ry{constructor(){super(...arguments),this.type="ellipse"}path(t){var r=(Math.sqrt(2)-1)/3*4,i=this.getAttribute("rx").getPixels("x"),e=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),s=this.getAttribute("cy").getPixels("y");return t&&i>0&&e>0&&(t.beginPath(),t.moveTo(n+i,s),t.bezierCurveTo(n+i,s+r*e,n+r*i,s+e,n,s+e),t.bezierCurveTo(n-r*i,s+e,n-i,s+r*e,n-i,s),t.bezierCurveTo(n-i,s-r*e,n-r*i,s-e,n,s-e),t.bezierCurveTo(n+r*i,s-e,n+i,s-r*e,n+i,s),t.closePath()),new Kp(n-i,s-e,n+i,s+e)}getMarkers(){return null}}class cy extends ry{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Tp(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Tp(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:r,y:i},{x:e,y:n}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(r,i),t.lineTo(e,n)),new Kp(r,i,e,n)}getMarkers(){var[t,r]=this.getPoints(),i=t.angleTo(r);return[[t,i],[r,i]]}}class fy extends ry{constructor(t,r,i){super(t,r,i),this.type="polyline",this.points=[],this.points=Tp.parsePath(this.getAttribute("points").getString())}path(t){var{points:r}=this,[{x:i,y:e}]=r,n=new Kp(i,e);return t&&(t.beginPath(),t.moveTo(i,e)),r.forEach((r=>{var{x:i,y:e}=r;n.addPoint(i,e),t&&t.lineTo(i,e)})),n}getMarkers(){var{points:t}=this,r=t.length-1,i=[];return t.forEach(((e,n)=>{n!==r&&i.push([e,e.angleTo(t[n+1])])})),i.length>0&&i.push([t[t.length-1],i[i.length-1][1]]),i}}class ly extends fy{constructor(){super(...arguments),this.type="polygon"}path(t){var r=super.path(t),[{x:i,y:e}]=this.points;return t&&(t.lineTo(i,e),t.closePath()),r}}class vy extends Up{constructor(){super(...arguments),this.type="pattern"}createPattern(t,r,i){var e=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),s=new ay(this.document,null);s.attributes.viewBox=new Op(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.width=new Op(this.document,"width","".concat(e,"px")),s.attributes.height=new Op(this.document,"height","".concat(n,"px")),s.attributes.transform=new Op(this.document,"transform",this.getAttribute("patternTransform").getValue()),s.children=this.children;var a=this.document.createCanvas(e,n),o=a.getContext("2d"),h=this.getAttribute("x"),u=this.getAttribute("y");h.hasValue()&&u.hasValue()&&o.translate(h.getPixels("x",!0),u.getPixels("y",!0)),i.hasValue()?this.styles["fill-opacity"]=i:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var f=-1;f<=1;f++)o.save(),s.attributes.x=new Op(this.document,"x",c*a.width),s.attributes.y=new Op(this.document,"y",f*a.height),s.render(o),o.restore();return t.createPattern(a,"repeat")}}class dy extends Up{constructor(){super(...arguments),this.type="marker"}render(t,r,i){if(r){var{x:e,y:n}=r,s=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(e,n),"auto"===s&&t.rotate(i),"strokeWidth"===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var o=new ay(this.document,null);o.type=this.type,o.attributes.viewBox=new Op(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new Op(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new Op(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new Op(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new Op(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new Op(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new Op(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new Op(this.document,"stroke",this.getAttribute("stroke").getValue("none")),o.children=this.children,o.render(t),t.restore(),"strokeWidth"===a&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===s&&t.rotate(-i),t.translate(-e,-n)}}}class py extends Up{constructor(){super(...arguments),this.type="defs"}render(){}}class yy extends ty{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var r=new Kp;return this.children.forEach((i=>{r.addBoundingBox(i.getBoundingBox(t))})),r}}class gy extends Up{constructor(t,r,i){super(t,r,i),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:e,children:n}=this;n.forEach((t=>{"stop"===t.type&&e.push(t)}))}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,r,i){var e=this;this.getHrefAttribute().hasValue()&&(e=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(e));var{stops:n}=e,s=this.getGradient(t,r);if(!s)return this.addParentOpacity(i,n[n.length-1].color);if(n.forEach((t=>{s.addColorStop(t.offset,this.addParentOpacity(i,t.color))})),this.getAttribute("gradientTransform").hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:h}=a.screen,[u]=h.viewPorts,c=new oy(a,null);c.attributes.x=new Op(a,"x",-o/3),c.attributes.y=new Op(a,"y",-o/3),c.attributes.width=new Op(a,"width",o),c.attributes.height=new Op(a,"height",o);var f=new yy(a,null);f.attributes.transform=new Op(a,"transform",this.getAttribute("gradientTransform").getValue()),f.children=[c];var l=new ay(a,null);l.attributes.x=new Op(a,"x",0),l.attributes.y=new Op(a,"y",0),l.attributes.width=new Op(a,"width",u.width),l.attributes.height=new Op(a,"height",u.height),l.children=[f];var v=a.createCanvas(u.width,u.height),d=v.getContext("2d");return d.fillStyle=s,l.render(d),d.createPattern(v,"no-repeat")}return s}inheritStopContainer(t){this.attributesToInherit.forEach((r=>{!this.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())}))}addParentOpacity(t,r){return t.hasValue()?new Op(this.document,"color",r).addOpacity(t).getColor():r}}class my extends gy{constructor(t,r,i){super(t,r,i),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,r){var i="objectBoundingBox"===this.getGradientUnits(),e=i?r.getBoundingBox(t):null;if(i&&!e)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=i?e.x+e.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),s=i?e.y+e.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=i?e.x+e.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=i?e.y+e.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===a&&s===o?null:t.createLinearGradient(n,s,a,o)}}class by extends gy{constructor(t,r,i){super(t,r,i),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,r){var i="objectBoundingBox"===this.getGradientUnits(),e=r.getBoundingBox(t);if(i&&!e)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=i?e.x+e.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),s=i?e.y+e.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=n,o=s;this.getAttribute("fx").hasValue()&&(a=i?e.x+e.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=i?e.y+e.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var h=i?(e.width+e.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return t.createRadialGradient(a,o,u,n,s,h)}}class wy extends Up{constructor(t,r,i){super(t,r,i),this.type="stop";var e=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),s=this.getStyle("stop-color",!0);""===s.getString()&&s.setValue("#000"),n.hasValue()&&(s=s.addOpacity(n)),this.offset=e,this.color=s.getColor()}}class xy extends Up{constructor(t,r,i){super(t,r,i),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new Op(t,"values",null);var e=this.getAttribute("values");e.hasValue()&&this.values.setValue(e.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:t}=this,{progress:r,from:i,to:e}=this.getProgress(),n=i.getNumber()+(e.getNumber()-i.getNumber())*r;return"%"===t&&(n*=100),"".concat(n).concat(t)}update(t){var{parent:r}=this,i=this.getProperty();if(this.initialValue||(this.initialValue=i.getString(),this.initialUnits=i.getUnits()),this.duration>this.maxDuration){var e=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==e||this.frozen){if("remove"===e&&!this.removed)return this.removed=!0,i.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=i.getString();return!1}this.duration+=t;var n=!1;if(this.begin<this.duration){var s=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var o=a.getString();s="".concat(o,"(").concat(s,")")}i.setValue(s),n=!0}return n}getProgress(){var{document:t,values:r}=this,i={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var e=i.progress*(r.getValue().length-1),n=Math.floor(e),s=Math.ceil(e);i.from=new Op(t,"from",parseFloat(r.getValue()[n])),i.to=new Op(t,"to",parseFloat(r.getValue()[s])),i.progress=(e-n)/(s-n)}else i.from=this.from,i.to=this.to;return i}}class My extends xy{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:r,to:i}=this.getProgress(),e=new td(r.getColor()),n=new td(i.getColor());if(e.ok&&n.ok){var s=e.g+(n.g-e.g)*t,a=e.b+(n.b-e.b)*t;return"rgb(".concat(Math.floor(e.r+(n.r-e.r)*t),", ").concat(Math.floor(s),", ").concat(Math.floor(a),")")}return this.getAttribute("from").getColor()}}class ky extends xy{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:r,to:i}=this.getProgress(),e=ep(r.getString()),n=ep(i.getString()),s=e.map(((r,i)=>r+(n[i]-r)*t)).join(" ");return s}}class Sy extends Up{constructor(t,r,i){super(t,r,i),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:e}=t,{children:n}=this;for(var s of n)switch(s.type){case"font-face":this.fontFace=s;var a=s.getStyle("font-family");a.hasValue()&&(e[a.getString()]=this);break;case"missing-glyph":this.missingGlyph=s;break;case"glyph":var o=s;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]={}),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class Ny extends Up{constructor(t,r,i){super(t,r,i),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class jy extends ry{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class Py extends ey{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var r=t.children[0];if(r)return r.getText()}return""}}class Oy extends ey{constructor(t,r,i){super(t,r,i),this.type="a";var{childNodes:e}=r,n=e[0],s=e.length>0&&Array.from(e).every((t=>3===t.nodeType));this.hasText=s,this.text=s?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:r,x:i,y:e}=this,{mouse:n}=r.screen,s=new Op(r,"fontSize",Zp.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new Kp(i,e-s.getPixels("y"),i+this.measureText(t),e))}else if(this.children.length>0){var a=new yy(this.document,null);a.children=this.children,a.parent=this,a.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function Ey(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,e)}return i}function Ty(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?Ey(Object(i),!0).forEach((function(r){Nl(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ey(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}class Cy extends ey{constructor(t,r,i){super(t,r,i),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var e=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(e)}getText(){return this.text}path(t){var{dataArray:r}=this;t&&t.beginPath(),r.forEach((r=>{var{type:i,points:e}=r;switch(i){case Jp.LINE_TO:t&&t.lineTo(e[0],e[1]);break;case Jp.MOVE_TO:t&&t.moveTo(e[0],e[1]);break;case Jp.CURVE_TO:t&&t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case Jp.QUAD_TO:t&&t.quadraticCurveTo(e[0],e[1],e[2],e[3]);break;case Jp.ARC:var[n,s,a,o,h,u,c,f]=e,l=a>o?a:o,v=a>o?1:a/o,d=a>o?o/a:1;t&&(t.translate(n,s),t.rotate(c),t.scale(v,d),t.arc(0,0,l,h,h+u,Boolean(1-f)),t.scale(1/v,1/d),t.rotate(-c),t.translate(-n,-s));break;case Jp.CLOSE_PATH:t&&t.closePath()}}))}renderChildren(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),i=this.getFontSize(),{glyphInfo:e}=this,n=t.fillStyle;"underline"===r&&t.beginPath(),e.forEach(((e,n)=>{var{p0:s,p1:a,rotation:o,text:h}=e;t.save(),t.translate(s.x,s.y),t.rotate(o),t.fillStyle&&t.fillText(h,0,0),t.strokeStyle&&t.strokeText(h,0,0),t.restore(),"underline"===r&&(0===n&&t.moveTo(s.x,s.y+i/8),t.lineTo(a.x,a.y+i/5))})),"underline"===r&&(t.lineWidth=i/20,t.strokeStyle=n,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){return this.letterSpacingCache[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0]||0}findSegmentToFitChar(t,r,i,e,n,s,a,o,h){var u=s,c=this.measureText(t,o);" "===o&&"justify"===r&&i<e&&(c+=(e-i)/n),h>-1&&(u+=this.getLetterSpacingAt(h));var f=this.textHeight/20,l=this.getEquidistantPointOnPath(u,f,0),v=this.getEquidistantPointOnPath(u+c,f,0),d={p0:l,p1:v},p=l&&v?Math.atan2(v.y-l.y,v.x-l.x):0;if(a){var y=Math.cos(Math.PI/2+p)*a,g=Math.cos(-p)*a;d.p0=Ty(Ty({},l),{},{x:l.x+y,y:l.y+g}),d.p1=Ty(Ty({},v),{},{x:v.x+y,y:v.y+g})}return{offset:u+=c,segment:d,rotation:p}}measureText(t,r){var{measuresCache:i}=this,e=r||this.getText();if(i.has(e))return i.get(e);var n=this.measureTargetText(t,e);return i.set(e,n),n}setTextData(t){if(!this.glyphInfo){var r=this.getText(),i=r.split(""),e=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map((t=>t.getPixels("x"))),s=this.parent.getAttribute("dy").getPixels("y"),a=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),h=this.parent.getStyle("letter-spacing"),u=0;o.hasValue()&&"inherit"!==o.getValue()?o.hasValue()&&"initial"!==o.getValue()&&"unset"!==o.getValue()&&(u=o.getPixels()):u=h.getPixels();var c=[],f=r.length;this.letterSpacingCache=c;for(var l=0;l<f;l++)c.push(void 0!==n[l]?n[l]:u);var v=c.reduce(((t,r,i)=>0===i?0:t+r||0),0),d=this.measureText(t),p=Math.max(d+v,0);this.textWidth=d,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),g=this.getStyle("startOffset").getNumber(0)*y,m=0;"middle"!==a&&"center"!==a||(m=-p/2),"end"!==a&&"right"!==a||(m=-p),m+=g,i.forEach(((r,n)=>{var{offset:o,segment:h,rotation:u}=this.findSegmentToFitChar(t,a,p,y,e,m,s,r,n);m=o,h.p0&&h.p1&&this.glyphInfo.push({text:i[n],p0:h.p0,p1:h.p1,rotation:u})}))}}parsePathData(t){if(this.pathLength=-1,!t)return[];var r=[],{pathParser:i}=t;for(i.reset();!i.isEnd();){var{current:e}=i,n=e?e.x:0,s=e?e.y:0,a=i.next(),o=a.type,h=[];switch(a.type){case Jp.MOVE_TO:this.pathM(i,h);break;case Jp.LINE_TO:o=this.pathL(i,h);break;case Jp.HORIZ_LINE_TO:o=this.pathH(i,h);break;case Jp.VERT_LINE_TO:o=this.pathV(i,h);break;case Jp.CURVE_TO:this.pathC(i,h);break;case Jp.SMOOTH_CURVE_TO:o=this.pathS(i,h);break;case Jp.QUAD_TO:this.pathQ(i,h);break;case Jp.SMOOTH_QUAD_TO:o=this.pathT(i,h);break;case Jp.ARC:h=this.pathA(i);break;case Jp.CLOSE_PATH:ry.pathZ(i)}r.push(a.type!==Jp.CLOSE_PATH?{type:o,points:h,start:{x:n,y:s},pathLength:this.calcLength(n,s,o,h)}:{type:Jp.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(t,r){var{x:i,y:e}=ry.pathM(t).point;r.push(i,e)}pathL(t,r){var{x:i,y:e}=ry.pathL(t).point;return r.push(i,e),Jp.LINE_TO}pathH(t,r){var{x:i,y:e}=ry.pathH(t).point;return r.push(i,e),Jp.LINE_TO}pathV(t,r){var{x:i,y:e}=ry.pathV(t).point;return r.push(i,e),Jp.LINE_TO}pathC(t,r){var{point:i,controlPoint:e,currentPoint:n}=ry.pathC(t);r.push(i.x,i.y,e.x,e.y,n.x,n.y)}pathS(t,r){var{point:i,controlPoint:e,currentPoint:n}=ry.pathS(t);return r.push(i.x,i.y,e.x,e.y,n.x,n.y),Jp.CURVE_TO}pathQ(t,r){var{controlPoint:i,currentPoint:e}=ry.pathQ(t);r.push(i.x,i.y,e.x,e.y)}pathT(t,r){var{controlPoint:i,currentPoint:e}=ry.pathT(t);return r.push(i.x,i.y,e.x,e.y),Jp.QUAD_TO}pathA(t){var{rX:r,rY:i,sweepFlag:e,xAxisRotation:n,centp:s,a1:a,ad:o}=ry.pathA(t);return 0===e&&o>0&&(o-=2*Math.PI),1===e&&o<0&&(o+=2*Math.PI),[s.x,s.y,r,i,a,o,n,e]}calcLength(t,r,i,e){var n=0,s=null,a=null,o=0;switch(i){case Jp.LINE_TO:return this.getLineLength(t,r,e[0],e[1]);case Jp.CURVE_TO:for(n=0,s=this.getPointOnCubicBezier(0,t,r,e[0],e[1],e[2],e[3],e[4],e[5]),o=.01;o<=1;o+=.01)a=this.getPointOnCubicBezier(o,t,r,e[0],e[1],e[2],e[3],e[4],e[5]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case Jp.QUAD_TO:for(n=0,s=this.getPointOnQuadraticBezier(0,t,r,e[0],e[1],e[2],e[3]),o=.01;o<=1;o+=.01)a=this.getPointOnQuadraticBezier(o,t,r,e[0],e[1],e[2],e[3]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case Jp.ARC:n=0;var h=e[4],u=e[5],c=e[4]+u,f=Math.PI/180;if(Math.abs(h-c)<f&&(f=Math.abs(h-c)),s=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],h,0),u<0)for(o=h-f;o>c;o-=f)a=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;else for(o=h+f;o<c;o+=f)a=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return a=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],c,0),n+this.getLineLength(s.x,s.y,a.x,a.y)}return 0}getPointOnLine(t,r,i,e,n){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:r,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:i,o=(n-i)/(e-r+gp),h=Math.sqrt(t*t/(1+o*o));e<r&&(h*=-1);var u=o*h,c=null;if(e===r)c={x:s,y:a+u};else if((a-i)/(s-r+gp)===o)c={x:s+h,y:a+u};else{var f,l,v=this.getLineLength(r,i,e,n);if(v<gp)return null;var d=(s-r)*(e-r)+(a-i)*(n-i),p=this.getLineLength(s,a,f=r+(d/=v*v)*(e-r),l=i+d*(n-i)),y=Math.sqrt(t*t-p*p);h=Math.sqrt(y*y/(1+o*o)),e<r&&(h*=-1),c={x:f+h,y:l+(u=o*h)}}return c}getPointOnPath(t){var r=this.getPathLength(),i=0,e=null;if(t<-5e-5||t-5e-5>r)return null;var{dataArray:n}=this;for(var s of n){if(!s||!(s.pathLength<5e-5||i+s.pathLength+5e-5<t)){var a=t-i,o=0;switch(s.type){case Jp.LINE_TO:e=this.getPointOnLine(a,s.start.x,s.start.y,s.points[0],s.points[1],s.start.x,s.start.y);break;case Jp.ARC:var h=s.points[5],u=s.points[4]+h;if(o=s.points[4]+a/s.pathLength*h,h<0&&o<u||h>=0&&o>u)break;e=this.getPointOnEllipticalArc(s.points[0],s.points[1],s.points[2],s.points[3],o,s.points[6]);break;case Jp.CURVE_TO:(o=a/s.pathLength)>1&&(o=1),e=this.getPointOnCubicBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3],s.points[4],s.points[5]);break;case Jp.QUAD_TO:(o=a/s.pathLength)>1&&(o=1),e=this.getPointOnQuadraticBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3])}if(e)return e;break}i+=s.pathLength}return null}getLineLength(t,r,i,e){return Math.sqrt((i-t)*(i-t)+(e-r)*(e-r))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(((t,r)=>r.pathLength>0?t+r.pathLength:t),0)),this.pathLength}getPointOnCubicBezier(t,r,i,e,n,s,a,o,h){return{x:o*xp(t)+s*Mp(t)+e*kp(t)+r*Sp(t),y:h*xp(t)+a*Mp(t)+n*kp(t)+i*Sp(t)}}getPointOnQuadraticBezier(t,r,i,e,n,s,a){return{x:s*Np(t)+e*jp(t)+r*Pp(t),y:a*Np(t)+n*jp(t)+i*Pp(t)}}getPointOnEllipticalArc(t,r,i,e,n,s){var a=Math.cos(s),o=Math.sin(s),h=i*Math.cos(n),u=e*Math.sin(n);return{x:t+(h*a-u*o),y:r+(h*o+u*a)}}buildEquidistantCache(t,r){var i=this.getPathLength(),e=r||.25,n=t||i/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==e){this.equidistantCache={step:n,precision:e,points:[]};for(var s=0,a=0;a<=i;a+=e){var o=this.getPointOnPath(a),h=this.getPointOnPath(a+e);o&&h&&(s+=this.getLineLength(o.x,o.y,h.x,h.y))>=n&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:a}),s-=n)}}}getEquidistantPointOnPath(t,r,i){if(this.buildEquidistantCache(r,i),t<0||t-this.getPathLength()>5e-5)return null;var e=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[e]||null}}var Ay=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class Ry extends ty{constructor(t,r,i){super(t,r,i),this.type="image",this.loaded=!1;var e=this.getHrefAttribute().getString();if(e){var n=e.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(e);t.images.push(this),n?this.loadSvg(e):this.loadImage(e),this.isSvg=n}}loadImage(t){var r=this;return dh((function*(){try{var i=yield r.document.createImage(t);r.image=i}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}r.loaded=!0}))()}loadSvg(t){var r=this;return dh((function*(){var i=Ay.exec(t);if(i){var e=i[5];r.image="base64"===i[4]?atob(e):decodeURIComponent(e)}else try{var n=yield r.document.fetch(t),s=yield n.text();r.image=s}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}r.loaded=!0}))()}renderChildren(t){var{document:r,image:i,loaded:e}=this,n=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(e&&i&&a&&o){if(t.save(),t.translate(n,s),this.isSvg){var h=r.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:o});h.document.documentElement.parent=this,h.render()}else{var u=this.image;r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:u.width,height:o,desiredHeight:u.height}),this.loaded&&(void 0===u.complete||u.complete)&&t.drawImage(u,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),e=this.getStyle("height").getPixels("y");return new Kp(t,r,t+i,r+e)}}class By extends ty{constructor(){super(...arguments),this.type="symbol"}render(t){}}class Ly{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,r){var i=this;return dh((function*(){try{var{document:e}=i,n=(yield e.canvg.parser.load(r)).getElementsByTagName("font");Array.from(n).forEach((r=>{var i=e.createElement(r);e.definitions[t]=i}))}catch(t){console.error('Error while loading font "'.concat(r,'":'),t)}i.loaded=!0}))()}}class $y extends Up{constructor(t,r,i){super(t,r,i),this.type="style";var e=tp(Array.from(r.childNodes).map((t=>t.textContent)).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,""));e.split("}").forEach((r=>{var i=r.trim();if(i){var e=i.split("{"),n=e[0].split(","),s=e[1].split(";");n.forEach((r=>{var i=r.trim();if(i){var e=t.styles[i]||{};if(s.forEach((r=>{var i=r.indexOf(":"),n=r.substr(0,i).trim(),s=r.substr(i+1,r.length-i).trim();n&&s&&(e[n]=new Op(t,n,s))})),t.styles[i]=e,t.stylesSpecificity[i]=yp(i),"@font-face"===i){var n=e["font-family"].getString().replace(/"|'/g,"");e.src.getString().split(",").forEach((r=>{if(r.indexOf('format("svg")')>0){var i=ap(r);i&&new Ly(t).load(n,i)}}))}}}))}}))}}$y.parseExternalUrl=ap;class Iy extends ty{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var r=this.getAttribute("x"),i=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),i.hasValue()&&t.translate(0,i.getPixels("y"))}path(t){var{element:r}=this;r&&r.path(t)}renderChildren(t){var{document:r,element:i}=this;if(i){var e=i;if("symbol"===i.type&&((e=new ay(r,null)).attributes.viewBox=new Op(r,"viewBox",i.getAttribute("viewBox").getString()),e.attributes.preserveAspectRatio=new Op(r,"preserveAspectRatio",i.getAttribute("preserveAspectRatio").getString()),e.attributes.overflow=new Op(r,"overflow",i.getAttribute("overflow").getString()),e.children=i.children,i.styles.opacity=new Op(r,"opacity",this.calculateOpacity())),"svg"===e.type){var n=this.getStyle("width",!1,!0),s=this.getStyle("height",!1,!0);n.hasValue()&&(e.attributes.width=new Op(r,"width",n.getString())),s.hasValue()&&(e.attributes.height=new Op(r,"height",s.getString()))}var a=e.parent;e.parent=this,e.render(t),e.parent=a}}getBoundingBox(t){var{element:r}=this;return r?r.getBoundingBox(t):null}elementTransform(){var{document:t,element:r}=this;return Gp.fromElement(t,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Dy(t,r,i,e,n,s){return t[i*e*4+4*r+s]}function Fy(t,r,i,e,n,s,a){t[i*e*4+4*r+s]=a}function zy(t,r,i){return t[r]*i}function _y(t,r,i,e){return r+Math.cos(t)*i+Math.sin(t)*e}class Yy extends Up{constructor(t,r,i){super(t,r,i),this.type="feColorMatrix";var e=ep(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var n=e[0];e=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=e[0]*Math.PI/180;e=[_y(s,.213,.787,-.213),_y(s,.715,-.715,-.715),_y(s,.072,-.072,.928),0,0,_y(s,.213,-.213,.143),_y(s,.715,.285,.14),_y(s,.072,-.072,-.283),0,0,_y(s,.213,-.213,-.787),_y(s,.715,-.715,.715),_y(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=e,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,r,i,e,n){for(var{includeOpacity:s,matrix:a}=this,o=t.getImageData(0,0,e,n),h=0;h<n;h++)for(var u=0;u<e;u++){var c=Dy(o.data,u,h,e,0,0),f=Dy(o.data,u,h,e,0,1),l=Dy(o.data,u,h,e,0,2),v=Dy(o.data,u,h,e,0,3),d=zy(a,0,c)+zy(a,1,f)+zy(a,2,l)+zy(a,3,v)+zy(a,4,1),p=zy(a,5,c)+zy(a,6,f)+zy(a,7,l)+zy(a,8,v)+zy(a,9,1),y=zy(a,10,c)+zy(a,11,f)+zy(a,12,l)+zy(a,13,v)+zy(a,14,1),g=zy(a,15,c)+zy(a,16,f)+zy(a,17,l)+zy(a,18,v)+zy(a,19,1);s&&(d=0,p=0,y=0,g*=v/255),Fy(o.data,u,h,e,0,0,d),Fy(o.data,u,h,e,0,1,p),Fy(o.data,u,h,e,0,2,y),Fy(o.data,u,h,e,0,3,g)}t.clearRect(0,0,e,n),t.putImageData(o,0,0)}}class Xy extends Up{constructor(){super(...arguments),this.type="mask"}apply(t,r){var{document:i}=this,e=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(!s&&!a){var o=new Kp;this.children.forEach((r=>{o.addBoundingBox(r.getBoundingBox(t))})),e=Math.floor(o.x1),n=Math.floor(o.y1),s=Math.floor(o.width),a=Math.floor(o.height)}var h=this.removeStyles(r,Xy.ignoreStyles),u=i.createCanvas(e+s,n+a),c=u.getContext("2d");i.screen.setDefaults(c),this.renderChildren(c),new Yy(i,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,e+s,n+a);var f=i.createCanvas(e+s,n+a),l=f.getContext("2d");i.screen.setDefaults(l),r.render(l),l.globalCompositeOperation="destination-in",l.fillStyle=c.createPattern(u,"no-repeat"),l.fillRect(0,0,e+s,n+a),t.fillStyle=l.createPattern(f,"no-repeat"),t.fillRect(0,0,e+s,n+a),this.restoreStyles(r,h)}render(t){}}Xy.ignoreStyles=["mask","transform","clip-path"];var qy=()=>{};class Gy extends Up{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:r}=this,i=Reflect.getPrototypeOf(t),{beginPath:e,closePath:n}=t;i&&(i.beginPath=qy,i.closePath=qy),Reflect.apply(e,t,[]),this.children.forEach((e=>{if(void 0!==e.path){var s=void 0!==e.elementTransform?e.elementTransform():null;s||(s=Gp.fromElement(r,e)),s&&s.apply(t),e.path(t),i&&(i.closePath=n),s&&s.unapply(t)}})),Reflect.apply(n,t,[]),t.clip(),i&&(i.beginPath=e,i.closePath=n)}render(t){}}class Uy extends Up{constructor(){super(...arguments),this.type="filter"}apply(t,r){var{document:i,children:e}=this,n=r.getBoundingBox(t);if(n){var s=0,a=0;e.forEach((t=>{var r=t.extraFilterDistance||0;s=Math.max(s,r),a=Math.max(a,r)}));var o=Math.floor(n.width),h=Math.floor(n.height),u=o+2*s,c=h+2*a;if(!(u<1||c<1)){var f=Math.floor(n.x),l=Math.floor(n.y),v=this.removeStyles(r,Uy.ignoreStyles),d=i.createCanvas(u,c),p=d.getContext("2d");i.screen.setDefaults(p),p.translate(-f+s,-l+a),r.render(p),e.forEach((t=>{"function"==typeof t.apply&&t.apply(p,0,0,u,c)})),t.drawImage(d,0,0,u,c,f-s,l-a,u,c),this.restoreStyles(r,v)}}}render(t){}}Uy.ignoreStyles=["filter","transform","clip-path"];class Vy extends Up{constructor(t,r,i){super(t,r,i),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,r,i,e,n){}}class Hy extends Up{constructor(){super(...arguments),this.type="feMorphology"}apply(t,r,i,e,n){}}class Wy extends Up{constructor(){super(...arguments),this.type="feComposite"}apply(t,r,i,e,n){}}class Qy extends Up{constructor(t,r,i){super(t,r,i),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,r,i,e,n){var{document:s,blurRadius:a}=this,o=s.window?s.window.document.body:null,h=t.canvas;h.id=s.getUniqueId(),o&&(h.style.display="none",o.appendChild(h)),Zd(h,r,i,e,n,a),o&&o.removeChild(h)}}class Zy extends Up{constructor(){super(...arguments),this.type="title"}}class Ky extends Up{constructor(){super(...arguments),this.type="desc"}}var Jy={svg:ay,rect:oy,circle:hy,ellipse:uy,line:cy,polyline:fy,polygon:ly,path:ry,pattern:vy,marker:dy,defs:py,linearGradient:my,radialGradient:by,stop:wy,animate:xy,animateColor:My,animateTransform:ky,font:Sy,"font-face":Ny,"missing-glyph":jy,glyph:iy,text:ey,tspan:ny,tref:Py,a:Oy,textPath:Cy,image:Ry,g:yy,symbol:By,style:$y,use:Iy,mask:Xy,clipPath:Gy,filter:Uy,feDropShadow:Vy,feMorphology:Hy,feComposite:Wy,feColorMatrix:Yy,feGaussianBlur:Qy,title:Zy,desc:Ky};function tg(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,e)}return i}function rg(){return rg=dh((function*(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.createElement("img");return r&&(i.crossOrigin="Anonymous"),new Promise(((r,e)=>{i.onload=()=>{r(i)},i.onerror=(t,r,i,n,s)=>{e(s)},i.src=t}))})),rg.apply(this,arguments)}class ig{constructor(t){var{rootEmSize:r=12,emSize:i=12,createCanvas:e=ig.createCanvas,createImage:n=ig.createImage,anonymousCrossOrigin:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=t,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=r,this.emSize=i,this.createCanvas=e,this.createImage=this.bindCreateImage(n,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,r){return"boolean"==typeof r?(i,e)=>t(i,"boolean"==typeof e?e:r):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:r}=this;r.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every((t=>t.loaded))}isFontsLoaded(){return this.fonts.every((t=>t.loaded))}createDocumentElement(t){var r=this.createElement(t.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(t){var r=t.nodeName.replace(/^[^:]+:/,""),i=ig.elementTypes[r];return void 0!==i?new i(this,t):new Vp(this,t)}createTextNode(t){return new sy(this,t)}setViewBox(t){this.screen.setViewBox(function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?tg(Object(i),!0).forEach((function(r){Nl(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):tg(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}({document:this},t))}}function eg(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,e)}return i}function ng(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?eg(Object(i),!0).forEach((function(r){Nl(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):eg(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}ig.createCanvas=function(t,r){var i=document.createElement("canvas");return i.width=t,i.height=r,i},ig.createImage=function(t){return rg.apply(this,arguments)},ig.elementTypes=Jy;class sg{constructor(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new Ip(i),this.screen=new Bp(t,i),this.options=i;var e=new ig(this,i),n=e.createDocumentElement(r);this.document=e,this.documentElement=n}static from(t,r){var i=arguments;return dh((function*(){var e=i.length>2&&void 0!==i[2]?i[2]:{},n=new Ip(e),s=yield n.parse(r);return new sg(t,s,e)}))()}static fromString(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=new Ip(i).parseFromString(r);return new sg(t,e,i)}fork(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sg.from(t,r,ng(ng({},this.options),i))}forkString(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sg.fromString(t,r,ng(ng({},this.options),i))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,r=this;return dh((function*(){r.start(ng({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t.length>0&&void 0!==t[0]?t[0]:{})),yield r.ready(),r.stop()}))()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:r,screen:i,options:e}=this;i.start(r,ng(ng({enableRedraw:!0},e),t))}stop(){this.screen.stop()}resize(t){this.documentElement.resize(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,arguments.length>2&&void 0!==arguments[2]&&arguments[2])}}export{Oy as AElement,My as AnimateColorElement,xy as AnimateElement,ky as AnimateTransformElement,Kp as BoundingBox,xp as CB1,Mp as CB2,kp as CB3,Sp as CB4,sg as Canvg,hy as CircleElement,Gy as ClipPathElement,py as DefsElement,Ky as DescElement,ig as Document,Up as Element,uy as EllipseElement,Yy as FeColorMatrixElement,Wy as FeCompositeElement,Vy as FeDropShadowElement,Qy as FeGaussianBlurElement,Hy as FeMorphologyElement,Uy as FilterElement,Zp as Font,Sy as FontElement,Ny as FontFaceElement,yy as GElement,iy as GlyphElement,gy as GradientElement,Ry as ImageElement,cy as LineElement,my as LinearGradientElement,dy as MarkerElement,Xy as MaskElement,_p as Matrix,jy as MissingGlyphElement,Cp as Mouse,gp as PSEUDO_ZERO,Ip as Parser,ry as PathElement,Jp as PathParser,vy as PatternElement,Tp as Point,ly as PolygonElement,fy as PolylineElement,Op as Property,Np as QB1,jp as QB2,Pp as QB3,by as RadialGradientElement,oy as RectElement,ty as RenderedElement,Fp as Rotate,ay as SVGElement,Ly as SVGFontLoader,zp as Scale,Bp as Screen,Yp as Skew,Xp as SkewX,qp as SkewY,wy as StopElement,$y as StyleElement,By as SymbolElement,Py as TRefElement,ny as TSpanElement,ey as TextElement,Cy as TextPathElement,Zy as TitleElement,Gp as Transform,Dp as Translate,Vp as UnknownElement,Iy as UseElement,Ep as ViewPort,tp as compressSpaces,sg as default,yp as getSelectorSpecificity,sp as normalizeAttributeName,op as normalizeColor,ap as parseExternalUrl,Jd as presets,ep as toNumbers,rp as trimLeft,ip as trimRight,mp as vectorMagnitude,wp as vectorsAngle,bp as vectorsRatio}