@esri/solutions-components 0.11.13 → 0.11.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1195) hide show
  1. package/dist/cjs/asyncToGenerator-ccb3278b.js +92 -0
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +5 -5
  4. package/dist/cjs/card-manager_3.cjs.entry.js +5 -11
  5. package/dist/cjs/consent-manager.cjs.entry.js +5 -5
  6. package/dist/cjs/create-feature_4.cjs.entry.js +6 -6
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +3 -3
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  10. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  11. package/dist/cjs/delete-dialog.cjs.entry.js +3 -3
  12. package/dist/cjs/downloadUtils-9de366bc.js +3223 -0
  13. package/dist/cjs/effects-78c31457.js +83 -0
  14. package/dist/cjs/feature-list.cjs.entry.js +6 -6
  15. package/dist/cjs/helpers-67a2c953.js +867 -0
  16. package/dist/cjs/index-b2821254.js +201 -0
  17. package/dist/cjs/index-b936ec03.js +1903 -0
  18. package/dist/cjs/index.es-0441a948.js +11195 -0
  19. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
  20. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
  21. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  22. package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
  23. package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
  24. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
  25. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
  26. package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
  27. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
  28. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  29. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
  30. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
  32. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +22 -22
  33. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  34. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +828 -22
  35. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +819 -12
  36. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
  37. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  38. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  39. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  40. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
  41. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
  42. package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
  43. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
  44. package/dist/cjs/json-editor_7.cjs.entry.js +5 -5
  45. package/dist/cjs/languageSwitcher-e2118cc6.js +52 -0
  46. package/dist/cjs/languageUtil-f22ce913.js +69 -0
  47. package/dist/cjs/loadModules-accd5295.js +23 -0
  48. package/dist/cjs/loader.cjs.js +1 -1
  49. package/dist/cjs/locale-8017d061.js +160 -0
  50. package/dist/cjs/locale-e2a974ae.js +943 -0
  51. package/dist/cjs/map-layer-picker.cjs.entry.js +5 -5
  52. package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -7
  53. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  54. package/dist/cjs/popupUtils-3b069427.js +121 -0
  55. package/dist/cjs/public-notification.cjs.entry.js +7 -7
  56. package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
  57. package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
  58. package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
  59. package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
  60. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/solution-store-a2a8422d.js +1105 -0
  62. package/dist/cjs/solutions-components.cjs.js +2 -2
  63. package/dist/cjs/spatial-ref.cjs.entry.js +3 -3
  64. package/dist/cjs/store-manager.cjs.entry.js +3 -3
  65. package/dist/cjs/utils-0f287cfa.js +153 -0
  66. package/dist/collection/collection-manifest.json +1 -1
  67. package/dist/collection/components/layer-table/layer-table.js +0 -6
  68. package/dist/collection/vendor/calcite-components/2BGOXXHV.js +4 -0
  69. package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +4 -0
  70. package/dist/collection/vendor/calcite-components/2HEEVITF.js +4 -0
  71. package/dist/collection/vendor/calcite-components/2QBRISAS.js +4 -0
  72. package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +4 -0
  73. package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +4 -0
  74. package/dist/collection/vendor/calcite-components/36DTW2EC.js +4 -0
  75. package/dist/collection/vendor/calcite-components/36E6CTNX.js +4 -0
  76. package/dist/collection/vendor/calcite-components/36HITQ3A.js +4 -0
  77. package/dist/collection/vendor/calcite-components/3FJPBCHI.js +4 -0
  78. package/dist/collection/vendor/calcite-components/3TINKPLC.js +4 -0
  79. package/dist/collection/vendor/calcite-components/3TXD2SW4.js +4 -0
  80. package/dist/collection/vendor/calcite-components/43C4CZJO.js +4 -0
  81. package/dist/collection/vendor/calcite-components/44DZGTF5.js +4 -0
  82. package/dist/collection/vendor/calcite-components/4IWRJJPT.js +4 -0
  83. package/dist/collection/vendor/calcite-components/4L6L5YMT.js +4 -0
  84. package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +4 -0
  85. package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +4 -0
  86. package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +4 -0
  87. package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +4 -0
  88. package/dist/collection/vendor/calcite-components/57U74PDQ.js +4 -0
  89. package/dist/collection/vendor/calcite-components/5BEKT6RT.js +4 -0
  90. package/dist/collection/vendor/calcite-components/5JAMHCQS.js +6 -0
  91. package/dist/collection/vendor/calcite-components/5UP5TQJN.js +4 -0
  92. package/dist/collection/vendor/calcite-components/5VK77MGP.js +4 -0
  93. package/dist/collection/vendor/calcite-components/5ZFIOILW.js +4 -0
  94. package/dist/collection/vendor/calcite-components/62G23PKY.js +4 -0
  95. package/dist/collection/vendor/calcite-components/6A464LBG.js +4 -0
  96. package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +4 -0
  97. package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +4 -0
  98. package/dist/collection/vendor/calcite-components/6PBZNCIY.js +4 -0
  99. package/dist/collection/vendor/calcite-components/6SREDGMN.js +4 -0
  100. package/dist/collection/vendor/calcite-components/73K4GSAV.js +4 -0
  101. package/dist/collection/vendor/calcite-components/757M5TSP.js +5 -0
  102. package/dist/collection/vendor/calcite-components/7F6EUEAO.js +4 -0
  103. package/dist/collection/vendor/calcite-components/7GOGBJPD.js +4 -0
  104. package/dist/collection/vendor/calcite-components/7PLD33LH.js +4 -0
  105. package/dist/collection/vendor/calcite-components/7TNMI44V.js +4 -0
  106. package/dist/collection/vendor/calcite-components/7VZFYJY5.js +4 -0
  107. package/dist/collection/vendor/calcite-components/7XZR3QPX.js +4 -0
  108. package/dist/collection/vendor/calcite-components/A3M4FM7N.js +4 -0
  109. package/dist/collection/vendor/calcite-components/A5WZ32T6.js +4 -0
  110. package/dist/collection/vendor/calcite-components/A6H6UTO7.js +4 -0
  111. package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +4 -0
  112. package/dist/collection/vendor/calcite-components/ADRZSXZD.js +4 -0
  113. package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +4 -0
  114. package/dist/collection/vendor/calcite-components/ALGCYGFE.js +4 -0
  115. package/dist/collection/vendor/calcite-components/B3YKMJGM.js +4 -0
  116. package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +4 -0
  117. package/dist/collection/vendor/calcite-components/B747CT5Q.js +5 -0
  118. package/dist/collection/vendor/calcite-components/BAHKYVUM.js +4 -0
  119. package/dist/collection/vendor/calcite-components/BTHSKXWS.js +4 -0
  120. package/dist/collection/vendor/calcite-components/BWCV737I.js +4 -0
  121. package/dist/collection/vendor/calcite-components/BZV465ZG.js +4 -0
  122. package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +4 -0
  123. package/dist/collection/vendor/calcite-components/C5MKAGNV.js +4 -0
  124. package/dist/collection/vendor/calcite-components/CK3TASCY.js +4 -0
  125. package/dist/collection/vendor/calcite-components/D2MINRBA.js +4 -0
  126. package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +4 -0
  127. package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +4 -0
  128. package/dist/collection/vendor/calcite-components/DL75ZJBG.js +4 -0
  129. package/dist/collection/vendor/calcite-components/DO4RITGJ.js +4 -0
  130. package/dist/collection/vendor/calcite-components/DSL2FNLA.js +4 -0
  131. package/dist/collection/vendor/calcite-components/DTEHSI7W.js +4 -0
  132. package/dist/collection/vendor/calcite-components/DUTPXINY.js +4 -0
  133. package/dist/collection/vendor/calcite-components/DY22I2GZ.js +4 -0
  134. package/dist/collection/vendor/calcite-components/DYN74HSB.js +4 -0
  135. package/dist/collection/vendor/calcite-components/E3CWAGXE.js +4 -0
  136. package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +4 -0
  137. package/dist/collection/vendor/calcite-components/EBFZRB3A.js +4 -0
  138. package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +4 -0
  139. package/dist/collection/vendor/calcite-components/EGC7NBN5.js +4 -0
  140. package/dist/collection/vendor/calcite-components/EILXZAAH.js +4 -0
  141. package/dist/collection/vendor/calcite-components/EISHHIYI.js +4 -0
  142. package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +4 -0
  143. package/dist/collection/vendor/calcite-components/ERDL4UCD.js +4 -0
  144. package/dist/collection/vendor/calcite-components/EYPFBUR7.js +4 -0
  145. package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +4 -0
  146. package/dist/collection/vendor/calcite-components/FAQ7B73H.js +4 -0
  147. package/dist/collection/vendor/calcite-components/FAULLEJY.js +4 -0
  148. package/dist/collection/vendor/calcite-components/FH7G4JPL.js +28 -0
  149. package/dist/collection/vendor/calcite-components/FHAH57CK.js +4 -0
  150. package/dist/collection/vendor/calcite-components/FHGZNYTT.js +4 -0
  151. package/dist/collection/vendor/calcite-components/FLXOWNYW.js +4 -0
  152. package/dist/collection/vendor/calcite-components/FVABUFOH.js +4 -0
  153. package/dist/collection/vendor/calcite-components/G2JF63JV.js +4 -0
  154. package/dist/collection/vendor/calcite-components/G63OZT6W.js +4 -0
  155. package/dist/collection/vendor/calcite-components/GESC7PRY.js +4 -0
  156. package/dist/collection/vendor/calcite-components/GIAH7CPN.js +4 -0
  157. package/dist/collection/vendor/calcite-components/GNZIY4A2.js +4 -0
  158. package/dist/collection/vendor/calcite-components/GPNKRGK6.js +4 -0
  159. package/dist/collection/vendor/calcite-components/GSUR5POR.js +4 -0
  160. package/dist/collection/vendor/calcite-components/GY22257T.js +4 -0
  161. package/dist/collection/vendor/calcite-components/H2PEX7CU.js +4 -0
  162. package/dist/collection/vendor/calcite-components/H2UMFA24.js +4 -0
  163. package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +4 -0
  164. package/dist/collection/vendor/calcite-components/HALAA7KD.js +4 -0
  165. package/dist/collection/vendor/calcite-components/HHC7VSD3.js +4 -0
  166. package/dist/collection/vendor/calcite-components/HNGJKPNS.js +4 -0
  167. package/dist/collection/vendor/calcite-components/HQLH54Q4.js +4 -0
  168. package/dist/collection/vendor/calcite-components/HZLG5SUR.js +4 -0
  169. package/dist/collection/vendor/calcite-components/HZUKYZNP.js +4 -0
  170. package/dist/collection/vendor/calcite-components/IHBCPOXF.js +4 -0
  171. package/dist/collection/vendor/calcite-components/IIERNP6W.js +4 -0
  172. package/dist/collection/vendor/calcite-components/ILJVRQHM.js +4 -0
  173. package/dist/collection/vendor/calcite-components/IQTGVLQG.js +4 -0
  174. package/dist/collection/vendor/calcite-components/IRW4MFB4.js +4 -0
  175. package/dist/collection/vendor/calcite-components/J4KGM5S7.js +5 -0
  176. package/dist/collection/vendor/calcite-components/JCQBVDTR.js +4 -0
  177. package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +4 -0
  178. package/dist/collection/vendor/calcite-components/JE5DGAJR.js +4 -0
  179. package/dist/collection/vendor/calcite-components/JL7OLH3T.js +4 -0
  180. package/dist/collection/vendor/calcite-components/JTWLPIB2.js +4 -0
  181. package/dist/collection/vendor/calcite-components/K53JENHF.js +4 -0
  182. package/dist/collection/vendor/calcite-components/K5ODBKLP.js +4 -0
  183. package/dist/collection/vendor/calcite-components/KC4IYMUL.js +4 -0
  184. package/dist/collection/vendor/calcite-components/KE7WVOAV.js +4 -0
  185. package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +4 -0
  186. package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +4 -0
  187. package/dist/collection/vendor/calcite-components/KNE7ABCR.js +4 -0
  188. package/dist/collection/vendor/calcite-components/KOFGYSC5.js +4 -0
  189. package/dist/collection/vendor/calcite-components/KOH6G4XV.js +4 -0
  190. package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +4 -0
  191. package/dist/collection/vendor/calcite-components/KRZW2DWF.js +4 -0
  192. package/dist/collection/vendor/calcite-components/KSFXKRML.js +4 -0
  193. package/dist/collection/vendor/calcite-components/KTJZCONU.js +4 -0
  194. package/dist/collection/vendor/calcite-components/KXJRCIPX.js +4 -0
  195. package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +4 -0
  196. package/dist/collection/vendor/calcite-components/LEAJPPH4.js +4 -0
  197. package/dist/collection/vendor/calcite-components/LKNGKUUT.js +4 -0
  198. package/dist/collection/vendor/calcite-components/LLYFYC3S.js +4 -0
  199. package/dist/collection/vendor/calcite-components/LLYVXFI4.js +4 -0
  200. package/dist/collection/vendor/calcite-components/LMPMNF4U.js +4 -0
  201. package/dist/collection/vendor/calcite-components/LNUDHR7T.js +4 -0
  202. package/dist/collection/vendor/calcite-components/LRXQU7WR.js +4 -0
  203. package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +4 -0
  204. package/dist/collection/vendor/calcite-components/MEXPAXRW.js +4 -0
  205. package/dist/collection/vendor/calcite-components/MI3K57KT.js +4 -0
  206. package/dist/collection/vendor/calcite-components/MIOMFK6B.js +4 -0
  207. package/dist/collection/vendor/calcite-components/MJII73PP.js +4 -0
  208. package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +4 -0
  209. package/dist/collection/vendor/calcite-components/MQSDYLGW.js +4 -0
  210. package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +4 -0
  211. package/dist/collection/vendor/calcite-components/N2PDJVSE.js +4 -0
  212. package/dist/collection/vendor/calcite-components/NERFG233.js +4 -0
  213. package/dist/collection/vendor/calcite-components/NIUBMFXO.js +4 -0
  214. package/dist/collection/vendor/calcite-components/NK25FAZ6.js +4 -0
  215. package/dist/collection/vendor/calcite-components/NK4ED4IH.js +5 -0
  216. package/dist/collection/vendor/calcite-components/NOJTDKA6.js +4 -0
  217. package/dist/collection/vendor/calcite-components/NUY7EYNX.js +4 -0
  218. package/dist/collection/vendor/calcite-components/NWA7UYBI.js +4 -0
  219. package/dist/collection/vendor/calcite-components/NWNWCSUO.js +4 -0
  220. package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +4 -0
  221. package/dist/collection/vendor/calcite-components/O6RKIBH2.js +4 -0
  222. package/dist/collection/vendor/calcite-components/OP2QHRHR.js +4 -0
  223. package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +4 -0
  224. package/dist/collection/vendor/calcite-components/P6BFNJVU.js +4 -0
  225. package/dist/collection/vendor/calcite-components/P6VB45CQ.js +4 -0
  226. package/dist/collection/vendor/calcite-components/PNTWJB75.js +4 -0
  227. package/dist/collection/vendor/calcite-components/PTUZR2XV.js +4 -0
  228. package/dist/collection/vendor/calcite-components/QBNHVQWS.js +4 -0
  229. package/dist/collection/vendor/calcite-components/QD6WQCPN.js +4 -0
  230. package/dist/collection/vendor/calcite-components/QEBXFL3K.js +4 -0
  231. package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +4 -0
  232. package/dist/collection/vendor/calcite-components/QTGKBVAW.js +4 -0
  233. package/dist/collection/vendor/calcite-components/QVLHSABE.js +4 -0
  234. package/dist/collection/vendor/calcite-components/RATZT6K7.js +4 -0
  235. package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +4 -0
  236. package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +4 -0
  237. package/dist/collection/vendor/calcite-components/ROTKUEC4.js +4 -0
  238. package/dist/collection/vendor/calcite-components/RRR3UCDP.js +4 -0
  239. package/dist/collection/vendor/calcite-components/RXJQR5VC.js +4 -0
  240. package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +4 -0
  241. package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +4 -0
  242. package/dist/collection/vendor/calcite-components/S5QILLXK.js +4 -0
  243. package/dist/collection/vendor/calcite-components/S5WUGWLI.js +4 -0
  244. package/dist/collection/vendor/calcite-components/SLILJOTA.js +4 -0
  245. package/dist/collection/vendor/calcite-components/SZIQPAWB.js +4 -0
  246. package/dist/collection/vendor/calcite-components/T2EFD7MK.js +4 -0
  247. package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +4 -0
  248. package/dist/collection/vendor/calcite-components/TRXE64SN.js +4 -0
  249. package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +4 -0
  250. package/dist/collection/vendor/calcite-components/TZPOTIWO.js +4 -0
  251. package/dist/collection/vendor/calcite-components/UKOMGWYV.js +4 -0
  252. package/dist/collection/vendor/calcite-components/ULI2WHN6.js +4 -0
  253. package/dist/collection/vendor/calcite-components/UPO2OA2C.js +4 -0
  254. package/dist/collection/vendor/calcite-components/V7QQRUYR.js +4 -0
  255. package/dist/collection/vendor/calcite-components/VA6SEF3H.js +4 -0
  256. package/dist/collection/vendor/calcite-components/VCGYS6AC.js +4 -0
  257. package/dist/collection/vendor/calcite-components/VHIVTMYL.js +22 -0
  258. package/dist/collection/vendor/calcite-components/VIFJTMJE.js +4 -0
  259. package/dist/collection/vendor/calcite-components/VKUXTBMA.js +4 -0
  260. package/dist/collection/vendor/calcite-components/VYBRMYZA.js +4 -0
  261. package/dist/collection/vendor/calcite-components/VYSYUSUT.js +4 -0
  262. package/dist/collection/vendor/calcite-components/WHQERKO3.js +4 -0
  263. package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +4 -0
  264. package/dist/collection/vendor/calcite-components/WRRV2226.js +4 -0
  265. package/dist/collection/vendor/calcite-components/X5OT5VWP.js +4 -0
  266. package/dist/collection/vendor/calcite-components/X7WD2RXW.js +4 -0
  267. package/dist/collection/vendor/calcite-components/XGGCYCLU.js +4 -0
  268. package/dist/collection/vendor/calcite-components/XJUGTTYP.js +4 -0
  269. package/dist/collection/vendor/calcite-components/XK6ESUWM.js +4 -0
  270. package/dist/collection/vendor/calcite-components/XODNGXTR.js +4 -0
  271. package/dist/collection/vendor/calcite-components/XP22SQKN.js +4 -0
  272. package/dist/collection/vendor/calcite-components/XUCLKKAR.js +4 -0
  273. package/dist/collection/vendor/calcite-components/XWO5T62V.js +4 -0
  274. package/dist/collection/vendor/calcite-components/XY7DR573.js +4 -0
  275. package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +4 -0
  276. package/dist/collection/vendor/calcite-components/YF3UCGCR.js +4 -0
  277. package/dist/collection/vendor/calcite-components/YH3WSHXS.js +4 -0
  278. package/dist/collection/vendor/calcite-components/YOI4NTGG.js +4 -0
  279. package/dist/collection/vendor/calcite-components/YP2GEKXK.js +4 -0
  280. package/dist/collection/vendor/calcite-components/YQDF2N5J.js +4 -0
  281. package/dist/collection/vendor/calcite-components/YRCGG4BE.js +4 -0
  282. package/dist/collection/vendor/calcite-components/YTSHEMU3.js +4 -0
  283. package/dist/collection/vendor/calcite-components/YUQIXR5A.js +4 -0
  284. package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +4 -0
  285. package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +4 -0
  286. package/dist/collection/vendor/calcite-components/ZITAONDY.js +4 -0
  287. package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +4 -0
  288. package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +4 -0
  289. package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +4 -0
  290. package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
  291. package/dist/components/index.es.js +6 -5
  292. package/dist/components/instant-apps-keyboard-shortcuts.js +17 -17
  293. package/dist/components/instant-apps-language-switcher.js +815 -9
  294. package/dist/components/instant-apps-language-translator2.js +1 -1
  295. package/dist/components/layer-table2.js +0 -6
  296. package/dist/components/loadModules2.js +1 -1
  297. package/dist/esm/asyncToGenerator-48cd21fe.js +88 -0
  298. package/dist/esm/basemap-gallery_7.entry.js +3 -3
  299. package/dist/esm/buffer-tools_2.entry.js +5 -5
  300. package/dist/esm/card-manager_3.entry.js +5 -11
  301. package/dist/esm/consent-manager.entry.js +5 -5
  302. package/dist/esm/create-feature_4.entry.js +6 -6
  303. package/dist/esm/create-related-feature_3.entry.js +3 -3
  304. package/dist/esm/crowdsource-manager.entry.js +3 -3
  305. package/dist/esm/crowdsource-reporter.entry.js +3 -3
  306. package/dist/esm/deduct-calculator.entry.js +1 -1
  307. package/dist/esm/delete-dialog.entry.js +3 -3
  308. package/dist/esm/downloadUtils-992b4e25.js +3217 -0
  309. package/dist/esm/effects-45daffc6.js +81 -0
  310. package/dist/esm/feature-list.entry.js +6 -6
  311. package/dist/esm/helpers-38ea1ae1.js +841 -0
  312. package/dist/esm/index-000c7a7c.js +1870 -0
  313. package/dist/esm/index-f7533fcc.js +199 -0
  314. package/dist/esm/index.es-c379ea10.js +11108 -0
  315. package/dist/esm/instant-apps-app-guide.entry.js +5 -5
  316. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
  317. package/dist/esm/instant-apps-control-panel.entry.js +3 -3
  318. package/dist/esm/instant-apps-create.entry.js +5 -5
  319. package/dist/esm/instant-apps-export-views.entry.js +5 -5
  320. package/dist/esm/instant-apps-export.entry.js +5 -5
  321. package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
  322. package/dist/esm/instant-apps-header.entry.js +3 -3
  323. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
  324. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
  325. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
  326. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
  327. package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
  328. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +22 -22
  329. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  330. package/dist/esm/instant-apps-language-switcher.entry.js +822 -16
  331. package/dist/esm/instant-apps-language-translator.entry.js +815 -8
  332. package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
  333. package/dist/esm/instant-apps-measurement.entry.js +5 -5
  334. package/dist/esm/instant-apps-popover.entry.js +5 -5
  335. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  336. package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
  337. package/dist/esm/instant-apps-sign-in.entry.js +5 -5
  338. package/dist/esm/instant-apps-splash.entry.js +5 -5
  339. package/dist/esm/instant-apps-time-filter.entry.js +7 -7
  340. package/dist/esm/json-editor_7.entry.js +5 -5
  341. package/dist/esm/languageSwitcher-446c6fe7.js +49 -0
  342. package/dist/esm/languageUtil-a3e6adf6.js +66 -0
  343. package/dist/esm/loadModules-736e0284.js +21 -0
  344. package/dist/esm/loader.js +2 -2
  345. package/dist/esm/locale-5b76949e.js +938 -0
  346. package/dist/esm/locale-8a3e6795.js +155 -0
  347. package/dist/esm/map-layer-picker.entry.js +5 -5
  348. package/dist/esm/map-select-tools_3.entry.js +7 -7
  349. package/dist/esm/pci-calculator.entry.js +1 -1
  350. package/dist/esm/popupUtils-12e61a9a.js +119 -0
  351. package/dist/esm/public-notification.entry.js +7 -7
  352. package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
  353. package/dist/esm/solution-configuration.entry.js +5 -5
  354. package/dist/esm/solution-contents_3.entry.js +5 -5
  355. package/dist/esm/solution-item-accordion.entry.js +3 -3
  356. package/dist/esm/solution-item-icon.entry.js +1 -1
  357. package/dist/esm/solution-store-26e3d8c6.js +1103 -0
  358. package/dist/esm/solutions-components.js +3 -3
  359. package/dist/esm/spatial-ref.entry.js +3 -3
  360. package/dist/esm/store-manager.entry.js +3 -3
  361. package/dist/esm/utils-793f7261.js +142 -0
  362. package/dist/solutions-components/p-056d4371.entry.js +6 -0
  363. package/dist/solutions-components/p-097bac90.entry.js +6 -0
  364. package/dist/solutions-components/p-0bb54295.entry.js +6 -0
  365. package/dist/solutions-components/p-0d110867.entry.js +6 -0
  366. package/dist/solutions-components/p-0d311ebf.entry.js +11 -0
  367. package/dist/solutions-components/p-0d879c77.entry.js +6 -0
  368. package/dist/solutions-components/p-0e3b3aa8.entry.js +6 -0
  369. package/dist/solutions-components/p-1309ac58.js +129 -0
  370. package/dist/solutions-components/p-1e364924.js +6 -0
  371. package/dist/solutions-components/p-20085e58.js +488 -0
  372. package/dist/solutions-components/p-2010e62e.entry.js +6 -0
  373. package/dist/solutions-components/p-256ce5cc.entry.js +21 -0
  374. package/dist/solutions-components/p-2b9d58dc.entry.js +6 -0
  375. package/dist/solutions-components/p-340c71f3.entry.js +6 -0
  376. package/dist/solutions-components/p-3e25c5b0.js +6 -0
  377. package/dist/solutions-components/p-3ea987a7.js +6 -0
  378. package/dist/solutions-components/p-44105d86.entry.js +6 -0
  379. package/dist/solutions-components/p-47abefd3.entry.js +6 -0
  380. package/dist/solutions-components/p-5474d6f0.entry.js +6 -0
  381. package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
  382. package/dist/solutions-components/p-60bdf635.entry.js +6 -0
  383. package/dist/solutions-components/p-62a0aa8e.js +6 -0
  384. package/dist/solutions-components/p-6d1ee086.js +61 -0
  385. package/dist/solutions-components/p-74b3e39c.entry.js +6 -0
  386. package/dist/solutions-components/p-78051ff1.js +6 -0
  387. package/dist/solutions-components/p-79083691.entry.js +6 -0
  388. package/dist/solutions-components/p-7e1c353c.entry.js +6 -0
  389. package/dist/solutions-components/p-8169d4af.entry.js +6 -0
  390. package/dist/solutions-components/p-88de10d1.entry.js +6 -0
  391. package/dist/solutions-components/p-8ab5efc1.entry.js +21 -0
  392. package/dist/solutions-components/p-8af77823.entry.js +6 -0
  393. package/dist/solutions-components/p-8c40bdec.js +7 -0
  394. package/dist/solutions-components/p-91bb7fdc.js +21 -0
  395. package/dist/solutions-components/p-9e92da5e.entry.js +6 -0
  396. package/dist/solutions-components/p-a1d1dc83.entry.js +6 -0
  397. package/dist/solutions-components/p-a23de3b0.js +36 -0
  398. package/dist/solutions-components/p-a4bd7b09.js +6 -0
  399. package/dist/solutions-components/p-a5c51211.entry.js +6 -0
  400. package/dist/solutions-components/p-a7d18a21.entry.js +6 -0
  401. package/dist/solutions-components/p-ad03f5cf.entry.js +6 -0
  402. package/dist/solutions-components/p-ae7bcbff.entry.js +6 -0
  403. package/dist/solutions-components/p-af2c8aa9.js +6 -0
  404. package/dist/solutions-components/p-b0551d23.entry.js +6 -0
  405. package/dist/solutions-components/p-b2a6916d.entry.js +6 -0
  406. package/dist/solutions-components/p-bf007c87.js +21 -0
  407. package/dist/solutions-components/p-c1a752b9.entry.js +6 -0
  408. package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
  409. package/dist/solutions-components/p-c421d92d.entry.js +6 -0
  410. package/dist/solutions-components/p-c44cbee6.entry.js +6 -0
  411. package/dist/solutions-components/p-c5f701bd.entry.js +6 -0
  412. package/dist/solutions-components/p-d32b5127.entry.js +6 -0
  413. package/dist/solutions-components/p-d600ca73.entry.js +6 -0
  414. package/dist/solutions-components/p-d995adc3.entry.js +6 -0
  415. package/dist/solutions-components/p-da1ac695.entry.js +6 -0
  416. package/dist/solutions-components/p-e508cfaf.entry.js +6 -0
  417. package/dist/solutions-components/p-e8fa98f5.entry.js +6 -0
  418. package/dist/solutions-components/p-ea6440fd.js +6 -0
  419. package/dist/solutions-components/p-ed8f7591.entry.js +6 -0
  420. package/dist/solutions-components/p-f64eeaad.entry.js +6 -0
  421. package/dist/solutions-components/p-f9b7f97e.entry.js +6 -0
  422. package/dist/solutions-components/p-fa639501.js +6 -0
  423. package/dist/solutions-components/p-ff3d2df3.entry.js +6 -0
  424. package/dist/solutions-components/p-ffa545ee.entry.js +6 -0
  425. package/dist/solutions-components/solutions-components.esm.js +1 -1
  426. package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +4 -0
  427. package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +4 -0
  428. package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +4 -0
  429. package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +4 -0
  430. package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +4 -0
  431. package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +4 -0
  432. package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +4 -0
  433. package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +4 -0
  434. package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +4 -0
  435. package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +4 -0
  436. package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +4 -0
  437. package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +4 -0
  438. package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +4 -0
  439. package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +4 -0
  440. package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +4 -0
  441. package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +4 -0
  442. package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +4 -0
  443. package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +4 -0
  444. package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +4 -0
  445. package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +4 -0
  446. package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +4 -0
  447. package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +4 -0
  448. package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +6 -0
  449. package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +4 -0
  450. package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +4 -0
  451. package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +4 -0
  452. package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +4 -0
  453. package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +4 -0
  454. package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +4 -0
  455. package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +4 -0
  456. package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +4 -0
  457. package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +4 -0
  458. package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +4 -0
  459. package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +5 -0
  460. package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +4 -0
  461. package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +4 -0
  462. package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +4 -0
  463. package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +4 -0
  464. package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +4 -0
  465. package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +4 -0
  466. package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +4 -0
  467. package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +4 -0
  468. package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +4 -0
  469. package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +4 -0
  470. package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +4 -0
  471. package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +4 -0
  472. package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +4 -0
  473. package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +4 -0
  474. package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +4 -0
  475. package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +5 -0
  476. package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +4 -0
  477. package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +4 -0
  478. package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +4 -0
  479. package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +4 -0
  480. package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +4 -0
  481. package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +4 -0
  482. package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +4 -0
  483. package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +4 -0
  484. package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +4 -0
  485. package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +4 -0
  486. package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +4 -0
  487. package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +4 -0
  488. package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +4 -0
  489. package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +4 -0
  490. package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +4 -0
  491. package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +4 -0
  492. package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +4 -0
  493. package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +4 -0
  494. package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +4 -0
  495. package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +4 -0
  496. package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +4 -0
  497. package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +4 -0
  498. package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +4 -0
  499. package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +4 -0
  500. package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +4 -0
  501. package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +4 -0
  502. package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +4 -0
  503. package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +4 -0
  504. package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +4 -0
  505. package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +4 -0
  506. package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +28 -0
  507. package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +4 -0
  508. package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +4 -0
  509. package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +4 -0
  510. package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +4 -0
  511. package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +4 -0
  512. package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +4 -0
  513. package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +4 -0
  514. package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +4 -0
  515. package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +4 -0
  516. package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +4 -0
  517. package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +4 -0
  518. package/dist/solutions-components/vendor/calcite-components/GY22257T.js +4 -0
  519. package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +4 -0
  520. package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +4 -0
  521. package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +4 -0
  522. package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +4 -0
  523. package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +4 -0
  524. package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +4 -0
  525. package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +4 -0
  526. package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +4 -0
  527. package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +4 -0
  528. package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +4 -0
  529. package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +4 -0
  530. package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +4 -0
  531. package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +4 -0
  532. package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +4 -0
  533. package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +5 -0
  534. package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +4 -0
  535. package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +4 -0
  536. package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +4 -0
  537. package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +4 -0
  538. package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +4 -0
  539. package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +4 -0
  540. package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +4 -0
  541. package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +4 -0
  542. package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +4 -0
  543. package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +4 -0
  544. package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +4 -0
  545. package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +4 -0
  546. package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +4 -0
  547. package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +4 -0
  548. package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +4 -0
  549. package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +4 -0
  550. package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +4 -0
  551. package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +4 -0
  552. package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +4 -0
  553. package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +4 -0
  554. package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +4 -0
  555. package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +4 -0
  556. package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +4 -0
  557. package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +4 -0
  558. package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +4 -0
  559. package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +4 -0
  560. package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +4 -0
  561. package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +4 -0
  562. package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +4 -0
  563. package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +4 -0
  564. package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +4 -0
  565. package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +4 -0
  566. package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +4 -0
  567. package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +4 -0
  568. package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +4 -0
  569. package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +4 -0
  570. package/dist/solutions-components/vendor/calcite-components/NERFG233.js +4 -0
  571. package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +4 -0
  572. package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +4 -0
  573. package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +5 -0
  574. package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +4 -0
  575. package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +4 -0
  576. package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +4 -0
  577. package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +4 -0
  578. package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +4 -0
  579. package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +4 -0
  580. package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +4 -0
  581. package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +4 -0
  582. package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +4 -0
  583. package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +4 -0
  584. package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +4 -0
  585. package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +4 -0
  586. package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +4 -0
  587. package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +4 -0
  588. package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +4 -0
  589. package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +4 -0
  590. package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +4 -0
  591. package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +4 -0
  592. package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +4 -0
  593. package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +4 -0
  594. package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +4 -0
  595. package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +4 -0
  596. package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +4 -0
  597. package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +4 -0
  598. package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +4 -0
  599. package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +4 -0
  600. package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +4 -0
  601. package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +4 -0
  602. package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +4 -0
  603. package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +4 -0
  604. package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +4 -0
  605. package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +4 -0
  606. package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +4 -0
  607. package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +4 -0
  608. package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +4 -0
  609. package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +4 -0
  610. package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +4 -0
  611. package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +4 -0
  612. package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +4 -0
  613. package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +4 -0
  614. package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +4 -0
  615. package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +22 -0
  616. package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +4 -0
  617. package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +4 -0
  618. package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +4 -0
  619. package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +4 -0
  620. package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +4 -0
  621. package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +4 -0
  622. package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +4 -0
  623. package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +4 -0
  624. package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +4 -0
  625. package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +4 -0
  626. package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +4 -0
  627. package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +4 -0
  628. package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +4 -0
  629. package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +4 -0
  630. package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +4 -0
  631. package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +4 -0
  632. package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +4 -0
  633. package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +4 -0
  634. package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +4 -0
  635. package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +4 -0
  636. package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +4 -0
  637. package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +4 -0
  638. package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +4 -0
  639. package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +4 -0
  640. package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +4 -0
  641. package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +4 -0
  642. package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +4 -0
  643. package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +4 -0
  644. package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +4 -0
  645. package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +4 -0
  646. package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +4 -0
  647. package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +4 -0
  648. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
  649. package/dist/solutions-components_commit.txt +7 -5
  650. package/package.json +3 -3
  651. package/dist/cjs/asyncToGenerator-c7fc3ee4.js +0 -92
  652. package/dist/cjs/constants-bed33322.js +0 -860
  653. package/dist/cjs/downloadUtils-37a2426c.js +0 -3223
  654. package/dist/cjs/effects-fdd163a9.js +0 -83
  655. package/dist/cjs/helpers-f649d911.js +0 -867
  656. package/dist/cjs/index-915dd9e3.js +0 -201
  657. package/dist/cjs/index-dd05c644.js +0 -1901
  658. package/dist/cjs/index.es-6549e26a.js +0 -11194
  659. package/dist/cjs/languageUtil-a3e1eafd.js +0 -69
  660. package/dist/cjs/loadModules-df8b13ca.js +0 -23
  661. package/dist/cjs/locale-9cb687b1.js +0 -160
  662. package/dist/cjs/locale-d10ec17b.js +0 -943
  663. package/dist/cjs/popupUtils-c1061629.js +0 -121
  664. package/dist/cjs/publicNotificationStore-30643216.js +0 -47
  665. package/dist/cjs/solution-store-9b6ae901.js +0 -1105
  666. package/dist/cjs/utils-acaa2acd.js +0 -153
  667. package/dist/collection/vendor/calcite-components/24P6DEQH.js +0 -4
  668. package/dist/collection/vendor/calcite-components/2AVRQATR.js +0 -4
  669. package/dist/collection/vendor/calcite-components/2CTO4WXV.js +0 -4
  670. package/dist/collection/vendor/calcite-components/2I33XQO3.js +0 -4
  671. package/dist/collection/vendor/calcite-components/2VMQ4ZHH.js +0 -4
  672. package/dist/collection/vendor/calcite-components/2XGOJ2TK.js +0 -4
  673. package/dist/collection/vendor/calcite-components/2Z6KCCXZ.js +0 -4
  674. package/dist/collection/vendor/calcite-components/36GZKNTR.js +0 -4
  675. package/dist/collection/vendor/calcite-components/3APPCCCZ.js +0 -4
  676. package/dist/collection/vendor/calcite-components/3AWHEFUT.js +0 -4
  677. package/dist/collection/vendor/calcite-components/3NZA5FPC.js +0 -4
  678. package/dist/collection/vendor/calcite-components/4CJKDY6O.js +0 -4
  679. package/dist/collection/vendor/calcite-components/4CN4DMSY.js +0 -4
  680. package/dist/collection/vendor/calcite-components/4D6XNDXD.js +0 -4
  681. package/dist/collection/vendor/calcite-components/4GH4R7AR.js +0 -4
  682. package/dist/collection/vendor/calcite-components/4NZ22FMP.js +0 -4
  683. package/dist/collection/vendor/calcite-components/4TW23CN7.js +0 -4
  684. package/dist/collection/vendor/calcite-components/4W55CXIJ.js +0 -4
  685. package/dist/collection/vendor/calcite-components/4YCDJ4BL.js +0 -4
  686. package/dist/collection/vendor/calcite-components/57KYZCIP.js +0 -4
  687. package/dist/collection/vendor/calcite-components/5DTLNTCL.js +0 -4
  688. package/dist/collection/vendor/calcite-components/5E4NPYBD.js +0 -4
  689. package/dist/collection/vendor/calcite-components/5E6WFGQD.js +0 -4
  690. package/dist/collection/vendor/calcite-components/5TU2CNVP.js +0 -4
  691. package/dist/collection/vendor/calcite-components/5U35BULS.js +0 -4
  692. package/dist/collection/vendor/calcite-components/5WIIOMNV.js +0 -6
  693. package/dist/collection/vendor/calcite-components/62UA4F4S.js +0 -4
  694. package/dist/collection/vendor/calcite-components/62VYJEUG.js +0 -4
  695. package/dist/collection/vendor/calcite-components/65NO3JUC.js +0 -4
  696. package/dist/collection/vendor/calcite-components/6GZCW3B4.js +0 -4
  697. package/dist/collection/vendor/calcite-components/6LJIPAYF.js +0 -4
  698. package/dist/collection/vendor/calcite-components/6LTFSVKG.js +0 -4
  699. package/dist/collection/vendor/calcite-components/6QDWHJ5K.js +0 -4
  700. package/dist/collection/vendor/calcite-components/6U6YH5MS.js +0 -4
  701. package/dist/collection/vendor/calcite-components/6VFJT5QA.js +0 -4
  702. package/dist/collection/vendor/calcite-components/6Y4OKAGD.js +0 -4
  703. package/dist/collection/vendor/calcite-components/74SSYUHC.js +0 -5
  704. package/dist/collection/vendor/calcite-components/75GQA36Q.js +0 -4
  705. package/dist/collection/vendor/calcite-components/7AD7VKZ6.js +0 -4
  706. package/dist/collection/vendor/calcite-components/7MGQRD7Z.js +0 -4
  707. package/dist/collection/vendor/calcite-components/7Q4LBBRD.js +0 -4
  708. package/dist/collection/vendor/calcite-components/7YRITLGU.js +0 -4
  709. package/dist/collection/vendor/calcite-components/A43TKJ6J.js +0 -4
  710. package/dist/collection/vendor/calcite-components/A4LOL6RT.js +0 -4
  711. package/dist/collection/vendor/calcite-components/A6LI6WSB.js +0 -4
  712. package/dist/collection/vendor/calcite-components/AD27WW7R.js +0 -4
  713. package/dist/collection/vendor/calcite-components/AHU7FP65.js +0 -4
  714. package/dist/collection/vendor/calcite-components/AI3NCYN4.js +0 -4
  715. package/dist/collection/vendor/calcite-components/AU24EMIU.js +0 -4
  716. package/dist/collection/vendor/calcite-components/AZ2MVQY2.js +0 -4
  717. package/dist/collection/vendor/calcite-components/BNWN4RE2.js +0 -4
  718. package/dist/collection/vendor/calcite-components/BQHDLRDE.js +0 -4
  719. package/dist/collection/vendor/calcite-components/BYJ6CJMV.js +0 -4
  720. package/dist/collection/vendor/calcite-components/C456ACXC.js +0 -4
  721. package/dist/collection/vendor/calcite-components/CFACWEH3.js +0 -4
  722. package/dist/collection/vendor/calcite-components/CZ6YBXDI.js +0 -4
  723. package/dist/collection/vendor/calcite-components/D2IBWEZJ.js +0 -4
  724. package/dist/collection/vendor/calcite-components/D5V7QPEQ.js +0 -4
  725. package/dist/collection/vendor/calcite-components/DV72VFBR.js +0 -4
  726. package/dist/collection/vendor/calcite-components/DXTGGP6F.js +0 -4
  727. package/dist/collection/vendor/calcite-components/DYX3VYAF.js +0 -4
  728. package/dist/collection/vendor/calcite-components/E4INVUQF.js +0 -4
  729. package/dist/collection/vendor/calcite-components/EC76JAWC.js +0 -4
  730. package/dist/collection/vendor/calcite-components/EFBSBD4Q.js +0 -4
  731. package/dist/collection/vendor/calcite-components/EGQT3WAL.js +0 -4
  732. package/dist/collection/vendor/calcite-components/ELLEOMPV.js +0 -4
  733. package/dist/collection/vendor/calcite-components/EQL77WNN.js +0 -4
  734. package/dist/collection/vendor/calcite-components/EREAGDHN.js +0 -4
  735. package/dist/collection/vendor/calcite-components/ETCKBCGT.js +0 -4
  736. package/dist/collection/vendor/calcite-components/F3MFWM7N.js +0 -4
  737. package/dist/collection/vendor/calcite-components/F57BIANZ.js +0 -4
  738. package/dist/collection/vendor/calcite-components/FLGYQACS.js +0 -4
  739. package/dist/collection/vendor/calcite-components/FVKXG7IX.js +0 -4
  740. package/dist/collection/vendor/calcite-components/FX4E46UA.js +0 -4
  741. package/dist/collection/vendor/calcite-components/FXMO4NFQ.js +0 -4
  742. package/dist/collection/vendor/calcite-components/G377AV4F.js +0 -4
  743. package/dist/collection/vendor/calcite-components/G4UFYIPU.js +0 -4
  744. package/dist/collection/vendor/calcite-components/G5GEKU4E.js +0 -4
  745. package/dist/collection/vendor/calcite-components/GEIJQLU7.js +0 -4
  746. package/dist/collection/vendor/calcite-components/GI3XXRNT.js +0 -4
  747. package/dist/collection/vendor/calcite-components/GQMODQ6D.js +0 -4
  748. package/dist/collection/vendor/calcite-components/GSVJHXH2.js +0 -4
  749. package/dist/collection/vendor/calcite-components/GUMVKQTR.js +0 -4
  750. package/dist/collection/vendor/calcite-components/GVOEPDQC.js +0 -4
  751. package/dist/collection/vendor/calcite-components/GWWXB6FV.js +0 -4
  752. package/dist/collection/vendor/calcite-components/GYOK6DI7.js +0 -4
  753. package/dist/collection/vendor/calcite-components/HDAL3OW2.js +0 -4
  754. package/dist/collection/vendor/calcite-components/HIP3N6DH.js +0 -4
  755. package/dist/collection/vendor/calcite-components/HLGSDCWJ.js +0 -4
  756. package/dist/collection/vendor/calcite-components/HPFASJXB.js +0 -4
  757. package/dist/collection/vendor/calcite-components/HPY2G26P.js +0 -4
  758. package/dist/collection/vendor/calcite-components/HYWMTX3X.js +0 -4
  759. package/dist/collection/vendor/calcite-components/HZGIYOHQ.js +0 -4
  760. package/dist/collection/vendor/calcite-components/HZWEQZY7.js +0 -4
  761. package/dist/collection/vendor/calcite-components/I3PTWPIY.js +0 -4
  762. package/dist/collection/vendor/calcite-components/I4CET6OW.js +0 -5
  763. package/dist/collection/vendor/calcite-components/I4G6P727.js +0 -4
  764. package/dist/collection/vendor/calcite-components/I6YTTPYR.js +0 -4
  765. package/dist/collection/vendor/calcite-components/IG7V543A.js +0 -4
  766. package/dist/collection/vendor/calcite-components/IGJ6NR2R.js +0 -4
  767. package/dist/collection/vendor/calcite-components/IMHYTFTU.js +0 -4
  768. package/dist/collection/vendor/calcite-components/IN5OHY5V.js +0 -4
  769. package/dist/collection/vendor/calcite-components/IPMCFXXP.js +0 -4
  770. package/dist/collection/vendor/calcite-components/IWHKNQVC.js +0 -4
  771. package/dist/collection/vendor/calcite-components/IXRENB6A.js +0 -4
  772. package/dist/collection/vendor/calcite-components/J6LILHDF.js +0 -4
  773. package/dist/collection/vendor/calcite-components/JADXGLI3.js +0 -4
  774. package/dist/collection/vendor/calcite-components/JLXVLF74.js +0 -4
  775. package/dist/collection/vendor/calcite-components/JWVCWXY6.js +0 -4
  776. package/dist/collection/vendor/calcite-components/K3474HB5.js +0 -4
  777. package/dist/collection/vendor/calcite-components/K43H5XTK.js +0 -4
  778. package/dist/collection/vendor/calcite-components/KEKOJLYV.js +0 -4
  779. package/dist/collection/vendor/calcite-components/KEXGE4NJ.js +0 -4
  780. package/dist/collection/vendor/calcite-components/KK3Z3W4I.js +0 -4
  781. package/dist/collection/vendor/calcite-components/KS4B6LK4.js +0 -4
  782. package/dist/collection/vendor/calcite-components/KUAZDOO6.js +0 -4
  783. package/dist/collection/vendor/calcite-components/KUGH3USL.js +0 -4
  784. package/dist/collection/vendor/calcite-components/KZL3CPTV.js +0 -5
  785. package/dist/collection/vendor/calcite-components/L3P7IWQ6.js +0 -4
  786. package/dist/collection/vendor/calcite-components/L5FEKBXU.js +0 -5
  787. package/dist/collection/vendor/calcite-components/L7UUJ325.js +0 -4
  788. package/dist/collection/vendor/calcite-components/LF6Z3CUU.js +0 -4
  789. package/dist/collection/vendor/calcite-components/LIPHS6R3.js +0 -4
  790. package/dist/collection/vendor/calcite-components/LNMOXDYH.js +0 -4
  791. package/dist/collection/vendor/calcite-components/LNX6IEUD.js +0 -4
  792. package/dist/collection/vendor/calcite-components/LSGKUJVV.js +0 -4
  793. package/dist/collection/vendor/calcite-components/LXOXPZWA.js +0 -4
  794. package/dist/collection/vendor/calcite-components/LYIEETRB.js +0 -4
  795. package/dist/collection/vendor/calcite-components/M5B5XMQA.js +0 -28
  796. package/dist/collection/vendor/calcite-components/M6TFTMFD.js +0 -4
  797. package/dist/collection/vendor/calcite-components/MO24RCUT.js +0 -4
  798. package/dist/collection/vendor/calcite-components/MOTR6ZPN.js +0 -4
  799. package/dist/collection/vendor/calcite-components/MPZIFQAA.js +0 -4
  800. package/dist/collection/vendor/calcite-components/MSERO633.js +0 -4
  801. package/dist/collection/vendor/calcite-components/N2ACZZPH.js +0 -4
  802. package/dist/collection/vendor/calcite-components/N2QB6H74.js +0 -4
  803. package/dist/collection/vendor/calcite-components/N6UWSSGW.js +0 -4
  804. package/dist/collection/vendor/calcite-components/NALQXSWX.js +0 -4
  805. package/dist/collection/vendor/calcite-components/NCKQSORU.js +0 -4
  806. package/dist/collection/vendor/calcite-components/NFGDGOX2.js +0 -4
  807. package/dist/collection/vendor/calcite-components/NJDS6SVP.js +0 -4
  808. package/dist/collection/vendor/calcite-components/NN7IWJQ4.js +0 -4
  809. package/dist/collection/vendor/calcite-components/NSI34PAP.js +0 -4
  810. package/dist/collection/vendor/calcite-components/O42B2Q4F.js +0 -4
  811. package/dist/collection/vendor/calcite-components/OGF5TUWN.js +0 -4
  812. package/dist/collection/vendor/calcite-components/OJCYBIGG.js +0 -4
  813. package/dist/collection/vendor/calcite-components/OOY2MGXQ.js +0 -4
  814. package/dist/collection/vendor/calcite-components/OQW7QIRH.js +0 -4
  815. package/dist/collection/vendor/calcite-components/OTCDMLUC.js +0 -4
  816. package/dist/collection/vendor/calcite-components/OZVEH4B5.js +0 -4
  817. package/dist/collection/vendor/calcite-components/P7HTSDH2.js +0 -22
  818. package/dist/collection/vendor/calcite-components/PLA7W3AT.js +0 -4
  819. package/dist/collection/vendor/calcite-components/PLXESTWV.js +0 -4
  820. package/dist/collection/vendor/calcite-components/PMITL6IC.js +0 -4
  821. package/dist/collection/vendor/calcite-components/PQBKOUKQ.js +0 -4
  822. package/dist/collection/vendor/calcite-components/PWUMIRZ6.js +0 -4
  823. package/dist/collection/vendor/calcite-components/Q5J2S3VY.js +0 -4
  824. package/dist/collection/vendor/calcite-components/QCZULBWY.js +0 -4
  825. package/dist/collection/vendor/calcite-components/QG6HHELM.js +0 -4
  826. package/dist/collection/vendor/calcite-components/QO3T2U37.js +0 -4
  827. package/dist/collection/vendor/calcite-components/QUDJ3N3N.js +0 -4
  828. package/dist/collection/vendor/calcite-components/QZIFYSUW.js +0 -4
  829. package/dist/collection/vendor/calcite-components/RBW3635P.js +0 -4
  830. package/dist/collection/vendor/calcite-components/RHRLZ43T.js +0 -4
  831. package/dist/collection/vendor/calcite-components/ROGH35KN.js +0 -4
  832. package/dist/collection/vendor/calcite-components/RU7EMDYD.js +0 -4
  833. package/dist/collection/vendor/calcite-components/RYTO443L.js +0 -4
  834. package/dist/collection/vendor/calcite-components/SA6NHSUC.js +0 -4
  835. package/dist/collection/vendor/calcite-components/SGUU7WHF.js +0 -4
  836. package/dist/collection/vendor/calcite-components/SHC4YDKE.js +0 -4
  837. package/dist/collection/vendor/calcite-components/T2ALVZYL.js +0 -4
  838. package/dist/collection/vendor/calcite-components/T3SQ25MS.js +0 -4
  839. package/dist/collection/vendor/calcite-components/TAD74E6K.js +0 -4
  840. package/dist/collection/vendor/calcite-components/TKUCTGZQ.js +0 -4
  841. package/dist/collection/vendor/calcite-components/TNN7X24K.js +0 -4
  842. package/dist/collection/vendor/calcite-components/TVLD3AOO.js +0 -4
  843. package/dist/collection/vendor/calcite-components/U6YW2HHD.js +0 -4
  844. package/dist/collection/vendor/calcite-components/UIF5EHAA.js +0 -4
  845. package/dist/collection/vendor/calcite-components/UPPZPSLX.js +0 -4
  846. package/dist/collection/vendor/calcite-components/UPVIMVOR.js +0 -4
  847. package/dist/collection/vendor/calcite-components/V56SP7RX.js +0 -4
  848. package/dist/collection/vendor/calcite-components/V6MKTTBQ.js +0 -4
  849. package/dist/collection/vendor/calcite-components/V7HGGFTI.js +0 -4
  850. package/dist/collection/vendor/calcite-components/V7JMIX7A.js +0 -4
  851. package/dist/collection/vendor/calcite-components/VALEMC46.js +0 -4
  852. package/dist/collection/vendor/calcite-components/VF6LK743.js +0 -4
  853. package/dist/collection/vendor/calcite-components/VICC3NDD.js +0 -4
  854. package/dist/collection/vendor/calcite-components/VP7NXOWD.js +0 -4
  855. package/dist/collection/vendor/calcite-components/VQDN7OO3.js +0 -4
  856. package/dist/collection/vendor/calcite-components/VRHJ5OK7.js +0 -4
  857. package/dist/collection/vendor/calcite-components/VSJGDSNK.js +0 -4
  858. package/dist/collection/vendor/calcite-components/VTNRWHPJ.js +0 -4
  859. package/dist/collection/vendor/calcite-components/VWRFMVFO.js +0 -4
  860. package/dist/collection/vendor/calcite-components/VYNHH43V.js +0 -4
  861. package/dist/collection/vendor/calcite-components/VZCTXPAB.js +0 -4
  862. package/dist/collection/vendor/calcite-components/W2PJHNUO.js +0 -4
  863. package/dist/collection/vendor/calcite-components/WGOS6SLC.js +0 -4
  864. package/dist/collection/vendor/calcite-components/WI77ICVL.js +0 -4
  865. package/dist/collection/vendor/calcite-components/WIMUFNVO.js +0 -4
  866. package/dist/collection/vendor/calcite-components/WKIE22JL.js +0 -4
  867. package/dist/collection/vendor/calcite-components/WL55EYBZ.js +0 -4
  868. package/dist/collection/vendor/calcite-components/WNKEORGU.js +0 -4
  869. package/dist/collection/vendor/calcite-components/WR2VE6JZ.js +0 -4
  870. package/dist/collection/vendor/calcite-components/XF5JMHOK.js +0 -4
  871. package/dist/collection/vendor/calcite-components/XIZD6JFU.js +0 -4
  872. package/dist/collection/vendor/calcite-components/XKHOO62D.js +0 -4
  873. package/dist/collection/vendor/calcite-components/XV33QQSP.js +0 -4
  874. package/dist/collection/vendor/calcite-components/XXCPMHQI.js +0 -4
  875. package/dist/collection/vendor/calcite-components/XYEB5PRT.js +0 -4
  876. package/dist/collection/vendor/calcite-components/Y3HCVBC6.js +0 -4
  877. package/dist/collection/vendor/calcite-components/Y7BXR2VY.js +0 -4
  878. package/dist/collection/vendor/calcite-components/YDUPLCIG.js +0 -4
  879. package/dist/collection/vendor/calcite-components/YOV6OIH2.js +0 -4
  880. package/dist/collection/vendor/calcite-components/YPEU6VCU.js +0 -4
  881. package/dist/collection/vendor/calcite-components/YUVCAMVK.js +0 -4
  882. package/dist/collection/vendor/calcite-components/YWAPFYEJ.js +0 -4
  883. package/dist/collection/vendor/calcite-components/YZIMMUUW.js +0 -4
  884. package/dist/collection/vendor/calcite-components/Z2FJJLZ3.js +0 -4
  885. package/dist/collection/vendor/calcite-components/ZQ6GYGGS.js +0 -4
  886. package/dist/collection/vendor/calcite-components/ZQG72P7P.js +0 -4
  887. package/dist/collection/vendor/calcite-components/ZROM77D7.js +0 -4
  888. package/dist/collection/vendor/calcite-components/ZWBJOZZD.js +0 -4
  889. package/dist/esm/asyncToGenerator-96b2368d.js +0 -88
  890. package/dist/esm/constants-637a40f5.js +0 -856
  891. package/dist/esm/downloadUtils-05da05a5.js +0 -3217
  892. package/dist/esm/effects-d42ccf96.js +0 -81
  893. package/dist/esm/helpers-3d7571df.js +0 -841
  894. package/dist/esm/index-29ce74dd.js +0 -199
  895. package/dist/esm/index-b49a8ff6.js +0 -1868
  896. package/dist/esm/index.es-6b399444.js +0 -11107
  897. package/dist/esm/languageUtil-2b6e191a.js +0 -66
  898. package/dist/esm/loadModules-d5a25252.js +0 -21
  899. package/dist/esm/locale-2b4fcfe1.js +0 -155
  900. package/dist/esm/locale-63587966.js +0 -938
  901. package/dist/esm/popupUtils-d4429b90.js +0 -119
  902. package/dist/esm/publicNotificationStore-0af2f0c7.js +0 -45
  903. package/dist/esm/solution-store-8f4fe1d9.js +0 -1103
  904. package/dist/esm/utils-f9183b76.js +0 -142
  905. package/dist/solutions-components/p-004426dc.entry.js +0 -6
  906. package/dist/solutions-components/p-01068666.entry.js +0 -6
  907. package/dist/solutions-components/p-02c009a2.entry.js +0 -6
  908. package/dist/solutions-components/p-1546373f.entry.js +0 -6
  909. package/dist/solutions-components/p-1f670efc.entry.js +0 -6
  910. package/dist/solutions-components/p-1f72c19b.entry.js +0 -6
  911. package/dist/solutions-components/p-27ff3a85.entry.js +0 -6
  912. package/dist/solutions-components/p-285c4fe6.js +0 -21
  913. package/dist/solutions-components/p-2fc2238d.entry.js +0 -6
  914. package/dist/solutions-components/p-33ca9789.entry.js +0 -6
  915. package/dist/solutions-components/p-37fd56c8.entry.js +0 -6
  916. package/dist/solutions-components/p-3df0f3d3.js +0 -6
  917. package/dist/solutions-components/p-419233a3.js +0 -488
  918. package/dist/solutions-components/p-442a68ea.entry.js +0 -6
  919. package/dist/solutions-components/p-4695cfab.js +0 -6
  920. package/dist/solutions-components/p-48242dd4.js +0 -61
  921. package/dist/solutions-components/p-4b5ea333.entry.js +0 -6
  922. package/dist/solutions-components/p-4bd66ae5.entry.js +0 -6
  923. package/dist/solutions-components/p-4d55eb0e.entry.js +0 -6
  924. package/dist/solutions-components/p-50dfa0b8.entry.js +0 -6
  925. package/dist/solutions-components/p-59633ef0.entry.js +0 -6
  926. package/dist/solutions-components/p-67befb92.entry.js +0 -6
  927. package/dist/solutions-components/p-68fd9d5d.entry.js +0 -6
  928. package/dist/solutions-components/p-723482d1.js +0 -21
  929. package/dist/solutions-components/p-750a8a39.entry.js +0 -6
  930. package/dist/solutions-components/p-79756a0f.entry.js +0 -6
  931. package/dist/solutions-components/p-7b42823b.entry.js +0 -6
  932. package/dist/solutions-components/p-7ded7b2e.js +0 -36
  933. package/dist/solutions-components/p-80033583.entry.js +0 -6
  934. package/dist/solutions-components/p-80262cb7.js +0 -6
  935. package/dist/solutions-components/p-8384ba17.entry.js +0 -6
  936. package/dist/solutions-components/p-893d8e26.entry.js +0 -6
  937. package/dist/solutions-components/p-905a911c.entry.js +0 -6
  938. package/dist/solutions-components/p-94aca64c.entry.js +0 -6
  939. package/dist/solutions-components/p-957a880f.entry.js +0 -6
  940. package/dist/solutions-components/p-9775f9d7.entry.js +0 -6
  941. package/dist/solutions-components/p-9b741908.entry.js +0 -11
  942. package/dist/solutions-components/p-9c4ea2e2.entry.js +0 -6
  943. package/dist/solutions-components/p-a0f4c730.entry.js +0 -6
  944. package/dist/solutions-components/p-a5bfdb73.entry.js +0 -6
  945. package/dist/solutions-components/p-a650b356.entry.js +0 -6
  946. package/dist/solutions-components/p-a725bcdf.entry.js +0 -6
  947. package/dist/solutions-components/p-abe9c0de.entry.js +0 -6
  948. package/dist/solutions-components/p-ac122d9e.js +0 -6
  949. package/dist/solutions-components/p-af355bbd.entry.js +0 -6
  950. package/dist/solutions-components/p-b266dcf6.entry.js +0 -6
  951. package/dist/solutions-components/p-b7a6512b.js +0 -6
  952. package/dist/solutions-components/p-b9fc59da.js +0 -6
  953. package/dist/solutions-components/p-be144ed5.entry.js +0 -6
  954. package/dist/solutions-components/p-c1ec9613.entry.js +0 -6
  955. package/dist/solutions-components/p-c3107e95.entry.js +0 -6
  956. package/dist/solutions-components/p-c34857fe.js +0 -129
  957. package/dist/solutions-components/p-c3eae9ba.js +0 -7
  958. package/dist/solutions-components/p-c60990bf.entry.js +0 -6
  959. package/dist/solutions-components/p-c65ff1a0.entry.js +0 -21
  960. package/dist/solutions-components/p-c97d6d8a.entry.js +0 -6
  961. package/dist/solutions-components/p-c987cdf2.entry.js +0 -6
  962. package/dist/solutions-components/p-d001e961.js +0 -6
  963. package/dist/solutions-components/p-d65f8b73.js +0 -6
  964. package/dist/solutions-components/p-ddd731d3.entry.js +0 -6
  965. package/dist/solutions-components/p-f053236e.entry.js +0 -6
  966. package/dist/solutions-components/p-f08084fb.entry.js +0 -21
  967. package/dist/solutions-components/p-fb75e187.js +0 -6
  968. package/dist/solutions-components/vendor/calcite-components/24P6DEQH.js +0 -4
  969. package/dist/solutions-components/vendor/calcite-components/2AVRQATR.js +0 -4
  970. package/dist/solutions-components/vendor/calcite-components/2CTO4WXV.js +0 -4
  971. package/dist/solutions-components/vendor/calcite-components/2I33XQO3.js +0 -4
  972. package/dist/solutions-components/vendor/calcite-components/2VMQ4ZHH.js +0 -4
  973. package/dist/solutions-components/vendor/calcite-components/2XGOJ2TK.js +0 -4
  974. package/dist/solutions-components/vendor/calcite-components/2Z6KCCXZ.js +0 -4
  975. package/dist/solutions-components/vendor/calcite-components/36GZKNTR.js +0 -4
  976. package/dist/solutions-components/vendor/calcite-components/3APPCCCZ.js +0 -4
  977. package/dist/solutions-components/vendor/calcite-components/3AWHEFUT.js +0 -4
  978. package/dist/solutions-components/vendor/calcite-components/3NZA5FPC.js +0 -4
  979. package/dist/solutions-components/vendor/calcite-components/4CJKDY6O.js +0 -4
  980. package/dist/solutions-components/vendor/calcite-components/4CN4DMSY.js +0 -4
  981. package/dist/solutions-components/vendor/calcite-components/4D6XNDXD.js +0 -4
  982. package/dist/solutions-components/vendor/calcite-components/4GH4R7AR.js +0 -4
  983. package/dist/solutions-components/vendor/calcite-components/4NZ22FMP.js +0 -4
  984. package/dist/solutions-components/vendor/calcite-components/4TW23CN7.js +0 -4
  985. package/dist/solutions-components/vendor/calcite-components/4W55CXIJ.js +0 -4
  986. package/dist/solutions-components/vendor/calcite-components/4YCDJ4BL.js +0 -4
  987. package/dist/solutions-components/vendor/calcite-components/57KYZCIP.js +0 -4
  988. package/dist/solutions-components/vendor/calcite-components/5DTLNTCL.js +0 -4
  989. package/dist/solutions-components/vendor/calcite-components/5E4NPYBD.js +0 -4
  990. package/dist/solutions-components/vendor/calcite-components/5E6WFGQD.js +0 -4
  991. package/dist/solutions-components/vendor/calcite-components/5TU2CNVP.js +0 -4
  992. package/dist/solutions-components/vendor/calcite-components/5U35BULS.js +0 -4
  993. package/dist/solutions-components/vendor/calcite-components/5WIIOMNV.js +0 -6
  994. package/dist/solutions-components/vendor/calcite-components/62UA4F4S.js +0 -4
  995. package/dist/solutions-components/vendor/calcite-components/62VYJEUG.js +0 -4
  996. package/dist/solutions-components/vendor/calcite-components/65NO3JUC.js +0 -4
  997. package/dist/solutions-components/vendor/calcite-components/6GZCW3B4.js +0 -4
  998. package/dist/solutions-components/vendor/calcite-components/6LJIPAYF.js +0 -4
  999. package/dist/solutions-components/vendor/calcite-components/6LTFSVKG.js +0 -4
  1000. package/dist/solutions-components/vendor/calcite-components/6QDWHJ5K.js +0 -4
  1001. package/dist/solutions-components/vendor/calcite-components/6U6YH5MS.js +0 -4
  1002. package/dist/solutions-components/vendor/calcite-components/6VFJT5QA.js +0 -4
  1003. package/dist/solutions-components/vendor/calcite-components/6Y4OKAGD.js +0 -4
  1004. package/dist/solutions-components/vendor/calcite-components/74SSYUHC.js +0 -5
  1005. package/dist/solutions-components/vendor/calcite-components/75GQA36Q.js +0 -4
  1006. package/dist/solutions-components/vendor/calcite-components/7AD7VKZ6.js +0 -4
  1007. package/dist/solutions-components/vendor/calcite-components/7MGQRD7Z.js +0 -4
  1008. package/dist/solutions-components/vendor/calcite-components/7Q4LBBRD.js +0 -4
  1009. package/dist/solutions-components/vendor/calcite-components/7YRITLGU.js +0 -4
  1010. package/dist/solutions-components/vendor/calcite-components/A43TKJ6J.js +0 -4
  1011. package/dist/solutions-components/vendor/calcite-components/A4LOL6RT.js +0 -4
  1012. package/dist/solutions-components/vendor/calcite-components/A6LI6WSB.js +0 -4
  1013. package/dist/solutions-components/vendor/calcite-components/AD27WW7R.js +0 -4
  1014. package/dist/solutions-components/vendor/calcite-components/AHU7FP65.js +0 -4
  1015. package/dist/solutions-components/vendor/calcite-components/AI3NCYN4.js +0 -4
  1016. package/dist/solutions-components/vendor/calcite-components/AU24EMIU.js +0 -4
  1017. package/dist/solutions-components/vendor/calcite-components/AZ2MVQY2.js +0 -4
  1018. package/dist/solutions-components/vendor/calcite-components/BNWN4RE2.js +0 -4
  1019. package/dist/solutions-components/vendor/calcite-components/BQHDLRDE.js +0 -4
  1020. package/dist/solutions-components/vendor/calcite-components/BYJ6CJMV.js +0 -4
  1021. package/dist/solutions-components/vendor/calcite-components/C456ACXC.js +0 -4
  1022. package/dist/solutions-components/vendor/calcite-components/CFACWEH3.js +0 -4
  1023. package/dist/solutions-components/vendor/calcite-components/CZ6YBXDI.js +0 -4
  1024. package/dist/solutions-components/vendor/calcite-components/D2IBWEZJ.js +0 -4
  1025. package/dist/solutions-components/vendor/calcite-components/D5V7QPEQ.js +0 -4
  1026. package/dist/solutions-components/vendor/calcite-components/DV72VFBR.js +0 -4
  1027. package/dist/solutions-components/vendor/calcite-components/DXTGGP6F.js +0 -4
  1028. package/dist/solutions-components/vendor/calcite-components/DYX3VYAF.js +0 -4
  1029. package/dist/solutions-components/vendor/calcite-components/E4INVUQF.js +0 -4
  1030. package/dist/solutions-components/vendor/calcite-components/EC76JAWC.js +0 -4
  1031. package/dist/solutions-components/vendor/calcite-components/EFBSBD4Q.js +0 -4
  1032. package/dist/solutions-components/vendor/calcite-components/EGQT3WAL.js +0 -4
  1033. package/dist/solutions-components/vendor/calcite-components/ELLEOMPV.js +0 -4
  1034. package/dist/solutions-components/vendor/calcite-components/EQL77WNN.js +0 -4
  1035. package/dist/solutions-components/vendor/calcite-components/EREAGDHN.js +0 -4
  1036. package/dist/solutions-components/vendor/calcite-components/ETCKBCGT.js +0 -4
  1037. package/dist/solutions-components/vendor/calcite-components/F3MFWM7N.js +0 -4
  1038. package/dist/solutions-components/vendor/calcite-components/F57BIANZ.js +0 -4
  1039. package/dist/solutions-components/vendor/calcite-components/FLGYQACS.js +0 -4
  1040. package/dist/solutions-components/vendor/calcite-components/FVKXG7IX.js +0 -4
  1041. package/dist/solutions-components/vendor/calcite-components/FX4E46UA.js +0 -4
  1042. package/dist/solutions-components/vendor/calcite-components/FXMO4NFQ.js +0 -4
  1043. package/dist/solutions-components/vendor/calcite-components/G377AV4F.js +0 -4
  1044. package/dist/solutions-components/vendor/calcite-components/G4UFYIPU.js +0 -4
  1045. package/dist/solutions-components/vendor/calcite-components/G5GEKU4E.js +0 -4
  1046. package/dist/solutions-components/vendor/calcite-components/GEIJQLU7.js +0 -4
  1047. package/dist/solutions-components/vendor/calcite-components/GI3XXRNT.js +0 -4
  1048. package/dist/solutions-components/vendor/calcite-components/GQMODQ6D.js +0 -4
  1049. package/dist/solutions-components/vendor/calcite-components/GSVJHXH2.js +0 -4
  1050. package/dist/solutions-components/vendor/calcite-components/GUMVKQTR.js +0 -4
  1051. package/dist/solutions-components/vendor/calcite-components/GVOEPDQC.js +0 -4
  1052. package/dist/solutions-components/vendor/calcite-components/GWWXB6FV.js +0 -4
  1053. package/dist/solutions-components/vendor/calcite-components/GYOK6DI7.js +0 -4
  1054. package/dist/solutions-components/vendor/calcite-components/HDAL3OW2.js +0 -4
  1055. package/dist/solutions-components/vendor/calcite-components/HIP3N6DH.js +0 -4
  1056. package/dist/solutions-components/vendor/calcite-components/HLGSDCWJ.js +0 -4
  1057. package/dist/solutions-components/vendor/calcite-components/HPFASJXB.js +0 -4
  1058. package/dist/solutions-components/vendor/calcite-components/HPY2G26P.js +0 -4
  1059. package/dist/solutions-components/vendor/calcite-components/HYWMTX3X.js +0 -4
  1060. package/dist/solutions-components/vendor/calcite-components/HZGIYOHQ.js +0 -4
  1061. package/dist/solutions-components/vendor/calcite-components/HZWEQZY7.js +0 -4
  1062. package/dist/solutions-components/vendor/calcite-components/I3PTWPIY.js +0 -4
  1063. package/dist/solutions-components/vendor/calcite-components/I4CET6OW.js +0 -5
  1064. package/dist/solutions-components/vendor/calcite-components/I4G6P727.js +0 -4
  1065. package/dist/solutions-components/vendor/calcite-components/I6YTTPYR.js +0 -4
  1066. package/dist/solutions-components/vendor/calcite-components/IG7V543A.js +0 -4
  1067. package/dist/solutions-components/vendor/calcite-components/IGJ6NR2R.js +0 -4
  1068. package/dist/solutions-components/vendor/calcite-components/IMHYTFTU.js +0 -4
  1069. package/dist/solutions-components/vendor/calcite-components/IN5OHY5V.js +0 -4
  1070. package/dist/solutions-components/vendor/calcite-components/IPMCFXXP.js +0 -4
  1071. package/dist/solutions-components/vendor/calcite-components/IWHKNQVC.js +0 -4
  1072. package/dist/solutions-components/vendor/calcite-components/IXRENB6A.js +0 -4
  1073. package/dist/solutions-components/vendor/calcite-components/J6LILHDF.js +0 -4
  1074. package/dist/solutions-components/vendor/calcite-components/JADXGLI3.js +0 -4
  1075. package/dist/solutions-components/vendor/calcite-components/JLXVLF74.js +0 -4
  1076. package/dist/solutions-components/vendor/calcite-components/JWVCWXY6.js +0 -4
  1077. package/dist/solutions-components/vendor/calcite-components/K3474HB5.js +0 -4
  1078. package/dist/solutions-components/vendor/calcite-components/K43H5XTK.js +0 -4
  1079. package/dist/solutions-components/vendor/calcite-components/KEKOJLYV.js +0 -4
  1080. package/dist/solutions-components/vendor/calcite-components/KEXGE4NJ.js +0 -4
  1081. package/dist/solutions-components/vendor/calcite-components/KK3Z3W4I.js +0 -4
  1082. package/dist/solutions-components/vendor/calcite-components/KS4B6LK4.js +0 -4
  1083. package/dist/solutions-components/vendor/calcite-components/KUAZDOO6.js +0 -4
  1084. package/dist/solutions-components/vendor/calcite-components/KUGH3USL.js +0 -4
  1085. package/dist/solutions-components/vendor/calcite-components/KZL3CPTV.js +0 -5
  1086. package/dist/solutions-components/vendor/calcite-components/L3P7IWQ6.js +0 -4
  1087. package/dist/solutions-components/vendor/calcite-components/L5FEKBXU.js +0 -5
  1088. package/dist/solutions-components/vendor/calcite-components/L7UUJ325.js +0 -4
  1089. package/dist/solutions-components/vendor/calcite-components/LF6Z3CUU.js +0 -4
  1090. package/dist/solutions-components/vendor/calcite-components/LIPHS6R3.js +0 -4
  1091. package/dist/solutions-components/vendor/calcite-components/LNMOXDYH.js +0 -4
  1092. package/dist/solutions-components/vendor/calcite-components/LNX6IEUD.js +0 -4
  1093. package/dist/solutions-components/vendor/calcite-components/LSGKUJVV.js +0 -4
  1094. package/dist/solutions-components/vendor/calcite-components/LXOXPZWA.js +0 -4
  1095. package/dist/solutions-components/vendor/calcite-components/LYIEETRB.js +0 -4
  1096. package/dist/solutions-components/vendor/calcite-components/M5B5XMQA.js +0 -28
  1097. package/dist/solutions-components/vendor/calcite-components/M6TFTMFD.js +0 -4
  1098. package/dist/solutions-components/vendor/calcite-components/MO24RCUT.js +0 -4
  1099. package/dist/solutions-components/vendor/calcite-components/MOTR6ZPN.js +0 -4
  1100. package/dist/solutions-components/vendor/calcite-components/MPZIFQAA.js +0 -4
  1101. package/dist/solutions-components/vendor/calcite-components/MSERO633.js +0 -4
  1102. package/dist/solutions-components/vendor/calcite-components/N2ACZZPH.js +0 -4
  1103. package/dist/solutions-components/vendor/calcite-components/N2QB6H74.js +0 -4
  1104. package/dist/solutions-components/vendor/calcite-components/N6UWSSGW.js +0 -4
  1105. package/dist/solutions-components/vendor/calcite-components/NALQXSWX.js +0 -4
  1106. package/dist/solutions-components/vendor/calcite-components/NCKQSORU.js +0 -4
  1107. package/dist/solutions-components/vendor/calcite-components/NFGDGOX2.js +0 -4
  1108. package/dist/solutions-components/vendor/calcite-components/NJDS6SVP.js +0 -4
  1109. package/dist/solutions-components/vendor/calcite-components/NN7IWJQ4.js +0 -4
  1110. package/dist/solutions-components/vendor/calcite-components/NSI34PAP.js +0 -4
  1111. package/dist/solutions-components/vendor/calcite-components/O42B2Q4F.js +0 -4
  1112. package/dist/solutions-components/vendor/calcite-components/OGF5TUWN.js +0 -4
  1113. package/dist/solutions-components/vendor/calcite-components/OJCYBIGG.js +0 -4
  1114. package/dist/solutions-components/vendor/calcite-components/OOY2MGXQ.js +0 -4
  1115. package/dist/solutions-components/vendor/calcite-components/OQW7QIRH.js +0 -4
  1116. package/dist/solutions-components/vendor/calcite-components/OTCDMLUC.js +0 -4
  1117. package/dist/solutions-components/vendor/calcite-components/OZVEH4B5.js +0 -4
  1118. package/dist/solutions-components/vendor/calcite-components/P7HTSDH2.js +0 -22
  1119. package/dist/solutions-components/vendor/calcite-components/PLA7W3AT.js +0 -4
  1120. package/dist/solutions-components/vendor/calcite-components/PLXESTWV.js +0 -4
  1121. package/dist/solutions-components/vendor/calcite-components/PMITL6IC.js +0 -4
  1122. package/dist/solutions-components/vendor/calcite-components/PQBKOUKQ.js +0 -4
  1123. package/dist/solutions-components/vendor/calcite-components/PWUMIRZ6.js +0 -4
  1124. package/dist/solutions-components/vendor/calcite-components/Q5J2S3VY.js +0 -4
  1125. package/dist/solutions-components/vendor/calcite-components/QCZULBWY.js +0 -4
  1126. package/dist/solutions-components/vendor/calcite-components/QG6HHELM.js +0 -4
  1127. package/dist/solutions-components/vendor/calcite-components/QO3T2U37.js +0 -4
  1128. package/dist/solutions-components/vendor/calcite-components/QUDJ3N3N.js +0 -4
  1129. package/dist/solutions-components/vendor/calcite-components/QZIFYSUW.js +0 -4
  1130. package/dist/solutions-components/vendor/calcite-components/RBW3635P.js +0 -4
  1131. package/dist/solutions-components/vendor/calcite-components/RHRLZ43T.js +0 -4
  1132. package/dist/solutions-components/vendor/calcite-components/ROGH35KN.js +0 -4
  1133. package/dist/solutions-components/vendor/calcite-components/RU7EMDYD.js +0 -4
  1134. package/dist/solutions-components/vendor/calcite-components/RYTO443L.js +0 -4
  1135. package/dist/solutions-components/vendor/calcite-components/SA6NHSUC.js +0 -4
  1136. package/dist/solutions-components/vendor/calcite-components/SGUU7WHF.js +0 -4
  1137. package/dist/solutions-components/vendor/calcite-components/SHC4YDKE.js +0 -4
  1138. package/dist/solutions-components/vendor/calcite-components/T2ALVZYL.js +0 -4
  1139. package/dist/solutions-components/vendor/calcite-components/T3SQ25MS.js +0 -4
  1140. package/dist/solutions-components/vendor/calcite-components/TAD74E6K.js +0 -4
  1141. package/dist/solutions-components/vendor/calcite-components/TKUCTGZQ.js +0 -4
  1142. package/dist/solutions-components/vendor/calcite-components/TNN7X24K.js +0 -4
  1143. package/dist/solutions-components/vendor/calcite-components/TVLD3AOO.js +0 -4
  1144. package/dist/solutions-components/vendor/calcite-components/U6YW2HHD.js +0 -4
  1145. package/dist/solutions-components/vendor/calcite-components/UIF5EHAA.js +0 -4
  1146. package/dist/solutions-components/vendor/calcite-components/UPPZPSLX.js +0 -4
  1147. package/dist/solutions-components/vendor/calcite-components/UPVIMVOR.js +0 -4
  1148. package/dist/solutions-components/vendor/calcite-components/V56SP7RX.js +0 -4
  1149. package/dist/solutions-components/vendor/calcite-components/V6MKTTBQ.js +0 -4
  1150. package/dist/solutions-components/vendor/calcite-components/V7HGGFTI.js +0 -4
  1151. package/dist/solutions-components/vendor/calcite-components/V7JMIX7A.js +0 -4
  1152. package/dist/solutions-components/vendor/calcite-components/VALEMC46.js +0 -4
  1153. package/dist/solutions-components/vendor/calcite-components/VF6LK743.js +0 -4
  1154. package/dist/solutions-components/vendor/calcite-components/VICC3NDD.js +0 -4
  1155. package/dist/solutions-components/vendor/calcite-components/VP7NXOWD.js +0 -4
  1156. package/dist/solutions-components/vendor/calcite-components/VQDN7OO3.js +0 -4
  1157. package/dist/solutions-components/vendor/calcite-components/VRHJ5OK7.js +0 -4
  1158. package/dist/solutions-components/vendor/calcite-components/VSJGDSNK.js +0 -4
  1159. package/dist/solutions-components/vendor/calcite-components/VTNRWHPJ.js +0 -4
  1160. package/dist/solutions-components/vendor/calcite-components/VWRFMVFO.js +0 -4
  1161. package/dist/solutions-components/vendor/calcite-components/VYNHH43V.js +0 -4
  1162. package/dist/solutions-components/vendor/calcite-components/VZCTXPAB.js +0 -4
  1163. package/dist/solutions-components/vendor/calcite-components/W2PJHNUO.js +0 -4
  1164. package/dist/solutions-components/vendor/calcite-components/WGOS6SLC.js +0 -4
  1165. package/dist/solutions-components/vendor/calcite-components/WI77ICVL.js +0 -4
  1166. package/dist/solutions-components/vendor/calcite-components/WIMUFNVO.js +0 -4
  1167. package/dist/solutions-components/vendor/calcite-components/WKIE22JL.js +0 -4
  1168. package/dist/solutions-components/vendor/calcite-components/WL55EYBZ.js +0 -4
  1169. package/dist/solutions-components/vendor/calcite-components/WNKEORGU.js +0 -4
  1170. package/dist/solutions-components/vendor/calcite-components/WR2VE6JZ.js +0 -4
  1171. package/dist/solutions-components/vendor/calcite-components/XF5JMHOK.js +0 -4
  1172. package/dist/solutions-components/vendor/calcite-components/XIZD6JFU.js +0 -4
  1173. package/dist/solutions-components/vendor/calcite-components/XKHOO62D.js +0 -4
  1174. package/dist/solutions-components/vendor/calcite-components/XV33QQSP.js +0 -4
  1175. package/dist/solutions-components/vendor/calcite-components/XXCPMHQI.js +0 -4
  1176. package/dist/solutions-components/vendor/calcite-components/XYEB5PRT.js +0 -4
  1177. package/dist/solutions-components/vendor/calcite-components/Y3HCVBC6.js +0 -4
  1178. package/dist/solutions-components/vendor/calcite-components/Y7BXR2VY.js +0 -4
  1179. package/dist/solutions-components/vendor/calcite-components/YDUPLCIG.js +0 -4
  1180. package/dist/solutions-components/vendor/calcite-components/YOV6OIH2.js +0 -4
  1181. package/dist/solutions-components/vendor/calcite-components/YPEU6VCU.js +0 -4
  1182. package/dist/solutions-components/vendor/calcite-components/YUVCAMVK.js +0 -4
  1183. package/dist/solutions-components/vendor/calcite-components/YWAPFYEJ.js +0 -4
  1184. package/dist/solutions-components/vendor/calcite-components/YZIMMUUW.js +0 -4
  1185. package/dist/solutions-components/vendor/calcite-components/Z2FJJLZ3.js +0 -4
  1186. package/dist/solutions-components/vendor/calcite-components/ZQ6GYGGS.js +0 -4
  1187. package/dist/solutions-components/vendor/calcite-components/ZQG72P7P.js +0 -4
  1188. package/dist/solutions-components/vendor/calcite-components/ZROM77D7.js +0 -4
  1189. package/dist/solutions-components/vendor/calcite-components/ZWBJOZZD.js +0 -4
  1190. /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-a56cbcbe.js} +0 -0
  1191. /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
  1192. /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-781d738a.js} +0 -0
  1193. /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
  1194. /package/dist/solutions-components/{p-0a24ad5f.js → p-6a68306c.js} +0 -0
  1195. /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -0,0 +1,61 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{c as t}from"./p-d4056c1c.js";import{_ as r,a as e}from"./p-62a0aa8e.js";import"./p-af7e43e0.js";var i=function(t){return t&&t.Math===Math&&t},n=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||i("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,N=k({}.toString),S=k("".slice),O=function(t){return S(N(t),8,-1)},P=a,j=O,E=Object,C=M("".split),T=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"===j(t)?C(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,$=function(t){if(R(t))throw new B("Can't call method on "+t);return t},D=T,L=$,F=function(t){return D(L(t))},I="object"==typeof document&&document.all,z=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},_=z,Y=function(t){return"object"==typeof t?null!==t:_(t)},X=n,U=z,q=function(t,r){return arguments.length<2?U(e=X[t])?e:void 0:X[t]&&X[t][r];var e},G=M({}.isPrototypeOf),V=n.navigator,H=V&&V.userAgent,W=H?String(H):"",Q=W,Z=n.process,K=n.Deno,J=Z&&Z.versions||K&&K.version,tt=J&&J.v8;tt&&(y=(p=tt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Q&&(!(p=Q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Q.match(/Chrome\/(\d+)/))&&(y=+p[1]);var rt=y,et=rt,it=n.String,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol("symbol detection");return!it(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=q,ot=z,ht=G,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=z,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw new pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var e=t[r];return mt(e)?void 0:gt(e)},wt=c,xt=z,Mt=Y,kt=TypeError,Nt={exports:{}},St=n,Ot=Object.defineProperty,Pt=function(t,r){try{Ot(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},jt="__core-js_shared__",Et=Nt.exports=n[jt]||Pt(jt,{});(Et.versions||(Et.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=Nt.exports,Tt=function(t,r){return Ct[t]||(Ct[t]=r||{})},At=$,Rt=Object,Bt=function(t){return Rt(At(t))},$t=Bt,Dt=M({}.hasOwnProperty),Lt=Object.hasOwn||function(t,r){return Dt($t(t),r)},Ft=M,It=0,zt=Math.random(),_t=Ft(1..toString),Yt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+_t(++It+zt,36)},Xt=Lt,Ut=Yt,qt=nt,Gt=st,Vt=n.Symbol,Ht=Tt("wks"),Wt=Gt?Vt.for||Vt:Vt&&Vt.withoutSetter||Ut,Qt=function(t){return Xt(Ht,t)||(Ht[t]=qt&&Xt(Vt,t)?Vt[t]:Wt("Symbol."+t)),Ht[t]},Zt=c,Kt=Y,Jt=ct,tr=bt,rr=TypeError,er=Qt("toPrimitive"),ir=function(t,r){if(!Kt(t)||Jt(t))return t;var e,i=tr(t,er);if(i){if(void 0===r&&(r="default"),e=Zt(i,t,r),!Kt(e)||Jt(e))return e;throw new rr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,i;if("string"===r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;if(xt(e=t.valueOf)&&!Mt(i=wt(e,t)))return i;if("string"!==r&&xt(e=t.toString)&&!Mt(i=wt(e,t)))return i;throw new kt("Can't convert object to primitive value")}(t,r)},nr=ct,sr=function(t){var r=ir(t,"string");return nr(r)?r:r+""},ar=Y,or=n.document,hr=ar(or)&&ar(or.createElement),ur=function(t){return hr?or.createElement(t):{}},cr=ur,fr=!o&&!a((function(){return 7!==Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a})),lr=c,vr=f,dr=g,pr=F,yr=sr,gr=Lt,mr=fr,br=Object.getOwnPropertyDescriptor;s.f=o?br:function(t,r){if(t=pr(t),r=yr(r),mr)try{return br(t,r)}catch(t){}if(gr(t,r))return dr(!lr(vr.f,t,r),t[r])};var wr={},xr=o&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mr=Y,kr=String,Nr=TypeError,Sr=function(t){if(Mr(t))return t;throw new Nr(kr(t)+" is not an object")},Or=fr,Pr=Sr,jr=sr,Er=TypeError,Cr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Ar="enumerable",Rr="configurable",Br="writable";wr.f=o?xr?function(t,r,e){if(Pr(t),r=jr(r),Pr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&Br in e&&!e[Br]){var i=Tr(t,r);i&&i[Br]&&(t[r]=e.value,e={configurable:Rr in e?e[Rr]:i[Rr],enumerable:Ar in e?e[Ar]:i[Ar],writable:!1})}return Cr(t,r,e)}:Cr:function(t,r,e){if(Pr(t),r=jr(r),Pr(e),Or)try{return Cr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Er("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var $r=wr,Dr=g,Lr=o?function(t,r,e){return $r.f(t,r,Dr(1,e))}:function(t,r,e){return t[r]=e,t},Fr={exports:{}},Ir=o,zr=Function.prototype,_r=Ir&&Object.getOwnPropertyDescriptor,Yr=Lt(zr,"name"),Xr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!Ir||Ir&&_r(zr,"name").configurable)},Ur=z,qr=Nt.exports,Gr=M(Function.toString);Ur(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Vr,Hr,Wr,Qr=qr.inspectSource,Zr=n.WeakMap,Kr=z(Zr)&&/native code/.test(String(Zr)),Jr=Yt,te=Tt("keys"),re=function(t){return te[t]||(te[t]=Jr(t))},ee={},ie=Y,ne=Lr,se=Lt,ae=Nt.exports,oe=re,he=ee,ue="Object already initialized",ce=n.TypeError;if(Kr||ae.state){var fe=ae.state||(ae.state=new(0,n.WeakMap));fe.get=fe.get,fe.has=fe.has,fe.set=fe.set,Vr=function(t,r){if(fe.has(t))throw new ce(ue);return r.facade=t,fe.set(t,r),r},Hr=function(t){return fe.get(t)||{}},Wr=function(t){return fe.has(t)}}else{var le=oe("state");he[le]=!0,Vr=function(t,r){if(se(t,le))throw new ce(ue);return r.facade=t,ne(t,le,r),r},Hr=function(t){return se(t,le)?t[le]:{}},Wr=function(t){return se(t,le)}}var ve={set:Vr,get:Hr,has:Wr,enforce:function(t){return Wr(t)?Hr(t):Vr(t,{})},getterFor:function(t){return function(r){var e;if(!ie(r)||(e=Hr(r)).type!==t)throw new ce("Incompatible receiver, "+t+" required");return e}}},de=M,pe=a,ye=z,ge=Lt,me=o,be=Xr.CONFIGURABLE,we=Qr,xe=ve.enforce,Me=ve.get,ke=String,Ne=Object.defineProperty,Se=de("".slice),Oe=de("".replace),Pe=de([].join),je=me&&!pe((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),Ee=String(String).split("String"),Ce=Fr.exports=function(t,r,e){"Symbol("===Se(ke(r),0,7)&&(r="["+Oe(ke(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ge(t,"name")||be&&t.name!==r)&&(me?Ne(t,"name",{value:r,configurable:!0}):t.name=r),je&&e&&ge(e,"arity")&&t.length!==e.arity&&Ne(t,"length",{value:e.arity});try{e&&ge(e,"constructor")&&e.constructor?me&&Ne(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=xe(t);return ge(i,"source")||(i.source=Pe(Ee,"string"==typeof r?r:"")),t};Function.prototype.toString=Ce((function(){return ye(this)&&Me(this).source||we(this)}),"toString");var Te=z,Ae=wr,Re=Fr.exports,Be=Pt,$e=function(t,r,e,i){i||(i={});var n=i.enumerable,s=void 0!==i.name?i.name:r;if(Te(e)&&Re(e,s,i),i.global)n?t[r]=e:Be(r,e);else{try{i.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=e:Ae.f(t,r,{value:e,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},De={},Le=Math.ceil,Fe=Math.floor,Ie=Math.trunc||function(t){var r=+t;return(r>0?Fe:Le)(r)},ze=Ie,_e=function(t){var r=+t;return r!=r||0===r?0:ze(r)},Ye=_e,Xe=Math.max,Ue=Math.min,qe=_e,Ge=Math.min,Ve=function(t){var r=qe(t);return r>0?Ge(r,9007199254740991):0},He=Ve,We=function(t){return He(t.length)},Qe=F,Ze=We,Ke=function(t){return function(r,e,i){var n=Qe(r),s=Ze(n);if(0===s)return!t&&-1;var a,o=function(t,r){var e=Ye(t);return e<0?Xe(e+r,0):Ue(e,r)}(i,s);if(t&&e!=e){for(;s>o;)if((a=n[o++])!=a)return!0}else for(;s>o;o++)if((t||o in n)&&n[o]===e)return t||o||0;return!t&&-1}},Je={includes:Ke(!0),indexOf:Ke(!1)},ti=Lt,ri=F,ei=Je.indexOf,ii=ee,ni=M([].push),si=function(t,r){var e,i=ri(t),n=0,s=[];for(e in i)!ti(ii,e)&&ti(i,e)&&ni(s,e);for(;r.length>n;)ti(i,e=r[n++])&&(~ei(s,e)||ni(s,e));return s},ai=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oi=si,hi=ai.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(t){return oi(t,hi)};var ui={};ui.f=Object.getOwnPropertySymbols;var ci=q,fi=De,li=ui,vi=Sr,di=M([].concat),pi=ci("Reflect","ownKeys")||function(t){var r=fi.f(vi(t)),e=li.f;return e?di(r,e(t)):r},yi=Lt,gi=pi,mi=s,bi=wr,wi=a,xi=z,Mi=/#|\.prototype\./,ki=function(t,r){var e=Si[Ni(t)];return e===Pi||e!==Oi&&(xi(r)?wi(r):!!r)},Ni=ki.normalize=function(t){return String(t).replace(Mi,".").toLowerCase()},Si=ki.data={},Oi=ki.NATIVE="N",Pi=ki.POLYFILL="P",ji=ki,Ei=n,Ci=s.f,Ti=Lr,Ai=$e,Ri=Pt,Bi=function(t,r,e){for(var i=gi(r),n=bi.f,s=mi.f,a=0;a<i.length;a++){var o=i[a];yi(t,o)||e&&yi(e,o)||n(t,o,s(r,o))}},$i=ji,Di=function(t,r){var e,i,n,s,a,o=t.target,h=t.global,u=t.stat;if(e=h?Ei:u?Ei[o]||Ri(o,{}):Ei[o]&&Ei[o].prototype)for(i in r){if(s=r[i],n=t.dontCallGetSet?(a=Ci(e,i))&&a.value:e[i],!$i(h?i:o+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Bi(s,n)}(t.sham||n&&n.sham)&&Ti(s,"sham",!0),Ai(e,i,s,t)}},Li=n,Fi=W,Ii=O,zi=function(t){return Fi.slice(0,t.length)===t},_i=zi("Bun/")?"BUN":zi("Cloudflare-Workers")?"CLOUDFLARE":zi("Deno/")?"DENO":zi("Node.js/")?"NODE":Li.Bun&&"string"==typeof Bun.version?"BUN":Li.Deno&&"object"==typeof Deno.version?"DENO":"process"===Ii(Li.process)?"NODE":Li.window&&Li.document?"BROWSER":"REST",Yi="NODE"===_i,Xi=M,Ui=yt,qi=Y,Gi=String,Vi=TypeError,Hi=Y,Wi=$,Qi=function(t){if(function(t){return qi(t)||null===t}(t))return t;throw new Vi("Can't set "+Gi(t)+" as a prototype")},Zi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=function(t,r,e){try{return Xi(Ui(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return Wi(e),Qi(i),Hi(e)?(r?t(e,i):e.__proto__=i,e):e}}():void 0),Ki=wr.f,Ji=Lt,tn=Qt("toStringTag"),rn=function(t,r,e){t&&!e&&(t=t.prototype),t&&!Ji(t,tn)&&Ki(t,tn,{configurable:!0,value:r})},en=Fr.exports,nn=wr,sn=q,an=o,on=Qt("species"),hn=G,un=TypeError,cn={};cn[Qt("toStringTag")]="z";var fn="[object z]"===String(cn),ln=z,vn=O,dn=Qt("toStringTag"),pn=Object,yn="Arguments"===vn(function(){return arguments}()),gn=fn?vn:function(t){var r,e,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=pn(t),dn))?e:yn?vn(r):"Object"===(i=vn(r))&&ln(r.callee)?"Arguments":i},mn=M,bn=a,wn=z,xn=gn,Mn=Qr,kn=function(){},Nn=q("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,On=mn(Sn.exec),Pn=!Sn.test(kn),jn=function(t){if(!wn(t))return!1;try{return Nn(kn,[],t),!0}catch(t){return!1}},En=function(t){if(!wn(t))return!1;switch(xn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pn||!!On(Sn,Mn(t))}catch(t){return!0}};En.sham=!0;var Cn,Tn,An,Rn,Bn=!Nn||bn((function(){var t;return jn(jn.call)||!jn(Object)||!jn((function(){t=!0}))||t}))?En:jn,$n=Bn,Dn=lt,Ln=TypeError,Fn=Sr,In=A,zn=Qt("species"),_n=function(t,r){var e,i=Fn(t).constructor;return void 0===i||In(e=Fn(i)[zn])?r:function(t){if($n(t))return t;throw new Ln(Dn(t)+" is not a constructor")}(e)},Yn=Function.prototype,Xn=Yn.apply,Un=Yn.call,qn="object"==typeof Reflect&&Reflect.apply||(h?Un.bind(Xn):function(){return Un.apply(Xn,arguments)}),Gn=O,Vn=M,Hn=function(t){if("Function"===Gn(t))return Vn(t)},Wn=yt,Qn=h,Zn=Hn(Hn.bind),Kn=function(t,r){return Wn(t),void 0===r?t:Qn?Zn(t,r):function(){return t.apply(r,arguments)}},Jn=q("document","documentElement"),ts=M([].slice),rs=TypeError,es=/(?:ipad|iphone|ipod).*applewebkit/i.test(W),is=n,ns=qn,ss=Kn,as=z,os=Lt,hs=a,us=Jn,cs=ts,fs=ur,ls=es,vs=Yi,ds=is.setImmediate,ps=is.clearImmediate,ys=is.process,gs=is.Dispatch,ms=is.Function,bs=is.MessageChannel,ws=is.String,xs=0,Ms={},ks="onreadystatechange";hs((function(){Cn=is.location}));var Ns=function(t){if(os(Ms,t)){var r=Ms[t];delete Ms[t],r()}},Ss=function(t){return function(){Ns(t)}},Os=function(t){Ns(t.data)},Ps=function(t){is.postMessage(ws(t),Cn.protocol+"//"+Cn.host)};ds&&ps||(ds=function(t){!function(t,r){if(t<r)throw new rs("Not enough arguments")}(arguments.length,1);var r=as(t)?t:ms(t),e=cs(arguments,1);return Ms[++xs]=function(){ns(r,void 0,e)},Tn(xs),xs},ps=function(t){delete Ms[t]},vs?Tn=function(t){ys.nextTick(Ss(t))}:gs&&gs.now?Tn=function(t){gs.now(Ss(t))}:bs&&!ls?(Rn=(An=new bs).port2,An.port1.onmessage=Os,Tn=ss(Rn.postMessage,Rn)):is.addEventListener&&as(is.postMessage)&&!is.importScripts&&Cn&&"file:"!==Cn.protocol&&!hs(Ps)?(Tn=Ps,is.addEventListener("message",Os,!1)):Tn=ks in fs("script")?function(t){us.appendChild(fs("script"))[ks]=function(){us.removeChild(this),Ns(t)}}:function(t){setTimeout(Ss(t),0)});var js={set:ds,clear:ps},Es=n,Cs=o,Ts=Object.getOwnPropertyDescriptor,As=function(){this.head=null,this.tail=null};As.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.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 Rs,Bs,$s,Ds,Ls,Fs=As,Is=/ipad|iphone|ipod/i.test(W)&&"undefined"!=typeof Pebble,zs=/web0s(?!.*chrome)/i.test(W),_s=n,Ys=Kn,Xs=js.set,Us=Fs,qs=es,Gs=Is,Vs=zs,Hs=Yi,Ws=_s.MutationObserver||_s.WebKitMutationObserver,Qs=_s.document,Zs=_s.process,Ks=_s.Promise,Js=function(t){if(!Cs)return Es[t];var r=Ts(Es,t);return r&&r.value}("queueMicrotask");if(!Js){var ta=new Us,ra=function(){var t,r;for(Hs&&(t=Zs.domain)&&t.exit();r=ta.get();)try{r()}catch(t){throw ta.head&&Rs(),t}t&&t.enter()};qs||Hs||Vs||!Ws||!Qs?!Gs&&Ks&&Ks.resolve?((Ds=Ks.resolve(void 0)).constructor=Ks,Ls=Ys(Ds.then,Ds),Rs=function(){Ls(ra)}):Hs?Rs=function(){Zs.nextTick(ra)}:(Xs=Ys(Xs,_s),Rs=function(){Xs(ra)}):(Bs=!0,$s=Qs.createTextNode(""),new Ws(ra).observe($s,{characterData:!0}),Rs=function(){$s.data=Bs=!Bs}),Js=function(t){ta.head||Rs(),ta.add(t)}}var ea=Js,ia=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},na=n.Promise,sa=n,aa=na,oa=z,ha=ji,ua=Qr,ca=_i,fa=rt,la=Qt("species"),va=!1,da=oa(sa.PromiseRejectionEvent),pa=ha("Promise",(function(){var t=ua(aa),r=t!==String(aa);if(!r&&66===fa)return!0;if(!fa||fa<51||!/native code/.test(t)){var e=new aa((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((e.constructor={})[la]=i,!(va=e.then((function(){}))instanceof i))return!0}return!(r||"BROWSER"!==ca&&"DENO"!==ca||da)})),ya={CONSTRUCTOR:pa,REJECTION_EVENT:da,SUBCLASSING:va},ga={},ma=yt,ba=TypeError,wa=function(t){var r,e;this.promise=new t((function(t,i){if(void 0!==r||void 0!==e)throw new ba("Bad Promise constructor");r=t,e=i})),this.resolve=ma(r),this.reject=ma(e)};ga.f=function(t){return new wa(t)};var xa,Ma,ka,Na,Sa=Di,Oa=Yi,Pa=n,ja=c,Ea=$e,Ca=Zi,Ta=rn,Aa=yt,Ra=z,Ba=Y,$a=_n,Da=js.set,La=ea,Fa=ia,Ia=Fs,za=ve,_a=na,Ya=ga,Xa="Promise",Ua=ya.CONSTRUCTOR,qa=ya.REJECTION_EVENT,Ga=ya.SUBCLASSING,Va=za.getterFor(Xa),Ha=za.set,Wa=_a&&_a.prototype,Qa=_a,Za=Wa,Ka=Pa.TypeError,Ja=Pa.document,to=Pa.process,ro=Ya.f,eo=ro,io=!!(Ja&&Ja.createEvent&&Pa.dispatchEvent),no="unhandledrejection",so=function(t){var r;return!(!Ba(t)||!Ra(r=t.then))&&r},ao=function(t,r){var e,i,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&&fo(r),r.rejection=1),!0===o?e=s:(c&&c.enter(),e=o(s),c&&(c.exit(),n=!0)),e===t.promise?u(new Ka("Promise-chain cycle")):(i=so(e))?ja(i,e,h,u):h(e)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},oo=function(t,r){t.notified||(t.notified=!0,La((function(){for(var e,i=t.reactions;e=i.get();)ao(e,t);t.notified=!1,r&&!t.rejection&&uo(t)})))},ho=function(t,r,e){var i,n;io?((i=Ja.createEvent("Event")).promise=r,i.reason=e,i.initEvent(t,!1,!0),Pa.dispatchEvent(i)):i={promise:r,reason:e},!qa&&(n=Pa["on"+t])?n(i):t===no&&function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",e)},uo=function(t){ja(Da,Pa,(function(){var r,e=t.facade,i=t.value;if(co(t)&&(r=Fa((function(){Oa?to.emit("unhandledRejection",i,e):ho(no,e,i)})),t.rejection=Oa||co(t)?2:1,r.error))throw r.value}))},co=function(t){return 1!==t.rejection&&!t.parent},fo=function(t){ja(Da,Pa,(function(){var r=t.facade;Oa?to.emit("rejectionHandled",r):ho("rejectionhandled",r,t.value)}))},lo=function(t,r,e){return function(i){t(r,i,e)}},vo=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,oo(t,!0))},po=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new Ka("Promise can't be resolved itself");var i=so(r);i?La((function(){var e={done:!1};try{ja(i,r,lo(po,e,t),lo(vo,e,t))}catch(r){vo(e,r,t)}})):(t.value=r,t.state=1,oo(t,!1))}catch(r){vo({done:!1},r,t)}}};if(Ua&&(Qa=function(t){(function(t,r){if(hn(r,t))return t;throw new un("Incorrect invocation")})(this,Za),Aa(t),ja(xa,this);var r=Va(this);try{t(lo(po,r),lo(vo,r))}catch(t){vo(r,t)}},(xa=function(){Ha(this,{type:Xa,done:!1,notified:!1,parent:!1,reactions:new Ia,rejection:!1,state:0,value:null})}).prototype=Ea(Za=Qa.prototype,"then",(function(t,r){var e=Va(this),i=ro($a(this,Qa));return e.parent=!0,i.ok=!Ra(t)||t,i.fail=Ra(r)&&r,i.domain=Oa?to.domain:void 0,0===e.state?e.reactions.add(i):La((function(){ao(i,e)})),i.promise})),Ma=function(){var t=new xa,r=Va(t);this.promise=t,this.resolve=lo(po,r),this.reject=lo(vo,r)},Ya.f=ro=function(t){return t===Qa||void 0===t?new Ma(t):eo(t)},Ra(_a)&&Wa!==Object.prototype)){ka=Wa.then,Ga||Ea(Wa,"then",(function(t,r){var e=this;return new Qa((function(t,r){ja(ka,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete Wa.constructor}catch(t){}Ca&&Ca(Wa,Za)}Sa({global:!0,constructor:!0,wrap:!0,forced:Ua},{Promise:Qa}),Ta(Qa,Xa,!1),Na=sn(Xa),an&&Na&&!Na[on]&&function(t,r,e){e.get&&en(e.get,r,{getter:!0}),e.set&&en(e.set,r,{setter:!0}),nn.f(t,r,e)}(Na,on,{configurable:!0,get:function(){return this}});var yo={},go=yo,mo=Qt("iterator"),bo=Array.prototype,wo=gn,xo=bt,Mo=A,ko=yo,No=Qt("iterator"),So=function(t){if(!Mo(t))return xo(t,No)||xo(t,"@@iterator")||ko[wo(t)]},Oo=c,Po=yt,jo=Sr,Eo=lt,Co=So,To=TypeError,Ao=c,Ro=Sr,Bo=bt,$o=Kn,Do=c,Lo=Sr,Fo=lt,Io=We,zo=G,_o=So,Yo=function(t,r,e){var i,n;Ro(t);try{if(!(i=Bo(t,"return"))){if("throw"===r)throw e;return e}i=Ao(i,t)}catch(t){n=!0,i=t}if("throw"===r)throw e;if(n)throw i;return Ro(i),e},Xo=TypeError,Uo=function(t,r){this.stopped=t,this.result=r},qo=Uo.prototype,Go=function(t,r,e){var i,n,s,a,o,h,u,c,f=!(!e||!e.AS_ENTRIES),l=!(!e||!e.IS_RECORD),v=!(!e||!e.IS_ITERATOR),d=!(!e||!e.INTERRUPTED),p=$o(r,e&&e.that),y=function(t){return i&&Yo(i,"normal",t),new Uo(!0,t)},g=function(t){return f?(Lo(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)i=t.iterator;else if(v)i=t;else{if(!(n=_o(t)))throw new Xo(Fo(t)+" is not iterable");if(void 0!==(c=n)&&(go.Array===c||bo[mo]===c)){for(s=0,a=Io(t);a>s;s++)if((o=g(t[s]))&&zo(qo,o))return o;return new Uo(!1)}i=function(t,r){var e=arguments.length<2?Co(t):r;if(Po(e))return jo(Oo(e,t));throw new To(Eo(t)+" is not iterable")}(t,n)}for(h=l?t.next:i.next;!(u=Do(h,i)).done;){try{o=g(u.value)}catch(t){Yo(i,"throw",t)}if("object"==typeof o&&o&&zo(qo,o))return o}return new Uo(!1)},Vo=Qt("iterator"),Ho=!1;try{var Wo=0,Qo={next:function(){return{done:!!Wo++}},return:function(){Ho=!0}};Qo[Vo]=function(){return this},Array.from(Qo,(function(){throw 2}))}catch(t){}var Zo=na,Ko=ya.CONSTRUCTOR||!function(t,r){try{if(!r&&!Ho)return!1}catch(t){return!1}var e=!1;try{var i={};i[Vo]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}((function(t){Zo.all(t).then(void 0,(function(){}))})),Jo=c,th=yt,rh=ga,eh=ia,ih=Go;Di({target:"Promise",stat:!0,forced:Ko},{all:function(t){var r=this,e=rh.f(r),i=e.resolve,n=e.reject,s=eh((function(){var e=th(r.resolve),s=[],a=0,o=1;ih(t,(function(t){var h=a++,u=!1;o++,Jo(e,r,t).then((function(t){u||(u=!0,s[h]=t,--o||i(s))}),n)})),--o||i(s)}));return s.error&&n(s.value),e.promise}});var nh=na,sh=q,ah=z,oh=$e,hh=nh&&nh.prototype;if(Di({target:"Promise",proto:!0,forced:ya.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),ah(nh)){var uh=sh("Promise").prototype.catch;hh.catch!==uh&&oh(hh,"catch",uh,{unsafe:!0})}var ch=c,fh=yt,lh=ga,vh=ia,dh=Go;Di({target:"Promise",stat:!0,forced:Ko},{race:function(t){var r=this,e=lh.f(r),i=e.reject,n=vh((function(){var n=fh(r.resolve);dh(t,(function(t){ch(n,r,t).then(e.resolve,i)}))}));return n.error&&i(n.value),e.promise}});var ph=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{reject:function(t){var r=ph.f(this);return(0,r.reject)(t),r.promise}});var yh=Sr,gh=Y,mh=ga;Di({target:"Promise",stat:!0,forced:ya.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(yh(t),gh(r)&&r.constructor===t)return r;var e=mh.f(t);return(0,e.resolve)(r),e.promise}(this,t)}});var bh=gn,wh=String,xh=function(t){if("Symbol"===bh(t))throw new TypeError("Cannot convert a Symbol value to a string");return wh(t)},Mh=Sr,kh=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},Nh=a,Sh=n.RegExp,Oh=Nh((function(){var t=Sh("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Ph=Oh||Nh((function(){return!Sh("a","y").sticky})),jh={BROKEN_CARET:Oh||Nh((function(){var t=Sh("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Ph,UNSUPPORTED_Y:Oh},Eh={},Ch=si,Th=ai,Ah=Object.keys||function(t){return Ch(t,Th)},Rh=wr,Bh=Sr,$h=F,Dh=Ah;Eh.f=o&&!xr?Object.defineProperties:function(t,r){Bh(t);for(var e,i=$h(r),n=Dh(r),s=n.length,a=0;s>a;)Rh.f(t,e=n[a++],i[e]);return t};var Lh,Fh=Sr,Ih=Eh,zh=ai,_h=ee,Yh=Jn,Xh=ur,Uh="prototype",qh="script",Gh=re("IE_PROTO"),Vh=function(){},Hh=function(t){return"<"+qh+">"+t+"</"+qh+">"},Wh=function(t){t.write(Hh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Qh=function(){try{Lh=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;Qh="undefined"!=typeof document?document.domain&&Lh?Wh(Lh):(r=Xh("iframe"),e="java"+qh+":",r.style.display="none",Yh.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Hh("document.F=Object")),t.close(),t.F):Wh(Lh);for(var i=zh.length;i--;)delete Qh[Uh][zh[i]];return Qh()};_h[Gh]=!0;var Zh,Kh,Jh=Object.create||function(t,r){var e;return null!==t?(Vh[Uh]=Fh(t),e=new Vh,Vh[Uh]=null,e[Gh]=t):e=Qh(),void 0===r?e:Ih.f(e,r)},tu=n.RegExp,ru=a((function(){var t=tu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),eu=n.RegExp,iu=a((function(){var t=eu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nu=c,su=M,au=xh,ou=kh,hu=jh,uu=Jh,cu=ve.get,fu=ru,lu=iu,vu=Tt("native-string-replace",String.prototype.replace),du=RegExp.prototype.exec,pu=du,yu=su("".charAt),gu=su("".indexOf),mu=su("".replace),bu=su("".slice),wu=(Kh=/b*/g,nu(du,Zh=/a/,"a"),nu(du,Kh,"a"),0!==Zh.lastIndex||0!==Kh.lastIndex),xu=hu.BROKEN_CARET,Mu=void 0!==/()??/.exec("")[1];(wu||Mu||xu||fu||lu)&&(pu=function(t){var r,e,i,n,s,a,o,h=this,u=cu(h),c=au(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=nu(pu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=xu&&h.sticky,d=nu(ou,h),p=h.source,y=0,g=c;if(v&&(d=mu(d,"y",""),-1===gu(d,"g")&&(d+="g"),g=bu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==yu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),e=new RegExp("^(?:"+p+")",d)),Mu&&(e=new RegExp("^"+p+"$(?!\\s)",d)),wu&&(i=h.lastIndex),n=nu(du,v?e:h,g),v?n?(n.input=bu(n.input,y),n[0]=bu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:wu&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),Mu&&n&&n.length>1&&nu(vu,n[0],e,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=uu(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var ku=pu;Di({target:"RegExp",proto:!0,forced:/./.exec!==ku},{exec:ku});var Nu=c,Su=$e,Ou=ku,Pu=a,ju=Qt,Eu=Lr,Cu=ju("species"),Tu=RegExp.prototype,Au=function(t,r,e,i){var n=ju(t),s=!Pu((function(){var r={};return r[n]=function(){return 7},7!==""[t](r)})),a=s&&!Pu((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Cu]=function(){return e},e.flags="",e[n]=/./[n]),e.exec=function(){return r=!0,null},e[n](""),!r}));if(!s||!a||e){var o=/./[n],h=r(n,""[t],(function(t,r,e,i,n){var a=r.exec;return a===Ou||a===Tu.exec?s&&!n?{done:!0,value:Nu(o,r,e,i)}:{done:!0,value:Nu(t,e,r,i)}:{done:!1}}));Su(String.prototype,t,h[0]),Su(Tu,n,h[1])}i&&Eu(Tu[n],"sham",!0)},Ru=M,Bu=_e,$u=xh,Du=$,Lu=Ru("".charAt),Fu=Ru("".charCodeAt),Iu=Ru("".slice),zu=function(t){return function(r,e){var i,n,s=$u(Du(r)),a=Bu(e),o=s.length;return a<0||a>=o?t?"":void 0:(i=Fu(s,a))<55296||i>56319||a+1===o||(n=Fu(s,a+1))<56320||n>57343?t?Lu(s,a):i:t?Iu(s,a,a+2):n-56320+(i-55296<<10)+65536}},_u=(zu(!1),zu(!0)),Yu=function(t,r,e){return r+(e?_u(t,r).length:1)},Xu=c,Uu=Sr,qu=z,Gu=O,Vu=ku,Hu=TypeError,Wu=function(t,r){var e=t.exec;if(qu(e)){var i=Xu(e,t,r);return null!==i&&Uu(i),i}if("RegExp"===Gu(t))return Xu(Vu,t,r);throw new Hu("RegExp#exec called on incompatible receiver")},Qu=c,Zu=Sr,Ku=A,Ju=Ve,tc=xh,rc=$,ec=bt,ic=Yu,nc=Wu;Au("match",(function(t,r,e){return[function(r){var e=rc(this),i=Ku(r)?void 0:ec(r,t);return i?Qu(i,r,e):new RegExp(r)[t](tc(e))},function(t){var i=Zu(this),n=tc(t),s=e(r,i,n);if(s.done)return s.value;if(!i.global)return nc(i,n);var a=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=nc(i,n));){var c=tc(o[0]);h[u]=c,""===c&&(i.lastIndex=ic(n,Ju(i.lastIndex),a)),u++}return 0===u?null:h}]}));var sc=M,ac=Bt,oc=Math.floor,hc=sc("".charAt),uc=sc("".replace),cc=sc("".slice),fc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lc=/\$([$&'`]|\d{1,2})/g,vc=qn,dc=c,pc=M,yc=Au,gc=a,mc=Sr,bc=z,wc=A,xc=_e,Mc=Ve,kc=xh,Nc=$,Sc=Yu,Oc=bt,Pc=function(t,r,e,i,n,s){var a=e+t.length,o=i.length,h=lc;return void 0!==n&&(n=ac(n),h=fc),uc(s,h,(function(s,h){var u;switch(hc(h,0)){case"$":return"$";case"&":return t;case"`":return cc(r,0,e);case"'":return cc(r,a);case"<":u=n[cc(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=oc(c/10);return 0===f?s:f<=o?void 0===i[f-1]?hc(h,1):i[f-1]+hc(h,1):s}u=i[c-1]}return void 0===u?"":u}))},jc=Wu,Ec=Qt("replace"),Cc=Math.max,Tc=Math.min,Ac=pc([].concat),Rc=pc([].push),Bc=pc("".indexOf),$c=pc("".slice),Dc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Ec]&&""===/./[Ec]("a","$0");yc("replace",(function(t,r,e){var i=Lc?"$":"$0";return[function(t,e){var i=Nc(this),n=wc(t)?void 0:Oc(t,Ec);return n?dc(n,t,i,e):dc(r,kc(i),t,e)},function(t,n){var s=mc(this),a=kc(t);if("string"==typeof n&&-1===Bc(n,i)&&-1===Bc(n,"$<")){var o=e(r,s,a,n);if(o.done)return o.value}var h=bc(n);h||(n=kc(n));var u,c=s.global;c&&(u=s.unicode,s.lastIndex=0);for(var f,l=[];null!==(f=jc(s,a))&&(Rc(l,f),c);)""===kc(f[0])&&(s.lastIndex=Sc(a,Mc(s.lastIndex),u));for(var v,d="",p=0,y=0;y<l.length;y++){for(var g,m=kc((f=l[y])[0]),b=Cc(Tc(xc(f.index),a.length),0),w=[],x=1;x<f.length;x++)Rc(w,void 0===(v=f[x])?v:String(v));var M=f.groups;if(h){var k=Ac([m],w,b,a);void 0!==M&&Rc(k,M),g=kc(vc(n,void 0,k))}else g=Pc(m,a,b,w,M,n);b>=p&&(d+=$c(a,p,b)+g,p=b+m.length)}return d+$c(a,p)}]}),!!gc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Dc||Lc);var Fc,Ic=Y,zc=O,_c=Qt("match"),Yc=TypeError,Xc=function(t){if(function(t){var r;return Ic(t)&&(void 0!==(r=t[_c])?!!r:"RegExp"===zc(t))}(t))throw new Yc("The method doesn't accept regular expressions");return t},Uc=Qt("match"),qc=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Uc]=!1,"/./"[t](r)}catch(t){}}return!1},Gc=Di,Vc=s.f,Hc=Ve,Wc=xh,Qc=Xc,Zc=$,Kc=qc,Jc=Hn("".slice),tf=Math.min,rf=Kc("startsWith");Gc({target:"String",proto:!0,forced:!(!rf&&(Fc=Vc(String.prototype,"startsWith"),Fc&&!Fc.writable)||rf)},{startsWith:function(t){var r=Wc(Zc(this));Qc(t);var e=Hc(tf(arguments.length>1?arguments[1]:void 0,r.length)),i=Wc(t);return Jc(r,e,e+i.length)===i}});var ef=Jh,nf=wr.f,sf=Qt("unscopables"),af=Array.prototype;void 0===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=Lt,lf=z,vf=Bt,df=cf,pf=re("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 e=r.constructor;return lf(e)&&r instanceof e?e.prototype:r instanceof yf?gf:null},bf=a,wf=z,xf=Y,Mf=mf,kf=$e,Nf=Qt("iterator"),Sf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Sf=!0);var Of=!xf(of)||bf((function(){var t={};return of[Nf].call(t)!==t}));Of&&(of={}),wf(of[Nf])||kf(of,Nf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Sf},jf=Pf.IteratorPrototype,Ef=Jh,Cf=g,Tf=rn,Af=yo,Rf=function(){return this},Bf=Di,$f=c,Df=z,Lf=mf,Ff=Zi,If=rn,zf=Lr,_f=$e,Yf=yo,Xf=Xr.PROPER,Uf=Xr.CONFIGURABLE,qf=Pf.IteratorPrototype,Gf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Qt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=F,Jf=function(t){af[sf][t]=!0},tl=yo,rl=wr.f,el=function(t,r){return{value:t,done:r}},il=o,nl="Array Iterator",sl=ve.set,al=ve.getterFor(nl),ol=function(t,r,e,i,n,s,a){!function(t,r,e,i){var n=r+" Iterator";t.prototype=Ef(jf,{next:Cf(+!i,e)}),Tf(t,n,!1),Af[n]=Rf}(e,r,i);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Gf&&t&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new e(this,t)}}return function(){return new e(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Gf&&d||c(n),y="Array"===r&&v.entries||d;if(y&&(o=Lf(y.call(new t)))!==Object.prototype&&o.next&&(Lf(o)!==qf&&(Ff?Ff(o,qf):Df(o[Vf])||_f(o,Vf,Zf)),If(o,f,!0)),Xf&&n===Wf&&d&&d.name!==Wf&&(Uf?zf(v,"name",Wf):(l=!0,p=function(){return $f(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Gf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Gf||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,e=t.index++;if(!r||e>=r.length)return t.target=null,el(void 0,!0);switch(t.kind){case"keys":return el(e,!1);case"values":return el(r[e],!1)}return el([e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),il&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=ur("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=Lr,yl=rn,gl=Qt("iterator"),ml=dl.values,bl=function(t,r){if(t){if(t[gl]!==ml)try{pl(t,gl,ml)}catch(r){t[gl]=ml}if(yl(t,r,!0),ll[r])for(var e in dl)if(t[e]!==dl[e])try{pl(t,e,dl[e])}catch(r){t[e]=dl[e]}}};for(var wl in ll)bl(fl[wl]&&fl[wl].prototype,wl);bl(vl,"DOMTokenList");var xl=yt,Ml=Bt,kl=T,Nl=We,Sl=TypeError,Ol="Reduce of empty array with no initial value",Pl=function(t){return function(r,e,i,n){var s=Ml(r),a=kl(s),o=Nl(s);if(xl(e),0===o&&i<2)throw new Sl(Ol);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new Sl(Ol)}for(;t?h>=0:o>h;h+=u)h in a&&(n=e(n,a[h],h,s));return n}},jl={left:Pl(!1),right:Pl(!0)},El=a,Cl=function(t,r){var e=[][t];return!!e&&El((function(){e.call(null,r||function(){return 1},1)}))},Tl=jl.left;Di({target:"Array",proto:!0,forced:!Yi&&rt>79&&rt<83||!Cl("reduce")},{reduce:function(t){var r=arguments.length;return Tl(this,t,r,r>1?arguments[1]:void 0)}});var Al=Di,Rl=s.f,Bl=Ve,$l=xh,Dl=Xc,Ll=$,Fl=qc,Il=Hn("".slice),zl=Math.min,_l=Fl("endsWith"),Yl=!_l&&!!function(){var t=Rl(String.prototype,"endsWith");return t&&!t.writable}();Al({target:"String",proto:!0,forced:!Yl&&!_l},{endsWith:function(t){var r=$l(Ll(this));Dl(t);var e=arguments.length>1?arguments[1]:void 0,i=r.length,n=void 0===e?i:zl(Bl(e),i),s=$l(t);return Il(r,n-s.length,n)===s}});var Xl=c,Ul=M,ql=Au,Gl=Sr,Vl=A,Hl=$,Wl=_n,Ql=Yu,Zl=Ve,Kl=xh,Jl=bt,tv=Wu,rv=a,ev=jh.UNSUPPORTED_Y,iv=Math.min,nv=Ul([].push),sv=Ul("".slice),av=!rv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),ov="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;ql("split",(function(t,r,e){var i="0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:Xl(r,this,t,e)}:r;return[function(r,e){var n=Hl(this),s=Vl(r)?void 0:Jl(r,t);return s?Xl(s,r,n,e):Xl(i,Kl(n),r,e)},function(t,n){var s=Gl(this),a=Kl(t);if(!ov){var o=e(i,s,a,n,i!==r);if(o.done)return o.value}var h=Wl(s,RegExp),u=s.unicode,c=new h(ev?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(ev?"g":"y")),f=void 0===n?4294967295:n>>>0;if(0===f)return[];if(0===a.length)return null===tv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=ev?0:v;var p,y=tv(c,ev?sv(a,v):a);if(null===y||(p=iv(Zl(c.lastIndex+(ev?v:0)),a.length))===l)v=Ql(a,v,u);else{if(nv(d,sv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(nv(d,y[g]),d.length===f)return d;v=l=p}}return nv(d,sv(a,l)),d}]}),ov||!av,ev);var hv={exports:{}},uv={exports:{}};(function(){var t,r,e,i,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?uv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(uv.exports=function(){return(t()-n)/1e6},r=process.hrtime,i=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=i-s):Date.now?(uv.exports=function(){return Date.now()-e},e=Date.now()):(uv.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t);for(var cv=uv.exports,fv="undefined"==typeof window?t:window,lv=["moz","webkit"],vv="AnimationFrame",dv=fv["request"+vv],pv=fv["cancel"+vv]||fv["cancelRequest"+vv],yv=0;!dv&&yv<lv.length;yv++)dv=fv[lv[yv]+"Request"+vv],pv=fv[lv[yv]+"Cancel"+vv]||fv[lv[yv]+"CancelRequest"+vv];if(!dv||!pv){var gv=0,mv=0,bv=[],wv=1e3/60;dv=function(t){if(0===bv.length){var r=cv(),e=Math.max(0,wv-(r-gv));gv=e+r,setTimeout((function(){var t=bv.slice(0);bv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(gv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(e))}return bv.push({handle:++mv,callback:t,cancelled:!1}),mv},pv=function(t){for(var r=0;r<bv.length;r++)bv[r].handle===t&&(bv[r].cancelled=!0)}}hv.exports=function(t){return dv.call(fv,t)},hv.exports.cancel=function(){pv.apply(fv,arguments)},hv.exports.polyfill=function(t){t||(t=fv),t.requestAnimationFrame=dv,t.cancelAnimationFrame=pv};const xv=hv.exports;var Mv,kv="\t\n\v\f\r                 \u2028\u2029\ufeff",Nv=$,Sv=xh,Ov=kv,Pv=M("".replace),jv=RegExp("^["+Ov+"]+"),Ev=RegExp("(^|[^"+Ov+"])["+Ov+"]+$"),Cv=function(t){return function(r){var e=Sv(Nv(r));return 1&t&&(e=Pv(e,jv,"")),2&t&&(e=Pv(e,Ev,"$1")),e}},Tv={start:Cv(1),end:Cv(2),trim:Cv(3)},Av=Xr.PROPER,Rv=kv,Bv=Tv.trim;Di({target:"String",proto:!0,forced:(Mv="trim",a((function(){return!!Rv[Mv]()||"​…᠎"!=="​…᠎"[Mv]()||Av&&Rv[Mv].name!==Mv})))},{trim:function(){return Bv(this)}});var $v=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 e=[{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)]}}],i=0;i<e.length;i++){var n=e[i].process,s=e[i].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),e=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==e.length&&(e="0"+e),"#"+t+r+e},this.getHelpXML=function(){for(var t=new Array,i=0;i<e.length;i++)for(var n=e[i].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"),i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),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[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},Dv=Di,Lv=Je.indexOf,Fv=Cl,Iv=Hn([].indexOf),zv=!!Iv&&1/Iv([1],1,-0)<0;Dv({target:"Array",proto:!0,forced:zv||!Fv("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return zv?Iv(this,t,r)||0:Lv(this,t,r)}});var _v=Di,Yv=Xc,Xv=$,Uv=xh,qv=qc,Gv=M("".indexOf);_v({target:"String",proto:!0,forced:!qv("includes")},{includes:function(t){return!!~Gv(Uv(Xv(this)),Uv(Yv(t)),arguments.length>1?arguments[1]:void 0)}});var Vv=O,Hv=Di,Wv=Array.isArray||function(t){return"Array"===Vv(t)},Qv=M([].reverse),Zv=[1,2];Hv({target:"Array",proto:!0,forced:String(Zv)===String(Zv.reverse())},{reverse:function(){return Wv(this)&&(this.length=this.length),Qv(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 Kv=function(t,r){return(Kv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])})(t,r)};function Jv(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}Kv(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}function td(t,r){var e=t[0],i=t[1];return[e*Math.cos(r)-i*Math.sin(r),e*Math.sin(r)+i*Math.cos(r)]}function rd(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=0;e<t.length;e++)if("number"!=typeof t[e])throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof t[e]+" == typeof "+t[e]);return!0}var ed=Math.PI;function id(t,r,e){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var i=t.rX,n=t.rY,s=t.x,a=t.y;i=Math.abs(t.rX),n=Math.abs(t.rY);var o=td([(r-s)/2,(e-a)/2],-t.xRot/180*ed),h=o[0],u=o[1],c=Math.pow(h,2)/Math.pow(i,2)+Math.pow(u,2)/Math.pow(n,2);1<c&&(i*=Math.sqrt(c),n*=Math.sqrt(c)),t.rX=i,t.rY=n;var f=Math.pow(i,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(i,2)*Math.pow(n,2)-f)/f)),v=i*u/n*l,d=-n*h/i*l,p=td([v,d],t.xRot/180*ed);t.cX=p[0]+(r+s)/2,t.cY=p[1]+(e+a)/2,t.phi1=Math.atan2((u-d)/n,(h-v)/i),t.phi2=Math.atan2((-u-d)/n,(-h-v)/i),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*ed),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*ed),t.phi1*=180/ed,t.phi2*=180/ed}function nd(t,r,e){rd(t,r,e);var i=t*t+r*r-e*e;if(0>i)return[];if(0===i)return[[t*e/(t*t+r*r),r*e/(t*t+r*r)]];var n=Math.sqrt(i);return[[(t*e+r*n)/(t*t+r*r),(r*e-t*n)/(t*t+r*r)],[(t*e-r*n)/(t*t+r*r),(r*e+t*n)/(t*t+r*r)]]}var sd,ad=Math.PI/180;function od(t,r,e){return(1-e)*t+e*r}function hd(t,r,e,i){return t+Math.cos(i/180*ed)*r+Math.sin(i/180*ed)*e}function ud(t,r,e,i){var n=1e-6,s=r-t,a=e-r,o=3*s+3*(i-e)-6*a,h=6*(a-s),u=3*s;return Math.abs(o)<n?[-u/h]:function(t,r,e){void 0===e&&(e=1e-6);var i=t*t/4-r;if(i<-e)return[];if(i<=e)return[-t/2];var n=Math.sqrt(i);return[-t/2-n,-t/2+n]}(h/o,u/o,n)}function cd(t,r,e,i,n){var s=1-n;return t*(s*s*s)+r*(3*s*s*n)+e*(3*s*n*n)+i*(n*n*n)}!function(t){function r(){return n((function(t,r,e){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=e),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=e),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=e),t.relative=!1),t}))}function e(){var t=NaN,r=NaN,e=NaN,i=NaN;return n((function(n,s,a){return n.type&yd.SMOOTH_CURVE_TO&&(n.type=yd.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&yd.CURVE_TO?(t=n.relative?s+n.x2:n.x2,r=n.relative?a+n.y2:n.y2):(t=NaN,r=NaN),n.type&yd.SMOOTH_QUAD_TO&&(n.type=yd.QUAD_TO,e=isNaN(e)?s:e,i=isNaN(i)?a:i,n.x1=n.relative?s-e:2*s-e,n.y1=n.relative?a-i:2*a-i),n.type&yd.QUAD_TO?(e=n.relative?s+n.x1:n.x1,i=n.relative?a+n.y1:n.y1):(e=NaN,i=NaN),n}))}function i(){var t=NaN,r=NaN;return n((function(e,i,n){if(e.type&yd.SMOOTH_QUAD_TO&&(e.type=yd.QUAD_TO,t=isNaN(t)?i:t,r=isNaN(r)?n:r,e.x1=e.relative?i-t:2*i-t,e.y1=e.relative?n-r:2*n-r),e.type&yd.QUAD_TO){t=e.relative?i+e.x1:e.x1,r=e.relative?n+e.y1:e.y1;var s=e.x1,a=e.y1;e.type=yd.CURVE_TO,e.x1=((e.relative?0:i)+2*s)/3,e.y1=((e.relative?0:n)+2*a)/3,e.x2=(e.x+2*s)/3,e.y2=(e.y+2*a)/3}else t=NaN,r=NaN;return e}))}function n(t){var r=0,e=0,i=NaN,n=NaN;return function(s){if(isNaN(i)&&!(s.type&yd.MOVE_TO))throw new Error("path must start with moveto");var a=t(s,r,e,i,n);return s.type&yd.CLOSE_PATH&&(r=i,e=n),void 0!==s.x&&(r=s.relative?r+s.x:s.x),void 0!==s.y&&(e=s.relative?e+s.y:s.y),s.type&yd.MOVE_TO&&(i=r,n=e),a}}function s(t,r,e,i,s,a){return rd(t,r,e,i,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&yd.HORIZ_LINE_TO&&0!==r&&(n.type=yd.LINE_TO,n.y=n.relative?0:h),n.type&yd.VERT_LINE_TO&&0!==e&&(n.type=yd.LINE_TO,n.x=n.relative?0:o),void 0!==n.x&&(n.x=n.x*t+d*e+(l?0:s)),void 0!==n.y&&(n.y=v*r+n.y*i+(l?0:a)),void 0!==n.x1&&(n.x1=n.x1*t+n.y1*e+(l?0:s)),void 0!==n.y1&&(n.y1=c*r+n.y1*i+(l?0:a)),void 0!==n.x2&&(n.x2=n.x2*t+n.y2*e+(l?0:s)),void 0!==n.y2&&(n.y2=f*r+n.y2*i+(l?0:a));var y=t*i-r*e;if(void 0!==n.xRot&&(1!==t||0!==r||0!==e||1!==i))if(0===y)delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag,n.type=yd.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),N=p(m)*w+p(b)*x,S=M*i*i-k*r*i+N*r*r,O=k*(t*i+r*e)-2*(M*e*i+N*t*r),P=M*e*e-k*t*e+N*t*t,j=(Math.atan2(O,S-P)+Math.PI)%Math.PI/2,E=Math.sin(j),C=Math.cos(j);n.rX=Math.abs(y)/Math.sqrt(S*p(C)+O*E*C+P*p(E)),n.rY=Math.abs(y)/Math.sqrt(S*p(E)-O*E*C+P*p(C)),n.xRot=180*j/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),rd(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,e){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=e),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=e),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=e),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,r,e){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===e&&(e=!0),n((function(i,n,s,a,o){if(isNaN(a)&&!(i.type&yd.MOVE_TO))throw new Error("path must start with moveto");return r&&i.type&yd.HORIZ_LINE_TO&&(i.type=yd.LINE_TO,i.y=i.relative?0:s),e&&i.type&yd.VERT_LINE_TO&&(i.type=yd.LINE_TO,i.x=i.relative?0:n),t&&i.type&yd.CLOSE_PATH&&(i.type=yd.LINE_TO,i.x=i.relative?a-n:a,i.y=i.relative?o-s:o),i.type&yd.ARC&&(0===i.rX||0===i.rY)&&(i.type=yd.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),i}))},t.NORMALIZE_ST=e,t.QT_TO_C=i,t.INFO=n,t.SANITIZE=function(t){void 0===t&&(t=0),rd(t);var r=NaN,e=NaN,i=NaN,s=NaN;return n((function(n,a,o,h,u){var c=Math.abs,f=!1,l=0,v=0;if(n.type&yd.SMOOTH_CURVE_TO&&(l=isNaN(r)?0:a-r,v=isNaN(e)?0:o-e),n.type&(yd.CURVE_TO|yd.SMOOTH_CURVE_TO)?(r=n.relative?a+n.x2:n.x2,e=n.relative?o+n.y2:n.y2):(r=NaN,e=NaN),n.type&yd.SMOOTH_QUAD_TO?(i=isNaN(i)?a:2*a-i,s=isNaN(s)?o:2*o-s):n.type&yd.QUAD_TO?(i=n.relative?a+n.x1:n.x1,s=n.relative?o+n.y1:n.y2):(i=NaN,s=NaN),n.type&yd.LINE_COMMANDS||n.type&yd.ARC&&(0===n.rX||0===n.rY||!n.lArcFlag)||n.type&yd.CURVE_TO||n.type&yd.SMOOTH_CURVE_TO||n.type&yd.QUAD_TO||n.type&yd.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(i)?void 0===n.x1?l:n.relative?n.x:n.x1-a:i-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&yd.CLOSE_PATH&&c(a-h)<=t&&c(o-u)<=t&&(f=!0),f?[]:n}))},t.MATRIX=s,t.ROTATE=function(t,r,e){void 0===r&&(r=0),void 0===e&&(e=0),rd(t,r,e);var i=Math.sin(t),n=Math.cos(t);return s(n,i,-i,n,r-r*n+e*i,e-r*i-e*n)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),rd(t,r),s(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),rd(t,r),s(t,0,0,r,0,0)},t.SKEW_X=function(t){return rd(t),s(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return rd(t),s(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),rd(t),s(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),rd(t),s(1,0,0,-1,0,t)},t.A_TO_C=function(){return n((function(t,r,e){return yd.ARC===t.type?function(t,r,e){var i,n,s,a;t.cX||id(t,r,e);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=e,v=0;v<u;v++){var d=od(t.phi1,t.phi2,v/u),p=od(t.phi1,t.phi2,(v+1)/u),y=4/3*Math.tan((p-d)*ad/4),g=[Math.cos(d*ad)-y*Math.sin(d*ad),Math.sin(d*ad)+y*Math.cos(d*ad)],m=g[0],b=g[1],w=[Math.cos(p*ad),Math.sin(p*ad)],x=w[0],M=w[1],k=[x+y*Math.sin(p*ad),M-y*Math.cos(p*ad)],N=k[0],S=k[1];c[v]={relative:t.relative,type:yd.CURVE_TO};var O=function(r,e){var i=td([r*t.rX,e*t.rY],t.xRot);return[t.cX+i[0],t.cY+i[1]]};i=O(m,b),c[v].x1=i[0],c[v].y1=i[1],n=O(N,S),c[v].x2=n[0],c[v].y2=n[1],s=O(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:e):t}))},t.ANNOTATE_ARCS=function(){return n((function(t,r,e){return t.relative&&(r=0,e=0),yd.ARC===t.type&&id(t,r,e),t}))},t.CLONE=function(){return function(t){var r={};for(var e in t)r[e]=t[e];return r}},t.CALCULATE_BOUNDS=function(){var t=r(),s=i(),a=e(),o=n((function(r,e,i){var n=a(s(t(function(t){var r={};for(var e in t)r[e]=t[e];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&yd.DRAWING_COMMANDS&&(h(e),u(i)),n.type&yd.HORIZ_LINE_TO&&h(n.x),n.type&yd.VERT_LINE_TO&&u(n.y),n.type&yd.LINE_TO&&(h(n.x),u(n.y)),n.type&yd.CURVE_TO){h(n.x),u(n.y);for(var c=0,f=ud(e,n.x1,n.x2,n.x);c<f.length;c++)0<(P=f[c])&&1>P&&h(cd(e,n.x1,n.x2,n.x,P));for(var l=0,v=ud(i,n.y1,n.y2,n.y);l<v.length;l++)0<(P=v[l])&&1>P&&u(cd(i,n.y1,n.y2,n.y,P))}if(n.type&yd.ARC){h(n.x),u(n.y),id(n,e,i);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,N=nd(g,-p,0).map(M);k<N.length;k++)(P=N[k])>w&&P<x&&h(hd(n.cX,p,g,P));for(var S=0,O=nd(m,-y,0).map(M);S<O.length;S++){var P;(P=O[S])>w&&P<x&&u(hd(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 fd,ld=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,e){return this.transform(sd.NORMALIZE_HVZ(t,r,e))},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,e){return this.transform(sd.ROTATE(t,r,e))},t.prototype.matrix=function(t,r,e,i,n,s){return this.transform(sd.MATRIX(t,r,e,i,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}(),vd=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},dd=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},pd=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 Jv(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 e=this;void 0===r&&(r=[]);for(var i=function(t){r.push(t),e.curArgs.length=0,e.canParseCommandOrComma=!0},n=0;n<t.length;n++){var s=t[n],a=!(this.curCommandType!==yd.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),o=dd(s)&&("0"===this.curNumber&&"0"===s||a);if(!dd(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===yd.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===gd[this.curCommandType]&&(yd.HORIZ_LINE_TO===this.curCommandType?i({type:yd.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):yd.VERT_LINE_TO===this.curCommandType?i({type:yd.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===yd.MOVE_TO||this.curCommandType===yd.LINE_TO||this.curCommandType===yd.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),yd.MOVE_TO===this.curCommandType&&(this.curCommandType=yd.LINE_TO)):this.curCommandType===yd.CURVE_TO?i({type:yd.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===yd.SMOOTH_CURVE_TO?i({type:yd.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===yd.QUAD_TO?i({type:yd.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===yd.ARC&&i({type:yd.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(!vd(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=yd.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=yd.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=yd.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=yd.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=yd.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=yd.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=yd.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=yd.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+".");this.curCommandType=yd.ARC,this.curCommandRelative="a"===s}else r.push({type:yd.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,e){void 0===e&&(e=[]);for(var i=0,n=Object.getPrototypeOf(this).parse.call(this,r);i<n.length;i++){var s=t(n[i]);Array.isArray(s)?e.push.apply(e,s):e.push(s)}return e}}})},r}(ld),yd=function(t){function r(e){var i=t.call(this)||this;return i.commands="string"==typeof e?r.parse(e):e,i}return Jv(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=[],e=0,i=this.commands;e<i.length;e++){var n=t(i[e]);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 e=0;e<t.length;e++){var i=t[e];if(i.type===yd.CLOSE_PATH)r+="z";else if(i.type===yd.HORIZ_LINE_TO)r+=(i.relative?"h":"H")+i.x;else if(i.type===yd.VERT_LINE_TO)r+=(i.relative?"v":"V")+i.y;else if(i.type===yd.MOVE_TO)r+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===yd.LINE_TO)r+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===yd.CURVE_TO)r+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===yd.SMOOTH_CURVE_TO)r+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===yd.QUAD_TO)r+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===yd.SMOOTH_QUAD_TO)r+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==yd.ARC)throw new Error('Unexpected command type "'+i.type+'" at index '+e+".");r+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return r}(t)},r.parse=function(t){var r=new pd,e=[];return r.parse(t,e),r.finish(e),e},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}(ld),gd=((fd={})[yd.MOVE_TO]=2,fd[yd.LINE_TO]=2,fd[yd.HORIZ_LINE_TO]=1,fd[yd.VERT_LINE_TO]=1,fd[yd.CLOSE_PATH]=0,fd[yd.QUAD_TO]=4,fd[yd.SMOOTH_QUAD_TO]=2,fd[yd.CURVE_TO]=6,fd[yd.SMOOTH_CURVE_TO]=4,fd[yd.ARC]=7,fd),md=c,bd=Lt,wd=G,xd=kh,Md=RegExp.prototype,kd=Xr.PROPER,Nd=$e,Sd=Sr,Od=xh,Pd="toString",jd=RegExp.prototype,Ed=jd[Pd];function Cd(t){return Cd="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},Cd(t)}(a((function(){return"/a/b"!==Ed.call({source:"a",flags:"b"})}))||kd&&Ed.name!==Pd)&&Nd(jd,Pd,(function(){var t=Sd(this);return"/"+Od(t.source)+"/"+Od(function(t){var r=t.flags;return void 0!==r||"flags"in Md||bd(t,"flags")||!wd(Md,t)?r:md(xd,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 Td=[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],Ad=[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 Rd(t,r,e,i,n,s){if(!(isNaN(s)||s<1)){s|=0;var a=function(t,r,e,i,n){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==Cd(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,e,i,n)}catch(t){throw new Error("unable to access image data: "+t)}}(t,r,e,i,n);a=function(t,r,e,i,n,s){for(var a,o=t.data,h=2*s+1,u=i-1,c=n-1,f=s+1,l=f*(f+1)/2,v=new Bd,d=v,p=1;p<h;p++)d=d.next=new Bd,p===f&&(a=d);d.next=v;for(var y=null,g=null,m=0,b=0,w=Td[s],x=Ad[s],M=0;M<n;M++){d=v;for(var k=o[b],N=o[b+1],S=o[b+2],O=o[b+3],P=0;P<f;P++)d.r=k,d.g=N,d.b=S,d.a=O,d=d.next;for(var j=0,E=0,C=0,T=0,A=f*k,R=f*N,B=f*S,$=f*O,D=l*k,L=l*N,F=l*S,I=l*O,z=1;z<f;z++){var _=b+((u<z?u:z)<<2),Y=o[_],X=o[_+1],U=o[_+2],q=o[_+3],G=f-z;D+=(d.r=Y)*G,L+=(d.g=X)*G,F+=(d.b=U)*G,I+=(d.a=q)*G,j+=Y,E+=X,C+=U,T+=q,d=d.next}y=v,g=a;for(var V=0;V<i;V++){var H=I*w>>>x;if(o[b+3]=H,0!==H){var W=255/H;o[b]=(D*w>>>x)*W,o[b+1]=(L*w>>>x)*W,o[b+2]=(F*w>>>x)*W}else o[b]=o[b+1]=o[b+2]=0;D-=A,L-=R,F-=B,I-=$,A-=y.r,R-=y.g,B-=y.b,$-=y.a;var Q=V+s+1;D+=j+=y.r=o[Q=m+(Q<u?Q:u)<<2],L+=E+=y.g=o[Q+1],F+=C+=y.b=o[Q+2],I+=T+=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,$+=tt,j-=Z,E-=K,C-=J,T-=tt,g=g.next,b+=4}m+=i}for(var rt=0;rt<i;rt++){var et=o[b=rt<<2],it=o[b+1],nt=o[b+2],st=o[b+3],at=f*et,ot=f*it,ht=f*nt,ut=f*st,ct=l*et,ft=l*it,lt=l*nt,vt=l*st;d=v;for(var dt=0;dt<f;dt++)d.r=et,d.g=it,d.b=nt,d.a=st,d=d.next;for(var pt=i,yt=0,gt=0,mt=0,bt=0,wt=1;wt<=s;wt++){var xt=f-wt;ct+=(d.r=et=o[b=pt+rt<<2])*xt,ft+=(d.g=it=o[b+1])*xt,lt+=(d.b=nt=o[b+2])*xt,vt+=(d.a=st=o[b+3])*xt,bt+=et,yt+=it,gt+=nt,mt+=st,d=d.next,wt<c&&(pt+=i)}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)*i<<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+=et=g.r,ot+=it=g.g,ht+=nt=g.b,ut+=st=g.a,bt-=et,yt-=it,gt-=nt,mt-=st,g=g.next,b+=i}}return t}(a,0,0,i,n,s),t.getContext("2d").putImageData(a,r,e)}}var Bd=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},$d=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,r)=>new OffscreenCanvas(t,r),createImage:t=>r((function*(){var r=yield fetch(t),e=yield r.blob();return yield createImageBitmap(e)}))()};return"undefined"==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(e,"DOMParser"),e},node:function(t){var{DOMParser:r,canvas:e,fetch:i}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,fetch:i,createCanvas:e.createCanvas,createImage:e.loadImage}}});function Dd(t){return t.replace(/(?!\u3000)\s+/gm," ")}function Ld(t){return t.replace(/^[\n \t]+/,"")}function Fd(t){return t.replace(/[\n \t]+$/,"")}function Id(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var zd=/^[A-Z-]+$/;function _d(t){return zd.test(t)?t.toLowerCase():t}function Yd(t){var r=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return r[2]||r[3]||r[4]}function Xd(t){if(!t.startsWith("rgb"))return t;var r=3;return t.replace(/\d+(\.\d+)?/g,((t,e)=>r--&&e?String(Math.round(parseFloat(t))):t))}var Ud=/(\[[^\]]+\])/g,qd=/(#[^\s+>~.[:]+)/g,Gd=/(\.[^\s+>~.[:]+)/g,Vd=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,Hd=/(:[\w-]+\([^)]*\))/gi,Wd=/(:[^\s+>~.[:]+)/g,Qd=/([^\s+>~.[:]+)/g;function Zd(t,r){var e=r.exec(t);return e?[t.replace(r," "),e.length]:[t,0]}function Kd(t){var r=[0,0,0],e=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),i=0;return[e,i]=Zd(e,Ud),r[1]+=i,[e,i]=Zd(e,qd),r[0]+=i,[e,i]=Zd(e,Gd),r[1]+=i,[e,i]=Zd(e,Vd),r[2]+=i,[e,i]=Zd(e,Hd),r[1]+=i,[e,i]=Zd(e,Wd),r[1]+=i,e=e.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[e,i]=Zd(e,Qd),r[2]+=i,r.join("")}var Jd=1e-8;function tp(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function rp(t,r){return(t[0]*r[0]+t[1]*r[1])/(tp(t)*tp(r))}function ep(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(rp(t,r))}function ip(t){return t*t*t}function np(t){return 3*t*t*(1-t)}function sp(t){return 3*t*(1-t)*(1-t)}function ap(t){return(1-t)*(1-t)*(1-t)}function op(t){return t*t}function hp(t){return 2*t*(1-t)}function up(t){return(1-t)*(1-t)}class cp{constructor(t,r,e){this.document=t,this.name=r,this.value=e,this.isNormalizedColor=!1}static empty(t){return new cp(t,"EMPTY","")}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:r,name:e}=this;return Dd(this.getString()).trim().split(t).map((t=>new cp(r,e,t)))}hasValue(t){var{value:r}=this;return null!==r&&""!==r&&(t||0!==r)&&void 0!==r}isString(t){var{value:r}=this,e="string"==typeof r;return e&&t?t.test(r):e}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,e=parseFloat(r);return this.isString(/%$/)&&(e/=100),e}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=Xd(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[e,i]="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(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(e);default:var s=this.getNumber();return r&&s<1?s*n.computeSize(e):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 e=this.getDefinition();if(!e)return null;if("function"==typeof e.createGradient)return e.createGradient(this.document.ctx,t,r);if("function"==typeof e.createPattern){if(e.getHrefAttribute().hasValue()){var i=e.getAttribute("patternTransform");e=e.getHrefAttribute().getDefinition(),i.hasValue()&&e.getAttribute("patternTransform",!0).setValue(i.value)}return e.createPattern(this.document.ctx,t,r)}return null}getTextBaseline(){return this.hasValue()?cp.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var r=this.getColor(),e=r.length,i=0,n=0;n<e&&(","===r[n]&&i++,3!==i);n++);if(t.hasValue()&&this.isString()&&3!==i){var s=new $v(r);s.ok&&(s.alpha=t.getNumber(),r=s.toRGBA())}return new cp(this.document,this.name,r)}}cp.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 fp{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 lp{constructor(t,r){this.x=t,this.y=r}static parse(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[e=r,i=r]=Id(t);return new lp(e,i)}static parseScale(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[e=r,i=e]=Id(t);return new lp(e,i)}static parsePath(t){for(var r=Id(t),e=r.length,i=[],n=0;n<e;n+=2)i.push(new lp(r[n],r[n+1]));return i}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:r,y:e}=this,i=r*t[1]+e*t[3]+t[5];this.x=r*t[0]+e*t[2]+t[4],this.y=i}}class vp{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:e}=this,i=t.ctx.canvas;i.onclick=r,i.onmousemove=e,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:e}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=""),r.forEach(((t,r)=>{for(var{run:i}=t,n=e[r];n;)i(n),n=n.parent})),this.events=[],this.eventElements=[]}}checkPath(t,r){if(this.working&&r){var{events:e,eventElements:i}=this;e.forEach(((e,n)=>{var{x:s,y:a}=e;!i[n]&&r.isPointInPath&&r.isPointInPath(s,a)&&(i[n]=t)}))}}checkBoundingBox(t,r){if(this.working&&r){var{events:e,eventElements:i}=this;e.forEach(((e,n)=>{var{x:s,y:a}=e;!i[n]&&r.isPointInBox(s,a)&&(i[n]=t)}))}}mapXY(t,r){for(var{window:e,ctx:i}=this.screen,n=new lp(t,r),s=i.canvas;s;)n.x-=s.offsetLeft,n.y-=s.offsetTop,s=s.offsetParent;return e.scrollX&&(n.x+=e.scrollX),e.scrollY&&(n.y+=e.scrollY),n}onClick(t){var{x:r,y:e}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:r,y:e,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:r,y:e}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:r,y:e,run(t){t.onMouseMove&&t.onMouseMove()}})}}var dp="undefined"!=typeof window?window:null,pp="undefined"!=typeof fetch?fetch.bind(void 0):null;class yp{constructor(t){var{fetch:r=pp,window:e=dp}=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 fp,this.mouse=new vp(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=e,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:e,aspectRatio:i,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=Dd(i).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),N=s,S=o;"meet"===b&&(N*=M,S*=M),"slice"===b&&(N*=k,S*=k);var O=new cp(r,"refX",c),P=new cp(r,"refY",f),j=O.hasValue()&&P.hasValue();if(j&&e.translate(-M*O.getPixels("x"),-M*P.getPixels("y")),l){var E=M*v,C=M*d;e.beginPath(),e.moveTo(E,C),e.lineTo(n,C),e.lineTo(n,a),e.lineTo(E,a),e.closePath(),e.clip()}if(!j){var T="meet"===b&&M===x,A="slice"===b&&k===x,R="meet"===b&&M===w,B="slice"===b&&k===w;m.startsWith("xMid")&&(T||A)&&e.translate(n/2-N/2,0),m.endsWith("YMid")&&(R||B)&&e.translate(0,a/2-S/2),m.startsWith("xMax")&&(T||A)&&e.translate(n-N,0),m.endsWith("YMax")&&(R||B)&&e.translate(0,a-S)}switch(!0){case"none"===m:e.scale(w,x);break;case"meet"===b:e.scale(M,M);break;case"slice"===b:e.scale(k,k)}e.translate(-h,-u)}start(t){var{enableRedraw:r=!1,ignoreMouse:e=!1,ignoreAnimation:i=!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(i,a)&&(this.render(t,n,s,o,h,u,c),l.runEvents())),this.intervalId=xv(g)};e||l.start(),this.intervalId=xv(g)}}stop(){this.intervalId&&(xv.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,r){if(!t){var{frameDuration:e}=this;if(this.animations.reduce(((t,r)=>r.update(e)||t),!1))return!0}return!("function"!=typeof r||!r())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}render(t,r,e,i,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 i&&"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 i||"number"==typeof n){var g=Id(t.getAttribute("viewBox").getString()),m=0,b=0;if("number"==typeof i){var w=t.getStyle("width");w.hasValue()?m=w.getPixels("x")/i:isNaN(g[2])||(m=g[2]/i)}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(i),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,")"))}e||c.clearRect(0,0,p,y),t.render(c),f&&(this.isFirstRender=!1)}}yp.defaultWindow=dp,yp.defaultFetch=pp;var{defaultFetch:gp}=yp,mp="undefined"!=typeof DOMParser?DOMParser:null;class bp{constructor(){var{fetch:t=gp,DOMParser:r=mp}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=r}parse(t){var e=this;return r((function*(){return t.startsWith("<")?e.parseFromString(t):e.load(t)}))()}parseFromString(t){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(t,"image/svg+xml"))}catch(e){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 e=this;return r((function*(){var r=yield e.fetch(t),i=yield r.text();return e.parseFromString(i)}))()}}class wp{constructor(t,r){this.type="translate",this.point=null,this.point=lp.parse(r)}apply(t){var{x:r,y:e}=this.point;t.translate(r||0,e||0)}unapply(t){var{x:r,y:e}=this.point;t.translate(-1*r||0,-1*e||0)}applyToPoint(t){var{x:r,y:e}=this.point;t.applyTransform([1,0,0,1,r||0,e||0])}}class xp{constructor(t,r,e){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=Id(r);this.angle=new cp(t,"angle",i[0]),this.originX=e[0],this.originY=e[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:r,cy:e,originX:i,originY:n,angle:s}=this,a=r+i.getPixels("x"),o=e+n.getPixels("y");t.translate(a,o),t.rotate(s.getRadians()),t.translate(-a,-o)}unapply(t){var{cx:r,cy:e,originX:i,originY:n,angle:s}=this,a=r+i.getPixels("x"),o=e+n.getPixels("y");t.translate(a,o),t.rotate(-1*s.getRadians()),t.translate(-a,-o)}applyToPoint(t){var{cx:r,cy:e,angle:i}=this,n=i.getRadians();t.applyTransform([1,0,0,1,r||0,e||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,-e||0])}}class Mp{constructor(t,r,e){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var i=lp.parseScale(r);0!==i.x&&0!==i.y||(i.x=Jd,i.y=Jd),this.scale=i,this.originX=e[0],this.originY=e[1]}apply(t){var{scale:{x:r,y:e},originX:i,originY:n}=this,s=i.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(r,e||r),t.translate(-s,-a)}unapply(t){var{scale:{x:r,y:e},originX:i,originY:n}=this,s=i.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(1/r,1/e||r),t.translate(-s,-a)}applyToPoint(t){var{x:r,y:e}=this.scale;t.applyTransform([r||0,0,0,e||0,0,0])}}class kp{constructor(t,r,e){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=Id(r),this.originX=e[0],this.originY=e[1]}apply(t){var{originX:r,originY:e,matrix:i}=this,n=r.getPixels("x"),s=e.getPixels("y");t.translate(n,s),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-n,-s)}unapply(t){var{originX:r,originY:e,matrix:i}=this,n=i[0],s=i[2],a=i[4],o=i[1],h=i[3],u=i[5],c=1/(n*(1*h-0*u)-s*(1*o-0*u)+a*(0*o-0*h)),f=r.getPixels("x"),l=e.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 Np extends kp{constructor(t,r,e){super(t,r,e),this.type="skew",this.angle=null,this.angle=new cp(t,"angle",r)}}class Sp extends Np{constructor(t,r,e){super(t,r,e),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Op extends Np{constructor(t,r,e){super(t,r,e),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class Pp{constructor(t,r,e){this.document=t,this.transforms=[];var i=function(t){return Dd(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);i.forEach((t=>{if("none"!==t){var[r,i]=function(t){var[r,e]=t.split("(");return[r.trim(),e.trim().replace(")","")]}(t),n=Pp.transformTypes[r];void 0!==n&&this.transforms.push(new n(this.document,i,e))}}))}static fromElement(t,r){var e=r.getStyle("transform",!1,!0),[i,n=i]=r.getStyle("transform-origin",!1,!0).split(),s=[i,n];return e.hasValue()?new Pp(t,e.getString(),s):null}apply(t){for(var{transforms:r}=this,e=r.length,i=0;i<e;i++)r[i].apply(t)}unapply(t){for(var{transforms:r}=this,e=r.length-1;e>=0;e--)r[e].unapply(t)}applyToPoint(t){for(var{transforms:r}=this,e=r.length,i=0;i<e;i++)r[i].applyToPoint(t)}}Pp.transformTypes={translate:wp,rotate:xp,scale:Mp,matrix:kp,skewX:Sp,skewY:Op};class jp{constructor(t,r){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=r,this.captureTextNodes=e,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 e=_d(r.nodeName);this.attributes[e]=new cp(t,e,r.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var i=this.getAttribute("style").getString().split(";").map((t=>t.trim()));i.forEach((r=>{if(r){var[e,i]=r.split(":").map((t=>t.trim()));this.styles[e]=new cp(t,e,i)}}))}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(e&&(3===r.nodeType||4===r.nodeType)){var i=t.createTextNode(r);i.getText().length>0&&this.addChild(i)}}))}}getAttribute(t){var r=this.attributes[t];if(!r&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var e=new cp(this.document,t,"");return this.attributes[t]=e,e}return r||cp.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if("href"===t||t.endsWith(":href"))return this.attributes[t];return cp.empty(this.document)}getStyle(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[t];if(i)return i;var n=this.getAttribute(t);if(null!=n&&n.hasValue())return this.styles[t]=n,n;if(!e){var{parent:s}=this;if(s){var a=s.getStyle(t);if(null!=a&&a.hasValue())return a}}if(r){var o=new cp(this.document,t,"");return this.styles[t]=o,o}return i||cp.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 e=this.getStyle("filter").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var r=Pp.fromElement(this.document,this);r&&r.apply(t);var e=this.getStyle("clip-path",!1,!0);if(e.hasValue()){var i=e.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach((r=>{r.render(t)}))}addChild(t){var r=t instanceof jp?t:this.document.createElement(t);r.parent=this,jp.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(t){var r,{node:e}=this;if("function"==typeof e.matches)return e.matches(t);var i=null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"class");return!(!i||""===i)&&i.split(" ").some((r=>".".concat(r)===t))}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:r}=this.document;for(var e in t)if(!e.startsWith("@")&&this.matchesSelector(e)){var i=t[e],n=r[e];if(i)for(var s in i){var a=this.stylesSpecificity[s];void 0===a&&(a="000"),n>=a&&(this.styles[s]=i[s],this.stylesSpecificity[s]=n)}}}removeStyles(t,r){return r.reduce(((r,e)=>{var i=t.getStyle(e);if(!i.hasValue())return r;var n=i.getString();return i.setValue(""),[...r,[e,n]]}),[])}restoreStyles(t,r){r.forEach((r=>{var[e,i]=r;t.getStyle(e,!0).setValue(i)}))}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}jp.ignoreChildTypes=["title"];class Ep extends jp{constructor(t,r,e){super(t,r,e)}}function Cp(t){var r=t.trim();return/^('|")/.test(r)?r:'"'.concat(r,'"')}function Tp(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 Ap(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 Rp{constructor(t,r,e,i,n,s){var a=s?"string"==typeof s?Rp.parse(s):s:{};this.fontFamily=n||a.fontFamily,this.fontSize=i||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=e||a.fontWeight,this.fontVariant=r||a.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,r="",e="",i="",n="",s="",a=Dd(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&&Rp.styles.includes(t):"inherit"!==t&&(r=t),o.fontStyle=!0;break;case!o.fontVariant&&Rp.variants.includes(t):"inherit"!==t&&(e=t),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&Rp.weights.includes(t):"inherit"!==t&&(i=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 Rp(r,e,i,n,s,t)}toString(){return[Tp(this.fontStyle),this.fontVariant,Ap(this.fontWeight),this.fontSize,(t=this.fontFamily,"undefined"==typeof process?t:t.trim().split(",").map(Cp).join(","))].join(" ").trim();var t}}Rp.styles="normal|italic|oblique|inherit",Rp.variants="normal|small-caps|inherit",Rp.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class Bp{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,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=r,this.x2=e,this.y2=i,this.addPoint(t,r),this.addPoint(e,i)}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:e,x2:i,y2:n}=t;this.addPoint(r,e),this.addPoint(i,n)}}sumCubic(t,r,e,i,n){return Math.pow(1-t,3)*r+3*Math.pow(1-t,2)*t*e+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*n}bezierCurveAdd(t,r,e,i,n){var s=6*r-12*e+6*i,a=-3*r+9*e-9*i+3*n,o=3*e-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,e,i,n)):this.addY(this.sumCubic(u,r,e,i,n)));var c=(-s-Math.sqrt(h))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,r,e,i,n)):this.addY(this.sumCubic(c,r,e,i,n)))}}else{if(0===s)return;var f=-o/s;0<f&&f<1&&(t?this.addX(this.sumCubic(f,r,e,i,n)):this.addY(this.sumCubic(f,r,e,i,n)))}}addBezierCurve(t,r,e,i,n,s,a,o){this.addPoint(t,r),this.addPoint(a,o),this.bezierCurveAdd(!0,t,e,n,a),this.bezierCurveAdd(!1,r,i,s,o)}addQuadraticCurve(t,r,e,i,n,s){var a=t+2/3*(e-t),o=r+2/3*(i-r);this.addBezierCurve(t,r,a,a+1/3*(n-t),o,o+1/3*(s-r),n,s)}isPointInBox(t,r){var{x1:e,y1:i,x2:n,y2:s}=this;return e<=t&&t<=n&&i<=r&&r<=s}}class $p extends yd{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 lp(0,0),this.control=new lp(0,0),this.current=new lp(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 lp(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 e=this.getPoint(t,r);return this.control=e,e}getAsCurrentPoint(t,r){var e=this.getPoint(t,r);return this.current=e,e}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==yd.CURVE_TO&&t!==yd.SMOOTH_CURVE_TO&&t!==yd.QUAD_TO&&t!==yd.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:e},control:{x:i,y:n}}=this;return new lp(2*r-i,2*e-n)}makeAbsolute(t){if(this.command.relative){var{x:r,y:e}=this.current;t.x+=r,t.y+=e}return t}addMarker(t,r,e){var{points:i,angles:n}=this;e&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=i[i.length-1].angleTo(e)),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,e=0;e<r;e++)if(!t[e])for(var i=e+1;i<r;i++)if(t[i]){t[e]=t[i];break}return t}}class Dp extends jp{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,r=this;r;){var e=r.getStyle("opacity",!1,!0);e.hasValue(!0)&&(t*=e.getNumber()),r=r.parent}return t}setContext(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!r){var e=this.getStyle("fill"),i=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),s=this.getStyle("stroke-opacity");if(e.isUrlDefinition()){var a=e.getFillStyleDefinition(this,i);a&&(t.fillStyle=a)}else if(e.hasValue()){"currentColor"===e.getString()&&e.setValue(this.getStyle("color").getColor());var o=e.getColor();"inherit"!==o&&(t.fillStyle="none"===o?"rgba(0,0,0,0)":o)}if(i.hasValue()){var h=new cp(this.document,"fill",t.fillStyle).addOpacity(i).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 cp(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||Jd}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=Id(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"),N=this.getStyle("font-weight"),S=this.getStyle("font-size"),O=this.getStyle("font-family"),P=new Rp(M.getString(),k.getString(),N.getString(),S.hasValue()?"".concat(S.getPixels(!0),"px"):"",O.getString(),Rp.parse(x.getString(),t.font));M.setValue(P.fontStyle),k.setValue(P.fontVariant),N.setValue(P.fontWeight),S.setValue(P.fontSize),O.setValue(P.fontFamily),t.font=P.toString(),S.isPixels()&&(this.document.emSize=S.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class Lp extends Dp{constructor(t,r,e){super(t,r,e),this.type="path",this.pathParser=null,this.pathParser=new $p(this.getAttribute("d").getString())}path(t){var{pathParser:r}=this,e=new Bp;for(r.reset(),t&&t.beginPath();!r.isEnd();)switch(r.next().type){case $p.MOVE_TO:this.pathM(t,e);break;case $p.LINE_TO:this.pathL(t,e);break;case $p.HORIZ_LINE_TO:this.pathH(t,e);break;case $p.VERT_LINE_TO:this.pathV(t,e);break;case $p.CURVE_TO:this.pathC(t,e);break;case $p.SMOOTH_CURVE_TO:this.pathS(t,e);break;case $p.QUAD_TO:this.pathQ(t,e);break;case $p.SMOOTH_QUAD_TO:this.pathT(t,e);break;case $p.ARC:this.pathA(t,e);break;case $p.CLOSE_PATH:this.pathZ(t,e)}return e}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,r=t.getMarkerPoints(),e=t.getMarkerAngles(),i=r.map(((t,r)=>[t,e[r]]));return i}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 e=this.getMarkers();if(e){var i=e.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]=e[0];o.render(t,h,u)}if(s.isUrlDefinition())for(var c=s.getDefinition(),f=1;f<i;f++){var[l,v]=e[f];c.render(t,l,v)}if(a.isUrlDefinition()){var d=a.getDefinition(),[p,y]=e[i];d.render(t,p,y)}}}static pathM(t){var r=t.getAsCurrentPoint();return t.start=t.current,{point:r}}pathM(t,r){var{pathParser:e}=this,{point:i}=Lp.pathM(e),{x:n,y:s}=i;e.addMarker(i),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:e}=this,{current:i,point:n}=Lp.pathL(e),{x:s,y:a}=n;e.addMarker(n,i),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathH(t){var{current:r,command:e}=t,i=new lp((e.relative?r.x:0)+e.x,r.y);return t.current=i,{current:r,point:i}}pathH(t,r){var{pathParser:e}=this,{current:i,point:n}=Lp.pathH(e),{x:s,y:a}=n;e.addMarker(n,i),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathV(t){var{current:r,command:e}=t,i=new lp(r.x,(e.relative?r.y:0)+e.y);return t.current=i,{current:r,point:i}}pathV(t,r){var{pathParser:e}=this,{current:i,point:n}=Lp.pathV(e),{x:s,y:a}=n;e.addMarker(n,i),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:e}=this,{current:i,point:n,controlPoint:s,currentPoint:a}=Lp.pathC(e);e.addMarker(a,s,n),r.addBezierCurve(i.x,i.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:e}=this,{current:i,point:n,controlPoint:s,currentPoint:a}=Lp.pathS(e);e.addMarker(a,s,n),r.addBezierCurve(i.x,i.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:e}=this,{current:i,controlPoint:n,currentPoint:s}=Lp.pathQ(e);e.addMarker(s,n,n),r.addQuadraticCurve(i.x,i.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,e=t.getReflectedControlPoint();return t.control=e,{current:r,controlPoint:e,currentPoint:t.getAsCurrentPoint()}}pathT(t,r){var{pathParser:e}=this,{current:i,controlPoint:n,currentPoint:s}=Lp.pathT(e);e.addMarker(s,n,n),r.addQuadraticCurve(i.x,i.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:e}=t,{rX:i,rY:n,xRot:s,lArcFlag:a,sweepFlag:o}=e,h=s*(Math.PI/180),u=t.getAsCurrentPoint(),c=new lp(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(i,2)+Math.pow(c.y,2)/Math.pow(n,2);f>1&&(i*=Math.sqrt(f),n*=Math.sqrt(f));var l=(a===o?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(n,2)-Math.pow(i,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(i,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(l)&&(l=0);var v=new lp(l*i*c.y/n,l*-n*c.x/i),d=new lp((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=ep([1,0],[(c.x-v.x)/i,(c.y-v.y)/n]),y=[(c.x-v.x)/i,(c.y-v.y)/n],g=[(-c.x-v.x)/i,(-c.y-v.y)/n],m=ep(y,g);return rp(y,g)<=-1&&(m=Math.PI),rp(y,g)>=1&&(m=0),{currentPoint:u,rX:i,rY:n,sweepFlag:o,xAxisRotation:h,centp:d,a1:p,ad:m}}pathA(t,r){var{pathParser:e}=this,{currentPoint:i,rX:n,rY:s,sweepFlag:a,xAxisRotation:o,centp:h,a1:u,ad:c}=Lp.pathA(e),f=1-a?1:-1,l=u+f*(c/2),v=new lp(h.x+n*Math.cos(l),h.y+s*Math.sin(l));if(e.addMarkerAngle(v,l-f*Math.PI/2),e.addMarkerAngle(i,l-f*Math.PI),r.addPoint(i.x,i.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){Lp.pathZ(this.pathParser),t&&r.x1!==r.x2&&r.y1!==r.y2&&t.closePath()}}class Fp extends Lp{constructor(t,r,e){super(t,r,e),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 Ip extends Dp{constructor(t,r,e){super(t,r,new.target===Ip||e),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(((e,i)=>{var n=this.getChildBoundingBox(t,this,this,i);r?r.addBoundingBox(n):r=n})),r}getFontSize(){var{document:t,parent:r}=this,e=Rp.parse(t.ctx.font).fontSize;return r.getStyle("font-size").getNumber(e)}getTElementBoundingBox(t){var r=this.getFontSize();return new Bp(this.x,this.y-r,this.x+this.measureText(t),this.y)}getGlyph(t,r,e){var i=r[e],n=null;if(t.isArabic){var s=r.length,a=r[e-1],o=r[e+1],h="isolated";if((0===e||" "===a)&&e<s-1&&" "!==o&&(h="terminal"),e>0&&" "!==a&&e<s-1&&" "!==o&&(h="medial"),e>0&&" "!==a&&(e===s-1||" "===o)&&(h="initial"),void 0!==t.glyphs[i]){var u=t.glyphs[i];n=u instanceof Fp?u:u[h]}}else n=t.glyphs[i];return n||(n=t.missingGlyph),n}getText(){return""}getTextFromNode(t){var r=t||this.node,e=Array.from(r.parentNode.childNodes),i=e.indexOf(r),n=e.length-1,s=Dd(r.textContent||"");return 0===i&&(s=Ld(s)),i===n&&(s=Fd(s)),s}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach(((r,e)=>{this.renderChild(t,this,this,e)}));var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:r,parent:e}=this,i=this.getText(),n=e.getStyle("font-family").getDefinition();if(n)for(var{unitsPerEm:s}=n.fontFace,a=Rp.parse(r.ctx.font),o=e.getStyle("font-size").getNumber(a.fontSize),h=e.getStyle("font-style").getString(a.fontStyle),u=o/s,c=n.isRTL?i.split("").reverse().join(""):i,f=Id(e.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(i,y,g),t.strokeStyle&&t.strokeText(i,y,g)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t,r=this.leafTexts[this.textChunkStart],e=r.getStyle("text-anchor").getString("start");t="start"===e?r.x-this.minX:"end"===e?r.x-this.maxX:r.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i<this.leafTexts.length;i++)this.leafTexts[i].x+=t;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach(((r,e)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,e)})),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,r,e,i){var n=e.children[i];n.children.length>0?n.children.forEach(((e,i)=>{r.adjustChildCoordinatesRecursiveCore(t,r,n,i)})):this.adjustChildCoordinates(t,r,e,i)}adjustChildCoordinates(t,r,e,i){var n=e.children[i];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===i&&(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,e,i){var n=e.children[i];if("function"!=typeof n.getBoundingBox)return null;var s=n.getBoundingBox(t);return s?(n.children.forEach(((e,i)=>{var a=r.getChildBoundingBox(t,r,n,i);s.addBoundingBox(a)})),s):null}renderChild(t,r,e,i){var n=e.children[i];n.render(t),n.children.forEach(((e,i)=>{r.renderChild(t,r,n,i)}))}measureText(t){var{measureCache:r}=this;if(~r)return r;var e=this.getText(),i=this.measureTargetText(t,e);return this.measureCache=i,i}measureTargetText(t,r){if(!r.length)return 0;var{parent:e}=this,i=e.getStyle("font-family").getDefinition();if(i){for(var n=this.getFontSize(),s=i.isRTL?r.split("").reverse().join(""):r,a=Id(e.getAttribute("dx").getString()),o=s.length,h=0,u=0;u<o;u++)h+=(this.getGlyph(i,s,u).horizAdvX||i.horizAdvX)*n/i.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 Ip&&r.isFirstChild();){var e=r.parent.getAttribute(t);if(e.hasValue(!0))return e.getValue("0");r=r.parent}return null}}class zp extends Ip{constructor(t,r,e){super(t,r,new.target===zp||e),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class _p extends zp{constructor(){super(...arguments),this.type="textNode"}}class Yp extends Dp{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var r,{document:e}=this,{screen:i,window:n}=e,s=t.canvas;if(i.setDefaults(t),s.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(s).getPropertyValue("font");var a=new cp(e,"fontSize",Rp.parse(t.font).fontSize);a.hasValue()&&(e.rootEmSize=a.getPixels("y"),e.emSize=e.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}=i.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()?Id(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)),i.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]),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:o,height:i.viewPort.height,desiredHeight:h,minX:d,minY:p,refX:u.getValue(),refY:c.getValue(),clip:v,clipX:y,clipY:g}),l&&(i.viewPort.removeCurrent(),i.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,e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.getAttribute("width",!0),n=this.getAttribute("height",!0),s=this.getAttribute("viewBox"),a=this.getAttribute("style"),o=i.getNumber(0),h=n.getNumber(0);if(e)if("string"==typeof e)this.getAttribute("preserveAspectRatio",!0).setValue(e);else{var u=this.getAttribute("preserveAspectRatio");u.hasValue()&&u.setValue(u.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.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 Xp extends Lp{constructor(){super(...arguments),this.type="rect"}path(t){var r=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),i=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,i/2),h=Math.min(h,n/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),n>0&&i>0&&(t.moveTo(r+o,e),t.lineTo(r+i-o,e),t.bezierCurveTo(r+i-o+u*o,e,r+i,e+h-u*h,r+i,e+h),t.lineTo(r+i,e+n-h),t.bezierCurveTo(r+i,e+n-h+u*h,r+i-o+u*o,e+n,r+i-o,e+n),t.lineTo(r+o,e+n),t.bezierCurveTo(r+o-u*o,e+n,r,e+n-h+u*h,r,e+n-h),t.lineTo(r,e+h),t.bezierCurveTo(r,e+h-u*h,r+o-u*o,e,r+o,e),t.closePath())}return new Bp(r,e,r+i,e+n)}getMarkers(){return null}}class Up extends Lp{constructor(){super(...arguments),this.type="circle"}path(t){var r=this.getAttribute("cx").getPixels("x"),e=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return t&&i>0&&(t.beginPath(),t.arc(r,e,i,0,2*Math.PI,!1),t.closePath()),new Bp(r-i,e-i,r+i,e+i)}getMarkers(){return null}}class qp extends Lp{constructor(){super(...arguments),this.type="ellipse"}path(t){var r=(Math.sqrt(2)-1)/3*4,e=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),s=this.getAttribute("cy").getPixels("y");return t&&e>0&&i>0&&(t.beginPath(),t.moveTo(n+e,s),t.bezierCurveTo(n+e,s+r*i,n+r*e,s+i,n,s+i),t.bezierCurveTo(n-r*e,s+i,n-e,s+r*i,n-e,s),t.bezierCurveTo(n-e,s-r*i,n-r*e,s-i,n,s-i),t.bezierCurveTo(n+r*e,s-i,n+e,s-r*i,n+e,s),t.closePath()),new Bp(n-e,s-i,n+e,s+i)}getMarkers(){return null}}class Gp extends Lp{constructor(){super(...arguments),this.type="line"}getPoints(){return[new lp(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new lp(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:r,y:e},{x:i,y:n}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(r,e),t.lineTo(i,n)),new Bp(r,e,i,n)}getMarkers(){var[t,r]=this.getPoints(),e=t.angleTo(r);return[[t,e],[r,e]]}}class Vp extends Lp{constructor(t,r,e){super(t,r,e),this.type="polyline",this.points=[],this.points=lp.parsePath(this.getAttribute("points").getString())}path(t){var{points:r}=this,[{x:e,y:i}]=r,n=new Bp(e,i);return t&&(t.beginPath(),t.moveTo(e,i)),r.forEach((r=>{var{x:e,y:i}=r;n.addPoint(e,i),t&&t.lineTo(e,i)})),n}getMarkers(){var{points:t}=this,r=t.length-1,e=[];return t.forEach(((i,n)=>{n!==r&&e.push([i,i.angleTo(t[n+1])])})),e.length>0&&e.push([t[t.length-1],e[e.length-1][1]]),e}}class Hp extends Vp{constructor(){super(...arguments),this.type="polygon"}path(t){var r=super.path(t),[{x:e,y:i}]=this.points;return t&&(t.lineTo(e,i),t.closePath()),r}}class Wp extends jp{constructor(){super(...arguments),this.type="pattern"}createPattern(t,r,e){var i=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),s=new Yp(this.document,null);s.attributes.viewBox=new cp(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.width=new cp(this.document,"width","".concat(i,"px")),s.attributes.height=new cp(this.document,"height","".concat(n,"px")),s.attributes.transform=new cp(this.document,"transform",this.getAttribute("patternTransform").getValue()),s.children=this.children;var a=this.document.createCanvas(i,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)),e.hasValue()?this.styles["fill-opacity"]=e: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 cp(this.document,"x",c*a.width),s.attributes.y=new cp(this.document,"y",f*a.height),s.render(o),o.restore();return t.createPattern(a,"repeat")}}class Qp extends jp{constructor(){super(...arguments),this.type="marker"}render(t,r,e){if(r){var{x:i,y:n}=r,s=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(i,n),"auto"===s&&t.rotate(e),"strokeWidth"===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var o=new Yp(this.document,null);o.type=this.type,o.attributes.viewBox=new cp(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new cp(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new cp(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new cp(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new cp(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new cp(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new cp(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new cp(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(-e),t.translate(-i,-n)}}}class Zp extends jp{constructor(){super(...arguments),this.type="defs"}render(){}}class Kp extends Dp{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var r=new Bp;return this.children.forEach((e=>{r.addBoundingBox(e.getBoundingBox(t))})),r}}class Jp extends jp{constructor(t,r,e){super(t,r,e),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:i,children:n}=this;n.forEach((t=>{"stop"===t.type&&i.push(t)}))}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,r,e){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:n}=i,s=this.getGradient(t,r);if(!s)return this.addParentOpacity(e,n[n.length-1].color);if(n.forEach((t=>{s.addColorStop(t.offset,this.addParentOpacity(e,t.color))})),this.getAttribute("gradientTransform").hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:h}=a.screen,[u]=h.viewPorts,c=new Xp(a,null);c.attributes.x=new cp(a,"x",-o/3),c.attributes.y=new cp(a,"y",-o/3),c.attributes.width=new cp(a,"width",o),c.attributes.height=new cp(a,"height",o);var f=new Kp(a,null);f.attributes.transform=new cp(a,"transform",this.getAttribute("gradientTransform").getValue()),f.children=[c];var l=new Yp(a,null);l.attributes.x=new cp(a,"x",0),l.attributes.y=new cp(a,"y",0),l.attributes.width=new cp(a,"width",u.width),l.attributes.height=new cp(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 cp(this.document,"color",r).addOpacity(t).getColor():r}}class ty extends Jp{constructor(t,r,e){super(t,r,e),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,r){var e="objectBoundingBox"===this.getGradientUnits(),i=e?r.getBoundingBox(t):null;if(e&&!i)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=e?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),s=e?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=e?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=e?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===a&&s===o?null:t.createLinearGradient(n,s,a,o)}}class ry extends Jp{constructor(t,r,e){super(t,r,e),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,r){var e="objectBoundingBox"===this.getGradientUnits(),i=r.getBoundingBox(t);if(e&&!i)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=e?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),s=e?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=n,o=s;this.getAttribute("fx").hasValue()&&(a=e?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=e?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var h=e?(i.width+i.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 ey extends jp{constructor(t,r,e){super(t,r,e),this.type="stop";var i=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=i,this.color=s.getColor()}}class iy extends jp{constructor(t,r,e){super(t,r,e),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 cp(t,"values",null);var i=this.getAttribute("values");i.hasValue()&&this.values.setValue(i.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:e,to:i}=this.getProgress(),n=e.getNumber()+(i.getNumber()-e.getNumber())*r;return"%"===t&&(n*=100),"".concat(n).concat(t)}update(t){var{parent:r}=this,e=this.getProperty();if(this.initialValue||(this.initialValue=e.getString(),this.initialUnits=e.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==i||this.frozen){if("remove"===i&&!this.removed)return this.removed=!0,e.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=e.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,")")}e.setValue(s),n=!0}return n}getProgress(){var{document:t,values:r}=this,e={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var i=e.progress*(r.getValue().length-1),n=Math.floor(i),s=Math.ceil(i);e.from=new cp(t,"from",parseFloat(r.getValue()[n])),e.to=new cp(t,"to",parseFloat(r.getValue()[s])),e.progress=(i-n)/(s-n)}else e.from=this.from,e.to=this.to;return e}}class ny extends iy{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:r,to:e}=this.getProgress(),i=new $v(r.getColor()),n=new $v(e.getColor());if(i.ok&&n.ok){var s=i.g+(n.g-i.g)*t,a=i.b+(n.b-i.b)*t;return"rgb(".concat(Math.floor(i.r+(n.r-i.r)*t),", ").concat(Math.floor(s),", ").concat(Math.floor(a),")")}return this.getAttribute("from").getColor()}}class sy extends iy{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:r,to:e}=this.getProgress(),i=Id(r.getString()),n=Id(e.getString()),s=i.map(((r,e)=>r+(n[e]-r)*t)).join(" ");return s}}class ay extends jp{constructor(t,r,e){super(t,r,e),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:i}=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()&&(i[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 oy extends jp{constructor(t,r,e){super(t,r,e),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 hy extends Lp{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class uy extends Ip{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 cy extends Ip{constructor(t,r,e){super(t,r,e),this.type="a";var{childNodes:i}=r,n=i[0],s=i.length>0&&Array.from(i).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:e,y:i}=this,{mouse:n}=r.screen,s=new cp(r,"fontSize",Rp.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new Bp(e,i-s.getPixels("y"),e+this.measureText(t),i))}else if(this.children.length>0){var a=new Kp(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 fy(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function ly(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?fy(Object(i),!0).forEach((function(r){e(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):fy(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}class vy extends Ip{constructor(t,r,e){super(t,r,e),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var i=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(i)}getText(){return this.text}path(t){var{dataArray:r}=this;t&&t.beginPath(),r.forEach((r=>{var{type:e,points:i}=r;switch(e){case $p.LINE_TO:t&&t.lineTo(i[0],i[1]);break;case $p.MOVE_TO:t&&t.moveTo(i[0],i[1]);break;case $p.CURVE_TO:t&&t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case $p.QUAD_TO:t&&t.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case $p.ARC:var[n,s,a,o,h,u,c,f]=i,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 $p.CLOSE_PATH:t&&t.closePath()}}))}renderChildren(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),e=this.getFontSize(),{glyphInfo:i}=this,n=t.fillStyle;"underline"===r&&t.beginPath(),i.forEach(((i,n)=>{var{p0:s,p1:a,rotation:o,text:h}=i;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+e/8),t.lineTo(a.x,a.y+e/5))})),"underline"===r&&(t.lineWidth=e/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,e,i,n,s,a,o,h){var u=s,c=this.measureText(t,o);" "===o&&"justify"===r&&e<i&&(c+=(i-e)/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=ly(ly({},l),{},{x:l.x+y,y:l.y+g}),d.p1=ly(ly({},v),{},{x:v.x+y,y:v.y+g})}return{offset:u+=c,segment:d,rotation:p}}measureText(t,r){var{measuresCache:e}=this,i=r||this.getText();if(e.has(i))return e.get(i);var n=this.measureTargetText(t,i);return e.set(i,n),n}setTextData(t){if(!this.glyphInfo){var r=this.getText(),e=r.split(""),i=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,e)=>0===e?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,e.forEach(((r,n)=>{var{offset:o,segment:h,rotation:u}=this.findSegmentToFitChar(t,a,p,y,i,m,s,r,n);m=o,h.p0&&h.p1&&this.glyphInfo.push({text:e[n],p0:h.p0,p1:h.p1,rotation:u})}))}}parsePathData(t){if(this.pathLength=-1,!t)return[];var r=[],{pathParser:e}=t;for(e.reset();!e.isEnd();){var{current:i}=e,n=i?i.x:0,s=i?i.y:0,a=e.next(),o=a.type,h=[];switch(a.type){case $p.MOVE_TO:this.pathM(e,h);break;case $p.LINE_TO:o=this.pathL(e,h);break;case $p.HORIZ_LINE_TO:o=this.pathH(e,h);break;case $p.VERT_LINE_TO:o=this.pathV(e,h);break;case $p.CURVE_TO:this.pathC(e,h);break;case $p.SMOOTH_CURVE_TO:o=this.pathS(e,h);break;case $p.QUAD_TO:this.pathQ(e,h);break;case $p.SMOOTH_QUAD_TO:o=this.pathT(e,h);break;case $p.ARC:h=this.pathA(e);break;case $p.CLOSE_PATH:Lp.pathZ(e)}r.push(a.type!==$p.CLOSE_PATH?{type:o,points:h,start:{x:n,y:s},pathLength:this.calcLength(n,s,o,h)}:{type:$p.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(t,r){var{x:e,y:i}=Lp.pathM(t).point;r.push(e,i)}pathL(t,r){var{x:e,y:i}=Lp.pathL(t).point;return r.push(e,i),$p.LINE_TO}pathH(t,r){var{x:e,y:i}=Lp.pathH(t).point;return r.push(e,i),$p.LINE_TO}pathV(t,r){var{x:e,y:i}=Lp.pathV(t).point;return r.push(e,i),$p.LINE_TO}pathC(t,r){var{point:e,controlPoint:i,currentPoint:n}=Lp.pathC(t);r.push(e.x,e.y,i.x,i.y,n.x,n.y)}pathS(t,r){var{point:e,controlPoint:i,currentPoint:n}=Lp.pathS(t);return r.push(e.x,e.y,i.x,i.y,n.x,n.y),$p.CURVE_TO}pathQ(t,r){var{controlPoint:e,currentPoint:i}=Lp.pathQ(t);r.push(e.x,e.y,i.x,i.y)}pathT(t,r){var{controlPoint:e,currentPoint:i}=Lp.pathT(t);return r.push(e.x,e.y,i.x,i.y),$p.QUAD_TO}pathA(t){var{rX:r,rY:e,sweepFlag:i,xAxisRotation:n,centp:s,a1:a,ad:o}=Lp.pathA(t);return 0===i&&o>0&&(o-=2*Math.PI),1===i&&o<0&&(o+=2*Math.PI),[s.x,s.y,r,e,a,o,n,i]}calcLength(t,r,e,i){var n=0,s=null,a=null,o=0;switch(e){case $p.LINE_TO:return this.getLineLength(t,r,i[0],i[1]);case $p.CURVE_TO:for(n=0,s=this.getPointOnCubicBezier(0,t,r,i[0],i[1],i[2],i[3],i[4],i[5]),o=.01;o<=1;o+=.01)a=this.getPointOnCubicBezier(o,t,r,i[0],i[1],i[2],i[3],i[4],i[5]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case $p.QUAD_TO:for(n=0,s=this.getPointOnQuadraticBezier(0,t,r,i[0],i[1],i[2],i[3]),o=.01;o<=1;o+=.01)a=this.getPointOnQuadraticBezier(o,t,r,i[0],i[1],i[2],i[3]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case $p.ARC:n=0;var h=i[4],u=i[5],c=i[4]+u,f=Math.PI/180;if(Math.abs(h-c)<f&&(f=Math.abs(h-c)),s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],h,0),u<0)for(o=h-f;o>c;o-=f)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[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(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],c,0),n+this.getLineLength(s.x,s.y,a.x,a.y)}return 0}getPointOnLine(t,r,e,i,n){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:r,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e,o=(n-e)/(i-r+Jd),h=Math.sqrt(t*t/(1+o*o));i<r&&(h*=-1);var u=o*h,c=null;if(i===r)c={x:s,y:a+u};else if((a-e)/(s-r+Jd)===o)c={x:s+h,y:a+u};else{var f,l,v=this.getLineLength(r,e,i,n);if(v<Jd)return null;var d=(s-r)*(i-r)+(a-e)*(n-e),p=this.getLineLength(s,a,f=r+(d/=v*v)*(i-r),l=e+d*(n-e)),y=Math.sqrt(t*t-p*p);h=Math.sqrt(y*y/(1+o*o)),i<r&&(h*=-1),c={x:f+h,y:l+(u=o*h)}}return c}getPointOnPath(t){var r=this.getPathLength(),e=0,i=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||e+s.pathLength+5e-5<t)){var a=t-e,o=0;switch(s.type){case $p.LINE_TO:i=this.getPointOnLine(a,s.start.x,s.start.y,s.points[0],s.points[1],s.start.x,s.start.y);break;case $p.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;i=this.getPointOnEllipticalArc(s.points[0],s.points[1],s.points[2],s.points[3],o,s.points[6]);break;case $p.CURVE_TO:(o=a/s.pathLength)>1&&(o=1),i=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 $p.QUAD_TO:(o=a/s.pathLength)>1&&(o=1),i=this.getPointOnQuadraticBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3])}if(i)return i;break}e+=s.pathLength}return null}getLineLength(t,r,e,i){return Math.sqrt((e-t)*(e-t)+(i-r)*(i-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,e,i,n,s,a,o,h){return{x:o*ip(t)+s*np(t)+i*sp(t)+r*ap(t),y:h*ip(t)+a*np(t)+n*sp(t)+e*ap(t)}}getPointOnQuadraticBezier(t,r,e,i,n,s,a){return{x:s*op(t)+i*hp(t)+r*up(t),y:a*op(t)+n*hp(t)+e*up(t)}}getPointOnEllipticalArc(t,r,e,i,n,s){var a=Math.cos(s),o=Math.sin(s),h=e*Math.cos(n),u=i*Math.sin(n);return{x:t+(h*a-u*o),y:r+(h*o+u*a)}}buildEquidistantCache(t,r){var e=this.getPathLength(),i=r||.25,n=t||e/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==i){this.equidistantCache={step:n,precision:i,points:[]};for(var s=0,a=0;a<=e;a+=i){var o=this.getPointOnPath(a),h=this.getPointOnPath(a+i);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,e){if(this.buildEquidistantCache(r,e),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var dy=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class py extends Dp{constructor(t,r,e){super(t,r,e),this.type="image",this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var n=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),n?this.loadSvg(i):this.loadImage(i),this.isSvg=n}}loadImage(t){var e=this;return r((function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}e.loaded=!0}))()}loadSvg(t){var e=this;return r((function*(){var r=dy.exec(t);if(r){var i=r[5];e.image="base64"===r[4]?atob(i):decodeURIComponent(i)}else try{var n=yield e.document.fetch(t),s=yield n.text();e.image=s}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}e.loaded=!0}))()}renderChildren(t){var{document:r,image:e,loaded:i}=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(i&&e&&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"),e=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new Bp(t,r,t+e,r+i)}}class yy extends Dp{constructor(){super(...arguments),this.type="symbol"}render(t){}}class gy{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var i=this;return r((function*(){try{var{document:r}=i,n=(yield r.canvg.parser.load(e)).getElementsByTagName("font");Array.from(n).forEach((e=>{var i=r.createElement(e);r.definitions[t]=i}))}catch(t){console.error('Error while loading font "'.concat(e,'":'),t)}i.loaded=!0}))()}}class my extends jp{constructor(t,r,e){super(t,r,e),this.type="style";var i=Dd(Array.from(r.childNodes).map((t=>t.textContent)).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,""));i.split("}").forEach((r=>{var e=r.trim();if(e){var i=e.split("{"),n=i[0].split(","),s=i[1].split(";");n.forEach((r=>{var e=r.trim();if(e){var i=t.styles[e]||{};if(s.forEach((r=>{var e=r.indexOf(":"),n=r.substr(0,e).trim(),s=r.substr(e+1,r.length-e).trim();n&&s&&(i[n]=new cp(t,n,s))})),t.styles[e]=i,t.stylesSpecificity[e]=Kd(e),"@font-face"===e){var n=i["font-family"].getString().replace(/"|'/g,"");i.src.getString().split(",").forEach((r=>{if(r.indexOf('format("svg")')>0){var e=Yd(r);e&&new gy(t).load(n,e)}}))}}}))}}))}}my.parseExternalUrl=Yd;class by extends Dp{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var r=this.getAttribute("x"),e=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),e.hasValue()&&t.translate(0,e.getPixels("y"))}path(t){var{element:r}=this;r&&r.path(t)}renderChildren(t){var{document:r,element:e}=this;if(e){var i=e;if("symbol"===e.type&&((i=new Yp(r,null)).attributes.viewBox=new cp(r,"viewBox",e.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new cp(r,"preserveAspectRatio",e.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new cp(r,"overflow",e.getAttribute("overflow").getString()),i.children=e.children,e.styles.opacity=new cp(r,"opacity",this.calculateOpacity())),"svg"===i.type){var n=this.getStyle("width",!1,!0),s=this.getStyle("height",!1,!0);n.hasValue()&&(i.attributes.width=new cp(r,"width",n.getString())),s.hasValue()&&(i.attributes.height=new cp(r,"height",s.getString()))}var a=i.parent;i.parent=this,i.render(t),i.parent=a}}getBoundingBox(t){var{element:r}=this;return r?r.getBoundingBox(t):null}elementTransform(){var{document:t,element:r}=this;return Pp.fromElement(t,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function wy(t,r,e,i,n,s){return t[e*i*4+4*r+s]}function xy(t,r,e,i,n,s,a){t[e*i*4+4*r+s]=a}function My(t,r,e){return t[r]*e}function ky(t,r,e,i){return r+Math.cos(t)*e+Math.sin(t)*i}class Ny extends jp{constructor(t,r,e){super(t,r,e),this.type="feColorMatrix";var i=Id(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var n=i[0];i=[.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=i[0]*Math.PI/180;i=[ky(s,.213,.787,-.213),ky(s,.715,-.715,-.715),ky(s,.072,-.072,.928),0,0,ky(s,.213,-.213,.143),ky(s,.715,.285,.14),ky(s,.072,-.072,-.283),0,0,ky(s,.213,-.213,-.787),ky(s,.715,-.715,.715),ky(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":i=[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=i,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,r,e,i,n){for(var{includeOpacity:s,matrix:a}=this,o=t.getImageData(0,0,i,n),h=0;h<n;h++)for(var u=0;u<i;u++){var c=wy(o.data,u,h,i,0,0),f=wy(o.data,u,h,i,0,1),l=wy(o.data,u,h,i,0,2),v=wy(o.data,u,h,i,0,3),d=My(a,0,c)+My(a,1,f)+My(a,2,l)+My(a,3,v)+My(a,4,1),p=My(a,5,c)+My(a,6,f)+My(a,7,l)+My(a,8,v)+My(a,9,1),y=My(a,10,c)+My(a,11,f)+My(a,12,l)+My(a,13,v)+My(a,14,1),g=My(a,15,c)+My(a,16,f)+My(a,17,l)+My(a,18,v)+My(a,19,1);s&&(d=0,p=0,y=0,g*=v/255),xy(o.data,u,h,i,0,0,d),xy(o.data,u,h,i,0,1,p),xy(o.data,u,h,i,0,2,y),xy(o.data,u,h,i,0,3,g)}t.clearRect(0,0,i,n),t.putImageData(o,0,0)}}class Sy extends jp{constructor(){super(...arguments),this.type="mask"}apply(t,r){var{document:e}=this,i=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 Bp;this.children.forEach((r=>{o.addBoundingBox(r.getBoundingBox(t))})),i=Math.floor(o.x1),n=Math.floor(o.y1),s=Math.floor(o.width),a=Math.floor(o.height)}var h=this.removeStyles(r,Sy.ignoreStyles),u=e.createCanvas(i+s,n+a),c=u.getContext("2d");e.screen.setDefaults(c),this.renderChildren(c),new Ny(e,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,i+s,n+a);var f=e.createCanvas(i+s,n+a),l=f.getContext("2d");e.screen.setDefaults(l),r.render(l),l.globalCompositeOperation="destination-in",l.fillStyle=c.createPattern(u,"no-repeat"),l.fillRect(0,0,i+s,n+a),t.fillStyle=l.createPattern(f,"no-repeat"),t.fillRect(0,0,i+s,n+a),this.restoreStyles(r,h)}render(t){}}Sy.ignoreStyles=["mask","transform","clip-path"];var Oy=()=>{};class Py extends jp{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:r}=this,e=Reflect.getPrototypeOf(t),{beginPath:i,closePath:n}=t;e&&(e.beginPath=Oy,e.closePath=Oy),Reflect.apply(i,t,[]),this.children.forEach((i=>{if(void 0!==i.path){var s=void 0!==i.elementTransform?i.elementTransform():null;s||(s=Pp.fromElement(r,i)),s&&s.apply(t),i.path(t),e&&(e.closePath=n),s&&s.unapply(t)}})),Reflect.apply(n,t,[]),t.clip(),e&&(e.beginPath=i,e.closePath=n)}render(t){}}class jy extends jp{constructor(){super(...arguments),this.type="filter"}apply(t,r){var{document:e,children:i}=this,n=r.getBoundingBox(t);if(n){var s=0,a=0;i.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,jy.ignoreStyles),d=e.createCanvas(u,c),p=d.getContext("2d");e.screen.setDefaults(p),p.translate(-f+s,-l+a),r.render(p),i.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){}}jy.ignoreStyles=["filter","transform","clip-path"];class Ey extends jp{constructor(t,r,e){super(t,r,e),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,r,e,i,n){}}class Cy extends jp{constructor(){super(...arguments),this.type="feMorphology"}apply(t,r,e,i,n){}}class Ty extends jp{constructor(){super(...arguments),this.type="feComposite"}apply(t,r,e,i,n){}}class Ay extends jp{constructor(t,r,e){super(t,r,e),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,r,e,i,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)),Rd(h,r,e,i,n,a),o&&o.removeChild(h)}}class Ry extends jp{constructor(){super(...arguments),this.type="title"}}class By extends jp{constructor(){super(...arguments),this.type="desc"}}var $y={svg:Yp,rect:Xp,circle:Up,ellipse:qp,line:Gp,polyline:Vp,polygon:Hp,path:Lp,pattern:Wp,marker:Qp,defs:Zp,linearGradient:ty,radialGradient:ry,stop:ey,animate:iy,animateColor:ny,animateTransform:sy,font:ay,"font-face":oy,"missing-glyph":hy,glyph:Fp,text:Ip,tspan:zp,tref:uy,a:cy,textPath:vy,image:py,g:Kp,symbol:yy,style:my,use:by,mask:Sy,clipPath:Py,filter:jy,feDropShadow:Ey,feMorphology:Cy,feComposite:Ty,feColorMatrix:Ny,feGaussianBlur:Ay,title:Ry,desc:By};function Dy(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function Ly(){return Ly=r((function*(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=document.createElement("img");return r&&(e.crossOrigin="Anonymous"),new Promise(((r,i)=>{e.onload=()=>{r(e)},e.onerror=(t,r,e,n,s)=>{i(s)},e.src=t}))})),Ly.apply(this,arguments)}class Fy{constructor(t){var{rootEmSize:r=12,emSize:e=12,createCanvas:i=Fy.createCanvas,createImage:n=Fy.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=e,this.createCanvas=i,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?(e,i)=>t(e,"boolean"==typeof i?i: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(/^[^:]+:/,""),e=Fy.elementTypes[r];return void 0!==e?new e(this,t):new Ep(this,t)}createTextNode(t){return new _p(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?Dy(Object(i),!0).forEach((function(r){e(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Dy(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}({document:this},t))}}function Iy(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function zy(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?Iy(Object(i),!0).forEach((function(r){e(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Iy(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}Fy.createCanvas=function(t,r){var e=document.createElement("canvas");return e.width=t,e.height=r,e},Fy.createImage=function(t){return Ly.apply(this,arguments)},Fy.elementTypes=$y;class _y{constructor(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new bp(e),this.screen=new yp(t,e),this.options=e;var i=new Fy(this,e),n=i.createDocumentElement(r);this.document=i,this.documentElement=n}static from(t,e){var i=arguments;return r((function*(){var r=i.length>2&&void 0!==i[2]?i[2]:{},n=new bp(r),s=yield n.parse(e);return new _y(t,s,r)}))()}static fromString(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new bp(e).parseFromString(r);return new _y(t,i,e)}fork(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _y.from(t,r,zy(zy({},this.options),e))}forkString(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _y.fromString(t,r,zy(zy({},this.options),e))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return r((function*(){e.start(zy({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t.length>0&&void 0!==t[0]?t[0]:{})),yield e.ready(),e.stop()}))()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:r,screen:e,options:i}=this;e.start(r,zy(zy({enableRedraw:!0},i),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{cy as AElement,ny as AnimateColorElement,iy as AnimateElement,sy as AnimateTransformElement,Bp as BoundingBox,ip as CB1,np as CB2,sp as CB3,ap as CB4,_y as Canvg,Up as CircleElement,Py as ClipPathElement,Zp as DefsElement,By as DescElement,Fy as Document,jp as Element,qp as EllipseElement,Ny as FeColorMatrixElement,Ty as FeCompositeElement,Ey as FeDropShadowElement,Ay as FeGaussianBlurElement,Cy as FeMorphologyElement,jy as FilterElement,Rp as Font,ay as FontElement,oy as FontFaceElement,Kp as GElement,Fp as GlyphElement,Jp as GradientElement,py as ImageElement,Gp as LineElement,ty as LinearGradientElement,Qp as MarkerElement,Sy as MaskElement,kp as Matrix,hy as MissingGlyphElement,vp as Mouse,Jd as PSEUDO_ZERO,bp as Parser,Lp as PathElement,$p as PathParser,Wp as PatternElement,lp as Point,Hp as PolygonElement,Vp as PolylineElement,cp as Property,op as QB1,hp as QB2,up as QB3,ry as RadialGradientElement,Xp as RectElement,Dp as RenderedElement,xp as Rotate,Yp as SVGElement,gy as SVGFontLoader,Mp as Scale,yp as Screen,Np as Skew,Sp as SkewX,Op as SkewY,ey as StopElement,my as StyleElement,yy as SymbolElement,uy as TRefElement,zp as TSpanElement,Ip as TextElement,vy as TextPathElement,Ry as TitleElement,Pp as Transform,wp as Translate,Ep as UnknownElement,by as UseElement,fp as ViewPort,Dd as compressSpaces,_y as default,Kd as getSelectorSpecificity,_d as normalizeAttributeName,Xd as normalizeColor,Yd as parseExternalUrl,$d as presets,Id as toNumbers,Ld as trimLeft,Fd as trimRight,tp as vectorMagnitude,ep as vectorsAngle,rp as vectorsRatio}
@@ -0,0 +1,6 @@
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 i,h as n,g as t,H as s}from"./p-8c40bdec.js";import{l as a}from"./p-a4bd7b09.js";import{g as o}from"./p-1e364924.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"ab1c9e194ed4eed74680dd242e0ea0f314cf1f56"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
@@ -0,0 +1,6 @@
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{l}from"./p-a4bd7b09.js";async function n(n,t,e){const[o]=await l(["esri/layers/effects/jsonUtils"]),{toJSON:s,fromJSON:i}=o,c=null==t?void 0:t.layer;if(!n)return(null==c?void 0:c.effect)?c.effect:(null==c?void 0:c.featureEffect)?"includedEffect"===e?c.featureEffect.includedEffect:c.featureEffect.excludedEffect:null;const f=s(n);let r;r=c.featureEffect?"includedEffect"===e?c.featureEffect.includedEffect:c.featureEffect.excludedEffect:c.effect;const u=r?s(r):null;if(!u)return i(f);let a=[...u];return f&&f.forEach((l=>{a.forEach((n=>{const{value:t}=n;if(t)t.forEach(((e,o)=>{e.type===l.type?t[o]=l:!n.value.find((l=>l.type===f[0].type))&&(n.value=[...n.value,...f])}));else{const t=!a.find((l=>l.type===n.type));!a.find((n=>n.type===l.type))&&(a=[...a,l]),t&&(a=[...a,n])}}))})),i(a)}export{n as g}
@@ -0,0 +1,6 @@
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 i,f as t,h as e,g as s}from"./p-8c40bdec.js";import{l as n}from"./p-a4bd7b09.js";import{g as a}from"./p-1e364924.js";import{s as r,g as o}from"./p-ea6440fd.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";import"./p-78051ff1.js";import"./p-fa639501.js";const c={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},d=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view,respectLayerDefinitionExpression:!0});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}compactHandler(){r.set("compact",this.compact)}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=c;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:o(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};d.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{d as instant_apps_interactive_legend}
@@ -0,0 +1,6 @@
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,g as i,h as s,H as a}from"./p-8c40bdec.js";import{g as h}from"./p-a23de3b0.js";import{g as l,d as n,p as o}from"./p-d572627c.js";import{s as r}from"./p-bf007c87.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-fa639501.js";const c=class{constructor(i){t(this,i),this.beforeLayerSelectionChange=e(this,"beforeLayerSelectionChange",7),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7)}get el(){return i(this)}appearance="transparent";defaultLayerId="";display="inline-block";enabledLayerIds=[];enabledTableIds=[];height;isMobile;locale;mapView;onlyShowUpdatableLayers;placeholderIcon="";selectedIds=[];scale="m";showTables;showTablesDisabled;showSingleLayerAsLabel=!1;type="select";_hasMultipleLayers=!0;_hasValidLayers=!0;_isDropdownOpen;ids=[];selectedName="";_translations;defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,e=!1){this._skipEditCheck=e,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,e=!1){this._skipEditCheck=e,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await l(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e={...e,display:this.display},s(a,{key:"61600c26f6e6f66b2b8fdfc4694059015cc83235"},s("div",{key:"211b48bb10b86e2b48729a02c21b2cb2d320b581",class:"map-layer-picker-container",style:e},s("div",{key:"b2f00e60282715337af2d0db3a1d4552b77aefae",class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0){const e=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(e)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,e)=>(this._validLayer(e)?t.push(this._getItem(e,"layer")):this._validTable(e)&&t.push(this._getItem(e,"table")),t)),[])}_getItem(t,e){const i="layer"===e?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!i.supportsUpdate,h=i.name,l=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:l,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:l,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===e&&this.showTablesDisabled,"icon-start":e,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:l},h))}_setSelectedLayer(t){let e;this.defaultLayerId&&!this.defaultLayerHonored&&(e=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==e,t=this.defaultLayerHonored?this.defaultLayerId:t),e=e||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=e?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),e=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...e.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:e})}}_getEditableIds(t){return Object.keys(t).reduce(((e,i)=>(t[i].supportsUpdate&&e.push(i),e)),[])}async _initLayerTableHash(){this._layerNameHash=await n(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await o(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const e=this._layerNameHash[t]?.name;return e&&Object.keys(r.managedLayers).indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const e=this._tableNameHash[t]?.name,i=e&&this.showTables;return i?r.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):i}_layerSelectionChange(t){const e=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(e)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:e,ref:this.el}).defaultPrevented)return;this.selectedIds=e,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{c as map_layer_picker}
@@ -0,0 +1,6 @@
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 a,g as e,h as i,H as t}from"./p-8c40bdec.js";import{c as l}from"./p-747d4b59.js";const s=class{constructor(e){a(this,e)}get el(){return e(this)}showAddDeduct=!1;_deductValuesElement;render(){const a=this.showAddDeduct?"position-relative":"display-none";return i(t,{key:"9ebd821665a19fc6708e09b2e44260214990dcdd"},i("div",{key:"02f0a5c314fe16375507a74703aea0f9e2328eae",class:this.showAddDeduct?"display-none":"display-grid"},i("div",{key:"051c8b68051cb9f2942d7314c9362551f9da5fc5",class:"label-display"},i("calcite-label",{key:"d4cc480632b676835357bb6b6bc49faa64d88a67",class:"label-display"},"Enter comma delimited deduct values",this._getDeductValuesInput())),i("div",{key:"d31ae7e152dc81a64f23fa3afe417cc2819dda18"},this._getCalculateButton())),i("div",{key:"e1b9defe18ae895870bae941833d58680cad6f32",class:a},i("div",{key:"832a4e9cf3f6b216bb5c8141fac98262c1b7fac2",class:"position-right"},i("calcite-action",{key:"892c1c30895c1e6d076a1a38d7f1c3f5db3ab5ca",appearance:"transparent",class:"float-end",icon:"x",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""})),i("deduct-calculator",{key:"f2690de17acd803348f25743a3b9f1db482afd0a",class:"display-grid padding-top-1",onDeductValueComplete:a=>this._addDeductValue(a)})))}_getDeductValuesInput(){return i("div",{class:"display-flex"},i("calcite-input",{class:"main-input",ref:a=>{this._deductValuesElement=a}}),i("calcite-action",{appearance:"transparent",icon:"plus-circle",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""}))}_getCalculateButton(){return i("calcite-button",{onClick:()=>this._calculatePCI(this._deductValuesElement.value)},"Calculate PCI")}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(a){this._toggleShowAddDeduct(),this._deductValuesElement.value+=Math.abs(parseFloat(this._deductValuesElement.value))>0?`,${a.detail}`:a.detail}_calculatePCI(a){const e=l(a,!0),i=e<=10?"Failed":e<=25?"Serious":e<=40?"Very Poor":e<=55?"Poor":e<=70?"Fair":e<=85?"Satisfactory":"Good";console.log(`PCI: ${e}`),console.log(`Rating: ${i}`),alert("See debug console for results")}};s.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-table{display:table}.display-inline-table{display:inline-table}.display-none{display:none}.display-inherit{display:inherit}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0px}";export{s as pci_calculator}