@esri/solutions-components 0.11.11 → 0.11.13

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 (1253) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +258 -49
  2. package/dist/cjs/buffer-tools_2.cjs.entry.js +122 -28
  3. package/dist/cjs/card-manager_3.cjs.entry.js +433 -98
  4. package/dist/cjs/consent-manager.cjs.entry.js +55 -13
  5. package/dist/cjs/create-feature_4.cjs.entry.js +247 -53
  6. package/dist/cjs/create-related-feature_3.cjs.entry.js +166 -35
  7. package/dist/cjs/crowdsource-manager.cjs.entry.js +247 -58
  8. package/dist/cjs/crowdsource-reporter.cjs.entry.js +213 -52
  9. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  10. package/dist/cjs/delete-dialog.cjs.entry.js +37 -8
  11. package/dist/cjs/downloadUtils-37a2426c.js +3223 -0
  12. package/dist/cjs/feature-list.cjs.entry.js +95 -24
  13. package/dist/cjs/helpers-f649d911.js +867 -0
  14. package/dist/cjs/index-915dd9e3.js +201 -0
  15. package/dist/cjs/index-dd05c644.js +1901 -0
  16. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  17. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
  18. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  19. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  20. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  21. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  22. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +2 -2
  23. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  24. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  25. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  26. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  27. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  28. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  29. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  30. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  31. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  32. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  33. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +1 -1
  34. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  35. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  36. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  37. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  38. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  39. package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
  40. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
  41. package/dist/cjs/json-editor_7.cjs.entry.js +227 -49
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/cjs/locale-9cb687b1.js +160 -0
  44. package/dist/cjs/locale-d10ec17b.js +943 -0
  45. package/dist/cjs/map-layer-picker.cjs.entry.js +112 -27
  46. package/dist/cjs/map-select-tools_3.cjs.entry.js +229 -50
  47. package/dist/cjs/pci-calculator.cjs.entry.js +15 -2
  48. package/dist/cjs/popupUtils-c1061629.js +121 -0
  49. package/dist/cjs/public-notification.cjs.entry.js +194 -44
  50. package/dist/cjs/publicNotificationStore-30643216.js +47 -0
  51. package/dist/cjs/solution-configuration.cjs.entry.js +52 -17
  52. package/dist/cjs/solution-contents_3.cjs.entry.js +84 -18
  53. package/dist/cjs/solution-item-accordion.cjs.entry.js +39 -9
  54. package/dist/cjs/solution-item-icon.cjs.entry.js +18 -4
  55. package/dist/cjs/solution-store-9b6ae901.js +1105 -0
  56. package/dist/cjs/solutions-components.cjs.js +2 -2
  57. package/dist/cjs/spatial-ref.cjs.entry.js +45 -10
  58. package/dist/cjs/store-manager.cjs.entry.js +21 -6
  59. package/dist/cjs/utils-acaa2acd.js +153 -0
  60. package/dist/collection/assets/t9n/consent-manager/resources.json +1 -1
  61. package/dist/collection/assets/t9n/consent-manager/resources_en.json +1 -1
  62. package/dist/collection/collection-manifest.json +1 -1
  63. package/dist/collection/components/basemap-gallery/basemap-gallery.js +19 -5
  64. package/dist/collection/components/buffer-tools/buffer-tools.js +52 -13
  65. package/dist/collection/components/card-manager/card-manager.js +71 -17
  66. package/dist/collection/components/consent-manager/consent-manager.js +53 -13
  67. package/dist/collection/components/create-feature/create-feature.js +68 -16
  68. package/dist/collection/components/create-related-feature/create-related-feature.js +44 -10
  69. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +245 -58
  70. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +211 -52
  71. package/dist/collection/components/delete-button/delete-button.js +55 -13
  72. package/dist/collection/components/delete-dialog/delete-dialog.js +35 -8
  73. package/dist/collection/components/edit-card/edit-card.js +43 -10
  74. package/dist/collection/components/feature-details/feature-details.js +70 -17
  75. package/dist/collection/components/feature-list/feature-list.js +91 -22
  76. package/dist/collection/components/floor-filter/floor-filter.js +19 -5
  77. package/dist/collection/components/info-card/info-card.js +77 -18
  78. package/dist/collection/components/json-editor/json-editor.js +28 -7
  79. package/dist/collection/components/layer-list/layer-list.js +50 -12
  80. package/dist/collection/components/layer-table/layer-table.js +177 -41
  81. package/dist/collection/components/map-card/map-card.js +182 -43
  82. package/dist/collection/components/map-draw-tools/map-draw-tools.js +66 -15
  83. package/dist/collection/components/map-fullscreen/map-fullscreen.js +18 -4
  84. package/dist/collection/components/map-layer-picker/map-layer-picker.js +108 -25
  85. package/dist/collection/components/map-legend/map-legend.js +15 -4
  86. package/dist/collection/components/map-picker/map-picker.js +35 -8
  87. package/dist/collection/components/map-search/map-search.js +35 -8
  88. package/dist/collection/components/map-select-tools/map-select-tools.js +138 -32
  89. package/dist/collection/components/map-tools/map-tools.js +115 -27
  90. package/dist/collection/components/pci-calculator/pci-calculator.js +14 -3
  91. package/dist/collection/components/pdf-download/pdf-download.js +27 -6
  92. package/dist/collection/components/public-notification/public-notification.js +189 -41
  93. package/dist/collection/components/refine-selection/refine-selection.js +59 -13
  94. package/dist/collection/components/solution-configuration/solution-configuration.js +48 -13
  95. package/dist/collection/components/solution-contents/solution-contents.js +13 -4
  96. package/dist/collection/components/solution-item/solution-item.js +36 -9
  97. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +0 -4
  98. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +36 -8
  99. package/dist/collection/components/solution-item-details/solution-item-details.js +35 -16
  100. package/dist/collection/components/solution-item-icon/solution-item-icon.js +17 -5
  101. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +27 -6
  102. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +24 -6
  103. package/dist/collection/components/solution-resource-item/solution-resource-item.js +36 -8
  104. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +31 -7
  105. package/dist/collection/components/solution-template-data/solution-template-data.js +49 -8
  106. package/dist/collection/components/solution-variables/solution-variables.js +24 -6
  107. package/dist/collection/components/spatial-ref/spatial-ref.js +43 -8
  108. package/dist/collection/components/store-manager/store-manager.js +18 -5
  109. package/dist/collection/vendor/calcite-components/24P6DEQH.js +4 -0
  110. package/dist/collection/vendor/calcite-components/2AVRQATR.js +4 -0
  111. package/dist/collection/vendor/calcite-components/2CTO4WXV.js +4 -0
  112. package/dist/collection/vendor/calcite-components/2I33XQO3.js +4 -0
  113. package/dist/collection/vendor/calcite-components/2VMQ4ZHH.js +4 -0
  114. package/dist/collection/vendor/calcite-components/2XGOJ2TK.js +4 -0
  115. package/dist/collection/vendor/calcite-components/2Z6KCCXZ.js +4 -0
  116. package/dist/collection/vendor/calcite-components/36GZKNTR.js +4 -0
  117. package/dist/collection/vendor/calcite-components/3APPCCCZ.js +4 -0
  118. package/dist/collection/vendor/calcite-components/3AWHEFUT.js +4 -0
  119. package/dist/collection/vendor/calcite-components/3NZA5FPC.js +4 -0
  120. package/dist/collection/vendor/calcite-components/4CJKDY6O.js +4 -0
  121. package/dist/collection/vendor/calcite-components/4CN4DMSY.js +4 -0
  122. package/dist/collection/vendor/calcite-components/4D6XNDXD.js +4 -0
  123. package/dist/collection/vendor/calcite-components/4GH4R7AR.js +4 -0
  124. package/dist/collection/vendor/calcite-components/4NZ22FMP.js +4 -0
  125. package/dist/collection/vendor/calcite-components/4TW23CN7.js +4 -0
  126. package/dist/collection/vendor/calcite-components/4W55CXIJ.js +4 -0
  127. package/dist/collection/vendor/calcite-components/4YCDJ4BL.js +4 -0
  128. package/dist/collection/vendor/calcite-components/57KYZCIP.js +4 -0
  129. package/dist/collection/vendor/calcite-components/5DTLNTCL.js +4 -0
  130. package/dist/collection/vendor/calcite-components/5E4NPYBD.js +4 -0
  131. package/dist/collection/vendor/calcite-components/5E6WFGQD.js +4 -0
  132. package/dist/collection/vendor/calcite-components/5TU2CNVP.js +4 -0
  133. package/dist/collection/vendor/calcite-components/5U35BULS.js +4 -0
  134. package/dist/collection/vendor/calcite-components/5WIIOMNV.js +6 -0
  135. package/dist/collection/vendor/calcite-components/62UA4F4S.js +4 -0
  136. package/dist/collection/vendor/calcite-components/62VYJEUG.js +4 -0
  137. package/dist/collection/vendor/calcite-components/65NO3JUC.js +4 -0
  138. package/dist/collection/vendor/calcite-components/6GZCW3B4.js +4 -0
  139. package/dist/collection/vendor/calcite-components/6LJIPAYF.js +4 -0
  140. package/dist/collection/vendor/calcite-components/6LTFSVKG.js +4 -0
  141. package/dist/collection/vendor/calcite-components/6QDWHJ5K.js +4 -0
  142. package/dist/collection/vendor/calcite-components/6U6YH5MS.js +4 -0
  143. package/dist/collection/vendor/calcite-components/6VFJT5QA.js +4 -0
  144. package/dist/collection/vendor/calcite-components/6Y4OKAGD.js +4 -0
  145. package/dist/collection/vendor/calcite-components/74SSYUHC.js +5 -0
  146. package/dist/collection/vendor/calcite-components/75GQA36Q.js +4 -0
  147. package/dist/collection/vendor/calcite-components/7AD7VKZ6.js +4 -0
  148. package/dist/collection/vendor/calcite-components/7MGQRD7Z.js +4 -0
  149. package/dist/collection/vendor/calcite-components/7Q4LBBRD.js +4 -0
  150. package/dist/collection/vendor/calcite-components/7YRITLGU.js +4 -0
  151. package/dist/collection/vendor/calcite-components/A43TKJ6J.js +4 -0
  152. package/dist/collection/vendor/calcite-components/A4LOL6RT.js +4 -0
  153. package/dist/collection/vendor/calcite-components/A6LI6WSB.js +4 -0
  154. package/dist/collection/vendor/calcite-components/AD27WW7R.js +4 -0
  155. package/dist/collection/vendor/calcite-components/AHU7FP65.js +4 -0
  156. package/dist/collection/vendor/calcite-components/AI3NCYN4.js +4 -0
  157. package/dist/collection/vendor/calcite-components/AU24EMIU.js +4 -0
  158. package/dist/collection/vendor/calcite-components/AZ2MVQY2.js +4 -0
  159. package/dist/collection/vendor/calcite-components/BNWN4RE2.js +4 -0
  160. package/dist/collection/vendor/calcite-components/BQHDLRDE.js +4 -0
  161. package/dist/collection/vendor/calcite-components/BYJ6CJMV.js +4 -0
  162. package/dist/collection/vendor/calcite-components/C456ACXC.js +4 -0
  163. package/dist/collection/vendor/calcite-components/CFACWEH3.js +4 -0
  164. package/dist/collection/vendor/calcite-components/CZ6YBXDI.js +4 -0
  165. package/dist/collection/vendor/calcite-components/D2IBWEZJ.js +4 -0
  166. package/dist/collection/vendor/calcite-components/D5V7QPEQ.js +4 -0
  167. package/dist/collection/vendor/calcite-components/DV72VFBR.js +4 -0
  168. package/dist/collection/vendor/calcite-components/DXTGGP6F.js +4 -0
  169. package/dist/collection/vendor/calcite-components/DYX3VYAF.js +4 -0
  170. package/dist/collection/vendor/calcite-components/E4INVUQF.js +4 -0
  171. package/dist/collection/vendor/calcite-components/EC76JAWC.js +4 -0
  172. package/dist/collection/vendor/calcite-components/EFBSBD4Q.js +4 -0
  173. package/dist/collection/vendor/calcite-components/EGQT3WAL.js +4 -0
  174. package/dist/collection/vendor/calcite-components/ELLEOMPV.js +4 -0
  175. package/dist/collection/vendor/calcite-components/EQL77WNN.js +4 -0
  176. package/dist/collection/vendor/calcite-components/EREAGDHN.js +4 -0
  177. package/dist/collection/vendor/calcite-components/ETCKBCGT.js +4 -0
  178. package/dist/collection/vendor/calcite-components/F3MFWM7N.js +4 -0
  179. package/dist/collection/vendor/calcite-components/F57BIANZ.js +4 -0
  180. package/dist/collection/vendor/calcite-components/FLGYQACS.js +4 -0
  181. package/dist/collection/vendor/calcite-components/FVKXG7IX.js +4 -0
  182. package/dist/collection/vendor/calcite-components/FX4E46UA.js +4 -0
  183. package/dist/collection/vendor/calcite-components/FXMO4NFQ.js +4 -0
  184. package/dist/collection/vendor/calcite-components/G377AV4F.js +4 -0
  185. package/dist/collection/vendor/calcite-components/G4UFYIPU.js +4 -0
  186. package/dist/collection/vendor/calcite-components/G5GEKU4E.js +4 -0
  187. package/dist/collection/vendor/calcite-components/GEIJQLU7.js +4 -0
  188. package/dist/collection/vendor/calcite-components/GI3XXRNT.js +4 -0
  189. package/dist/collection/vendor/calcite-components/GQMODQ6D.js +4 -0
  190. package/dist/collection/vendor/calcite-components/GSVJHXH2.js +4 -0
  191. package/dist/collection/vendor/calcite-components/GUMVKQTR.js +4 -0
  192. package/dist/collection/vendor/calcite-components/GVOEPDQC.js +4 -0
  193. package/dist/collection/vendor/calcite-components/GWWXB6FV.js +4 -0
  194. package/dist/collection/vendor/calcite-components/GYOK6DI7.js +4 -0
  195. package/dist/collection/vendor/calcite-components/HDAL3OW2.js +4 -0
  196. package/dist/collection/vendor/calcite-components/HIP3N6DH.js +4 -0
  197. package/dist/collection/vendor/calcite-components/HLGSDCWJ.js +4 -0
  198. package/dist/collection/vendor/calcite-components/HPFASJXB.js +4 -0
  199. package/dist/collection/vendor/calcite-components/HPY2G26P.js +4 -0
  200. package/dist/collection/vendor/calcite-components/HYWMTX3X.js +4 -0
  201. package/dist/collection/vendor/calcite-components/HZGIYOHQ.js +4 -0
  202. package/dist/collection/vendor/calcite-components/HZWEQZY7.js +4 -0
  203. package/dist/collection/vendor/calcite-components/I3PTWPIY.js +4 -0
  204. package/dist/collection/vendor/calcite-components/I4CET6OW.js +5 -0
  205. package/dist/collection/vendor/calcite-components/I4G6P727.js +4 -0
  206. package/dist/collection/vendor/calcite-components/I6YTTPYR.js +4 -0
  207. package/dist/collection/vendor/calcite-components/IG7V543A.js +4 -0
  208. package/dist/collection/vendor/calcite-components/IGJ6NR2R.js +4 -0
  209. package/dist/collection/vendor/calcite-components/IMHYTFTU.js +4 -0
  210. package/dist/collection/vendor/calcite-components/IN5OHY5V.js +4 -0
  211. package/dist/collection/vendor/calcite-components/IPMCFXXP.js +4 -0
  212. package/dist/collection/vendor/calcite-components/IWHKNQVC.js +4 -0
  213. package/dist/collection/vendor/calcite-components/IXRENB6A.js +4 -0
  214. package/dist/collection/vendor/calcite-components/J6LILHDF.js +4 -0
  215. package/dist/collection/vendor/calcite-components/JADXGLI3.js +4 -0
  216. package/dist/collection/vendor/calcite-components/JLXVLF74.js +4 -0
  217. package/dist/collection/vendor/calcite-components/JWVCWXY6.js +4 -0
  218. package/dist/collection/vendor/calcite-components/K3474HB5.js +4 -0
  219. package/dist/collection/vendor/calcite-components/K43H5XTK.js +4 -0
  220. package/dist/collection/vendor/calcite-components/KEKOJLYV.js +4 -0
  221. package/dist/collection/vendor/calcite-components/KEXGE4NJ.js +4 -0
  222. package/dist/collection/vendor/calcite-components/KK3Z3W4I.js +4 -0
  223. package/dist/collection/vendor/calcite-components/KS4B6LK4.js +4 -0
  224. package/dist/collection/vendor/calcite-components/KUAZDOO6.js +4 -0
  225. package/dist/collection/vendor/calcite-components/KUGH3USL.js +4 -0
  226. package/dist/collection/vendor/calcite-components/KZL3CPTV.js +5 -0
  227. package/dist/collection/vendor/calcite-components/L3P7IWQ6.js +4 -0
  228. package/dist/collection/vendor/calcite-components/L5FEKBXU.js +5 -0
  229. package/dist/collection/vendor/calcite-components/L7UUJ325.js +4 -0
  230. package/dist/collection/vendor/calcite-components/LF6Z3CUU.js +4 -0
  231. package/dist/collection/vendor/calcite-components/LIPHS6R3.js +4 -0
  232. package/dist/collection/vendor/calcite-components/LNMOXDYH.js +4 -0
  233. package/dist/collection/vendor/calcite-components/LNX6IEUD.js +4 -0
  234. package/dist/collection/vendor/calcite-components/LSGKUJVV.js +4 -0
  235. package/dist/collection/vendor/calcite-components/LXOXPZWA.js +4 -0
  236. package/dist/collection/vendor/calcite-components/LYIEETRB.js +4 -0
  237. package/dist/collection/vendor/calcite-components/M5B5XMQA.js +28 -0
  238. package/dist/collection/vendor/calcite-components/M6TFTMFD.js +4 -0
  239. package/dist/collection/vendor/calcite-components/MO24RCUT.js +4 -0
  240. package/dist/collection/vendor/calcite-components/MOTR6ZPN.js +4 -0
  241. package/dist/collection/vendor/calcite-components/MPZIFQAA.js +4 -0
  242. package/dist/collection/vendor/calcite-components/MSERO633.js +4 -0
  243. package/dist/collection/vendor/calcite-components/N2ACZZPH.js +4 -0
  244. package/dist/collection/vendor/calcite-components/N2QB6H74.js +4 -0
  245. package/dist/collection/vendor/calcite-components/N6UWSSGW.js +4 -0
  246. package/dist/collection/vendor/calcite-components/NALQXSWX.js +4 -0
  247. package/dist/collection/vendor/calcite-components/NCKQSORU.js +4 -0
  248. package/dist/collection/vendor/calcite-components/NFGDGOX2.js +4 -0
  249. package/dist/collection/vendor/calcite-components/NJDS6SVP.js +4 -0
  250. package/dist/collection/vendor/calcite-components/NN7IWJQ4.js +4 -0
  251. package/dist/collection/vendor/calcite-components/NSI34PAP.js +4 -0
  252. package/dist/collection/vendor/calcite-components/O42B2Q4F.js +4 -0
  253. package/dist/collection/vendor/calcite-components/OGF5TUWN.js +4 -0
  254. package/dist/collection/vendor/calcite-components/OJCYBIGG.js +4 -0
  255. package/dist/collection/vendor/calcite-components/OOY2MGXQ.js +4 -0
  256. package/dist/collection/vendor/calcite-components/OQW7QIRH.js +4 -0
  257. package/dist/collection/vendor/calcite-components/OTCDMLUC.js +4 -0
  258. package/dist/collection/vendor/calcite-components/OZVEH4B5.js +4 -0
  259. package/dist/collection/vendor/calcite-components/P7HTSDH2.js +22 -0
  260. package/dist/collection/vendor/calcite-components/PLA7W3AT.js +4 -0
  261. package/dist/collection/vendor/calcite-components/PLXESTWV.js +4 -0
  262. package/dist/collection/vendor/calcite-components/PMITL6IC.js +4 -0
  263. package/dist/collection/vendor/calcite-components/PQBKOUKQ.js +4 -0
  264. package/dist/collection/vendor/calcite-components/PWUMIRZ6.js +4 -0
  265. package/dist/collection/vendor/calcite-components/Q5J2S3VY.js +4 -0
  266. package/dist/collection/vendor/calcite-components/QCZULBWY.js +4 -0
  267. package/dist/collection/vendor/calcite-components/QG6HHELM.js +4 -0
  268. package/dist/collection/vendor/calcite-components/QO3T2U37.js +4 -0
  269. package/dist/collection/vendor/calcite-components/QUDJ3N3N.js +4 -0
  270. package/dist/collection/vendor/calcite-components/QZIFYSUW.js +4 -0
  271. package/dist/collection/vendor/calcite-components/RBW3635P.js +4 -0
  272. package/dist/collection/vendor/calcite-components/RHRLZ43T.js +4 -0
  273. package/dist/collection/vendor/calcite-components/ROGH35KN.js +4 -0
  274. package/dist/collection/vendor/calcite-components/RU7EMDYD.js +4 -0
  275. package/dist/collection/vendor/calcite-components/RYTO443L.js +4 -0
  276. package/dist/collection/vendor/calcite-components/SA6NHSUC.js +4 -0
  277. package/dist/collection/vendor/calcite-components/SGUU7WHF.js +4 -0
  278. package/dist/collection/vendor/calcite-components/SHC4YDKE.js +4 -0
  279. package/dist/collection/vendor/calcite-components/T2ALVZYL.js +4 -0
  280. package/dist/collection/vendor/calcite-components/T3SQ25MS.js +4 -0
  281. package/dist/collection/vendor/calcite-components/TAD74E6K.js +4 -0
  282. package/dist/collection/vendor/calcite-components/TKUCTGZQ.js +4 -0
  283. package/dist/collection/vendor/calcite-components/TNN7X24K.js +4 -0
  284. package/dist/collection/vendor/calcite-components/TVLD3AOO.js +4 -0
  285. package/dist/collection/vendor/calcite-components/U6YW2HHD.js +4 -0
  286. package/dist/collection/vendor/calcite-components/UIF5EHAA.js +4 -0
  287. package/dist/collection/vendor/calcite-components/UPPZPSLX.js +4 -0
  288. package/dist/collection/vendor/calcite-components/UPVIMVOR.js +4 -0
  289. package/dist/collection/vendor/calcite-components/V56SP7RX.js +4 -0
  290. package/dist/collection/vendor/calcite-components/V6MKTTBQ.js +4 -0
  291. package/dist/collection/vendor/calcite-components/V7HGGFTI.js +4 -0
  292. package/dist/collection/vendor/calcite-components/V7JMIX7A.js +4 -0
  293. package/dist/collection/vendor/calcite-components/VALEMC46.js +4 -0
  294. package/dist/collection/vendor/calcite-components/VF6LK743.js +4 -0
  295. package/dist/collection/vendor/calcite-components/VICC3NDD.js +4 -0
  296. package/dist/collection/vendor/calcite-components/VP7NXOWD.js +4 -0
  297. package/dist/collection/vendor/calcite-components/VQDN7OO3.js +4 -0
  298. package/dist/collection/vendor/calcite-components/VRHJ5OK7.js +4 -0
  299. package/dist/collection/vendor/calcite-components/VSJGDSNK.js +4 -0
  300. package/dist/collection/vendor/calcite-components/VTNRWHPJ.js +4 -0
  301. package/dist/collection/vendor/calcite-components/VWRFMVFO.js +4 -0
  302. package/dist/collection/vendor/calcite-components/VYNHH43V.js +4 -0
  303. package/dist/collection/vendor/calcite-components/VZCTXPAB.js +4 -0
  304. package/dist/collection/vendor/calcite-components/W2PJHNUO.js +4 -0
  305. package/dist/collection/vendor/calcite-components/WGOS6SLC.js +4 -0
  306. package/dist/collection/vendor/calcite-components/WI77ICVL.js +4 -0
  307. package/dist/collection/vendor/calcite-components/WIMUFNVO.js +4 -0
  308. package/dist/collection/vendor/calcite-components/WKIE22JL.js +4 -0
  309. package/dist/collection/vendor/calcite-components/WL55EYBZ.js +4 -0
  310. package/dist/collection/vendor/calcite-components/WNKEORGU.js +4 -0
  311. package/dist/collection/vendor/calcite-components/WR2VE6JZ.js +4 -0
  312. package/dist/collection/vendor/calcite-components/XF5JMHOK.js +4 -0
  313. package/dist/collection/vendor/calcite-components/XIZD6JFU.js +4 -0
  314. package/dist/collection/vendor/calcite-components/XKHOO62D.js +4 -0
  315. package/dist/collection/vendor/calcite-components/XV33QQSP.js +4 -0
  316. package/dist/collection/vendor/calcite-components/XXCPMHQI.js +4 -0
  317. package/dist/collection/vendor/calcite-components/XYEB5PRT.js +4 -0
  318. package/dist/collection/vendor/calcite-components/Y3HCVBC6.js +4 -0
  319. package/dist/collection/vendor/calcite-components/Y7BXR2VY.js +4 -0
  320. package/dist/collection/vendor/calcite-components/YDUPLCIG.js +4 -0
  321. package/dist/collection/vendor/calcite-components/YOV6OIH2.js +4 -0
  322. package/dist/collection/vendor/calcite-components/YPEU6VCU.js +4 -0
  323. package/dist/collection/vendor/calcite-components/YUVCAMVK.js +4 -0
  324. package/dist/collection/vendor/calcite-components/YWAPFYEJ.js +4 -0
  325. package/dist/collection/vendor/calcite-components/YZIMMUUW.js +4 -0
  326. package/dist/collection/vendor/calcite-components/Z2FJJLZ3.js +4 -0
  327. package/dist/collection/vendor/calcite-components/ZQ6GYGGS.js +4 -0
  328. package/dist/collection/vendor/calcite-components/ZQG72P7P.js +4 -0
  329. package/dist/collection/vendor/calcite-components/ZROM77D7.js +4 -0
  330. package/dist/collection/vendor/calcite-components/ZWBJOZZD.js +4 -0
  331. package/dist/collection/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
  332. package/dist/collection/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
  333. package/dist/collection/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
  334. package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
  335. package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
  336. package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
  337. package/dist/collection/vendor/calcite-components/calcite.esm.js +4 -6
  338. package/dist/components/basemap-gallery2.js +19 -3
  339. package/dist/components/buffer-tools2.js +52 -11
  340. package/dist/components/card-manager2.js +71 -15
  341. package/dist/components/consent-manager.js +53 -11
  342. package/dist/components/create-feature2.js +68 -14
  343. package/dist/components/create-related-feature2.js +44 -8
  344. package/dist/components/crowdsource-manager.js +245 -56
  345. package/dist/components/crowdsource-reporter.js +211 -50
  346. package/dist/components/delete-button2.js +55 -11
  347. package/dist/components/delete-dialog2.js +35 -6
  348. package/dist/components/edit-card2.js +43 -8
  349. package/dist/components/feature-details2.js +70 -15
  350. package/dist/components/feature-list2.js +91 -20
  351. package/dist/components/floor-filter2.js +19 -3
  352. package/dist/components/info-card2.js +77 -16
  353. package/dist/components/json-editor2.js +28 -5
  354. package/dist/components/layer-list2.js +50 -10
  355. package/dist/components/layer-table2.js +177 -39
  356. package/dist/components/map-card2.js +182 -41
  357. package/dist/components/map-draw-tools2.js +66 -13
  358. package/dist/components/map-fullscreen2.js +18 -2
  359. package/dist/components/map-layer-picker2.js +108 -23
  360. package/dist/components/map-legend2.js +15 -2
  361. package/dist/components/map-picker2.js +35 -6
  362. package/dist/components/map-search2.js +35 -6
  363. package/dist/components/map-select-tools2.js +138 -30
  364. package/dist/components/map-tools2.js +115 -25
  365. package/dist/components/pci-calculator.js +14 -1
  366. package/dist/components/pdf-download2.js +27 -4
  367. package/dist/components/public-notification.js +189 -39
  368. package/dist/components/refine-selection2.js +59 -11
  369. package/dist/components/solution-configuration.js +48 -13
  370. package/dist/components/solution-contents2.js +13 -2
  371. package/dist/components/solution-item-accordion.js +37 -7
  372. package/dist/components/solution-item-details2.js +35 -14
  373. package/dist/components/solution-item-icon2.js +17 -3
  374. package/dist/components/solution-item-sharing2.js +27 -4
  375. package/dist/components/solution-item2.js +36 -7
  376. package/dist/components/solution-organization-variables2.js +24 -4
  377. package/dist/components/solution-resource-item2.js +36 -6
  378. package/dist/components/solution-spatial-ref2.js +31 -5
  379. package/dist/components/solution-template-data2.js +49 -8
  380. package/dist/components/solution-variables2.js +24 -4
  381. package/dist/components/spatial-ref.js +43 -8
  382. package/dist/components/store-manager.js +18 -3
  383. package/dist/esm/basemap-gallery_7.entry.js +258 -49
  384. package/dist/esm/buffer-tools_2.entry.js +122 -28
  385. package/dist/esm/card-manager_3.entry.js +433 -98
  386. package/dist/esm/consent-manager.entry.js +55 -13
  387. package/dist/esm/create-feature_4.entry.js +247 -53
  388. package/dist/esm/create-related-feature_3.entry.js +166 -35
  389. package/dist/esm/crowdsource-manager.entry.js +247 -58
  390. package/dist/esm/crowdsource-reporter.entry.js +213 -52
  391. package/dist/esm/deduct-calculator.entry.js +1 -1
  392. package/dist/esm/delete-dialog.entry.js +37 -8
  393. package/dist/esm/downloadUtils-05da05a5.js +3217 -0
  394. package/dist/esm/feature-list.entry.js +95 -24
  395. package/dist/esm/helpers-3d7571df.js +841 -0
  396. package/dist/esm/index-29ce74dd.js +199 -0
  397. package/dist/esm/index-b49a8ff6.js +1868 -0
  398. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  399. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
  400. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  401. package/dist/esm/instant-apps-create.entry.js +2 -2
  402. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  403. package/dist/esm/instant-apps-export.entry.js +2 -2
  404. package/dist/esm/instant-apps-filter-list_2.entry.js +2 -2
  405. package/dist/esm/instant-apps-header.entry.js +1 -1
  406. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  407. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  408. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  409. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  410. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  411. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  412. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  413. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  414. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  415. package/dist/esm/instant-apps-measurement-tool.entry.js +1 -1
  416. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  417. package/dist/esm/instant-apps-popover.entry.js +2 -2
  418. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  419. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  420. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  421. package/dist/esm/instant-apps-splash.entry.js +2 -2
  422. package/dist/esm/instant-apps-time-filter.entry.js +3 -3
  423. package/dist/esm/json-editor_7.entry.js +227 -49
  424. package/dist/esm/loader.js +2 -2
  425. package/dist/esm/locale-2b4fcfe1.js +155 -0
  426. package/dist/esm/locale-63587966.js +938 -0
  427. package/dist/esm/map-layer-picker.entry.js +112 -27
  428. package/dist/esm/map-select-tools_3.entry.js +229 -50
  429. package/dist/esm/pci-calculator.entry.js +15 -2
  430. package/dist/esm/popupUtils-d4429b90.js +119 -0
  431. package/dist/esm/public-notification.entry.js +194 -44
  432. package/dist/esm/publicNotificationStore-0af2f0c7.js +45 -0
  433. package/dist/esm/solution-configuration.entry.js +52 -17
  434. package/dist/esm/solution-contents_3.entry.js +84 -18
  435. package/dist/esm/solution-item-accordion.entry.js +39 -9
  436. package/dist/esm/solution-item-icon.entry.js +18 -4
  437. package/dist/esm/solution-store-8f4fe1d9.js +1103 -0
  438. package/dist/esm/solutions-components.js +3 -3
  439. package/dist/esm/spatial-ref.entry.js +45 -10
  440. package/dist/esm/store-manager.entry.js +21 -6
  441. package/dist/esm/utils-f9183b76.js +142 -0
  442. package/dist/solutions-components/assets/t9n/consent-manager/resources.json +1 -1
  443. package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +1 -1
  444. package/dist/solutions-components/p-004426dc.entry.js +6 -0
  445. package/dist/solutions-components/p-01068666.entry.js +6 -0
  446. package/dist/solutions-components/p-02c009a2.entry.js +6 -0
  447. package/dist/solutions-components/p-1546373f.entry.js +6 -0
  448. package/dist/solutions-components/p-1f670efc.entry.js +6 -0
  449. package/dist/solutions-components/p-1f72c19b.entry.js +6 -0
  450. package/dist/solutions-components/p-27ff3a85.entry.js +6 -0
  451. package/dist/solutions-components/p-285c4fe6.js +21 -0
  452. package/dist/solutions-components/p-2fc2238d.entry.js +6 -0
  453. package/dist/solutions-components/p-33ca9789.entry.js +6 -0
  454. package/dist/solutions-components/p-37fd56c8.entry.js +6 -0
  455. package/dist/solutions-components/p-3df0f3d3.js +6 -0
  456. package/dist/solutions-components/p-419233a3.js +488 -0
  457. package/dist/solutions-components/p-442a68ea.entry.js +6 -0
  458. package/dist/solutions-components/p-4b5ea333.entry.js +6 -0
  459. package/dist/solutions-components/p-4bd66ae5.entry.js +6 -0
  460. package/dist/solutions-components/p-4d55eb0e.entry.js +6 -0
  461. package/dist/solutions-components/p-50dfa0b8.entry.js +6 -0
  462. package/dist/solutions-components/p-59633ef0.entry.js +6 -0
  463. package/dist/solutions-components/p-67befb92.entry.js +6 -0
  464. package/dist/solutions-components/p-68fd9d5d.entry.js +6 -0
  465. package/dist/solutions-components/p-723482d1.js +21 -0
  466. package/dist/solutions-components/p-750a8a39.entry.js +6 -0
  467. package/dist/solutions-components/p-79756a0f.entry.js +6 -0
  468. package/dist/solutions-components/p-7b42823b.entry.js +6 -0
  469. package/dist/solutions-components/p-7ded7b2e.js +36 -0
  470. package/dist/solutions-components/p-80033583.entry.js +6 -0
  471. package/dist/solutions-components/p-8384ba17.entry.js +6 -0
  472. package/dist/solutions-components/p-893d8e26.entry.js +6 -0
  473. package/dist/solutions-components/p-905a911c.entry.js +6 -0
  474. package/dist/solutions-components/p-94aca64c.entry.js +6 -0
  475. package/dist/solutions-components/p-957a880f.entry.js +6 -0
  476. package/dist/solutions-components/p-9775f9d7.entry.js +6 -0
  477. package/dist/solutions-components/p-9b741908.entry.js +11 -0
  478. package/dist/solutions-components/p-9c4ea2e2.entry.js +6 -0
  479. package/dist/solutions-components/p-a0f4c730.entry.js +6 -0
  480. package/dist/solutions-components/p-a5bfdb73.entry.js +6 -0
  481. package/dist/solutions-components/p-a650b356.entry.js +6 -0
  482. package/dist/solutions-components/p-a725bcdf.entry.js +6 -0
  483. package/dist/solutions-components/p-abe9c0de.entry.js +6 -0
  484. package/dist/solutions-components/p-af355bbd.entry.js +6 -0
  485. package/dist/solutions-components/p-b266dcf6.entry.js +6 -0
  486. package/dist/solutions-components/p-b7a6512b.js +6 -0
  487. package/dist/solutions-components/p-b9fc59da.js +6 -0
  488. package/dist/solutions-components/p-be144ed5.entry.js +6 -0
  489. package/dist/solutions-components/p-c1ec9613.entry.js +6 -0
  490. package/dist/solutions-components/p-c3107e95.entry.js +6 -0
  491. package/dist/solutions-components/p-c34857fe.js +129 -0
  492. package/dist/solutions-components/p-c3eae9ba.js +7 -0
  493. package/dist/solutions-components/p-c60990bf.entry.js +6 -0
  494. package/dist/solutions-components/p-c65ff1a0.entry.js +21 -0
  495. package/dist/solutions-components/p-c97d6d8a.entry.js +6 -0
  496. package/dist/solutions-components/p-c987cdf2.entry.js +6 -0
  497. package/dist/solutions-components/p-ddd731d3.entry.js +6 -0
  498. package/dist/solutions-components/p-f053236e.entry.js +6 -0
  499. package/dist/solutions-components/p-f08084fb.entry.js +21 -0
  500. package/dist/solutions-components/p-fb75e187.js +6 -0
  501. package/dist/solutions-components/solutions-components.esm.js +1 -1
  502. package/dist/solutions-components/vendor/calcite-components/24P6DEQH.js +4 -0
  503. package/dist/solutions-components/vendor/calcite-components/2AVRQATR.js +4 -0
  504. package/dist/solutions-components/vendor/calcite-components/2CTO4WXV.js +4 -0
  505. package/dist/solutions-components/vendor/calcite-components/2I33XQO3.js +4 -0
  506. package/dist/solutions-components/vendor/calcite-components/2VMQ4ZHH.js +4 -0
  507. package/dist/solutions-components/vendor/calcite-components/2XGOJ2TK.js +4 -0
  508. package/dist/solutions-components/vendor/calcite-components/2Z6KCCXZ.js +4 -0
  509. package/dist/solutions-components/vendor/calcite-components/36GZKNTR.js +4 -0
  510. package/dist/solutions-components/vendor/calcite-components/3APPCCCZ.js +4 -0
  511. package/dist/solutions-components/vendor/calcite-components/3AWHEFUT.js +4 -0
  512. package/dist/solutions-components/vendor/calcite-components/3NZA5FPC.js +4 -0
  513. package/dist/solutions-components/vendor/calcite-components/4CJKDY6O.js +4 -0
  514. package/dist/solutions-components/vendor/calcite-components/4CN4DMSY.js +4 -0
  515. package/dist/solutions-components/vendor/calcite-components/4D6XNDXD.js +4 -0
  516. package/dist/solutions-components/vendor/calcite-components/4GH4R7AR.js +4 -0
  517. package/dist/solutions-components/vendor/calcite-components/4NZ22FMP.js +4 -0
  518. package/dist/solutions-components/vendor/calcite-components/4TW23CN7.js +4 -0
  519. package/dist/solutions-components/vendor/calcite-components/4W55CXIJ.js +4 -0
  520. package/dist/solutions-components/vendor/calcite-components/4YCDJ4BL.js +4 -0
  521. package/dist/solutions-components/vendor/calcite-components/57KYZCIP.js +4 -0
  522. package/dist/solutions-components/vendor/calcite-components/5DTLNTCL.js +4 -0
  523. package/dist/solutions-components/vendor/calcite-components/5E4NPYBD.js +4 -0
  524. package/dist/solutions-components/vendor/calcite-components/5E6WFGQD.js +4 -0
  525. package/dist/solutions-components/vendor/calcite-components/5TU2CNVP.js +4 -0
  526. package/dist/solutions-components/vendor/calcite-components/5U35BULS.js +4 -0
  527. package/dist/solutions-components/vendor/calcite-components/5WIIOMNV.js +6 -0
  528. package/dist/solutions-components/vendor/calcite-components/62UA4F4S.js +4 -0
  529. package/dist/solutions-components/vendor/calcite-components/62VYJEUG.js +4 -0
  530. package/dist/solutions-components/vendor/calcite-components/65NO3JUC.js +4 -0
  531. package/dist/solutions-components/vendor/calcite-components/6GZCW3B4.js +4 -0
  532. package/dist/solutions-components/vendor/calcite-components/6LJIPAYF.js +4 -0
  533. package/dist/solutions-components/vendor/calcite-components/6LTFSVKG.js +4 -0
  534. package/dist/solutions-components/vendor/calcite-components/6QDWHJ5K.js +4 -0
  535. package/dist/solutions-components/vendor/calcite-components/6U6YH5MS.js +4 -0
  536. package/dist/solutions-components/vendor/calcite-components/6VFJT5QA.js +4 -0
  537. package/dist/solutions-components/vendor/calcite-components/6Y4OKAGD.js +4 -0
  538. package/dist/solutions-components/vendor/calcite-components/74SSYUHC.js +5 -0
  539. package/dist/solutions-components/vendor/calcite-components/75GQA36Q.js +4 -0
  540. package/dist/solutions-components/vendor/calcite-components/7AD7VKZ6.js +4 -0
  541. package/dist/solutions-components/vendor/calcite-components/7MGQRD7Z.js +4 -0
  542. package/dist/solutions-components/vendor/calcite-components/7Q4LBBRD.js +4 -0
  543. package/dist/solutions-components/vendor/calcite-components/7YRITLGU.js +4 -0
  544. package/dist/solutions-components/vendor/calcite-components/A43TKJ6J.js +4 -0
  545. package/dist/solutions-components/vendor/calcite-components/A4LOL6RT.js +4 -0
  546. package/dist/solutions-components/vendor/calcite-components/A6LI6WSB.js +4 -0
  547. package/dist/solutions-components/vendor/calcite-components/AD27WW7R.js +4 -0
  548. package/dist/solutions-components/vendor/calcite-components/AHU7FP65.js +4 -0
  549. package/dist/solutions-components/vendor/calcite-components/AI3NCYN4.js +4 -0
  550. package/dist/solutions-components/vendor/calcite-components/AU24EMIU.js +4 -0
  551. package/dist/solutions-components/vendor/calcite-components/AZ2MVQY2.js +4 -0
  552. package/dist/solutions-components/vendor/calcite-components/BNWN4RE2.js +4 -0
  553. package/dist/solutions-components/vendor/calcite-components/BQHDLRDE.js +4 -0
  554. package/dist/solutions-components/vendor/calcite-components/BYJ6CJMV.js +4 -0
  555. package/dist/solutions-components/vendor/calcite-components/C456ACXC.js +4 -0
  556. package/dist/solutions-components/vendor/calcite-components/CFACWEH3.js +4 -0
  557. package/dist/solutions-components/vendor/calcite-components/CZ6YBXDI.js +4 -0
  558. package/dist/solutions-components/vendor/calcite-components/D2IBWEZJ.js +4 -0
  559. package/dist/solutions-components/vendor/calcite-components/D5V7QPEQ.js +4 -0
  560. package/dist/solutions-components/vendor/calcite-components/DV72VFBR.js +4 -0
  561. package/dist/solutions-components/vendor/calcite-components/DXTGGP6F.js +4 -0
  562. package/dist/solutions-components/vendor/calcite-components/DYX3VYAF.js +4 -0
  563. package/dist/solutions-components/vendor/calcite-components/E4INVUQF.js +4 -0
  564. package/dist/solutions-components/vendor/calcite-components/EC76JAWC.js +4 -0
  565. package/dist/solutions-components/vendor/calcite-components/EFBSBD4Q.js +4 -0
  566. package/dist/solutions-components/vendor/calcite-components/EGQT3WAL.js +4 -0
  567. package/dist/solutions-components/vendor/calcite-components/ELLEOMPV.js +4 -0
  568. package/dist/solutions-components/vendor/calcite-components/EQL77WNN.js +4 -0
  569. package/dist/solutions-components/vendor/calcite-components/EREAGDHN.js +4 -0
  570. package/dist/solutions-components/vendor/calcite-components/ETCKBCGT.js +4 -0
  571. package/dist/solutions-components/vendor/calcite-components/F3MFWM7N.js +4 -0
  572. package/dist/solutions-components/vendor/calcite-components/F57BIANZ.js +4 -0
  573. package/dist/solutions-components/vendor/calcite-components/FLGYQACS.js +4 -0
  574. package/dist/solutions-components/vendor/calcite-components/FVKXG7IX.js +4 -0
  575. package/dist/solutions-components/vendor/calcite-components/FX4E46UA.js +4 -0
  576. package/dist/solutions-components/vendor/calcite-components/FXMO4NFQ.js +4 -0
  577. package/dist/solutions-components/vendor/calcite-components/G377AV4F.js +4 -0
  578. package/dist/solutions-components/vendor/calcite-components/G4UFYIPU.js +4 -0
  579. package/dist/solutions-components/vendor/calcite-components/G5GEKU4E.js +4 -0
  580. package/dist/solutions-components/vendor/calcite-components/GEIJQLU7.js +4 -0
  581. package/dist/solutions-components/vendor/calcite-components/GI3XXRNT.js +4 -0
  582. package/dist/solutions-components/vendor/calcite-components/GQMODQ6D.js +4 -0
  583. package/dist/solutions-components/vendor/calcite-components/GSVJHXH2.js +4 -0
  584. package/dist/solutions-components/vendor/calcite-components/GUMVKQTR.js +4 -0
  585. package/dist/solutions-components/vendor/calcite-components/GVOEPDQC.js +4 -0
  586. package/dist/solutions-components/vendor/calcite-components/GWWXB6FV.js +4 -0
  587. package/dist/solutions-components/vendor/calcite-components/GYOK6DI7.js +4 -0
  588. package/dist/solutions-components/vendor/calcite-components/HDAL3OW2.js +4 -0
  589. package/dist/solutions-components/vendor/calcite-components/HIP3N6DH.js +4 -0
  590. package/dist/solutions-components/vendor/calcite-components/HLGSDCWJ.js +4 -0
  591. package/dist/solutions-components/vendor/calcite-components/HPFASJXB.js +4 -0
  592. package/dist/solutions-components/vendor/calcite-components/HPY2G26P.js +4 -0
  593. package/dist/solutions-components/vendor/calcite-components/HYWMTX3X.js +4 -0
  594. package/dist/solutions-components/vendor/calcite-components/HZGIYOHQ.js +4 -0
  595. package/dist/solutions-components/vendor/calcite-components/HZWEQZY7.js +4 -0
  596. package/dist/solutions-components/vendor/calcite-components/I3PTWPIY.js +4 -0
  597. package/dist/solutions-components/vendor/calcite-components/I4CET6OW.js +5 -0
  598. package/dist/solutions-components/vendor/calcite-components/I4G6P727.js +4 -0
  599. package/dist/solutions-components/vendor/calcite-components/I6YTTPYR.js +4 -0
  600. package/dist/solutions-components/vendor/calcite-components/IG7V543A.js +4 -0
  601. package/dist/solutions-components/vendor/calcite-components/IGJ6NR2R.js +4 -0
  602. package/dist/solutions-components/vendor/calcite-components/IMHYTFTU.js +4 -0
  603. package/dist/solutions-components/vendor/calcite-components/IN5OHY5V.js +4 -0
  604. package/dist/solutions-components/vendor/calcite-components/IPMCFXXP.js +4 -0
  605. package/dist/solutions-components/vendor/calcite-components/IWHKNQVC.js +4 -0
  606. package/dist/solutions-components/vendor/calcite-components/IXRENB6A.js +4 -0
  607. package/dist/solutions-components/vendor/calcite-components/J6LILHDF.js +4 -0
  608. package/dist/solutions-components/vendor/calcite-components/JADXGLI3.js +4 -0
  609. package/dist/solutions-components/vendor/calcite-components/JLXVLF74.js +4 -0
  610. package/dist/solutions-components/vendor/calcite-components/JWVCWXY6.js +4 -0
  611. package/dist/solutions-components/vendor/calcite-components/K3474HB5.js +4 -0
  612. package/dist/solutions-components/vendor/calcite-components/K43H5XTK.js +4 -0
  613. package/dist/solutions-components/vendor/calcite-components/KEKOJLYV.js +4 -0
  614. package/dist/solutions-components/vendor/calcite-components/KEXGE4NJ.js +4 -0
  615. package/dist/solutions-components/vendor/calcite-components/KK3Z3W4I.js +4 -0
  616. package/dist/solutions-components/vendor/calcite-components/KS4B6LK4.js +4 -0
  617. package/dist/solutions-components/vendor/calcite-components/KUAZDOO6.js +4 -0
  618. package/dist/solutions-components/vendor/calcite-components/KUGH3USL.js +4 -0
  619. package/dist/solutions-components/vendor/calcite-components/KZL3CPTV.js +5 -0
  620. package/dist/solutions-components/vendor/calcite-components/L3P7IWQ6.js +4 -0
  621. package/dist/solutions-components/vendor/calcite-components/L5FEKBXU.js +5 -0
  622. package/dist/solutions-components/vendor/calcite-components/L7UUJ325.js +4 -0
  623. package/dist/solutions-components/vendor/calcite-components/LF6Z3CUU.js +4 -0
  624. package/dist/solutions-components/vendor/calcite-components/LIPHS6R3.js +4 -0
  625. package/dist/solutions-components/vendor/calcite-components/LNMOXDYH.js +4 -0
  626. package/dist/solutions-components/vendor/calcite-components/LNX6IEUD.js +4 -0
  627. package/dist/solutions-components/vendor/calcite-components/LSGKUJVV.js +4 -0
  628. package/dist/solutions-components/vendor/calcite-components/LXOXPZWA.js +4 -0
  629. package/dist/solutions-components/vendor/calcite-components/LYIEETRB.js +4 -0
  630. package/dist/solutions-components/vendor/calcite-components/M5B5XMQA.js +28 -0
  631. package/dist/solutions-components/vendor/calcite-components/M6TFTMFD.js +4 -0
  632. package/dist/solutions-components/vendor/calcite-components/MO24RCUT.js +4 -0
  633. package/dist/solutions-components/vendor/calcite-components/MOTR6ZPN.js +4 -0
  634. package/dist/solutions-components/vendor/calcite-components/MPZIFQAA.js +4 -0
  635. package/dist/solutions-components/vendor/calcite-components/MSERO633.js +4 -0
  636. package/dist/solutions-components/vendor/calcite-components/N2ACZZPH.js +4 -0
  637. package/dist/solutions-components/vendor/calcite-components/N2QB6H74.js +4 -0
  638. package/dist/solutions-components/vendor/calcite-components/N6UWSSGW.js +4 -0
  639. package/dist/solutions-components/vendor/calcite-components/NALQXSWX.js +4 -0
  640. package/dist/solutions-components/vendor/calcite-components/NCKQSORU.js +4 -0
  641. package/dist/solutions-components/vendor/calcite-components/NFGDGOX2.js +4 -0
  642. package/dist/solutions-components/vendor/calcite-components/NJDS6SVP.js +4 -0
  643. package/dist/solutions-components/vendor/calcite-components/NN7IWJQ4.js +4 -0
  644. package/dist/solutions-components/vendor/calcite-components/NSI34PAP.js +4 -0
  645. package/dist/solutions-components/vendor/calcite-components/O42B2Q4F.js +4 -0
  646. package/dist/solutions-components/vendor/calcite-components/OGF5TUWN.js +4 -0
  647. package/dist/solutions-components/vendor/calcite-components/OJCYBIGG.js +4 -0
  648. package/dist/solutions-components/vendor/calcite-components/OOY2MGXQ.js +4 -0
  649. package/dist/solutions-components/vendor/calcite-components/OQW7QIRH.js +4 -0
  650. package/dist/solutions-components/vendor/calcite-components/OTCDMLUC.js +4 -0
  651. package/dist/solutions-components/vendor/calcite-components/OZVEH4B5.js +4 -0
  652. package/dist/solutions-components/vendor/calcite-components/P7HTSDH2.js +22 -0
  653. package/dist/solutions-components/vendor/calcite-components/PLA7W3AT.js +4 -0
  654. package/dist/solutions-components/vendor/calcite-components/PLXESTWV.js +4 -0
  655. package/dist/solutions-components/vendor/calcite-components/PMITL6IC.js +4 -0
  656. package/dist/solutions-components/vendor/calcite-components/PQBKOUKQ.js +4 -0
  657. package/dist/solutions-components/vendor/calcite-components/PWUMIRZ6.js +4 -0
  658. package/dist/solutions-components/vendor/calcite-components/Q5J2S3VY.js +4 -0
  659. package/dist/solutions-components/vendor/calcite-components/QCZULBWY.js +4 -0
  660. package/dist/solutions-components/vendor/calcite-components/QG6HHELM.js +4 -0
  661. package/dist/solutions-components/vendor/calcite-components/QO3T2U37.js +4 -0
  662. package/dist/solutions-components/vendor/calcite-components/QUDJ3N3N.js +4 -0
  663. package/dist/solutions-components/vendor/calcite-components/QZIFYSUW.js +4 -0
  664. package/dist/solutions-components/vendor/calcite-components/RBW3635P.js +4 -0
  665. package/dist/solutions-components/vendor/calcite-components/RHRLZ43T.js +4 -0
  666. package/dist/solutions-components/vendor/calcite-components/ROGH35KN.js +4 -0
  667. package/dist/solutions-components/vendor/calcite-components/RU7EMDYD.js +4 -0
  668. package/dist/solutions-components/vendor/calcite-components/RYTO443L.js +4 -0
  669. package/dist/solutions-components/vendor/calcite-components/SA6NHSUC.js +4 -0
  670. package/dist/solutions-components/vendor/calcite-components/SGUU7WHF.js +4 -0
  671. package/dist/solutions-components/vendor/calcite-components/SHC4YDKE.js +4 -0
  672. package/dist/solutions-components/vendor/calcite-components/T2ALVZYL.js +4 -0
  673. package/dist/solutions-components/vendor/calcite-components/T3SQ25MS.js +4 -0
  674. package/dist/solutions-components/vendor/calcite-components/TAD74E6K.js +4 -0
  675. package/dist/solutions-components/vendor/calcite-components/TKUCTGZQ.js +4 -0
  676. package/dist/solutions-components/vendor/calcite-components/TNN7X24K.js +4 -0
  677. package/dist/solutions-components/vendor/calcite-components/TVLD3AOO.js +4 -0
  678. package/dist/solutions-components/vendor/calcite-components/U6YW2HHD.js +4 -0
  679. package/dist/solutions-components/vendor/calcite-components/UIF5EHAA.js +4 -0
  680. package/dist/solutions-components/vendor/calcite-components/UPPZPSLX.js +4 -0
  681. package/dist/solutions-components/vendor/calcite-components/UPVIMVOR.js +4 -0
  682. package/dist/solutions-components/vendor/calcite-components/V56SP7RX.js +4 -0
  683. package/dist/solutions-components/vendor/calcite-components/V6MKTTBQ.js +4 -0
  684. package/dist/solutions-components/vendor/calcite-components/V7HGGFTI.js +4 -0
  685. package/dist/solutions-components/vendor/calcite-components/V7JMIX7A.js +4 -0
  686. package/dist/solutions-components/vendor/calcite-components/VALEMC46.js +4 -0
  687. package/dist/solutions-components/vendor/calcite-components/VF6LK743.js +4 -0
  688. package/dist/solutions-components/vendor/calcite-components/VICC3NDD.js +4 -0
  689. package/dist/solutions-components/vendor/calcite-components/VP7NXOWD.js +4 -0
  690. package/dist/solutions-components/vendor/calcite-components/VQDN7OO3.js +4 -0
  691. package/dist/solutions-components/vendor/calcite-components/VRHJ5OK7.js +4 -0
  692. package/dist/solutions-components/vendor/calcite-components/VSJGDSNK.js +4 -0
  693. package/dist/solutions-components/vendor/calcite-components/VTNRWHPJ.js +4 -0
  694. package/dist/solutions-components/vendor/calcite-components/VWRFMVFO.js +4 -0
  695. package/dist/solutions-components/vendor/calcite-components/VYNHH43V.js +4 -0
  696. package/dist/solutions-components/vendor/calcite-components/VZCTXPAB.js +4 -0
  697. package/dist/solutions-components/vendor/calcite-components/W2PJHNUO.js +4 -0
  698. package/dist/solutions-components/vendor/calcite-components/WGOS6SLC.js +4 -0
  699. package/dist/solutions-components/vendor/calcite-components/WI77ICVL.js +4 -0
  700. package/dist/solutions-components/vendor/calcite-components/WIMUFNVO.js +4 -0
  701. package/dist/solutions-components/vendor/calcite-components/WKIE22JL.js +4 -0
  702. package/dist/solutions-components/vendor/calcite-components/WL55EYBZ.js +4 -0
  703. package/dist/solutions-components/vendor/calcite-components/WNKEORGU.js +4 -0
  704. package/dist/solutions-components/vendor/calcite-components/WR2VE6JZ.js +4 -0
  705. package/dist/solutions-components/vendor/calcite-components/XF5JMHOK.js +4 -0
  706. package/dist/solutions-components/vendor/calcite-components/XIZD6JFU.js +4 -0
  707. package/dist/solutions-components/vendor/calcite-components/XKHOO62D.js +4 -0
  708. package/dist/solutions-components/vendor/calcite-components/XV33QQSP.js +4 -0
  709. package/dist/solutions-components/vendor/calcite-components/XXCPMHQI.js +4 -0
  710. package/dist/solutions-components/vendor/calcite-components/XYEB5PRT.js +4 -0
  711. package/dist/solutions-components/vendor/calcite-components/Y3HCVBC6.js +4 -0
  712. package/dist/solutions-components/vendor/calcite-components/Y7BXR2VY.js +4 -0
  713. package/dist/solutions-components/vendor/calcite-components/YDUPLCIG.js +4 -0
  714. package/dist/solutions-components/vendor/calcite-components/YOV6OIH2.js +4 -0
  715. package/dist/solutions-components/vendor/calcite-components/YPEU6VCU.js +4 -0
  716. package/dist/solutions-components/vendor/calcite-components/YUVCAMVK.js +4 -0
  717. package/dist/solutions-components/vendor/calcite-components/YWAPFYEJ.js +4 -0
  718. package/dist/solutions-components/vendor/calcite-components/YZIMMUUW.js +4 -0
  719. package/dist/solutions-components/vendor/calcite-components/Z2FJJLZ3.js +4 -0
  720. package/dist/solutions-components/vendor/calcite-components/ZQ6GYGGS.js +4 -0
  721. package/dist/solutions-components/vendor/calcite-components/ZQG72P7P.js +4 -0
  722. package/dist/solutions-components/vendor/calcite-components/ZROM77D7.js +4 -0
  723. package/dist/solutions-components/vendor/calcite-components/ZWBJOZZD.js +4 -0
  724. package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
  725. package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
  726. package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
  727. package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
  728. package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
  729. package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
  730. package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +4 -6
  731. package/dist/solutions-components_commit.txt +4 -7
  732. package/package.json +10 -10
  733. package/dist/cjs/downloadUtils-9ce90176.js +0 -3223
  734. package/dist/cjs/helpers-6a222aa7.js +0 -867
  735. package/dist/cjs/index-af14245a.js +0 -1828
  736. package/dist/cjs/index-ffd12cb0.js +0 -201
  737. package/dist/cjs/locale-1c60be9c.js +0 -160
  738. package/dist/cjs/locale-2dd3020a.js +0 -943
  739. package/dist/cjs/popupUtils-93b14f86.js +0 -121
  740. package/dist/cjs/publicNotificationStore-beb782de.js +0 -47
  741. package/dist/cjs/solution-store-3cf25b71.js +0 -1105
  742. package/dist/cjs/utils-53383d03.js +0 -153
  743. package/dist/collection/vendor/calcite-components/2OHLWTVV.js +0 -6
  744. package/dist/collection/vendor/calcite-components/2YNPAPXX.js +0 -6
  745. package/dist/collection/vendor/calcite-components/3MV46GBB.js +0 -6
  746. package/dist/collection/vendor/calcite-components/3OQ2ZMWE.js +0 -6
  747. package/dist/collection/vendor/calcite-components/3VYZVKRG.js +0 -6
  748. package/dist/collection/vendor/calcite-components/3YAQ3WXL.js +0 -6
  749. package/dist/collection/vendor/calcite-components/3YMYDWGD.js +0 -6
  750. package/dist/collection/vendor/calcite-components/4BBHRHVO.js +0 -6
  751. package/dist/collection/vendor/calcite-components/4Y32YCMF.js +0 -6
  752. package/dist/collection/vendor/calcite-components/52M672S5.js +0 -6
  753. package/dist/collection/vendor/calcite-components/5DHYCNO3.js +0 -6
  754. package/dist/collection/vendor/calcite-components/5MCURGUM.js +0 -6
  755. package/dist/collection/vendor/calcite-components/5O6ZNC7G.js +0 -6
  756. package/dist/collection/vendor/calcite-components/5RROROO5.js +0 -6
  757. package/dist/collection/vendor/calcite-components/5WC57GPQ.js +0 -6
  758. package/dist/collection/vendor/calcite-components/5WSY45L7.js +0 -6
  759. package/dist/collection/vendor/calcite-components/5XKYFEBC.js +0 -6
  760. package/dist/collection/vendor/calcite-components/66KPC4YV.js +0 -6
  761. package/dist/collection/vendor/calcite-components/67MILQAM.js +0 -6
  762. package/dist/collection/vendor/calcite-components/67YJME3J.js +0 -7
  763. package/dist/collection/vendor/calcite-components/6BG6DXGU.js +0 -6
  764. package/dist/collection/vendor/calcite-components/6J7J7RFI.js +0 -6
  765. package/dist/collection/vendor/calcite-components/6KJHPKLM.js +0 -6
  766. package/dist/collection/vendor/calcite-components/6LBWQVLS.js +0 -6
  767. package/dist/collection/vendor/calcite-components/6LOB5NKS.js +0 -6
  768. package/dist/collection/vendor/calcite-components/74AHNYT6.js +0 -6
  769. package/dist/collection/vendor/calcite-components/75LS6AUK.js +0 -6
  770. package/dist/collection/vendor/calcite-components/7AC4OZRT.js +0 -6
  771. package/dist/collection/vendor/calcite-components/7CTQOYNN.js +0 -6
  772. package/dist/collection/vendor/calcite-components/7IMTQM3A.js +0 -6
  773. package/dist/collection/vendor/calcite-components/7NNFVP5Y.js +0 -6
  774. package/dist/collection/vendor/calcite-components/7PLH76D5.js +0 -6
  775. package/dist/collection/vendor/calcite-components/7SRUH72U.js +0 -6
  776. package/dist/collection/vendor/calcite-components/7WIMMB52.js +0 -6
  777. package/dist/collection/vendor/calcite-components/A3TZO3T4.js +0 -6
  778. package/dist/collection/vendor/calcite-components/A4JSLISH.js +0 -7
  779. package/dist/collection/vendor/calcite-components/A77L2PAE.js +0 -6
  780. package/dist/collection/vendor/calcite-components/AAJZVCOQ.js +0 -6
  781. package/dist/collection/vendor/calcite-components/AK7JTREX.js +0 -6
  782. package/dist/collection/vendor/calcite-components/APJDJGRX.js +0 -6
  783. package/dist/collection/vendor/calcite-components/B7XAXKYO.js +0 -6
  784. package/dist/collection/vendor/calcite-components/B7YRQCNE.js +0 -6
  785. package/dist/collection/vendor/calcite-components/BAAOO7UE.js +0 -6
  786. package/dist/collection/vendor/calcite-components/BKJX2UVI.js +0 -6
  787. package/dist/collection/vendor/calcite-components/BMTT77MQ.js +0 -6
  788. package/dist/collection/vendor/calcite-components/BMULWGQL.js +0 -6
  789. package/dist/collection/vendor/calcite-components/BOOD43TE.js +0 -6
  790. package/dist/collection/vendor/calcite-components/BT6BGDUQ.js +0 -6
  791. package/dist/collection/vendor/calcite-components/C4BI2I6X.js +0 -6
  792. package/dist/collection/vendor/calcite-components/CARSEP6Y.js +0 -6
  793. package/dist/collection/vendor/calcite-components/CARUWMRC.js +0 -6
  794. package/dist/collection/vendor/calcite-components/CGP5NAVZ.js +0 -6
  795. package/dist/collection/vendor/calcite-components/CHPU2ORW.js +0 -6
  796. package/dist/collection/vendor/calcite-components/CKCZ6NNQ.js +0 -6
  797. package/dist/collection/vendor/calcite-components/CLWQ573O.js +0 -6
  798. package/dist/collection/vendor/calcite-components/COVTDEEB.js +0 -6
  799. package/dist/collection/vendor/calcite-components/CSDMYGZU.js +0 -6
  800. package/dist/collection/vendor/calcite-components/CSR5Q44Q.js +0 -6
  801. package/dist/collection/vendor/calcite-components/CWDZ4NQP.js +0 -6
  802. package/dist/collection/vendor/calcite-components/D7V3NS2J.js +0 -6
  803. package/dist/collection/vendor/calcite-components/DHITRFFR.js +0 -6
  804. package/dist/collection/vendor/calcite-components/DL6GCZF7.js +0 -6
  805. package/dist/collection/vendor/calcite-components/DPLQUB7Z.js +0 -6
  806. package/dist/collection/vendor/calcite-components/DQWJPC22.js +0 -6
  807. package/dist/collection/vendor/calcite-components/DRM7BNH3.js +0 -6
  808. package/dist/collection/vendor/calcite-components/DWIP44NC.js +0 -6
  809. package/dist/collection/vendor/calcite-components/E3RER5S3.js +0 -6
  810. package/dist/collection/vendor/calcite-components/ECWNOIEW.js +0 -6
  811. package/dist/collection/vendor/calcite-components/EPKORG4B.js +0 -6
  812. package/dist/collection/vendor/calcite-components/ERE76CER.js +0 -6
  813. package/dist/collection/vendor/calcite-components/EU5GIDX7.js +0 -6
  814. package/dist/collection/vendor/calcite-components/FB6NATRQ.js +0 -6
  815. package/dist/collection/vendor/calcite-components/FHAIE7PW.js +0 -6
  816. package/dist/collection/vendor/calcite-components/FITCS5RA.js +0 -6
  817. package/dist/collection/vendor/calcite-components/FJUGYL5W.js +0 -6
  818. package/dist/collection/vendor/calcite-components/FP5CKCOM.js +0 -6
  819. package/dist/collection/vendor/calcite-components/FQ6G6HKC.js +0 -6
  820. package/dist/collection/vendor/calcite-components/FQTOWUOI.js +0 -6
  821. package/dist/collection/vendor/calcite-components/FSBJYIK7.js +0 -6
  822. package/dist/collection/vendor/calcite-components/FUR5QRYV.js +0 -6
  823. package/dist/collection/vendor/calcite-components/FV5F4TOB.js +0 -30
  824. package/dist/collection/vendor/calcite-components/GHRW2Z4J.js +0 -6
  825. package/dist/collection/vendor/calcite-components/GKLGNYAX.js +0 -6
  826. package/dist/collection/vendor/calcite-components/GRGOLBJ6.js +0 -6
  827. package/dist/collection/vendor/calcite-components/H2QNORW6.js +0 -6
  828. package/dist/collection/vendor/calcite-components/H6JENZS2.js +0 -6
  829. package/dist/collection/vendor/calcite-components/HE6ZJBOG.js +0 -6
  830. package/dist/collection/vendor/calcite-components/HEYQRNVV.js +0 -6
  831. package/dist/collection/vendor/calcite-components/HJ7LTJIL.js +0 -6
  832. package/dist/collection/vendor/calcite-components/HUXUCABV.js +0 -6
  833. package/dist/collection/vendor/calcite-components/HVG3FNW6.js +0 -6
  834. package/dist/collection/vendor/calcite-components/I5RDDH5E.js +0 -6
  835. package/dist/collection/vendor/calcite-components/IGLINVEB.js +0 -6
  836. package/dist/collection/vendor/calcite-components/IH6XHUKC.js +0 -6
  837. package/dist/collection/vendor/calcite-components/IN4OTIGO.js +0 -6
  838. package/dist/collection/vendor/calcite-components/IOQ5NGFA.js +0 -6
  839. package/dist/collection/vendor/calcite-components/ITIJ42U7.js +0 -6
  840. package/dist/collection/vendor/calcite-components/ITILALYC.js +0 -6
  841. package/dist/collection/vendor/calcite-components/J3NSY2Y7.js +0 -6
  842. package/dist/collection/vendor/calcite-components/J4RAJYKF.js +0 -6
  843. package/dist/collection/vendor/calcite-components/J6IGXQYQ.js +0 -6
  844. package/dist/collection/vendor/calcite-components/JA2ML5I6.js +0 -6
  845. package/dist/collection/vendor/calcite-components/JOTIQZAS.js +0 -6
  846. package/dist/collection/vendor/calcite-components/JULIKI65.js +0 -6
  847. package/dist/collection/vendor/calcite-components/JW6QBCWN.js +0 -6
  848. package/dist/collection/vendor/calcite-components/JWIQZFGO.js +0 -6
  849. package/dist/collection/vendor/calcite-components/K4HQ6WGE.js +0 -6
  850. package/dist/collection/vendor/calcite-components/K4OPLD7F.js +0 -6
  851. package/dist/collection/vendor/calcite-components/KHULIKKP.js +0 -7
  852. package/dist/collection/vendor/calcite-components/KRZMNBJS.js +0 -6
  853. package/dist/collection/vendor/calcite-components/LDAXCWWP.js +0 -6
  854. package/dist/collection/vendor/calcite-components/LMRFYM2J.js +0 -6
  855. package/dist/collection/vendor/calcite-components/LSUXEOMN.js +0 -6
  856. package/dist/collection/vendor/calcite-components/M5BOCCQL.js +0 -6
  857. package/dist/collection/vendor/calcite-components/M5XI6NNV.js +0 -6
  858. package/dist/collection/vendor/calcite-components/M7MOBM7M.js +0 -6
  859. package/dist/collection/vendor/calcite-components/MA2YIQZL.js +0 -6
  860. package/dist/collection/vendor/calcite-components/MBJAGWVS.js +0 -6
  861. package/dist/collection/vendor/calcite-components/MI3BWAKN.js +0 -6
  862. package/dist/collection/vendor/calcite-components/MOO4BCRV.js +0 -6
  863. package/dist/collection/vendor/calcite-components/MVHJMI6L.js +0 -6
  864. package/dist/collection/vendor/calcite-components/MZRLL3GR.js +0 -6
  865. package/dist/collection/vendor/calcite-components/N2FZGLE3.js +0 -6
  866. package/dist/collection/vendor/calcite-components/N2UM5A2L.js +0 -6
  867. package/dist/collection/vendor/calcite-components/NNL2N4OB.js +0 -6
  868. package/dist/collection/vendor/calcite-components/NP3SY2AL.js +0 -6
  869. package/dist/collection/vendor/calcite-components/NPYZ3JS7.js +0 -6
  870. package/dist/collection/vendor/calcite-components/NS47CSEP.js +0 -6
  871. package/dist/collection/vendor/calcite-components/NSL6XZ2B.js +0 -6
  872. package/dist/collection/vendor/calcite-components/NW4BVBVD.js +0 -6
  873. package/dist/collection/vendor/calcite-components/O66NAEPJ.js +0 -6
  874. package/dist/collection/vendor/calcite-components/OA55VNGP.js +0 -6
  875. package/dist/collection/vendor/calcite-components/OHEBCS4O.js +0 -6
  876. package/dist/collection/vendor/calcite-components/OI755RA3.js +0 -6
  877. package/dist/collection/vendor/calcite-components/OUC47AKY.js +0 -6
  878. package/dist/collection/vendor/calcite-components/PIOS7EUM.js +0 -6
  879. package/dist/collection/vendor/calcite-components/PJPFKU6T.js +0 -6
  880. package/dist/collection/vendor/calcite-components/PJT7DMRY.js +0 -6
  881. package/dist/collection/vendor/calcite-components/QDTRI7C7.js +0 -6
  882. package/dist/collection/vendor/calcite-components/QIG2J5PE.js +0 -6
  883. package/dist/collection/vendor/calcite-components/QO6KDHE7.js +0 -6
  884. package/dist/collection/vendor/calcite-components/QP3WP6XK.js +0 -6
  885. package/dist/collection/vendor/calcite-components/QRMUPTEN.js +0 -6
  886. package/dist/collection/vendor/calcite-components/QS2H5WWV.js +0 -7
  887. package/dist/collection/vendor/calcite-components/QSXIXUQG.js +0 -6
  888. package/dist/collection/vendor/calcite-components/R4UWD64I.js +0 -6
  889. package/dist/collection/vendor/calcite-components/R6R2QDCZ.js +0 -6
  890. package/dist/collection/vendor/calcite-components/R7BOWUQR.js +0 -6
  891. package/dist/collection/vendor/calcite-components/RBX4II3R.js +0 -6
  892. package/dist/collection/vendor/calcite-components/RGXKBYDS.js +0 -6
  893. package/dist/collection/vendor/calcite-components/RIG4ZWVJ.js +0 -6
  894. package/dist/collection/vendor/calcite-components/RM7DO3WC.js +0 -6
  895. package/dist/collection/vendor/calcite-components/RM7JYDOG.js +0 -6
  896. package/dist/collection/vendor/calcite-components/RS3QB5Z6.js +0 -6
  897. package/dist/collection/vendor/calcite-components/RTNOQY3F.js +0 -6
  898. package/dist/collection/vendor/calcite-components/RXFQEBLZ.js +0 -6
  899. package/dist/collection/vendor/calcite-components/S72C3HDO.js +0 -6
  900. package/dist/collection/vendor/calcite-components/SCVHHYPP.js +0 -6
  901. package/dist/collection/vendor/calcite-components/SH3ZYF5Y.js +0 -6
  902. package/dist/collection/vendor/calcite-components/SLRX7WEV.js +0 -6
  903. package/dist/collection/vendor/calcite-components/SQBCUXGV.js +0 -6
  904. package/dist/collection/vendor/calcite-components/SUMUVN3S.js +0 -6
  905. package/dist/collection/vendor/calcite-components/SUOP4NP6.js +0 -6
  906. package/dist/collection/vendor/calcite-components/SV2NJMD7.js +0 -6
  907. package/dist/collection/vendor/calcite-components/T5H4BCFU.js +0 -6
  908. package/dist/collection/vendor/calcite-components/T5XJU6AI.js +0 -24
  909. package/dist/collection/vendor/calcite-components/T6NZYTYO.js +0 -6
  910. package/dist/collection/vendor/calcite-components/TEFAP3AK.js +0 -6
  911. package/dist/collection/vendor/calcite-components/TEGL7RHQ.js +0 -6
  912. package/dist/collection/vendor/calcite-components/TGH5IJQY.js +0 -6
  913. package/dist/collection/vendor/calcite-components/TGYJTTJS.js +0 -6
  914. package/dist/collection/vendor/calcite-components/TITRCHWJ.js +0 -6
  915. package/dist/collection/vendor/calcite-components/TRYKNJDA.js +0 -6
  916. package/dist/collection/vendor/calcite-components/TYYR7NIL.js +0 -8
  917. package/dist/collection/vendor/calcite-components/TZEZTECF.js +0 -6
  918. package/dist/collection/vendor/calcite-components/U2E5SVFR.js +0 -6
  919. package/dist/collection/vendor/calcite-components/U5VSHGIS.js +0 -6
  920. package/dist/collection/vendor/calcite-components/U64XMC5X.js +0 -6
  921. package/dist/collection/vendor/calcite-components/UK4SFYVV.js +0 -6
  922. package/dist/collection/vendor/calcite-components/UKF62PNM.js +0 -6
  923. package/dist/collection/vendor/calcite-components/UOL6J47W.js +0 -6
  924. package/dist/collection/vendor/calcite-components/UV7H22PE.js +0 -6
  925. package/dist/collection/vendor/calcite-components/UXOOSEIU.js +0 -6
  926. package/dist/collection/vendor/calcite-components/UXZ36VC5.js +0 -6
  927. package/dist/collection/vendor/calcite-components/UY67UAZN.js +0 -6
  928. package/dist/collection/vendor/calcite-components/VFBARPZ3.js +0 -6
  929. package/dist/collection/vendor/calcite-components/VGYCDODV.js +0 -6
  930. package/dist/collection/vendor/calcite-components/VHXHAFDO.js +0 -6
  931. package/dist/collection/vendor/calcite-components/VN2EAAQF.js +0 -6
  932. package/dist/collection/vendor/calcite-components/VOECRNMH.js +0 -6
  933. package/dist/collection/vendor/calcite-components/VQRNTTAX.js +0 -6
  934. package/dist/collection/vendor/calcite-components/VVXJONZL.js +0 -6
  935. package/dist/collection/vendor/calcite-components/W5CGAHOI.js +0 -6
  936. package/dist/collection/vendor/calcite-components/WA7LZURK.js +0 -6
  937. package/dist/collection/vendor/calcite-components/WAAS66H6.js +0 -6
  938. package/dist/collection/vendor/calcite-components/WAE55O4U.js +0 -6
  939. package/dist/collection/vendor/calcite-components/WAXI7XKE.js +0 -6
  940. package/dist/collection/vendor/calcite-components/WEFAANMG.js +0 -6
  941. package/dist/collection/vendor/calcite-components/WH772PDM.js +0 -6
  942. package/dist/collection/vendor/calcite-components/X43KWDQ7.js +0 -6
  943. package/dist/collection/vendor/calcite-components/X5W76SNV.js +0 -6
  944. package/dist/collection/vendor/calcite-components/X6IC7EBC.js +0 -6
  945. package/dist/collection/vendor/calcite-components/XBYWX3OD.js +0 -6
  946. package/dist/collection/vendor/calcite-components/XIJN5ZXM.js +0 -6
  947. package/dist/collection/vendor/calcite-components/XKQ2CMVV.js +0 -6
  948. package/dist/collection/vendor/calcite-components/YBQG5R2L.js +0 -6
  949. package/dist/collection/vendor/calcite-components/YHWNAASP.js +0 -6
  950. package/dist/collection/vendor/calcite-components/YMNUCKVA.js +0 -6
  951. package/dist/collection/vendor/calcite-components/YMR2Q5CU.js +0 -6
  952. package/dist/collection/vendor/calcite-components/YNGSTQ4R.js +0 -6
  953. package/dist/collection/vendor/calcite-components/YP2D5DKM.js +0 -6
  954. package/dist/collection/vendor/calcite-components/YPRJFE6R.js +0 -6
  955. package/dist/collection/vendor/calcite-components/YVIEKCN2.js +0 -6
  956. package/dist/collection/vendor/calcite-components/YWM7TWVP.js +0 -6
  957. package/dist/collection/vendor/calcite-components/YZ3FOSUR.js +0 -6
  958. package/dist/collection/vendor/calcite-components/YZG67JHT.js +0 -6
  959. package/dist/collection/vendor/calcite-components/ZBSXA5F6.js +0 -6
  960. package/dist/collection/vendor/calcite-components/ZFAXCWF5.js +0 -6
  961. package/dist/collection/vendor/calcite-components/ZFKXMQJP.js +0 -6
  962. package/dist/collection/vendor/calcite-components/ZK7O524P.js +0 -6
  963. package/dist/collection/vendor/calcite-components/ZKNKPGVW.js +0 -6
  964. package/dist/collection/vendor/calcite-components/ZLFRGGT3.js +0 -6
  965. package/dist/esm/downloadUtils-1179f077.js +0 -3217
  966. package/dist/esm/helpers-bd1ff401.js +0 -841
  967. package/dist/esm/index-c247b62b.js +0 -199
  968. package/dist/esm/index-df5db8e9.js +0 -1795
  969. package/dist/esm/locale-4744c8a4.js +0 -938
  970. package/dist/esm/locale-7874c756.js +0 -155
  971. package/dist/esm/popupUtils-cfe51dfd.js +0 -119
  972. package/dist/esm/publicNotificationStore-9ec5e22a.js +0 -45
  973. package/dist/esm/solution-store-4c39c654.js +0 -1103
  974. package/dist/esm/utils-04fffcaf.js +0 -142
  975. package/dist/solutions-components/p-1d1d7e63.entry.js +0 -6
  976. package/dist/solutions-components/p-28858c2f.entry.js +0 -6
  977. package/dist/solutions-components/p-2a16aa29.entry.js +0 -6
  978. package/dist/solutions-components/p-30ea587b.entry.js +0 -6
  979. package/dist/solutions-components/p-318f5c87.entry.js +0 -6
  980. package/dist/solutions-components/p-3335285a.js +0 -21
  981. package/dist/solutions-components/p-33d03eb9.entry.js +0 -6
  982. package/dist/solutions-components/p-34b50565.entry.js +0 -6
  983. package/dist/solutions-components/p-37ae171f.entry.js +0 -6
  984. package/dist/solutions-components/p-37fe59a0.entry.js +0 -6
  985. package/dist/solutions-components/p-38814554.entry.js +0 -6
  986. package/dist/solutions-components/p-3f14b242.entry.js +0 -6
  987. package/dist/solutions-components/p-3f83917b.entry.js +0 -6
  988. package/dist/solutions-components/p-404cbf48.js +0 -36
  989. package/dist/solutions-components/p-4b98adf3.entry.js +0 -6
  990. package/dist/solutions-components/p-5093ae54.entry.js +0 -11
  991. package/dist/solutions-components/p-552fb1c0.entry.js +0 -6
  992. package/dist/solutions-components/p-6369b974.entry.js +0 -6
  993. package/dist/solutions-components/p-648b5a9e.js +0 -6
  994. package/dist/solutions-components/p-64a6162f.entry.js +0 -6
  995. package/dist/solutions-components/p-64f814dd.entry.js +0 -6
  996. package/dist/solutions-components/p-6f4e5c19.entry.js +0 -6
  997. package/dist/solutions-components/p-7dc7d3dc.entry.js +0 -6
  998. package/dist/solutions-components/p-7dc95675.js +0 -6
  999. package/dist/solutions-components/p-83ba1288.entry.js +0 -6
  1000. package/dist/solutions-components/p-8585c128.entry.js +0 -6
  1001. package/dist/solutions-components/p-8717729a.js +0 -6
  1002. package/dist/solutions-components/p-8d281f47.js +0 -488
  1003. package/dist/solutions-components/p-95d1c104.entry.js +0 -6
  1004. package/dist/solutions-components/p-97f33e9f.js +0 -6
  1005. package/dist/solutions-components/p-980d9473.entry.js +0 -6
  1006. package/dist/solutions-components/p-9e3a40bc.entry.js +0 -6
  1007. package/dist/solutions-components/p-b536e583.entry.js +0 -21
  1008. package/dist/solutions-components/p-bc8d8128.entry.js +0 -6
  1009. package/dist/solutions-components/p-be16bc80.entry.js +0 -6
  1010. package/dist/solutions-components/p-c2e57b81.entry.js +0 -6
  1011. package/dist/solutions-components/p-c50ff9f1.entry.js +0 -6
  1012. package/dist/solutions-components/p-c9686e6c.entry.js +0 -6
  1013. package/dist/solutions-components/p-d099573a.entry.js +0 -6
  1014. package/dist/solutions-components/p-d1551601.entry.js +0 -6
  1015. package/dist/solutions-components/p-d324196d.entry.js +0 -6
  1016. package/dist/solutions-components/p-d59fb1a7.entry.js +0 -6
  1017. package/dist/solutions-components/p-da1e098c.js +0 -129
  1018. package/dist/solutions-components/p-dafc6680.entry.js +0 -6
  1019. package/dist/solutions-components/p-dc704bc6.entry.js +0 -6
  1020. package/dist/solutions-components/p-e3e35c14.entry.js +0 -6
  1021. package/dist/solutions-components/p-e43c8944.entry.js +0 -21
  1022. package/dist/solutions-components/p-e5cb329f.entry.js +0 -6
  1023. package/dist/solutions-components/p-e6859850.js +0 -21
  1024. package/dist/solutions-components/p-e996c38f.js +0 -7
  1025. package/dist/solutions-components/p-ea09b078.entry.js +0 -6
  1026. package/dist/solutions-components/p-ed443a0b.entry.js +0 -6
  1027. package/dist/solutions-components/p-ee3bb943.entry.js +0 -6
  1028. package/dist/solutions-components/p-f0b1b6f6.entry.js +0 -6
  1029. package/dist/solutions-components/p-f9deadd7.entry.js +0 -6
  1030. package/dist/solutions-components/p-fe9b2c74.entry.js +0 -6
  1031. package/dist/solutions-components/p-ffe1e3a3.entry.js +0 -6
  1032. package/dist/solutions-components/vendor/calcite-components/2OHLWTVV.js +0 -6
  1033. package/dist/solutions-components/vendor/calcite-components/2YNPAPXX.js +0 -6
  1034. package/dist/solutions-components/vendor/calcite-components/3MV46GBB.js +0 -6
  1035. package/dist/solutions-components/vendor/calcite-components/3OQ2ZMWE.js +0 -6
  1036. package/dist/solutions-components/vendor/calcite-components/3VYZVKRG.js +0 -6
  1037. package/dist/solutions-components/vendor/calcite-components/3YAQ3WXL.js +0 -6
  1038. package/dist/solutions-components/vendor/calcite-components/3YMYDWGD.js +0 -6
  1039. package/dist/solutions-components/vendor/calcite-components/4BBHRHVO.js +0 -6
  1040. package/dist/solutions-components/vendor/calcite-components/4Y32YCMF.js +0 -6
  1041. package/dist/solutions-components/vendor/calcite-components/52M672S5.js +0 -6
  1042. package/dist/solutions-components/vendor/calcite-components/5DHYCNO3.js +0 -6
  1043. package/dist/solutions-components/vendor/calcite-components/5MCURGUM.js +0 -6
  1044. package/dist/solutions-components/vendor/calcite-components/5O6ZNC7G.js +0 -6
  1045. package/dist/solutions-components/vendor/calcite-components/5RROROO5.js +0 -6
  1046. package/dist/solutions-components/vendor/calcite-components/5WC57GPQ.js +0 -6
  1047. package/dist/solutions-components/vendor/calcite-components/5WSY45L7.js +0 -6
  1048. package/dist/solutions-components/vendor/calcite-components/5XKYFEBC.js +0 -6
  1049. package/dist/solutions-components/vendor/calcite-components/66KPC4YV.js +0 -6
  1050. package/dist/solutions-components/vendor/calcite-components/67MILQAM.js +0 -6
  1051. package/dist/solutions-components/vendor/calcite-components/67YJME3J.js +0 -7
  1052. package/dist/solutions-components/vendor/calcite-components/6BG6DXGU.js +0 -6
  1053. package/dist/solutions-components/vendor/calcite-components/6J7J7RFI.js +0 -6
  1054. package/dist/solutions-components/vendor/calcite-components/6KJHPKLM.js +0 -6
  1055. package/dist/solutions-components/vendor/calcite-components/6LBWQVLS.js +0 -6
  1056. package/dist/solutions-components/vendor/calcite-components/6LOB5NKS.js +0 -6
  1057. package/dist/solutions-components/vendor/calcite-components/74AHNYT6.js +0 -6
  1058. package/dist/solutions-components/vendor/calcite-components/75LS6AUK.js +0 -6
  1059. package/dist/solutions-components/vendor/calcite-components/7AC4OZRT.js +0 -6
  1060. package/dist/solutions-components/vendor/calcite-components/7CTQOYNN.js +0 -6
  1061. package/dist/solutions-components/vendor/calcite-components/7IMTQM3A.js +0 -6
  1062. package/dist/solutions-components/vendor/calcite-components/7NNFVP5Y.js +0 -6
  1063. package/dist/solutions-components/vendor/calcite-components/7PLH76D5.js +0 -6
  1064. package/dist/solutions-components/vendor/calcite-components/7SRUH72U.js +0 -6
  1065. package/dist/solutions-components/vendor/calcite-components/7WIMMB52.js +0 -6
  1066. package/dist/solutions-components/vendor/calcite-components/A3TZO3T4.js +0 -6
  1067. package/dist/solutions-components/vendor/calcite-components/A4JSLISH.js +0 -7
  1068. package/dist/solutions-components/vendor/calcite-components/A77L2PAE.js +0 -6
  1069. package/dist/solutions-components/vendor/calcite-components/AAJZVCOQ.js +0 -6
  1070. package/dist/solutions-components/vendor/calcite-components/AK7JTREX.js +0 -6
  1071. package/dist/solutions-components/vendor/calcite-components/APJDJGRX.js +0 -6
  1072. package/dist/solutions-components/vendor/calcite-components/B7XAXKYO.js +0 -6
  1073. package/dist/solutions-components/vendor/calcite-components/B7YRQCNE.js +0 -6
  1074. package/dist/solutions-components/vendor/calcite-components/BAAOO7UE.js +0 -6
  1075. package/dist/solutions-components/vendor/calcite-components/BKJX2UVI.js +0 -6
  1076. package/dist/solutions-components/vendor/calcite-components/BMTT77MQ.js +0 -6
  1077. package/dist/solutions-components/vendor/calcite-components/BMULWGQL.js +0 -6
  1078. package/dist/solutions-components/vendor/calcite-components/BOOD43TE.js +0 -6
  1079. package/dist/solutions-components/vendor/calcite-components/BT6BGDUQ.js +0 -6
  1080. package/dist/solutions-components/vendor/calcite-components/C4BI2I6X.js +0 -6
  1081. package/dist/solutions-components/vendor/calcite-components/CARSEP6Y.js +0 -6
  1082. package/dist/solutions-components/vendor/calcite-components/CARUWMRC.js +0 -6
  1083. package/dist/solutions-components/vendor/calcite-components/CGP5NAVZ.js +0 -6
  1084. package/dist/solutions-components/vendor/calcite-components/CHPU2ORW.js +0 -6
  1085. package/dist/solutions-components/vendor/calcite-components/CKCZ6NNQ.js +0 -6
  1086. package/dist/solutions-components/vendor/calcite-components/CLWQ573O.js +0 -6
  1087. package/dist/solutions-components/vendor/calcite-components/COVTDEEB.js +0 -6
  1088. package/dist/solutions-components/vendor/calcite-components/CSDMYGZU.js +0 -6
  1089. package/dist/solutions-components/vendor/calcite-components/CSR5Q44Q.js +0 -6
  1090. package/dist/solutions-components/vendor/calcite-components/CWDZ4NQP.js +0 -6
  1091. package/dist/solutions-components/vendor/calcite-components/D7V3NS2J.js +0 -6
  1092. package/dist/solutions-components/vendor/calcite-components/DHITRFFR.js +0 -6
  1093. package/dist/solutions-components/vendor/calcite-components/DL6GCZF7.js +0 -6
  1094. package/dist/solutions-components/vendor/calcite-components/DPLQUB7Z.js +0 -6
  1095. package/dist/solutions-components/vendor/calcite-components/DQWJPC22.js +0 -6
  1096. package/dist/solutions-components/vendor/calcite-components/DRM7BNH3.js +0 -6
  1097. package/dist/solutions-components/vendor/calcite-components/DWIP44NC.js +0 -6
  1098. package/dist/solutions-components/vendor/calcite-components/E3RER5S3.js +0 -6
  1099. package/dist/solutions-components/vendor/calcite-components/ECWNOIEW.js +0 -6
  1100. package/dist/solutions-components/vendor/calcite-components/EPKORG4B.js +0 -6
  1101. package/dist/solutions-components/vendor/calcite-components/ERE76CER.js +0 -6
  1102. package/dist/solutions-components/vendor/calcite-components/EU5GIDX7.js +0 -6
  1103. package/dist/solutions-components/vendor/calcite-components/FB6NATRQ.js +0 -6
  1104. package/dist/solutions-components/vendor/calcite-components/FHAIE7PW.js +0 -6
  1105. package/dist/solutions-components/vendor/calcite-components/FITCS5RA.js +0 -6
  1106. package/dist/solutions-components/vendor/calcite-components/FJUGYL5W.js +0 -6
  1107. package/dist/solutions-components/vendor/calcite-components/FP5CKCOM.js +0 -6
  1108. package/dist/solutions-components/vendor/calcite-components/FQ6G6HKC.js +0 -6
  1109. package/dist/solutions-components/vendor/calcite-components/FQTOWUOI.js +0 -6
  1110. package/dist/solutions-components/vendor/calcite-components/FSBJYIK7.js +0 -6
  1111. package/dist/solutions-components/vendor/calcite-components/FUR5QRYV.js +0 -6
  1112. package/dist/solutions-components/vendor/calcite-components/FV5F4TOB.js +0 -30
  1113. package/dist/solutions-components/vendor/calcite-components/GHRW2Z4J.js +0 -6
  1114. package/dist/solutions-components/vendor/calcite-components/GKLGNYAX.js +0 -6
  1115. package/dist/solutions-components/vendor/calcite-components/GRGOLBJ6.js +0 -6
  1116. package/dist/solutions-components/vendor/calcite-components/H2QNORW6.js +0 -6
  1117. package/dist/solutions-components/vendor/calcite-components/H6JENZS2.js +0 -6
  1118. package/dist/solutions-components/vendor/calcite-components/HE6ZJBOG.js +0 -6
  1119. package/dist/solutions-components/vendor/calcite-components/HEYQRNVV.js +0 -6
  1120. package/dist/solutions-components/vendor/calcite-components/HJ7LTJIL.js +0 -6
  1121. package/dist/solutions-components/vendor/calcite-components/HUXUCABV.js +0 -6
  1122. package/dist/solutions-components/vendor/calcite-components/HVG3FNW6.js +0 -6
  1123. package/dist/solutions-components/vendor/calcite-components/I5RDDH5E.js +0 -6
  1124. package/dist/solutions-components/vendor/calcite-components/IGLINVEB.js +0 -6
  1125. package/dist/solutions-components/vendor/calcite-components/IH6XHUKC.js +0 -6
  1126. package/dist/solutions-components/vendor/calcite-components/IN4OTIGO.js +0 -6
  1127. package/dist/solutions-components/vendor/calcite-components/IOQ5NGFA.js +0 -6
  1128. package/dist/solutions-components/vendor/calcite-components/ITIJ42U7.js +0 -6
  1129. package/dist/solutions-components/vendor/calcite-components/ITILALYC.js +0 -6
  1130. package/dist/solutions-components/vendor/calcite-components/J3NSY2Y7.js +0 -6
  1131. package/dist/solutions-components/vendor/calcite-components/J4RAJYKF.js +0 -6
  1132. package/dist/solutions-components/vendor/calcite-components/J6IGXQYQ.js +0 -6
  1133. package/dist/solutions-components/vendor/calcite-components/JA2ML5I6.js +0 -6
  1134. package/dist/solutions-components/vendor/calcite-components/JOTIQZAS.js +0 -6
  1135. package/dist/solutions-components/vendor/calcite-components/JULIKI65.js +0 -6
  1136. package/dist/solutions-components/vendor/calcite-components/JW6QBCWN.js +0 -6
  1137. package/dist/solutions-components/vendor/calcite-components/JWIQZFGO.js +0 -6
  1138. package/dist/solutions-components/vendor/calcite-components/K4HQ6WGE.js +0 -6
  1139. package/dist/solutions-components/vendor/calcite-components/K4OPLD7F.js +0 -6
  1140. package/dist/solutions-components/vendor/calcite-components/KHULIKKP.js +0 -7
  1141. package/dist/solutions-components/vendor/calcite-components/KRZMNBJS.js +0 -6
  1142. package/dist/solutions-components/vendor/calcite-components/LDAXCWWP.js +0 -6
  1143. package/dist/solutions-components/vendor/calcite-components/LMRFYM2J.js +0 -6
  1144. package/dist/solutions-components/vendor/calcite-components/LSUXEOMN.js +0 -6
  1145. package/dist/solutions-components/vendor/calcite-components/M5BOCCQL.js +0 -6
  1146. package/dist/solutions-components/vendor/calcite-components/M5XI6NNV.js +0 -6
  1147. package/dist/solutions-components/vendor/calcite-components/M7MOBM7M.js +0 -6
  1148. package/dist/solutions-components/vendor/calcite-components/MA2YIQZL.js +0 -6
  1149. package/dist/solutions-components/vendor/calcite-components/MBJAGWVS.js +0 -6
  1150. package/dist/solutions-components/vendor/calcite-components/MI3BWAKN.js +0 -6
  1151. package/dist/solutions-components/vendor/calcite-components/MOO4BCRV.js +0 -6
  1152. package/dist/solutions-components/vendor/calcite-components/MVHJMI6L.js +0 -6
  1153. package/dist/solutions-components/vendor/calcite-components/MZRLL3GR.js +0 -6
  1154. package/dist/solutions-components/vendor/calcite-components/N2FZGLE3.js +0 -6
  1155. package/dist/solutions-components/vendor/calcite-components/N2UM5A2L.js +0 -6
  1156. package/dist/solutions-components/vendor/calcite-components/NNL2N4OB.js +0 -6
  1157. package/dist/solutions-components/vendor/calcite-components/NP3SY2AL.js +0 -6
  1158. package/dist/solutions-components/vendor/calcite-components/NPYZ3JS7.js +0 -6
  1159. package/dist/solutions-components/vendor/calcite-components/NS47CSEP.js +0 -6
  1160. package/dist/solutions-components/vendor/calcite-components/NSL6XZ2B.js +0 -6
  1161. package/dist/solutions-components/vendor/calcite-components/NW4BVBVD.js +0 -6
  1162. package/dist/solutions-components/vendor/calcite-components/O66NAEPJ.js +0 -6
  1163. package/dist/solutions-components/vendor/calcite-components/OA55VNGP.js +0 -6
  1164. package/dist/solutions-components/vendor/calcite-components/OHEBCS4O.js +0 -6
  1165. package/dist/solutions-components/vendor/calcite-components/OI755RA3.js +0 -6
  1166. package/dist/solutions-components/vendor/calcite-components/OUC47AKY.js +0 -6
  1167. package/dist/solutions-components/vendor/calcite-components/PIOS7EUM.js +0 -6
  1168. package/dist/solutions-components/vendor/calcite-components/PJPFKU6T.js +0 -6
  1169. package/dist/solutions-components/vendor/calcite-components/PJT7DMRY.js +0 -6
  1170. package/dist/solutions-components/vendor/calcite-components/QDTRI7C7.js +0 -6
  1171. package/dist/solutions-components/vendor/calcite-components/QIG2J5PE.js +0 -6
  1172. package/dist/solutions-components/vendor/calcite-components/QO6KDHE7.js +0 -6
  1173. package/dist/solutions-components/vendor/calcite-components/QP3WP6XK.js +0 -6
  1174. package/dist/solutions-components/vendor/calcite-components/QRMUPTEN.js +0 -6
  1175. package/dist/solutions-components/vendor/calcite-components/QS2H5WWV.js +0 -7
  1176. package/dist/solutions-components/vendor/calcite-components/QSXIXUQG.js +0 -6
  1177. package/dist/solutions-components/vendor/calcite-components/R4UWD64I.js +0 -6
  1178. package/dist/solutions-components/vendor/calcite-components/R6R2QDCZ.js +0 -6
  1179. package/dist/solutions-components/vendor/calcite-components/R7BOWUQR.js +0 -6
  1180. package/dist/solutions-components/vendor/calcite-components/RBX4II3R.js +0 -6
  1181. package/dist/solutions-components/vendor/calcite-components/RGXKBYDS.js +0 -6
  1182. package/dist/solutions-components/vendor/calcite-components/RIG4ZWVJ.js +0 -6
  1183. package/dist/solutions-components/vendor/calcite-components/RM7DO3WC.js +0 -6
  1184. package/dist/solutions-components/vendor/calcite-components/RM7JYDOG.js +0 -6
  1185. package/dist/solutions-components/vendor/calcite-components/RS3QB5Z6.js +0 -6
  1186. package/dist/solutions-components/vendor/calcite-components/RTNOQY3F.js +0 -6
  1187. package/dist/solutions-components/vendor/calcite-components/RXFQEBLZ.js +0 -6
  1188. package/dist/solutions-components/vendor/calcite-components/S72C3HDO.js +0 -6
  1189. package/dist/solutions-components/vendor/calcite-components/SCVHHYPP.js +0 -6
  1190. package/dist/solutions-components/vendor/calcite-components/SH3ZYF5Y.js +0 -6
  1191. package/dist/solutions-components/vendor/calcite-components/SLRX7WEV.js +0 -6
  1192. package/dist/solutions-components/vendor/calcite-components/SQBCUXGV.js +0 -6
  1193. package/dist/solutions-components/vendor/calcite-components/SUMUVN3S.js +0 -6
  1194. package/dist/solutions-components/vendor/calcite-components/SUOP4NP6.js +0 -6
  1195. package/dist/solutions-components/vendor/calcite-components/SV2NJMD7.js +0 -6
  1196. package/dist/solutions-components/vendor/calcite-components/T5H4BCFU.js +0 -6
  1197. package/dist/solutions-components/vendor/calcite-components/T5XJU6AI.js +0 -24
  1198. package/dist/solutions-components/vendor/calcite-components/T6NZYTYO.js +0 -6
  1199. package/dist/solutions-components/vendor/calcite-components/TEFAP3AK.js +0 -6
  1200. package/dist/solutions-components/vendor/calcite-components/TEGL7RHQ.js +0 -6
  1201. package/dist/solutions-components/vendor/calcite-components/TGH5IJQY.js +0 -6
  1202. package/dist/solutions-components/vendor/calcite-components/TGYJTTJS.js +0 -6
  1203. package/dist/solutions-components/vendor/calcite-components/TITRCHWJ.js +0 -6
  1204. package/dist/solutions-components/vendor/calcite-components/TRYKNJDA.js +0 -6
  1205. package/dist/solutions-components/vendor/calcite-components/TYYR7NIL.js +0 -8
  1206. package/dist/solutions-components/vendor/calcite-components/TZEZTECF.js +0 -6
  1207. package/dist/solutions-components/vendor/calcite-components/U2E5SVFR.js +0 -6
  1208. package/dist/solutions-components/vendor/calcite-components/U5VSHGIS.js +0 -6
  1209. package/dist/solutions-components/vendor/calcite-components/U64XMC5X.js +0 -6
  1210. package/dist/solutions-components/vendor/calcite-components/UK4SFYVV.js +0 -6
  1211. package/dist/solutions-components/vendor/calcite-components/UKF62PNM.js +0 -6
  1212. package/dist/solutions-components/vendor/calcite-components/UOL6J47W.js +0 -6
  1213. package/dist/solutions-components/vendor/calcite-components/UV7H22PE.js +0 -6
  1214. package/dist/solutions-components/vendor/calcite-components/UXOOSEIU.js +0 -6
  1215. package/dist/solutions-components/vendor/calcite-components/UXZ36VC5.js +0 -6
  1216. package/dist/solutions-components/vendor/calcite-components/UY67UAZN.js +0 -6
  1217. package/dist/solutions-components/vendor/calcite-components/VFBARPZ3.js +0 -6
  1218. package/dist/solutions-components/vendor/calcite-components/VGYCDODV.js +0 -6
  1219. package/dist/solutions-components/vendor/calcite-components/VHXHAFDO.js +0 -6
  1220. package/dist/solutions-components/vendor/calcite-components/VN2EAAQF.js +0 -6
  1221. package/dist/solutions-components/vendor/calcite-components/VOECRNMH.js +0 -6
  1222. package/dist/solutions-components/vendor/calcite-components/VQRNTTAX.js +0 -6
  1223. package/dist/solutions-components/vendor/calcite-components/VVXJONZL.js +0 -6
  1224. package/dist/solutions-components/vendor/calcite-components/W5CGAHOI.js +0 -6
  1225. package/dist/solutions-components/vendor/calcite-components/WA7LZURK.js +0 -6
  1226. package/dist/solutions-components/vendor/calcite-components/WAAS66H6.js +0 -6
  1227. package/dist/solutions-components/vendor/calcite-components/WAE55O4U.js +0 -6
  1228. package/dist/solutions-components/vendor/calcite-components/WAXI7XKE.js +0 -6
  1229. package/dist/solutions-components/vendor/calcite-components/WEFAANMG.js +0 -6
  1230. package/dist/solutions-components/vendor/calcite-components/WH772PDM.js +0 -6
  1231. package/dist/solutions-components/vendor/calcite-components/X43KWDQ7.js +0 -6
  1232. package/dist/solutions-components/vendor/calcite-components/X5W76SNV.js +0 -6
  1233. package/dist/solutions-components/vendor/calcite-components/X6IC7EBC.js +0 -6
  1234. package/dist/solutions-components/vendor/calcite-components/XBYWX3OD.js +0 -6
  1235. package/dist/solutions-components/vendor/calcite-components/XIJN5ZXM.js +0 -6
  1236. package/dist/solutions-components/vendor/calcite-components/XKQ2CMVV.js +0 -6
  1237. package/dist/solutions-components/vendor/calcite-components/YBQG5R2L.js +0 -6
  1238. package/dist/solutions-components/vendor/calcite-components/YHWNAASP.js +0 -6
  1239. package/dist/solutions-components/vendor/calcite-components/YMNUCKVA.js +0 -6
  1240. package/dist/solutions-components/vendor/calcite-components/YMR2Q5CU.js +0 -6
  1241. package/dist/solutions-components/vendor/calcite-components/YNGSTQ4R.js +0 -6
  1242. package/dist/solutions-components/vendor/calcite-components/YP2D5DKM.js +0 -6
  1243. package/dist/solutions-components/vendor/calcite-components/YPRJFE6R.js +0 -6
  1244. package/dist/solutions-components/vendor/calcite-components/YVIEKCN2.js +0 -6
  1245. package/dist/solutions-components/vendor/calcite-components/YWM7TWVP.js +0 -6
  1246. package/dist/solutions-components/vendor/calcite-components/YZ3FOSUR.js +0 -6
  1247. package/dist/solutions-components/vendor/calcite-components/YZG67JHT.js +0 -6
  1248. package/dist/solutions-components/vendor/calcite-components/ZBSXA5F6.js +0 -6
  1249. package/dist/solutions-components/vendor/calcite-components/ZFAXCWF5.js +0 -6
  1250. package/dist/solutions-components/vendor/calcite-components/ZFKXMQJP.js +0 -6
  1251. package/dist/solutions-components/vendor/calcite-components/ZK7O524P.js +0 -6
  1252. package/dist/solutions-components/vendor/calcite-components/ZKNKPGVW.js +0 -6
  1253. package/dist/solutions-components/vendor/calcite-components/ZLFRGGT3.js +0 -6
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as n,h as i,H as s,g as e}from"./p-c3eae9ba.js";import{l as o}from"./p-d001e961.js";import{g as r}from"./p-3df0f3d3.js";import{g as a}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p=(()=>{let t=0;return()=>(t+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${t}`)})();function c(t){const n=[];for(let i=0,s=t.length;i<s;i++)n.push(t[i]);return n}function l(t,n){const i=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(n);return i?parseFloat(i.replace("px","")):0}function h(t,n={}){return{width:n.width||function(t){const n=l(t,"border-left-width"),i=l(t,"border-right-width");return t.clientWidth+n+i}(t),height:n.height||function(t){const n=l(t,"border-top-width"),i=l(t,"border-bottom-width");return t.clientHeight+n+i}(t)}}const d=16384;function u(t){return new Promise(((n,i)=>{const s=new Image;s.decode=()=>n(s),s.onload=()=>n(s),s.onerror=i,s.crossOrigin="anonymous",s.decoding="async",s.src=t}))}const f=(t,n)=>{if(t instanceof n)return!0;const i=Object.getPrototypeOf(t);return null!==i&&(i.constructor.name===n.name||f(i,n))};function g(t,n,i){const s=window.getComputedStyle(t,i),e=s.getPropertyValue("content");if(""===e||"none"===e)return;const o=p();try{n.className=`${n.className} ${o}`}catch(t){return}const r=document.createElement("style");r.appendChild(function(t,n,i){const s=`.${t}:${n}`,e=i.cssText?function(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}(i):function(t){return c(t).map((n=>`${n}: ${t.getPropertyValue(n)}${t.getPropertyPriority(n)?" !important":""};`)).join(" ")}(i);return document.createTextNode(`${s}{${e}}`)}(o,i,s)),n.appendChild(r)}const v="application/font-woff",x="image/jpeg",m={woff:v,woff2:v,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:x,jpeg:x,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function _(t){const n=function(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}(t).toLowerCase();return m[n]||""}function b(t){return-1!==t.search(/^(data:)/)}function w(t,n){return`data:${n};base64,${t}`}async function y(t,n,i){const s=await fetch(t,n);if(404===s.status)throw new Error(`Resource "${s.url}" not found`);const e=await s.blob();return new Promise(((t,n)=>{const o=new FileReader;o.onerror=n,o.onloadend=()=>{try{t(i({res:s,result:o.result}))}catch(t){n(t)}},o.readAsDataURL(e)}))}const k={};async function P(t,n,i){const s=function(t,n,i){let s=t.replace(/\?.*/,"");return i&&(s=t),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),n?`[${n}]${s}`:s}(t,n,i.includeQueryParams);if(null!=k[s])return k[s];let e;i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());try{const s=await y(t,i.fetchRequestInit,(({res:t,result:i})=>(n||(n=t.headers.get("Content-Type")||""),function(t){return t.split(/,/)[1]}(i))));e=w(s,n)}catch(n){e=i.imagePlaceholder||"";let s=`Failed to fetch resource: ${t}`;n&&(s="string"==typeof n?n:n.message),s&&console.warn(s)}return k[s]=e,e}const $=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();async function S(t,n,i){return i||!n.filter||n.filter(t)?Promise.resolve(t).then((t=>async function(t,n){return f(t,HTMLCanvasElement)?async function(t){const n=t.toDataURL();return"data:,"===n?t.cloneNode(!1):u(n)}(t):f(t,HTMLVideoElement)?async function(t,n){if(t.currentSrc){const n=document.createElement("canvas"),i=n.getContext("2d");return n.width=t.clientWidth,n.height=t.clientHeight,null==i||i.drawImage(t,0,0,n.width,n.height),u(n.toDataURL())}const i=t.poster,s=_(i);return u(await P(i,s,n))}(t,n):f(t,HTMLIFrameElement)?async function(t){var n;try{if(null===(n=null==t?void 0:t.contentDocument)||void 0===n?void 0:n.body)return await S(t.contentDocument.body,{},!0)}catch(t){}return t.cloneNode(!1)}(t):t.cloneNode(!1)}(t,n))).then((i=>async function(t,n,i){var s,e;let o=[];return o=$(t)&&t.assignedNodes?c(t.assignedNodes()):f(t,HTMLIFrameElement)&&(null===(s=t.contentDocument)||void 0===s?void 0:s.body)?c(t.contentDocument.body.childNodes):c((null!==(e=t.shadowRoot)&&void 0!==e?e:t).childNodes),0===o.length||f(t,HTMLVideoElement)||await o.reduce(((t,s)=>t.then((()=>S(s,i))).then((t=>{t&&n.appendChild(t)}))),Promise.resolve()),n}(t,i,n))).then((n=>function(t,n){return f(n,Element)&&(function(t,n){const i=n.style;if(!i)return;const s=window.getComputedStyle(t);s.cssText?(i.cssText=s.cssText,i.transformOrigin=s.transformOrigin):c(s).forEach((e=>{let o=s.getPropertyValue(e);if("font-size"===e&&o.endsWith("px")){const t=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${t}px`}f(t,HTMLIFrameElement)&&"display"===e&&"inline"===o&&(o="block"),"d"===e&&n.getAttribute("d")&&(o=`path(${n.getAttribute("d")})`),i.setProperty(e,o,s.getPropertyPriority(e))}))}(t,n),function(t,n){g(t,n,":before"),g(t,n,":after")}(t,n),function(t,n){f(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),f(t,HTMLInputElement)&&n.setAttribute("value",t.value)}(t,n),function(t,n){if(f(t,HTMLSelectElement)){const i=Array.from(n.children).find((n=>t.value===n.getAttribute("value")));i&&i.setAttribute("selected","")}}(t,n)),n}(t,n))).then((t=>async function(t,n){const i=t.querySelectorAll?t.querySelectorAll("use"):[];if(0===i.length)return t;const s={};for(let e=0;e<i.length;e++){const o=i[e].getAttribute("xlink:href");if(o){const i=t.querySelector(o),e=document.querySelector(o);i||!e||s[o]||(s[o]=await S(e,n,!0))}}const e=Object.values(s);if(e.length){const n="http://www.w3.org/1999/xhtml",i=document.createElementNS(n,"svg");i.setAttribute("xmlns",n),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(n,"defs");i.appendChild(s);for(let t=0;t<e.length;t++)s.appendChild(e[t]);t.appendChild(i)}return t}(t,n))):null}const C=/url\((['"]?)([^'"]+?)\1\)/g,E=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,F=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function M(t){return-1!==t.search(C)}async function j(t,n,i){if(!M(t))return t;const s=function(t,{preferredFontFormat:n}){return n?t.replace(F,(t=>{for(;;){const[i,,s]=E.exec(t)||[];if(!s)return"";if(s===n)return`src: ${i};`}})):t}(t,i),e=function(t){const n=[];return t.replace(C,((t,i,s)=>(n.push(s),t))),n.filter((t=>!b(t)))}(s);return e.reduce(((t,s)=>t.then((t=>async function(t,n,i,s,e){try{const o=i?function(t,n){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const i=document.implementation.createHTMLDocument(),s=i.createElement("base"),e=i.createElement("a");return i.head.appendChild(s),i.body.appendChild(e),n&&(s.href=n),e.href=t,e.href}(n,i):n,r=_(n);let a;return a=e?w(await e(o),r):await P(o,r,s),t.replace(function(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}(n),`$1${a}$3`)}catch(t){}return t}(t,s,n,i)))),Promise.resolve(s))}async function T(t,n,i){var s;const e=null===(s=n.style)||void 0===s?void 0:s.getPropertyValue(t);if(e){const s=await j(e,null,i);return n.style.setProperty(t,s,n.style.getPropertyPriority(t)),!0}return!1}async function L(t,n){f(t,Element)&&(await async function(t,n){await T("background",t,n)||await T("background-image",t,n),await T("mask",t,n)||await T("mask-image",t,n)}(t,n),await async function(t,n){const i=f(t,HTMLImageElement);if((!i||b(t.src))&&(!f(t,SVGImageElement)||b(t.href.baseVal)))return;const s=i?t.src:t.href.baseVal,e=await P(s,_(s),n);await new Promise(((n,s)=>{t.onload=n,t.onerror=s;const o=t;o.decode&&(o.decode=n),"lazy"===o.loading&&(o.loading="eager"),i?(t.srcset="",t.src=e):t.href.baseVal=e}))}(t,n),await async function(t,n){const i=c(t.childNodes).map((t=>L(t,n)));await Promise.all(i).then((()=>t))}(t,n))}const D={};async function I(t){let n=D[t];if(null!=n)return n;const i=await fetch(t);return n={url:t,cssText:await i.text()},D[t]=n,n}async function O(t,n){let i=t.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,e=(i.match(/url\([^)]+\)/g)||[]).map((async e=>{let o=e.replace(s,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),y(o,n.fetchRequestInit,(({result:t})=>(i=i.replace(e,`url(${t})`),[e,t])))}));return Promise.all(e).then((()=>i))}function z(t){if(null==t)return[];const n=[];let i=t.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const t=s.exec(i);if(null===t)break;n.push(t[0])}i=i.replace(s,"");const e=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let t=e.exec(i);if(null===t){if(t=o.exec(i),null===t)break;e.lastIndex=o.lastIndex}else o.lastIndex=e.lastIndex;n.push(t[0])}return n}async function R(t,n){const i=null!=n.fontEmbedCSS?n.fontEmbedCSS:n.skipFonts?null:await async function(t,n){const i=await async function(t,n){if(null==t.ownerDocument)throw new Error("Provided element is not within a Document");const i=c(t.ownerDocument.styleSheets),s=await async function(t,n){const i=[],s=[];return t.forEach((i=>{if("cssRules"in i)try{c(i.cssRules||[]).forEach(((t,e)=>{if(t.type===CSSRule.IMPORT_RULE){let o=e+1;const r=I(t.href).then((t=>O(t,n))).then((t=>z(t).forEach((t=>{try{i.insertRule(t,t.startsWith("@import")?o+=1:i.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:t,error:n})}})))).catch((t=>{console.error("Error loading remote css",t.toString())}));s.push(r)}}))}catch(e){const o=t.find((t=>null==t.href))||document.styleSheets[0];null!=i.href&&s.push(I(i.href).then((t=>O(t,n))).then((t=>z(t).forEach((t=>{o.insertRule(t,i.cssRules.length)})))).catch((t=>{console.error("Error loading remote stylesheet",t)}))),console.error("Error inlining remote css file",e)}})),Promise.all(s).then((()=>(t.forEach((t=>{if("cssRules"in t)try{c(t.cssRules||[]).forEach((t=>{i.push(t)}))}catch(n){console.error(`Error while reading CSS rules from ${t.href}`,n)}})),i)))}(i,n);return function(t){return t.filter((t=>t.type===CSSRule.FONT_FACE_RULE)).filter((t=>M(t.style.getPropertyValue("src"))))}(s)}(t,n);return(await Promise.all(i.map((t=>j(t.cssText,t.parentStyleSheet?t.parentStyleSheet.href:null,n))))).join("\n")}(t,n);if(i){const n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function H(t,n={}){const{width:i,height:s}=h(t,n),e=await S(t,n,!0);return await R(e,n),await L(e,n),function(t,n){const{style:i}=t;n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.width&&(i.width=`${n.width}px`),n.height&&(i.height=`${n.height}px`);const s=n.style;null!=s&&Object.keys(s).forEach((t=>{i[t]=s[t]}))}(e,n),await async function(t,n,i){const s="http://www.w3.org/2000/svg",e=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return e.setAttribute("width",`${n}`),e.setAttribute("height",`${i}`),e.setAttribute("viewBox",`0 0 ${n} ${i}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),e.appendChild(o),o.appendChild(t),async function(t){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(t))).then(encodeURIComponent).then((t=>`data:image/svg+xml;charset=utf-8,${t}`))}(e)}(e,i,s)}async function V(t,n={}){const{width:i,height:s}=h(t,n),e=await H(t,n),o=await u(e),r=document.createElement("canvas"),a=r.getContext("2d"),p=n.pixelRatio||function(){let t,n;try{n=process}catch(t){}const i=n&&n.env?n.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}(),c=n.canvasWidth||i,l=n.canvasHeight||s;return r.width=c*p,r.height=l*p,n.skipAutoScale||function(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}(r),r.style.width=`${c}`,r.style.height=`${l}`,n.backgroundColor&&(a.fillStyle=n.backgroundColor,a.fillRect(0,0,r.width,r.height)),a.drawImage(o,0,0,r.width,r.height),r}async function G(t,n={}){return(await V(t,n)).toDataURL("image/jpeg",n.quality||1)}const U="instant-apps-export calcite-mode-light",W="instant-apps-export-print instant-apps-export-print__pdf",A="instant-apps-export-print instant-apps-export-print__img",B="instant-apps-export-print__img--extra-content",N="instant-apps-export-print__content-container",J="instant-apps-export-print__extra-container",q="instant-apps-export-print__legend-container",X="instant-apps-export-print__compass-container",K="instant-apps-export-print__scale-bar-container",Q="instant-apps-export-print__popup-container",Y="instant-apps-export-print__popup-content",Z="instant-apps-export-print__popup-title",tt="instant-apps-export-print__view",nt="instant-apps-export-print__view-container",it="instant-apps-export-print__view-wrapper",st="instant-app-export-drag",et=class{constructor(i){t(this,i),this.exportOutputUpdated=n(this,"exportOutputUpdated",7),this.fileTypes=["PDF","JPG","PNG"],this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.logoImage="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.baseClass=U,this.exportIsLoading=void 0,this.messages=void 0,this.selectedFileType="PDF"}watchIncludeMap(t){t&&this.updateLegend()}watchView(){this.handleIncludePopup()}async componentWillLoad(){this.baseClass="dark"===a(this.el)?"instant-apps-export calcite-mode-dark":U,r(this),await this.initializeModules()}componentDidLoad(){this.printContainerEl.prepend(this.printEl),this.handleIncludePopup()}async initializeModules(){const[t,n]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new t,this.reactiveUtils=n,Promise.resolve()}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel(),n=this.renderCompass();return i(s,{key:"9811c244faf2c794db3edaad498a9a902cb3faad"},i("div",{key:"cb880c04d46ec06a9588cedc0bd90ab62d25c0ac",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,i("div",{key:"fc7ccd1eeb4b6a82bd9804d1aa73c4f242085a56",class:"instant-apps-export__visually-hidden"},n)))}renderPopover(){var t,n,s;const e=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(t=this.messages)||void 0===t?void 0:t.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t},e),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(n=this.messages)||void 0===n?void 0:n.exportBtn,text:null===(s=this.messages)||void 0===s?void 0:s.exportBtn})]}renderPanel(){var t,n,s;const e=this.showHeaderTitle?this.renderTitle():null,o=null!=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,"PDF"!==this.selectedFileType&&!this.showExtraContentInImg):null,r=this.showIncludeMap?this.renderSwitch("includeMap",void 0,"PDF"!==this.selectedFileType):null,a=this.includeMap?this.renderMapOptions():null,p=this.includeFileFormat?this.renderSelectFileType():null,c="PDF"===this.selectedFileType?this.renderPrint():this.renderImg();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},e,o,r,a,p,this.includeMap?i("calcite-button",{appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this,!0),disabled:this.exportIsLoading},null===(t=this.messages)||void 0===t?void 0:t.setMapArea):null,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},"PDF"===this.selectedFileType?null===(n=this.messages)||void 0===n?void 0:n.export:null===(s=this.messages)||void 0===s?void 0:s.preview),c)}renderTitle(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.title,i("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,n,s){var e;const o=null!=n?n:null===(e=this.messages)||void 0===e?void 0:e[t];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[t],value:t,onCalciteSwitchChange:this.optionOnChange.bind(this),disabled:s}))}renderSelectFileType(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.fileType,i("calcite-select",{label:"",onCalciteSelectChange:this.handleSelectFileType.bind(this)},this.fileTypes.map((t=>i("calcite-option",{value:t,selected:t===this.selectedFileType},t)))))}renderMapOptions(){const t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,t,n)}renderPrint(){const t=this.includeMap?this.renderPrintMap():null,n=this.renderExtraContent(),s=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,e=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return i("div",{ref:t=>this.printContainerEl=t},i("div",{class:W,ref:t=>this.printEl=t},t,s,i("div",{class:N},e,n)))}renderPrintMap(){return i("div",{class:nt,ref:t=>this.viewContainerEl=t},i("div",{class:it,ref:t=>this.viewWrapperEl=t},this.headerTitle?i("instant-apps-header",{logoImage:this.logoImage,logoScale:"s",titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,i("img",{class:tt,ref:t=>this.viewEl=t}),i("div",{class:K,ref:t=>this.scaleBarContainerEl=t})))}renderLegend(){return i("div",{class:q,ref:t=>this.legendContainerEl=t})}renderCompass(){return i("div",{class:X,ref:t=>this.compassContainerEl=t})}renderPopup(){return i("div",{class:Q,ref:t=>this.popupContainerEl=t},i("div",{ref:t=>this.popupTitleEl=t,class:Z}),i("div",{ref:t=>this.popupContentEl=t,class:Y}))}renderExtraContent(){return i("div",{class:J,id:"export-content",ref:t=>this.extraContainerEl=t})}renderImg(){const t=this.includeMap?this.renderPrintMap():null,n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null;let s;return this.includeMap&&this.showIncludePopup?s=this.renderPopup():this.showExtraContentInImg&&null!=this.extraContent&&this.includeExtraContent&&(s=this.renderExtraContent()),i("div",{ref:t=>this.printContainerEl=t},i("div",{class:A,ref:t=>this.printEl=t},t,n,s))}optionOnChange(t){const{checked:n,value:i}=t.target;this[i]=n,this.updateExportOutput()}updateHeaderTitle(t){this.headerTitle=t.target.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}async exportPreviewOnClick(){"PDF"===this.selectedFileType?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}exportImg(){var t;if(this.resetPopupVisibility(),null==this.dataUrl)return;const n=document.createElement("a");n.id="download-link",n.href=this.dataUrl,n.download=null!==(t=this.headerTitle)&&void 0!==t?t:document.title,n.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){null!=this.view?(this.addPrintStyling(),document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}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\n .instant-apps-export-print {\n position: absolute;\n z-index: -999;\n color: #323232 !important;\n --esri-calcite-mode-name: "light";\n }\n\n .instant-apps-export-print__pdf {\n height: 100%;\n width: 100%;\n display: grid;\n gap: 24px;\n grid-auto-flow: row;\n }\n\n .instant-apps-export-print__img {\n display: grid;\n width: auto;\n }\n\n .instant-apps-export-print__img--extra-content {\n grid-template-columns: 2fr minmax(0, 325px);\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 display: flex;\n justify-content: center;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__view-container {\n grid-row: 1;\n grid-column: 1;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: fit-content;\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .instant-apps-export-print__pdf .instant-apps-export-print__view-wrapper {\n border: 2pt solid #323232;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__view-wrapper {\n border: 1pt solid #323232;\n }\n\n .instant-apps-export-print__view {\n object-fit: contain;\n }\n\n .instant-apps-export-print__extra-container {\n grid-row: 1 / span 2;\n grid-column: 2;\n }\n \n .instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {\n display: block;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 325px;\n display: none;\n color: #323232;\n background: #fff;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__pdf .instant-apps-export-print__popup-container {\n border: 1pt solid #323232;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__popup-container {\n grid-row: 1 / span 2;\n grid-column: 2;\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 .instant-apps-export-print__img .instant-apps-export-print__legend-container {\n margin: 14px;\n grid-row: 2;\n grid-column: 1;\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 *, .instant-apps-export-print__img .esri-feature.esri-widget * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 4pt 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--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 }\n\n .instant-apps-export-print__content-container {\n display: flex;\n gap: 24px;\n break-inside: avoid;\n break-before: auto;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{"PDF"===this.selectedFileType&&(this.exportIsLoading=!1),this.setupViewPrintElements()}),1500)}handleExtraContent(){const t=this.printEl.querySelector("#export-content");if(null!=t){t.innerHTML="";const n=null!=this.extraContent&&this.includeExtraContent;this.printEl.classList.toggle(B,"PDF"!==this.selectedFileType&&this.showExtraContentInImg&&n),n?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&"PDF"!==this.selectedFileType&&!this.includeExtraContent&&this.printEl.classList.toggle(B,!1)}resetPrintContent(){var t,n,i;if(null!=this.view){this.screenshot=null,null===(t=this.printContainerEl)||void 0===t||t.prepend(this.printEl),null===(n=this.printStyleEl)||void 0===n||n.remove(),null===(i=this.tmpPopupTitleEl)||void 0===i||i.remove(),this.printStyleEl=void 0;const s=this.printEl.querySelector("#export-content");s&&(s.innerHTML="")}}async updatePopupToPrint(){var t,n;if(null==this.view||null==this.popupContainerEl)return;this.popupContainerEl.style.display=this.includePopup&&this.view.popup.visible?"block":"none",this.checkPopupOpen();const i=this.includePopup&&(this.view.popup.visible||this.popupHiddenByMapArea)&&null!=this.view.popup.selectedFeature;if(this.printEl.classList.toggle(B,"PDF"!==this.selectedFileType&&i),i){const i=document.createElement(`h${null!==(t=this.view.popup.headingLevel)&&void 0!==t?t:2}`);i.innerHTML=null!==(n=this.view.popup.title)&&void 0!==n?n:"",i.className="esri-widget__heading esri-popup__header-title",null==this.popupTitleEl?(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupContainerEl.prepend(this.tmpPopupTitleEl)):(this.popupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(i))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(null!=this.view)if(this.handleLegendSetup(),"PDF"===this.selectedFileType){const t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout((()=>{this.resetPrintContent()}),1e3)}else this.convertToImage()}async convertToImage(){const t={backgroundColor:"#FFF",skipFonts:!0};let n="";try{n="JPG"===this.selectedFileType?await G(this.printEl,t):await async function(t,n={}){return(await V(t,n)).toDataURL()}(this.printEl,t)}catch(i){this.logoImage=void 0,await new Promise((t=>setTimeout(t,500))),n=await G(this.printEl,t)}finally{this.handleGetImage(n)}}handleGetImage(t){var n;this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){var t;if(this.showIncludeLegend&&null!=this.view&&this.includeMap&&null!=this.legendContainerEl){const n=null!=this.legend&&(null===(t=this.legend.activeLayerInfos)||void 0===t?void 0:t.length)>0;this.legendContainerEl.style.display=this.includeLegend&&n?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){var t,n;if(this.showIncludePopup){const i="includePopup";null===(t=this.handles)||void 0===t||t.remove(i),null===(n=this.reactiveUtils)||void 0===n||n.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready})).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t,n;return null===(n=null===(t=this.view)||void 0===t?void 0:t.popup)||void 0===n?void 0:n.visible}),(t=>{this.settingMapArea||(this.includePopup=t)})),i)}))}}handleLegendCreation(){var t,n,i,s,e;if(null!=this.view&&this.showIncludeLegend&&null!=this.legendContainerEl){const o=this.view.map,r=null===(n=null===(t=this.legend)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;null!=(null===(i=null==o?void 0:o.portalItem)||void 0===i?void 0:i.id)&&(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)===(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)||this.updateLegend()}}updateLegend(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{if(null!=this.legend&&(this.legend.destroy(),this.legend=null),null!=this.legendContainerEl){this.legendContainerEl.innerHTML="";const n=document.createElement("div");this.legendContainerEl.append(n);const[i]=await o(["esri/widgets/Legend"]);this.legend=new i({container:n,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(){var t,n,i,s;if(null!=this.view&&null!=this.compassContainerEl){const e=this.view.map,o=null===(n=null===(t=this.compass)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null===(i=null==e?void 0:e.portalItem)||void 0===i?void 0:i.id)===(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)||this.updateCompass()}}updateCompass(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.compass)||void 0===n||n.destroy(),this.compass=null;const i=document.createElement("div");this.compassContainerEl.append(i);const[s]=await o(["esri/widgets/Compass"]);this.compass=new s({container:i,view:t})}))}updateScaleBar(){if(this.scaleBarContainerEl&&null!=this.view&&(this.scaleBarContainerEl.innerHTML="",this.showScaleBar)){const t=this.view.ui.getComponents(),n=null==t?void 0:t.find((({container:t})=>{var n;return null===(n=null==t?void 0:t.className)||void 0===n?void 0:n.includes("esri-scale-bar")}));null!=(null==n?void 0:n.container)&&"string"!=typeof n.container&&this.scaleBarContainerEl.append(n.container.cloneNode(!0))}}async viewScreenshot(){var t;if(null!=this.view&&this.includeMap&&(null==this.screenshot&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:2*this.view.width,height:2*this.view.height})),this.handleScaleBarSize(),null!=this.viewEl&&null!=this.viewWrapperEl)){const{height:t,width:n}=this.screenshot.data;t>n?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){"PDF"===this.selectedFileType&&(this.printEl.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.style.height="100%",this.viewEl.style.width="",this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content"}setMaxWidthOnViewContainer(){this.printEl.style.gridTemplateRows="",this.viewEl.style.width="100%",this.viewEl.style.height="",this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%"}checkPopupOpen(){if(null!=this.view){const t=this.view.popup.container,n=null==t?void 0:t.querySelector(".esri-popup .esri-feature__main-container");if(null!=n){const t=n.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(n.cloneNode(!0));const i=this.popupContentEl.querySelectorAll("canvas");t.forEach(((t,n)=>{var s;const e=t.toDataURL(),o=document.createElement("img");o.src=e;const r=t.getAttribute("style");r&&o.setAttribute("style",r);const a=i[n];null!=a&&(a.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(s=o.parentElement)||void 0===s?void 0:s.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}}createScreenshot(){var t,n,i;if(null!=this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");const s=document.createElement("div"),e=document.createElement("calcite-button"),o=document.createElement("calcite-button");e.innerHTML="PDF"===this.selectedFileType?null===(t=this.messages)||void 0===t?void 0:t.export:null===(n=this.messages)||void 0===n?void 0:n.downloadImage,o.innerHTML=null===(i=this.messages)||void 0===i?void 0:i.returnToMap,o.appearance="outline-fill",e.onclick=this.exportPreviewOnClick.bind(this),o.onclick=this.screenshotReturn.bind(this),s.append(o,e),this.screenshotImgContainer.append(this.screenshotImg,s),this.screenshotPreview.append(this.screenshotImgContainer),this.view.container.append(this.screenshotPreview)}}createMaskDiv(){null!=this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML="\n.screenshot-preview.hide, .hide {\n display: none;\n}\n\n.screenshot-cursor {\n cursor: crosshair;\n}\n\n.relative {\n position: relative;\n}\n\n#screenshot-mask {\n position: absolute;\n background: var(--instant-apps-screenshot-mask-background);\n border: var(--instant-apps-screenshot-mask-border);\n}\n\n.screenshot-preview {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-align: center;\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n.screenshot-preview * {\n box-sizing: border-box;\n}\n\n.screenshot-img-container img {\n max-height: 75%;\n max-width: 75%;\n object-fit: contain;\n box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);\n margin-bottom: 0.5em;\n}\n\n.screenshot-img-container {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n margin-bottom: 8px;\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n}\n\n.screenshot-img-container calcite-button {\n margin: 5px;\n}",this.view.container.append(this.screenshotStyle),this.view.container.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){null!=this.view&&(this.settingMapArea=!0,t&&this.view.popup.visible&&(this.popupHiddenByMapArea=!0,this.view.popup.container.style.display="none"),this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view.container.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",(async t=>{null!=this.view&&(t.stopPropagation(),"end"!==t.action?this.updateMaskSize(t):this.maskScreenshot())})),st))}updateMaskSize(t){if(null!=this.view){const n=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),s=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),e=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:n,y:s,width:i-n,height:e-s},this.setMaskPosition(this.area)}}maskScreenshot(){var t;if(null!=this.view&&null!=this.area){this.view.removeHandles(st);const n=this.area.height,i=this.area.width;this.showScaleBar&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3&&.75*this.view.width<i)),this.view.takeScreenshot({area:this.area,width:2*i,height:2*n,format:"jpg"}).then((t=>{var n;this.screenshot=t,null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null),"PDF"===this.selectedFileType?(this.showPreview(null==t?void 0:t.dataUrl),this.resetPopupVisibility()):(null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1))}))}}setMaskPosition(t){null!=t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove()}clamp(t,n,i){return t<n?n:t>i?i:t}showPreview(t){t&&(this.screenshotPreview.classList.remove("hide"),null!=this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){var t;if(this.showScaleBar&&"2d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&null!=this.scaleBarContainerEl){const t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),n=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,"top"),this.setScalebarWidth(n,"bottom")}}setScalebarWidth(t,n){var i;if(null!=t&&null!=this.screenshot){const s=this.screenshot.data.width/2,e=Number(t.style.width.replace("px",""));null===(i=this.scaleBarContainerEl)||void 0===i||i.style.setProperty(`--instant-apps-scale-bar-${n}`,e/s*100+"%")}}removeScreenshotElements(){var t,n,i;null===(t=this.view)||void 0===t||t.removeHandles(st),null===(n=this.screenshotPreview)||void 0===n||n.remove(),null===(i=this.screenshotStyle)||void 0===i||i.remove()}resetPopupVisibility(){this.view&&this.settingMapArea&&this.popupHiddenByMapArea&&(this.view.popup.container.style.display=""),this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){this.selectedFileType=t.target.value,"PDF"===this.selectedFileType?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}get el(){return e(this)}static get watchers(){return{includeMap:["watchIncludeMap"],view:["watchView"]}}};et.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 .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.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{et as instant_apps_export}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,H as o,g as e}from"./p-c3eae9ba.js";import{l as n}from"./p-d001e961.js";import{b as a}from"./p-3df0f3d3.js";import{w as r}from"./p-04674a1e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const l="instant-apps-scoreboard",d=`${l}--`,c=`${l}__`,h=r.medium[1],p={BASE:l,itemsContainer:`${c}items-container`,items:`${c}items`,item:`${c}item`,label:`${c}item-label`,value:`${c}item-value`,valuePlaceholder:`${c}item-value-placeholder`,position:{bottom:`${c}position--bottom`,side:`${c}position--side`,left:`${c}position--left`,right:`${c}position--right`},mode:{floating:`${c}mode--floating`,pinned:`${c}mode--pinned`}},u=class{constructor(s){t(this,s),this.scoreboardItemsUpdated=i(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await this.view.map.loadAll();const t=this.items.map((t=>{var i;return null===(i=null==t?void 0:t.layer)||void 0===i?void 0:i.id}));this.layers=this.view.map.allLayers.filter((i=>(i=>(t=>!t.isTable)(i)&&(t=>"feature"===t.type||"scene"===t.type)(i)&&(i=>t.indexOf(i.id)>-1)(i))(i))),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach((t=>t.outFields=["*"]));const t=[];this.layers.forEach((i=>{const s=this.view.whenLayerView(i);t.push(s)}));const i=(await Promise.allSettled(t)).filter((t=>"fulfilled"==t.status&&t.value)).map((t=>t.value)),s=[];i.forEach((t=>{var i;return s.push(null===(i=this.reactiveUtils)||void 0===i?void 0:i.whenOnce((()=>!t.updating)))})),await Promise.all(s),this.layerViews=new this.Collection([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&0===this.layers.length||this.layerViews&&0===this.layerViews.length)return;this.state="calculating";const t=[...this.items],i=[];this.queryStatDefinitions(t,i);const s=await Promise.all(i);this.handleQueryFeaturesResponses(s,t),this.items.length=0,t.forEach((t=>this.items.push(t))),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){var t;new ResizeObserver((()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)})).observe(null===(t=this.el)||void 0===t?void 0:t.parentElement);try{this.state="loading",await this.initMessages()}catch(t){return this.state="disabled",Promise.reject()}finally{if(!this.view||!this.items)return this.state="disabled",Promise.reject();try{return await this.initModules(),Promise.resolve()}catch(t){return this.state="disabled",Promise.reject()}}}async componentDidLoad(){var t;if("disabled"!==this.state)try{await(null===(t=this.reactiveUtils)||void 0===t?void 0:t.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready}))),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch(t){this.state="disabled",console.error(`${l}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){var t,i,s,o,e,n;this.state="disabled",this.itemIndex=0,null===(t=this.layers)||void 0===t||t.removeAll(),null===(i=this.layers)||void 0===i||i.destroy(),this.layers=null,null===(s=this.layerViews)||void 0===s||s.removeAll(),null===(o=this.layerViews)||void 0===o||o.destroy(),this.layerViews=null,null===(e=this.handles)||void 0===e||e.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await a(this.el))[0],this.messages=Object.assign(Object.assign({},this.messages),t),Promise.resolve()}catch(t){console.error("FAILED TO LOAD MESSAGES"),Promise.reject()}}async initModules(){try{const[t,i,s,o]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/core/Collection","esri/intl"]);return this.reactiveUtils=i,this.Collection=s,this.intl=o,this.handles=new t,this.layers=new s,this.layerViews=new s,Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}async loadMapResources(){const{map:t}=this.view,i=t;try{return await i.loadAll(),Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}generateUID(){return t=>{const i=Math.random(),s=Math.floor(10*Math.random())+11,o=i.toString(s).replace("0.","");t.uid=o}}render(){var t,i;const{state:e}=this,n="disabled"===e,a="loading"===e||"calculating"===e||"layerView"===this.queryType&&(null===(t=this.view)||void 0===t?void 0:t.updating)?this.renderProgress():null;return s(o,{key:"5a7e3fdc0753d3f951a71397519ebf07ecd68e03",class:`${this.getPositionClass} ${this.getStyleClass}`},n?null:[a,(null===(i=this.items)||void 0===i?void 0:i.length)>0?this.renderBase():null])}renderBase(){return s("div",{key:"instant-apps-scoreboard-base",class:l},this.renderContent())}renderContent(){const{state:t}=this;return"loading"===t?this.renderLoader():"calculating"===t||"complete"===t?this.renderItemsContainer():null}renderItemsContainer(){const[t,i]=this.renderPreviousNextButtons();return s("div",{class:p.itemsContainer},t,this.renderItems(),i)}renderPreviousNextButtons(){var t,i,o;const e=this.getItemLimit(),n=(null===(t=this.items.filter((t=>t.visible)))||void 0===t?void 0:t.length)<=e,a=0===this.itemIndex,r=this.isEnd,l=!!this.isMobile||"bottom"===this.position,d=l?"start":"center",c={previous:l?"chevron-left":"chevron-up",next:l?"chevron-right":"chevron-down"},h=a||n?"blank":c.previous,p=r||n?"blank":c.next,u={previous:a||n,next:r||n},b="transparent",m=this.isMobile?"s":"l",v={previous:null===(i=this.messages)||void 0===i?void 0:i.previous,next:null===(o=this.messages)||void 0===o?void 0:o.next};return[s("calcite-action",{onClick:this.previousItem.bind(this),icon:h,disabled:u.previous,alignment:d,scale:m,appearance:b,text:v.previous,label:v.previous}),s("calcite-action",{onClick:this.nextItem.bind(this),icon:p,disabled:u.next,alignment:d,scale:m,appearance:b,text:v.next,label:v.next})]}renderItems(){const{items:t}=p,i=this.getItemsToDisplay.map((t=>this.renderItem(t)));return s("ul",{class:t},i)}renderItem(t){const{label:i}=t;return s("li",{class:p.item},s("span",{class:p.label,title:i},i),this.renderValue(t))}renderValue(t){var i,o,e;const{displayValue:n}=t,a="disabled"===this.state,r=void 0===n&&"calculating"===this.state,l=n||(null===(i=this.messages)||void 0===i?void 0:i.NA),d=null===(o=this.layers)||void 0===o?void 0:o.find((i=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)===i.id})),c=!(null==d?void 0:d.visible),h=r?this.renderValuePlaceholder():a?"":c?s("calcite-icon",{icon:"view-hide",scale:"l",title:null===(e=this.messages)||void 0===e?void 0:e.layerVisibilityOff}):l;return s("span",{class:p.value},h)}renderValuePlaceholder(){return s("span",{class:p.valuePlaceholder})}renderProgress(){return s("calcite-progress",{key:`${d}calcite-progress`,type:"indeterminate"})}renderLoader(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.loading;return s("calcite-loader",{key:`${d}calcite-loader`,label:i,text:i,scale:"m"})}get getPositionClass(){const{bottom:t,left:i,right:s,side:o}=p.position;return this.isMobile||"bottom"===this.position?t:`${"left"===this.position?i:s} ${o}`}get getStyleClass(){const{floating:t,pinned:i}=p.mode;return this.isMobile?i:"floating"===this.mode?t:i}get checkMobile(){var t,i;const s=null===(i=null===(t=this.el)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.offsetWidth;return!isNaN(s)&&s>0&&s<h}get getItemsToDisplay(){const t=this.getItemLimit();return this.items.filter((t=>t.visible)).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){const t=this.getItemLimit(),i=this.items.slice(this.items.length-t).map((t=>t.uid)),s=this.items.slice(this.itemIndex,this.itemIndex+t).map((t=>t.uid));return i.every(((t,i)=>t===s[i]))}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,i){const s=(t,i)=>{var s,o,e,n,a;const r="layer"===this.queryType?t.layer.createQuery():t.createQuery(),l=this.geometry?this.geometry:this.view.extent;r.outStatistics=[i],r.geometry=l;const d=null!==(a=null!==(o=null===(s=null==t?void 0:t.filter)||void 0===s?void 0:s.timeExtent)&&void 0!==o?o:null===(n=null===(e=null==t?void 0:t.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null;return d&&(r.timeExtent=d),r};t.forEach((()=>async t=>{var o;const e=null===(o=this.layerViews)||void 0===o?void 0:o.find((i=>{var s;return i.layer.id===(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)}));if(!e)return;const n=(t=>{const{field:i,operation:s}=t;return{onStatisticField:i,outStatisticFieldName:`${i}_${s}`,statisticType:s}})(t),a=s(e,n),r="layer"===this.queryType?e.layer.queryFeatures(a):e.queryFeatures(a);i.push(r)})())}handleQueryFeaturesResponses(t,i){t.forEach((()=>(t,s)=>{const o=(t=>{const i=t.features[0],{attributes:s}=i;return Object.values(s)[0]})(t),e=null!==o,n=e?this.intl.formatNumber(o,{notation:"compact",compactDisplay:"short"}):null;i[s].displayValue=e?`${n}`:"",i[s].value=o})())}initStationaryWatcher(){var t,i;const s={once:!0,initial:!0},o=()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.interacting)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),s)},e="stationary-watcher-key";(null===(t=this.handles)||void 0===t?void 0:t.has(e))&&this.handles.remove(e),null===(i=this.handles)||void 0===i||i.add((()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.stationary}),(()=>o()))})(),e)}initViewUpdateWatcher(){return this.reactiveUtils.watch((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.updating}),(()=>{this.reactiveUtils.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.updating)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),{once:!0,initial:!0})}),{initial:!0})}watchLayerVisibility(){var t,i;if(!this.layers)return;const s="visbilityWatcherKey";null===(t=this.handles)||void 0===t||t.remove(s);const o=[];this.layers.forEach((t=>{const i=async()=>{const i=await this.view.whenLayerView(t);await this.reactiveUtils.whenOnce((()=>!1===(null==i?void 0:i.updating))),this.calculateScoreboardItemValues()},s=this.reactiveUtils.watch((()=>null==t?void 0:t.visible),(async()=>i()));o.push(s)})),null===(i=this.handles)||void 0===i||i.add([...o],s)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?6:this.itemLimit}get el(){return e(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};u.style=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word;font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}";export{u as instant_apps_scoreboard}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as a,H as e,g as i}from"./p-c3eae9ba.js";import{g as n}from"./p-3df0f3d3.js";import{l as r}from"./p-d001e961.js";import{g as s}from"./p-a9a72626.js";import"./p-ac122d9e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const o={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},c=new Map;function l(t){return c[t]||""}Object.keys(o).forEach((t=>{c[t]=`<svg viewBox="0 0 32 32" width="32" height="32" fill="${o[t].fill}"><path d="${o[t].path}"/></svg>`}));const p="instant-apps-create calcite-mode-light",h=class{constructor(a){t(this,a),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=p,this.messages={},this.CreateOptionsLookup=void 0}contentChanged(){Object.keys(this.CreateOptionsLookup).forEach((t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)}))}componentWillLoad(){return this.baseClass="dark"===s(this.el)?"instant-apps-create calcite-mode-dark":p,this.initializeModules(),n(this).then((()=>{this.initializePredefinedOptions()}))}disconnectedCallback(){var t,a;null===(t=this.handles)||void 0===t||t.removeAll(),null===(a=this.handles)||void 0===a||a.destroy(),this.handles=null}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel();return a(e,{key:"ee6a5076dce36a238288216de4cbd77d16347c15"},a("div",{key:"c22b60a05f5d0b430c76ab8edcf52577f1eecfaa",class:this.baseClass},t))}async initializeModules(){const[t]=await r(["esri/core/Handles"]);return this.handles=new t,Promise.resolve()}initializePredefinedOptions(){const{instantApps:t,instantAppsDesc:a,mapViewer:e,mapViewerDesc:i,arcgisStoryMaps:n,storyMapsDesc:r,experienceBuilder:s,experienceBuilderDesc:o,dashboards:c,dashboardsDesc:p}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:a,img:l("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:e,subtitle:i,img:l("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:n,subtitle:r,img:l("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:s,subtitle:o,img:l("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:c,subtitle:p,img:l("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){var a,e;const i=this.getBaseUrl(this.portal),n=this._getEnvironment(i),r=this.contentHref();switch(t){case"instant-apps":return`${i}/apps/instantgallery/index.html?${r}`;case"dashboards":return`${i}/apps/dashboards/new#id=${null===(e=null===(a=this.content)||void 0===a?void 0:a.portalItem)||void 0===e?void 0:e.id}`;case"map-viewer":return`${i}/apps/mapviewer/index.html?${r}`;case"story-maps":return`https://storymaps${"prod"===n?"":n}.arcgis.com/stories/new?${r}`;case"experience-builder":return`https://experience${"prod"===n?"":n}.arcgis.com/builder/page/template/?${r}`}return""}contentHref(){var t,a,e,i,n;return"Web Map"===(null===(a=null===(t=null==this?void 0:this.content)||void 0===t?void 0:t.portalItem)||void 0===a?void 0:a.type)?`webmap=${this.content.portalItem.id}`:"Web Scene"===(null===(i=null===(e=null==this?void 0:this.content)||void 0===e?void 0:e.portalItem)||void 0===i?void 0:i.type)?`webscene=${this.content.portalItem.id}`:"function"==typeof(null===(n=null==this?void 0:this.content)||void 0===n?void 0:n.fetchMembers)?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";const{customBaseUrl:a,portalHostname:e,urlKey:i}=t,{protocol:n}=location;return`${n}//${i?`${i}.${a}`:e}`}_getEnvironment(t){var a;let e=null;try{e=null===(a=new URL(t))||void 0===a?void 0:a.hostname}catch(t){}return null==e||-1===e.indexOf("arcgis.com")?"dev":(-1!==e.indexOf("devext")?"dev":-1!==e.indexOf("qaext")&&"qa")||"prod"}renderPopover(){var t,e;const i=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t,label:"Create panel"},i),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:null===(t=this.messages)||void 0===t?void 0:t.create,text:null===(e=this.messages)||void 0===e?void 0:e.create})]}renderPanel(){const t=this.showHeader?this.renderHeader():null,e=this.renderOptions();return a("div",{class:"inline"===this.mode?"instant-apps-create__inline-container":"instant-apps-create__popover-container"},t,e)}renderHeader(){const{create:t,createSubheading:e}=this.messages;return a("div",{class:"instant-apps-create__header"},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map((t=>this.renderOption(t))))}renderOption(t){var e;"string"==typeof t&&(t=null===(e=null==this?void 0:this.CreateOptionsLookup)||void 0===e?void 0:e[t]);const{title:i,subtitle:n,img:r,href:s}=t||{};return a("a",{class:"instant-apps-create__option",href:s,target:"_blank"},a("span",{class:"instant-apps-create__option-icon",innerHTML:r}),a("span",{class:"instant-apps-create__option-text"},a("span",{class:"instant-apps-create__option-text-wrapper"},a("h3",{class:"instant-apps-create__option-title"},i),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:"instant-apps-create__option-subtitle"},n)))}get el(){return i(this)}static get watchers(){return{content:["contentChanged"]}}};h.style=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:-moz-fit-content;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}";export{h as instant_apps_create}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,g as e,h as s,H as o,F as a}from"./p-c3eae9ba.js";import{g as l}from"./p-7ded7b2e.js";import{E as h}from"./p-80cb7c73.js";import{g as n}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7)}get el(){return e(this)}appLayout;appProxies;basemapConfig;coverPageEnabled;customInfoText;defaultAppLayout;defaultCenter="";defaultGlobalId="";defaultLayer="";defaultLevel="";defaultOid="";defaultWebmap="";honorMapFieldSettings=!1;introductionWindowEnabled=!1;enableAutoRefresh=!1;enableBasemap=!0;enableColumnReorder=!0;enableCSV=!0;enableFloorFilter=!0;enableFullscreen=!0;enableHome=!0;enableLegend=!0;enableSearch=!0;enableShare=!1;enableZoom=!0;locale;mapInfos=[];onlyShowUpdatableLayers=!0;popupHeaderColor;popupHeaderHoverColor;popupHeaderHoverTextColor;popupHeaderTextColor;searchConfiguration;shareIncludeEmbed;shareIncludeSocial;showNewestFirst=!0;theme="light";zoomAndScrollToSelected=!1;zoomToScale;_deleteDialogOpen=!1;_enableCreateFeatures=!0;_hideFooter=!1;_hideTable=!1;_isMobile=!1;_isPortraitMobile=!1;_translations;_layer;_layoutMode=h.GRID;_mapInfo;_mapView;_panelOpen=!0;_numSelected=0;_filterOpen=!1;_showInformationHeader=!0;_layerIds;_isLoading=!0;_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"24b7324257b94560153db83dd6b29730bef8f38f"},s("calcite-shell",{key:"c7a445ffdf9fa59c7bd1aff125a77e811f6ce736",class:"position-relative"},s("calcite-panel",{key:"81598a858cfbdfcb6346bc3efa6eb55699d2c5ff",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case h.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case h.VERTICAL:case h.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case h.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case h.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case h.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case h.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case h.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case h.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===h.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==h.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} position-sticky`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,a="tableView"===this.appLayout,l=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===h.HORIZONTAL?"horizontal":"vertical",c=t===h.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,u=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,g=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${l}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?u:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!u?g:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:a,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,l="toggle-layout";return s(a,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:l,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":l},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_filterModal(){return s("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset(),this._mapCard.resetFilter()},onFilterUpdate:async()=>{const t=this._filterList.filterCount>0;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?h.HORIZONTAL:h.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";export{r as crowdsource_manager}
@@ -0,0 +1,21 @@
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{g as t,r as e,h as i,H as n}from"./p-c3eae9ba.js";import{g as r,a as s,b as o}from"./p-f6e81cf8.js";import{s as a}from"./p-c34857fe.js";import"./p-4f236b5d.js";import{g as h}from"./p-7ded7b2e.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-0668e30d.js";import"./p-80cb7c73.js";import"./p-570b13d9.js";import"./p-fb75e187.js";import"./p-d4056c1c.js";import"./p-0a24ad5f.js";
7
+ /*! *****************************************************************************
8
+ Copyright (c) Microsoft Corporation.
9
+
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
+ PERFORMANCE OF THIS SOFTWARE.
20
+ ***************************************************************************** */
21
+ var p=function(){return p=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},p.apply(this,arguments)};function w(t,e){var i=e;return i.rawResponse=!1,c(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function m(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:u,c(t,i)}var g=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return g.test(t)}function b(t){if(!g.test(t))return null;var e=t.match(g)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var k=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?l(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,r=p({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),s=r.portal,o=r.provider,a=r.clientId,h=r.expiration,c=r.redirectUri,u=r.popup,l=r.popupWindowFeatures,w=r.state,m=r.locale,g=r.params;if(n="arcgis"===o?s+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m:s+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m,g&&(n=n+"&"+f(g)),u){var v,b=((v={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){v.resolve=t,v.reject=e})),v);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new d(n.errorMessage,n.error))}else if(i){var r=JSON.parse(i);b.resolve(new t({clientId:a,portal:s,ssl:r.ssl,token:r.token,tokenExpires:new Date(r.expires),username:r.username}))}},i.open(n,"oauth-window",l),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=p({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),r=n.portal,s=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+s;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new d('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new d(e.errorMessage,e.error);return new t({clientId:s,portal:r,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,u="Unknown error";return h.error&&(c=h.error,u=h.error_description),a({error:c,errorMessage:u})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(r,s){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return r(t.parentMessageHandler(e))}catch(t){return s(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=p({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=p({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),r=n.portal,s=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return w(r+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:s,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:s,portal:r,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,r=v(i=this.portal),s=v(n),o=b(i),a=b(n),r&&s&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,r,s,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),c(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new d("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=l(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),r=n[0],s=n.slice(1);return""+i+r.toLowerCase()+"/"+s.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,r="arcgis:auth:requestCredential"===i.data.type,s=e.tokenExpires.getTime()>Date.now();if(n&&r){var o={};if(s){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),r=this.federatedServers[n];return r&&r.expires&&r.expires.getTime()>Date.now()?Promise.resolve(r.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return c(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(r){if(r.owningSystemUrl){if(s=r.owningSystemUrl,o=l(function(t){if(!g.test(t))return t;switch(b(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),a=l(s).replace(/https?:\/\//,""),new RegExp(a,"i").test(o))return c(r.owningSystemUrl+"/sharing/rest/info",e);throw new d(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var s,o,a;if(r.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:r.authInfo});throw new d(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?m(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):m(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=p({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return m(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();const y=class{get el(){return t(this)}authentication=new k({});locale;serializedAuthentication="";async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?k.deserialize(this.serializedAuthentication):new k({})}solutionItemId="";async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}showLoading=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(t){e(this,t),this.serializedAuthentication&&(this.authentication=k.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=a.getStoreInfo("spatialReferenceInfo"),e=a.getStoreInfo("featureServices").length>0,o=a.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(r(o.templates,this._translations)),this._organizationVariables=JSON.stringify(s(this._translations)),i(n,{key:"f35438d2bb88a8d3bc41d33af02e2fe36e2471de"},this._solutionIsLoaded?null:i("calcite-loader",{label:""}),i("div",{key:"cb9773d8ab59089cde1de594960e0d978ec6b1fb",class:"configuration-container"},i("div",{key:"b72462547e2930c170552816ea6bd1640326e67e",class:"configuration"},i("calcite-tabs",{key:"4d2f673c9463a6ad40a64e9dd4ea7771be1658cf",class:"config-tabs"},i("calcite-tab-nav",{key:"850511fd6a627da0117e8b93451fe5da0ef7ad8c",slot:"tab-nav"},i("calcite-tab-title",{key:"8b3db2665846b1529c4fcd4829516b854705028b"},this._translations.definitionTab),e?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{key:"6298bbcc14066f2ffce75076718a5b802bc7dcb1",class:"config-tab",selected:!0},i("div",{key:"6876e11323dce264ead965243d476abff1e0d3f4",class:"config-solution"},i("div",{key:"011f8114fa18676728410ef45eccdec512c81f93",class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{key:"e38b67164540f2a0bd8aa7ceb19b1944e6c30a49",appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"26e352cfd8e3f701bac219afc10e8f33f22042c0",class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,locale:this.locale,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),e?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{enableDefault:!!t.default,enabled:t?.enabled,featureServices:a.getStoreInfo("featureServices").map((t=>t.name)),id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locale:this.locale}))):null))))}_currentEditItemId="";_organizationVariables="";_solutionContentsComponent;_solutionIsLoaded=!1;_solutionVariables="";_templateHierarchy=[];_translations;_treeOpen=!0;_solutionStoreHasChanges=!1;_solutionEditorHasChanges=!1;_solutionEditorHasErrors=!1;_canSave=!1;_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(a.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await a.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=a.getStoreInfo("solutionData");let e;this._templateHierarchy=[...o(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=a.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await a.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"],locale:["localeWatchHandler"]}}};y.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%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{y as solution_configuration}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e,f as t}from"./p-c3eae9ba.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=((e,t)=>e!==t))=>{const s=o(e);let n=new Map(Object.entries(null!=s?s:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;n=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},a=e=>(r.get.forEach((t=>t(e))),n.get(e)),u=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},i="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>a(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(u(t,s),!0)}),p=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:i,get:a,set:u,on:p,onChange:(t,s)=>{const n=p("set",((e,n)=>{e===t&&s(n)})),r=p("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}