@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,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 from"./RRRRSVAS.js";import{a as y,b as _,c as v}from"./OGISVN6B.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import{e as m}from"./YNKDS73P.js";import"./KN36CLI6.js";import{a as f,b as g}from"./FNEE7DUR.js";import{a as b}from"./FCGJ2VZH.js";import{B as s,D as h,F as l,G as n,I as u,c as p,d as i,o as r}from"./XSPGKSFV.js";import"./NUVLGW3I.js";export default $arcgis.t(([{a:w,b:a,c:S,d:x,e:c,f:C}])=>{var P=p`/** @license
3
+ v1.0.0-next.20250613 */
4
+ import"./LHP5SZ5Q.js";import e from"./Q6RSACS2.js";import{a as S,b as o,c as x,d as C,e as d}from"./MU7TM2F2.js";import{a as _,b as v,c as w}from"./U5YN7LKZ.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{g as b}from"./C2AIE2T2.js";import"./VH4KD2UB.js";import"./S3YNSR6B.js";import{a as g,b as m}from"./3Q3S4KCD.js";import{a as y}from"./CXKUQGUM.js";import{A as a,B as c,D as f,c as h,d as i,n,w as l,y as u}from"./4NASOTXM.js";import"./UKVIZZJA.js";export default $arcgis.t(([k])=>{var P=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import a from"./RRRRSVAS.js";import{a as y,b as _,c as v}from"./OGISVN6B.js";imp
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */.display-flex{display:flex}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:.5rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,d=class extends h{constructor(){super(),this.solutionsCount=0,this.sortType="numviews",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=b({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=f(),this._authContextProvider=s({context:v}),this._isMobileContextProvider=s({context:_}),this._userSessionContextProvider=s({context:y}),this.filterRemoved=r(),this.tokenRefreshed=r(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=P}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}connectedCallback(){super.connectedCallback();let e=new m({username:"",password:""});this._userSessionContextProvider.setValue(e),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){let e=new C(w,a,c);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab" icon-start=${e??n} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${l(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${l(e)} position=start><solutions-filter-panel is-all-solutions @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel .agoSolutionsGroupId=${S} .enterpriseSolutionsGroupId=${x} .locale=${c} .orgUrl=${a} @cardsFetched=${this._updateSolutionCount} .portalUrl=${a} .sortType=${this.sortType} style=${l(e)} ${g(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByMostPopular,sortType:"numviews"},{displayValue:this._translations.sortByNew,sortType:"new"},{displayValue:this._translations.sortByUpdated,sortType:"updated"},{displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??n}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"numviews":t=this._translations.sortByMostPopular;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._allSolutionsPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){this.filters=this.filters.filter(t=>t.displayValue!==e),this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(e)}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&(this.filters=[e.detail]),this._allSolutionsPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._allSolutionsPanelRef.value?.searchSolutions())}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let k=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let o=await t?.refreshSession();if(o){this._userSessionContextProvider.setValue(o);let $=o?.token??"";this.tokenRefreshed.emit($)}},k)}}};u("solutions-all-shell",d);return d},a)
18
+ */.display-flex{display:flex}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:.5rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,p=class extends u{constructor(){super(),this.solutionsCount=0,this.sortType="numviews",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=y({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=g(),this._authContextProvider=l({context:w}),this._isMobileContextProvider=l({context:v}),this._userSessionContextProvider=l({context:_}),this.filterRemoved=n(),this.tokenRefreshed=n(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=P}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}connectedCallback(){super.connectedCallback();let e=new b({username:"",password:""});this._userSessionContextProvider.setValue(e),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){let e=new k(S,o,d);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab" icon-start=${e??c} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${a(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${a(e)} position=start><solutions-filter-panel is-all-solutions @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-all-panel .agoSolutionsGroupId=${x} .enterpriseSolutionsGroupId=${C} .locale=${d} .orgUrl=${o} @cardsFetched=${this._updateSolutionCount} .portalUrl=${o} .sortType=${this.sortType} style=${a(e)} ${m(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByMostPopular,sortType:"numviews"},{displayValue:this._translations.sortByNew,sortType:"new"},{displayValue:this._translations.sortByUpdated,sortType:"updated"},{displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??c}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"new":t=this._translations.sortByNew;break;case"numviews":t=this._translations.sortByMostPopular;break;case"relevance":t=this._translations.sortByRelevance;break;case"suggested":t=this._translations.sortBySuggestedForYou;break;case"title":t=this._translations.sortByTitle;break;case"updated":t=this._translations.sortByUpdated;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._allSolutionsPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(s=>s.displayValue===e);this.filters=this.filters.filter(s=>s.displayValue!==e),this._allSolutionsPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._allSolutionsPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._allSolutionsPanelRef.value?.searchSolutions())}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let s=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let r=await t?.refreshSession();if(r){this._userSessionContextProvider.setValue(r);let $=r?.token??"";this.tokenRefreshed.emit($)}},s)}}};f("solutions-all-shell",p);return p},e)
@@ -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 E}from"./ZRMVLR6Z.js";import{e as F}from"./TFY5N3WM.js";import{c as T,n as I,t as L,z as M}from"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as R,c as l,d as D,e as A,f as B}from"./WUF32TGT.js";import"./NUVLGW3I.js";function nt(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}var st=(()=>{let t=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function m(t){let e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}var f=null;function q(t={}){return f||(t.includeStyleProperties?(f=t.includeStyleProperties,f):(f=m(window.getComputedStyle(document.documentElement)),f))}function x(t,e){let n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function rt(t){let e=x(t,"border-left-width"),i=x(t,"border-right-width");return t.clientWidth+e+i}function at(t){let e=x(t,"border-top-width"),i=x(t,"border-bottom-width");return t.clientHeight+e+i}function G(t,e={}){let i=e.width||rt(t),n=e.height||at(t);return{width:i,height:n}}function ot(){let t,e;try{e=process}catch{}let i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}var d=16384;function pt(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}function v(t){return new Promise((e,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function lt(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ct(t,e,i){let n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),lt(s)}var h=(t,e)=>{if(t instanceof e)return!0;let i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||h(i,e)};function ht(t){let e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function dt(t,e){return q(e).map(i=>{let n=t.getPropertyValue(i),s=t.getPropertyPriority(i);return`${i}: ${n}${s?" !important":""};`}).join(" ")}function ut(t,e,i,n){let s=`.${t}:${e}`,r=i.cssText?ht(i):dt(i,n);return document.createTextNode(`${s}{${r}}`)}function H(t,e,i,n){let s=window.getComputedStyle(t,i),r=s.getPropertyValue("content");if(r===""||r==="none")return;let a=st();try{e.className=`${e.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(ut(a,i,s,n)),e.appendChild(o)}function gt(t,e,i){H(t,e,":before",i),H(t,e,":after",i)}var $="application/font-woff",W="image/jpeg",mt={woff:$,woff2:$,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:W,jpeg:W,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ft(t){let e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function P(t){let e=ft(t).toLowerCase();return mt[e]||""}function wt(t){return t.split(/,/)[1]}function S(t){return t.search(/^(data:)/)!==-1}function K(t,e){return`data:${e};base64,${t}`}async function J(t,e,i){let n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let s=await n.blob();return new Promise((r,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(s)})}var _={};function xt(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function k(t,e,i){let n=xt(t,e,i.includeQueryParams);if(_[n]!=null)return _[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{let r=await J(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),wt(o)));s=K(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return _[n]=s,s}async function vt(t){let e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):v(e)}async function yt(t,e){if(t.currentSrc){let r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a?.drawImage(t,0,0,r.width,r.height);let o=r.toDataURL();return v(o)}let i=t.poster,n=P(i),s=await k(i,n,e);return v(s)}async function bt(t,e){var i;try{if(!((i=t?.contentDocument)===null||i===void 0)&&i.body)return await y(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Et(t,e){return h(t,HTMLCanvasElement)?vt(t):h(t,HTMLVideoElement)?yt(t,e):h(t,HTMLIFrameElement)?bt(t,e):t.cloneNode(X(t))}var _t=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",X=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Ct(t,e,i){var n,s;if(X(e))return e;let r=[];return _t(t)&&t.assignedNodes?r=m(t.assignedNodes()):h(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=m(t.contentDocument.body.childNodes):r=m(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||h(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>y(o,i)).then(p=>{p&&e.appendChild(p)}),Promise.resolve()),e}function St(t,e,i){let n=e.style;if(!n)return;let s=window.getComputedStyle(t);s.cssText?(n.cssText=s.cssText,n.transformOrigin=s.transformOrigin):q(i).forEach(r=>{let a=s.getPropertyValue(r);r==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),h(t,HTMLIFrameElement)&&r==="display"&&a==="inline"&&(a="block"),r==="d"&&e.getAttribute("d")&&(a=`path(${e.getAttribute("d")})`),n.setProperty(r,a,s.getPropertyPriority(r))})}function Pt(t,e){h(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),h(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function kt(t,e){if(h(t,HTMLSelectElement)){let i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function Tt(t,e,i){return h(e,Element)&&(St(t,e,i),gt(t,e,i),Pt(t,e),kt(t,e)),e}async function It(t,e){let i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;let n={};for(let r=0;r<i.length;r++){let o=i[r].getAttribute("xlink:href");if(o){let p=t.querySelector(o),u=document.querySelector(o);!p&&u&&!n[o]&&(n[o]=await y(u,e,!0))}}let s=Object.values(n);if(s.length){let r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(r,"defs");a.appendChild(o);for(let p=0;p<s.length;p++)o.appendChild(s[p]);t.appendChild(a)}return t}async function y(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>Et(n,e)).then(n=>Ct(t,n,e)).then(n=>Tt(t,n,e)).then(n=>It(n,e))}var Q=/url\((['"]?)([^'"]+?)\1\)/g,Lt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Mt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ft(t){let e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function Rt(t){let e=[];return t.replace(Q,(i,n,s)=>(e.push(s),i)),e.filter(i=>!S(i))}async function Dt(t,e,i,n,s){try{let r=i?nt(e,i):e,a=P(e),o;if(s){let p=await s(r);o=K(p,a)}else o=await k(r,a,n);return t.replace(Ft(e),`$1${o}$3`)}catch{}return t}function At(t,{preferredFontFormat:e}){return e?t.replace(Mt,i=>{for(;;){let[n,,s]=Lt.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function Y(t){return t.search(Q)!==-1}async function Z(t,e,i){if(!Y(t))return t;let n=At(t,i);return Rt(n).reduce((r,a)=>r.then(o=>Dt(o,a,e,i)),Promise.resolve(n))}async function w(t,e,i){var n;let s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){let r=await Z(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function Bt(t,e){await w("background",t,e)||await w("background-image",t,e),await w("mask",t,e)||await w("-webkit-mask",t,e)||await w("mask-image",t,e)||await w("-webkit-mask-image",t,e)}async function Ht(t,e){let i=h(t,HTMLImageElement);if(!(i&&!S(t.src))&&!(h(t,SVGImageElement)&&!S(t.href.baseVal)))return;let n=i?t.src:t.href.baseVal,s=await k(n,P(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=e.onImageErrorHandler?(...p)=>{try{r(e.onImageErrorHandler(...p))}catch(u){a(u)}}:a;let o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function $t(t,e){let n=m(t.childNodes).map(s=>N(s,e));await Promise.all(n).then(()=>t)}async function N(t,e){h(t,Element)&&(await Bt(t,e),await Ht(t,e),await $t(t,e))}function Wt(t,e){let{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);let n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}var O={};async function V(t){let e=O[t];if(e!=null)return e;let n=await(await fetch(t)).text();return e={url:t,cssText:n},O[t]=e,e}async function U(t,e){let i=t.cssText,n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),J(o,e.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(r).then(()=>i)}function z(t){if(t==null)return[];let e=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=t.replace(i,""),s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=s.exec(n);if(p===null)break;e.push(p[0])}n=n.replace(s,"");let r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=r.exec(n);if(p===null){if(p=o.exec(n),p===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(p[0])}return e}async function Ot(t,e){let i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1,p=r.href,u=V(p).then(g=>U(g,e)).then(g=>z(g).forEach(b=>{try{s.insertRule(b,b.startsWith("@import")?o+=1:s.cssRules.length)}catch(it){console.error("Error inserting rule from remote css",{rule:b,error:it})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(u)}})}catch(r){let a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(V(s.href).then(o=>U(o,e)).then(o=>z(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function Vt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Y(e.style.getPropertyValue("src")))}async function Ut(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=m(t.ownerDocument.styleSheets),n=await Ot(i,e);return Vt(n)}function tt(t){return t.trim().replace(/["']/g,"")}function zt(t){let e=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(r=>{e.add(tt(r))}),Array.from(n.children).forEach(r=>{r instanceof HTMLElement&&i(r)})}return i(t),e}async function jt(t,e){let i=await Ut(t,e),n=zt(t);return(await Promise.all(i.filter(r=>n.has(tt(r.style.fontFamily))).map(r=>{let a=r.parentStyleSheet?r.parentStyleSheet.href:null;return Z(r.cssText,a,e)}))).join(`
3
+ v1.0.0-next.20250613 */
4
+ import{a as E}from"./7F5VKLCK.js";import{e as F}from"./7DTXJNDH.js";import{c as T,n as I,t as L,z as M}from"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as R,c as l,d as D,e as A,f as B}from"./H6BFVMYO.js";import"./UKVIZZJA.js";function nt(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}var st=(()=>{let t=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function m(t){let e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}var f=null;function q(t={}){return f||(t.includeStyleProperties?(f=t.includeStyleProperties,f):(f=m(window.getComputedStyle(document.documentElement)),f))}function x(t,e){let n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function rt(t){let e=x(t,"border-left-width"),i=x(t,"border-right-width");return t.clientWidth+e+i}function at(t){let e=x(t,"border-top-width"),i=x(t,"border-bottom-width");return t.clientHeight+e+i}function G(t,e={}){let i=e.width||rt(t),n=e.height||at(t);return{width:i,height:n}}function ot(){let t,e;try{e=process}catch{}let i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}var d=16384;function pt(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}function v(t){return new Promise((e,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function lt(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ct(t,e,i){let n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),lt(s)}var h=(t,e)=>{if(t instanceof e)return!0;let i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||h(i,e)};function ht(t){let e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function dt(t,e){return q(e).map(i=>{let n=t.getPropertyValue(i),s=t.getPropertyPriority(i);return`${i}: ${n}${s?" !important":""};`}).join(" ")}function ut(t,e,i,n){let s=`.${t}:${e}`,r=i.cssText?ht(i):dt(i,n);return document.createTextNode(`${s}{${r}}`)}function H(t,e,i,n){let s=window.getComputedStyle(t,i),r=s.getPropertyValue("content");if(r===""||r==="none")return;let a=st();try{e.className=`${e.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(ut(a,i,s,n)),e.appendChild(o)}function gt(t,e,i){H(t,e,":before",i),H(t,e,":after",i)}var $="application/font-woff",W="image/jpeg",mt={woff:$,woff2:$,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:W,jpeg:W,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ft(t){let e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function P(t){let e=ft(t).toLowerCase();return mt[e]||""}function wt(t){return t.split(/,/)[1]}function S(t){return t.search(/^(data:)/)!==-1}function K(t,e){return`data:${e};base64,${t}`}async function J(t,e,i){let n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let s=await n.blob();return new Promise((r,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(s)})}var _={};function xt(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function k(t,e,i){let n=xt(t,e,i.includeQueryParams);if(_[n]!=null)return _[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{let r=await J(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),wt(o)));s=K(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return _[n]=s,s}async function vt(t){let e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):v(e)}async function yt(t,e){if(t.currentSrc){let r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a?.drawImage(t,0,0,r.width,r.height);let o=r.toDataURL();return v(o)}let i=t.poster,n=P(i),s=await k(i,n,e);return v(s)}async function bt(t,e){var i;try{if(!((i=t?.contentDocument)===null||i===void 0)&&i.body)return await y(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Et(t,e){return h(t,HTMLCanvasElement)?vt(t):h(t,HTMLVideoElement)?yt(t,e):h(t,HTMLIFrameElement)?bt(t,e):t.cloneNode(X(t))}var _t=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",X=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Ct(t,e,i){var n,s;if(X(e))return e;let r=[];return _t(t)&&t.assignedNodes?r=m(t.assignedNodes()):h(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=m(t.contentDocument.body.childNodes):r=m(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||h(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>y(o,i)).then(p=>{p&&e.appendChild(p)}),Promise.resolve()),e}function St(t,e,i){let n=e.style;if(!n)return;let s=window.getComputedStyle(t);s.cssText?(n.cssText=s.cssText,n.transformOrigin=s.transformOrigin):q(i).forEach(r=>{let a=s.getPropertyValue(r);r==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),h(t,HTMLIFrameElement)&&r==="display"&&a==="inline"&&(a="block"),r==="d"&&e.getAttribute("d")&&(a=`path(${e.getAttribute("d")})`),n.setProperty(r,a,s.getPropertyPriority(r))})}function Pt(t,e){h(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),h(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function kt(t,e){if(h(t,HTMLSelectElement)){let i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function Tt(t,e,i){return h(e,Element)&&(St(t,e,i),gt(t,e,i),Pt(t,e),kt(t,e)),e}async function It(t,e){let i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;let n={};for(let r=0;r<i.length;r++){let o=i[r].getAttribute("xlink:href");if(o){let p=t.querySelector(o),u=document.querySelector(o);!p&&u&&!n[o]&&(n[o]=await y(u,e,!0))}}let s=Object.values(n);if(s.length){let r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(r,"defs");a.appendChild(o);for(let p=0;p<s.length;p++)o.appendChild(s[p]);t.appendChild(a)}return t}async function y(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>Et(n,e)).then(n=>Ct(t,n,e)).then(n=>Tt(t,n,e)).then(n=>It(n,e))}var Q=/url\((['"]?)([^'"]+?)\1\)/g,Lt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Mt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ft(t){let e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function Rt(t){let e=[];return t.replace(Q,(i,n,s)=>(e.push(s),i)),e.filter(i=>!S(i))}async function Dt(t,e,i,n,s){try{let r=i?nt(e,i):e,a=P(e),o;if(s){let p=await s(r);o=K(p,a)}else o=await k(r,a,n);return t.replace(Ft(e),`$1${o}$3`)}catch{}return t}function At(t,{preferredFontFormat:e}){return e?t.replace(Mt,i=>{for(;;){let[n,,s]=Lt.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function Y(t){return t.search(Q)!==-1}async function Z(t,e,i){if(!Y(t))return t;let n=At(t,i);return Rt(n).reduce((r,a)=>r.then(o=>Dt(o,a,e,i)),Promise.resolve(n))}async function w(t,e,i){var n;let s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){let r=await Z(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function Bt(t,e){await w("background",t,e)||await w("background-image",t,e),await w("mask",t,e)||await w("-webkit-mask",t,e)||await w("mask-image",t,e)||await w("-webkit-mask-image",t,e)}async function Ht(t,e){let i=h(t,HTMLImageElement);if(!(i&&!S(t.src))&&!(h(t,SVGImageElement)&&!S(t.href.baseVal)))return;let n=i?t.src:t.href.baseVal,s=await k(n,P(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=e.onImageErrorHandler?(...p)=>{try{r(e.onImageErrorHandler(...p))}catch(u){a(u)}}:a;let o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function $t(t,e){let n=m(t.childNodes).map(s=>N(s,e));await Promise.all(n).then(()=>t)}async function N(t,e){h(t,Element)&&(await Bt(t,e),await Ht(t,e),await $t(t,e))}function Wt(t,e){let{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);let n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}var O={};async function V(t){let e=O[t];if(e!=null)return e;let n=await(await fetch(t)).text();return e={url:t,cssText:n},O[t]=e,e}async function U(t,e){let i=t.cssText,n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),J(o,e.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(r).then(()=>i)}function z(t){if(t==null)return[];let e=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=t.replace(i,""),s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=s.exec(n);if(p===null)break;e.push(p[0])}n=n.replace(s,"");let r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=r.exec(n);if(p===null){if(p=o.exec(n),p===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(p[0])}return e}async function Ot(t,e){let i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1,p=r.href,u=V(p).then(g=>U(g,e)).then(g=>z(g).forEach(b=>{try{s.insertRule(b,b.startsWith("@import")?o+=1:s.cssRules.length)}catch(it){console.error("Error inserting rule from remote css",{rule:b,error:it})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(u)}})}catch(r){let a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(V(s.href).then(o=>U(o,e)).then(o=>z(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function Vt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Y(e.style.getPropertyValue("src")))}async function Ut(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=m(t.ownerDocument.styleSheets),n=await Ot(i,e);return Vt(n)}function tt(t){return t.trim().replace(/["']/g,"")}function zt(t){let e=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(r=>{e.add(tt(r))}),Array.from(n.children).forEach(r=>{r instanceof HTMLElement&&i(r)})}return i(t),e}async function jt(t,e){let i=await Ut(t,e),n=zt(t);return(await Promise.all(i.filter(r=>n.has(tt(r.style.fontFamily))).map(r=>{let a=r.parentStyleSheet?r.parentStyleSheet.href:null;return Z(r.cssText,a,e)}))).join(`
5
5
  `)}async function qt(t,e){let i=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await jt(t,e);if(i){let n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function Gt(t,e={}){let{width:i,height:n}=G(t,e),s=await y(t,e,!0);return await qt(s,e),await N(s,e),Wt(s,e),await ct(s,i,n)}async function et(t,e={}){let{width:i,height:n}=G(t,e),s=await Gt(t,e),r=await v(s),a=document.createElement("canvas"),o=a.getContext("2d"),p=e.pixelRatio||ot(),u=e.canvasWidth||i,g=e.canvasHeight||n;return a.width=u*p,a.height=g*p,e.skipAutoScale||pt(a),a.style.width=`${u}`,a.style.height=`${g}`,e.backgroundColor&&(o.fillStyle=e.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(r,0,0,a.width,a.height),a}async function Kt(t,e={}){return(await et(t,e)).toDataURL()}async function j(t,e={}){return(await et(t,e)).toDataURL("image/jpeg",e.quality||1)}var Jt=`
6
6
  @media print {
7
7
  @page {
@@ -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,b}from"./B22SBUCC.js";import"./ZIZC3PWT.js";import"./7H5QHDT3.js";import"./DQBC22ZI.js";import"./NUVLGW3I.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.0.0-next.20250613 */
4
+ import{a,b}from"./2NUECUOL.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -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
  async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
@@ -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
+ var E;(function(r){r.ASC="ASC",r.DESC="DESC"})(E||(E={}));var A;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(A||(A={}));var n;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(n||(n={}));var e;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(e||(e={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var _;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(_||(_={}));var N;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(N||(N={}));var p;(function(r){r.POST="post"})(p||(p={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var D;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(D||(D={}));var I;(function(r){r.CSV="csv",r.JSON="json"})(I||(I={}));var u;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(u||(u={}));var O;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(O||(O={}));var a;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(a||(a={}));var i;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(i||(i={}));var R;(function(r){r.CHANNEL_ACL="channelAcl"})(R||(R={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var v;(function(r){r.ADMIN="admin",r.MEMBER="member"})(v||(v={}));var f;(function(r){r.CONTENT="content"})(f||(f={}));export{I as a,u as b,R as c,U as d,v as e,f};
@@ -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 i,q as s}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 i,p as s,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");
@@ -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={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.0.0-next.20250613 */
4
+ import"./UKVIZZJA.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -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 i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i 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
- import{e as o}from"./TFY5N3WM.js";import"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as i,c as e,e as a,f as c}from"./WUF32TGT.js";import"./NUVLGW3I.js";function h(t){window?.localStorage.setItem(t,"false")}function l(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,g={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},b=class{constructor(t){i(this,t),this.splashClose=c(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!l(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"bab56b60ce5cd05e63a285073240339cc6245a42",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,"aria-describedby":"description",onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"42811bb7fb0b369e5c29e0ed75122e9c7ca59362",id:"description",innerHTML:this.content}),e("slot",{key:"51244921b37c362cb40f2e7bfa97dad8e06cea13",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=l(t)?!0:null;return e("div",{class:g.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:r}=n;r?h(s):d(s)}get el(){return a(this)}static get watchers(){return{content:["sanitizeContent"]}}};b.style=u;export{b as instant_apps_splash};
3
+ v1.0.0-next.20250613 */
4
+ import{e as o}from"./7DTXJNDH.js";import"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as i,c as e,e as a,f as c}from"./H6BFVMYO.js";import"./UKVIZZJA.js";function h(t){window?.localStorage.setItem(t,"false")}function l(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,g={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},b=class{constructor(t){i(this,t),this.splashClose=c(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!l(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"bab56b60ce5cd05e63a285073240339cc6245a42",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,"aria-describedby":"description",onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"42811bb7fb0b369e5c29e0ed75122e9c7ca59362",id:"description",innerHTML:this.content}),e("slot",{key:"51244921b37c362cb40f2e7bfa97dad8e06cea13",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=l(t)?!0:null;return e("div",{class:g.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:r}=n;r?h(s):d(s)}get el(){return a(this)}static get watchers(){return{content:["sanitizeContent"]}}};b.style=u;export{b as instant_apps_splash};
@@ -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="cannotDiscuss";export{t 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
- import{b as p,v as m}from"./YNOM76J7.js";import"./N67Z7ZNA.js";import"./NJS2N5K3.js";import{e as g}from"./TFY5N3WM.js";import{c as o,t as c,u as d,y as l,z as h}from"./DUWNVKPD.js";import"./FSN5FQRG.js";import{a as v,c as r,e as f,h as w}from"./WUF32TGT.js";import"./NUVLGW3I.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
3
+ v1.0.0-next.20250613 */
4
+ import{b as p,v as m}from"./RAOIGUOR.js";import"./Z2JRY3A7.js";import"./7HNEFBST.js";import{e as g}from"./7DTXJNDH.js";import{c as o,t as c,u as d,y as l,z as h}from"./LPFHKDLD.js";import"./2JCMVX4M.js";import{a as v,c as r,e as f,h as w}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
@@ -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 S}from"./ERDIVQ25.js";import{b as d,h as y,i as N}from"./GFZBEF2X.js";import{a as I}from"./IJOSG4N5.js";import{a as E,e as M,f as T,g as F}from"./IAJEOYDY.js";import{a as $,b as R}from"./T67LMZC2.js";import{d as l,e as p,f as c}from"./C2AIE2T2.js";import{a as A}from"./VH4KD2UB.js";import{a as x}from"./S3YNSR6B.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Me(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function g(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Gt(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Kt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>M(t)?Object.assign(Object.assign({},E(t)),{type:"extent"}):void 0,ur=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var pr=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},dr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var fr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function mr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var gr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Me as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,Gt as m,zt as n,ur as o,pr as p,dr as q,fr as r,mr as s,gr as t,Kt as u};
@@ -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 l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l as buildUiSchema};
3
+ v1.0.0-next.20250613 */
4
+ import"./UKVIZZJA.js";var l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l 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{T as i}from"./YQ62X2PW.js";export default $arcgis.t(([])=>{function u(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function m(e){return e?i(e,{}).then(t=>Promise.resolve(!!t)):Promise.resolve(!1)}function f(e){if(e){let t=e.trim();return t?"<div>"+t+"</div>":""}else return""}function o(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function l(e,t,r,n){let s="";return t?s=n+"/sharing/rest/content/items/"+e+"/info/"+t+o([{k:"w",v:"400"}]):s=r,s}function h(e){let t=e?e.replace("https://","").replace("www.",""):"";return t.endsWith("devext.arcgis.com")||t.endsWith("mapsqa.arcgis.com")||t.endsWith("qaext.arcgis.com")?e??"https://www.arcgis.com":"https://www.arcgis.com"}function w(e,t,r){return t.some(n=>n.wkid===e?(r=n.defaultExtent,!0):!1),r}function g(e,t="en"){return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(e)}function d(e,t){let r="";return e.some(n=>n.startsWith(t)?(r=n.substring(t.length),!0):!1),r}return{a:u,b:m,c:f,d:o,e:l,f:h,g:w,h:g,i:d}},"intl")
@@ -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 n}from"./YS42NZJY.js";import{b as I,c as b,d as v}from"./CIHLT7JJ.js";import{a as i}from"./GRYSKL7I.js";import"./DKEAKE2K.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import{e as a}from"./YNKDS73P.js";import"./KN36CLI6.js";import"./C3JZDZSB.js";import{a as f,b as _}from"./FNEE7DUR.js";import{a as g}from"./FCGJ2VZH.js";import{D as d,E as p,I as m,c,d as o,g as r,q as u}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var y=c`@layer{/** @license
3
+ v1.0.0-next.20250613 */
4
+ import{a as n}from"./UKW2PIRS.js";import{b as I,c as b,d as v}from"./RYBBDSVC.js";import{a as i}from"./FK3LVUKS.js";import"./OTLIXGZN.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{g as a}from"./C2AIE2T2.js";import"./VH4KD2UB.js";import"./S3YNSR6B.js";import"./BJUDP4CV.js";import{a as f,b as _}from"./3Q3S4KCD.js";import{a as g}from"./CXKUQGUM.js";import{D as m,c,d as o,f as r,p as u,y as d,z as p}from"./4NASOTXM.js";import"./UKVIZZJA.js";var y=c`@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 */
4
- import{a as n}from"./PMETOHGA.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.0.0-next.20250613 */
4
+ import{a as n}from"./FOBRIUEH.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{D as d,I as h,c as n,d as s,g as c,o as l,q as o}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var p=n`@layer{/** @license
3
+ v1.0.0-next.20250613 */
4
+ import{D as h,c as n,d as s,f as c,n as l,p as o,y as d}from"./4NASOTXM.js";import"./UKVIZZJA.js";var p=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250613 */
4
+ import"./MLNYLKNC.js";import{b as A}from"./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{a as C}from"./FWKD6EYP.js";import"./H6BFVMYO.js";import{c as F,d as O,j as y}from"./KFHHWR7Q.js";import"./BJUDP4CV.js";import{c as S}from"./WUXC3NVU.js";import{a as p,b as u}from"./3Q3S4KCD.js";import{b as E}from"./ZPNMD2RT.js";import{a as x}from"./CXKUQGUM.js";import{D as T,c as w,d as o,f as c,n as _,p as I,y as v,z as f}from"./4NASOTXM.js";import"./UKVIZZJA.js";var H=w`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,m=class extends v{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=x({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=p(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=p(),this._toolbar=p(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=p(),this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.relatedRecordToggled=_(),this.editMultipleFeatures=_(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){this._fetchingData=!0,await this._layer?.when(async()=>{this._definitionExpression=this._layer?.definitionExpression||"",this._floorField=this._layer?.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl(),this._fetchingData=!1})}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,n=this.mapView.allLayerViews.toArray(),h;n.some(async r=>r.layer.title===l?.title&&r.layer.type==="feature"?(h=r,this.mapView&&await y([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${n&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${u(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${u(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}async _initModules(){let[e,t,i,s]=await E(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${u(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getSelectedIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>2e3:e<1,i.toolTip=i.icon==="pencil"?e>2e3?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getSelectedIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>2e3,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),n=this._featuresEmpty(),h=this.featureSelectionMode==="single",r=this.enableCSV;if(this._relatedFeatureTable){let g=await this._queryRelatedFeatures();r=g&&Object.keys(g).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:n,toolTip:this._translations.selectAll}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:n,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),r&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:n,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,n,h){let r=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${r} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${n} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,h)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return this.mapView&&o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${u(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`||""}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,relatedRecordsEnabled:!0,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:this.hasAttachmentsEnabled(this._layer),visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.attachmentsEnabled=this.hasAttachmentsEnabled(s),i.relatedRecordsEnabled=!0,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos||i.layer.fields,l=this._getColumnTemplates(i.layer.id,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleOnChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0;let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos||this._layer.fields,t=this._getColumnTemplates(this._layer.id,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.attachmentsEnabled=this.hasAttachmentsEnabled(this._layer),this._table.relatedRecordsEnabled=!0,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),n=this._table?.highlightIds.indexOf(l);n&&n<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.rowHighlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let n=await this._queryRelatedFeatures(),h=[];n&&n[l]?.features&&(n[l].features.forEach(r=>{r.attributes&&h.push(r.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,n)=>{if(!n.hidden){let h=n?.name||n?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(n=>n.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let e=this._getSelectedLayer(this.selectedRelatedIds);e&&this.relatedRecordToggled.emit(e);let t=this._getSelectedIds();this.featureSelectionChange.emit(t)}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await y(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t){let i;this.mapInfo?.layerOptions?.layers.some(h=>h.id===e?(i=h,!0):!1);let s=this._layer?.attributeTableTemplate?.elements,a=[];s?.length>0&&this.honorMapFieldSettings&&(a=s.map(h=>h.fieldName));let l=i?.fields&&i?.fieldOrder?i.fieldOrder.filter(h=>i?.fields&&i.fields.indexOf(h)>-1):a.length>0?a:void 0,n;return t&&(n=t.reduce((h,r)=>{let d="fieldName"in r?r.fieldName:r.name,g="label"in r?r.label:r.alias,b={type:"field",fieldName:d,label:g,menuConfig:this._getMenuConfig(d||"")};return i&&i.fields&&i?.fields?.length>0?i.fields.indexOf(d||"")>-1&&h.push(b):a.length>0?a.indexOf(d)>-1&&h.push(b):h.push(b),h},[])),n?l?n?.sort(this._sortFields.bind(this,l)):n:[]}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};T("layer-table",m);export{m as LayerTable};
@@ -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 l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
3
+ v1.0.0-next.20250613 */
4
+ import"./UKVIZZJA.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l 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{a,b}from"./RJCEZOX5.js";import"./ZIZC3PWT.js";import"./7H5QHDT3.js";import"./DQBC22ZI.js";import"./NUVLGW3I.js";export{a as SiteEditorTypes,b as getSiteSchema};
3
+ v1.0.0-next.20250613 */
4
+ import{a,b}from"./HN5MMXWZ.js";import"./F2HTXL46.js";import"./ENBESLVD.js";import"./DVVDE2AV.js";import"./UKVIZZJA.js";export{a as SiteEditorTypes,b as getSiteSchema};
@@ -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{s as i}from"./DUWNVKPD.js";import{a as l,c as s,d as c,e as r}from"./WUF32TGT.js";import"./NUVLGW3I.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
3
+ v1.0.0-next.20250613 */
4
+ import{s as i}from"./LPFHKDLD.js";import{a as l,c as s,d as c,e as r}from"./H6BFVMYO.js";import"./UKVIZZJA.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
@@ -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 o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250613 */
4
+ import"./UKVIZZJA.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a}from"./UWKDTPML.js";import{a as d}from"./QB54S7F4.js";import{m as b,n as m}from"./YNVH5WET.js";import"./YNKDS73P.js";import{a as l}from"./KN36CLI6.js";import{a as i}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";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.0.0-next.20250613 */
4
+ import{a}from"./KAVI5FEZ.js";import{a as d}from"./5DPFMR4I.js";import{K as b,L as m}from"./T67LMZC2.js";import"./C2AIE2T2.js";import{a as l}from"./S3YNSR6B.js";import{a as i}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";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};