@esri/solutions-components 1.0.0-next.20250509 → 1.0.0-next.20250513

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 (417) hide show
  1. package/dist/cdn/{SBBAYIA5.js → 2AE65J7Z.js} +2 -2
  2. package/dist/cdn/{H2PYJODK.js → 2FXMJWEJ.js} +2 -2
  3. package/dist/cdn/{DGJOUZR5.js → 2HQWNDOT.js} +1 -1
  4. package/dist/cdn/{NLKCNLQB.js → 2HW4GV5C.js} +2 -2
  5. package/dist/cdn/{L5MZYQWZ.js → 2LWA3LPI.js} +2 -2
  6. package/dist/cdn/2MC74LFI.js +18 -0
  7. package/dist/cdn/{2X42FQPI.js → 2PNI22UK.js} +2 -2
  8. package/dist/cdn/{ZSNDJE3R.js → 2QX2DZO7.js} +1 -1
  9. package/dist/cdn/{Z6MML6SM.js → 2Y7EB6IS.js} +1 -1
  10. package/dist/cdn/{MEXCWFXO.js → 2ZOPKOQW.js} +2 -2
  11. package/dist/cdn/33R6U7YA.js +18 -0
  12. package/dist/cdn/{XGZPINBJ.js → 356X3OF7.js} +2 -2
  13. package/dist/cdn/{AW6GVVCK.js → 37UTA2CS.js} +2 -2
  14. package/dist/cdn/{NL5SZJG7.js → 3DPLKEDU.js} +2 -2
  15. package/dist/cdn/{TEJLYLG3.js → 3KNYDGE4.js} +2 -2
  16. package/dist/cdn/{OPAFHR65.js → 3P3P323U.js} +2 -2
  17. package/dist/cdn/{CQFOO7QD.js → 3RC2WF5B.js} +1 -1
  18. package/dist/cdn/{7XWBWQ4G.js → 3S3YE7LS.js} +2 -2
  19. package/dist/cdn/{ITBKHXR7.js → 3WNCCUTZ.js} +1 -1
  20. package/dist/cdn/{55Q3UBSS.js → 3WW3YWCT.js} +2 -2
  21. package/dist/cdn/{7Q3MQPSX.js → 3Y5R5IUQ.js} +2 -2
  22. package/dist/cdn/{UB2OSPCQ.js → 4745A7PL.js} +1 -1
  23. package/dist/cdn/47R5RC4C.js +18 -0
  24. package/dist/cdn/{IM7QQB4B.js → 47WHCZIM.js} +2 -2
  25. package/dist/cdn/{5G5LFIDR.js → 4CCXX3SG.js} +2 -2
  26. package/dist/cdn/{VM5WBDOI.js → 4DVIYVRO.js} +2 -2
  27. package/dist/cdn/{PRM3M7W3.js → 4HNFRLEB.js} +2 -2
  28. package/dist/cdn/{MESJIE5F.js → 4M3HYUSJ.js} +2 -2
  29. package/dist/cdn/{XDHR67UO.js → 4SNRICQS.js} +2 -2
  30. package/dist/cdn/{3K5XH7WO.js → 4YGER5QC.js} +1 -1
  31. package/dist/cdn/{XXMXWRAP.js → 4Z3IUDH5.js} +4 -4
  32. package/dist/cdn/{N75HIPXS.js → 4ZM2K4B5.js} +1 -1
  33. package/dist/cdn/{V3V45HIT.js → 536426JP.js} +2 -2
  34. package/dist/cdn/{JDI4Y7XL.js → 53N47Q3X.js} +2 -2
  35. package/dist/cdn/{BKTDSQ5E.js → 55KC257N.js} +2 -2
  36. package/dist/cdn/{IML67XC5.js → 55P3U5JJ.js} +2 -2
  37. package/dist/cdn/{T24JMSJB.js → 5AVYYC47.js} +2 -2
  38. package/dist/cdn/{USCS7ZOZ.js → 5AWXJIBG.js} +2 -2
  39. package/dist/cdn/{RQF4KGJG.js → 5CSQUWE5.js} +2 -2
  40. package/dist/cdn/{PIIFPRWS.js → 5D3XSPVE.js} +2 -2
  41. package/dist/cdn/{7HCBMOJG.js → 5DHQPMEJ.js} +2 -2
  42. package/dist/cdn/{XRAHMMYT.js → 5GI5HKKC.js} +2 -2
  43. package/dist/cdn/{RICWFBVP.js → 5IYB6I37.js} +2 -2
  44. package/dist/cdn/{4YNV3LL5.js → 5RGCCJRI.js} +2 -2
  45. package/dist/cdn/{K7L3LTTD.js → 5RJEQIH2.js} +1 -1
  46. package/dist/cdn/{7UEK3DXM.js → 5XZ2VEVE.js} +2 -2
  47. package/dist/cdn/{SNDF7YMU.js → 6DG3MERJ.js} +2 -2
  48. package/dist/cdn/{MNNNZZVI.js → 6HNT2RSP.js} +2 -2
  49. package/dist/cdn/{5EZJ2DME.js → 6KD4C6OL.js} +2 -2
  50. package/dist/cdn/{GWMI7SRU.js → 6MHBJPS2.js} +2 -2
  51. package/dist/cdn/6QS23BIH.js +18 -0
  52. package/dist/cdn/{OBYUVAOE.js → 6VGFUAX5.js} +2 -2
  53. package/dist/cdn/{J3AZ36S3.js → 72KOOVBA.js} +2 -2
  54. package/dist/cdn/{INDFSGPY.js → 74FUG5XE.js} +2 -2
  55. package/dist/cdn/{5ORSO5QA.js → 7FTLGHTG.js} +2 -2
  56. package/dist/cdn/{WMI6SFI3.js → 7KBEEBMB.js} +2 -2
  57. package/dist/cdn/{35P6UDSV.js → 7KFM4VXO.js} +2 -2
  58. package/dist/cdn/{UPR4UPDN.js → 7KGIY4Y7.js} +2 -2
  59. package/dist/cdn/{5X6XSS3G.js → 7RAJQNDO.js} +2 -2
  60. package/dist/cdn/{PULSXLXV.js → 7VOZDFCU.js} +2 -2
  61. package/dist/cdn/{2SNN45WE.js → 7WDOCGDK.js} +1 -1
  62. package/dist/cdn/{BQTDT2CQ.js → A4AUBCIN.js} +2 -2
  63. package/dist/cdn/{7KQNE4LS.js → A52VN6U6.js} +2 -2
  64. package/dist/cdn/{SJ2L7I4D.js → ACHUFFFB.js} +2 -2
  65. package/dist/cdn/{LZCG3PUX.js → ADVQIEJR.js} +1 -1
  66. package/dist/cdn/{HLQ3GGP4.js → AI3WLROH.js} +2 -2
  67. package/dist/cdn/{PBDY4N37.js → AJYMDWRR.js} +2 -2
  68. package/dist/cdn/{CMUYK6L5.js → ANRR2Q3N.js} +2 -2
  69. package/dist/cdn/{J5DECLUT.js → AT3EMTZF.js} +1 -1
  70. package/dist/cdn/{ZX2WVODB.js → AXEU574G.js} +2 -2
  71. package/dist/cdn/{Z4ZMVS45.js → AYBKCTTB.js} +2 -2
  72. package/dist/cdn/{DMGLXTNG.js → B2634ITV.js} +2 -2
  73. package/dist/cdn/{435C2RXR.js → B33KRB36.js} +2 -2
  74. package/dist/cdn/{2LIN3EFP.js → BMMWWZDP.js} +2 -2
  75. package/dist/cdn/BVAH7X2K.js +18 -0
  76. package/dist/cdn/{VAQQRDFO.js → BZM6QEVQ.js} +1 -1
  77. package/dist/cdn/{OHY2KQUC.js → C44EKR3M.js} +1 -1
  78. package/dist/cdn/{IJWNOINQ.js → CAPUUGJR.js} +2 -2
  79. package/dist/cdn/{424PZHQ5.js → CBMZJGCV.js} +2 -2
  80. package/dist/cdn/{HIYSQGTK.js → CCHSAYV3.js} +2 -2
  81. package/dist/cdn/{6KKLCZH2.js → CDXLLR33.js} +2 -2
  82. package/dist/cdn/{ICLRLVVJ.js → CIQJF5B3.js} +2 -2
  83. package/dist/cdn/{J4DDOYKZ.js → CNU3TPX7.js} +2 -2
  84. package/dist/cdn/{HEFARXFW.js → CTH3ZJDZ.js} +2 -2
  85. package/dist/cdn/{7L3RVANR.js → CUFYPINX.js} +2 -2
  86. package/dist/cdn/{CIN3SN7W.js → CZOWNF5N.js} +2 -2
  87. package/dist/cdn/{N5C5RKHD.js → D2BGUJW5.js} +2 -2
  88. package/dist/cdn/{PUYHWBNK.js → D3DQ3LMO.js} +2 -2
  89. package/dist/cdn/{6N4IY6RI.js → DAC3GWK5.js} +2 -2
  90. package/dist/cdn/{MMZK7VDY.js → DGN5X5A4.js} +2 -2
  91. package/dist/cdn/{XHNH4HWU.js → DHPOWICJ.js} +2 -2
  92. package/dist/cdn/{KAET4R4I.js → DHYYFX2C.js} +1 -1
  93. package/dist/cdn/{M7ALE6KV.js → DVO5GTFT.js} +2 -2
  94. package/dist/cdn/{XQMS45RU.js → E35TDRWG.js} +2 -2
  95. package/dist/cdn/{36OJB33V.js → EDPL4TKI.js} +2 -2
  96. package/dist/cdn/{ZJMDC5EX.js → EE7WJZP4.js} +2 -2
  97. package/dist/cdn/{RZODPKW4.js → EIZMLFHI.js} +1 -1
  98. package/dist/cdn/{5Y63RNHU.js → EOM3X2VQ.js} +2 -2
  99. package/dist/cdn/{SCPTYDM4.js → EOOHBALJ.js} +2 -2
  100. package/dist/cdn/{YL5AS7IP.js → ETTBV6A5.js} +2 -2
  101. package/dist/cdn/{R2HY3OH6.js → EZLMQOSZ.js} +2 -2
  102. package/dist/cdn/{4Y7P3RAH.js → EZUUCYDZ.js} +2 -2
  103. package/dist/cdn/{Z7PAFRTZ.js → F57GZO2E.js} +2 -2
  104. package/dist/cdn/{X4BR4G2Q.js → FDZH3TUO.js} +2 -2
  105. package/dist/cdn/{4AB2653C.js → FIE266AU.js} +2 -2
  106. package/dist/cdn/{GZ5DMBN5.js → FJRGFI2V.js} +1 -1
  107. package/dist/cdn/{7VLWDHRA.js → FLC5VXCW.js} +2 -2
  108. package/dist/cdn/{CPEOHMBH.js → FR5YKIYR.js} +2 -2
  109. package/dist/cdn/{EVSAWS5V.js → FZAZSLYD.js} +2 -2
  110. package/dist/cdn/{QV3YJHLC.js → G2KU4GJD.js} +1 -1
  111. package/dist/cdn/{YJF3FQQW.js → G6RUG3BR.js} +2 -2
  112. package/dist/cdn/{YV2KVYYD.js → GA57AOAH.js} +2 -2
  113. package/dist/cdn/{RA4WYINA.js → GGVX7BU3.js} +2 -2
  114. package/dist/cdn/GHIWQFDY.js +4 -0
  115. package/dist/cdn/{4DMLN7C7.js → GM3ATYLE.js} +1 -1
  116. package/dist/cdn/{EOR6FMKC.js → GMCIGFUB.js} +2 -2
  117. package/dist/cdn/{EFTUD2CV.js → GPUA6MAJ.js} +2 -2
  118. package/dist/cdn/GPW2TCPZ.js +18 -0
  119. package/dist/cdn/{G466QX4L.js → GQU6FXIT.js} +1 -1
  120. package/dist/cdn/{RJDRQW52.js → GRCUUM5W.js} +2 -2
  121. package/dist/cdn/{KPRSMUMQ.js → GSFWKQWQ.js} +2 -2
  122. package/dist/cdn/{U25OTDOD.js → GYXP7WY2.js} +2 -2
  123. package/dist/cdn/{7RMNWPCQ.js → H4ZWRKI2.js} +2 -2
  124. package/dist/cdn/H6UT37EX.js +18 -0
  125. package/dist/cdn/{7XULXHRZ.js → H7Y4URDU.js} +2 -2
  126. package/dist/cdn/{BCXBJG72.js → HHVCX4HB.js} +1 -1
  127. package/dist/cdn/{BPEEKBR7.js → HOLWK3EZ.js} +2 -2
  128. package/dist/cdn/{B4HJBJTA.js → HSCOIXLG.js} +2 -2
  129. package/dist/cdn/{ZSPCCQU2.js → HTWIZOH4.js} +2 -2
  130. package/dist/cdn/{S5WNRS3W.js → HXLDVONX.js} +2 -2
  131. package/dist/cdn/{5EH5ABNA.js → HZFEYQGX.js} +1 -1
  132. package/dist/cdn/{4OGYUVGQ.js → HZIMPHWC.js} +2 -2
  133. package/dist/cdn/{BB4YELWP.js → I5XMZWO6.js} +2 -2
  134. package/dist/cdn/{WRRMV4PI.js → I7UVWQMY.js} +2 -2
  135. package/dist/cdn/{47I7OHHF.js → IDFWZFF5.js} +1 -1
  136. package/dist/cdn/{GNY77HPF.js → IG3I76TX.js} +1 -1
  137. package/dist/cdn/{VPXUKOUC.js → IKBVEVMI.js} +2 -2
  138. package/dist/cdn/{HIIYUUEW.js → IRVZT2BS.js} +2 -2
  139. package/dist/cdn/{4FGMEAIW.js → ISCASEIO.js} +1 -1
  140. package/dist/cdn/{6JI5OXDD.js → IVOSJYWQ.js} +2 -2
  141. package/dist/cdn/{BOJK6ZXD.js → IZGA6GXU.js} +2 -2
  142. package/dist/cdn/{FQOV67VE.js → JBH2RRSE.js} +2 -2
  143. package/dist/cdn/{LPXJI3PA.js → JGPXY5SS.js} +2 -2
  144. package/dist/cdn/{RV3Y5Y43.js → JIJBRLA5.js} +2 -2
  145. package/dist/cdn/{Y4CROHYY.js → JNWG7WSY.js} +2 -2
  146. package/dist/cdn/{P52HFT2R.js → JQV5TGAK.js} +2 -2
  147. package/dist/cdn/{YZGAFNYP.js → JUZCGG5Y.js} +2 -2
  148. package/dist/cdn/JYL4F373.js +4 -0
  149. package/dist/cdn/{BGWVAQHN.js → K4CSMHLX.js} +2 -2
  150. package/dist/cdn/{27QJLMW3.js → K4FMFGHK.js} +2 -2
  151. package/dist/cdn/{SHTM5TBH.js → KBLQQKHW.js} +2 -2
  152. package/dist/cdn/{6QAU4NYR.js → KCDVHUF2.js} +3 -3
  153. package/dist/cdn/{OSPYIY3S.js → KDKKKQOA.js} +2 -2
  154. package/dist/cdn/{UCYU2ZVX.js → KIU22HO4.js} +2 -2
  155. package/dist/cdn/{JUNJFTAF.js → KJGF4NJ3.js} +2 -2
  156. package/dist/cdn/{FSQQ2APB.js → KKSOLSMJ.js} +2 -2
  157. package/dist/cdn/KMJY2PGB.js +18 -0
  158. package/dist/cdn/{FBXVZ63D.js → KP6XEQR7.js} +2 -2
  159. package/dist/cdn/{ICETJ5L7.js → KQVVUDCM.js} +1 -1
  160. package/dist/cdn/{7K7DN72W.js → KUVX4OOK.js} +2 -2
  161. package/dist/cdn/{D2Y2VYAA.js → KVYB56FX.js} +2 -2
  162. package/dist/cdn/{JEOWOFGV.js → L2YHTSUT.js} +2 -2
  163. package/dist/cdn/{UTMLE3SN.js → L46SKXK3.js} +2 -2
  164. package/dist/cdn/{FPGTD47W.js → LBK4TQ4U.js} +2 -2
  165. package/dist/cdn/{JH6EUNS3.js → LH4PUHQS.js} +2 -2
  166. package/dist/cdn/LT2FXISZ.js +4 -0
  167. package/dist/cdn/{3WEGW5NC.js → LZVWOWHQ.js} +2 -2
  168. package/dist/cdn/{OT3XINKN.js → LZXK3MVJ.js} +2 -2
  169. package/dist/cdn/{HRXRBE4J.js → MB76IRBK.js} +2 -2
  170. package/dist/cdn/{VFZGCM33.js → MCIIM4XE.js} +2 -2
  171. package/dist/cdn/{C5NISEHO.js → MEMYGNMH.js} +2 -2
  172. package/dist/cdn/{2452KO7J.js → MFYJYT6Q.js} +2 -2
  173. package/dist/cdn/{RJVJXKOB.js → MGRH7AJX.js} +2 -2
  174. package/dist/cdn/{ECVA54TZ.js → MSCUGG2N.js} +1 -1
  175. package/dist/cdn/{M4AI76NV.js → MXKCH65B.js} +2 -2
  176. package/dist/cdn/MYF2CGM2.js +4 -0
  177. package/dist/cdn/{WVHATRWG.js → MYHI7ROY.js} +2 -2
  178. package/dist/cdn/{OVDKGSOB.js → N73I4LYZ.js} +2 -2
  179. package/dist/cdn/{ARPKSGRG.js → NLQ42NQW.js} +2 -2
  180. package/dist/cdn/{XW5NNESC.js → NYANCYTJ.js} +2 -2
  181. package/dist/cdn/{FXITJZAV.js → OAJSYATY.js} +2 -2
  182. package/dist/cdn/{UQD4DDWQ.js → OBGBZA5Q.js} +2 -2
  183. package/dist/cdn/{A6DMHYOF.js → OMLJWKTW.js} +2 -2
  184. package/dist/cdn/{PNBUAOL6.js → ONIJZZLM.js} +2 -2
  185. package/dist/cdn/{VPZT2JZV.js → OOGXSHWN.js} +2 -2
  186. package/dist/cdn/{EHYAB5QQ.js → OUAPE77Q.js} +2 -2
  187. package/dist/cdn/{BIOS2V5G.js → P4CX5EDN.js} +2 -2
  188. package/dist/cdn/{AXQXIZC6.js → P55AP2OS.js} +2 -2
  189. package/dist/cdn/{3YWY5IJP.js → P5SCKVEP.js} +2 -2
  190. package/dist/cdn/PDEMBJK2.js +18 -0
  191. package/dist/cdn/{E3HGKBP3.js → PJF5G4QB.js} +2 -2
  192. package/dist/cdn/{7UIUIVMT.js → PL3CH3LF.js} +2 -2
  193. package/dist/cdn/{KAPZF4E2.js → PNZ6XBPV.js} +1 -1
  194. package/dist/cdn/{FLPPIESF.js → PPEC24ZV.js} +2 -2
  195. package/dist/cdn/{VDIZRWGH.js → PVMRTOAH.js} +2 -2
  196. package/dist/cdn/{R3UCIE4U.js → PWDTDHPM.js} +1 -1
  197. package/dist/cdn/{D73KUPSF.js → Q5EJXK76.js} +2 -2
  198. package/dist/cdn/{J7OFNHJE.js → QBKMKNGL.js} +2 -2
  199. package/dist/cdn/{WN3VAL43.js → QCF4PYQB.js} +1 -1
  200. package/dist/cdn/{WD2QCZTO.js → QHJVQDMN.js} +2 -2
  201. package/dist/cdn/{TXGHJPP2.js → QIVU3W4F.js} +2 -2
  202. package/dist/cdn/{LECLO3XE.js → QRM36WK6.js} +2 -2
  203. package/dist/cdn/{3TUZLPWH.js → QZVDSGNQ.js} +2 -2
  204. package/dist/cdn/{BY4EXEJG.js → RFSMSYJR.js} +2 -2
  205. package/dist/cdn/{EUPHXLZZ.js → RKUNOYZR.js} +2 -2
  206. package/dist/cdn/{TPTCOLFA.js → RM5MLMA4.js} +2 -2
  207. package/dist/cdn/{U4IEKG5J.js → RN7TUN7E.js} +2 -2
  208. package/dist/cdn/{FARMWJ24.js → RTL6LDYI.js} +2 -2
  209. package/dist/cdn/{MLSL5LI5.js → RVRAGQDC.js} +2 -2
  210. package/dist/cdn/{KBTESCN4.js → RXTELQ34.js} +2 -2
  211. package/dist/cdn/{RCSNQFCR.js → S3WKVRQS.js} +2 -2
  212. package/dist/cdn/{6EA3DB3O.js → S67NXZHK.js} +2 -2
  213. package/dist/cdn/{CD2S6EUP.js → SBDAFL5S.js} +2 -2
  214. package/dist/cdn/{25QPPKFI.js → T4UFIWDF.js} +2 -2
  215. package/dist/cdn/T66Y6KTO.js +18 -0
  216. package/dist/cdn/{C6X2ECYU.js → T6FHHQZJ.js} +2 -2
  217. package/dist/cdn/TD4SVRZ2.js +18 -0
  218. package/dist/cdn/{LXGUGDHR.js → TGLGAJZN.js} +2 -2
  219. package/dist/cdn/{LDD3KF7W.js → TGVDYRKZ.js} +2 -2
  220. package/dist/cdn/{AZHIE3R7.js → TKBHKV5M.js} +2 -2
  221. package/dist/cdn/{4TKVQNTQ.js → TKUGQKMA.js} +3 -3
  222. package/dist/cdn/{S5633QFW.js → TKZBNC7H.js} +2 -2
  223. package/dist/cdn/{NLDJFYI7.js → TSJDIDQQ.js} +2 -2
  224. package/dist/cdn/{OFJCPV4F.js → TV4DZ4NC.js} +2 -2
  225. package/dist/cdn/{ZKLPV256.js → U35AQBWJ.js} +1 -1
  226. package/dist/cdn/{TYTGBM6D.js → U7RXVNQC.js} +1 -1
  227. package/dist/cdn/{SVZ6DPGA.js → UAP5F7JO.js} +2 -2
  228. package/dist/cdn/{67Y5XRJR.js → UDGQW7QL.js} +2 -2
  229. package/dist/cdn/{WO4T5EBB.js → UJSCHQIP.js} +2 -2
  230. package/dist/cdn/{SAK5E7EM.js → UKMHZ5PP.js} +2 -2
  231. package/dist/cdn/{HT5EDB5V.js → ULVBGZTW.js} +2 -2
  232. package/dist/cdn/{HVVFJDSU.js → UOCWAIF5.js} +2 -2
  233. package/dist/cdn/URRXFKCL.js +4 -0
  234. package/dist/cdn/{HZSTATBW.js → USMPDRTK.js} +2 -2
  235. package/dist/cdn/{J4VSSVNP.js → UVBA6JNL.js} +1 -1
  236. package/dist/cdn/{6YD2XRHQ.js → V3NOQ3VR.js} +2 -2
  237. package/dist/cdn/{JBUFFKQ4.js → V6UTV55V.js} +1 -1
  238. package/dist/cdn/{CHZ5YCRR.js → VAP272QY.js} +2 -2
  239. package/dist/cdn/VGXJDR76.js +18 -0
  240. package/dist/cdn/{CN4P5DTP.js → VLGVIKZ6.js} +2 -2
  241. package/dist/cdn/{BIRQOSZD.js → VOCP45SC.js} +2 -2
  242. package/dist/cdn/{PKFNJGIN.js → VPPRTR4I.js} +2 -2
  243. package/dist/cdn/{SDDCOLSE.js → VQKEDTWW.js} +2 -2
  244. package/dist/cdn/{Y5WPDAVU.js → VTJTEDJC.js} +2 -2
  245. package/dist/cdn/{4BCMHRMT.js → W4QVPEC6.js} +1 -1
  246. package/dist/cdn/{MHO2Y7KN.js → WAHZ4BJA.js} +2 -2
  247. package/dist/cdn/{V2TJSNNS.js → WBDBLEC7.js} +2 -2
  248. package/dist/cdn/{HBOTGKBU.js → WCAYMKQP.js} +2 -2
  249. package/dist/cdn/{XRNUZ7HG.js → WKBQVMT4.js} +2 -2
  250. package/dist/cdn/{C2KBDSIZ.js → WUWWLJEX.js} +1 -1
  251. package/dist/cdn/{62J73NXR.js → WUYLVJC7.js} +2 -2
  252. package/dist/cdn/{T5ZHBVTX.js → X5NCT7SI.js} +1 -1
  253. package/dist/cdn/{N5VOILQX.js → XI6U7JLE.js} +2 -2
  254. package/dist/cdn/{T5R3QU6B.js → XISA6SLB.js} +2 -2
  255. package/dist/cdn/{JZMP2SNN.js → XJOAEUHQ.js} +2 -2
  256. package/dist/cdn/XMB335P2.js +4 -0
  257. package/dist/cdn/XOTJKE5D.js +4 -0
  258. package/dist/cdn/{YNA4CMIX.js → XV6244HK.js} +2 -2
  259. package/dist/cdn/{LKUFS2W4.js → XW3XMCXE.js} +2 -2
  260. package/dist/cdn/{DWRH76JT.js → XZS545IF.js} +2 -2
  261. package/dist/cdn/{2VIYUPNY.js → YFTL66BW.js} +2 -2
  262. package/dist/cdn/{WFKJMOI2.js → YMECWXNY.js} +2 -2
  263. package/dist/cdn/{VY6VKUBS.js → YNLSAEFB.js} +2 -2
  264. package/dist/cdn/YQNWPVUQ.js +4 -0
  265. package/dist/cdn/{6EY4X2IO.js → YRLQIYDY.js} +2 -2
  266. package/dist/cdn/{XDCTTW2D.js → YWPX2AWZ.js} +2 -2
  267. package/dist/cdn/{IKUXIIBQ.js → ZADWIJ7Q.js} +2 -2
  268. package/dist/cdn/{YZON6FQX.js → ZIJGSIAY.js} +1 -1
  269. package/dist/cdn/{2Q5FUL4Y.js → ZSVGZTYI.js} +2 -2
  270. package/dist/cdn/{F5K2FGR2.js → ZVRPCQAG.js} +1 -1
  271. package/dist/cdn/ZXAG7K3F.js +4 -0
  272. package/dist/cdn/assets/selection-tool/t9n/messages.en.json +1 -0
  273. package/dist/cdn/assets/selection-tool/t9n/messages.json +1 -0
  274. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -0
  275. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -0
  276. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -0
  277. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -0
  278. package/dist/cdn/index.js +2 -2
  279. package/dist/chunks/common.js +1 -1
  280. package/dist/chunks/downloadUtils.js +1 -1
  281. package/dist/chunks/index.js +1 -1
  282. package/dist/chunks/interfaces.js +1 -1
  283. package/dist/chunks/loadModules.js +1 -1
  284. package/dist/chunks/mapViewUtils.js +19 -15
  285. package/dist/chunks/pciUtils.js +1 -1
  286. package/dist/chunks/popupUtils.js +1 -1
  287. package/dist/chunks/publicNotificationStore.js +1 -1
  288. package/dist/chunks/queryUtils.js +1 -1
  289. package/dist/chunks/runtime.js +1 -1
  290. package/dist/chunks/solution-store.js +1 -1
  291. package/dist/chunks/templates.js +1 -1
  292. package/dist/chunks/useT9n.js +1 -1
  293. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  294. package/dist/components/basemap-gallery/customElement.js +1 -1
  295. package/dist/components/buffer-tools/customElement.js +1 -1
  296. package/dist/components/card-manager/customElement.d.ts +5 -2
  297. package/dist/components/card-manager/customElement.js +24 -20
  298. package/dist/components/consent-manager/customElement.js +1 -1
  299. package/dist/components/create-feature/customElement.js +1 -1
  300. package/dist/components/create-related-feature/customElement.js +1 -1
  301. package/dist/components/crowdsource-manager/customElement.d.ts +12 -0
  302. package/dist/components/crowdsource-manager/customElement.js +51 -43
  303. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  304. package/dist/components/deduct-calculator/customElement.js +1 -1
  305. package/dist/components/delete-button/customElement.js +1 -1
  306. package/dist/components/delete-dialog/customElement.js +9 -9
  307. package/dist/components/edit-card/customElement.js +14 -11
  308. package/dist/components/feature-details/customElement.js +1 -1
  309. package/dist/components/feature-list/customElement.js +1 -1
  310. package/dist/components/field-selection/customElement.js +3 -3
  311. package/dist/components/floor-filter/customElement.js +1 -1
  312. package/dist/components/info-card/customElement.js +1 -1
  313. package/dist/components/json-editor/customElement.js +1 -1
  314. package/dist/components/layer-list/customElement.js +1 -1
  315. package/dist/components/layer-table/customElement.d.ts +11 -1
  316. package/dist/components/layer-table/customElement.js +267 -148
  317. package/dist/components/layer-table/index.d.ts +3 -2
  318. package/dist/components/layer-table/index.js +3 -2
  319. package/dist/components/map-card/customElement.d.ts +7 -1
  320. package/dist/components/map-card/customElement.js +16 -16
  321. package/dist/components/map-draw-tools/customElement.js +1 -1
  322. package/dist/components/map-fullscreen/customElement.js +1 -1
  323. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  324. package/dist/components/map-layer-picker/customElement.js +14 -14
  325. package/dist/components/map-legend/customElement.js +1 -1
  326. package/dist/components/map-picker/customElement.js +3 -3
  327. package/dist/components/map-search/customElement.js +1 -1
  328. package/dist/components/map-select-tools/customElement.js +1 -1
  329. package/dist/components/map-tools/customElement.d.ts +13 -1
  330. package/dist/components/map-tools/customElement.js +25 -18
  331. package/dist/components/map-tools/index.d.ts +1 -0
  332. package/dist/components/map-tools/index.js +1 -0
  333. package/dist/components/pci-calculator/customElement.js +1 -1
  334. package/dist/components/pdf-download/customElement.js +1 -1
  335. package/dist/components/public-notification/customElement.js +1 -1
  336. package/dist/components/refine-selection/customElement.js +1 -1
  337. package/dist/components/selection-tool/customElement.d.ts +33 -0
  338. package/dist/components/selection-tool/customElement.js +96 -0
  339. package/dist/components/selection-tool/index.d.ts +1 -0
  340. package/dist/components/selection-tool/index.js +1 -0
  341. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.d.ts +1 -1
  342. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.js +5 -5
  343. package/dist/components/solution-configuration/customElement.js +1 -1
  344. package/dist/components/solution-configure-panel/customElement.js +1 -1
  345. package/dist/components/solution-configure-titles/customElement.js +1 -1
  346. package/dist/components/solution-contents/customElement.js +1 -1
  347. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  348. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  349. package/dist/components/solution-deploy-panel/customElement.d.ts +5 -0
  350. package/dist/components/solution-deploy-panel/customElement.js +44 -0
  351. package/dist/components/solution-deploy-panel/index.d.ts +2 -0
  352. package/dist/components/solution-deploy-panel/index.js +2 -0
  353. package/dist/components/solution-deployed-card/customElement.js +1 -1
  354. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  355. package/dist/components/solution-details-card/customElement.js +1 -1
  356. package/dist/components/solution-details-panel/customElement.js +1 -1
  357. package/dist/components/solution-item/customElement.js +1 -1
  358. package/dist/components/solution-item-accordion/customElement.js +1 -1
  359. package/dist/components/solution-item-details/customElement.js +1 -1
  360. package/dist/components/solution-item-icon/customElement.js +1 -1
  361. package/dist/components/solution-item-sharing/customElement.js +1 -1
  362. package/dist/components/solution-items-diagram/customElement.js +1 -1
  363. package/dist/components/solution-organization-variables/customElement.js +1 -1
  364. package/dist/components/solution-resource-item/customElement.js +1 -1
  365. package/dist/components/solution-snapshot-gallery/customElement.d.ts +5 -0
  366. package/dist/components/solution-snapshot-gallery/customElement.js +44 -0
  367. package/dist/components/solution-snapshot-gallery/index.d.ts +2 -0
  368. package/dist/components/solution-snapshot-gallery/index.js +2 -0
  369. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  370. package/dist/components/solution-template-data/customElement.js +1 -1
  371. package/dist/components/solution-variables/customElement.js +1 -1
  372. package/dist/components/solutions-all-panel/customElement.js +1 -1
  373. package/dist/components/solutions-all-shell/customElement.js +1 -1
  374. package/dist/components/solutions-article-panel/customElement.js +1 -1
  375. package/dist/components/solutions-articles/customElement.js +1 -1
  376. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  377. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  378. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  379. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  380. package/dist/components/spatial-ref/customElement.js +1 -1
  381. package/dist/components/store-manager/customElement.js +1 -1
  382. package/dist/docs/api.json +655 -93
  383. package/dist/docs/docs.json +577 -73
  384. package/dist/docs/vscode.html-custom-data.json +86 -17
  385. package/dist/docs/web-types.json +230 -43
  386. package/dist/index.d.ts +34 -3
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +14 -11
  389. package/dist/main.css +1 -1
  390. package/dist/types/lumina.d.ts +27 -9
  391. package/dist/types/preact.d.ts +31 -10
  392. package/dist/types/react.d.ts +35 -11
  393. package/dist/types/stencil.d.ts +27 -9
  394. package/dist/utils/mapViewUtils.d.ts +3 -3
  395. package/package.json +1 -1
  396. package/dist/cdn/264VRGT4.js +0 -4
  397. package/dist/cdn/2C7P2WBD.js +0 -18
  398. package/dist/cdn/2M24VYGB.js +0 -4
  399. package/dist/cdn/5AYUBL2S.js +0 -4
  400. package/dist/cdn/6ZWGS275.js +0 -18
  401. package/dist/cdn/7LZNQGFF.js +0 -4
  402. package/dist/cdn/ACRINRWW.js +0 -4
  403. package/dist/cdn/C5QHLRUF.js +0 -18
  404. package/dist/cdn/F44IFVB6.js +0 -18
  405. package/dist/cdn/ILUCOTQH.js +0 -18
  406. package/dist/cdn/LXIX3TNH.js +0 -4
  407. package/dist/cdn/N7WXVV7Y.js +0 -18
  408. package/dist/cdn/O2WO5RGW.js +0 -4
  409. package/dist/cdn/U4SNCZZB.js +0 -4
  410. package/dist/cdn/WSILAYSC.js +0 -18
  411. package/dist/cdn/XG3QLQ4I.js +0 -18
  412. package/dist/cdn/XZCQWFF2.js +0 -4
  413. package/dist/cdn/ZWSG3QNV.js +0 -18
  414. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.en.json +0 -0
  415. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.json +0 -0
  416. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.d.ts +0 -0
  417. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.js +0 -0
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as c,b as n,c as y}from"./R3UCIE4U.js";import{a,b as s}from"./AXQXIZC6.js";import{B as d,c as u,d as t,n as p,w as m}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var h=u`/** @license
3
+ v1.0.0-next.20250513 */
4
+ import{a as c,b as n,c as y}from"./PWDTDHPM.js";import{a,b as s}from"./P55AP2OS.js";import{B as d,c as u,d as t,n as p,w as m}from"./3RC2WF5B.js";import"./C44EKR3M.js";var h=u`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as b}from"./OFJCPV4F.js";import{b as c}from"./KAET4R4I.js";import{a as u}from"./2SNN45WE.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
3
+ v1.0.0-next.20250513 */
4
+ import{a as b}from"./TV4DZ4NC.js";import{b as c}from"./DHYYFX2C.js";import{a as u}from"./7WDOCGDK.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as d}from"./N5C5RKHD.js";import{a as n}from"./4BCMHRMT.js";import{a as m}from"./FSQQ2APB.js";import"./VFZGCM33.js";import"./ICETJ5L7.js";import"./GNY77HPF.js";import"./TYTGBM6D.js";import{a as s,b as p}from"./WO4T5EBB.js";import"./25QPPKFI.js";import"./H2PYJODK.js";import{a as i,b as o}from"./NLDJFYI7.js";import"./FXITJZAV.js";import"./ECVA54TZ.js";import"./KAET4R4I.js";import"./2SNN45WE.js";import{a}from"./RA4WYINA.js";import"./BCXBJG72.js";import"./6YD2XRHQ.js";import"./K7L3LTTD.js";import"./ZX2WVODB.js";import"./BIOS2V5G.js";import"./ARPKSGRG.js";import"./J4DDOYKZ.js";import"./AW6GVVCK.js";import"./WFKJMOI2.js";import"./HLQ3GGP4.js";import"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./MNNNZZVI.js";import"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./424PZHQ5.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";var K=async(e,t,l)=>{var r;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:d((r=t.view)===null||r===void 0?void 0:r.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`},helperText:{labelKey:`${e}.fields.featuredImage.helperText`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await p(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[n(e),...await i(e,l),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...m(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]}};export{K as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import{a as d}from"./D2BGUJW5.js";import{a as n}from"./W4QVPEC6.js";import{a as m}from"./KKSOLSMJ.js";import"./MCIIM4XE.js";import"./KQVVUDCM.js";import"./IG3I76TX.js";import"./U7RXVNQC.js";import{a as s,b as p}from"./UJSCHQIP.js";import"./T4UFIWDF.js";import"./2FXMJWEJ.js";import{a as i,b as o}from"./TSJDIDQQ.js";import"./OAJSYATY.js";import"./MSCUGG2N.js";import"./DHYYFX2C.js";import"./7WDOCGDK.js";import{a}from"./GGVX7BU3.js";import"./HHVCX4HB.js";import"./V3NOQ3VR.js";import"./5RJEQIH2.js";import"./AXEU574G.js";import"./P4CX5EDN.js";import"./NLQ42NQW.js";import"./CNU3TPX7.js";import"./37UTA2CS.js";import"./YMECWXNY.js";import"./AI3WLROH.js";import"./UOCWAIF5.js";import"./ISCASEIO.js";import"./WUYLVJC7.js";import"./GQU6FXIT.js";import"./6HNT2RSP.js";import"./F57GZO2E.js";import"./OBGBZA5Q.js";import"./ZIJGSIAY.js";import"./CBMZJGCV.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";var K=async(e,t,l)=>{var r;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea",helperText:{labelKey:`${e}.fields.description.helperText`}}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:d((r=t.view)===null||r===void 0?void 0:r.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`},helperText:{labelKey:`${e}.fields.featuredImage.helperText`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:a.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await p(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.searchDiscoverability.label`,elements:[n(e),...await i(e,l),{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label",helperText:{labelKey:`${e}.fields.tags.helperText`}}},...m(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions)]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]}};export{K as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as v}from"./BCXBJG72.js";import{a as y}from"./6YD2XRHQ.js";import{a as p}from"./ZX2WVODB.js";import{a as d}from"./BIOS2V5G.js";import{a as E}from"./ARPKSGRG.js";import{a as s}from"./J4DDOYKZ.js";import{a as n}from"./AW6GVVCK.js";import{a}from"./WFKJMOI2.js";import{a as l}from"./HLQ3GGP4.js";import{a as e}from"./HVVFJDSU.js";import{a as r}from"./MNNNZZVI.js";import{a as t}from"./Z7PAFRTZ.js";import{a as i}from"./424PZHQ5.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.0.0-next.20250513 */
4
+ import{a as v}from"./HHVCX4HB.js";import{a as y}from"./V3NOQ3VR.js";import{a as p}from"./AXEU574G.js";import{a as d}from"./P4CX5EDN.js";import{a as E}from"./NLQ42NQW.js";import{a as s}from"./CNU3TPX7.js";import{a as n}from"./37UTA2CS.js";import{a}from"./YMECWXNY.js";import{a as l}from"./AI3WLROH.js";import{a as e}from"./UOCWAIF5.js";import{a as r}from"./6HNT2RSP.js";import{a as t}from"./F57GZO2E.js";import{a as i}from"./CBMZJGCV.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250513 */
4
+ import{a}from"./RVRAGQDC.js";import"./QCF4PYQB.js";import"./G6RUG3BR.js";import"./TV4DZ4NC.js";import"./DHYYFX2C.js";import"./7WDOCGDK.js";import"./5RJEQIH2.js";import"./C44EKR3M.js";export{a as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as f,c as I,e as _}from"./ACRINRWW.js";import"./DGJOUZR5.js";import"./C2KBDSIZ.js";import{a as w,b as c}from"./ZKLPV256.js";import{a as u}from"./4AB2653C.js";import{B as L,c as p,d as r,n as h,q as d,w as m}from"./CQFOO7QD.js";import"./OHY2KQUC.js";async function g(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.0.0-next.20250513 */
4
+ import{a as f,c as I,e as _}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import"./WUWWLJEX.js";import{a as w,b as c}from"./U35AQBWJ.js";import{a as u}from"./FIE266AU.js";import{B as L,c as p,d as r,n as h,q as d,w as m}from"./3RC2WF5B.js";import"./C44EKR3M.js";async function g(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{e as P}from"./SAK5E7EM.js";import{A as C,C as R,D as L,d as k,e as y}from"./F5K2FGR2.js";import"./Z6MML6SM.js";import{a as S,c as e,d as E,e as $}from"./HIIYUUEW.js";import"./OHY2KQUC.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
3
+ v1.0.0-next.20250513 */
4
+ import{e as P}from"./UKMHZ5PP.js";import{A as C,C as R,D as L,d as k,e as y}from"./ZVRPCQAG.js";import"./2Y7EB6IS.js";import{a as S,c as e,d as E,e as $}from"./IRVZT2BS.js";import"./C44EKR3M.js";var F=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",K=F,o="instant-apps-social-share",I=".calcite-mode-dark",i={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},W={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},j="https://arcg.is/prod/shorten",T="1",V=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let a=t.target,s=this.shareListRef.children[0],n=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&a===s?(t.preventDefault(),n.focus()):!t.shiftKey&&a===n&&(t.preventDefault(),s.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let a=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(a)}else{let a=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(a)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:i.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),a=this.shareIconsLayout==="vertical"?` ${i.layout.vertical}`:` ${i.layout.horizontal}`,s=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,n=e("div",{key:"8a69bc57ea2c4905375782cf190655e39b2fadb3",ref:r=>this.dialogContentRef=r,class:`${i.dialog}${a}${s}`},t),c=this.removePopoverOffset?0:6;return e(E,{key:"70eacb6923a4184e19f9f3ba06965efda14641b8"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:r=>{r&&(this.popoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":c,"pointer-disabled":this.removePopoverOffset},n),this.renderButton()]:[n,e("calcite-popover",{ref:r=>{r&&(this.copyLinkPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:r=>{r&&(this.copyEmbedPopoverRef=r)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:s=>{this.isNativeShareEnabled?(s.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(s)},id:"shareButton",class:i.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},a=e("div",{class:i.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,kind:this.shareButtonColor,appearance:"transparent"},a):e("calcite-action",{ref:s=>{!this.isNativeShareEnabled&&s&&(this.popoverButtonRef=s)},...t,appearance:"transparent",text:"",alignment:"center"},a)}renderSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:i.success.container},e("span",{class:i.success.header},e("span",{class:i.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:i.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,a=document.dir==="rtl"?` ${i.rtl.optionText}`:"";return e("ul",{ref:s=>this.shareListRef=s,class:i.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${i.optionText}${a}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderFacebookIcon()),e("span",{class:`${i.optionText}${a}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderXIcon()),e("span",{class:`${i.optionText}${a}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderLinkedInIcon()),e("span",{class:`${i.optionText}${a}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:i.icon},this.renderBlueSkyIcon()),e("span",{class:`${i.optionText}${a}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return a=>{let s=a.code;(s==="Space"||s==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?i.xLogo.dark:i.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:i.tipContainer},e("span",{class:i.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:i.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,a=document.dir==="rtl"?` ${i.rtl.textArea}`:"";return e("div",{class:i.embed.container},e("span",{class:i.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:i.embed.embedCode.container},e("div",{class:i.embed.embedCode.textArea},e("textarea",{ref:s=>this.embedCodeRef=s,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:i.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:i.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:i.embed.dimensions.container},e("label",{class:i.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:s=>this.embedWidthRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:i.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:s=>this.embedHeightRef=s,type:"number",onKeyDown:s=>["e","E","+","-"].includes(s.key)&&s.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let a=t==="width"?this.embedWidthRef:this.embedHeightRef,s=t==="width"?"embedWidth":"embedHeight";return()=>{a&&Number.parseFloat(a.value)<=0&&(this[s]=Number.parseInt(T),a.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let a=null,s=navigator?.userAgent?.includes("Chrome")??!1,n=(navigator?.userAgent?.includes("Safari")??!1)&&!s;!n&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let h=a||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(h),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let r;n&&(r=window.open("","_blank"),this.shortenShareUrl&&(h=await this.shortenUrl(this.shareUrl)||h));let f={url:encodeURI(h)},b=t==="x"?{...f,text:this.shareText}:f,u=(await R()).substitute(W[t],b);this.mode==="popover"&&this.closePopover(),n&&r?(r.location=u,r.focus()):window.open(encodeURI(u),"_blank")}break;case"native-share":let c={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(h)};navigator?.canShare(c)?navigator.share(c).catch(r=>{console.error("Error using native share:",r)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let n=(await(await L())(j,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:a}=this.view.center,{spatialReference:s}=this.view,n=await y({...s.toJSON()}),h=await k({x:t,y:a,spatialReference:n}),c=await this.processPoint(h),{isWGS84:r,isWebMercator:f}=c.spatialReference,b=r||f;return this.generateShareUrlParams(c,b)}async processPoint(t){let{isWGS84:a,isWebMercator:s}=t.spatialReference;if(a||s)return t;let n=await C(),h=await y({wkid:4326});try{await n.load();let c=n.project(t,h);return Promise.resolve(c)}catch(c){return console.error("Failed to project point",c),await Promise.reject(new Error("Failed to project point"))}}generateShareUrlParams(t,a){let{longitude:s,latitude:n,x:h,y:c}=t;if(s===void 0||n===void 0)return this.shareUrl;let r=this.roundValue(a?s:h),f=this.roundValue(a?n:c),{zoom:b}=this.view,w=this.roundValue(b),u=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,_,v;if(u&&z&&u?.layer?.type==="feature"){let d=u?.layer;g=d?.id,_=u.attributes[d.objectIdField]}v=this.view.map?.allLayers.filter(d=>!d.visible).toArray().map(d=>d.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:p}=l;if(p.get("center")&&p.delete("center"),p.get("level")&&p.delete("level"),p.get("selectedFeature")&&p.delete("selectedFeature"),p.get("hiddenLayers")&&p.delete("hiddenLayers"),p.get("viewpoint")&&p.delete("viewpoint"),U==="3d"){let{camera:d}=this.view,{heading:D,position:O,tilt:B}=d,{longitude:A,latitude:H,z:M}=O,x={longitude:this.roundValue(A,8),latitude:this.roundValue(H,8),z:this.roundValue(M,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},N=`cam:${x.longitude},${x.latitude},${x.z};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",N),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${r};${f}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&_&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${_}`),v&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",v),l.search=decodeURIComponent(l.search),l.href}roundValue(t,a=4){return Number.parseFloat(t.toFixed(a))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};V.style=K;export{V as instant_apps_social_share};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250513 */
4
+ import{d as g}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import{b as m}from"./WUWWLJEX.js";import{a as d,b as p}from"./P55AP2OS.js";import{a as u}from"./FIE266AU.js";import{B as h,c as n,d as i,n as a,q as l,w as c}from"./3RC2WF5B.js";import"./C44EKR3M.js";var f=n`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block!important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}card-manager{display:block}}`,r=class extends c{constructor(){super(),this.customInfoText="",this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=!1,this.zoomAndScrollToSelected=!1,this.selectedFeaturesIds=[],this.enableCreateFeatures=!0,this.selectingFeatureFromMap=!1,this._cardLoading=!1,this._graphics=[],this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=u({name:"card-manager",blocking:!0}),this._isFeatureCreated=!1,this._createFeature=d(),this.createWorkFlowStarted=a(),this.backFromCreateWorkFlow=a(),this.featureOrRecordSubmitted=a(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled)}static{this.properties={customInfoText:1,enableEditGeometry:5,enableSnapping:5,isMobile:5,layerOrTable:0,mapView:0,zoomAndScrollToSelected:5,selectedFeaturesIds:0,enableCreateFeatures:5,selectingFeatureFromMap:5,_cardLoading:16,_graphics:16,_showCreateFeatureComponent:16,_showSubmitBtn:16,_translations:16}}static{this.styles=f}static{this.shadowRootOptions=l}async featureSelectionChange(e){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();let t=e.detail;this._graphics=await this._getFeaturesByIds(t)}async layerSelectionChange(e){this._showCreateFeatureComponent&&this._backFromCreateFeature();let t=e.detail[0];this.layerOrTable=this.mapView?await g(this.mapView,t):void 0}async relatedRecordToggled(e){let t=e.detail;this.layerOrTable=t}async load(){this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){let e=this._graphics?.length>0?"":"display-none",t=this._graphics?.length===0&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",o=this.layerOrTable?.isTable,b=o?this._translations.createRecord:this._translations.createFeature,w=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,F=this.enableCreateFeatures&&this.layerOrTable?.capabilities?.operations?.supportsAdd,_=!this.layerOrTable;return i`<div class="overflow-auto height-full"><calcite-shell class=${`position-relative ${e}`}><div class="position-static z-index-500 height-full"><info-card .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphics=${this._graphics} .isLoading=${this._cardLoading} .isMobile=${this.isMobile} .mapView=${this.mapView} position=relative show-close-btn></info-card></div></calcite-shell><calcite-shell class=${`position-relative ${s}`}><calcite-panel><div class=padding-1><calcite-notice .icon=${this.selectingFeatureFromMap?"map":"table"} icon-flip-rtl open><div slot=message>${w}</div></calcite-notice></div>${!this.isMobile&&F&&i`<calcite-button .disabled=${_} @click=${()=>this._createFeatureBtnClicked()} slot=footer width=full>${o?this._translations.createRecord:this._translations.createFeature}</calcite-button>`||""}</calcite-panel></calcite-shell><calcite-shell class=${`position-relative ${t}`}><calcite-flow-item selected><calcite-panel .heading=${b}><calcite-action class="back-button hydrated" icon=chevron-left @click=${this._backFromCreateFeature} scale=s slot=header-actions-start text></calcite-action>${this.getEditorComponent()}${this._showSubmitBtn&&i`<calcite-button appearance=solid class="footer-top-button footer-button" @click=${()=>this._createFeature.value&&void this._createFeature.value.submit()} slot=footer width=full>${this._translations.create}</calcite-button>`||""}</calcite-panel></calcite-flow-item></calcite-shell></div>`}getEditorComponent(){return i`<div>${this._showCreateFeatureComponent&&i`<create-feature customize-submit .enableSnapping=${this.enableSnapping&&this.enableCreateFeatures} .mapView=${this.mapView} @drawComplete=${()=>{this._showSubmitBtn=!0}} @editingAttachment=${e=>{this._showSubmitBtn=!e.detail}} @progressStatus=${()=>{setTimeout(()=>{this._isFeatureCreated=!1},2e3)}} @success=${this._featureCreated} .selectedLayerId=${this.layerOrTable?.id} ${p(this._createFeature)}></create-feature>`||""}</div>`}async _getFeaturesByIds(e){return(e.length>0&&this.layerOrTable&&this.mapView?await m(e,this.layerOrTable,[],!0,this.mapView?.spatialReference):[]).sort((t,s)=>e.indexOf(Number(t.getObjectId()))-e.indexOf(Number(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature.value&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout(()=>{this._showCreateFeatureComponent=!0},50)}};h("card-manager",r);export{r as CardManager};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{b as S,c as w,d as C}from"./MESJIE5F.js";import{a as e}from"./PRM3M7W3.js";import"./ZSNDJE3R.js";import"./LECLO3XE.js";import"./BGWVAQHN.js";import"./GNY77HPF.js";import"./FXITJZAV.js";import{e as n}from"./ECVA54TZ.js";import"./2SNN45WE.js";import"./DGJOUZR5.js";import{a as b,b as v}from"./AXQXIZC6.js";import{a as y}from"./4AB2653C.js";import{B as I,c as u,d as s,f as a,q as d,s as p,t as m,v as f,w as _,x as g}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var r=p(class extends m{constructor(){super(...arguments),this.key=a}render(l,t){return this.key=l,t}update(l,[t,i]){return t!==this.key&&(f(l),this.key=t),i}});var E=u`@layer{/** @license
3
+ v1.0.0-next.20250513 */
4
+ import{b as S,c as w,d as C}from"./4M3HYUSJ.js";import{a as e}from"./4HNFRLEB.js";import"./2QX2DZO7.js";import"./QRM36WK6.js";import"./K4CSMHLX.js";import"./IG3I76TX.js";import"./OAJSYATY.js";import{e as n}from"./MSCUGG2N.js";import"./7WDOCGDK.js";import"./2HQWNDOT.js";import{a as b,b as v}from"./P55AP2OS.js";import{a as y}from"./FIE266AU.js";import{B as I,c as u,d as s,f as a,q as d,s as p,t as m,v as f,w as _,x as g}from"./3RC2WF5B.js";import"./C44EKR3M.js";var r=p(class extends m{constructor(){super(...arguments),this.key=a}render(l,t){return this.key=l,t}update(l,[t,i]){return t!==this.key&&(f(l),this.key=t),i}});var E=u`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as u,e as h}from"./MESJIE5F.js";import{a}from"./PRM3M7W3.js";import"./ZSNDJE3R.js";import"./LECLO3XE.js";import"./BGWVAQHN.js";import"./GNY77HPF.js";import"./FXITJZAV.js";import"./ECVA54TZ.js";import"./2SNN45WE.js";import"./DGJOUZR5.js";import{B as l,n as o,q as n,w as i}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.0.0-next.20250513 */
4
+ import{a as u,e as h}from"./4M3HYUSJ.js";import{a}from"./4HNFRLEB.js";import"./2QX2DZO7.js";import"./QRM36WK6.js";import"./K4CSMHLX.js";import"./IG3I76TX.js";import"./OAJSYATY.js";import"./MSCUGG2N.js";import"./7WDOCGDK.js";import"./2HQWNDOT.js";import{B as l,n as o,q as n,w as i}from"./3RC2WF5B.js";import"./C44EKR3M.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{c as n}from"./VFZGCM33.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
3
+ v1.0.0-next.20250513 */
4
+ import{c as n}from"./MCIIM4XE.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as n}from"./4AB2653C.js";import{B as r,c as t,d as i,q as s,w as o}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250513 */
4
+ import{a as n}from"./FIE266AU.js";import{B as r,c as t,d as i,q as s,w as o}from"./3RC2WF5B.js";import"./C44EKR3M.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250513 */
4
+ import{a as p,b as h}from"./P55AP2OS.js";import{a as m}from"./FIE266AU.js";import{B as c,c as r,d as s,n as o,w as l,x as d}from"./3RC2WF5B.js";import"./C44EKR3M.js";var f=r`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block;--solutions-theme-foreground-color: var(--calcite-color-foreground-1);width:100%}.width-full{width:100%}.width-26{width:26%!important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-left-right{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:fit-content}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}`,n=class extends l{constructor(){super(...arguments),this.mapInfos=[],this.isMapLayout=!1,this._mapListExpanded=!1,this._translations=m({name:"map-picker",blocking:!0}),this._list=p(),this._loadedId="",this._skipEditCheck=!1,this.beforeMapInfoChange=o(),this.mapInfoChange=o()}static{this.properties={mapInfos:0,isMapLayout:5,_mapListExpanded:16,_translations:16}}static{this.styles=f}willUpdate(t){t.has("mapInfos")&&(this.hasUpdated||this.mapInfos?.length>0)&&this.mapInfosWatchHandler(this.mapInfos,t.get("mapInfos"))}_webMapInfoWatchHandler(t,e){t&&JSON.stringify(t)!==JSON.stringify(e)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async mapInfosWatchHandler(t,e){t&&JSON.stringify(t)!==JSON.stringify(e)&&this._webMapSelected(t[0])}async setMapByID(t,e=!1){this._skipEditCheck=e;let i=this.mapInfos?.filter(a=>a.id===t);t&&i?.length>0&&this._webMapSelected(i[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}render(){return s`${this._getToolbar()}${this._getMapNameList(this._mapListExpanded)}`}loaded(){let t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){let t="map-picker-expand-toggle",e=this._mapListExpanded?"chevron-up":"chevron-down";return s`<div class="width-full"><calcite-button alignment=icon-end-space-between appearance=transparent class="width-full height-full" .iconEnd=${e} icon-start=map id=${t} kind=neutral @click=${()=>this._chooseMap()} width=full>${this._webMapInfo?.name}</calcite-button><calcite-tooltip placement=bottom .referenceElement=${t}><span>${this._translations.switchMap}</span></calcite-tooltip></div>`}_getToolbar(){return s`<div class="display-flex border-left-right"><calcite-action-bar class="border-bottom-1 action-bar-size" expand-disabled layout=horizontal slot=header>${this._getMapPicker()}</calcite-action-bar></div>`}_getMapNameList(t){let e=this.isMapLayout?"width-26":"width-full",i=t?`map-list border-bottom-1 adjusted-height ${e}`:"display-none";return s`<div class=${d(i)}><calcite-list id=mapList label selection-appearance=border selection-mode=single ${h(this._list)}>${this.mapInfos.map(a=>s`<calcite-list-item .label=${a.name} @click=${()=>this._webMapSelected(a)} .selected=${a.id===this._loadedId} .value=${a.id}></calcite-list-item>`)}</calcite-list></div>`}_webMapSelected(t){let e=this._loadedId;this._loadedId=t.id;let i=!1;this._skipEditCheck?i=!0:this.beforeMapInfoChange.emit({currentId:e,mapInfo:t,ref:this.el}).defaultPrevented||(i=!0),i&&(this._webMapInfoWatchHandler(t,this._webMapInfo),this._webMapInfo=t),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}};c("map-picker",n);export{n as MapPicker};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as V}from"./E3HGKBP3.js";import{a as s}from"./T5ZHBVTX.js";import{a as k}from"./GZ5DMBN5.js";import{b as x}from"./47I7OHHF.js";import{d as H,e as X,g as z,h as Q}from"./OT3XINKN.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./2452KO7J.js";import{a as U,b as M,d as I}from"./BGWVAQHN.js";import"./U25OTDOD.js";import"./QV3YJHLC.js";import"./UB2OSPCQ.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./UPR4UPDN.js";import"./WN3VAL43.js";import{d as G}from"./VFZGCM33.js";import"./ICETJ5L7.js";import{a as m}from"./GNY77HPF.js";import"./TYTGBM6D.js";import"./25QPPKFI.js";import"./H2PYJODK.js";import{f as O,h as j}from"./FXITJZAV.js";import"./ECVA54TZ.js";import"./KAET4R4I.js";import{a as d}from"./2SNN45WE.js";import"./LZCG3PUX.js";import"./OHY2KQUC.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
3
+ v1.0.0-next.20250513 */
4
+ import{a as V}from"./PJF5G4QB.js";import{a as s}from"./X5NCT7SI.js";import{a as k}from"./FJRGFI2V.js";import{b as x}from"./IDFWZFF5.js";import{d as H,e as X,g as z,h as Q}from"./LZXK3MVJ.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./MFYJYT6Q.js";import{a as U,b as M,d as I}from"./K4CSMHLX.js";import"./GYXP7WY2.js";import"./G2KU4GJD.js";import"./4745A7PL.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./7KGIY4Y7.js";import"./QCF4PYQB.js";import{d as G}from"./MCIIM4XE.js";import"./KQVVUDCM.js";import{a as m}from"./IG3I76TX.js";import"./U7RXVNQC.js";import"./T4UFIWDF.js";import"./2FXMJWEJ.js";import{f as O,h as j}from"./OAJSYATY.js";import"./MSCUGG2N.js";import"./DHYYFX2C.js";import{a as d}from"./7WDOCGDK.js";import"./ADVQIEJR.js";import"./C44EKR3M.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{preview:{type:"object",properties:{workspace:{type:"boolean",default:!1}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a,b}from"./J4DDOYKZ.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.0.0-next.20250513 */
4
+ import{a,b}from"./CNU3TPX7.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";export{a as TemplateEditorTypes,b as TemplateSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{c as C}from"./OHY2KQUC.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
3
+ v1.0.0-next.20250513 */
4
+ import{c as C}from"./C44EKR3M.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
5
5
  `),t=Ie(t,U,W);let s=new w("!xml"),n=s,i="";for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){let a=m(e,">",r,"Closing Tag is not closed."),o=e.substring(r+2,a).trim();if(t.ignoreNameSpace){let h=o.indexOf(":");h!==-1&&(o=o.substr(h+1))}n&&(n.val?n.val=P.getValue(n.val)+""+O(o,i,t):n.val=O(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,r-n.startIndex-1)),n=n.parent,i="",r=a}else if(e[r+1]==="?")r=m(e,"?>",r,"Pi Tag is not closed.");else if(e.substr(r+1,3)==="!--")r=m(e,"-->",r,"Comment is not closed.");else if(e.substr(r+1,2)==="!D"){let a=m(e,">",r,"DOCTYPE is not closed.");e.substring(r,a).indexOf("[")>=0?r=e.indexOf("]>",r)+1:r=a}else if(e.substr(r+1,2)==="!["){let a=m(e,"]]>",r,"CDATA is not closed.")-2,o=e.substring(r+9,a);if(i&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t),i=""),t.cdataTagName){let h=new w(t.cdataTagName,n,o);n.addChild(h),n.val=P.getValue(n.val)+t.cdataPositionChar,o&&(h.val=o)}else n.val=(n.val||"")+(o||"");r=a+2}else{let a=Me(e,r+1),o=a.data,h=a.index,d=o.indexOf(" "),l=o,A=!0;if(d!==-1&&(l=o.substr(0,d).replace(/\s\s*$/,""),o=o.substr(d+1)),t.ignoreNameSpace){let p=l.indexOf(":");p!==-1&&(l=l.substr(p+1),A=l!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){l[l.length-1]==="/"?(l=l.substr(0,l.length-1),o=l):o=o.substr(0,o.length-1);let p=new w(l,n,"");l!==o&&(p.attrsMap=K(o,t)),n.addChild(p)}else{let p=new w(l,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=h),l!==o&&A&&(p.attrsMap=K(o,t)),n.addChild(p),n=p}i="",r=h}else i+=e[r];return s};function Me(e,t){let s,n="";for(let i=t;i<e.length;i++){let r=e[i];if(s)r===s&&(s="");else if(r==='"'||r==="'")s=r;else{if(r===">")return{data:n,index:i};r===" "&&(r=" ")}n+=r}}function m(e,t,s,n){let i=e.indexOf(t,s);if(i===-1)throw new Error(n);return i+t.length-1}V.getTraversalObj=Fe});var ee=C(D=>{"use strict";var M=T(),ke={allowBooleanAttributes:!1},qe=["allowBooleanAttributes"];D.validate=function(e,t){t=M.buildOptions(t,ke,qe);let s=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let r=0;r<e.length;r++)if(e[r]==="<"&&e[r+1]==="?"){if(r+=2,r=G(e,r),r.err)return r}else if(e[r]==="<"){let u=r;if(r++,e[r]==="!"){r=H(e,r);continue}else{let a=!1;e[r]==="/"&&(a=!0,r++);let o="";for(;r<e.length&&e[r]!==">"&&e[r]!==" "&&e[r]!==" "&&e[r]!==`
6
6
  `&&e[r]!=="\r";r++)o+=e[r];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),r--),!$e(o)){let l;return o.trim().length===0?l="Invalid space after '<'.":l="Tag '"+o+"' is an invalid name.",f("InvalidTag",l,g(e,r))}let h=xe(e,r);if(h===!1)return f("InvalidAttr","Attributes for '"+o+"' have open quote.",g(e,r));let d=h.value;if(r=h.index,d[d.length-1]==="/"){let l=r-d.length;d=d.substring(0,d.length-1);let A=j(d,t);if(A===!0)n=!0;else return f(A.err.code,A.err.msg,g(e,l+A.err.line))}else if(a)if(h.tagClosed){if(d.trim().length>0)return f("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",g(e,u));{let l=s.pop();if(o!==l.tagName){let A=g(e,l.tagStartPos);return f("InvalidTag","Expected closing tag '"+l.tagName+"' (opened in line "+A.line+", col "+A.col+") instead of closing tag '"+o+"'.",g(e,u))}s.length==0&&(i=!0)}}else return f("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",g(e,r));else{let l=j(d,t);if(l!==!0)return f(l.err.code,l.err.msg,g(e,r-d.length+l.err.line));if(i===!0)return f("InvalidXml","Multiple possible root nodes found.",g(e,r));s.push({tagName:o,tagStartPos:u}),n=!0}for(r++;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="!"){r++,r=H(e,r);continue}else if(e[r+1]==="?"){if(r=G(e,++r),r.err)return r}else break;else if(e[r]==="&"){let l=Le(e,r);if(l==-1)return f("InvalidChar","char '&' is not expected.",g(e,r));r=l}e[r]==="<"&&r--}}else{if(e[r]===" "||e[r]===" "||e[r]===`
7
7
  `||e[r]==="\r")continue;return f("InvalidChar","char '"+e[r]+"' is not expected.",g(e,r))}if(n){if(s.length==1)return f("InvalidTag","Unclosed tag '"+s[0].tagName+"'.",g(e,s[0].tagStartPos));if(s.length>0)return f("InvalidXml","Invalid '"+JSON.stringify(s.map(r=>r.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return f("InvalidXml","Start tag expected.",1);return!0};function G(e,t){let s=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(s,t-s);if(t>5&&n==="xml")return f("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function H(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let s=1;for(t+=8;t<e.length;t++)if(e[t]==="<")s++;else if(e[t]===">"&&(s--,s===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Be='"',Se="'";function xe(e,t){let s="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Be||e[t]===Se)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}s+=e[t]}return n!==""?!1:{value:s,index:t,tagClosed:i}}var Je=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function j(e,t){let s=M.getAllMatches(e,Je),n={};for(let i=0;i<s.length;i++){if(s[i][1].length===0)return f("InvalidAttr","Attribute '"+s[i][2]+"' has no space in starting.",F(s[i]));if(s[i][3]===void 0&&!t.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+s[i][2]+"' is not allowed.",F(s[i]));let r=s[i][2];if(!Ze(r))return f("InvalidAttr","Attribute '"+r+"' is an invalid name.",F(s[i]));if(!n.hasOwnProperty(r))n[r]=1;else return f("InvalidAttr","Attribute '"+r+"' is repeated.",F(s[i]))}return!0}function Re(e,t){let s=/\d/;for(e[t]==="x"&&(t++,s=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(s))break}return-1}function Le(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,Re(e,t);let s=0;for(;t<e.length;t++,s++)if(!(e[t].match(/\w/)&&s<20)){if(e[t]===";")break;return-1}return t}function f(e,t,s){return{err:{code:e,msg:t,line:s.line||s,col:s.col}}}function Ze(e){return M.isName(e)}function $e(e){return M.isName(e)}function g(e,t){let s=e.substring(0,t).split(/\r?\n/);return{line:s.length,col:s[s.length-1].length+1}}function F(e){return e.startIndex+e[1].length}});var se=C(ne=>{"use strict";var y=function(e){return String.fromCharCode(e)},c={nilChar:y(176),missingChar:y(201),nilPremitive:y(175),missingPremitive:y(200),emptyChar:y(178),emptyValue:y(177),boundryChar:y(179),objStart:y(198),arrStart:y(204),arrayEnd:y(185)},Xe=[c.nilChar,c.nilPremitive,c.missingChar,c.missingPremitive,c.boundryChar,c.emptyChar,c.emptyValue,c.arrayEnd,c.objStart,c.arrStart],I=function(e,t,s){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?B(e[0].val,t):B(e,t);{let n=Qe(e);if(n===!0){let i="";if(Array.isArray(t)){i+=c.arrStart;let r=t[0],u=e.length;if(typeof r=="string")for(let a=0;a<u;a++){let o=B(e[a].val,r);i=S(i,o)}else for(let a=0;a<u;a++){let o=I(e[a],r,s);i=S(i,o)}i+=c.arrayEnd}else{i+=c.objStart;let r=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let u in r){let a=r[u],o;!s.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=I(e.attrsMap[a],t[a],s):a===s.textNodeName?o=I(e.val,t[a],s):o=I(e.child[a],t[a],s),i=S(i,o)}}return i}else return n}},B=function(e){switch(e){case void 0:return c.missingPremitive;case null:return c.nilPremitive;case"":return c.emptyValue;default:return e}},S=function(e,t){return!te(t[0])&&!te(e[e.length-1])&&(e+=c.boundryChar),e+t},te=function(e){return Xe.indexOf(e)!==-1};function Qe(e){return e===void 0?c.missingChar:e===null?c.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?c.emptyChar:!0}var re=E(),Ye=T().buildOptions,ze=function(e,t,s){return s=Ye(s,re.defaultOptions,re.props),I(e,t,s)};ne.convert2nimn=ze});var ae=C(oe=>{"use strict";var k=T(),Ke=T().buildOptions,ie=E(),Ue=function(e,t){return t=Ke(t,ie.defaultOptions,ie.props),t.indentBy=t.indentBy||"",x(e,t,0)},x=function(e,t,s){let n="{",i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n+='"'+u+'" : [ ';for(let a in e.child[u])n+=x(e.child[u][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+u+'" : '+x(e.child[u][0],t)+" ,"}return k.merge(n,e.attrsMap),k.isEmptyObject(n)?k.isExist(e.val)?e.val:"":(k.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+We(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function We(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}oe.convertToJsonString=Ue});var fe=C((bt,ce)=>{"use strict";var _e=T().buildOptions,Ge={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},He=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function J(e){this.options=_e(e,Ge,He),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=st),this.options.cdataTagName?this.isCDATA=it:this.isCDATA=function(){return!1},this.replaceCDATAstr=De,this.replaceCDATAarr=et,this.processTextOrObjNode=je,this.options.format?(this.indentate=nt,this.tagEndChar=`>
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import"./OHY2KQUC.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import"./C44EKR3M.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as t}from"./RA4WYINA.js";import"./BCXBJG72.js";import"./6YD2XRHQ.js";import"./K7L3LTTD.js";import"./ZX2WVODB.js";import"./BIOS2V5G.js";import"./ARPKSGRG.js";import"./J4DDOYKZ.js";import"./AW6GVVCK.js";import"./WFKJMOI2.js";import"./HLQ3GGP4.js";import"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./MNNNZZVI.js";import"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./424PZHQ5.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import{a as t}from"./GGVX7BU3.js";import"./HHVCX4HB.js";import"./V3NOQ3VR.js";import"./5RJEQIH2.js";import"./AXEU574G.js";import"./P4CX5EDN.js";import"./NLQ42NQW.js";import"./CNU3TPX7.js";import"./37UTA2CS.js";import"./YMECWXNY.js";import"./AI3WLROH.js";import"./UOCWAIF5.js";import"./ISCASEIO.js";import"./WUYLVJC7.js";import"./GQU6FXIT.js";import"./6HNT2RSP.js";import"./F57GZO2E.js";import"./OBGBZA5Q.js";import"./ZIJGSIAY.js";import"./CBMZJGCV.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};