@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
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as n,g as e,h as r,H as i}from"./p-c3eae9ba.js";import{g as o}from"./p-7ded7b2e.js";import{g as u,c as a}from"./p-d4056c1c.js";import{d as c,_ as s,a as f}from"./p-d65f8b73.js";import{_ as l,t as d}from"./p-4fe489cf.js";import{r as h,_ as v,g as p,u as w}from"./p-0668e30d.js";import"./p-0a24ad5f.js";const m={storage:{},memory:!0,get(t){let n;try{n=window.localStorage&&window.localStorage.getItem(t)||this.storage[t]}catch(e){n=this.storage[t]}if(n)try{return JSON.parse(n)}catch(t){return}},set(t,n){const e=JSON.stringify(n);try{window.localStorage.setItem(t,e)}catch(e){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[t]=n}},delete(t){try{window.localStorage.removeItem(t)}catch(n){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[t]}}},b="esri-telemetry";class y extends Error{}const g=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"];class j{constructor(t){var n,e,r;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=function(t={}){const{disabled:n,portal:e}=t;return!(!n&&!1!==(null==e?void 0:e.eueiEnabled)&&(!e||function(t){return t.eueiEnabled&&t.user&&t.user.orgId===t.id}(e)||function(t){return t.user&&!t.user.orgId&&"US"===t.ipCntryCode}(e)||function(t){return!t.user&&"US"===t.ipCntryCode}(e)))}(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");const i=(null===(n=t.portal)||void 0===n?void 0:n.user)||t.user;i&&this.setUser(i,null===(r=null===(e=t.portal)||void 0===e?void 0:e.subscriptionInfo)||void 0===r?void 0:r.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map((t=>t.getScriptTags&&t.getScriptTags())).join("")}async init(){const t=this.trackers.map((t=>t.init()));await Promise.all(t)}setUser(t={},n="Public"){let e;if(this.user=t="string"==typeof t?{username:t}:t,this.user.accountType=n,t.email&&t.email.split){const n=t.email.split("@")[1];e=g.filter((t=>n===t)).length>0}(e||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},e={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;const r=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!r.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;const i=this.preProcess(n,e);this.debug&&this.logger.info("Tracking page view",JSON.stringify(i));const o=r.map((n=>n.logPageView(t,i)));return Promise.all(o).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;const e=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!e.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;const r=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(r));const i=e.map((t=>t.logEvent(r)));return Promise.all(i).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){const e={name:t,start:Date.now(),steps:[],workflowId:Math.floor(17592186044416*(1+Math.random())).toString(16)};this.saveWorkflow(e);const r=Object.assign({name:t,step:"start"},n);return this.logWorkflow(r),e}stepWorkflow(t,n,e={}){const r=Object.assign({name:t,step:n,details:"string"==typeof e?e:e.details},e);this.logWorkflow(r)}endWorkflow(t,n={}){const e=Object.assign({name:t,step:"finish"},n);this.logWorkflow(e)}cancelWorkflow(t,n={}){const e=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(e)}getWorkflow(t){const n=m.get(`TELEMETRY-WORKFLOW:${t}`);if(n){if(Date.now()-n.start<18e5)return n;this.deleteWorkflow(n)}}saveWorkflow(t){m.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){m.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);const e=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(e)}preProcess(t={},n={}){let e={};return this.user&&(e={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),e)).reduce((r=n.omitComplexData,i=this.logger,function(t,[n,e]){return function(t){return["string","number","boolean","undefined"].includes(typeof t)||t&&"string"==typeof t.valueOf()}(e)?t[n]=e:r||(i.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(e)}. This will get logged as [object Object]`),t[n]=e),t}),{});var r,i}disableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!0,null===(n=e.disable)||void 0===n||n.call(e))}enableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!1,null===(n=e.enable)||void 0===n||n.call(e))}}function O(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}"function"==typeof SuppressedError&&SuppressedError;class S{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},"undefined"!=typeof window&&!(null===(n=null==t?void 0:t.measurementIds)||void 0===n?void 0:n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return this._getScripts().map((t=>{const n=[];return["src","id","dataAttribute","type"].forEach((e=>{let r=e;"dataAttribute"===e&&(r="data-esri-telemetry"),t[e]&&n.push(`${r}="${t[e]}"`)})),["async","defer"].forEach((e=>{t[e]&&n.push(`${e}`)})),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`})).join("")}async init(){if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map((t=>{return n=t,new Promise(((t,e)=>{n.onload=t,n.onerror=e;const r=function(t){const{body:n,src:e,id:r,dataAttribute:i,section:o="body",type:u="text/javascript",async:a=!1,defer:c=!1,onload:s,onerror:f}=t;if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");if(function(t){const{id:n,dataAttribute:e}=t;return!!document.getElementById(n)||!!document.querySelector(`[data-${b}="${e}"]`)}(t))return void console.log(`script (${r||i}) is already present, skipping`);const l=function({id:t,dataAttribute:n,type:e,async:r,defer:i,body:o,src:u,onload:a,onerror:c}){const s=document.createElement("script");return t&&(s.id=t),n&&s.setAttribute(`data-${b}`,n),u&&(s.src=u),o&&(s.innerText=o),s.type=e,s.async=r,s.defer=i,a&&(s.onload=a),c&&(s.onerror=c),s}({id:r,dataAttribute:i,type:u,async:a,defer:c,body:n,src:e,onload:s,onerror:f});return"body"===o?document.body.appendChild(l):document.head.appendChild(l)}(n);r&&!n.body||t()}));var n}))),this.injectConfig()}logPageView(t,n={}){const e=this.buildCustomParams(n),r=Object.assign({page_title:t||window.location.pathname},e);return window.gtag("event","page_view",r),!0}logEvent(t){let{action:n}=t,e=O(t,["action"]);const r=n||"other",i=this.buildCustomParams(e);return window.gtag("event",r,i),!0}disable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=!0}))}enable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=void 0}))}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);const t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach((n=>{window.gtag("config",n,t)}))}buildCustomParams(t){let n,{category:e,label:r}=t;return n=this.verifyCustomDimensionAndMetrics(t),e&&(n=Object.assign(Object.assign({},n),{event_category:e})),r&&(n=Object.assign(Object.assign({},n),{event_label:r})),n}verifyCustomDimensionAndMetrics(t){const n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),e=Object.values(n);return Object.keys(t).filter((t=>e.includes(t))).reduce(((n,e)=>Object.assign(n,{[e]:t[e]})),{})}createDimensionsAndMetricsCustomMap(t={},n={}){const e=this.createMetricCustomMap(n),r=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},e),r)}createMetricCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`metric${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}createDimensionCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`dimension${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}}const k="TELEMETRY_COGNITO_CREDENTIALS";function E({telemetryData:t,dimensionLookup:n={},excludeKeys:e=[]}){return Object.keys(t).filter((t=>!e.includes(t))).map((e=>n[e]?{key:I(n,e),value:t[e]}:{key:e,value:A(t,e)})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function A(t,n){return"json"===n?t[n]?JSON.stringify(t[n]):"null":void 0===t[n]?"null":t[n].toString()}function I(t,n){return`dimension${t[n]}`}const x=["size","duration","position","number","count"];function T(t,n={}){return Object.keys(t).filter((t=>n[t]||x.includes(t))).map((e=>n[e]?{key:N(n,e),value:t[e]}:{key:e,value:t[e]})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function N(t,n){return`metric${t[n]}`}var _={exports:function(t,n,e,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)t=t?t[n[r]]:i;return t===i?e:t}};const P=_.exports;"undefined"==typeof process||process;var M="undefined"!=typeof document;function C(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,M&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var D=C.bind(null,"toUpperCase"),z=C.bind(null,"toLowerCase");function L(t,n){void 0===n&&(n=!0);var e=function(t){return W(t)?D("null"):"object"==typeof t?function(t){return $(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?z(e):e}function U(t,n){return typeof n===t}var $=U.bind(null,"function"),R=U.bind(null,"string");function W(t){return null===t}function H(t,n){if("object"!=typeof n||W(n))return!1;if(n instanceof t)return!0;var e=L(new t(""));if(function(t){return t instanceof Error||R(t.message)&&t.constructor&&function(t){return"number"===L(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(L(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function q(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function V(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}function F(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function G(t,n,e){for(var r=n.length-1,i=0;i<r;++i){var o=n[i];if("__proto__"===o||"constructor"===o)break;o in t||(t[o]={}),t=t[o]}t[n[r]]=e}function J(){for(var t="",n=0,e=4294967295*Math.random()|0;n++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],i=15&e;t+="-"==r||"4"==r?r:("x"==r?i:3&i|8).toString(16),e=n%8==0?4294967295*Math.random()|0:e>>4}return t}U.bind(null,"undefined"),U.bind(null,"boolean"),U.bind(null,"symbol"),H.bind(null,TypeError),H.bind(null,SyntaxError),V(q,"form"),V(q,"button"),V(q,"input"),V(q,"select");var X="undefined",K="object";"undefined"==typeof process||process;var B="undefined"!=typeof document;function Y(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,B&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Z=Y.bind(null,"toUpperCase"),Q=Y.bind(null,"toLowerCase");function tt(t,n){void 0===n&&(n=!0);var e=function(t){return it(t)?Z("null"):"object"==typeof t?function(t){return et(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Q(e):e}function nt(t,n){return typeof n===t}var et=nt.bind(null,"function"),rt=nt.bind(null,"string");function it(t){return null===t}function ot(t,n){if("object"!=typeof n||it(n))return!1;if(n instanceof t)return!0;var e=tt(new t(""));if(function(t){return t instanceof Error||rt(t.message)&&t.constructor&&function(t){return"number"===tt(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(tt(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function ut(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function at(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}nt.bind(null,"undefined"),nt.bind(null,"boolean"),nt.bind(null,"symbol"),ot.bind(null,TypeError),ot.bind(null,SyntaxError),at(ut,"form"),at(ut,"button"),at(ut,"input"),at(ut,"select");var ct="global",st="__global__",ft=typeof self===K&&self.self===self&&self||typeof global===K&&global.global===global&&global||void 0;function lt(t){return ft[st][t]}function dt(t,n){return ft[st][t]=n}function ht(t){delete ft[st][t]}function vt(t,n,e){var r;try{if(wt(t)){var i=window[t];r=i[n].bind(i)}}catch(t){}return r||e}ft[st]||(ft[st]={});var pt={};function wt(t){if(typeof pt[t]!==X)return pt[t];try{var n=window[t];n.setItem(X,X),n.removeItem(X)}catch(n){return pt[t]=!1}return pt[t]=!0}"undefined"==typeof process||process;var mt="undefined"!=typeof window;function bt(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,mt&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var yt=bt.bind(null,"function"),gt=bt.bind(null,"string");bt.bind(null,"undefined");var jt=bt.bind(null,"boolean");function Ot(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function St(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function kt(t,n){if(t){if("string"==typeof t)return St(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?St(t,n):void 0}}function Et(t){return function(t){if(Array.isArray(t))return St(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||kt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function At(t){return At="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},At(t)}function It(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}function xt(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var o=t.apply(n,e);function u(t){It(o,r,i,u,a,"next",t)}function a(t){It(o,r,i,u,a,"throw",t)}u(void 0)}))}}function Tt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Nt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _t(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Nt(Object(e),!0).forEach((function(n){Tt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Nt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Pt={};!function(){var t=function(t){var n,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var i=Object.create((n&&n.prototype instanceof w?n:w).prototype),o=new x(r||[]);return i._invoke=function(t,n,e){var r=l;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return N()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var a=E(u,e);if(a){if(a===p)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===l)throw r=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=h;var c=f(t,n,e);if("normal"===c.type){if(r=e.done?v:d,c.arg===p)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=v,e.method="throw",e.arg=c.arg)}}}(t,e,o),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",d="suspendedYield",h="executing",v="completed",p={};function w(){}function m(){}function b(){}var y={};c(y,o,(function(){return this}));var g=Object.getPrototypeOf,j=g&&g(g(T([])));j&&j!==e&&r.call(j,o)&&(y=j);var O=b.prototype=w.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,u,a){var c=f(t[i],t,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?n.resolve(l.__await).then((function(t){e("next",t,u,a)}),(function(t){e("throw",t,u,a)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,a)}))}a(c.arg)}var i;this._invoke=function(t,r){function o(){return new n((function(n,i){e(t,r,n,i)}))}return i=i?i.then(o,o):o()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function A(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return u.next=u}}return{next:N}}function N(){return{value:n,done:!0}}return m.prototype=b,c(O,"constructor",b),c(b,"constructor",m),m.displayName=c(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,a,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},S(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(n,e,r,i,o){void 0===o&&(o=Promise);var u=new k(s(n,e,r,i),o);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},S(O),c(O,a,"Generator"),c(O,o,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),s=r.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return i(u.catchLoc,!0);if(this.prev<u.finallyLoc)return i(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return i(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return i(u.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),p},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),p}},t}(Pt);try{regeneratorRuntime=t}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();var Mt=Pt,Ct="function",Dt="undefined",zt="reducer",Lt="@@redux/",Ut=Lt+"INIT",$t=Lt+Math.random().toString(36),Rt=function(){return("undefined"==typeof Symbol?"undefined":At(Symbol))===Ct&&Symbol.observable||"@@observable"}(),Wt=" != "+Ct;function Ht(t,n,e){if(At(n)===Ct&&At(e)===Dt&&(e=n,n=void 0),At(e)!==Dt){if(At(e)!==Ct)throw new Error("enhancer"+Wt);return e(Ht)(t,n)}if(At(t)!==Ct)throw new Error(zt+Wt);var r=t,i=n,o=[],u=o,a=!1;function c(){u===o&&(u=o.slice())}function s(){return i}function f(t){if(At(t)!==Ct)throw new Error("Listener"+Wt);var n=!0;return c(),u.push(t),function(){if(n){n=!1,c();var e=u.indexOf(t);u.splice(e,1)}}}function l(t){if(!Ot(t))throw new Error("Act != obj");if(At(t.type)===Dt)throw new Error("ActType "+Dt);if(a)throw new Error("Dispatch in "+zt);try{a=!0,i=r(i,t)}finally{a=!1}for(var n=o=u,e=0;e<n.length;e++)(0,n[e])();return t}return l({type:Ut}),Tt({dispatch:l,subscribe:f,getState:s,replaceReducer:function(t){if(At(t)!==Ct)throw new Error("next "+zt+Wt);r=t,l({type:Ut})}},Rt,(function(){var t=f;return Tt({subscribe:function(n){if("object"!==At(n))throw new TypeError("Observer != obj");function e(){n.next&&n.next(s())}return e(),{unsubscribe:t(e)}}},Rt,(function(){return this}))}))}function qt(t,n){var e=n&&n.type;return"action "+(e&&e.toString()||"?")+zt+" "+t+" returns "+Dt}function Vt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return 0===n.length?function(t){return t}:1===n.length?n[0]:n.reduce((function(t,n){return function(){return t(n.apply(void 0,arguments))}}))}function Ft(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return function(t){return function(e,r,i){var o,u=t(e,r,i),a=u.dispatch,c={getState:u.getState,dispatch:function(t){return a(t)}};return o=n.map((function(t){return t(c)})),a=Vt.apply(void 0,Et(o))(u.dispatch),_t(_t({},u),{},{dispatch:a})}}}var Gt="__anon_id",Jt="__user_id",Xt="__user_traits",Kt="analytics",Bt="userId",Yt="anonymousId",Zt=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Qt=["name","EVENTS","config","loaded"],tn=Zt.reduce((function(t,n){return t[n]=n,t}),{registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}}),nn=/^utm_/,en=/^an_prop_/,rn=/^an_trait_/;function on(t){var n=t.storage.setItem;return function(e){return function(r){return function(i){if(i.type===tn.bootstrap){var o=i.params,u=i.user,a=i.persistedUser,c=i.initialUser,s=a.userId===u.userId;a.anonymousId!==u.anonymousId&&n(Gt,u.anonymousId),s||n(Jt,u.userId),c.traits&&n(Xt,_t(_t({},s&&a.traits?a.traits:{}),c.traits));var f=Object.keys(i.params);if(f.length){var l=o.an_uid,d=o.an_event,h=f.reduce((function(t,n){if(n.match(nn)||n.match(/^(d|g)clid/)){var e=n.replace(nn,"");t.campaign["campaign"===e?"name":e]=o[n]}return n.match(en)&&(t.props[n.replace(en,"")]=o[n]),n.match(rn)&&(t.traits[n.replace(rn,"")]=o[n]),t}),{campaign:{},props:{},traits:{}});e.dispatch(_t(_t({type:tn.params,raw:o},h),l?{userId:l}:{})),l&&setTimeout((function(){return t.identify(l,h.traits)}),0),d&&setTimeout((function(){return t.track(d,h.props)}),0),Object.keys(h.campaign).length&&e.dispatch({type:tn.campaign,campaign:h.campaign})}}return r(i)}}}}function un(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.type===tn.setItemEnd){if(e.key===Gt)return _t(_t({},n),{anonymousId:e.value});if(e.key===Jt)return _t(_t({},n),{userId:e.value})}switch(e.type){case tn.identify:return Object.assign({},n,{userId:e.userId,traits:_t(_t({},n.traits),e.traits)});case tn.reset:return[Jt,Gt,Xt].forEach((function(n){t.removeItem(n)})),Object.assign({},n,{userId:null,anonymousId:null,traits:{}});default:return n}}}function an(t){return{userId:t.getItem(Jt),anonymousId:t.getItem(Gt),traits:t.getItem(Xt)}}var cn=function(t){return"__TEMP__"+t};function sn(t){var n=t.storage,e=n.setItem,r=n.removeItem,i=n.getItem;return function(t){return function(n){return function(o){var u=o.userId,a=o.traits,c=o.options;if(o.type===tn.reset&&([Jt,Xt,Gt].forEach((function(t){r(t)})),[Bt,Yt,"traits"].forEach((function(t){ht(cn(t))}))),o.type===tn.identify){i(Gt)||e(Gt,J());var s=i(Jt),f=i(Xt)||{};s&&s!==u&&t.dispatch({type:tn.userIdChanged,old:{userId:s,traits:f},new:{userId:u,traits:a},options:c}),u&&e(Jt,u),a&&e(Xt,_t(_t({},f),a))}return n(o)}}}}var fn={};function ln(t,n){fn[t]&&yt(fn[t])&&(fn[t](n),delete fn[t])}function dn(t,n,e){return new Promise((function(r,i){return n()?r(t):e<1?i(_t(_t({},t),{},{queue:!0})):new Promise((function(t){return setTimeout(t,10)})).then((function(){return dn(t,n,e-10).then(r,i)}))}))}function hn(t,n,e){var r=n(),i=t.getState(),o=i.plugins,u=i.queue,a=i.user;if(!i.context.offline&&u&&u.actions&&u.actions.length){var c=u.actions.reduce((function(t,n,e){return o[n.plugin].loaded?(t.process.push(n),t.processIndex.push(e)):(t.requeue.push(n),t.requeueIndex.push(e)),t}),{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(c.processIndex&&c.processIndex.length){c.processIndex.forEach((function(n){var i=u.actions[n],c=i.plugin,s=i.payload.type,f=r[c][s];if(f&&yt(f)){var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[Bt,Yt].reduce((function(e,r){return t.hasOwnProperty(r)&&n[r]&&n[r]!==t[r]&&(e[r]=n[r]),e}),t)}(i.payload,a);f({payload:l,config:o[c].config,instance:e});var d="".concat(s,":").concat(c);t.dispatch(_t(_t({},l),{},{type:d,_:{called:d,from:"queueDrain"}}))}}));var s=u.actions.filter((function(t,n){return!~c.processIndex.indexOf(n)}));u.actions=s}}}function vn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(t).filter((function(t){var r=e.plugins||{};return jt(r[t])?r[t]:!1!==r.all&&(!n[t]||!1!==n[t].enabled)})).map((function(n){return t[n]}))}var pn=/Start$/,wn=/^bootstrap/,mn=/^ready/;function bn(t,n,e,r,i){return yn.apply(this,arguments)}function yn(){return yn=xt(Mt.mark((function t(n,e,r,i,o){var u,a,c,s,f,l,d,h,v,p,w;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(u=yt(e)?e():e,c=(a=n.type).replace(pn,""),!n._||!n._.called){t.next=5;break}return t.abrupt("return",n);case 5:return s=r.getState(),f=vn(u,s.plugins,n.options),a===tn.initializeStart&&n.fromEnable&&(f=Object.keys(s.plugins).filter((function(t){var e=s.plugins[t];return n.plugins.includes(t)&&!e.initialized})).map((function(t){return u[t]}))),l=f.map((function(t){return t.name})),d=An(a,f),t.next=12,gn({action:n,data:{exact:d.before,namespaced:d.beforeNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 12:if(!xn(h=t.sent,l.length)){t.next=15;break}return t.abrupt("return",h);case 15:if(a!==c){t.next=19;break}v=h,t.next=22;break;case 19:return t.next=21,gn({action:_t(_t({},h),{},{type:c}),data:{exact:d.during,namespaced:d.duringNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 21:v=t.sent;case 22:if(!a.match(pn)){t.next=28;break}return p="".concat(c,"End"),t.next=26,gn({action:_t(_t({},v),{},{type:p}),data:{exact:d.after,namespaced:d.afterNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 26:(w=t.sent).meta&&w.meta.hasCallback&&ln(w.meta.rid,{payload:w});case 28:return t.abrupt("return",h);case 29:case"end":return t.stop()}}),t)}))),yn.apply(this,arguments)}function gn(t){return jn.apply(this,arguments)}function jn(){return jn=xt(Mt.mark((function t(n){var e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.data,i=n.instance,u=n.allPlugins,a=n.allMatches,c=n.store,s=n.EVENTS,f=(o=n.state).plugins,l=o.context,h=(d=(r=n.action).type).match(pn),v=e.exact.map((function(t){return t.pluginName})),h&&(v=a.during.map((function(t){return t.pluginName}))),p=_n(i,v),w=e.exact.reduce((function(t,n){var e=n.pluginName,r=n.methodName,i=!1;return r.match(/^initialize/)||r.match(/^reset/)||(i=!f[e].loaded),l.offline&&r.match(/^(page|track|identify)/)&&(i=!0),t["".concat(e)]=i,t}),{}),t.next=10,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,o){var a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.pluginName,t.next=3,n;case 3:if(c=t.sent,!e.namespaced||!e.namespaced[a]){t.next=11;break}return t.next=7,e.namespaced[a].reduce(function(){var t=xt(Mt.mark((function t(n,e){var r,o,c,s;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=function(t,n,e){return function(r,i){var o=e||n;return _t(_t({},t),{},{abort:{reason:r,plugins:i||[n],caller:d,from:o}})}},t.next=3,n;case 3:if(r=t.sent,e.method&&yt(e.method)){t.next=6;break}return t.abrupt("return",r);case 6:return Pn(e.methodName,e.pluginName),t.next=9,e.method({payload:r,instance:i,abort:o(r,a,e.pluginName),config:Sn(e.pluginName,f,u),plugins:f});case 9:return s=Ot(c=t.sent)?c:{},t.abrupt("return",Promise.resolve(_t(_t({},r),s)));case 12:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 7:c[a]=t.sent,t.next=12;break;case 11:c[a]=r;case 12:return t.abrupt("return",Promise.resolve(c));case 13:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve({}));case 10:return m=t.sent,t.next=13,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,r,o){var a,s,l,v,b,y,g,j,O,S,k;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.exact.length===o+1,l=u[s=r.pluginName],t.next=5,n;case 5:if(v=t.sent,b=m[s]?m[s]:{},h&&(b=v),!In(b,s)){t.next=11;break}return On({data:b,method:d,instance:i,pluginName:s,store:c}),t.abrupt("return",Promise.resolve(v));case 11:if(!In(v,s)){t.next=14;break}return a&&On({data:v,method:d,instance:i,store:c}),t.abrupt("return",Promise.resolve(v));case 14:if(!w.hasOwnProperty(s)||!0!==w[s]){t.next=17;break}return c.dispatch({type:"queue",plugin:s,payload:b,_:{called:"queue",from:"queueMechanism"}}),t.abrupt("return",Promise.resolve(v));case 17:return y=p(m[s],u[s]),t.next=20,l[d]({abort:y.abort,payload:b,instance:i,config:Sn(s,f,u),plugins:f});case 20:return j=Ot(g=t.sent)?g:{},O=_t(_t({},v),j),In(S=m[s],s)?On({data:S,method:d,instance:i,pluginName:s,store:c}):((k="".concat(d,":").concat(s)).match(/:/g)||[]).length<2&&!d.match(wn)&&!d.match(mn)&&i.dispatch(_t(_t({},h?O:b),{},{type:k,_:{called:k,from:"submethod"}})),t.abrupt("return",Promise.resolve(O));case 26:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(b=t.sent,d.match(pn)||d.match(/^registerPlugin/)||d.match(mn)||d.match(wn)||d.match(/^params/)||d.match(/^userIdChanged/)){t.next=21;break}if(s.plugins.includes(d),!b._||b._.originalAction!==d){t.next=18;break}return t.abrupt("return",b);case 18:y=_t(_t({},b),{_:{originalAction:b.type,called:b.type,from:"engineEnd"}}),xn(b,e.exact.length)&&!d.match(/End$/)&&(y=_t(_t({},y),{type:b.type+"Aborted"})),c.dispatch(y);case 21:return t.abrupt("return",b);case 22:case"end":return t.stop()}}),t)}))),jn.apply(this,arguments)}function On(t){var n=t.pluginName,e=t.method+"Aborted"+(n?":"+n:"");t.store.dispatch(_t(_t({},t.data),{},{type:e,_:{called:e,from:"abort"}}))}function Sn(t,n,e){var r=n[t]||e[t];return r&&r.config?r.config:{}}function kn(t,n){return n.reduce((function(n,e){return e[t]?n.concat({methodName:t,pluginName:e.name,method:e[t]}):n}),[])}function En(t,n){var e=t.replace(pn,""),r=n?":".concat(n):"";return["".concat(t).concat(r),"".concat(e).concat(r),"".concat(e,"End").concat(r)]}function An(t,n){var e=En(t).map((function(t){return kn(t,n)}));return n.reduce((function(e,r){var i=r.name,o=function(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],u=!0,a=!1;try{for(e=e.call(t);!(u=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);u=!0);}catch(t){a=!0,i=t}finally{try{u||null==e.return||e.return()}finally{if(a)throw i}}return o}}(t,n)||kt(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(En(t,i).map((function(t){return kn(t,n)})),3),u=o[0],a=o[1],c=o[2];return u.length&&(e.beforeNS[i]=u),a.length&&(e.duringNS[i]=a),c.length&&(e.afterNS[i]=c),e}),{before:e[0],beforeNS:{},during:e[1],duringNS:{},after:e[2],afterNS:{}})}function In(t,n){var e=t.abort;return!!e&&(!0===e||Nn(e,n)||e&&Nn(e.plugins,n))}function xn(t,n){var e=t.abort;if(!e)return!1;if(!0===e||gt(e))return!0;var r=e.plugins;return Tn(e)&&e.length===n||Tn(r)&&r.length===n}function Tn(t){return Array.isArray(t)}function Nn(t,n){return!(!t||!Tn(t))&&t.includes(n)}function _n(t,n){return function(e,r,i){var o=r.config,u=r.name,a="".concat(u,".").concat(e.type);i&&(a=i.event);var c=e.type.match(pn)?function(t,n,e,r,i){return function(o,u){var a=r?r.name:t,c=u&&Tn(u)?u:e;if(r&&(!(c=u&&Tn(u)?u:[t]).includes(t)||1!==c.length))throw new Error("Method ".concat(n," can only abort ").concat(t," plugin. ").concat(JSON.stringify(c)," input valid"));return _t(_t({},i),{},{abort:{reason:o,plugins:c,caller:n,_:a}})}}(u,a,n,i,e):function(t,n){return function(){throw new Error(t.type+" action not cancellable. Remove abort in "+n)}}(e,a);return{payload:Cn(e),instance:t,config:o||{},abort:c}}}function Pn(t,n){var e=Mn(t);if(e&&e.name===n){var r=Mn(e.method),i=r?"or "+r.method:"";throw new Error([n+" plugin is calling method "+t,"Plugins cant call self","Use ".concat(e.method," ").concat(i," in ").concat(n," plugin insteadof ").concat(t)].join("\n"))}}function Mn(t){var n=t.match(/(.*):(.*)/);return!!n&&{method:n[1],name:n[2]}}function Cn(t){return Object.keys(t).reduce((function(n,e){return"type"===e||(n[e]=Ot(t[e])?Object.assign({},t[e]):t[e]),n}),{})}function Dn(t,n,e){var r={};return function(i){return function(o){return function(){var u=xt(Mt.mark((function u(a){var c,s,f,l,d,h,v,p,w,m;return Mt.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(c=a.type,s=a.plugins,f=a,!a.abort){u.next=4;break}return u.abrupt("return",o(a));case 4:if(c===tn.enablePlugin&&i.dispatch({type:tn.initializeStart,plugins:s,disabled:[],fromEnable:!0,meta:a.meta}),c===tn.disablePlugin&&setTimeout((function(){return ln(a.meta.rid,{payload:a})}),0),c===tn.initializeEnd&&(l=n(),d=Object.keys(l),h=d.filter((function(t){return s.includes(t)})).map((function(t){return l[t]})),v=[],p=[],w=a.disabled,m=h.map((function(t){var n=t.name;return dn(t,t.loaded,1e4).then((function(){return r[n]||(i.dispatch({type:tn.pluginReadyType(n),name:n,events:Object.keys(t).filter((function(t){return!Qt.includes(t)}))}),r[n]=!0),v=v.concat(n),t})).catch((function(t){if(t instanceof Error)throw new Error(t);return p=p.concat(t.name),t}))})),Promise.all(m).then((function(){var t={plugins:v,failed:p,disabled:w};setTimeout((function(){d.length===m.length+w.length&&i.dispatch(_t(_t({},{type:tn.ready}),t))}),0)}))),c===tn.bootstrap){u.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout((function(){return hn(i,n,t)}),0),u.next=11,bn(a,n,t,i,e);case 11:return u.abrupt("return",o(u.sent));case 13:return u.abrupt("return",o(f));case 14:case"end":return u.stop()}}),u)})));return function(t){return u.apply(this,arguments)}}()}}}function zn(t){return function(){return function(n){return function(e){var r=e.type,i=e.key,o=e.value,u=e.options;if(r===tn.setItem||r===tn.removeItem){if(e.abort)return n(e);r===tn.setItem?t.setItem(i,o,u):t.removeItem(i,u)}return n(e)}}}}function Ln(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Un(t,n,e){return n&&Ln(t.prototype,n),e&&Ln(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}var $n=Un((function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),Tt(this,"before",[]),Tt(this,"after",[]),Tt(this,"addMiddleware",(function(t,e){n[e]=n[e].concat(t)})),Tt(this,"removeMiddleware",(function(t,e){var r=n[e].findIndex((function(n){return n===t}));-1!==r&&(n[e]=[].concat(Et(n[e].slice(0,r)),Et(n[e].slice(r+1))))})),Tt(this,"dynamicMiddlewares",(function(t){return function(e){return function(r){return function(i){var o={getState:e.getState,dispatch:function(t){return e.dispatch(t)}},u=n[t].map((function(t){return t(o)}));return Vt.apply(void 0,Et(u))(r)(i)}}}}))}));function Rn(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r={};if("initialize:aborted"===e.type)return n;if(/^registerPlugin:([^:]*)$/.test(e.type)){var i=Wn(e.type,"registerPlugin"),o=t()[i];if(!o||!i)return n;var u=e.enabled;return r[i]={enabled:u,initialized:!!u&&Boolean(!o.initialize),loaded:!!u&&Boolean(o.loaded()),config:o.config||{}},_t(_t({},n),r)}if(/^initialize:([^:]*)$/.test(e.type)){var a=Wn(e.type,tn.initialize),c=t()[a];return c&&a?(r[a]=_t(_t({},n[a]),{initialized:!0,loaded:Boolean(c.loaded())}),_t(_t({},n),r)):n}if(/^ready:([^:]*)$/.test(e.type))return r[e.name]=_t(_t({},n[e.name]),{loaded:!0}),_t(_t({},n),r);switch(e.type){case tn.disablePlugin:return _t(_t({},n),Hn(e.plugins,!1,n));case tn.enablePlugin:return _t(_t({},n),Hn(e.plugins,!0,n));default:return n}}}function Wn(t,n){return t.substring(n.length+1,t.length)}function Hn(t,n,e){return t.reduce((function(t,r){return t[r]=_t(_t({},e[r]),{enabled:n}),t}),e)}function qn(t){try{return JSON.parse(JSON.stringify(t))}catch(t){}return t}var Vn={last:{},history:[]};function Fn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vn,n=arguments.length>1?arguments[1]:void 0,e=n.options,r=n.meta;if(n.type===tn.track){var i=qn(_t(_t({event:n.event,properties:n.properties},Object.keys(e).length&&{options:e}),{},{meta:r}));return _t(_t({},t),{last:i,history:t.history.concat(i)})}return t}var Gn={actions:[]};function Jn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gn,n=arguments.length>1?arguments[1]:void 0,e=n.payload;switch(n.type){case"queue":var r;return r=e&&e.type&&e.type===tn.identify?[n].concat(t.actions):t.actions.concat(n),_t(_t({},t),{},{actions:r});case"dequeue":return[];default:return t}}var Xn=/#.*$/;function Kn(t){var n=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(t);return"/"+(n&&n[3]?n[3].split("?")[0].replace(Xn,""):"")}var Bn,Yn,Zn,Qn,te=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt)return t;var n=document,e=n.title,r=n.referrer,i=window,o=i.location,u=i.innerWidth,a=i.innerHeight,c=o.hash,s=o.search,f=function(t){var n=function(){if(mt)for(var t,n=document.getElementsByTagName("link"),e=0;t=n[e];e++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return n?n.match(/\?/)?n:n+t:window.location.href.replace(Xn,"")}(s),l={title:e,url:f,path:Kn(f),hash:c,search:s,width:u,height:a};return r&&""!==r&&(l.referrer=r),_t(_t({},l),t)},ne={last:{},history:[]};function ee(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,n=arguments.length>1?arguments[1]:void 0,e=n.options;if(n.type===tn.page){var r=qn(_t({properties:n.properties,meta:n.meta},Object.keys(e).length&&{options:e}));return _t(_t({},t),{last:r,history:t.history.concat(r)})}return t}Bn=function(){if(!mt)return!1;var t=navigator.appVersion;return~t.indexOf("Win")?"Windows":~t.indexOf("Mac")?"MacOS":~t.indexOf("X11")?"UNIX":~t.indexOf("Linux")?"Linux":"Unknown OS"}(),Yn=mt?document.referrer:null,Zn=function(){if(M){var t=navigator,n=t.languages;return t.userLanguage||(n&&n.length?n[0]:t.language)}}(),Qn=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}}();var re={initialized:!1,sessionId:J(),app:null,version:null,debug:!1,offline:!!mt&&!navigator.onLine,os:{name:Bn},userAgent:mt?navigator.userAgent:"node",library:{name:Kt,version:"0.10.22"},timezone:Qn,locale:Zn,campaign:{},referrer:Yn};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,n=arguments.length>1?arguments[1]:void 0,e=t.initialized,r=n.campaign;switch(n.type){case tn.campaign:return _t(_t({},t),{campaign:r});case tn.offline:return _t(_t({},t),{offline:!0});case tn.online:return _t(_t({},t),{offline:!1});default:return e?t:_t(_t(_t({},re),t),{initialized:!0})}}var oe=["plugins","reducers","storage"];function ue(t,n,e){if(mt){var r=window[(e?"add":"remove")+"EventListener"];t.split(" ").forEach((function(t){r(t,n)}))}}function ae(t){var n=ue.bind(null,"online offline",(function(){return Promise.resolve(!navigator.onLine).then(t)}));return n(!0),function(){return n(!1)}}function ce(){return dt(Kt,[]),function(t){return function(n,e,r){var i=t(n,e,r),o=i.dispatch;return Object.assign(i,{dispatch:function(t){return ft[st][Kt].push(t.action||t),o(t)}})}}}function se(){return function(){return Vt(Vt.apply(null,arguments),ce())}}function fe(t){return t?function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)?t:[t]:[]}function le(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=J();return r&&(fn[o]=(t=r,n=function(t){for(var n,e=t||Array.prototype.slice.call(arguments),r=0;r<e.length;r++)if(yt(e[r])){n=e[r];break}return n}(i),function(e){n&&n(e),t(e)})),_t(_t({},e),{},{rid:o,ts:(new Date).getTime()},r?{hasCallback:!0}:{})}function de(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.reducers||{},e=t.initialUser||{},r=(t.plugins||[]).reduce((function(t,n){if(yt(n))return t.middlewares=t.middlewares.concat(n),t;if(n.NAMESPACE&&(n.name=n.NAMESPACE),!n.name)throw new Error("https://lytics.dev/errors/1");var e=n.EVENTS?Object.keys(n.EVENTS).map((function(t){return n.EVENTS[t]})):[];t.pluginEnabled[n.name]=!(!1===n.enabled||n.config&&!1===n.config.enabled),delete n.enabled,n.methods&&(t.methods[n.name]=Object.keys(n.methods).reduce((function(t,e){var r;return t[e]=(r=n.methods[e],function(){for(var t=Array.prototype.slice.call(arguments),n=new Array(r.length),e=0;e<t.length;e++)n[e]=t[e];return n[n.length]=S,r.apply({instance:S},n)}),t}),{}),delete n.methods);var r=Object.keys(n).concat(e),i=new Set(t.events.concat(r));if(t.events=Array.from(i),t.pluginsArray=t.pluginsArray.concat(n),t.plugins[n.name])throw new Error(n.name+"AlreadyLoaded");return t.plugins[n.name]=n,t.plugins[n.name].loaded||(t.plugins[n.name].loaded=function(){return!0}),t}),{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=t.storage?t.storage:{getItem:lt,setItem:dt,removeItem:ht},o=function(t){return function(n,e,r){return e.getState("user")[n]||(r&&Ot(r)&&r[n]?r[n]:an(t)[n]||lt(cn(n))||null)}}(i),u=r.plugins,a=r.events.filter((function(t){return!Qt.includes(t)})).sort(),c=new Set(a.concat(Zt).filter((function(t){return!Qt.includes(t)}))),s=Array.from(c).sort(),f=function(){return u},l=new $n,d=l.addMiddleware,h=l.removeMiddleware,v=l.dynamicMiddlewares,p=function(){throw new Error("Abort disabled inListener")},w=function(t){for(var n,e=Object.create(null),r=/([^&=]+)=?([^&]*)/g;n=r.exec(t);){var i=F(n[1]),o=F(n[2]);if(i)if("[]"===i.substring(i.length-2)){var u=e[i=i.substring(0,i.length-2)]||(e[i]=[]);e[i]=Array.isArray(u)?u:[],e[i].push(o)}else e[i]=""===o||o}for(var a in e){var c=a.split("[");c.length>1&&(G(e,c.map((function(t){return t.replace(/[?[\]\\ ]/g,"")})),e[a]),delete e[a])}return e}(function(t){if(t){var n=t.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return M&&window.location.search.substring(1)}(void 0)),m=an(i),b=_t(_t(_t(_t({},m),e),w.an_uid?{userId:w.an_uid}:{}),w.an_aid?{anonymousId:w.an_aid}:{});b.anonymousId||(b.anonymousId=J());var y,g,j,O=_t({enable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.enablePlugin,plugins:fe(t),_:{originalAction:tn.enablePlugin}},e,[n])}))},disable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.disablePlugin,plugins:fe(t),_:{originalAction:tn.disablePlugin}},e,[n])}))}},r.methods),S={identify:(j=xt(Mt.mark((function t(n,e,r,i){var u,a,c,s,f;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=gt(n)?n:null,a=Ot(n)?n:e,c=r||{},s=S.user(),dt(cn(Bt),u),f=u||a.userId||o(Bt,S,a),t.abrupt("return",new Promise((function(t){D.dispatch(_t({type:tn.identifyStart,userId:f,traits:a||{},options:c,anonymousId:s.anonymousId},s.id&&s.id!==u&&{previousId:s.id}),t,[e,r,i])})));case 7:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return j.apply(this,arguments)}),track:(g=xt(Mt.mark((function t(n,e,r,i){var u,a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((u=Ot(n)?n.event:n)&&gt(u)){t.next=3;break}throw new Error("EventMissing");case 3:return a=Ot(n)?n:e||{},c=Ot(r)?r:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.trackStart,event:u,properties:a,options:c,userId:o(Bt,S,e),anonymousId:o(Yt,S,e)},t,[e,r,i])})));case 6:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return g.apply(this,arguments)}),page:(y=xt(Mt.mark((function t(n,e,r){var i,u;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=Ot(n)?n:{},u=Ot(e)?e:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.pageStart,properties:te(i),options:u,userId:o(Bt,S,i),anonymousId:o(Yt,S,i)},t,[n,e,r])})));case 3:case"end":return t.stop()}}),t)}))),function(t,n,e){return y.apply(this,arguments)}),user:function(t){if(t===Bt||"id"===t)return o(Bt,S);if(t===Yt||"anonId"===t)return o(Yt,S);var n=S.getState("user");return t?P(n,t):n},reset:function(t){return new Promise((function(n){D.dispatch({type:tn.resetStart},n,t)}))},ready:function(t){return S.on(tn.ready,t)},on:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".on disabled for "+t);var e=/Start$|Start:/;if("*"===t){var r=function(){return function(t){return function(r){return r.type.match(e)&&n({payload:r,instance:S,plugins:u}),t(r)}}},i=function(){return function(t){return function(r){return r.type.match(e)||n({payload:r,instance:S,plugins:u}),t(r)}}};return d(r,he),d(i,ve),function(){h(r,he),h(i,ve)}}var o=t.match(e)?he:ve,a=function(){return function(e){return function(r){return r.type===t&&n({payload:r,instance:S,plugins:u,abort:p}),e(r)}}};return d(a,o),function(){return h(a,o)}},once:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".once disabled for "+t);var e=S.on(t,(function(t){n({payload:t.payload,instance:S,plugins:u,abort:p}),e()}));return e},getState:function(t){var n=D.getState();return t?P(n,t):Object.assign({},n)},dispatch:function(t){var n=gt(t)?{type:t}:t;if(Zt.includes(n.type))throw new Error("reserved action "+n.type);var e=t._||{},r=_t(_t({},n),{},{_:_t({originalAction:n.type},e)});D.dispatch(r)},enablePlugin:O.enable,disablePlugin:O.disable,plugins:O,storage:{getItem:i.getItem,setItem:function(t,n,e){D.dispatch({type:tn.setItemStart,key:t,value:n,options:e})},removeItem:function(t,n){D.dispatch({type:tn.removeItemStart,key:t,options:n})}},setAnonymousId:function(t,n){S.storage.setItem(Gt,t,n)},events:{all:s,core:Zt,plugins:a}},k=r.middlewares.concat([function(){return function(t){return function(n){return n.meta||(n.meta=le()),t(n)}}},v(he),Dn(S,f,{all:s,plugins:a}),zn(i),on(S),sn(S),v(ve)]),E={context:ie,user:un(i),page:ee,track:Fn,plugins:Rn(f),queue:Jn},A=Vt,I=Vt;if(mt&&t.debug){var x=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;x&&(A=x({trace:!0,traceLimit:25})),I=function(){return 0===arguments.length?ce():Ot(At(arguments[0]))?se():se().apply(null,arguments)}}var T,N=function(t){return Object.keys(t).reduce((function(n,e){return oe.includes(e)||(n[e]=t[e]),n}),{})}(t),_=r.pluginsArray.reduce((function(t,n){var e=n.name,i=n.config,o=n.loaded,u=r.pluginEnabled[e];return t[e]={enabled:u,initialized:!!u&&Boolean(!n.initialize),loaded:Boolean(o()),config:i||{}},t}),{}),C={context:N,user:b,plugins:_},D=Ht(function(t){for(var n=Object.keys(t),e={},r=0;r<n.length;r++){var i=n[r];At(t[i])===Ct&&(e[i]=t[i])}var o,u=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(n){var e=t[n];if(At(e(void 0,{type:Ut}))===Dt||At(e(void 0,{type:$t}))===Dt)throw new Error(zt+" "+n+" "+Dt)}))}(e)}catch(t){o=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(o)throw o;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],s=t[c],f=(0,e[c])(s,n);if(At(f)===Dt){var l=qt(c,n);throw new Error(l)}i[c]=f,r=r||f!==s}return r?i:t}}(_t(_t({},E),n)),C,I(A(Ft.apply(void 0,Et(k)))));D.dispatch=(T=D.dispatch,function(t,n,e){var r=le(t.meta,n,fe(e)),i=_t(_t({},t),{meta:r});return T.apply(null,[i])});var z=Object.keys(u);D.dispatch({type:tn.bootstrap,plugins:z,config:N,params:w,user:b,initialUser:e,persistedUser:m});var L=z.filter((function(t){return r.pluginEnabled[t]})),U=z.filter((function(t){return!r.pluginEnabled[t]}));return D.dispatch({type:tn.registerPlugins,plugins:z,enabled:r.pluginEnabled}),r.pluginsArray.map((function(t,n){var e=t.bootstrap,i=t.config,o=t.name;e&&yt(e)&&e({instance:S,config:i,payload:t}),D.dispatch({type:tn.registerPluginType(o),name:o,enabled:r.pluginEnabled[o],plugin:t}),r.pluginsArray.length===n+1&&D.dispatch({type:tn.initializeStart,plugins:L,disabled:U})})),ae((function(t){D.dispatch({type:t?tn.offline:tn.online})})),function(t,n,e){setInterval((function(){return hn(t,n,e)}),3e3)}(D,f,S),S}var he="before",ve="after",pe="cookie",we=ge(),me=je,be=je;function ye(t){return we?je(t,"",-1):ht(t)}function ge(){if(void 0!==we)return we;var t="cookiecookie";try{je(t,t),we=-1!==document.cookie.indexOf(t),ye(t)}catch(t){we=!1}return we}function je(t,n,e,r,i,o){if("undefined"!=typeof window){var u=arguments.length>1;return!1===we&&(u?dt(t,n):lt(t)),u?document.cookie=t+"="+encodeURIComponent(n)+(e?"; expires="+new Date(+new Date+1e3*e).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+t+"=")[1]||"").split(";")[0])}}var Oe="localStorage",Se=wt.bind(null,"localStorage"),ke=vt("localStorage","getItem",lt),Ee=vt("localStorage","setItem",dt),Ae=vt("localStorage","removeItem",ht),Ie="sessionStorage",xe=wt.bind(null,"sessionStorage");vt("sessionStorage","getItem",lt),vt("sessionStorage","setItem",dt),vt("sessionStorage","removeItem",ht);var Te="any",Ne="*";"undefined"==typeof process||process;var _e="undefined"!=typeof window;function Pe(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,_e&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Pe.bind(null,"function");var Me=Pe.bind(null,"string"),Ce=Pe.bind(null,"undefined");function De(t){var n=t;try{if("true"===(n=JSON.parse(t)))return!0;if("false"===n)return!1;if(function(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}(n))return n;parseFloat(n)===n&&(n=parseFloat(n))}catch(t){}if(null!==n&&""!==n)return n}Pe.bind(null,"boolean");var ze=Se(),Le=xe(),Ue=ge();function $e(t,n){if(t){var e=Re(n),r=!Ve(e),i=We(e)?De(localStorage.getItem(t)):void 0;if(r&&!Ce(i))return i;var o=He(e)?De(me(t)):void 0;if(r&&o)return o;var u=qe(e)?De(sessionStorage.getItem(t)):void 0;if(r&&u)return u;var a=lt(t);return r?a:{localStorage:i,sessionStorage:u,cookie:o,global:a}}}function Re(t){return t?Me(t)?t:t.storage:Te}function We(t){return ze&&Fe(t,Oe)}function He(t){return Ue&&Fe(t,pe)}function qe(t){return Le&&Fe(t,Ie)}function Ve(t){return t===Ne||"all"===t}function Fe(t,n){return t===Te||t===n||Ve(t)}function Ge(t,n,e){return{location:t,current:n,previous:e}}var Je={setItem:function(t,n,e){if(t&&!Ce(n)){var r={},i=Re(e),o=JSON.stringify(n),u=!Ve(i);return We(i)&&(r[Oe]=Ge(Oe,n,De(localStorage.getItem(t))),localStorage.setItem(t,o),u)?r[Oe]:He(i)&&(r[pe]=Ge(pe,n,De(me(t))),be(t,o),u)?r[pe]:qe(i)&&(r[Ie]=Ge(Ie,n,De(sessionStorage.getItem(t))),sessionStorage.setItem(t,o),u)?r[Ie]:(r[ct]=Ge(ct,n,lt(t)),dt(t,n),u?r[ct]:r)}},getItem:$e,removeItem:function(t,n){if(t){var e=Re(n),r=$e(t,Ne),i={};return!Ce(r.localStorage)&&We(e)&&(localStorage.removeItem(t),i[Oe]=r.localStorage),!Ce(r.cookie)&&He(e)&&(ye(t),i[pe]=r.cookie),!Ce(r.sessionStorage)&&qe(e)&&(sessionStorage.removeItem(t),i[Ie]=r.sessionStorage),!Ce(r.global)&&Fe(e,ct)&&(ht(t),i[ct]=r.global),i}}};const Xe=Je;function Ke(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Be(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ye(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(e),!0).forEach((function(n){Ke(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Ze={exports:{}};!function(t){var n=c.exports;function e(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}t.exports=function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ze);const Qe=u(Ze.exports);var tr={exports:{}};!function(t){var n=l.exports.default;function e(){t.exports=e=function(){return i},t.exports.__esModule=!0,t.exports.default=t.exports;var r,i={},o=Object.prototype,u=o.hasOwnProperty,a=Object.defineProperty||function(t,n,e){t[n]=e.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",f=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{d({},"")}catch(r){d=function(t,n,e){return t[n]=e}}function h(t,n,e,r){var i=Object.create((n&&n.prototype instanceof g?n:g).prototype),o=new M(r||[]);return a(i,"_invoke",{value:T(t,e,o)}),i}function v(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}i.wrap=h;var p="suspendedStart",w="suspendedYield",m="executing",b="completed",y={};function g(){}function j(){}function O(){}var S={};d(S,s,(function(){return this}));var k=Object.getPrototypeOf,E=k&&k(k(C([])));E&&E!==o&&u.call(E,s)&&(S=E);var A=O.prototype=g.prototype=Object.create(S);function I(t){["next","throw","return"].forEach((function(n){d(t,n,(function(t){return this._invoke(n,t)}))}))}function x(t,e){function r(i,o,a,c){var s=v(t[i],t,o);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==n(l)&&u.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}})}function T(t,n,e){var i=p;return function(o,u){if(i===m)throw Error("Generator is already running");if(i===b){if("throw"===o)throw u;return{value:r,done:!0}}for(e.method=o,e.arg=u;;){var a=e.delegate;if(a){var c=N(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=b,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=m;var s=v(t,n,e);if("normal"===s.type){if(i=e.done?b:w,s.arg===y)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(i=b,e.method="throw",e.arg=s.arg)}}}function N(t,n){var e=n.method,i=t.iterator[e];if(i===r)return n.delegate=null,"throw"===e&&t.iterator.return&&(n.method="return",n.arg=r,N(t,n),"throw"===n.method)||"return"!==e&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+e+"' method")),y;var o=v(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var u=o.arg;return u?u.done?(n[t.resultName]=u.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,y):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function P(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function C(t){if(t||""===t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(u.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=r,n.done=!0,n};return o.next=o}}throw new TypeError(n(t)+" is not iterable")}return j.prototype=O,a(A,"constructor",{value:O,configurable:!0}),a(O,"constructor",{value:j,configurable:!0}),j.displayName=d(O,l,"GeneratorFunction"),i.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===j||"GeneratorFunction"===(n.displayName||n.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,d(t,l,"GeneratorFunction")),t.prototype=Object.create(A),t},i.awrap=function(t){return{__await:t}},I(x.prototype),d(x.prototype,f,(function(){return this})),i.AsyncIterator=x,i.async=function(t,n,e,r,o){void 0===o&&(o=Promise);var u=new x(h(t,n,e,r),o);return i.isGeneratorFunction(n)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(A),d(A,l,"Generator"),d(A,s,(function(){return this})),d(A,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},i.values=C,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&u.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=n,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;P(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:C(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),y}},i}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(tr);var nr=tr.exports(),er=nr;try{regeneratorRuntime=nr}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=nr:Function("r","regeneratorRuntime = r")(nr)}var rr=function(){};wt.bind(null,"sessionStorage");var ir=vt("sessionStorage","getItem",lt),or=vt("sessionStorage","setItem",dt);vt("sessionStorage","removeItem",ht);var ur="__session",ar=["id","createdAt","created"];function cr(t){var n=t?new Date(t):new Date;return[n.toISOString(),n.getTime()]}function sr(){var t=cr(),n=t[0],e=t[1];return{id:J(),created:e,createdAt:n}}var fr={session:[ir,or],page:[lt,dt]};function lr(t,n){for(var e=fr[t],r=e[0],i=e[1],o=sr(),u=!1,a={},c=0;c<ar.length;c++){var s=ar[c],f="__"+t+"__session__"+s,l=r(f);u=n||!l,(n||!n&&!l)&&i(f,o[s]);var d=l&&!n?l:o[s],h="created"!==s?d:Number(d);a[s]=h}return dr(a,u)}function dr(t,n){var e=Date.now();return t.elapsed=e-t.created,t.expires&&(t.remaining=Math.max(t.expires-e,0),t.isExpired=0===t.remaining),t.isNew=n,t}function hr(t,n){void 0===t&&(t=30);var e=me(ur),r=e?JSON.parse(e):vr(t);return n?r:dr(r,!e)}function vr(t,n,e){void 0===t&&(t=30);var r=e?hr(t,!0):sr(),i=60*t,o=r.created;if(e){var u=cr(),a=u[0],c=u[1];r.modified=c,r.modifiedAt=a,o=c}var s=cr(o+1e3*i),f=s[0];return r.expires=s[1],r.expiresAt=f,r.duration=1e3*i,n&&(r=Object.assign(r,n)),be(ur,JSON.stringify(r),i),dr(r,!e)}var pr=lr.bind(null,"session"),wr=lr.bind(null,"session",!0),mr=lr.bind(null,"page"),br=lr.bind(null,"page",!0),yr="undefined"!=typeof window;function gr(t){return"boolean"==typeof t}var jr=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var n=Object.prototype.toString.call(t);return"[object RegExp]"===n||"[object Date]"===n||function(t){return t.$$typeof===Or}(t)}(t)},Or="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Sr(t,n){return!1!==n.clone&&n.isMergeableObject(t)?Ir(Array.isArray(t)?[]:{},t,n):t}function kr(t,n,e){return t.concat(n).map((function(t){return Sr(t,e)}))}function Er(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(n){return Object.propertyIsEnumerable.call(t,n)})):[]}(t))}function Ar(t,n){try{return n in t}catch(t){return!1}}function Ir(t,n,e){(e=e||{}).arrayMerge=e.arrayMerge||kr,e.isMergeableObject=e.isMergeableObject||jr,e.cloneUnlessOtherwiseSpecified=Sr;var r=Array.isArray(n);return r===Array.isArray(t)?r?e.arrayMerge(t,n,e):function(t,n,e){var r={};return e.isMergeableObject(t)&&Er(t).forEach((function(n){r[n]=Sr(t[n],e)})),Er(n).forEach((function(i){(function(t,n){return Ar(t,n)&&!(Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))})(t,i)||(r[i]=Ar(t,i)&&e.isMergeableObject(n[i])?function(t,n){if(!n.customMerge)return Ir;var e=n.customMerge(t);return"function"==typeof e?e:Ir}(i,e)(t[i],n[i],e):Sr(n[i],e))})),r}(t,n,e):Sr(n,e)}Ir.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,e){return Ir(t,e,n)}),{})};var xr=Ir,Tr={exports:{}};!function(t){
7
- /**
8
- * @license MIT <https://opensource.org/licenses/MIT>
9
- * @copyright Michael Hart 2024
10
- */
11
- const n=new TextEncoder,e={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},r=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]);class i{constructor({method:t,url:n,headers:i,body:o,accessKeyId:u,secretAccessKey:a,sessionToken:c,service:f,region:l,cache:d,datetime:h,signQuery:v,appendSessionToken:p,allHeaders:w,singleEncode:m}){if(null==n)throw new TypeError("url is a required option");if(null==u)throw new TypeError("accessKeyId is a required option");if(null==a)throw new TypeError("secretAccessKey is a required option");let b,y;this.method=t||(o?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(i||{}),this.body=o,this.accessKeyId=u,this.secretAccessKey=a,this.sessionToken=c,f&&l||([b,y]=function(t,n){const{hostname:r,pathname:i}=t;if(r.endsWith(".on.aws")){const t=r.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);return null!=t?["lambda",t[1]||""]:["",""]}if(r.endsWith(".r2.cloudflarestorage.com"))return["s3","auto"];if(r.endsWith(".backblazeb2.com")){const t=r.match(/^(?:[^.]{1,63}\.)?s3\.([^.]{1,63})\.backblazeb2\.com$/);return null!=t?["s3",t[1]||""]:["",""]}const o=r.replace("dualstack.","").match(/([^.]{1,63})\.(?:([^.]{0,63})\.)?amazonaws\.com(?:\.cn)?$/);let u=o&&o[1]||"",a=o&&o[2];if("us-gov"===a)a="us-gov-west-1";else if("s3"===a||"s3-accelerate"===a)a="us-east-1",u="s3";else if("iot"===u)u=r.startsWith("iot.")?"execute-api":r.startsWith("data.jobs.iot.")?"iot-jobs-data":"/mqtt"===i?"iotdevicegateway":"iotdata";else if("autoscaling"===u){const t=(n.get("X-Amz-Target")||"").split(".")[0];"AnyScaleFrontendService"===t?u="application-autoscaling":"AnyScaleScalingPlannerFrontendService"===t&&(u="autoscaling-plans")}else null==a&&u.startsWith("s3-")?(a=u.slice(3).replace(/^fips-|^external-1/,""),u="s3"):u.endsWith("-fips")?u=u.slice(0,-5):a&&/-\d$/.test(u)&&!/-\d$/.test(a)&&([u,a]=[a,u]);return[e[u]||u,a||""]}(this.url,this.headers)),this.service=f||b||"",this.region=l||y||"us-east-1",this.cache=d||new Map,this.datetime=h||(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=v,this.appendSessionToken=p||"iotdevicegateway"===this.service,this.headers.delete("Host"),"s3"!==this.service||this.signQuery||this.headers.has("X-Amz-Content-Sha256")||this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");const g=this.signQuery?this.url.searchParams:this.headers;if(g.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&g.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter((t=>w||!r.has(t))).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map((t=>t+":"+("host"===t?this.url.host:(this.headers.get(t)||"").replace(/\s+/g," ")))).join("\n"),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&("s3"!==this.service||g.has("X-Amz-Expires")||g.set("X-Amz-Expires","86400"),g.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),g.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),g.set("X-Amz-SignedHeaders",this.signedHeaders)),"s3"===this.service)try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch(t){this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");m||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=s(this.encodedPath);const j=new Set;this.encodedSearch=[...this.url.searchParams].filter((([t])=>{if(!t)return!1;if("s3"===this.service){if(j.has(t))return!1;j.add(t)}return!0})).map((t=>t.map((t=>s(encodeURIComponent(t)))))).sort((([t,n],[e,r])=>t<e?-1:t>e?1:n<r?-1:n>r?1:0)).map((t=>t.join("="))).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){const t=this.datetime.slice(0,8),n=[this.secretAccessKey,t,this.region,this.service].join();let e=this.cache.get(n);if(!e){const r=await o("AWS4"+this.secretAccessKey,t),i=await o(r,this.region),u=await o(i,this.service);e=await o(u,"aws4_request"),this.cache.set(n,e)}return c(await o(e,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,c(await u(await this.canonicalString()))].join("\n")}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+"\n",this.signedHeaders,await this.hexBodyHash()].join("\n")}async hexBodyHash(){let t=this.headers.get("X-Amz-Content-Sha256")||("s3"===this.service&&this.signQuery?"UNSIGNED-PAYLOAD":null);if(null==t){if(this.body&&"string"!=typeof this.body&&!("byteLength"in this.body))throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");t=c(await u(this.body||""))}return t}}async function o(t,e){const r=await crypto.subtle.importKey("raw","string"==typeof t?n.encode(t):t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return crypto.subtle.sign("HMAC",r,n.encode(e))}async function u(t){return crypto.subtle.digest("SHA-256","string"==typeof t?n.encode(t):t)}const a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function c(t){const n=new Uint8Array(t);let e="";for(let t=0;t<n.length;t++){const r=n[t];e+=a[r>>>4&15],e+=a[15&r]}return e}function s(t){return t.replace(/[!'()*]/g,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))}t.AwsClient=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:e,service:r,region:i,cache:o,retries:u,initRetryMs:a}){if(null==t)throw new TypeError("accessKeyId is a required option");if(null==n)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=e,this.service=r,this.region=i,this.cache=o||new Map,this.retries=null!=u?u:10,this.initRetryMs=a||50}async sign(t,n){if(t instanceof Request){const{method:e,url:r,headers:i,body:o}=t;null==(n=Object.assign({method:e,url:r,headers:i},n)).body&&i.has("Content-Type")&&(n.body=null!=o&&i.has("X-Amz-Content-Sha256")?o:await t.clone().arrayBuffer()),t=r}const e=new i(Object.assign({url:t.toString()},n,this,n&&n.aws)),r=Object.assign({},n,await e.sign());delete r.aws;try{return new Request(r.url.toString(),r)}catch(t){if(t instanceof TypeError)return new Request(r.url.toString(),Object.assign({duplex:"half"},r));throw t}}async fetch(t,n){for(let e=0;e<=this.retries;e++){const r=fetch(await this.sign(t,n));if(e===this.retries)return r;const i=await r;if(i.status<500&&429!==i.status)return i;await new Promise((t=>setTimeout(t,Math.random()*this.initRetryMs*Math.pow(2,e))))}throw new Error("An unknown error occurred, ensure retries is not negative")}},t.AwsV4Signer=i,Object.defineProperty(t,"__esModule",{value:!0})}(Tr.exports);var Nr=function(){};"undefined"==typeof process||process;var _r="undefined"!=typeof document;function Pr(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,_r&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Mr=Pr.bind(null,"toUpperCase"),Cr=Pr.bind(null,"toLowerCase");function Dr(t,n){void 0===n&&(n=!0);var e=function(t){return $r(t)?Mr("null"):"object"==typeof t?function(t){return Lr(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Cr(e):e}function zr(t,n){return typeof n===t}var Lr=zr.bind(null,"function"),Ur=zr.bind(null,"string");function $r(t){return null===t}function Rr(t,n){if("object"!=typeof n||$r(n))return!1;if(n instanceof t)return!0;var e=Dr(new t(""));if(function(t){return t instanceof Error||Ur(t.message)&&t.constructor&&function(t){return"number"===Dr(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(Dr(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function Wr(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function Hr(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}zr.bind(null,"undefined"),zr.bind(null,"boolean"),zr.bind(null,"symbol"),Rr.bind(null,TypeError),Rr.bind(null,SyntaxError),Hr(Wr,"form"),Hr(Wr,"button"),Hr(Wr,"input"),Hr(Wr,"select");var qr="EventListener";function Vr(t,n){if(Ur(t))return n?Vr(document.querySelectorAll(t)):(e=t).split(e.indexOf(",")>-1?",":" ").map((function(t){return t.trim()}));var e;if(NodeList.prototype.isPrototypeOf(t)){for(var r=[],i=t.length>>>0;i--;)r[i]=t[i];return r}var o=function(t){return t?function(t){return"array"===Dr(t)}(t)?t:[t]:[]}(t);return n?o.map((function(t){return Ur(t)?Vr(t,!0):t})).flat():o}function Fr(t,n){var e;return function(){return t&&(e=t.apply(n||this,arguments),t=null),e}}var Gr=function(t,n,e,r){var i=e||Nr,o=r||!1;if(!_r)return i;var u=Vr(n),a=Vr(t,!0);if(!a.length)throw new Error("noElements");if(!u.length)throw new Error("noEvent");var c=[];return function t(n){n&&(c=[]);for(var e=n?"add"+qr:"remove"+qr,r=0;r<a.length;r++){var s=a[r];c[r]=n?o&&o.once?Fr(i):i:c[r]||i;for(var f=0;f<u.length;f++)s[e]?s["on"+u[f]]=n?c[r]:null:s[e](u[f],c[r],o)}return t.bind(null,!n)}("Event")};function Jr(t,n){return _r&&Lr(window[t])?(e=window[t],r=n,void 0===(i=window)&&(i=null),Lr(e)?function(){e.apply(i,arguments),r.apply(i,arguments)}:r):window[t]=n;var e,r,i}Jr.bind(null,"onerror"),Jr.bind(null,"onload");var Xr="undefined"==typeof window,Kr="hidden";var Br=["mousemove","mousedown","touchmove","touchstart","touchend","keydown"];function Yr(t,n){void 0===n&&(n={});var e=function(t,n){var e=this,r=!1;return function(i){r||(t.call(e,i),r=!0,setTimeout((function(){return r=!1}),n))}}(t,n.throttle||1e4),r=[];function i(){var t=function(t){if(Xr)return!1;var n=Xr||Kr in document?Kr:["webkit","moz","ms","o"].reduce((function(t,n){var e=n+"Hidden";return!t&&e in document?e:t}),null),e="".concat(n.replace(/[H|h]idden/,""),"visibilitychange"),r=function(){return t(Boolean(document[n]))},i=function(){return document.addEventListener(e,r)};return i(),function(){return document.removeEventListener(e,r),i}}((function(t){t||e({type:"tabVisible"})}));return r=[t].concat(Br.map((function(t){return Gr(document,t,e)}))).concat(Gr(window,"load",e)).concat(Gr(window,"scroll",e,{capture:!0,passive:!0})),o}function o(){r.map((function(t){return t()}))}return i(),function(){return o(),i}}function Zr(t,n){return n?0:Math.round((new Date-t)/1e3)}var Qr="object",ti="string",ni="name",ei="version",ri="",ii="function",oi="undefined",ui={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ai=[[/microsoft (windows) (vista|xp)/i],[ni,ei],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[ni,[ei,si,ui]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ni,"Windows"],[ei,si,ui]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[ei,/_/g,"."],[ni,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[ni,"MacOS"],[ei,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[ei,ni],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[ni,ei],[/\(bb(10);/i],[ei,[ni,"BlackBerry"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ei,[ni,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ei,[ni,"webOS"]],[/crkey\/([\d\.]+)/i],[ei,[ni,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[ni,"Chromium OS"],ei],[/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/(unix) ?([\w\.]*)/i],[ni,ei]];function ci(t,n){for(var e,r,i,o,u,a,c=0;c<n.length&&!u;){var s=n[c],f=n[c+1];for(e=r=0;e<s.length&&!u;)if(u=s[e++].exec(t))for(i=0;i<f.length;i++)a=u[++r],d(o=f[i])===Qr&&o.length>0?2==o.length?this[o[0]]=d(o[1])==ii?o[1].call(this,a):o[1]:3==o.length?this[o[0]]=d(o[1])!==ii||o[1].exec&&o[1].test?a?a.replace(o[1],o[2]):void 0:a?o[1].call(this,a,o[2]):void 0:4==o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):void 0):this[o]=a||void 0;c+=2}}function si(t,n){for(var e in n)if(d(n[e])===Qr&&n[e].length>0){for(var r=0;r<n[e].length;r++)if(fi(n[e][r],t))return"?"===e?void 0:e}else if(fi(n[e],t))return"?"===e?void 0:e;return t}function fi(t,n){return d(t)===ti&&-1!==li(n).indexOf(li(t))}function li(t){return t.toLowerCase()}function di(t){var n=t||(("undefined"==typeof window?"undefined":d(window))!==oi&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:ri),e={};return e[ni]=void 0,e[ei]=void 0,ci.call(e,n,ai),e}var hi="Brave";function vi(){if("undefined"==typeof window)return{};if(!window.navigator)return{};var t,n,e,r,i,o=window.navigator,u=o.platform,a=o.product,c=o.vendor,s=function(t){var n=t.userAgent,e=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(n);if(e)return{type:e[1],version:e[2]};var r=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(n);if(r)return{type:r[1],version:r[2]};var i=/(headlesschrome)(?:\/([\w\.]+)| )/i.exec(n);if(i)return{type:i[1],version:i[2]};var o=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(n);if(o)return{type:t.brave&&t.brave.isBrave?hi:o[1],version:o[2]};var u=/.+(Safari)\/([0-9\.]+).*/i.exec(n);if(u)return{type:u[1],version:u[2]};var a=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(n);if(a)return{type:a[1],version:a[2]};var c=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(n)||["","NA","0.0.0"];return{type:c[1],version:c[2]}}(window.navigator),f=s.type,l=s.version,d=f===hi?f:(c||"").split(" ")[0];return{platform:u,os:di(),make:d||a,model:f,version:l,name:[f,l].join("/"),language:(n=window.navigator,e=n.language,r=n.browserLanguage,i=n.languages,(e||r||(i||["en_US"])[0]).toLowerCase().replace("-","_")),timezone:(t=/\(([A-Za-z\s].*)\)/.exec((new Date).toString()),t&&t[1]||"")}}function pi(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})[t]||t}function wi(t){return mi.apply(this,arguments)}function mi(){return mi=s(er.mark((function t(n){var e,r,i,o,u,a,c=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.length>1&&void 0!==c[1]&&c[1],r={},t.t0=er.keys(n);case 3:if((t.t1=t.t0()).done){t.next=13;break}return i=t.t1.value,o=Array.isArray(n[i])?n[i]:[n[i]],u=e?o:o[0],t.next=9,gi(u,Oi);case 9:Ei(a=t.sent)||(r[i]=a),t.next=3;break;case 13:return t.abrupt("return",r);case 14:case"end":return t.stop()}}),t)}))),mi.apply(this,arguments)}function bi(t){return yi.apply(this,arguments)}function yi(){return(yi=s(er.mark((function t(n){var e,r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e={},t.t0=er.keys(n);case 2:if((t.t1=t.t0()).done){t.next=9;break}return r=t.t1.value,t.next=6,gi(n[r],Si);case 6:e[r]=t.sent,t.next=2;break;case 9:return t.abrupt("return",e);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gi(t,n){return ji.apply(this,arguments)}function ji(){return(ji=s(er.mark((function t(n,e){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return t.abrupt("return",e(n));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Oi(t){if(null!=t)return Array.isArray(t)?t.filter(ki).map((function(t){return t.toString()})):Ei(t)?t:t.toString()}function Si(t){return parseFloat(Number(Array.isArray(t)?t[0]:t))}function ki(t){return null!=t}function Ei(t){return null==t}var Ai="_session.start",Ii="_session.stop",xi="pageView";function Ti(t){return Ni.apply(this,arguments)}function Ni(){return Ni=s(er.mark((function t(n){var e,r,i,o,u,a,c,s,l,d,h,v,p,w,m,b,y,g,j,O,S,k,E,A,I,x,T,N,_,P=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=P.length>1&&void 0!==P[1]?P[1]:{},i=(r=P.length>2&&void 0!==P[2]?P[2]:{}).appTitle,o=r.appPackageName,u=r.appVersionCode,a=r.enrichEventAttributes,c=r.enrichEventMetrics,s=r.debug?console.log:function(){},l=pi(n,r.eventMapping),d=hr(),h=e.sessionId||d.id,v=e.sessionStart||d.createdAt,p=e.sessionStart?new Date(e.sessionStart).getTime():d.created,s("event sessionData ",JSON.stringify(d)),yr&&(w=mr(),m=pr(),s("event pageSessionInfo",JSON.stringify(w)),s("event tabSessionData ",JSON.stringify(m))),b=e.attributes||{},y=e.eventId||J(),g=e.time?new Date(e.time):new Date,j=g.toISOString(),O=g.getTime()-p,S=Qe({date:j,sessionId:h},yr?{pageSession:w.id}:{}),!a){t.next=23;break}return t.next=20,a();case 20:t.t0=t.sent,t.next=24;break;case 23:t.t0={};case 24:if(k=t.t0,E=Qe(Qe(Qe({},S),k),b),A=e.metrics||{},I={sessionTime:d.elapsed||O,hour:g.getHours(),day:g.getDay()+1,month:g.getMonth()+1,year:g.getFullYear()},!c){t.next=34;break}return t.next=31,c();case 31:t.t1=t.sent,t.next=35;break;case 34:t.t1={};case 35:return x=t.t1,T=Qe(Qe(Qe({},I),x),A),t.next=39,wi(E);case 39:return t.t2=t.sent,t.next=42,bi(T);case 42:return t.t3=t.sent,N={attributes:t.t2,metrics:t.t3},s("".concat(y,":").concat(l)),s("eventAttributes",N.attributes),s("eventMetrics",N.metrics),yr&&s("clientInfo",vi()),_=f({},y,Qe(Qe({EventType:l,Timestamp:j,AppPackageName:o,AppTitle:i},u?{AppVersionCode:u}:{}),{},{Attributes:N.attributes,Metrics:N.metrics,Session:{Id:h,StartTimestamp:v}})),n===Ii&&(_[y].Session.Duration=O,_[y].Session.StopTimestamp=j),t.abrupt("return",_);case 51:case"end":return t.stop()}}),t)}))),Ni.apply(this,arguments)}var _i="__endpoint";function Pi(t){return"".concat(_i,".").concat(t)}var Mi,Ci="__endpoint",Di=!1;function zi(){return Li.apply(this,arguments)}function Li(){return Li=s(er.mark((function t(){var n,e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y,g,j,O=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=O.length>0&&void 0!==O[0]?O[0]:{},r=(e=O.length>1&&void 0!==O[1]?O[1]:{}).getUserId,i=e.getEndpointId,o=e.endpointMigration,u=qi(e),a=u.sessionKey?u.sessionKey():"sessions",c=u.pageViewKey?u.pageViewKey():"pageViews",yr&&(l=vi(),s=mr(),f=s.id),d=hr(),t.next=10,i();case 10:if(h=t.sent,Di||(Di=!0,(v=ke(Ci))&&(Ui(h,v),Ae(Ci))),p=$i(h),w=Wi(e),m=Ri(w,l),b={Attributes:{},Demographic:m,Location:{},Metrics:{}},yr&&(l.device&&l.device.vendor&&(b.Attributes.DeviceMake=[l.device.vendor]),l.device&&l.device.model&&(b.Attributes.DeviceModel=[l.device.model]),l.device&&l.device.type&&(b.Attributes.DeviceType=[l.device.type])),!(n=xr.all([p,b,n],{arrayMerge:Hi})).User||!n.User.UserId){t.next=23;break}return t.next=21,r();case 21:n.User.UserId!==(y=t.sent)&&(n.User.UserId=y);case 23:if(n.User&&n.User.UserId){t.next=28;break}return t.next=26,r();case 26:(g=t.sent)&&(n.User=n.User||{},n.User.UserId=g);case 28:if(!n.User||!n.User.UserAttributes){t.next=32;break}return t.next=31,wi(n.User.UserAttributes,!0);case 31:n.User.UserAttributes=t.sent;case 32:return t.next=34,wi(n.Attributes,!0);case 34:return n.Attributes=t.sent,t.next=37,bi(n.Metrics);case 37:if(n.Metrics=t.sent,n.Metrics[a]||(n.Metrics[a]=1),n.Metrics[c]||(n.Metrics[c]=1),o&&(n=o(h,n)),j=n.Attributes.lastSession){t.next=47;break}return n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],f&&(n.Attributes.lastPageSession=[f]),t.abrupt("return",Ui(h,n));case 47:return j&&j[0]!==d.id&&(n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],n.Metrics[a]+=1),n.Attributes&&n.Attributes.lastPageSession&&Array.isArray(n.Attributes.lastPageSession)&&n.Attributes.lastPageSession.length>0&&n.Attributes.lastPageSession[0]!==f&&(n.Attributes.lastPageSession=[f],n.Metrics[c]+=1),t.abrupt("return",Ui(h,n));case 50:case"end":return t.stop()}}),t)}))),Li.apply(this,arguments)}function Ui(t,n){var e=Pi(t),r="string"==typeof n?n:JSON.stringify(n);return Ee(e,r),n}function $i(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function Ri(t,n){return yr?function(t,n){var e={AppVersion:t,Locale:n.language,Make:n.make,Model:n.model,ModelVersion:n.version,Platform:n.os.name||n.platform};return n.os&&n.os.version&&(e.PlatformVersion=n.os.version),e}(t,n):function(t){return{AppVersion:t,Make:"generic server",Platform:"Node.js",PlatformVersion:process.version}}(t)}function Wi(t){var n=t.appTitle||t.appPackageName||"",e=t.appVersionCode||"0.0.0";return n?"".concat(n,"@").concat(e):e}function Hi(t,n){return n}function qi(t){var n=t.getContext;return"function"==typeof n?n():n}var Vi=[429,500],Fi=[202],Gi=400;function Ji(t,n){return Xi.apply(this,arguments)}function Xi(){return Xi=s(er.mark((function t(n,e){var r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.pinpointRegion,i=e.pinpointAppId,o=e.lambdaArn,u=e.lambdaRegion,a=e.credentials,c=e.getCredentials,s=e.debug,t.next=3,Ki(a,c);case 3:return f=t.sent,s&&console.log("pinpoint auth",f),l=r||u,d=!0===e.fips?"-fips":"",h="https://lambda.".concat(u||r,".amazonaws.com/2015-03-31/functions/").concat(o,"/invocations"),v="https://pinpoint".concat(d,".").concat(l,".amazonaws.com/v1/apps/").concat(i,"/events"),p=o?h:v,b={body:JSON.stringify(n)},w=new Tr.exports.AwsClient(f),t.next=16,w.fetch(p,b).then((function(t){return t.json()}));case 16:m=t.sent,t.next=24;break;case 19:return w=new Mi.PinpointClient({credentials:f,region:r}),y=new Mi.PutEventsCommand({ApplicationId:i,EventsRequest:n}),t.next=23,w.send(y);case 23:m=t.sent;case 24:return m&&m.Results&&Object.keys(m.Results).map((function(t){return m.Results[t]})).forEach((function(t){var n=t.EndpointItemResponse||{},e=t.EventsItemResponse||{};Object.keys(n).length&&(Fi.includes(n.StatusCode)||Vi.includes(n.StatusCode)||Yi(n,Endpoint));var r=Object.keys(e);r.length&&r.forEach((function(){}))})),t.abrupt("return",m);case 26:case"end":return t.stop()}}),t)}))),Xi.apply(this,arguments)}function Ki(t,n){return Bi.apply(this,arguments)}function Bi(){return(Bi=s(er.mark((function t(n,e){var r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n,Object.keys(r).length||!e){t.next=11;break}return t.prev=2,t.next=5,e();case 5:r=t.sent,t.next=11;break;case 8:throw t.prev=8,t.t0=t.catch(2),new Error(t.t0);case 11:return t.abrupt("return",{accessKeyId:r.accessKeyId||r.AccessKeyId,secretAccessKey:r.secretAccessKey||r.SecretKey,sessionToken:r.sessionToken||r.SessionToken,retries:5});case 13:case"end":return t.stop()}}),t,null,[[2,8]])})))).apply(this,arguments)}function Yi(t){var n=t.Message;if(t.StatusCode===Gi){if(n.startsWith("Missing ChannelType"))throw new Error("Missing ChannelType");if(n.startsWith("Exceeded maximum endpoint per user count"))throw new Error("Exceeded maximum endpoint per user count")}}var Zi=["PUSH","GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX","ADM","SMS","VOICE","EMAIL","BAIDU","CUSTOM"].reduce((function(t,n){return t[n]=n,t}),{}),Qi=vi(),to=Ai,no=Ii,eo=/.+\@.+\..+/;function ro(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function io(t){return t.sort((function(t,n){var e=t.EventType,r=n.EventType;return e==to?-1:r==to||e==no?1:r==no?-1:void 0})).reduce((function(t,n){return Qe(Qe({},n),t)}),{})}function oo(t,n,e){return{BatchItem:f({},t,{Endpoint:n,Events:e})}}var uo=Ii;function ao(){return{}}function co(){throw new Error("Pinpoint not loaded")}function so(t){var n=t.config,e=t.instance;n&&n.disableAnonymousTraffic&&!e.user("userId")&&e.once("identifyStart",(function(t){t.plugins["aws-pinpoint"].loaded()||e.loadPlugin("aws-pinpoint")}))}var fo={disableAnonymousTraffic:!1,pinpointRegion:"us-east-1",eventMapping:{}},lo=function(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{name:"aws-pinpoint",config:Qe(Qe({},fo),e),bootstrap:so,initialize:function(r){var i=r.config,o=r.instance,u=i.disableAnonymousTraffic,a=i.debug?console.log:function(){},c=o.getState(),f=c.user||{},l=f.userId,h=f.anonymousId,v=c.context||{},p=v.app,w=v.version,m=v.campaign,b=mr(),y=pr(),g=hr();if(a("initPageSession",b),a("initTabSession",y),a("initSessionData",g),g&&g.anonId&&g.anonId!==h){a("anonId different refresh session details"),br(),wr();var j=vr(30,{anonId:h,userId:l});a("newSessionForNewUser",j)}if(!l&&u)return!1;var O=Object.keys(m).reduce((function(t,n){return t["utm_".concat(n)]=m[n],t}),{}),S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Qe({getContext:t.getContext||ao,credentials:t.credentials||{},getEndpointId:t.getEndpointId},t),e=n.debug?console.log:function(){},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getEndpointId,e=t.debug;return function(){var r=s(er.mark((function r(){var i,o,u,a,c,s,f,l,h,v=arguments;return er.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=v.length>0&&void 0!==v[0]?v[0]:[],o=v.length>1&&void 0!==v[1]?v[1]:{},r.next=4,n();case 4:if(u=r.sent){r.next=8;break}return console.error("No endpoint id. check getEndpointId()"),r.abrupt("return");case 8:if("object"===d(o)&&Object.keys(o).length){r.next=13;break}r.t0=ro(u),r.next=16;break;case 13:return r.next=15,zi(o,t);case 15:r.t0=r.sent;case 16:return c=(a=r.t0).ChannelType,a.Address&&eo.test(a.Address)&&(c=Zi.EMAIL),!c&&a.Address&&(c="android"===Qi.platform?c||Zi.GCM:c||Zi.APNS),e&&(console.log("Endpoint",a),console.log("CHANNEL_TYPE",c)),a.RequestId=J(),a.ChannelType=c,a.Address&&(a.OptOut=a.OptOut||"NONE"),s=io(i),f=oo(u,a,s),r.prev=26,r.next=29,Ji(f,t);case 29:l=r.sent,r.next=36;break;case 32:r.prev=32,r.t1=r.catch(26),console.log("Error calling AWS",r.t1),h=r.t1;case 36:return r.abrupt("return",{endpoint:a,response:l,error:h,events:i});case 37:case"end":return r.stop()}}),r,null,[[26,32]])})));return function(){return r.apply(this,arguments)}}()}(n),i=function(t,n){var e,r,i,o=(n=n||{}).initial||[],u=n.max||1/0,a=n.interval||1e4,c=n.onEmpty||rr,s=n.onPause||rr;function f(n){clearInterval(e);var r=o.splice(0,u);return r.length&&t(r,o),o.length?n?f():l():(i=!1,c(o))}function l(){i=!0,e=setInterval(f,a)}return o.length&&l(),{flush:function(t){f(t)},resume:f,push:function(t){return(r=o.push(t))>=u&&!n.throttle&&f(),i||l(),r},size:function(){return o.length},pause:function(t){t&&f(),clearInterval(e),i=!1,s(o)}}}(function(){var t=s(er.mark((function t(n){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.forEach((function(t){return e("> Queue event",t)})),t.next=3,r(n,{});case 3:e("> Queue response",t.sent);case 5:case"end":return t.stop()}}),t)})));return function(n,e){return t.apply(this,arguments)}}(),{max:10,interval:t.flushInterval||3e3,throttle:!0}),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var e=s(er.mark((function e(r){var i,o,u,a,c=arguments;return er.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>2&&void 0!==c[2]?c[2]:{},u=c.length>3&&void 0!==c[3]&&c[3],gr(i=c.length>1&&void 0!==c[1]?c[1]:{})&&(u=i={}),gr(o)&&(u=o={}),e.next=7,Ti(r,i,n);case 7:if(a=e.sent,!Object.entries(o).length&&r!==xi){e.next=12;break}return e.next=11,zi(o,n);case 11:o=e.sent;case 12:if(t.push(a),!u){e.next=17;break}return e.abrupt("return",t.flush());case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}(i,n);zi({},t);var u=function(t){if(!yr)return ao;var n=function(t){return function(){t(uo,!0)}}(t);return window.addEventListener("beforeunload",n),function(){return window.removeEventListener("beforeunload",n)}}(o);return{updateEndpoint:function(t){return r([],t)},recordEvent:o,disable:function(){u()}}}(Qe(Qe({},i),{},{appTitle:i.appTitle||p,appPackageName:i.appPackageName||p,appVersionCode:i.appVersionCode||w,eventMapping:i.eventMapping,getEndpointId:function(){return o.user("anonymousId")},getUserId:function(){return o.user("userId")},getContext:function(){return{sessionKey:i.sessionKey,pageViewKey:i.pageViewKey,initialSession:g}},enrichEventAttributes:function(){return Qe({anonId:o.user("anonymousId"),userId:o.user("userId"),hash:window.location.hash,path:window.location.pathname,referrer:document.referrer,search:window.location.search,title:document.title,host:window.location.hostname,url:window.location.origin+window.location.pathname},O)},enrichUserAttributes:i.enrichUserAttributes,enrichEventMetrics:function(){return{}}}));t=S.recordEvent,n=S.updateEndpoint,g&&g.isNew&&(a("Start brand new session because cookie not found"),t(Ai)),function(t){var n,e,r=t.onIdle,i=t.onWakeUp,o=t.onHeartbeat,u=t.timeout,a=void 0===u?1e4:u,c=t.throttle,s=void 0===c?2e3:c,f=!1,l=new Date;Yr((function(t){clearTimeout(n),o&&!f&&o(Zr(l),t),i&&f&&(f=!1,i(Zr(e),t),l=new Date),n=setTimeout((function(){f=!0,r&&(e=new Date,r(Zr(l),t))}),a)}),{throttle:s})}({timeout:18e5,throttle:2e4,onIdle:function(n){var r;a("Session idle. Active ".concat(n," seconds")),r=hr(),e.debug&&console.log("Stop session",r),t(Ii,!0)},onWakeUp:function(n){var r;a("Session wakeup. Idle ".concat(n," seconds")),r=vr(30),e.debug&&console.log("START SESSION",r),t(Ai)},onHeartbeat:function(t){a("ping session",new Date),a("total active time",t);var n=o.user();!function(t,n){void 0===t&&(t=30),vr(t||1,n,!0)}(30,{anonId:n.anonymousId,userId:n.userId})}})},page:function(){if(!t)return co();r&&br(),t(xi),r=!0},track:function(n){var e=n.payload,r=n.config;if(!t)return co();if(!r.disableAnonymousTraffic||e.userId){var i,o=(i=e.properties,Object.keys(i).reduce((function(t,n){var e=i[n];return"number"==typeof e&&(t.metrics[n]=e),"string"!=typeof e&&"boolean"!=typeof e||(t.attributes[n]=e),t}),{attributes:{},metrics:{}}));t(e.event,o)}},identify:function(t){var e=t.payload,r=e.userId,i=e.traits;if(!n)return co();var o={},u={};r&&(u.UserId=r),i&&Object.keys(i).length&&(u.UserAttributes=i),Object.keys(u).length&&(o.User=u),n(o,!0)},reset:function(t){var n=Pi(t.instance.user("anonymousId"));Ae(n)},loaded:function(){return!!t}}};function ho(t,n){var e=vo(t,n),r=v({httpMethod:"GET"},n);return h(e,r)}var vo=function(t,n){return("string"==typeof n?n:p(n))+"/content/items/"+t};class po{constructor(t){this.name="amazon";const{app:n={},fips:e,userPoolID:r}=t;this.analytics=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de(Ye(Ye({},{storage:Xe}),t))}({app:n.name,version:n.version,plugins:[lo({fips:e,pinpointAppId:n.id,getCredentials:()=>function(t,n={}){const e=`https://cognito-identity${!0===n.fips?"-fips":""}.us-east-1.amazonaws.com/`;let r=m.get(k);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);const i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:t})};return fetch(e,i).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((t=>{const{IdentityId:n}=t,r={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:n})};return fetch(e,r)})).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((({Credentials:t})=>(m.set(k,t),t)))}(r,{fips:e})})]}),Object.assign(this,t)}init(){return Promise.resolve()}static async setAccessPermissions({id:t,authentication:n,username:e,accessChangeset:r}){return async function({id:t,authentication:n,username:e,accessChangeset:r}){const{properties:i={}}=await ho(t,{authentication:n}),o=i.telemetry,u=void 0===o?{}:o,{arcgis:{access:a={}}={}}=u,c=O(u,["arcgis"]),s=function(t,n,e){return e.reduce(((n,e)=>{const{action:r,targetProperty:i}=e;return"add"===r?n[i]={updatedAt:new Date,updatedBy:t}:"remove"===r&&delete n[i],n}),n)}(e,a,r);return w({item:{id:t,properties:Object.assign(Object.assign({},i),{telemetry:Object.assign(Object.assign({},c),{arcgis:{access:Object.assign({},s)}})})},authentication:n})}({id:t,authentication:n,username:e,accessChangeset:r})}static async getAccessPermissions({id:t,authentication:n}){return async function({id:t,authentication:n}){const{properties:{telemetry:{arcgis:{access:e={}}={}}={}}}=await ho(t,{authentication:n});return{access:e}}({id:t,authentication:n})}logPageView(t,n){const e=function({page:t,previousPage:n={},options:e={},dimensionLookup:r={},metricLookup:i={}}){const o=T(e,i),u=E({telemetryData:e,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:a,title:c}=document||{},{hostname:s,pathname:f}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:a,hostname:s,path:t||f,pageUrl:t||f,pageName:c,previousPageUrl:n.pageUrl,previousPageName:n.pageName},u),o)}({page:t,previousPage:this.previousPage,options:n,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{pageUrl:r,pageName:i}=e;this.previousPage={pageUrl:r,pageName:i},this.analytics.track("pageView",e)}logEvent(t={}){const n=function({event:t={},dimensionLookup:n={},metricLookup:e={}}){var r,i;const{pathname:o,eventType:u="other"}=t,a=T(t,e),c=E({telemetryData:Object.assign({eventType:u},t),dimensionLookup:n,excludeKeys:["workflow","pathname",...Object.keys(a),...Object.keys(e)]}),s=Object.assign(Object.assign({name:u},c),a);return"undefined"!=typeof document&&document.referrer&&(s.referrer=document.referrer),"undefined"==typeof window||s.hostname||(s.hostname=null===(r=window.location)||void 0===r?void 0:r.hostname),s.path="undefined"!=typeof window&&window.location.pathname?null===(i=window.location)||void 0===i?void 0:i.pathname:o,s}({event:t,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{name:e}=n;this.analytics.track(e,n)}}const wo=class{constructor(e){t(this,e),this.consentGranted=n(this,"consentGranted",7)}get el(){return e(this)}amazonAppId;amazonAppName;amazonUserPoolID;amazonVersion;firstUseVar;locale;measurementIds;portal;_open;_translations;_loaded=!1;_telemetryInstance;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async getInstance(){return"true"===localStorage.getItem(this.firstUseVar)||this.portal.eueiEnabled?(await this._init(),this._telemetryInstance):void 0}consentGranted;async componentWillLoad(){await this._getTranslations(),this._open=null===localStorage.getItem(this.firstUseVar)}render(){return r(i,{key:"6b5a4571e972d6d79948cbf186119372456b5e1e"},r("calcite-alert",{key:"93eaac2efe214be10c0b5a0ff511404e74861bd0",kind:"brand",label:this._translations.trackingAlertLabel,onCalciteAlertClose:()=>this._alertClosed(),open:this._open},r("div",{key:"791bf8851d3f7fd5cec537afcd369071127701a4",slot:"message"},this._translations.message),r("calcite-button",{key:"a3708023545b76ab30fc085d6de8c853a986a5a6",alignment:"center",appearance:"solid",kind:"brand",onClick:()=>this._accept(),scale:"m",slot:"actions-end",style:{margin:"auto"},type:"button"},this._translations.accept)))}async componentDidLoad(){this.consentGranted.emit({granted:"true"===localStorage.getItem(this.firstUseVar)})}async _init(){if(!this._loaded){const t={plugins:[],portal:this.portal};if(this.measurementIds?.length>0){const n=new S({measurementIds:this.measurementIds});t.plugins.push(n)}if(this.amazonUserPoolID){const n=new po({userPoolID:this.amazonUserPoolID,app:{name:this.amazonAppName,id:this.amazonAppId,version:this.amazonVersion}});t.plugins.push(n)}this._telemetryInstance=new j(t),await this._telemetryInstance.init(),this._loaded=!0}}_alertClosed(){this._open=!1,"true"!==localStorage.getItem(this.firstUseVar)&&localStorage.setItem(this.firstUseVar,"false")}_accept(){localStorage.setItem(this.firstUseVar,"true"),this.consentGranted.emit({granted:!0}),this._open=!1}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};wo.style=":host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform 0.5s ease-out 0s;background-color:rgba(51, 51, 51, 0.95);color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link:var(--calcite-color-text-inverse);--calcite-ui-brand:var(--calcite-color-text-inverse);--calcite-color-text-link:var(--calcite-color-text-inverse);--calcite-color-brand-underline:var(--calcite-color-text-inverse);--calcite-color-brand:var(--calcite-color-text-inverse)}";export{wo as consent_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as e,a as s,h as a,H as l}from"./p-c3eae9ba.js";import{b as o,c as n,a as c}from"./p-80cb7c73.js";import{l as h,g as r}from"./p-7ded7b2e.js";import{e as d,h as p}from"./p-d572627c.js";import{s as g}from"./p-285c4fe6.js";import{c as b,r as m}from"./p-419233a3.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-fb75e187.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(e){t(this,e),this.searchConfigurationChange=i(this,"searchConfigurationChange",7)}get el(){return e(this)}addresseeLayerIds=[];bufferColor=[227,139,79,.8];bufferOutlineColor=[255,255,255];customLabelEnabled;defaultBufferDistance;defaultBufferUnit;defaultExportTitle="";defaultNumLabelsPerPage=6;enableLayerFeatures=!0;enableLayerFeaturesOnLoad=!1;enableSearchDistance=!0;enableSearchDistanceOnLoad=!1;enableSketchTools=!0;featureEffect;featureHighlightEnabled;locale;mapView;noResultText;initialNotice="";searchConfiguration;selectionLayerIds=[];showRefineSelection=!1;showSearchSettings=!0;sketchLineSymbol;sketchPointSymbol;sketchPolygonSymbol;_exportGraphics=!1;_addMap=!1;_addResults=!0;_addTitle=!1;_downloadActive=!0;_exportType=o.PDF;_fetchingData=!1;_isMobile;_numDuplicates=0;_pageType=n.LIST;_saveEnabled=!1;_selectionSets=[];_translations;_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const e=JSON.stringify(t);this.mapView&&(e!==JSON.stringify(i)||e&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(e),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("assets/data/images/onboarding.png")}render(){return a(l,{key:"f181d473e00426938204de5a5c178aefb4bb407a"},a("calcite-shell",{key:"8ad537ed97ff0df163367f2bb5fb5abe543acc07"},a("calcite-action-bar",{key:"b2189df6eb2bbee518a7f312ca8c2644d6d812b6",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,e]=await h(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=e}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,e){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,e)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,e)=>{const s=this._getSelectionSetIds(i);let l=!0;return i.workflowType===c.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,e)=>{const s=i.refineInfos[e];return t+(s.addIds.length+s.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(e,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==c.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,e)=>[...i,...t.refineInfos[e].addIds]),[])}_hasSelections(t=!1){let i=[];const e=this._selectionSets.some((t=>{if(t.workflowType===c.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&e?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),e=m(i);return i.length-e.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==c.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((e=>{const s=i.refineInfos[e];s.addIds.length>0&&this._updateIds(e,s.layerView,s.addIds,t)}))),t)),{})}_updateIds(t,i,e,s){return s[t]?s[t].ids=s[t].ids.concat(e):s[t]={layerView:i,ids:e},s}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",e=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",s=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${s}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${s}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:e})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((e=>{const s=this.mapView.map.layers.findIndex((t=>t.title===e));if(g.managedLayers[e]===t)return i=this.mapView.map.layers.getItemAt(s),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((e=>{if(e.download&&(t&&t.graphics.add(e.sketchGraphic),i)){const t=new this.Graphic({geometry:e.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,e,s,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:e,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},s))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",e=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:e,slot:"message"},t))}_getLabel(t,i=!1,e="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:e+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const e=this._getSelectionSetIds(i),s=i.workflowType!==c.REFINE||e.length>0;return!this._downloadActive&&i.download&&s&&(this._downloadActive=!0),s&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((e=>(e.download=e.id===t?!e.download:e.download,i=!!e.download||i,e))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===c.REFINE)Object.keys(i.refineInfos).forEach((e=>{const s=i.refineInfos[e];s.addIds&&(t=this._updateExportInfos(t,s.layerView.layer.id,i.label,s.addIds,s.layerView))}));else{const e=i?.layerView?.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,e,s,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...s])],t[i].selectionSetNames.push(e)):i&&(t[i]={ids:s,layerView:a,selectionSetNames:[e]}),t}_getAction(t,i,e,s,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:s,slot:o,text:e})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,e)=>{if(e!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===c.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let e=0;e<i.length;e++){const s=t[i[e]];g.highlightHandles.push(await p(s.ids,s.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,g as i,h as s,H as a}from"./p-c3eae9ba.js";import{g as h}from"./p-7ded7b2e.js";import{g as l,d as n,p as o}from"./p-d572627c.js";import{s as r}from"./p-285c4fe6.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-fb75e187.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}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,g as s,h as e,F as a}from"./p-c3eae9ba.js";import{l as h,g as c,f as n}from"./p-7ded7b2e.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7)}get el(){return s(this)}locale;mapView;table;selectedFeature;customizeSubmit=!1;showGuidingMsg=!0;_editorLoading=!1;_translations;Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"261308f81b5bbed3e136efbb2100db9c1e5994a4"},this.showGuidingMsg&&e("calcite-notice",{key:"3aca1d3f48e46208ce07f2ccdd76ac4af752162d",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"f449d7dcde1cc75bf7470a75ae0ce915ef457459",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"e94e971b96ddba0ab36f27ffd4e37b820bb2432f",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7)}get el(){return s(this)}mapView;graphics;reportingOptions;layerItemsHash;locale;showUserImageInCommentsList=!1;_likeFieldAvailable=!1;_likeCount=0;_disLikeCount=0;_dislikeFieldAvailable=!1;_commentsAvailable=!1;_isLikeBtnClicked=!1;_isDislikeBtnClicked=!1;_relatedFeaturesOIDs;_updating=!1;_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"be7bebe9da698d963a2602fcacb95ac7206ac1e9","full-height":!0},e("info-card",{key:"1e069f52d59d42f3e2b88463ea7c536c65a0a6b5",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"d53f5a1726e4c6299ffd04e266d84005181645f6",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"4c2616cc9e0107258f5313b66ae96fa31fe582c5",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"7c87aa085df04a8b58625097c2ce70e5853b82f9",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"f34ee203202944666c40e14bdfdc59265414fbe1",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7)}get el(){return s(this)}mapView;layers;locale;showFeatureCount=!0;showNextIcon=!1;applyLayerViewFilter=!1;_noLayersToDisplay=!1;_mapLayerIds=[];_isLoading=!1;_translations;_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y as layer_list}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,g as s}from"./p-c3eae9ba.js";import{s as r}from"./p-c34857fe.js";import{c as a,d as i}from"./p-f6e81cf8.js";import"./p-fb75e187.js";import"./p-80cb7c73.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const o=class{constructor(s){t(this,s),this.stateLoaded=e(this,"stateLoaded",7)}get el(){return s(this)}value="";templates=[];authentication;connectedCallback(){this._handleValueChange(this.value),this._initValueObserver()}render(){return null}stateLoaded;async getStoreInfo(t){return Promise.resolve(r.getStoreInfo(t))}_valueObserver;_handleValueChange(t){if(""!==t){const e=JSON.parse(t);r.setStoreInfo("solutionData",e);const s=a(e.templates);r.setStoreInfo("featureServices",s),r.setStoreInfo("spatialReferenceInfo",i(s,e)),this.templates=e.templates,this.stateLoaded.emit(r)}}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.some((t=>{const e=t.target[t.attributeName];if("attributes"===t.type&&"value"===t.attributeName&&e!==t.oldValue)return this._handleValueChange(e),!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};export{o as store_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,g as a,h as i,H as s}from"./p-c3eae9ba.js";import{s as l}from"./p-c34857fe.js";import{g as c}from"./p-7ded7b2e.js";import{n}from"./p-8850bd21.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-fb75e187.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-0a24ad5f.js";const h=class{constructor(a){e(this,a),this.solutionItemSelected=t(this,"solutionItemSelected",7)}get el(){return a(this)}selectedItemId;templateHierarchy=[];valueWatchHandler(e,t){e&&e!==t&&Array.isArray(e)&&e.length>0&&this._treeItemSelected(e[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return i(s,{key:"37e448ea1e2f90ba78d409253ac92443309fcb10"},i("calcite-tree",{key:"57eba99bbbabaf2b46817d1faab158b915ecd9a7"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(e){return e.map((e=>{const t=this.selectedItemId&&this.selectedItemId===e.id;return e.dependencies&&e.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},i("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),i("span",{class:"icon-text",title:e.title},e.title),i("calcite-tree",{slot:"children"},this.renderHierarchy(e.dependencies))):i("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},i("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),i("span",{class:"icon-text",title:e.title},e.title))}))}solutionItemSelected;_treeItemSelected(e,t){const a=t?.target?.closest("calcite-tree-item");a&&(a.expanded=!a?.expanded),this.selectedItemId=e,this.solutionItemSelected.emit(e)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(t){e(this,t)}get el(){return a(this)}authentication;itemId="";itemIdWatchHandler(){const e=l.getItemInfo(this.itemId);this.itemType=e.type}locale;solutionVariables="";organizationVariables="";async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"3985a0dbb1f383a629cb5dcbc7be3a3e58ee2c7f"},i("div",{key:"d75f55817d693dea817bfa2c5bdf17179aef115c",class:"configuration-container"},i("div",{key:"3a5ba206e78d1c7db76dd4329296a4c155573de0",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}itemType;_translations;_showGroupTabs(e){return i("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.groupDetailsTab),i("calcite-tab-title",null,this._translations.sharingTab)),i("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},i("solution-item-details",{"item-id":this.itemId,locale:this.locale})),i("calcite-tab",{class:"config-tab",id:"share-tab"},i("solution-item-sharing",{"group-id":this.itemId,locale:this.locale})))}_showItemTabs(e){return i("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.itemDetailsTab),i("calcite-tab-title",null,this._translations.dataTab),i("calcite-tab-title",null,this._translations.propertiesTab),i("calcite-tab-title",null,this._translations.resourcesTab)),i("calcite-tab",{class:"config-tab",selected:!0},i("solution-item-details",{"item-id":this.itemId,locale:this.locale})),i("calcite-tab",{class:"config-tab",id:"data-tab"},i("solution-template-data",{instanceid:"data","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),i("calcite-tab",{class:"config-tab",id:"props-tab"},i("solution-template-data",{instanceid:"properties","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),i("calcite-tab",{class:"config-tab",id:"resources-tab"},i("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId,locale:this.locale})))}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const b="3857",f=class{constructor(a){e(this,a),this.featureServiceSpatialReferenceChange=t(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=t(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=t(this,"enabledSpatialReferenceChange",7)}get el(){return a(this)}enabled=!1;enabledChanged(){this._handleSpatialRefParamChange()}enableDefault=!1;enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}featureServices=[];locale;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),i(s,{key:"b137587cf67e4f3bd498166c2c482894dd94e66d"},i("label",{key:"728399a596edc07757ec9c34cfe149c8ae65da3f",class:"switch-label"},i("calcite-switch",{key:"bd3310bae9296b86bb0f77474d200c430b974196",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:e=>this.enabled=e.target.checked,scale:"m"}),this._translations.enableSpatialReference),i("br",{key:"7f247a248515aff35d96125e1813ca40d1935c07"}),i("div",{key:"a2415c6cbb9cca553544106b24bb7268c4ff5bd2",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),i("label",{key:"46fccf4ef6cb409d1a74f62832d7fabd9f88cf44",class:"switch-label spatial-ref-component"},i("calcite-switch",{key:"74e3afca88b1770421be663ec0075ade8faf7a64",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this.enableDefault=e.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}_translations;featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=l.getStoreInfo("featureServices")}async _testAccess(e,t,a,i){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((e=>e.checked=!1)),e.forEach((e=>this._updateEnabledServices({detail:{switched:!1}},e)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?b:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e?e.toString().startsWith(r)?e:`${r}${e}${o}`:e}_renderFeatureServicesList(e){const t=l.getStoreInfo("spatialReferenceInfo"),a=e.filter((e=>Object.keys(t.services).some((t=>t===e.id))));return a.length>0?i("div",null,i("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),i("ul",{class:"spatial-ref-services-list"},a.map((e=>i("li",{class:"spatial-ref-services-list-item"},i("label",{class:"switch-label"},i("calcite-switch",{checked:t.services[e.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this._updateEnabledServices(t,e),scale:"m"}),e.name)))))):null}_updateEnabledServices(e,t){const a=l.getStoreInfo("spatialReferenceInfo");a.services[t.id]=void 0!==e.detail?.switched?e.detail.switched:void 0===e.target?.checked||e.target.checked,l.setStoreInfo("spatialReferenceInfo",a),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(r)?e.substring(r.length,e.length-o.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach((t=>{e.services[t]=!1})),this.featureServices.forEach((t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)})),l.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const e=l.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=b:e.hasOwnProperty("default")&&delete e.default,l.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){const e=l.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=l.getStoreInfo("featureServices")}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"],locale:["localeWatchHandler"]}}};f.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,f as solution_spatial_ref}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as n,c as t,h as i,H as e,g as o}from"./p-c3eae9ba.js";import{l as a}from"./p-d001e961.js";import{g as s}from"./p-3df0f3d3.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",c="instant-apps-export-print",l="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await a(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"52f53735afba2085f45bdd8ba64e8e37b48318bb"},i("div",{key:"ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const o=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},o),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,o=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),o)}renderSwitch(n,t){var e;const o=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:c,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var o,a;const s=null===(a=null===(o=t.map)||void 0===o?void 0:o.portalItem)||void 0===a?void 0:a.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,c=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,c)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:l})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const o=this.printEl.querySelector(`#popup-${t}`);if(null!=o&&(o.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const o=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);o.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",o.className="esri-widget__heading esri-popup__header-title";const a=this.printEl.querySelector(`#popup-title-${t}`);null!=a&&(a.style.display=n.popup.title?"block":"none",a.innerHTML="",a.prepend(o))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],o=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&o?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const o=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(o),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),o)}))}}handleLegendCreation(n,t){var i,e,o,a;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],c=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(o=null==r?void 0:r.portalItem)||void 0===o?void 0:o.id)===(null===(a=null==c?void 0:c.portalItem)||void 0===a?void 0:a.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[o]=await a(["esri/widgets/Legend"]);this.legends[t]=new o({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,o;const a=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=a){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(o=null==p?void 0:p.portalItem)||void 0===o?void 0:o.id)||this.updateCompass(n,t,a)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[o]=await a(["esri/widgets/Compass"]);this.compasses[t]=new o({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const o=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=o&&(o.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const o=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),a=document.createElement("img");a.src=e;const s=n.getAttribute("style");s&&a.setAttribute("style",s);const r=o[t];null!=r&&(r.replaceWith(a),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=a.parentElement)||void 0===i?void 0:i.parentElement)&&(a.parentElement.style.background="#242424",a.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const o=n.data.width/2,a=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,a/o*100+"%")}}get el(){return o(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import"./p-0a24ad5f.js";const t=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["nb","nb"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]);function r(t){return function(t){const r=t.closest("[dir]");return r?r.getAttribute("dir"):"ltr"}(t)}export{r as g,t as l}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as a,c as t,h as n,H as s,F as e,g as r}from"./p-c3eae9ba.js";import{i,g as l,a as o,s as p,E as c,b as g,l as u,c as d,u as h}from"./p-b7a6512b.js";import{l as m}from"./p-d001e961.js";import{c as v}from"./p-3df0f3d3.js";import{g as _,f as b,L as y}from"./p-4695cfab.js";import"./p-fb75e187.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const f="instant-apps-language-translator",x={BASE:f,header:`${f}__header`,headerText:`${f}__header-text`,savingIndicator:`${f}__saving-indicator`,closeButton:`${f}__close-button`,headerTip:`${f}__header-tip`,topBar:`${f}__top-bar`,topBarSection:`${f}__top-bar-section`,collapseSearchContainer:`${f}__collapse-search-container`,userLangText:`${f}__user-lang-text`,lastItem:`${f}--last-item`,writingIcon:`${f}__writing-icon`,primaryContent:`${f}__primary-content`,lastAutoSave:`${f}__last-auto-save`},w=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){i()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await m(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await l(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=o(a,t);p.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=p.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&p.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await _(this.portalItem);p.set("portalItemResource",a);const t=await b(a);p.set("lastSave",t.lastSave),p.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"ca098bb65294625c8e99c35a5ffa803f2bb84d18"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return n("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:x.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){return n("header",{class:x.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){const{messages:a}=this;return n("div",{class:x.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:x.savingIndicator},n("calcite-loader",{label:t,inline:!0}),n("span",null,t))}renderContent(){const a=g(this.locales);return n("div",null,this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:x.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:x.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=v();return n("div",{class:x.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:x.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:x.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=p.get("uiData"),t=null==a?void 0:a.get("locales"),s=g(t),e=Object.keys(y.partial);return null==s?void 0:s.map((a=>{const t=-1!==e.indexOf(a),s=y[t?"partial":"full"],{language:r,translated:i}=s[a];return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${r} - ${i}`)}))}renderUIData(){if(!(null==u?void 0:u.uiData))return;const a=d();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,r;const i=null===(r=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===r?void 0:r[u.currentLanguage],l=`${t===s-1?x.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:i,setting:o,userLocaleInputOnChangeCallback:async(a,t)=>{try{await this.userLocaleInputOnChangeCallback(a,t);const n=p.get("portalItemResource");h(n)}catch(a){}},translatedLocaleInputOnChangeCallback:async(a,t,n,s)=>{try{await this.translatedLocaleInputOnChangeCallback(a,t,n,s),h(s)}catch(a){}}})}renderPrimaryContent(){var a,t;return n("div",{class:x.primaryContent,slot:"footer-end"},p.get("saving")?this.renderSavingIndicator():null,p.get("lastSave")?n("span",{key:"last-save",class:x.lastAutoSave},null===(a=this.messages)||void 0===a?void 0:a.lastAutoSave," ",this.intl.formatDate(p.get("lastSave"))):null,n("calcite-button",{onClick:()=>this.open=!1,class:x.closeButton},null===(t=this.messages)||void 0===t?void 0:t.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(u.uiData);d().forEach((t=>a.get(t).expanded=this.isCollapse)),p.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(u.uiData);d().forEach((a=>{n.get(a).selected=a===t})),p.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){p.set("currentLanguage",a.target.value)}async getTranslationData(){return p.get("portalItemResourceT9n")}async setTranslationData(a){return p.set("portalItemResourceT9n",a)}async getPortalItemResource(){return p.get("portalItemResource")}async batchWriteToPortalItemResource(a){p.set("saving",!0);try{const t=await this.getPortalItemResource(),n=Date.now();p.set("lastSave",n);const s=JSON.stringify(Object.assign(Object.assign({},a),{lastSave:n})),e=new Blob([s],{type:"application/json"});return await t.update(e),setTimeout((()=>p.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),p.set("saving",!1),Promise.reject()}}get el(){return r(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};w.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}";export{w as instant_apps_language_translator}