@esri/solutions-components 1.0.0-next.20250521 → 1.0.0-next.20250521.1

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 (374) hide show
  1. package/dist/cdn/{2K7DGSFB.js → 23YJ5GOE.js} +2 -2
  2. package/dist/cdn/{5QHR547V.js → 24525IFF.js} +2 -2
  3. package/dist/cdn/{ACRGKPWC.js → 25ZSQ4Y4.js} +2 -2
  4. package/dist/cdn/{3F77DKKE.js → 2ECBDDEM.js} +2 -2
  5. package/dist/cdn/{DHBPFMCR.js → 2IN6EBD2.js} +2 -2
  6. package/dist/cdn/{2EXQ56RF.js → 2N36AAZW.js} +2 -2
  7. package/dist/cdn/{QJKNCR6A.js → 2OTIFQIN.js} +2 -2
  8. package/dist/cdn/{TOAZF57I.js → 2PCAQBP3.js} +2 -2
  9. package/dist/cdn/{SF4B7M4A.js → 2TGWW2EE.js} +2 -2
  10. package/dist/cdn/{VBF5NJZP.js → 2WHMOJKI.js} +2 -2
  11. package/dist/cdn/{C2E3A23D.js → 2Z7AL4WY.js} +2 -2
  12. package/dist/cdn/{M35BWF4P.js → 34ISDA3J.js} +2 -2
  13. package/dist/cdn/{G5LXVZNY.js → 3BFU2N33.js} +2 -2
  14. package/dist/cdn/{ESV3CXI2.js → 3MEA5DUO.js} +2 -2
  15. package/dist/cdn/{KKNWWLKQ.js → 3OQDT2PX.js} +2 -2
  16. package/dist/cdn/{VIYZL3B7.js → 3QD6OQGN.js} +2 -2
  17. package/dist/cdn/3QIZTD4O.js +4 -0
  18. package/dist/cdn/{AQWDAX6O.js → 3QSJRZNT.js} +2 -2
  19. package/dist/cdn/{NMVGGIT5.js → 3YDR5TNM.js} +2 -2
  20. package/dist/cdn/{VWQY7M2H.js → 3ZWTRRJN.js} +1 -1
  21. package/dist/cdn/{EASKU6IL.js → 3ZX46XLT.js} +2 -2
  22. package/dist/cdn/{M5UYAWRE.js → 45JWP6I3.js} +2 -2
  23. package/dist/cdn/{MBUHNSTZ.js → 4FV35CZ2.js} +4 -4
  24. package/dist/cdn/{XJ4IACYP.js → 4I5HWIEN.js} +2 -2
  25. package/dist/cdn/{KJT2MUWI.js → 4NZAMBEG.js} +2 -2
  26. package/dist/cdn/{4Z26DFOL.js → 4SKIALSW.js} +2 -2
  27. package/dist/cdn/{XS4B5XRB.js → 4W3OTNVQ.js} +2 -2
  28. package/dist/cdn/{LRP67MH5.js → 53ZP5E2V.js} +2 -2
  29. package/dist/cdn/{E5SEWVK4.js → 57KCCA45.js} +2 -2
  30. package/dist/cdn/{HFFKBS55.js → 57TFREKC.js} +1 -1
  31. package/dist/cdn/{VXPY22JC.js → 5D4SFQMX.js} +2 -2
  32. package/dist/cdn/{EBNAV3Y7.js → 5SI2WE3S.js} +2 -2
  33. package/dist/cdn/{YLP7M2HK.js → 5VKMQKEK.js} +1 -1
  34. package/dist/cdn/{27VZRIN5.js → 6FO4Q3E6.js} +2 -2
  35. package/dist/cdn/{JD4I4FDB.js → 6XL3O76R.js} +2 -2
  36. package/dist/cdn/{U7X224JI.js → 6YGV5ZHN.js} +2 -2
  37. package/dist/cdn/{7Q35EK3R.js → 6Z2DWNPT.js} +1 -1
  38. package/dist/cdn/{7DTTJ6XF.js → 73ZW6AZO.js} +2 -2
  39. package/dist/cdn/{2BAANPWO.js → 76ALAXVV.js} +2 -2
  40. package/dist/cdn/{LPVPGWBP.js → 7BW7YOBF.js} +2 -2
  41. package/dist/cdn/{NXSX7IHR.js → 7CKL36AK.js} +1 -1
  42. package/dist/cdn/{LPC72AFO.js → 7DG3DSPE.js} +2 -2
  43. package/dist/cdn/{BWISN2EI.js → 7RN23NYN.js} +2 -2
  44. package/dist/cdn/{ZMEYP6O5.js → 7SPIT3JA.js} +2 -2
  45. package/dist/cdn/{R75X3FLO.js → 7VOV57VQ.js} +2 -2
  46. package/dist/cdn/{XSBEWAUF.js → 7WQVJT5F.js} +2 -2
  47. package/dist/cdn/{VHRYIIEE.js → 7XECJH7Y.js} +1 -1
  48. package/dist/cdn/{6K2KSAYP.js → A62HEPRS.js} +2 -2
  49. package/dist/cdn/{CQBTEXB7.js → AAX2HQKV.js} +1 -1
  50. package/dist/cdn/{FHC7XWWV.js → AEA2NSI4.js} +2 -2
  51. package/dist/cdn/{3IGBLVGB.js → AJMDPQVN.js} +2 -2
  52. package/dist/cdn/{G3G55BG6.js → ANGBSTZ3.js} +2 -2
  53. package/dist/cdn/{MENGUY4H.js → ANZR4N6V.js} +2 -2
  54. package/dist/cdn/{LTJRIZ42.js → ASDGPISP.js} +2 -2
  55. package/dist/cdn/{FP46U5U5.js → AZ5AUWSV.js} +2 -2
  56. package/dist/cdn/{TAJSNUTI.js → B42KRM6Z.js} +2 -2
  57. package/dist/cdn/{WQUL53Q5.js → B73J3DHK.js} +2 -2
  58. package/dist/cdn/{V6ARYYKV.js → BEGVEBJJ.js} +2 -2
  59. package/dist/cdn/BEOKELUC.js +4 -0
  60. package/dist/cdn/{MNNJPYBV.js → BFH5SO2L.js} +1 -1
  61. package/dist/cdn/{3APWL446.js → BJ2EZS3Z.js} +2 -2
  62. package/dist/cdn/{DO6UOUZQ.js → BJFZKZXY.js} +2 -2
  63. package/dist/cdn/{XCYELAZU.js → BPTAOEJG.js} +2 -2
  64. package/dist/cdn/{WCPYDJKL.js → BRBPMYFG.js} +2 -2
  65. package/dist/cdn/{F7QLLECP.js → BWYEDUZX.js} +2 -2
  66. package/dist/cdn/{4JWQ7FCB.js → BXNKGYEI.js} +2 -2
  67. package/dist/cdn/{Q3TAJJU3.js → BZPPRNYK.js} +2 -2
  68. package/dist/cdn/{U6PBNDHL.js → CE3PZUP3.js} +1 -1
  69. package/dist/cdn/{HEIPP7RV.js → CFSCFQIJ.js} +2 -2
  70. package/dist/cdn/{UYZXNOJX.js → CGBW4C56.js} +2 -2
  71. package/dist/cdn/{3KG65DHY.js → CKIF7ITD.js} +2 -2
  72. package/dist/cdn/{LVY3WUSX.js → CQDNZU4P.js} +2 -2
  73. package/dist/cdn/{Y2JLI2XM.js → CW6CCZ73.js} +2 -2
  74. package/dist/cdn/{EDF6RBKC.js → CZDA3M6G.js} +2 -2
  75. package/dist/cdn/{KMXTJPWK.js → DEXEV3CF.js} +2 -2
  76. package/dist/cdn/{R6SL3N5H.js → DIELHCE6.js} +2 -2
  77. package/dist/cdn/{GCCEX2EM.js → DIR7QOWJ.js} +2 -2
  78. package/dist/cdn/{H2S3BYD2.js → DK32RK5U.js} +1 -1
  79. package/dist/cdn/{JNJEU67D.js → DNJH5UNS.js} +1 -1
  80. package/dist/cdn/{5NFJ7RS2.js → DRFVJJFB.js} +2 -2
  81. package/dist/cdn/{7Q5GFHJU.js → DW5MNUDP.js} +1 -1
  82. package/dist/cdn/{IUOYLDK2.js → E2ACXLVV.js} +2 -2
  83. package/dist/cdn/{OID7NDBF.js → EC5BCFOV.js} +2 -2
  84. package/dist/cdn/{RVOXAFUD.js → EF5JUDMP.js} +2 -2
  85. package/dist/cdn/{Y6CIXH5E.js → ELCX7XI2.js} +2 -2
  86. package/dist/cdn/{K75YNK4P.js → EMXWEQBM.js} +1 -1
  87. package/dist/cdn/{DBCECF2B.js → EPSCUZ73.js} +2 -2
  88. package/dist/cdn/{KHA6XWL7.js → EQREHHBY.js} +2 -2
  89. package/dist/cdn/{SXNJKD62.js → ETE327MH.js} +1 -1
  90. package/dist/cdn/{Y37XTU24.js → EV7HBUTQ.js} +2 -2
  91. package/dist/cdn/{PKKTKHZX.js → EVND7CLX.js} +2 -2
  92. package/dist/cdn/{VDUSHAW5.js → EYCGOAQV.js} +2 -2
  93. package/dist/cdn/{57ND4IBZ.js → F3UYT636.js} +2 -2
  94. package/dist/cdn/{KV6B4JKU.js → F5UQ42HE.js} +2 -2
  95. package/dist/cdn/{SWOLF6SR.js → FDHX3KKE.js} +2 -2
  96. package/dist/cdn/{FV4JCJSW.js → FFUCQ7IU.js} +2 -2
  97. package/dist/cdn/{O7I7OGXT.js → FHZLYB2S.js} +2 -2
  98. package/dist/cdn/{FJIAFDKB.js → FJEXAORI.js} +2 -2
  99. package/dist/cdn/{5PFKGFCK.js → FOESISXO.js} +2 -2
  100. package/dist/cdn/{2SH4JASC.js → FQH25K2H.js} +2 -2
  101. package/dist/cdn/G36LLGTJ.js +4 -0
  102. package/dist/cdn/{AVJL2GFG.js → G4WDN3WM.js} +2 -2
  103. package/dist/cdn/{O5IPTC4U.js → GGFHUOLW.js} +2 -2
  104. package/dist/cdn/{RZZEMAXG.js → GJSNSMV5.js} +2 -2
  105. package/dist/cdn/{JCGTMHDX.js → GJWFJRKH.js} +2 -2
  106. package/dist/cdn/{PACFBFZI.js → GPUC2YAZ.js} +1 -1
  107. package/dist/cdn/{4RGGJHFA.js → GRBGQ3CY.js} +2 -2
  108. package/dist/cdn/{6UG7C3TR.js → H3LE6IXK.js} +2 -2
  109. package/dist/cdn/H7LNTTBF.js +4 -0
  110. package/dist/cdn/{HGOC6CO4.js → HAIBENUV.js} +2 -2
  111. package/dist/cdn/{DWFC2YA2.js → HDBFFEBB.js} +2 -2
  112. package/dist/cdn/{Y5GMJUNS.js → HGEH7RJP.js} +2 -2
  113. package/dist/cdn/{KRFEYMMF.js → HJNIOQBX.js} +1 -1
  114. package/dist/cdn/HNLKT2BY.js +4 -0
  115. package/dist/cdn/{HCK4TVJU.js → HR7NBZ23.js} +2 -2
  116. package/dist/cdn/{2KD6DXZ7.js → HRNJ6PPS.js} +2 -2
  117. package/dist/cdn/{ROAC6LDL.js → HRTSR2SE.js} +1 -1
  118. package/dist/cdn/{GHF3VSYV.js → HTVK2NSG.js} +2 -2
  119. package/dist/cdn/{TDLJE5IW.js → HXJN6FVT.js} +2 -2
  120. package/dist/cdn/{WANZ57VI.js → HYXJ3R6E.js} +2 -2
  121. package/dist/cdn/I5FXIJHX.js +4 -0
  122. package/dist/cdn/{SSNAJI27.js → IGELH7BW.js} +1 -1
  123. package/dist/cdn/{4NN4MG2R.js → IHYLQW3P.js} +1 -1
  124. package/dist/cdn/{WV2NFXS4.js → ILY2OKMX.js} +2 -2
  125. package/dist/cdn/{DOUWGSKA.js → IY54OHHB.js} +2 -2
  126. package/dist/cdn/{XROLTWSS.js → J77NMDV5.js} +1 -1
  127. package/dist/cdn/{EM33S2YC.js → JA2BLSMQ.js} +2 -2
  128. package/dist/cdn/{7L6VHBLR.js → JNJU5SA4.js} +2 -2
  129. package/dist/cdn/{S673JDUL.js → JUK6YN7M.js} +2 -2
  130. package/dist/cdn/{LHV635NF.js → JUWEYEWN.js} +2 -2
  131. package/dist/cdn/{QWYBS5JR.js → JY42QHUW.js} +2 -2
  132. package/dist/cdn/{4DWLBN6E.js → JYB6HV7M.js} +2 -2
  133. package/dist/cdn/{6JBHPPCE.js → JZPIPYHU.js} +2 -2
  134. package/dist/cdn/{TKFYVUEB.js → K47GFZZC.js} +2 -2
  135. package/dist/cdn/{GHPQJY63.js → KETFCI2P.js} +2 -2
  136. package/dist/cdn/{Y6BHXC2R.js → KF632BTH.js} +2 -2
  137. package/dist/cdn/{AB7YZSC4.js → KFA5XB23.js} +1 -1
  138. package/dist/cdn/{WP7P5VNB.js → KH2BTRXI.js} +1 -1
  139. package/dist/cdn/{MVIN4223.js → KMDWJ4IU.js} +2 -2
  140. package/dist/cdn/{EHSF2PHZ.js → KOI3XUTI.js} +2 -2
  141. package/dist/cdn/KONO75BP.js +4 -0
  142. package/dist/cdn/{LEGUC5TT.js → KQ3XW3HT.js} +2 -2
  143. package/dist/cdn/{2U2RXQXU.js → KU62FCLR.js} +2 -2
  144. package/dist/cdn/{SVS67XXF.js → KZLVAEI2.js} +2 -2
  145. package/dist/cdn/{7HCUEAV4.js → L4DGTHZ5.js} +2 -2
  146. package/dist/cdn/{3HVW5UQM.js → L5RFIDWK.js} +2 -2
  147. package/dist/cdn/{GMQ6DEY4.js → L64TRNGF.js} +2 -2
  148. package/dist/cdn/{ZJZZ27A4.js → LA6C6JAO.js} +2 -2
  149. package/dist/cdn/{47G6FBO5.js → LAKS4FFK.js} +2 -2
  150. package/dist/cdn/{YYUD7YK5.js → LGJZ53IQ.js} +2 -2
  151. package/dist/cdn/{EJ6M46PY.js → LGMP6U2I.js} +2 -2
  152. package/dist/cdn/{ZAER32FT.js → LREJHPPN.js} +2 -2
  153. package/dist/cdn/{RBUZ7BMT.js → LRH5JW4Y.js} +2 -2
  154. package/dist/cdn/{KI4AAB7Q.js → LYRXJGDC.js} +2 -2
  155. package/dist/cdn/{XOABMMJJ.js → M3BZTOYS.js} +2 -2
  156. package/dist/cdn/{PGON6AUG.js → M4EOHQP3.js} +2 -2
  157. package/dist/cdn/{CNNGW5MH.js → MBYLGI4U.js} +1 -1
  158. package/dist/cdn/{QUYGI4H7.js → MCVVXWUA.js} +2 -2
  159. package/dist/cdn/{3DB3ODZ5.js → ME35VNVL.js} +2 -2
  160. package/dist/cdn/{VBJ6UGFM.js → MHYB5WW2.js} +2 -2
  161. package/dist/cdn/{GVZAZ45P.js → MSJNBWKG.js} +1 -1
  162. package/dist/cdn/{XL3QH5JD.js → MUWBCKCV.js} +2 -2
  163. package/dist/cdn/{MGSEHG3F.js → MV3DKW2Y.js} +2 -2
  164. package/dist/cdn/{VCJJR4TK.js → MW5Q3YCW.js} +2 -2
  165. package/dist/cdn/MXFGKNUJ.js +4 -0
  166. package/dist/cdn/{EIV3DXVX.js → NARZWJOL.js} +1 -1
  167. package/dist/cdn/{XDVUXKUA.js → ND6EAOAK.js} +1 -1
  168. package/dist/cdn/{LZYYPD7R.js → NFAFQG7O.js} +2 -2
  169. package/dist/cdn/{KSL35IAB.js → NG5O4EF2.js} +2 -2
  170. package/dist/cdn/{KSA37XLR.js → NLAAOG7K.js} +2 -2
  171. package/dist/cdn/{W56OR4B5.js → NMDVSB55.js} +1 -1
  172. package/dist/cdn/{B35DEHBP.js → NNCVEOOC.js} +2 -2
  173. package/dist/cdn/{AC2LBIGW.js → NNWPGIM6.js} +2 -2
  174. package/dist/cdn/{ULRYUA62.js → NPBGB25Y.js} +2 -2
  175. package/dist/cdn/{YAPVS6P2.js → NPHHJYBH.js} +2 -2
  176. package/dist/cdn/{DQFWRA4G.js → NSEF4U3D.js} +2 -2
  177. package/dist/cdn/{LVGSS7OM.js → NWN7Y7AR.js} +2 -2
  178. package/dist/cdn/{J77NPQYU.js → NZFOFQFK.js} +2 -2
  179. package/dist/cdn/{2ME5MQM2.js → O5AVB7EE.js} +2 -2
  180. package/dist/cdn/{BY5Y2DNE.js → ODMUEFOT.js} +1 -1
  181. package/dist/cdn/{ONPYY5TZ.js → ODRDYVBD.js} +2 -2
  182. package/dist/cdn/{6E4ERRKW.js → OFNMFDPR.js} +1 -1
  183. package/dist/cdn/{U42JI37N.js → ON5Q5T5J.js} +2 -2
  184. package/dist/cdn/{IRV53C7Q.js → OQ2OHE4S.js} +2 -2
  185. package/dist/cdn/{K4FECCC2.js → OT7ZKWCQ.js} +2 -2
  186. package/dist/cdn/{PKCZXRFD.js → OUGZWNO6.js} +1 -1
  187. package/dist/cdn/{M7HKGN5F.js → PF6ZRQJ2.js} +2 -2
  188. package/dist/cdn/{YC2B6HXG.js → PFAB7BY6.js} +2 -2
  189. package/dist/cdn/{DYZR46J2.js → POK67CCI.js} +2 -2
  190. package/dist/cdn/{7BU4RNKA.js → POZF7VFZ.js} +1 -1
  191. package/dist/cdn/{FA2YAWHF.js → PSTNEQMA.js} +2 -2
  192. package/dist/cdn/{ELTW2XEW.js → PZXLUUWJ.js} +2 -2
  193. package/dist/cdn/{LWTWMRMU.js → QCNZF3NJ.js} +2 -2
  194. package/dist/cdn/{7LT3YMUL.js → QHW6LKVE.js} +2 -2
  195. package/dist/cdn/{WVT27UPL.js → QJNE3P25.js} +2 -2
  196. package/dist/cdn/{STGRFEM3.js → QP5IG75V.js} +2 -2
  197. package/dist/cdn/{U2LMZPFA.js → QW25OYIP.js} +2 -2
  198. package/dist/cdn/{IRUPQ64H.js → R6U7AID6.js} +1 -1
  199. package/dist/cdn/{VB6M2WNG.js → R7URESQA.js} +2 -2
  200. package/dist/cdn/{CECW3E26.js → RBNUMIQJ.js} +2 -2
  201. package/dist/cdn/{Q57FIV26.js → RFHVHPG4.js} +2 -2
  202. package/dist/cdn/{LNENTW73.js → RKPAK25A.js} +2 -2
  203. package/dist/cdn/{6DOZYB66.js → SB2ETAD7.js} +2 -2
  204. package/dist/cdn/{RYK7QXBJ.js → SHGCXAGA.js} +2 -2
  205. package/dist/cdn/{ZUNWS4PF.js → SWD5EGIW.js} +1 -1
  206. package/dist/cdn/{MWD6GECG.js → SWLJRRGU.js} +2 -2
  207. package/dist/cdn/{NKHXO7E3.js → SYQ76GDV.js} +2 -2
  208. package/dist/cdn/{GCYQ6YCF.js → SZ6XDDRS.js} +2 -2
  209. package/dist/cdn/{ENAJZOXJ.js → T2AD4OLC.js} +2 -2
  210. package/dist/cdn/{HQKHXY53.js → T6VGLWYO.js} +2 -2
  211. package/dist/cdn/{MZJP3FIW.js → TETTY42T.js} +2 -2
  212. package/dist/cdn/{IWA7VN2A.js → TG55KKIP.js} +2 -2
  213. package/dist/cdn/{T6TALN7D.js → THVVAYVQ.js} +2 -2
  214. package/dist/cdn/{LRS2MDCL.js → TJDY5JFR.js} +2 -2
  215. package/dist/cdn/{2K22YMUV.js → TLBQLRUA.js} +2 -2
  216. package/dist/cdn/{IUH2VZXW.js → TLP53ZXS.js} +2 -2
  217. package/dist/cdn/{GO5RRYI6.js → TMKXDITO.js} +2 -2
  218. package/dist/cdn/{6EIHODNG.js → TQT42IK7.js} +1 -1
  219. package/dist/cdn/{FCERBRLE.js → TV6MVRLN.js} +2 -2
  220. package/dist/cdn/{K6CGYWKI.js → TX5LUCPB.js} +2 -2
  221. package/dist/cdn/{D56F66YP.js → U3MG73BI.js} +2 -2
  222. package/dist/cdn/{YBF7SXFW.js → U6ZZFZ5O.js} +2 -2
  223. package/dist/cdn/{YMZI2I7I.js → U7SYT67J.js} +2 -2
  224. package/dist/cdn/{C2HR5NM7.js → UENHZJI6.js} +2 -2
  225. package/dist/cdn/{EWLBN5NG.js → UHGVCTXE.js} +2 -2
  226. package/dist/cdn/{VGZGGNPC.js → UKJQTCNY.js} +2 -2
  227. package/dist/cdn/{QDI6ECEG.js → UTA3GVUF.js} +2 -2
  228. package/dist/cdn/{2A2OCNEI.js → UVB3QATU.js} +2 -2
  229. package/dist/cdn/{XP2DPI47.js → UVSVC3WI.js} +2 -2
  230. package/dist/cdn/{YZ42HQYG.js → UXHI6HKV.js} +2 -2
  231. package/dist/cdn/{DQ5TSMZ4.js → UZCXGQDN.js} +2 -2
  232. package/dist/cdn/{XJMSVZRM.js → V2N5MGKX.js} +2 -2
  233. package/dist/cdn/{DHYIQDTW.js → V6FMWC6D.js} +2 -2
  234. package/dist/cdn/{S57CAXVX.js → VD6PGA3P.js} +2 -2
  235. package/dist/cdn/{TPBLXSTH.js → VDRSRH6X.js} +2 -2
  236. package/dist/cdn/{LLAYW4K7.js → VDWURYIO.js} +2 -2
  237. package/dist/cdn/{CV35X56P.js → VOD7YR56.js} +2 -2
  238. package/dist/cdn/{BOUZ3FH6.js → VOJ7ETXL.js} +2 -2
  239. package/dist/cdn/{7SVPCQNH.js → VSAXW4LJ.js} +2 -2
  240. package/dist/cdn/{UXWDS6MR.js → VUZSRYII.js} +2 -2
  241. package/dist/cdn/{X6SDOZI2.js → W47KT5GG.js} +2 -2
  242. package/dist/cdn/{AEBIJJDB.js → W7FRKETT.js} +2 -2
  243. package/dist/cdn/{LYNNKR32.js → WCEJDYKE.js} +2 -2
  244. package/dist/cdn/{DE3A5NJQ.js → WGNTLBNS.js} +2 -2
  245. package/dist/cdn/{IONHPS7Z.js → WU3WC633.js} +2 -2
  246. package/dist/cdn/{2WHDR7EZ.js → WXAL7UR7.js} +2 -2
  247. package/dist/cdn/{H7MMUDQA.js → WY3BALDA.js} +2 -2
  248. package/dist/cdn/{T2JUS4TO.js → WYW6UPKP.js} +1 -1
  249. package/dist/cdn/{HFRCYYXR.js → XFVJUICD.js} +2 -2
  250. package/dist/cdn/{KJJPTASW.js → XI2LPQ33.js} +2 -2
  251. package/dist/cdn/{LS72LBRH.js → XLIFIZT4.js} +1 -1
  252. package/dist/cdn/{BFK5P4H6.js → XM7J7FRK.js} +2 -2
  253. package/dist/cdn/{7GRMI52O.js → XPISGP4X.js} +2 -2
  254. package/dist/cdn/{HK6GQTIP.js → XRQCOVSZ.js} +2 -2
  255. package/dist/cdn/{2RRWLFYL.js → Y7AFN6OI.js} +2 -2
  256. package/dist/cdn/Y7RZLFOV.js +4 -0
  257. package/dist/cdn/{QQG5I4RW.js → YJEMF2Z6.js} +2 -2
  258. package/dist/cdn/{SW5IQ7XO.js → YLZ235UH.js} +2 -2
  259. package/dist/cdn/{LWXXGZP2.js → YNVH5WOM.js} +1 -1
  260. package/dist/cdn/{WBQWHY3S.js → YP5ARNCZ.js} +2 -2
  261. package/dist/cdn/{ZWBUELZ3.js → YPZY5T64.js} +2 -2
  262. package/dist/cdn/{LSWZVOP2.js → YVCCBY5A.js} +2 -2
  263. package/dist/cdn/{FF62NTPZ.js → YZ45SJNV.js} +2 -2
  264. package/dist/cdn/{LAQNZDRK.js → Z2Z7VXON.js} +2 -2
  265. package/dist/cdn/{SV73C7FZ.js → Z3Z7UPMU.js} +1 -1
  266. package/dist/cdn/{J5MCJSA4.js → ZG3PPQ55.js} +2 -2
  267. package/dist/cdn/{7F7OU5LY.js → ZG5TZZOJ.js} +2 -2
  268. package/dist/cdn/{R6Q7LXCW.js → ZMAGZDYI.js} +2 -2
  269. package/dist/cdn/{DAELPIWJ.js → ZNZZHZ2Q.js} +2 -2
  270. package/dist/cdn/{CF3T2MF5.js → ZRDVHXEL.js} +2 -2
  271. package/dist/cdn/{VPSKNEUJ.js → ZTVEA5RF.js} +1 -1
  272. package/dist/cdn/{Y3HZIU5J.js → ZUSH4SCO.js} +2 -2
  273. package/dist/cdn/{RUUFDMAP.js → ZVNQTPA6.js} +2 -2
  274. package/dist/cdn/{KE33RJNK.js → ZVQ7AOB6.js} +2 -2
  275. package/dist/cdn/index.js +2 -2
  276. package/dist/chunks/common.js +1 -1
  277. package/dist/chunks/deployAppContexts.js +1 -1
  278. package/dist/chunks/downloadUtils.js +1 -1
  279. package/dist/chunks/index.js +313 -405
  280. package/dist/chunks/interfaces.js +1 -1
  281. package/dist/chunks/loadModules.js +1 -1
  282. package/dist/chunks/mapViewUtils.js +1 -1
  283. package/dist/chunks/pciUtils.js +1 -1
  284. package/dist/chunks/popupUtils.js +1 -1
  285. package/dist/chunks/publicNotificationStore.js +1 -1
  286. package/dist/chunks/queryUtils.js +1 -1
  287. package/dist/chunks/runtime.js +1 -1
  288. package/dist/chunks/solution-store.js +1 -1
  289. package/dist/chunks/templates.js +1 -1
  290. package/dist/chunks/useT9n.js +1 -1
  291. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  292. package/dist/components/basemap-gallery/customElement.js +1 -1
  293. package/dist/components/buffer-tools/customElement.js +1 -1
  294. package/dist/components/card-manager/customElement.js +1 -1
  295. package/dist/components/consent-manager/customElement.js +1 -1
  296. package/dist/components/create-feature/customElement.js +1 -1
  297. package/dist/components/create-related-feature/customElement.js +1 -1
  298. package/dist/components/crowdsource-manager/customElement.js +1 -1
  299. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  300. package/dist/components/deduct-calculator/customElement.js +1 -1
  301. package/dist/components/delete-button/customElement.js +1 -1
  302. package/dist/components/delete-dialog/customElement.js +1 -1
  303. package/dist/components/edit-card/customElement.js +1 -1
  304. package/dist/components/feature-details/customElement.js +1 -1
  305. package/dist/components/feature-list/customElement.js +1 -1
  306. package/dist/components/field-selection/customElement.js +1 -1
  307. package/dist/components/floor-filter/customElement.js +1 -1
  308. package/dist/components/info-card/customElement.js +1 -1
  309. package/dist/components/json-editor/customElement.js +1 -1
  310. package/dist/components/layer-list/customElement.js +1 -1
  311. package/dist/components/layer-table/customElement.js +1 -1
  312. package/dist/components/map-card/customElement.js +1 -1
  313. package/dist/components/map-draw-tools/customElement.js +1 -1
  314. package/dist/components/map-fullscreen/customElement.js +1 -1
  315. package/dist/components/map-layer-picker/customElement.js +1 -1
  316. package/dist/components/map-legend/customElement.js +1 -1
  317. package/dist/components/map-picker/customElement.js +1 -1
  318. package/dist/components/map-search/customElement.js +1 -1
  319. package/dist/components/map-select-tools/customElement.js +1 -1
  320. package/dist/components/map-tools/customElement.js +1 -1
  321. package/dist/components/pci-calculator/customElement.js +1 -1
  322. package/dist/components/pdf-download/customElement.js +1 -1
  323. package/dist/components/public-notification/customElement.js +1 -1
  324. package/dist/components/refine-selection/customElement.js +1 -1
  325. package/dist/components/selection-tool/customElement.js +1 -1
  326. package/dist/components/solution-article-card/customElement.js +1 -1
  327. package/dist/components/solution-configuration/customElement.js +1 -1
  328. package/dist/components/solution-configure-panel/customElement.js +1 -1
  329. package/dist/components/solution-configure-titles/customElement.js +1 -1
  330. package/dist/components/solution-contents/customElement.js +1 -1
  331. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  332. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  333. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  334. package/dist/components/solution-deployed-card/customElement.js +1 -1
  335. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  336. package/dist/components/solution-details-card/customElement.js +1 -1
  337. package/dist/components/solution-details-panel/customElement.js +1 -1
  338. package/dist/components/solution-item/customElement.js +1 -1
  339. package/dist/components/solution-item-accordion/customElement.js +1 -1
  340. package/dist/components/solution-item-details/customElement.js +1 -1
  341. package/dist/components/solution-item-icon/customElement.js +1 -1
  342. package/dist/components/solution-item-sharing/customElement.js +1 -1
  343. package/dist/components/solution-items-diagram/customElement.js +1 -1
  344. package/dist/components/solution-organization-variables/customElement.js +1 -1
  345. package/dist/components/solution-resource-item/customElement.js +1 -1
  346. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  347. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  348. package/dist/components/solution-template-data/customElement.js +1 -1
  349. package/dist/components/solution-variables/customElement.js +1 -1
  350. package/dist/components/solutions-all-panel/customElement.js +1 -1
  351. package/dist/components/solutions-all-shell/customElement.js +1 -1
  352. package/dist/components/solutions-article-panel/customElement.js +1 -1
  353. package/dist/components/solutions-articles/customElement.js +1 -1
  354. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  355. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  356. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  357. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  358. package/dist/components/spatial-ref/customElement.js +1 -1
  359. package/dist/components/store-manager/customElement.js +1 -1
  360. package/dist/docs/api.json +1 -1
  361. package/dist/docs/docs.json +1 -1
  362. package/dist/docs/web-types.json +1 -1
  363. package/dist/index.js +1 -1
  364. package/dist/loader.js +1 -1
  365. package/package.json +2 -2
  366. package/dist/cdn/2DP6OMTG.js +0 -4
  367. package/dist/cdn/4BDP4U52.js +0 -4
  368. package/dist/cdn/7ICACTIO.js +0 -4
  369. package/dist/cdn/CS3QUAQD.js +0 -4
  370. package/dist/cdn/H5Q3K3Q6.js +0 -4
  371. package/dist/cdn/K5QZD6FH.js +0 -4
  372. package/dist/cdn/NHJ7E4Q4.js +0 -4
  373. package/dist/cdn/U4HS5ENT.js +0 -8
  374. package/dist/cdn/XEJZXWBI.js +0 -4
@@ -1,6 +1,6 @@
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.20250521 */
3
+ v1.0.0-next.20250521.1 */
4
4
  var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),kt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new z(typeof o=="string"?o:o+"",void 0,mt),me=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new z(e,o,mt)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Y.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},yt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var vt=globalThis,X=vt.trustedTypes,jt=X?X.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,Et="?"+E,ye=`<${Et}>`,O=document,q=()=>O.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",$t=Array.isArray,Ft=o=>$t(o)||typeof o?.[Symbol.iterator]=="function",gt=`[
5
5
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,w=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,qt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),As=Ct(1),_s=Ct(2),ws=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,x=O.createTreeWalker(O,129);function Kt(o,t){if(!$t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return jt!==void 0?jt.createHTML(t):t}var Gt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let c=o[a],l,p,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,p=i.exec(c),p!==null);)m=i.lastIndex,i===H?p[1]==="!--"?i=Vt:p[1]!==void 0?i=zt:p[2]!==void 0?(Wt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??H,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?qt:Ht):i===qt||i===Ht?i=w:i===Vt||i===zt?i=H:(i=w,n=void 0);let y=i===w&&o[a+1].startsWith("/>")?" ":"";r+=i===H?c+ye:h>=0?(s.push(l),c.slice(0,h)+bt+c.slice(h)+E+y):c+E+(h===-2?a:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},F=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,p]=Gt(t,e);if(this.el=o.createElement(l,s),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(bt)){let m=p[i++],y=n.getAttribute(h).split(E),_=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?et:_[1]==="?"?st:_[1]==="@"?ot:S}),n.removeAttribute(h)}else h.startsWith(E)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Wt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=X?X.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],q()),x.nextNode(),c.push({type:2,index:++r});n.append(h[m],q())}}}else if(n.nodeType===8)if(n.data===Et)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)c.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=O.createElement("template");return s.innerHTML=t,s}};function T(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=B(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=T(o,n._$AS(o,t.values),n,s)),t}var tt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??O).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new U(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new nt(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=x.nextNode(),i++)}return x.currentNode=O,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},U=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=F.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new tt(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new F(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(q()),this.O(q()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},S=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=T(this,t,e,0),i=!B(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=T(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),i||=!B(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},et=class extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},st=class extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},ot=class extends S{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},Jt={M:bt,P:E,A:Et,C:1,L:Gt,R:tt,D:Ft,V:T,I:U,H:S,N:st,U:ot,B:et,F:nt},ge=vt.litHtmlPolyfillSupport;ge?.(F,U),(vt.litHtmlVersions??=[]).push("3.3.0");var At=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new U(t.insertBefore(q(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:ve,defineProperty:be,getOwnPropertyDescriptor:Ee,getOwnPropertyNames:$e,getOwnPropertySymbols:Ce,getPrototypeOf:Ae}=Object,it=globalThis,Qt=it.trustedTypes,_e=Qt?Qt.emptyScript:"",we=it.reactiveElementPolyfillSupport,W=(o,t)=>o,rt={toAttribute(o,t){switch(t){case Boolean:o=o?_e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},K=(o,t)=>!ve(o,t),Yt={attribute:!0,type:String,converter:rt,reflect:!1,useDefault:!1,hasChanged:K};Symbol.metadata??=Symbol("metadata"),it.litPropertyMetadata??=new WeakMap;var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Yt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&be(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ee(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(W("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(W("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(W("properties"))){let e=this.properties,s=[...$e(e),...Ce(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(yt(n))}else t!==void 0&&e.push(yt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:rt).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:rt;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??K)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[W("elementProperties")]=new Map,$[W("finalized")]=new Map,we?.({ReactiveElement:$}),(it.reactiveElementVersions??=[]).push("2.1.0");var _t=globalThis,v=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=At(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};v._$litElement$=!0,v.finalized=!0,_t.litElementHydrateSupport?.({LitElement:v});var xe=_t.litElementPolyfillSupport;xe?.({LitElement:v});(_t.litElementVersions??=[]).push("4.2.0");var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},Oe=(o,t)=>{let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},Te=(o,t,e)=>{let s=Se(t).subscribe;return s(n=>{n.some(i=>Oe(o,i.target))&&e()})},wt={},Se=o=>{let t=o.join(","),e=wt[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe:i=>(s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),wt[t]=void 0)})};return wt[t]=r,r},Pe=(o,t)=>{let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null};var Ne=(o,t,e)=>Pe(o,`[${t}]`)?.getAttribute(t)??e;var u=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},G=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var Le="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),Re=new Set(Le),at="en",De={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},Ue=async(o,t,e="")=>{let s=`${t}/${e}`,n=`${s}${o}.json`;return xt[n]??(xt[n]=Zt(o,s)),await xt[n]},xt={},Zt=async(o,t)=>{let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===at?{}:await Zt(at,t)},ke=o=>{let t=Ne(o,"lang",globalThis.navigator?.language||at);return{lang:t,t9nLocale:Xt(t)}},Xt=o=>{let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=De[n]??n,Re.has(n)?n:e?Xt(s):at},zs=(o,t,e,s)=>{let n,r=()=>Me(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),Te(o,["lang"],r)},Me=async(o,t,e=o.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:n}=ke(o),r=`${t}/${e}/t9n`,a=e===null?{}:await Ue(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}};var ct=o=>o.replace(Ie,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ie=/[A-Z]+(?![a-z])|[A-Z]/gu;var te=(o,t)=>{let e=t>je?Ve:t/ze,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n},je=4e3,Ve=2e3,ze=4;var ht=Symbol.for("controller"),He=o=>typeof o=="object"&&o!==null&&(ht in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ws=o=>typeof o?.then=="function";var J,k=o=>{J!==o&&(J=o,queueMicrotask(()=>J===o?J=void 0:0))},N=o=>J,P=[],qe=o=>{if(o===void 0){P=[];return}let t=P.indexOf(o);P=t===-1?[...P,o]:P.slice(0,t+1),queueMicrotask(()=>P=[])},Be=()=>P,M,Ks=o=>{M!==o&&(M=o,queueMicrotask(()=>M===o?M=void 0:0))},Fe=()=>{let o=M;return M=void 0,o},We=async(o,t)=>{let e=Tt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Ke=async o=>{let t=Tt(o);return await t.ready,t},Tt=o=>{let e=N().manager.X(o);if(e!==void 0)return e;if(He(o))return o;let s=Fe();if(s!==void 0)return s},lt=!1,Gs=o=>{lt=!0;try{return o()}finally{lt=!1}};var Ge=(o,t,e)=>{let s=Object.keys(o),n=s.length;I===void 0&&queueMicrotask(dt),I??=new Map;let r=I.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},I.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},I,dt=()=>{I?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),I=void 0},Je=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((n,r)=>u(t,void 0,e===r?n:void 0)),e},Qe=(o=[N(),...Be()],t,e)=>{let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ge(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&i.manager.component===i){Je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ye=(o="",t={},e=N())=>{let s={emit:n=>{o===""&&dt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>o=n.key,s),s},Ze=Ye.bind(null,""),oe;oe=ht;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#n=[],this.#c=[],this.#l=[],this.#u=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[oe]=!0,this.#a=[];let e=this,s=t??N(new.target.name);e.#r=s,e.ready=e.P.promise,e.#i=se(e),e.component=s,e.#r.addController(e),e.#r.manager===void 0||(qe(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#n;#c;#l;#u;#h;#d;#r;catchUpLifecycle(){let{manager:t}=this.#r;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#i;get exports(){return this.#i}set exports(t){let e=this.#i;e!==t&&(this.#i=t,this.#a.forEach(u),this.connectedCalled&&this.O!==!1&&this.#r.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#i=e?se(t):t,this.#a.forEach(u)}#a;watchExports(t){let e=()=>t(this.#i);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return k(this.#r),We}get useRef(){return k(this.#r),Ke}get useRefSync(){return k(this.#r),Tt}controllerRemoved(){this.#r.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#u.push(t),this.connectedCalled&&this.#r.el.isConnected&&this.#p(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),t.#t.forEach(u),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),t.#e.forEach(u),t.#h.forEach(u),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await G(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(G)),this.P.resolve(this.#i)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&u(this.hostLoaded,this),this.#o.forEach(u),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&u(this.hostUpdate,this,t),this.#n.forEach(ee,t)}triggerUpdated(t){this.hostUpdated&&u(this.hostUpdated,this,t),this.#c.forEach(ee,t)}triggerDestroy(){this.hostDestroy&&u(this.hostDestroy,this),this.#l.forEach(u)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#u.forEach(this.#p,this)}#p(t){k(this.#r);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#h.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#h.push(n.remove)})}};function ee(o){u(o,void 0,this)}var ne=Ot,se=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,n,r){if(!((n==="exports"||n==="_exports")&&n in s&&s[n]===e)&&(n in s||n in Promise.prototype||typeof n=="symbol"))return typeof s=="function"?s[n]:Reflect.get(s,n,r)}},e=new Proxy(o,t);return e};var re=";",ut=",",ie=":";var Pt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Nt={};function Lt(){}var Xe=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[p,h,m]=l.split(re),y=p?p?.split(ut).map(ts):void 0,_=y?.map(([D])=>D),R=class extends St{static{this.observedAttributes=y?.map(([,D])=>D).filter(D=>D!=="")}static{this.C=_}static{this.E=h?h?.split(ut):void 0}static{this.D=m?.split(ut)}static{this.L=a}static{this.K=o}constructor(){!R.B&&(R.B=c(),R.F()),super()}};customElements.define(a,R)}},pt=Object.defineProperty,ts=o=>{let t=o.split(ie);return t.length===1?[t[0],ct(t[0])]:t},es=globalThis.HTMLElement??Lt,St=class extends es{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(n=>typeof n=="function"?{a:n}:n)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])pt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])pt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Pt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);os(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ss,l);let p=this.isConnected;(p||this.G)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ss([o,t]){this[o]=t}var os=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var A=class extends Event{constructor(t,e,s,n){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=s,this.subscribe=n??!1}};var j=class{constructor(t,e,s,n){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(r,i)=>{this.unsubscribe&&(this.unsubscribe!==i&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=r,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(r,i)),this.unsubscribe=i},this.host=t,e.context!==void 0){let r=e;this.context=r.context,this.callback=r.callback,this.subscribe=r.subscribe??!1}else this.context=e,this.callback=s,this.subscribe=n??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new A(this.context,this.host,this.t,this.subscribe))}};var ft=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:n}=this.subscriptions.get(t);t(this.value,n)}clearCallbacks(){this.subscriptions.clear()}};var Rt=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},V=class extends ft{constructor(t,e,s){super(e.context!==void 0?e.initialValue:s),this.onContextRequest=n=>{if(n.context!==this.context)return;let r=n.contextTarget??n.composedPath()[0];r!==this.host&&(n.stopPropagation(),this.addCallback(n.callback,r,n.subscribe))},this.onProviderRequest=n=>{if(n.context!==this.context||(n.contextTarget??n.composedPath()[0])===this.host)return;let r=new Set;for(let[i,{consumerHost:a}]of this.subscriptions)r.has(i)||(r.add(i),a.dispatchEvent(new A(this.context,a,i,!0)));n.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Rt(this.context,this.host))}};var g={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},L=o=>(...t)=>({_$litDirective$:o,values:t}),C=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ae=L(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ce="important",rs=" !"+ce,le=L(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(rs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?ce:""):e[s]=n}}return f}});var{I:is}=Jt;var de=o=>o.strings===void 0,he=()=>document.createComment(""),Fo=(o,t,e)=>{let s=o._$AA.parentNode,n=t===void 0?o._$AB:t._$AA;if(e===void 0){let r=s.insertBefore(he(),n),i=s.insertBefore(he(),n);e=new is(r,i,o,o.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return e},Wo=(o,t,e=o)=>(o._$AI(t,e),o),as={},ue=(o,t=as)=>o._$AH=t,Ko=o=>o._$AH,Go=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var cs=L(class extends C{constructor(o){if(super(o),o.type!==g.PROPERTY&&o.type!==g.ATTRIBUTE&&o.type!==g.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!de(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===g.PROPERTY){if(t===e[s])return f}else if(o.type===g.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===g.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var En=o=>{let t=N(),e=new V(t.el,o);return t.addController(e),e},$n=o=>{let t=N(),e=new j(t.el,o);return t.addController(e),e};var Dt=class extends ne{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",v.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),dt();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):u(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):u(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),k(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=te(t,gs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},gs=1e3,Ut="autoDestroyDisabled",pe=class o extends v{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,n=e.K.o,r=o.prototype.shouldUpdate;t.#o=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Lt,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Nt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??K,i={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let n=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!lt&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&a?.S(t,i)}}}static{this.lumina=!0}#t;#e;#s;#o;#n;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Nt?this.el:this.el.attachShadow(s));if(t)return v.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??Pt(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(G(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#c(t):super.update(t)}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(ht in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},fe=o=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=s,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s};var Cn=o=>typeof o=="object"&&o!=null?ae(o):o,An=o=>typeof o=="object"&&o!=null?le(o):o;var _n=d;var Q=fe({defaultAssetPath:"https://jsdev.arcgis.com/next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:Sn,getAssetPath:Pn,setAssetPath:Nn}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{ke as a,zs as b,me as c,As as d,_s as e,f,d as g,Ws as h,k as i,qe as j,Be as k,Ks as l,Gs as m,Qe as n,Ze as o,Ot as p,Nt as q,Xe as r,g as s,L as t,C as u,de as v,Fo as w,Wo as x,ue as y,Ko as z,Go as A,En as B,$n as C,pe as D,Cn as E,An as F,_n as G,Q as H,Sn as I,Pn as J};
@@ -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.20250521 */
4
- import{a as o}from"./4JWQ7FCB.js";import{a as r}from"./QDI6ECEG.js";import"./W56OR4B5.js";import"./EHSF2PHZ.js";import"./6EIHODNG.js";import{a as s}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as o}from"./BXNKGYEI.js";import{a as r}from"./UTA3GVUF.js";import"./NMDVSB55.js";import"./KOI3XUTI.js";import"./TQT42IK7.js";import{a as s}from"./XRQCOVSZ.js";import"./DK32RK5U.js";import"./UVB3QATU.js";import"./WYW6UPKP.js";import"./ASDGPISP.js";import"./JZPIPYHU.js";import"./EQREHHBY.js";import"./3MEA5DUO.js";import"./TV6MVRLN.js";import"./25ZSQ4Y4.js";import"./NG5O4EF2.js";import"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./3ZX46XLT.js";import"./SHGCXAGA.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./ME35VNVL.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p 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.20250521 */
4
- import{a as w}from"./YLP7M2HK.js";import{e as E}from"./3KG65DHY.js";import{B as y,C as b}from"./LWXXGZP2.js";import"./7Q35EK3R.js";import{a as F,c as l,d as C,e as x,f as m}from"./6K2KSAYP.js";import"./PACFBFZI.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"b46732d02815e1ccd7f9355daf5470b0e5080918",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"0b6b2021c89c4aa78f8a23d34363520a1ebdf21c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"70bd30b6dc8d0eada179abf13b713e8df852f059",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],open:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],open:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,scale:"s"}))):null}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("div",{class:u.zoomTo},l("calcite-button",{id:t,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)},this.messages?.zoomTo)):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map?.findLayerById(n)??this.view.map?.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as w}from"./5VKMQKEK.js";import{e as E}from"./CKIF7ITD.js";import{B as y,C as b}from"./YNVH5WOM.js";import"./6Z2DWNPT.js";import{a as F,c as l,d as C,e as x,f as m}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"b46732d02815e1ccd7f9355daf5470b0e5080918",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"0b6b2021c89c4aa78f8a23d34363520a1ebdf21c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"70bd30b6dc8d0eada179abf13b713e8df852f059",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],open:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],open:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,scale:"s"}))):null}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("div",{class:u.zoomTo},l("calcite-button",{id:t,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)},this.messages?.zoomTo)):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map?.findLayerById(n)??this.view.map?.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
@@ -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.20250521 */
4
- import"./PACFBFZI.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250521.1 */
4
+ import"./GPUC2YAZ.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});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.20250521 */
4
- import{a as l}from"./ROAC6LDL.js";import{b as t,c as u}from"./T2JUS4TO.js";import"./PACFBFZI.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as l}from"./HRTSR2SE.js";import{b as t,c as u}from"./WYW6UPKP.js";import"./GPUC2YAZ.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
@@ -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.20250521 */
4
- import{a as s}from"./Q3TAJJU3.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as s}from"./BZPPRNYK.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{d as u,e as L}from"./IRV53C7Q.js";import"./BY5Y2DNE.js";import"./LS72LBRH.js";import{a as m,b as w}from"./KV6B4JKU.js";import{b}from"./GVZAZ45P.js";import{a as V}from"./VDUSHAW5.js";import{D as M,E as p,I as v,c as y,d as c,o as h,q as f}from"./CQBTEXB7.js";import"./PACFBFZI.js";var E=y`@layer{/** @license
3
+ v1.0.0-next.20250521.1 */
4
+ import{d as u,e as L}from"./OQ2OHE4S.js";import"./ODMUEFOT.js";import"./XLIFIZT4.js";import{a as m,b as w}from"./F5UQ42HE.js";import{b}from"./MSJNBWKG.js";import{a as V}from"./EYCGOAQV.js";import{D as M,E as p,I as v,c as y,d as c,o as h,q as f}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var E=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{a as _}from"./S673JDUL.js";import"./U4HS5ENT.js";import{c as g,g as $,j as F}from"./IRV53C7Q.js";import{e as d}from"./BY5Y2DNE.js";import{a as E,d as O,f as T}from"./LS72LBRH.js";import{a as u,b as p}from"./KV6B4JKU.js";import{b as I}from"./GVZAZ45P.js";import{a as k}from"./VDUSHAW5.js";import{D as C,E as y,F as V,I as G,c as L,d as c,o as S,q as v}from"./CQBTEXB7.js";import"./PACFBFZI.js";var N=L`@layer{/** @license
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as _}from"./JUK6YN7M.js";import"./I5FXIJHX.js";import{c as g,g as $,j as F}from"./OQ2OHE4S.js";import{e as d}from"./ODMUEFOT.js";import{a as E,d as O,f as T}from"./XLIFIZT4.js";import{a as u,b as p}from"./F5UQ42HE.js";import{b as I}from"./MSJNBWKG.js";import{a as k}from"./EYCGOAQV.js";import{D as C,E as y,F as V,I as G,c as L,d as c,o as S,q as v}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var N=L`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{a as r}from"./VDUSHAW5.js";import{D as o,I as n,c as i,d as t,q as s}from"./CQBTEXB7.js";import"./PACFBFZI.js";var a=i`@layer{/** @license
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as r}from"./EYCGOAQV.js";import{D as o,I as n,c as i,d as t,q as s}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var a=i`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{a as r}from"./VDUSHAW5.js";import{D as n,I as o,c as l,d as a,o as i}from"./CQBTEXB7.js";import"./PACFBFZI.js";var c=l`/** @license
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as r}from"./EYCGOAQV.js";import{D as n,I as o,c as l,d as a,o as i}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250521.1 */
4
+ import{a,b}from"./3ZX46XLT.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,3 +1,3 @@
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.20250521 */
3
+ v1.0.0-next.20250521.1 */
@@ -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.20250521 */
4
- import{a as S}from"./JCGTMHDX.js";import"./6K2KSAYP.js";import{a as v,c as u,d as c,e as m,f as C,g as x}from"./IRV53C7Q.js";import"./BY5Y2DNE.js";import{b as $}from"./LS72LBRH.js";import{a as h,b as o}from"./KV6B4JKU.js";import{b as F}from"./GVZAZ45P.js";import{a as I}from"./VDUSHAW5.js";import{D as b,E as p,I as L,c as g,d as l,g as d,o as w,q as y}from"./CQBTEXB7.js";import"./PACFBFZI.js";var V=g`@layer{/** @license
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as S}from"./GJWFJRKH.js";import"./A62HEPRS.js";import{a as v,c as u,d as c,e as m,f as C,g as x}from"./OQ2OHE4S.js";import"./ODMUEFOT.js";import{b as $}from"./XLIFIZT4.js";import{a as h,b as o}from"./F5UQ42HE.js";import{b as F}from"./MSJNBWKG.js";import{a as I}from"./EYCGOAQV.js";import{D as b,E as p,I as L,c as g,d as l,g as d,o as w,q as y}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var V=g`@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.20250521 */
4
- import{a as s}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";var r=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]});export{r as buildUiSchema};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as s}from"./XRQCOVSZ.js";import"./DK32RK5U.js";import"./UVB3QATU.js";import"./WYW6UPKP.js";import"./ASDGPISP.js";import"./JZPIPYHU.js";import"./EQREHHBY.js";import"./3MEA5DUO.js";import"./TV6MVRLN.js";import"./25ZSQ4Y4.js";import"./NG5O4EF2.js";import"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./3ZX46XLT.js";import"./SHGCXAGA.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./ME35VNVL.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";var r=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]});export{r 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.20250521 */
4
- import{a as S}from"./LEGUC5TT.js";import{a as d}from"./PKKTKHZX.js";import{a as j,d as U,e as x,f as L,g as C,h as N}from"./YMZI2I7I.js";import{c as v,d as _,l as f,m as y}from"./NKHXO7E3.js";import"./Y3HZIU5J.js";import{g as M}from"./AVJL2GFG.js";import"./SSNAJI27.js";import"./6E4ERRKW.js";import"./SV73C7FZ.js";import"./D56F66YP.js";import"./XDVUXKUA.js";import{a as O}from"./7BU4RNKA.js";import"./WP7P5VNB.js";import"./HGOC6CO4.js";import{h as I}from"./VGZGGNPC.js";import"./SXNJKD62.js";import"./U6PBNDHL.js";import"./6EIHODNG.js";import"./PACFBFZI.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as S}from"./KQ3XW3HT.js";import{a as d}from"./EVND7CLX.js";import{a as j,d as U,e as x,f as L,g as C,h as N}from"./U7SYT67J.js";import{c as v,d as _,l as f,m as y}from"./SYQ76GDV.js";import"./ZUSH4SCO.js";import{g as M}from"./G4WDN3WM.js";import"./IGELH7BW.js";import"./OFNMFDPR.js";import"./Z3Z7UPMU.js";import"./U3MG73BI.js";import"./ND6EAOAK.js";import{a as O}from"./POZF7VFZ.js";import"./KH2BTRXI.js";import"./HAIBENUV.js";import{h as I}from"./UKJQTCNY.js";import"./ETE327MH.js";import"./CE3PZUP3.js";import"./TQT42IK7.js";import"./GPUC2YAZ.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
@@ -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.20250521 */
4
- import{a}from"./SSNAJI27.js";import{a as d}from"./XDVUXKUA.js";import{m as b,n as m}from"./VGZGGNPC.js";import"./SXNJKD62.js";import{a as l}from"./6EIHODNG.js";import{a as i}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.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.20250521.1 */
4
+ import{a}from"./IGELH7BW.js";import{a as d}from"./ND6EAOAK.js";import{m as b,n as m}from"./UKJQTCNY.js";import"./ETE327MH.js";import{a as l}from"./TQT42IK7.js";import{a as i}from"./XRQCOVSZ.js";import"./DK32RK5U.js";import"./UVB3QATU.js";import"./WYW6UPKP.js";import"./ASDGPISP.js";import"./JZPIPYHU.js";import"./EQREHHBY.js";import"./3MEA5DUO.js";import"./TV6MVRLN.js";import"./25ZSQ4Y4.js";import"./NG5O4EF2.js";import"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./3ZX46XLT.js";import"./SHGCXAGA.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./ME35VNVL.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.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};
@@ -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.20250521 */
4
- import{a}from"./4JWQ7FCB.js";import{a as l}from"./QDI6ECEG.js";import"./W56OR4B5.js";import"./EHSF2PHZ.js";import{a as i}from"./6EIHODNG.js";import{a as s}from"./HK6GQTIP.js";import"./H2S3BYD2.js";import"./2A2OCNEI.js";import"./T2JUS4TO.js";import"./LTJRIZ42.js";import"./6JBHPPCE.js";import"./KHA6XWL7.js";import"./ESV3CXI2.js";import"./FCERBRLE.js";import"./ACRGKPWC.js";import"./KSL35IAB.js";import"./U42JI37N.js";import"./AB7YZSC4.js";import"./GO5RRYI6.js";import"./NXSX7IHR.js";import"./EASKU6IL.js";import"./RYK7QXBJ.js";import"./Y37XTU24.js";import"./4NN4MG2R.js";import"./3DB3ODZ5.js";import"./Q3TAJJU3.js";import"./IRUPQ64H.js";import"./K75YNK4P.js";import"./PACFBFZI.js";var d=async(e,r,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isOpenData.helperText`},messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]},rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!i(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,r,t)=>Object.assign(Object.assign({},a("hubGroup",t)),r);export{f as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a}from"./BXNKGYEI.js";import{a as l}from"./UTA3GVUF.js";import"./NMDVSB55.js";import"./KOI3XUTI.js";import{a as i}from"./TQT42IK7.js";import{a as s}from"./XRQCOVSZ.js";import"./DK32RK5U.js";import"./UVB3QATU.js";import"./WYW6UPKP.js";import"./ASDGPISP.js";import"./JZPIPYHU.js";import"./EQREHHBY.js";import"./3MEA5DUO.js";import"./TV6MVRLN.js";import"./25ZSQ4Y4.js";import"./NG5O4EF2.js";import"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./3ZX46XLT.js";import"./SHGCXAGA.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./ME35VNVL.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";var d=async(e,r,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isOpenData.helperText`},messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]},rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!i(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,r,t)=>Object.assign(Object.assign({},a("hubGroup",t)),r);export{f as buildDefaults,d 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.20250521 */
4
- import{a as e}from"./QDI6ECEG.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.0.0-next.20250521.1 */
4
+ import{a as e}from"./UTA3GVUF.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521 */
4
- import{c as t}from"./IRUPQ64H.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./K75YNK4P.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.0.0-next.20250521.1 */
4
+ import{c as t}from"./R6U7AID6.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./EMXWEQBM.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m 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.20250521 */
3
+ v1.0.0-next.20250521.1 */
4
4
  var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};