@esri/solutions-components 1.0.0-next.20250605 → 1.0.0-next.20250613

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 (489) hide show
  1. package/dist/assets/config/appConfig.json.d.ts +1 -1
  2. package/dist/assets/spatialReferences.json.d.ts +3 -0
  3. package/dist/cdn/{TULGRERT.js → 22VDIWCV.js} +2 -2
  4. package/dist/cdn/{ROVGEAF3.js → 274YYYMS.js} +2 -2
  5. package/dist/cdn/{SP2JO6Q3.js → 2CO25KUU.js} +2 -2
  6. package/dist/cdn/{HEPGER72.js → 2CXGIE2Y.js} +2 -2
  7. package/dist/cdn/{D37USTZ3.js → 2DKM6FJB.js} +2 -2
  8. package/dist/cdn/2EPS5SYY.js +18 -0
  9. package/dist/cdn/{4ZGXBIVH.js → 2IW5OPGT.js} +1 -1
  10. package/dist/cdn/{NE2UAOWL.js → 2J67PINK.js} +2 -2
  11. package/dist/cdn/{FSN5FQRG.js → 2JCMVX4M.js} +1 -1
  12. package/dist/cdn/{B22SBUCC.js → 2NUECUOL.js} +2 -2
  13. package/dist/cdn/{FJU4NZYE.js → 2PFHWIEU.js} +2 -2
  14. package/dist/cdn/{34F5RSDO.js → 2T3B74OY.js} +2 -2
  15. package/dist/cdn/{EJFAX7DQ.js → 2TBU3VSR.js} +3 -3
  16. package/dist/cdn/{XOLJEZVW.js → 2TJPUN6O.js} +2 -2
  17. package/dist/cdn/{7K5ZFURJ.js → 2Y73A3MC.js} +2 -2
  18. package/dist/cdn/{L23ZIKAY.js → 33L6GMXG.js} +2 -2
  19. package/dist/cdn/{KMPEI3WK.js → 377IXJY2.js} +1 -1
  20. package/dist/cdn/{LMBHKGYA.js → 3IMYYEAA.js} +2 -2
  21. package/dist/cdn/{UYHKYPA5.js → 3IRDRDFA.js} +2 -2
  22. package/dist/cdn/{FNEE7DUR.js → 3Q3S4KCD.js} +2 -2
  23. package/dist/cdn/45JZSDFM.js +32 -0
  24. package/dist/cdn/{CZL4FXMV.js → 4EDMGBIS.js} +2 -2
  25. package/dist/cdn/{2UP2HWNK.js → 4IS37ZST.js} +3 -3
  26. package/dist/cdn/{GK37CEKN.js → 4JCBZIU7.js} +2 -2
  27. package/dist/cdn/{XSPGKSFV.js → 4NASOTXM.js} +3 -3
  28. package/dist/cdn/{VLUKESNO.js → 4OT4W6QT.js} +2 -2
  29. package/dist/cdn/{R2CS5FOZ.js → 4QPHTDMN.js} +2 -2
  30. package/dist/cdn/{QB54S7F4.js → 5DPFMR4I.js} +1 -1
  31. package/dist/cdn/{F3L5GFZI.js → 5HO6CGS5.js} +2 -2
  32. package/dist/cdn/{I6Q6CZKU.js → 5NPDUIR3.js} +2 -2
  33. package/dist/cdn/{HPKI63DN.js → 5TICPJ6T.js} +1 -1
  34. package/dist/cdn/{AHQ3XGAS.js → 5UJ4IPXJ.js} +2 -2
  35. package/dist/cdn/{O6TVLT3A.js → 65PMG2PU.js} +2 -2
  36. package/dist/cdn/{MXZE6DRA.js → 66BP63VM.js} +2 -2
  37. package/dist/cdn/{5M4BUTK4.js → 66GDPGJ4.js} +2 -2
  38. package/dist/cdn/6AJFPNS6.js +18 -0
  39. package/dist/cdn/{GQGYZ5UC.js → 6DNHQQ3A.js} +2 -2
  40. package/dist/cdn/{I4DZFH7G.js → 6JQDE67P.js} +2 -2
  41. package/dist/cdn/{W2MSJDRL.js → 6MQ5O5LY.js} +2 -2
  42. package/dist/cdn/6MUGOANO.js +18 -0
  43. package/dist/cdn/6MV7IVTY.js +18 -0
  44. package/dist/cdn/{2IQP5CPJ.js → 6PO4KLK2.js} +1 -1
  45. package/dist/cdn/{3T72AHYQ.js → 6QYNVEGC.js} +2 -2
  46. package/dist/cdn/6RLCUNUI.js +4 -0
  47. package/dist/cdn/72ABS7Y2.js +4 -0
  48. package/dist/cdn/{XSYAZ3QX.js → 7DGHICZE.js} +2 -2
  49. package/dist/cdn/{TFY5N3WM.js → 7DTXJNDH.js} +2 -2
  50. package/dist/cdn/{ZRMVLR6Z.js → 7F5VKLCK.js} +1 -1
  51. package/dist/cdn/{CQZPEOV3.js → 7FEZLKY7.js} +2 -2
  52. package/dist/cdn/{P7IZEV4L.js → 7FVHNQUY.js} +2 -2
  53. package/dist/cdn/{NJS2N5K3.js → 7HNEFBST.js} +2 -2
  54. package/dist/cdn/{3CA2UUPB.js → 7J7JEO5J.js} +2 -2
  55. package/dist/cdn/7XO35MKM.js +4 -0
  56. package/dist/cdn/A72736JC.js +18 -0
  57. package/dist/cdn/{2K4LEPDI.js → AF64VHQT.js} +2 -2
  58. package/dist/cdn/{A6VHGI5U.js → AJP3NB7X.js} +2 -2
  59. package/dist/cdn/{3S7YVVVZ.js → B25NMROT.js} +2 -2
  60. package/dist/cdn/{MUSGKJHI.js → B3A3AMPV.js} +2 -2
  61. package/dist/cdn/{WNKH5IG6.js → B7UAO4LR.js} +2 -2
  62. package/dist/cdn/{SA6AJPBT.js → BAKMXZ7G.js} +2 -2
  63. package/dist/cdn/BJUDP4CV.js +4 -0
  64. package/dist/cdn/BNKH37TY.js +4 -0
  65. package/dist/cdn/{6FA2FL3C.js → BOD65ZU4.js} +2 -2
  66. package/dist/cdn/{YNKDS73P.js → C2AIE2T2.js} +2 -2
  67. package/dist/cdn/C5K2J7H4.js +4 -0
  68. package/dist/cdn/{FM5G7FRN.js → CGZYVYUK.js} +2 -2
  69. package/dist/cdn/{XUJO4B4K.js → CILM6ZZK.js} +1 -1
  70. package/dist/cdn/CKVKWVOH.js +18 -0
  71. package/dist/cdn/{FCGJ2VZH.js → CXKUQGUM.js} +2 -2
  72. package/dist/cdn/{5TQFPX44.js → D2SRSVHL.js} +2 -2
  73. package/dist/cdn/D5LXSOBF.js +4 -0
  74. package/dist/cdn/{U4TZ7FO3.js → DASHRYX4.js} +1 -1
  75. package/dist/cdn/{GKGR6CL5.js → DBXTXE2N.js} +1 -1
  76. package/dist/cdn/{PB7R6EJV.js → DH27ODVZ.js} +2 -2
  77. package/dist/cdn/{CTHU3ZDE.js → DI4XSN3O.js} +2 -2
  78. package/dist/cdn/{DQBC22ZI.js → DVVDE2AV.js} +1 -1
  79. package/dist/cdn/DWW72S7K.js +4 -0
  80. package/dist/cdn/DX3JGAPB.js +18 -0
  81. package/dist/cdn/{3PFSXVNI.js → DXFLMIEH.js} +2 -2
  82. package/dist/cdn/{EACONZXN.js → DZYWA7TU.js} +2 -2
  83. package/dist/cdn/E4EIYPLL.js +18 -0
  84. package/dist/cdn/{JCWH5TGE.js → E64YVOUB.js} +2 -2
  85. package/dist/cdn/{7H5QHDT3.js → ENBESLVD.js} +1 -1
  86. package/dist/cdn/ERDIVQ25.js +4 -0
  87. package/dist/cdn/{DFH335RF.js → ERWALFVE.js} +2 -2
  88. package/dist/cdn/{TT63U5XZ.js → EXBNMAE6.js} +1 -1
  89. package/dist/cdn/{ZIZC3PWT.js → F2HTXL46.js} +2 -2
  90. package/dist/cdn/FIBRPI6R.js +4 -0
  91. package/dist/cdn/{GRYSKL7I.js → FK3LVUKS.js} +2 -2
  92. package/dist/cdn/{PMETOHGA.js → FOBRIUEH.js} +2 -2
  93. package/dist/cdn/{TWXRBFOF.js → FOWQMKU2.js} +2 -2
  94. package/dist/cdn/{PSFFYGFC.js → FSKJTN3T.js} +2 -2
  95. package/dist/cdn/{YHJQLEL5.js → FSX5ISCK.js} +2 -2
  96. package/dist/cdn/{V4EKVAQ2.js → FVBTKN3N.js} +1 -1
  97. package/dist/cdn/{B2ZUA2SA.js → FWKD6EYP.js} +2 -2
  98. package/dist/cdn/GAEUS47T.js +4 -0
  99. package/dist/cdn/GFZBEF2X.js +4 -0
  100. package/dist/cdn/{WL5HYM67.js → GOSNXA6P.js} +2 -2
  101. package/dist/cdn/GSQAL2KY.js +4 -0
  102. package/dist/cdn/{OG3HGM7O.js → GWKZIPJH.js} +2 -2
  103. package/dist/cdn/H47GJ6H5.js +18 -0
  104. package/dist/cdn/H5JSQR72.js +18 -0
  105. package/dist/cdn/{WUF32TGT.js → H6BFVMYO.js} +2 -2
  106. package/dist/cdn/{J7MKHQD5.js → HEG6SMKM.js} +2 -2
  107. package/dist/cdn/{RJCEZOX5.js → HN5MMXWZ.js} +2 -2
  108. package/dist/cdn/{4D4Q4I4W.js → HS6GUC22.js} +2 -2
  109. package/dist/cdn/I62RYEPM.js +18 -0
  110. package/dist/cdn/{NL5KEH5L.js → I6NUVFSK.js} +2 -2
  111. package/dist/cdn/{D3MPEAVK.js → IAC5U4FW.js} +2 -2
  112. package/dist/cdn/{N74LH7NF.js → IAJEOYDY.js} +2 -2
  113. package/dist/cdn/{PGUKFHUT.js → IALX23CK.js} +2 -2
  114. package/dist/cdn/{IJU4WTDO.js → IF3A3DMK.js} +2 -2
  115. package/dist/cdn/IJOSG4N5.js +4 -0
  116. package/dist/cdn/{4RAQTPVG.js → JBOSZIGQ.js} +2 -2
  117. package/dist/cdn/{76RSSIAE.js → JSD4D4IU.js} +2 -2
  118. package/dist/cdn/{CT4IZZF2.js → JTGDHH2G.js} +2 -2
  119. package/dist/cdn/{ZRH55DSX.js → JVLS6G3W.js} +2 -2
  120. package/dist/cdn/{7HTKOKPV.js → K7TEZ7PM.js} +1 -1
  121. package/dist/cdn/{UWKDTPML.js → KAVI5FEZ.js} +1 -1
  122. package/dist/cdn/{6VLCRTPG.js → KDUSIRYT.js} +2 -2
  123. package/dist/cdn/{T2W5CMQT.js → KF2RPBWH.js} +2 -2
  124. package/dist/cdn/{3I4OEU4B.js → KFHHWR7Q.js} +2 -2
  125. package/dist/cdn/KG63GRNH.js +4 -0
  126. package/dist/cdn/{LFRLPN2S.js → KKBRAZNY.js} +2 -2
  127. package/dist/cdn/{PDE5YS33.js → KUDZ5D7L.js} +2 -2
  128. package/dist/cdn/KWKZT7B5.js +4 -0
  129. package/dist/cdn/{NJ3ACG6J.js → KXVNO4A5.js} +2 -2
  130. package/dist/cdn/L3IKBHLJ.js +4 -0
  131. package/dist/cdn/LBJBSIYL.js +4 -0
  132. package/dist/cdn/{LU6KZOCK.js → LBK2B2KM.js} +2 -2
  133. package/dist/cdn/{H7DFMVRR.js → LCSMIPHM.js} +2 -2
  134. package/dist/cdn/{T4XGEVZN.js → LGQFUJLP.js} +2 -2
  135. package/dist/cdn/{VYJNSH4L.js → LHP5SZ5Q.js} +1 -1
  136. package/dist/cdn/{DUWNVKPD.js → LPFHKDLD.js} +1 -1
  137. package/dist/cdn/{ND4M76E6.js → M3QOKP23.js} +2 -2
  138. package/dist/cdn/M3VFFWM2.js +4 -0
  139. package/dist/cdn/M5U5CJTL.js +4 -0
  140. package/dist/cdn/{JJL2DXOK.js → M7AKF2FM.js} +2 -2
  141. package/dist/cdn/{NZBLJRVM.js → MFFHR33L.js} +2 -2
  142. package/dist/cdn/{5XNGEXET.js → MHCFCKU5.js} +1 -1
  143. package/dist/cdn/{26YTMD6C.js → MHGX7IC4.js} +1 -1
  144. package/dist/cdn/{FBEKXE53.js → MJUSVFEE.js} +1 -1
  145. package/dist/cdn/MK7REF7S.js +4 -0
  146. package/dist/cdn/MLNYLKNC.js +3 -0
  147. package/dist/cdn/{GB5JUBYE.js → MTEXHIUZ.js} +2 -2
  148. package/dist/cdn/MU7TM2F2.js +4 -0
  149. package/dist/cdn/{4SADSXOQ.js → MVCOK2CK.js} +2 -2
  150. package/dist/cdn/MVV4NNJ5.js +4 -0
  151. package/dist/cdn/{TTCDYWE4.js → MYTDLSKW.js} +2 -2
  152. package/dist/cdn/{STFHU6UJ.js → MZY3EBXD.js} +2 -2
  153. package/dist/cdn/{JURO4ER3.js → N3FYHZ2M.js} +2 -2
  154. package/dist/cdn/{JOUJ6B3E.js → N5IMLUEJ.js} +2 -2
  155. package/dist/cdn/{EKG3CXMP.js → N7LCND73.js} +1 -1
  156. package/dist/cdn/NCJNH5ZN.js +4 -0
  157. package/dist/cdn/{D4ZAKPPN.js → NI6W7D5A.js} +2 -2
  158. package/dist/cdn/{DL73WI42.js → NJMEDUPT.js} +2 -2
  159. package/dist/cdn/{DVL6LPJA.js → NLV4FZCC.js} +2 -2
  160. package/dist/cdn/{P3FCJEZO.js → NMMFRIU6.js} +2 -2
  161. package/dist/cdn/NQWWH65Q.js +4 -0
  162. package/dist/cdn/{3R3QUK2F.js → NSX3F6PK.js} +2 -2
  163. package/dist/cdn/{FJTPGHCP.js → NW4UWDEC.js} +2 -2
  164. package/dist/cdn/{VPORF37W.js → O3RRQFC7.js} +2 -2
  165. package/dist/cdn/OBFREFMC.js +18 -0
  166. package/dist/cdn/{ZFYQGS6G.js → OGBEUJ35.js} +2 -2
  167. package/dist/cdn/OGJBWQ2A.js +4 -0
  168. package/dist/cdn/{JANCWVYC.js → OHWUPE3N.js} +2 -2
  169. package/dist/cdn/OKEZMB6G.js +18 -0
  170. package/dist/cdn/{H6KOMX3B.js → OL7UAB72.js} +2 -2
  171. package/dist/cdn/{DUW7R25K.js → OOPBP5XR.js} +2 -2
  172. package/dist/cdn/OSZACI45.js +18 -0
  173. package/dist/cdn/{2WRSC34B.js → OTGVNQI2.js} +2 -2
  174. package/dist/cdn/{DKEAKE2K.js → OTLIXGZN.js} +1 -1
  175. package/dist/cdn/OVMH6ABW.js +18 -0
  176. package/dist/cdn/{T3YBLIK3.js → OXKZ4WL5.js} +2 -2
  177. package/dist/cdn/{PLF2X6MM.js → OZAZROXV.js} +2 -2
  178. package/dist/cdn/{WMFM2LJJ.js → P2M5FUPS.js} +2 -2
  179. package/dist/cdn/{NU2EHQKG.js → P3SBMKK7.js} +2 -2
  180. package/dist/cdn/{GNVUXY6S.js → PGM2D4BL.js} +2 -2
  181. package/dist/cdn/{CZC5E6PT.js → PKZWKHVE.js} +2 -2
  182. package/dist/cdn/{WSM3I5LT.js → PN3T6KFP.js} +2 -2
  183. package/dist/cdn/PQ4JMMPZ.js +4 -0
  184. package/dist/cdn/PQFKVNAR.js +4 -0
  185. package/dist/cdn/{BVF77XL3.js → PSNN2F3O.js} +2 -2
  186. package/dist/cdn/{W2YR6DCI.js → PTID7RWS.js} +2 -2
  187. package/dist/cdn/{XLFGPXWZ.js → PWFNEOMW.js} +2 -2
  188. package/dist/cdn/PY2SRIID.js +18 -0
  189. package/dist/cdn/PZ4QY622.js +4 -0
  190. package/dist/cdn/Q6RSACS2.js +4 -0
  191. package/dist/cdn/{T5NML6EW.js → QF52CHR2.js} +2 -2
  192. package/dist/cdn/{YESDLOJA.js → QFECG4JS.js} +2 -2
  193. package/dist/cdn/{SPASMJZ7.js → QH3NPYAQ.js} +2 -2
  194. package/dist/cdn/{JDEXVRJ5.js → QHKUHSB4.js} +2 -2
  195. package/dist/cdn/{EFQJYMT3.js → QMGASUOO.js} +2 -2
  196. package/dist/cdn/{6UUULLLC.js → QN7LS2QQ.js} +2 -2
  197. package/dist/cdn/{JPYE25NL.js → QQSAJPIY.js} +2 -2
  198. package/dist/cdn/{Q2SYWGNQ.js → QSZMGRE6.js} +2 -2
  199. package/dist/cdn/{T62HZRZ4.js → QV7PB2KD.js} +2 -2
  200. package/dist/cdn/{2P5UHGEH.js → QZITIAU7.js} +2 -2
  201. package/dist/cdn/{YNOM76J7.js → RAOIGUOR.js} +2 -2
  202. package/dist/cdn/{4RRDEPWJ.js → RBVM5G3M.js} +2 -2
  203. package/dist/cdn/{3RJL5JGR.js → REX5WEEL.js} +2 -2
  204. package/dist/cdn/{TB6EIWVL.js → RJ3KA2QH.js} +2 -2
  205. package/dist/cdn/{FUXLF2VF.js → RP24U6QA.js} +2 -2
  206. package/dist/cdn/{WZEIIAU2.js → RRKAGWN6.js} +2 -2
  207. package/dist/cdn/{CIHLT7JJ.js → RYBBDSVC.js} +2 -2
  208. package/dist/cdn/{KN36CLI6.js → S3YNSR6B.js} +1 -1
  209. package/dist/cdn/{IL2JAPH7.js → S7XCGTZK.js} +2 -2
  210. package/dist/cdn/{MVBPZBKK.js → SDSGL4OS.js} +2 -2
  211. package/dist/cdn/{KI4MEEVP.js → SGXXUYPR.js} +2 -2
  212. package/dist/cdn/{36QOQZUH.js → SHEOGGDB.js} +2 -2
  213. package/dist/cdn/SP5YHQIJ.js +18 -0
  214. package/dist/cdn/{OGO5SDYD.js → SPJHTFGW.js} +2 -2
  215. package/dist/cdn/T67LMZC2.js +4 -0
  216. package/dist/cdn/{I3DYDXPP.js → T6H5UYKM.js} +2 -2
  217. package/dist/cdn/{MANN6WHT.js → TC5MSHUC.js} +1 -1
  218. package/dist/cdn/{UXLQNMFU.js → TH36Z3EQ.js} +2 -2
  219. package/dist/cdn/{5WBJ7JHK.js → TPKKNJPF.js} +4 -4
  220. package/dist/cdn/{UTDSMFWL.js → TQ6RZ33F.js} +1 -1
  221. package/dist/cdn/{RPSFV63U.js → TW5CSUJI.js} +2 -2
  222. package/dist/cdn/{HBJNKM2C.js → TYZZAW7E.js} +2 -2
  223. package/dist/cdn/{PGUOGQLS.js → TZU3WM3P.js} +2 -2
  224. package/dist/cdn/{OGISVN6B.js → U5YN7LKZ.js} +1 -1
  225. package/dist/cdn/{ONPGGFF4.js → UC2ZDCJ4.js} +2 -2
  226. package/dist/cdn/{NUVLGW3I.js → UKVIZZJA.js} +2 -2
  227. package/dist/cdn/UKW2PIRS.js +4 -0
  228. package/dist/cdn/UOKEIQSK.js +4 -0
  229. package/dist/cdn/{WCDC3LA2.js → UPA7CZWG.js} +2 -2
  230. package/dist/cdn/{AOA73IL2.js → UPQTLWZA.js} +2 -2
  231. package/dist/cdn/{CH2SVK4L.js → UR3FAOLQ.js} +2 -2
  232. package/dist/cdn/{ELZ7PG6K.js → UY2NUYYG.js} +2 -2
  233. package/dist/cdn/{NLIFCBCW.js → UZYRU2CV.js} +2 -2
  234. package/dist/cdn/{FNTEHVST.js → V6CU25IV.js} +2 -2
  235. package/dist/cdn/V6ZZBJ75.js +4 -0
  236. package/dist/cdn/VC3IFEV6.js +18 -0
  237. package/dist/cdn/{ZMNMOEFY.js → VEEP6F3T.js} +2 -2
  238. package/dist/cdn/{LLHQVJKK.js → VEPIEGAH.js} +2 -2
  239. package/dist/cdn/{JGA5STLE.js → VH4KD2UB.js} +1 -1
  240. package/dist/cdn/VHMJSA7X.js +4 -0
  241. package/dist/cdn/VM6LPXEK.js +4 -0
  242. package/dist/cdn/{SBYXJC54.js → VRTRTGZA.js} +2 -2
  243. package/dist/cdn/{R3TVF6ES.js → VXBW6YBU.js} +2 -2
  244. package/dist/cdn/W3TTJTGV.js +4 -0
  245. package/dist/cdn/{F3B6EWIS.js → W4BK25RV.js} +2 -2
  246. package/dist/cdn/{MQX3K4RF.js → W4KUVWND.js} +3 -3
  247. package/dist/cdn/{FAMDDI7C.js → WCOVLACF.js} +2 -2
  248. package/dist/cdn/{XKZSGZGT.js → WDBQW7IX.js} +2 -2
  249. package/dist/cdn/{VHB6NDP6.js → WUXC3NVU.js} +1 -1
  250. package/dist/cdn/WXYWYY3L.js +4 -0
  251. package/dist/cdn/{QADXDV6V.js → X2U56JE5.js} +2 -2
  252. package/dist/cdn/{66C54WBP.js → X3C4SWBZ.js} +2 -2
  253. package/dist/cdn/{I6GLKTED.js → X67KLNQ2.js} +1 -1
  254. package/dist/cdn/{HITJF4RQ.js → X6YB4RRP.js} +2 -2
  255. package/dist/cdn/{XYVZEUU3.js → X7CCOJBI.js} +1 -1
  256. package/dist/cdn/{Z55KW3GE.js → XBAMLJBK.js} +2 -2
  257. package/dist/cdn/XHNIG4LQ.js +4 -0
  258. package/dist/cdn/{TROND5WN.js → XHSVY2EB.js} +2 -2
  259. package/dist/cdn/XNWAPK5V.js +4 -0
  260. package/dist/cdn/{O7NFPTWX.js → XQJLGH6W.js} +2 -2
  261. package/dist/cdn/{7Z27VXFW.js → XT7PFAWR.js} +2 -2
  262. package/dist/cdn/{HRSOPFCG.js → XWSLSQGX.js} +2 -2
  263. package/dist/cdn/XXYS5XVH.js +18 -0
  264. package/dist/cdn/{4L4IBTJF.js → Y34X2BEZ.js} +2 -2
  265. package/dist/cdn/{J6PNQKBC.js → YD7TNP2F.js} +2 -2
  266. package/dist/cdn/{SRNUXUPT.js → YDLBEEXI.js} +2 -2
  267. package/dist/cdn/{ZRJNRVE3.js → YDQYV74W.js} +2 -2
  268. package/dist/cdn/{55R3KRVW.js → YIKSDDBF.js} +2 -2
  269. package/dist/cdn/{6AYWXJGE.js → YINO6TQT.js} +2 -2
  270. package/dist/cdn/YLIEQBKF.js +4 -0
  271. package/dist/cdn/YQ62X2PW.js +6 -0
  272. package/dist/cdn/{5JEZVAD4.js → YSBCE6IL.js} +1 -1
  273. package/dist/cdn/{HVZJ36FS.js → YUKV3NWK.js} +3 -3
  274. package/dist/cdn/{N67Z7ZNA.js → Z2JRY3A7.js} +2 -2
  275. package/dist/cdn/{MLJEVKSP.js → Z6TNCHWU.js} +2 -2
  276. package/dist/cdn/Z7OOU2TV.js +4 -0
  277. package/dist/cdn/{GMIFING2.js → ZAP6T3AI.js} +2 -2
  278. package/dist/cdn/{C4NNXXEU.js → ZCSKWHOT.js} +2 -2
  279. package/dist/cdn/{Y2F6P2NH.js → ZJVPDHYK.js} +2 -2
  280. package/dist/cdn/{HVNXNVUK.js → ZOP3G47D.js} +2 -2
  281. package/dist/cdn/{JI774UUM.js → ZPNMD2RT.js} +1 -1
  282. package/dist/cdn/{55C6EXD4.js → ZQMYQNUW.js} +2 -2
  283. package/dist/cdn/{PHJTNAEQ.js → ZSBHYTRL.js} +2 -2
  284. package/dist/cdn/{POF7HICC.js → ZUQWIUGY.js} +2 -2
  285. package/dist/cdn/{WRV54M6S.js → ZWICHMUP.js} +2 -2
  286. package/dist/cdn/{ZYH25ZQL.js → ZYM7TYLE.js} +2 -2
  287. package/dist/cdn/assets/layer-table/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/layer-table/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/map-card/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/map-card/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  293. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  294. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  295. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  297. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  298. package/dist/cdn/index.js +2 -2
  299. package/dist/cdn/main.css +1 -1
  300. package/dist/chunks/Auth.js +3 -9
  301. package/dist/chunks/appConfig.js +11 -0
  302. package/dist/chunks/cardFetchingUtils.js +102 -150
  303. package/dist/chunks/common.js +1 -1
  304. package/dist/chunks/deployAppContexts.js +1 -1
  305. package/dist/chunks/downloadUtils.js +1 -1
  306. package/dist/chunks/helpers.js +76 -0
  307. package/dist/chunks/index.js +1 -1
  308. package/dist/chunks/interfaces.js +38 -21
  309. package/dist/chunks/loadModules.js +1 -1
  310. package/dist/chunks/mapViewUtils.js +2 -2
  311. package/dist/chunks/pciUtils.js +1 -1
  312. package/dist/chunks/popupUtils.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +56 -0
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +1 -1
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +24 -23
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.d.ts +6 -0
  326. package/dist/components/create-feature/customElement.js +8 -8
  327. package/dist/components/create-related-feature/customElement.js +1 -1
  328. package/dist/components/crowdsource-manager/customElement.js +16 -16
  329. package/dist/components/crowdsource-reporter/customElement.js +19 -16
  330. package/dist/components/deduct-calculator/customElement.js +1 -1
  331. package/dist/components/delete-button/customElement.js +1 -1
  332. package/dist/components/delete-dialog/customElement.js +1 -1
  333. package/dist/components/edit-card/customElement.js +24 -18
  334. package/dist/components/feature-details/customElement.js +1 -1
  335. package/dist/components/feature-list/customElement.js +1 -1
  336. package/dist/components/field-selection/customElement.js +1 -1
  337. package/dist/components/floor-filter/customElement.js +1 -1
  338. package/dist/components/info-card/customElement.js +1 -1
  339. package/dist/components/json-editor/customElement.js +1 -1
  340. package/dist/components/layer-list/customElement.js +1 -1
  341. package/dist/components/layer-table/customElement.js +70 -66
  342. package/dist/components/map-card/customElement.d.ts +12 -0
  343. package/dist/components/map-card/customElement.js +53 -48
  344. package/dist/components/map-draw-tools/customElement.js +2 -2
  345. package/dist/components/map-fullscreen/customElement.js +1 -1
  346. package/dist/components/map-layer-picker/customElement.js +2 -2
  347. package/dist/components/map-legend/customElement.js +1 -1
  348. package/dist/components/map-picker/customElement.js +22 -18
  349. package/dist/components/map-search/customElement.js +1 -1
  350. package/dist/components/map-select-tools/customElement.js +2 -2
  351. package/dist/components/map-tools/customElement.js +3 -3
  352. package/dist/components/pci-calculator/customElement.js +1 -1
  353. package/dist/components/pdf-download/customElement.js +1 -1
  354. package/dist/components/public-notification/customElement.js +2 -2
  355. package/dist/components/refine-selection/customElement.js +2 -2
  356. package/dist/components/selection-tool/customElement.js +1 -1
  357. package/dist/components/solution-article-card/customElement.js +1 -1
  358. package/dist/components/solution-configuration/customElement.js +1 -1
  359. package/dist/components/{solution-configure-panel → solution-configure-dialog}/customElement.d.ts +1 -1
  360. package/dist/components/{solution-configure-panel → solution-configure-dialog}/customElement.js +8 -8
  361. package/dist/components/solution-configure-titles/customElement.js +1 -1
  362. package/dist/components/solution-contents/customElement.js +1 -1
  363. package/dist/components/solution-delete-dialog/customElement.d.ts +24 -0
  364. package/dist/components/solution-delete-dialog/customElement.js +70 -15
  365. package/dist/components/solution-delete-dialog/index.d.ts +5 -0
  366. package/dist/components/solution-delete-dialog/index.js +5 -0
  367. package/dist/components/solution-deploy-dialog/customElement.d.ts +42 -0
  368. package/dist/components/solution-deploy-dialog/customElement.js +154 -16
  369. package/dist/components/solution-deploy-dialog/index.d.ts +9 -0
  370. package/dist/components/solution-deploy-dialog/index.js +9 -0
  371. package/dist/components/solution-deployed-card/customElement.d.ts +9 -0
  372. package/dist/components/solution-deployed-card/customElement.js +24 -14
  373. package/dist/components/solution-deployed-card/index.d.ts +1 -0
  374. package/dist/components/solution-deployed-card/index.js +1 -0
  375. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  376. package/dist/components/solution-details-card/customElement.d.ts +4 -11
  377. package/dist/components/solution-details-card/customElement.js +16 -16
  378. package/dist/components/solution-details-panel/customElement.d.ts +14 -0
  379. package/dist/components/solution-details-panel/customElement.js +240 -17
  380. package/dist/components/solution-details-panel/index.d.ts +14 -0
  381. package/dist/components/solution-details-panel/index.js +14 -0
  382. package/dist/components/solution-item/customElement.js +1 -1
  383. package/dist/components/solution-item-accordion/customElement.js +1 -1
  384. package/dist/components/solution-item-details/customElement.js +1 -1
  385. package/dist/components/solution-item-icon/customElement.js +1 -1
  386. package/dist/components/solution-item-sharing/customElement.js +1 -1
  387. package/dist/components/solution-items-diagram/customElement.js +1 -1
  388. package/dist/components/solution-organization-variables/customElement.js +1 -1
  389. package/dist/components/solution-resource-item/customElement.js +1 -1
  390. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  391. package/dist/components/solution-spatial-ref/customElement.js +14 -14
  392. package/dist/components/solution-template-data/customElement.js +1 -1
  393. package/dist/components/solution-variables/customElement.js +1 -1
  394. package/dist/components/solutions-all-panel/customElement.d.ts +10 -8
  395. package/dist/components/solutions-all-panel/customElement.js +51 -53
  396. package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
  397. package/dist/components/solutions-all-shell/customElement.js +31 -29
  398. package/dist/components/solutions-article-panel/customElement.js +1 -1
  399. package/dist/components/solutions-articles/customElement.js +1 -1
  400. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  401. package/dist/components/solutions-deployed-panel/customElement.js +23 -21
  402. package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
  403. package/dist/components/solutions-deployed-shell/customElement.js +28 -26
  404. package/dist/components/solutions-filter-panel/customElement.d.ts +8 -3
  405. package/dist/components/solutions-filter-panel/customElement.js +82 -101
  406. package/dist/components/spatial-ref/customElement.js +1 -1
  407. package/dist/components/store-manager/customElement.js +1 -1
  408. package/dist/docs/api.json +741 -282
  409. package/dist/docs/docs.json +847 -322
  410. package/dist/docs/vscode.html-custom-data.json +47 -48
  411. package/dist/docs/web-types.json +268 -95
  412. package/dist/index.d.ts +68 -11
  413. package/dist/index.js +1 -1
  414. package/dist/loader.js +9 -10
  415. package/dist/types/lumina.d.ts +20 -15
  416. package/dist/types/preact.d.ts +21 -17
  417. package/dist/types/react.d.ts +22 -19
  418. package/dist/types/stencil.d.ts +20 -15
  419. package/dist/utils/cardFetchingUtils.d.ts +3 -3
  420. package/dist/utils/interfaces.d.ts +94 -9
  421. package/dist/utils/privilegeUtils.d.ts +14 -0
  422. package/package.json +3 -2
  423. package/dist/cdn/33CJMY5K.js +0 -18
  424. package/dist/cdn/3FEML345.js +0 -18
  425. package/dist/cdn/3IP3UCC6.js +0 -4
  426. package/dist/cdn/4OW4FAGV.js +0 -18
  427. package/dist/cdn/4ZZY4G5L.js +0 -4
  428. package/dist/cdn/5CTYL5OX.js +0 -4
  429. package/dist/cdn/5VVOF3UA.js +0 -4
  430. package/dist/cdn/6BLHHHGI.js +0 -18
  431. package/dist/cdn/6QGWW2DJ.js +0 -4
  432. package/dist/cdn/AS2YP4CC.js +0 -4
  433. package/dist/cdn/BFNEXKKP.js +0 -18
  434. package/dist/cdn/C3JZDZSB.js +0 -4
  435. package/dist/cdn/C5ZEFQEX.js +0 -4
  436. package/dist/cdn/CMO56LFB.js +0 -4
  437. package/dist/cdn/CR2HG4F6.js +0 -4
  438. package/dist/cdn/D57MZFOU.js +0 -4
  439. package/dist/cdn/DDWTO2EM.js +0 -4
  440. package/dist/cdn/DL42SYVU.js +0 -4
  441. package/dist/cdn/EI3DVNTC.js +0 -4
  442. package/dist/cdn/GAEZB6HN.js +0 -4
  443. package/dist/cdn/HA2OGFHW.js +0 -4
  444. package/dist/cdn/HIYIOXEQ.js +0 -4
  445. package/dist/cdn/I2GIDS2K.js +0 -4
  446. package/dist/cdn/IPXVQFFH.js +0 -4
  447. package/dist/cdn/J2ZOLADT.js +0 -4
  448. package/dist/cdn/JH33JHRL.js +0 -4
  449. package/dist/cdn/KCMPZ54Y.js +0 -18
  450. package/dist/cdn/KS3MADXB.js +0 -4
  451. package/dist/cdn/LK4UQLYZ.js +0 -18
  452. package/dist/cdn/LROPDZCW.js +0 -4
  453. package/dist/cdn/M6XME7OM.js +0 -4
  454. package/dist/cdn/NHGBIUB5.js +0 -18
  455. package/dist/cdn/OEHWO6ML.js +0 -18
  456. package/dist/cdn/PEOMHSG3.js +0 -4
  457. package/dist/cdn/PFGUJCMD.js +0 -18
  458. package/dist/cdn/PGXMYR7Q.js +0 -18
  459. package/dist/cdn/PIBSUTGK.js +0 -18
  460. package/dist/cdn/PJPC75F5.js +0 -4
  461. package/dist/cdn/RMYNQEIN.js +0 -18
  462. package/dist/cdn/RRRRSVAS.js +0 -4
  463. package/dist/cdn/SYSZXXPY.js +0 -4
  464. package/dist/cdn/TKRGTLNR.js +0 -18
  465. package/dist/cdn/TQ2X7VMW.js +0 -6
  466. package/dist/cdn/U44MKOB3.js +0 -4
  467. package/dist/cdn/VJPEZ2CS.js +0 -18
  468. package/dist/cdn/VK73BGU2.js +0 -18
  469. package/dist/cdn/VLHFZNHN.js +0 -4
  470. package/dist/cdn/VUAQDVTL.js +0 -18
  471. package/dist/cdn/XCZRYZDV.js +0 -4
  472. package/dist/cdn/XEG2HRCV.js +0 -4
  473. package/dist/cdn/XK4Y3NEC.js +0 -18
  474. package/dist/cdn/YNVH5WET.js +0 -4
  475. package/dist/cdn/YS42NZJY.js +0 -4
  476. package/dist/cdn/YZNBB7J7.js +0 -4
  477. package/dist/cdn/ZE5UWIMJ.js +0 -4
  478. package/dist/cdn/ZIAYAVCI.js +0 -18
  479. package/dist/cdn/ZVTVCHDD.js +0 -18
  480. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +0 -1
  481. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +0 -1
  482. package/dist/components/solution-deploy-panel/customElement.d.ts +0 -18
  483. package/dist/components/solution-deploy-panel/customElement.js +0 -72
  484. package/dist/components/solution-deploy-panel/index.d.ts +0 -12
  485. package/dist/components/solution-deploy-panel/index.js +0 -12
  486. /package/dist/cdn/assets/{solution-configure-panel → solution-configure-dialog}/t9n/messages.en.json +0 -0
  487. /package/dist/cdn/assets/{solution-configure-panel → solution-configure-dialog}/t9n/messages.json +0 -0
  488. /package/dist/components/{solution-configure-panel → solution-configure-dialog}/index.d.ts +0 -0
  489. /package/dist/components/{solution-configure-panel → solution-configure-dialog}/index.js +0 -0
@@ -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.20250605 */
3
+ v1.0.0-next.20250613 */
4
4
  function a(r){return Array.isArray(r)?r:Array.from(r)}export{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.20250605 */
4
- import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./NU2EHQKG.js";import"./NJS2N5K3.js";import"./TFY5N3WM.js";import"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./WUF32TGT.js";import"./NUVLGW3I.js";var A=`
3
+ v1.0.0-next.20250613 */
4
+ import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./P3SBMKK7.js";import"./7HNEFBST.js";import"./7DTXJNDH.js";import"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var A=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -1,5 +1,5 @@
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.20250605 */
4
- import"./NUVLGW3I.js";var B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
3
+ v1.0.0-next.20250613 */
4
+ import"./UKVIZZJA.js";var B=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var x=e=>{let t=[],r=0;return e=e.replace(/(\[[^\]]*\])/g,(s,a)=>{let c=`__ph-${r}__`;return t.push(a),r++,c}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,a,c)=>{let l=`__ph-${r}__`;return t.push(c),r++,a+l}),placeholders:t}},L=(e,t)=>t.replace(/__ph-(\d+)__/g,(r,n)=>e[+n]),f="-shadowcsshost",E="-shadowcssslotted",w="-shadowcsscontext",$=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",P=new RegExp("("+f+$,"gim"),W=new RegExp("("+w+$,"gim"),j=new RegExp("("+E+$,"gim"),h=f+"-no-combinator",N=/-shadowcsshost-no-combinator([^\s]*)/,M=[/::shadow/g,/::content/g],D="([>\\s~+[.,{:][\\s\\S]*)?$",R=/-shadowcsshost/gim,H=e=>new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${e}\\b)`,"gim"),K=H("::slotted"),U=H(":host"),Y=H(":host-context"),A=/\/\*\s*[\s\S]*?\*\//g,G=e=>e.replace(A,""),I=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,q=e=>e.match(I)||[],z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,F=/([{}])/g,J=/(^.*?[^\\])??((:+)(.*)|$)/,Q="{",V="}",S="%BLOCK%",X=(e,t)=>{let r=Z(e),n=0;return r.escapedString.replace(z,(...o)=>{let s=o[2],a="",c=o[4],l="";c&&c.startsWith("{"+S)&&(a=r.blocks[n++],c=c.substring(S.length+1),l="{");let d=t({selector:s,content:a});return`${o[1]}${d.selector}${o[3]}${l}${d.content}${c}`})},Z=e=>{let t=e.split(F),r=[],n=[],o=0,s=[];for(let c=0;c<t.length;c++){let l=t[c];l===V&&o--,o>0?s.push(l):(s.length>0&&(n.push(s.join("")),r.push(S),s=[]),r.push(l)),l===Q&&o++}return s.length>0&&(n.push(s.join("")),r.push(S)),{escapedString:r.join(""),blocks:n}},T=e=>(e=e.replace(Y,`$1${w}`).replace(U,`$1${f}`).replace(K,`$1${E}`),e),O=(e,t,r)=>e.replace(t,(...n)=>{if(n[2]){let o=n[2].split(","),s=[];for(let a=0;a<o.length;a++){let c=o[a].trim();if(!c)break;s.push(r(h,c,n[3]))}return s.join(",")}else return h+n[3]}),b=(e,t,r)=>e+t.replace(f,"")+r,ee=e=>O(e,P,b),te=(e,t,r)=>t.indexOf(f)>-1?b(e,t,r):e+t+r+", "+t+" "+e+r,re=(e,t)=>{let r="."+t+" > ",n=[];return e=e.replace(j,(...o)=>{if(o[2]){let s=o[2].trim(),a=o[3],c=r+s+a,l="";for(let g=o[4]-1;g>=0;g--){let p=o[5][g];if(p==="}"||p===",")break;l=p+l}let u=(l+c).trim(),d=`${l.trimEnd()}${c.trim()}`.trim();if(u!==d){let g=`${d}, ${u}`;n.push({orgSelector:u,updatedSelector:g})}return c}else return h+o[3]}),{selectors:n,cssText:e}},oe=e=>O(e,W,te),ne=e=>M.reduce((t,r)=>t.replace(r," "),e),se=e=>{let t=/\[/g,r=/\]/g;return e=e.replace(t,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+D,"m")},ce=(e,t)=>!se(t).test(e),k=(e,t)=>e.replace(J,(r,n="",o,s="",a="")=>n+t+s+a),ae=(e,t,r)=>{if(R.lastIndex=0,R.test(e)){let n=`.${r}`;return e.replace(N,(o,s)=>k(s,n)).replace(R,n+" ")}return t+" "+e},le=(e,t,r)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(v,...i)=>i[0]);let o="."+t,s=v=>{let i=v.trim();if(!i)return"";if(v.indexOf(h)>-1)i=ae(v,t,r);else{let _=v.replace(R,"");_.length>0&&(i=k(_,o))}return i},a=x(e);e=a.content;let c="",l=0,u,d=/( |>|\+|~(?!=))\s*/g,p=!(e.indexOf(h)>-1);for(;(u=d.exec(e))!==null;){let v=u[1],i=e.slice(l,u.index).trim();p=p||i.indexOf(h)>-1;let _=p?s(i):i;c+=`${_} ${v} `,l=d.lastIndex}let m=e.substring(l);return p=p||m.indexOf(h)>-1,c+=p?s(m):m,L(a.placeholders,c)},pe=(e,t,r,n)=>e.split(",").map(o=>n&&o.indexOf("."+n)>-1?o.trim():ce(o,t)?le(o,t,r).trim():o.trim()).join(", "),y=(e,t,r,n)=>X(e,o=>{let s=o.selector,a=o.content;return o.selector[0]!=="@"?s=pe(o.selector,t,r,n):(o.selector.startsWith("@media")||o.selector.startsWith("@supports")||o.selector.startsWith("@page")||o.selector.startsWith("@document"))&&(a=y(o.content,t,r,n)),{selector:s.replace(/\s{2,}/g," ").trim(),content:a}}),ie=(e,t,r,n)=>{e=T(e),e=ee(e),e=oe(e);let o=re(e,n);return e=o.cssText,e=ne(e),t&&(e=y(e,t,r,n)),e=C(e,r),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:o.selectors.map(s=>({orgSelector:C(s.orgSelector,r),updatedSelector:C(s.updatedSelector,r)}))}},C=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),ue=(e,t)=>{let r=t+"-h",n=t+"-s",o=q(e);e=G(e);let s=ie(e,t,r,n);return e=[s.cssText,...o].join(`
5
5
  `),s.slottedSelectors.forEach(a=>{let c=new RegExp(B(a.orgSelector),"g");e=e.replace(c,a.updatedSelector)}),e};export{ue as scopeCss};
@@ -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.20250605 */
4
- import{a as d}from"./ZRMVLR6Z.js";import{e as h}from"./TFY5N3WM.js";import{c as l}from"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as v,c as a,d as m,e as u}from"./WUF32TGT.js";import"./NUVLGW3I.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
3
+ v1.0.0-next.20250613 */
4
+ import{a as d}from"./7F5VKLCK.js";import{e as h}from"./7DTXJNDH.js";import{c as l}from"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as v,c as a,d as m,e as u}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
@@ -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.20250605 */
3
+ v1.0.0-next.20250613 */
4
4
  var t="UserSession",o="isMobile",a="Auth";export{t as a,o as b,a as c};
@@ -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.20250605 */
4
- import{a as e}from"./LROPDZCW.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.0.0-next.20250613 */
4
+ import{a as e}from"./MVV4NNJ5.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l 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.20250605 */
4
- var g=Object.create;var f=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')}),n=a=>b=>{var c=a[b];if(c)return c();throw new Error("Module not found in bundle: "+b)};var o=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var l=(a,b,c,e)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&f(a,d,{get:()=>b[d],enumerable:!(e=h(b,d))||e.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?f(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
3
+ v1.0.0-next.20250613 */
4
+ var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')}),n=a=>b=>{var c=a[b];if(c)return c();throw new Error("Module not found in bundle: "+b)};var o=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),p=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var q=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d,q as e};
@@ -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.20250613 */
4
+ import{f as r,s,t as i,v as o}from"./4NASOTXM.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
@@ -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.20250613 */
4
+ import{a as l}from"./UC2ZDCJ4.js";import"./MVV4NNJ5.js";import"./MK7REF7S.js";import"./377IXJY2.js";import"./QV7PB2KD.js";import"./S3YNSR6B.js";import{a as t}from"./UZYRU2CV.js";import"./DASHRYX4.js";import"./I6NUVFSK.js";import"./2IW5OPGT.js";import"./2Y73A3MC.js";import"./QHKUHSB4.js";import"./PGM2D4BL.js";import"./BAKMXZ7G.js";import"./2CXGIE2Y.js";import"./QH3NPYAQ.js";import"./2NUECUOL.js";import"./PN3T6KFP.js";import"./CILM6ZZK.js";import"./OGBEUJ35.js";import"./MJUSVFEE.js";import"./DI4XSN3O.js";import"./66GDPGJ4.js";import"./QZITIAU7.js";import"./MHCFCKU5.js";import"./HN5MMXWZ.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n 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.20250605 */
4
- import{j as n}from"./DUWNVKPD.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
3
+ v1.0.0-next.20250613 */
4
+ import{j as n}from"./LPFHKDLD.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w 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.20250605 */
4
- import{a as S}from"./36QOQZUH.js";import"./5WBJ7JHK.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./GKGR6CL5.js";import{c as d,d as g,g as v}from"./3I4OEU4B.js";import"./C3JZDZSB.js";import"./VHB6NDP6.js";import{a as u,b as c}from"./FNEE7DUR.js";import{b as F}from"./JI774UUM.js";import{a as b}from"./FCGJ2VZH.js";import{D as w,E as x,F as I,I as L,c as m,d as r,g as y,o as p,q as _}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var $=m`@layer{/** @license
3
+ v1.0.0-next.20250613 */
4
+ import{a as S}from"./SHEOGGDB.js";import"./TPKKNJPF.js";import"./YQ62X2PW.js";import"./QFECG4JS.js";import"./KXVNO4A5.js";import"./W3TTJTGV.js";import"./XHNIG4LQ.js";import"./ERDIVQ25.js";import"./KAVI5FEZ.js";import"./BNKH37TY.js";import"./MK7REF7S.js";import"./QV7PB2KD.js";import"./GFZBEF2X.js";import"./5DPFMR4I.js";import"./IJOSG4N5.js";import"./EXBNMAE6.js";import"./IAJEOYDY.js";import"./T67LMZC2.js";import"./C2AIE2T2.js";import"./VH4KD2UB.js";import"./S3YNSR6B.js";import"./DBXTXE2N.js";import{c as d,d as g,g as v}from"./KFHHWR7Q.js";import"./BJUDP4CV.js";import"./WUXC3NVU.js";import{a as u,b as c}from"./3Q3S4KCD.js";import{b as F}from"./ZPNMD2RT.js";import{a as b}from"./CXKUQGUM.js";import{A as I,D as L,c as m,d as r,f as y,n as p,p as _,y as w,z as x}from"./4NASOTXM.js";import"./UKVIZZJA.js";var $=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250605 */
4
- import{a as r,b as c}from"./FNEE7DUR.js";import{b as h}from"./JI774UUM.js";import{D as n,I as l,c as i,d as s,o as a}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var d=i`/** @license
3
+ v1.0.0-next.20250613 */
4
+ import{a as r,b as c}from"./3Q3S4KCD.js";import{b as h}from"./ZPNMD2RT.js";import{D as l,c as i,d as s,n as a,y as n}from"./4NASOTXM.js";import"./UKVIZZJA.js";var d=i`/** @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.20250605 */
4
- import{a as D,b as w}from"./WCDC3LA2.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./NU2EHQKG.js";import"./NJS2N5K3.js";import{a as _,b as L}from"./TFY5N3WM.js";import{C as S,D as y}from"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./WUF32TGT.js";import"./NUVLGW3I.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
3
+ v1.0.0-next.20250613 */
4
+ import{a as D,b as w}from"./UPA7CZWG.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./P3SBMKK7.js";import"./7HNEFBST.js";import{a as _,b as L}from"./7DTXJNDH.js";import{C as S,D as y}from"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
@@ -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.20250605 */
4
- import{a as v}from"./U4TZ7FO3.js";import{a as y}from"./NL5KEH5L.js";import{a as p}from"./7K5ZFURJ.js";import{a as d}from"./JDEXVRJ5.js";import{a as E}from"./GNVUXY6S.js";import{a as s}from"./SA6AJPBT.js";import{a as n}from"./HEPGER72.js";import{a}from"./SPASMJZ7.js";import{a as l}from"./B22SBUCC.js";import{a as e}from"./WSM3I5LT.js";import{a as r}from"./CTHU3ZDE.js";import{a as t}from"./5M4BUTK4.js";import{a as i}from"./RJCEZOX5.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.20250613 */
4
+ import{a as v}from"./DASHRYX4.js";import{a as y}from"./I6NUVFSK.js";import{a as p}from"./2Y73A3MC.js";import{a as d}from"./QHKUHSB4.js";import{a as E}from"./PGM2D4BL.js";import{a as s}from"./BAKMXZ7G.js";import{a as n}from"./2CXGIE2Y.js";import{a}from"./QH3NPYAQ.js";import{a as l}from"./2NUECUOL.js";import{a as e}from"./PN3T6KFP.js";import{a as r}from"./DI4XSN3O.js";import{a as t}from"./66GDPGJ4.js";import{a as i}from"./HN5MMXWZ.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};
@@ -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.20250605 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./JANCWVYC.js";import{a as r}from"./NLIFCBCW.js";import"./U4TZ7FO3.js";import"./NL5KEH5L.js";import"./4ZGXBIVH.js";import"./7K5ZFURJ.js";import"./JDEXVRJ5.js";import"./GNVUXY6S.js";import"./SA6AJPBT.js";import"./HEPGER72.js";import"./SPASMJZ7.js";import"./B22SBUCC.js";import"./WSM3I5LT.js";import"./XUJO4B4K.js";import"./ZFYQGS6G.js";import"./FBEKXE53.js";import"./CTHU3ZDE.js";import"./5M4BUTK4.js";import"./2P5UHGEH.js";import"./5XNGEXET.js";import"./RJCEZOX5.js";import"./ZIZC3PWT.js";import"./7H5QHDT3.js";import"./DQBC22ZI.js";import"./NUVLGW3I.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250613 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./OHWUPE3N.js";import{a as r}from"./UZYRU2CV.js";import"./DASHRYX4.js";import"./I6NUVFSK.js";import"./2IW5OPGT.js";import"./2Y73A3MC.js";import"./QHKUHSB4.js";import"./PGM2D4BL.js";import"./BAKMXZ7G.js";import"./2CXGIE2Y.js";import"./QH3NPYAQ.js";import"./2NUECUOL.js";import"./PN3T6KFP.js";import"./CILM6ZZK.js";import"./OGBEUJ35.js";import"./MJUSVFEE.js";import"./DI4XSN3O.js";import"./66GDPGJ4.js";import"./QZITIAU7.js";import"./MHCFCKU5.js";import"./HN5MMXWZ.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -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.20250613 */
4
+ import{a as X}from"./XT7PFAWR.js";import{a as s}from"./6PO4KLK2.js";import{c as x}from"./KXVNO4A5.js";import{a as J,b as H}from"./6RLCUNUI.js";import{h as V,i as z}from"./W3TTJTGV.js";import{b as R,c as w}from"./C5K2J7H4.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./XHNIG4LQ.js";import"./WXYWYY3L.js";import"./ERDIVQ25.js";import"./KAVI5FEZ.js";import"./BNKH37TY.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./AJP3NB7X.js";import"./X7CCOJBI.js";import{h as G}from"./GFZBEF2X.js";import"./5DPFMR4I.js";import{a as p}from"./IJOSG4N5.js";import"./EXBNMAE6.js";import"./FOBRIUEH.js";import"./IAJEOYDY.js";import{k as O,s as j}from"./T67LMZC2.js";import"./C2AIE2T2.js";import"./VH4KD2UB.js";import{a as d}from"./S3YNSR6B.js";import"./ENBESLVD.js";import"./UKVIZZJA.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 le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=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}}},ce=async(e,t,o)=>{let r=p(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})},me=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})},$=async(e,t)=>{let o=await pe(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 me(e.id,t):await ce(e.id,e.schedule,t)},Y=(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=J();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 W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(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:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(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 ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[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 oe(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 re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(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,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(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"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});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{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
@@ -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.20250613 */
4
+ import{a as c}from"./UKW2PIRS.js";import{j as E,l as o}from"./BJUDP4CV.js";import{a as y}from"./CXKUQGUM.js";import{D as m,c as d,d as s,n as p,p as g,y as S}from"./4NASOTXM.js";import"./UKVIZZJA.js";var O=d`@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
+ */.width-full{width:100%}}`;var A={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},I=Object.keys(E).reduce((h,i)=>{let t=i;return h[t]=A[t]??[],h},{}),u=class extends S{constructor(){super(),this.isAIsettingEnabled=!1,this.isAllSolutions=!1,this._activeFilterSettings={industry:{group:"",subgroup:""},isOwnerMySolutions:!0,searchTerm:""},this._translations=y({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=p(),this._handleFilterRemoved=i=>{let t=i.detail;if(typeof t=="object"&&t!==null&&"type"in t&&typeof t.type=="string"){let e=t.type;(e==="industry"||e==="domain")&&this.changeIndustryFilter("","","")}else typeof t=="string"&&t.toLowerCase()===o.ORGANIZATION.toLowerCase()&&this.changeOwnerFilter(!0,!0)},this.listenOn(window,"filterRemoved",this._handleFilterRemoved)}static{this.properties={isAIsettingEnabled:5,isAllSolutions:5,_activeFilterSettings:16,_translations:16}}static{this.styles=O}static{this.shadowRootOptions=g}changeOwnerFilter(i,t){this._activeFilterSettings={...this._activeFilterSettings,isOwnerMySolutions:i};let e={displayValue:this._activeFilterSettings.isOwnerMySolutions?this._translations.mySolutions:this._translations.myOrgSolutions,type:"owner",value:this._activeFilterSettings.isOwnerMySolutions?o.OWNER:o.ORGANIZATION};t&&this.applyFilter.emit(e)}changeIndustryFilter(i,t,e,r){let n={displayValue:e,type:t!==""?"domain":"industry",value:t!==""?t:i,industry:i,domain:t},l={group:i,subgroup:t};this._activeFilterSettings={...this._activeFilterSettings,industry:l},r&&this.applyFilter.emit(n)}changeSearchFilter(i,t){this._activeFilterSettings={...this._activeFilterSettings,searchTerm:i},(i.length>=3||i==="")&&t&&this.applyFilter.emit({searchTerm:i})}clearFilters(){this.changeIndustryFilter("","",""),this.changeSearchFilter(""),this.applyFilter.emit(null),setTimeout(()=>{this.changeOwnerFilter(!0,!0)},500)}render(){return s`<calcite-panel description .heading=${this._translations.findSolutions}><calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.clear} text-enabled></calcite-action><calcite-input-text class="width-full" clearable icon=search @calciteInputTextInput=${i=>{this.changeSearchFilter(i.target.value,!0)}} .placeholder=${this._translations.search.solutions} slot=content-top .value=${this._activeFilterSettings.searchTerm}></calcite-input-text><calcite-block-group label>${!this.isAllSolutions&&this.renderOwnerBlock()||""}${this.renderIndustryBlock()}</calcite-block-group>${this.isAIsettingEnabled&&s`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderOwnerBlock(){return s`<calcite-block collapsible description expanded .heading=${this._translations.owner}><calcite-tree selection-mode=single-persist>${this._activeFilterSettings.isOwnerMySolutions?s`<calcite-tree-item .label=${this._translations.mySolutions} @click=${()=>{this.changeOwnerFilter(!0,!0)}} selected>${this._translations.mySolutions}</calcite-tree-item>`:s`<calcite-tree-item .label=${this._translations.mySolutions} @click=${()=>{this.changeOwnerFilter(!0,!0)}}>${this._translations.mySolutions}</calcite-tree-item>`}${this._activeFilterSettings.isOwnerMySolutions?s`<calcite-tree-item .label=${this._translations.myOrgSolutions} @click=${()=>{this.changeOwnerFilter(!1,!0)}}>${this._translations.myOrgSolutions}</calcite-tree-item>`:s`<calcite-tree-item .label=${this._translations.myOrgSolutions} @click=${()=>{this.changeOwnerFilter(!1,!0)}} selected>${this._translations.myOrgSolutions}</calcite-tree-item>`}</calcite-tree></calcite-block>`}renderIndustryBlock(){let i=(e,r)=>r.map(n=>{let l=Object.keys(this._translations.industriesDomain).find(F=>F.toUpperCase()===n.toUpperCase()),a=l&&l in this._translations.industriesDomain?this._translations.industriesDomain[l]:n;return n===this._activeFilterSettings.industry.subgroup?c(n,s`<calcite-tree-item .label=${a} @click=${()=>{this.changeIndustryFilter(e,n,a,!0)}} selected>${a}</calcite-tree-item>`):c(n,s`<calcite-tree-item .label=${a} @click=${()=>{this.changeIndustryFilter(e,n,a,!0)}}>${a}</calcite-tree-item>`)}),t=Object.entries(I).map(([e,r])=>{let n=Object.keys(this._translations.industries).find(a=>a.toUpperCase()===e.toUpperCase()),l=n&&n in this._translations.industries?this._translations.industries[n]:e;return e===this._activeFilterSettings.industry.group&&this._activeFilterSettings.industry.subgroup===""?c(e,s`<calcite-tree-item .expanded=${e===this._activeFilterSettings.industry.group&&r.length>0} .label=${l} @click=${()=>{this.changeIndustryFilter(e,"",l,!0)}} selected>${l}${r.length>0&&s`<calcite-tree slot=children selection-mode=single-persist>${i(e,r)}</calcite-tree>`||""}</calcite-tree-item>`):c(e,s`<calcite-tree-item .expanded=${e===this._activeFilterSettings.industry.group&&r.length>0} .label=${l} @click=${()=>{this.changeIndustryFilter(e,"",l,!0)}}>${l}${r.length>0&&s`<calcite-tree slot=children selection-mode=single-persist>${i(e,r)}</calcite-tree>`||""}</calcite-tree-item>`)});return s`<calcite-block collapsible description expanded .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${t}</calcite-tree></calcite-block>`}};m("solutions-filter-panel",u);export{u as SolutionsFilterPanel};
@@ -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.20250605 */
4
- import{a as g,b as m}from"./WCDC3LA2.js";import{h as I}from"./NU2EHQKG.js";import"./NJS2N5K3.js";import{a as u,c as L,f as b}from"./TFY5N3WM.js";import{C as w,D as f,m as p}from"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as D,c as d,e as v,f as S}from"./WUF32TGT.js";import"./NUVLGW3I.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
3
+ v1.0.0-next.20250613 */
4
+ import{a as g,b as m}from"./UPA7CZWG.js";import{h as I}from"./P3SBMKK7.js";import"./7HNEFBST.js";import{a as u,c as L,f as b}from"./7DTXJNDH.js";import{C as w,D as f,m as p}from"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as D,c as d,e as v,f as S}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
@@ -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.20250605 */
4
- import{a as v}from"./36QOQZUH.js";import"./5WBJ7JHK.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./GKGR6CL5.js";import"./VHB6NDP6.js";import{b}from"./JI774UUM.js";import{a as m}from"./FCGJ2VZH.js";import{D as g,E as i,F as f,I as w,c as p,d as s,g as u,o,q as _}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var E=p`@layer{/** @license
3
+ v1.0.0-next.20250613 */
4
+ import{a as v}from"./SHEOGGDB.js";import"./TPKKNJPF.js";import"./YQ62X2PW.js";import"./QFECG4JS.js";import"./KXVNO4A5.js";import"./W3TTJTGV.js";import"./XHNIG4LQ.js";import"./ERDIVQ25.js";import"./KAVI5FEZ.js";import"./BNKH37TY.js";import"./MK7REF7S.js";import"./QV7PB2KD.js";import"./GFZBEF2X.js";import"./5DPFMR4I.js";import"./IJOSG4N5.js";import"./EXBNMAE6.js";import"./IAJEOYDY.js";import"./T67LMZC2.js";import"./C2AIE2T2.js";import"./VH4KD2UB.js";import"./S3YNSR6B.js";import"./DBXTXE2N.js";import"./WUXC3NVU.js";import{b}from"./ZPNMD2RT.js";import{a as m}from"./CXKUQGUM.js";import{A as f,D as w,c as p,d as s,f as u,n as o,p as _,y as g,z as i}from"./4NASOTXM.js";import"./UKVIZZJA.js";var E=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.20250605 */
3
+ v1.0.0-next.20250613 */
4
4
  var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A 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.20250613 */
4
+ import{a}from"./5TICPJ6T.js";import{a as i}from"./MVV4NNJ5.js";import"./MK7REF7S.js";import"./377IXJY2.js";import"./QV7PB2KD.js";import{a as l,b as r}from"./O3RRQFC7.js";import"./FOBRIUEH.js";import"./IAJEOYDY.js";import"./C2AIE2T2.js";import"./VH4KD2UB.js";import"./S3YNSR6B.js";import{a as t}from"./UZYRU2CV.js";import"./DASHRYX4.js";import"./I6NUVFSK.js";import"./2IW5OPGT.js";import"./2Y73A3MC.js";import"./QHKUHSB4.js";import"./PGM2D4BL.js";import"./BAKMXZ7G.js";import"./2CXGIE2Y.js";import"./QH3NPYAQ.js";import"./2NUECUOL.js";import"./PN3T6KFP.js";import"./CILM6ZZK.js";import"./OGBEUJ35.js";import"./MJUSVFEE.js";import"./DI4XSN3O.js";import"./66GDPGJ4.js";import"./QZITIAU7.js";import"./MHCFCKU5.js";import"./HN5MMXWZ.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{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 l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -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.20250613 */
4
+ import{a,b}from"./PN3T6KFP.js";import"./CILM6ZZK.js";import"./OGBEUJ35.js";import"./MJUSVFEE.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";export{a as EventEditorTypes,b as buildSchema};
@@ -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.20250605 */
4
- import{a as i,c as n,d as p,e as a}from"./WUF32TGT.js";import"./NUVLGW3I.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};
3
+ v1.0.0-next.20250613 */
4
+ import{a as i,c as n,d as p,e as a}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};
@@ -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.20250605 */
4
- import"./NUVLGW3I.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.0.0-next.20250613 */
4
+ import"./UKVIZZJA.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -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.20250613 */
4
+ import{l as g}from"./XHNIG4LQ.js";import{c as i,d as f}from"./BNKH37TY.js";import{a}from"./IJOSG4N5.js";import{b as s}from"./IAJEOYDY.js";import{c as m,j as l,k as c,l as d,w as p}from"./T67LMZC2.js";function P(t,e){return f(g(t),e,4)}function M(t,e){let r=t.filter(n=>!n.startsWith(`${i}|`));return r.push([i,e].join("|")),r}async function S(t,e){if(!t.slug)return[];let n={filter:`typekeywords:"${t.slug.startsWith(`${i}|`)?t.slug:[i,t.slug].join("|")}"`};e.authentication?n.authentication=e.authentication:e.portal&&(n.portal=e.portal),t.exclude&&(n.q=`NOT id:${t.exclude}`);try{return(await p(n)).results}catch(o){throw o}}function I(t,e,r=0){let n=r?[t.slug,r].join("-"):t.slug;return S({slug:n,exclude:t.existingId},e).then(o=>o.length?I(t,e,r+1):n).catch(o=>{throw Error(`Error in getUniqueSlug ${o}`)})}function U(t){let e=a(t.item);return e.text=JSON.stringify(t.data),e}function u(t){return t.params=Object.assign(Object.assign({},t.params),b(t.item)),t}function b(t){let e=JSON.parse(JSON.stringify(t));return e.data&&(typeof Blob<"u"&&t.data instanceof Blob||t.data.constructor.name==="ReadStream"?e.file=t.data:e.text=t.data,delete e.data),e}function x(...t){return l(u(t[0]))}function h(...t){return m(u(t[0]))}function y(t,e){return Promise.all([c(t,e),d(t,e)]).then(r=>({item:r[0],data:r[1]}))}async function D(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent));let n=await x(Object.assign({item:r},e));return y(n.id,e)}function Y(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent)),j(r)&&(e.params=Object.assign(Object.assign({},e.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},e);return h(n).then(()=>r.data?y(r.id,e):c(r.id,e).then(o=>({item:o})))}function j(t){return["description","snippet","tags","categories","licenseInfo"].some(e=>{var r;return t[e]===""||((r=t[e])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -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.20250605 */
4
- import{a as r}from"./FCGJ2VZH.js";import{D as o,I as n,c as t,d as s,q as i}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250613 */
4
+ import{a as r}from"./CXKUQGUM.js";import{D as n,c as t,d as s,p as i,y as o}from"./4NASOTXM.js";import"./UKVIZZJA.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");