@esri/solutions-components 1.1.0-next.20250821 → 1.1.0-next.20250821.2

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 (410) hide show
  1. package/dist/cdn/{CJKVNGQM.js → 22D2GNVK.js} +2 -2
  2. package/dist/cdn/{CJK7M7UJ.js → 235ZLOWS.js} +2 -2
  3. package/dist/cdn/{NYOJ3QGM.js → 25FWEEDO.js} +2 -2
  4. package/dist/cdn/{GOYCGXAF.js → 26QJ6HVY.js} +2 -2
  5. package/dist/cdn/{UJURMAMA.js → 2L2LYXAF.js} +2 -2
  6. package/dist/cdn/{BEMU5FKM.js → 2MPP7TLB.js} +2 -2
  7. package/dist/cdn/{4UV3BT2K.js → 2OCWJGO5.js} +2 -2
  8. package/dist/cdn/{PPMMNT6Y.js → 2ONRGEDI.js} +1 -1
  9. package/dist/cdn/{5T27YZ75.js → 2Q6RFLIR.js} +2 -2
  10. package/dist/cdn/2SXEZ7CP.js +4 -0
  11. package/dist/cdn/{KWKHW4US.js → 2SXOYN6G.js} +2 -2
  12. package/dist/cdn/{I4H2DWMO.js → 2W6KIE5P.js} +2 -2
  13. package/dist/cdn/{W4PYMPE3.js → 3253F3UY.js} +2 -2
  14. package/dist/cdn/{WHGMRK4V.js → 3GD3JAJJ.js} +2 -2
  15. package/dist/cdn/{4JIFT5VF.js → 3J23AOO7.js} +1 -1
  16. package/dist/cdn/{ZPRRPMJN.js → 3NCTD2EX.js} +2 -2
  17. package/dist/cdn/3P4C36A4.js +4 -0
  18. package/dist/cdn/{GUMOIUYC.js → 3TAJ7NC2.js} +2 -2
  19. package/dist/cdn/{4U7JO3AR.js → 3XIKAT2B.js} +2 -2
  20. package/dist/cdn/{GHMYCSWK.js → 3XJVGSL6.js} +2 -2
  21. package/dist/cdn/{MOO7QXNB.js → 4AXYFP6H.js} +2 -2
  22. package/dist/cdn/{X4O3XPRE.js → 4DSFARVO.js} +1 -1
  23. package/dist/cdn/{ZE7MCDOL.js → 4EM5LGWW.js} +2 -2
  24. package/dist/cdn/{XAEXUZGI.js → 4FWQ3PCZ.js} +2 -2
  25. package/dist/cdn/{3QWJFCEJ.js → 4GGPYMIY.js} +2 -2
  26. package/dist/cdn/{AKIRVLWZ.js → 4HA4HORS.js} +2 -2
  27. package/dist/cdn/{I3IWAK7W.js → 4IGGDWXU.js} +2 -2
  28. package/dist/cdn/{KWA5SRQH.js → 4J5FMWGE.js} +2 -2
  29. package/dist/cdn/{NLEAAUBR.js → 4PI6FXSY.js} +2 -2
  30. package/dist/cdn/4UDK7B7E.js +4 -0
  31. package/dist/cdn/{OGSBDN7A.js → 4WH5U7J5.js} +2 -2
  32. package/dist/cdn/{DWA3O3CJ.js → 57CWLS5B.js} +1 -1
  33. package/dist/cdn/{KM6ZHTVH.js → 5E3SWD22.js} +2 -2
  34. package/dist/cdn/{Q4UTDQYS.js → 5F4MLI72.js} +2 -2
  35. package/dist/cdn/{SYTRT7BE.js → 5GZLTD5C.js} +1 -1
  36. package/dist/cdn/{FMXITXLP.js → 5IQ36CWQ.js} +2 -2
  37. package/dist/cdn/{UQCY544V.js → 5LUICGWK.js} +2 -2
  38. package/dist/cdn/{XCDLVCZ3.js → 5VAAY35S.js} +2 -2
  39. package/dist/cdn/{PDMPES3S.js → 5VXIJT2B.js} +2 -2
  40. package/dist/cdn/{JXFSX77O.js → 5WXG753H.js} +1 -1
  41. package/dist/cdn/{46FU7QSN.js → 67NVU3K2.js} +2 -2
  42. package/dist/cdn/{EWYC4BEQ.js → 67RFX4YC.js} +2 -2
  43. package/dist/cdn/{3KKV75BY.js → 67ZETFD5.js} +2 -2
  44. package/dist/cdn/{T3R73YD3.js → 6DBOXLNP.js} +1 -1
  45. package/dist/cdn/{LCXVXJGO.js → 6DEYLEFF.js} +4 -4
  46. package/dist/cdn/{T5MZL6GX.js → 6GCMHMMB.js} +2 -2
  47. package/dist/cdn/{F7DXQINX.js → 6L5ERBSS.js} +2 -2
  48. package/dist/cdn/{ABG2PPIK.js → 6WTFWOJG.js} +2 -2
  49. package/dist/cdn/{CWGVOJHS.js → 6ZW62KPY.js} +2 -2
  50. package/dist/cdn/{26UZMSQF.js → 72C67EMH.js} +2 -2
  51. package/dist/cdn/{BJU3DIBO.js → 72Y6PQRX.js} +2 -2
  52. package/dist/cdn/{ZGS2YSRD.js → 7CD7AAYK.js} +2 -2
  53. package/dist/cdn/{VMPPSG7A.js → 7CQQ34I7.js} +2 -2
  54. package/dist/cdn/{X4SPIF5Q.js → 7D7PU7OO.js} +2 -2
  55. package/dist/cdn/{F2EDPF57.js → 7MRRUVFN.js} +1 -1
  56. package/dist/cdn/{3FHLI5KF.js → 7NTWBVQ5.js} +2 -2
  57. package/dist/cdn/{5NUSFNXH.js → 7QRF2ECB.js} +2 -2
  58. package/dist/cdn/{7FVCX5KT.js → 7RLVSCO2.js} +2 -2
  59. package/dist/cdn/{HX42TSNN.js → 7RTJEJB4.js} +1 -1
  60. package/dist/cdn/{HFMLXKWB.js → A3EIPCJ6.js} +2 -2
  61. package/dist/cdn/{QEZWWVQK.js → A4RPIULL.js} +1 -1
  62. package/dist/cdn/{Z24TR7AJ.js → ACK6BSS2.js} +2 -2
  63. package/dist/cdn/{LFZMKPEC.js → ADKDRGWO.js} +2 -2
  64. package/dist/cdn/{LG6XZNP6.js → AG3ILNSJ.js} +1 -1
  65. package/dist/cdn/{SARNA2Y5.js → AL47HGBU.js} +2 -2
  66. package/dist/cdn/{QLDMK4LT.js → B7U2SXWQ.js} +1 -1
  67. package/dist/cdn/{4WGVU5V7.js → BDZTM3ZY.js} +2 -2
  68. package/dist/cdn/{34Z5XSQH.js → BEJSBRDT.js} +2 -2
  69. package/dist/cdn/{NQGECILS.js → BFFA7RG7.js} +2 -2
  70. package/dist/cdn/{DJSOZGP4.js → BNP4IWJK.js} +2 -2
  71. package/dist/cdn/{VYRZVJHK.js → BSCO2QHI.js} +2 -2
  72. package/dist/cdn/{5BAJJPIT.js → C2XGQ36E.js} +2 -2
  73. package/dist/cdn/{KHUDAK4U.js → CDWAH2WV.js} +1 -1
  74. package/dist/cdn/{H7S25TH6.js → CEY4X7HF.js} +2 -2
  75. package/dist/cdn/{XGDELCZ4.js → CNLXEAWS.js} +2 -2
  76. package/dist/cdn/{GJE7SAYK.js → CRGA7SBE.js} +2 -2
  77. package/dist/cdn/{YQYVXMKR.js → CTDCYCZ5.js} +2 -2
  78. package/dist/cdn/{5UOBFUD7.js → CZEG4PXJ.js} +2 -2
  79. package/dist/cdn/{NTXPZBRE.js → DFNUDBH6.js} +2 -2
  80. package/dist/cdn/{ZDAEWRWE.js → DHWAG6ES.js} +2 -2
  81. package/dist/cdn/{66NVXPWT.js → DK7CN6FA.js} +2 -2
  82. package/dist/cdn/{FKXYT7EY.js → DKOAK7A2.js} +2 -2
  83. package/dist/cdn/{HX4BQZKY.js → DNXMTQ56.js} +2 -2
  84. package/dist/cdn/{5P76J3HO.js → DOT7KVHF.js} +1 -1
  85. package/dist/cdn/{Y5M54HOH.js → DSTBRSHD.js} +2 -2
  86. package/dist/cdn/{HH5YA2JF.js → DUI6YFUX.js} +2 -2
  87. package/dist/cdn/{VQ4P66JP.js → DV2EV7X5.js} +2 -2
  88. package/dist/cdn/{Y5A5ZSIJ.js → DVZ2CEEK.js} +1 -1
  89. package/dist/cdn/{GORXM5HD.js → DYGCUCS5.js} +2 -2
  90. package/dist/cdn/{VYQOZEPB.js → DZPOUMWV.js} +2 -2
  91. package/dist/cdn/{RFBBYJR3.js → EA2J4E7K.js} +2 -2
  92. package/dist/cdn/{6WOE43KF.js → EB7KPOC2.js} +2 -2
  93. package/dist/cdn/{6NITDX2J.js → ECXGB6JO.js} +1 -1
  94. package/dist/cdn/{6BXNQMRE.js → EFZS6ECU.js} +2 -2
  95. package/dist/cdn/{NU33F4OK.js → EJ6QXYLA.js} +2 -2
  96. package/dist/cdn/{KFOQZFCV.js → EKQNIUD5.js} +1 -1
  97. package/dist/cdn/{7U5QGEBS.js → EY66U5YX.js} +2 -2
  98. package/dist/cdn/{I3JVE6DZ.js → F2K2LMIP.js} +2 -2
  99. package/dist/cdn/{324NOGFE.js → FE6I6UKL.js} +2 -2
  100. package/dist/cdn/{FTC4MFNY.js → FGY7SBZ7.js} +2 -2
  101. package/dist/cdn/{XSWPMMH2.js → FI2XYNST.js} +2 -2
  102. package/dist/cdn/{TPQ4R7GL.js → FLIKWNOK.js} +2 -2
  103. package/dist/cdn/FODLMNUK.js +4 -0
  104. package/dist/cdn/{QYAEU4BM.js → FZ2SU5XQ.js} +2 -2
  105. package/dist/cdn/G5HGYGJC.js +18 -0
  106. package/dist/cdn/{5Q5RESO7.js → G6YJXYAC.js} +1 -1
  107. package/dist/cdn/{2M7DDGSQ.js → GEB6FFHF.js} +2 -2
  108. package/dist/cdn/{C3DYNYUP.js → GEC5HUDM.js} +2 -2
  109. package/dist/cdn/{7LVZ4IWA.js → GFC5L42C.js} +2 -2
  110. package/dist/cdn/{QENKIS2C.js → GIV63LP5.js} +2 -2
  111. package/dist/cdn/{5QWWYFDP.js → GJRILFIB.js} +2 -2
  112. package/dist/cdn/{5BDOR52R.js → GOFIYE6T.js} +2 -2
  113. package/dist/cdn/{AURL4FJE.js → GRT5RI2Z.js} +2 -2
  114. package/dist/cdn/{B422LOZQ.js → H3647ALI.js} +2 -2
  115. package/dist/cdn/{OZDBD6AB.js → HBMWR4KR.js} +2 -2
  116. package/dist/cdn/{TRXFO3X7.js → HFDHSN5A.js} +2 -2
  117. package/dist/cdn/{ILBT2IMN.js → HJ6U4KMS.js} +1 -1
  118. package/dist/cdn/{HFWZY4YX.js → HJRX5DVQ.js} +2 -2
  119. package/dist/cdn/{6W5ZUWHI.js → HN6NENNQ.js} +2 -2
  120. package/dist/cdn/{RZINNKVG.js → HNZDIHAM.js} +2 -2
  121. package/dist/cdn/{VVHDSYPX.js → HOKAZXQ6.js} +2 -2
  122. package/dist/cdn/HPXDUFIA.js +4 -0
  123. package/dist/cdn/{QTYM4RQZ.js → HTD6FQ57.js} +2 -2
  124. package/dist/cdn/{PC5HFST4.js → HTQ4CNV5.js} +2 -2
  125. package/dist/cdn/{7HLJ7X74.js → HZBLGTKN.js} +2 -2
  126. package/dist/cdn/{3ZOWMH3D.js → ICUVP2SD.js} +2 -2
  127. package/dist/cdn/{NRS3PCJU.js → ICZYQN4L.js} +2 -2
  128. package/dist/cdn/{EYGZDR25.js → IERUJQ7A.js} +2 -2
  129. package/dist/cdn/{VWVSM4UX.js → IGYSQ5RX.js} +2 -2
  130. package/dist/cdn/{QPT7HOMV.js → II5VNJMW.js} +2 -2
  131. package/dist/cdn/{TTENIVA2.js → IKRAYIIV.js} +2 -2
  132. package/dist/cdn/{5SEGZE3J.js → INRHA7B4.js} +2 -2
  133. package/dist/cdn/{6YBNP4WN.js → IYEI6NBF.js} +2 -2
  134. package/dist/cdn/{3GT7MI3F.js → J26WVBKN.js} +2 -2
  135. package/dist/cdn/{FWZBE7DP.js → J3CYR3SE.js} +2 -2
  136. package/dist/cdn/{NEZWZV6W.js → J6YDOSKR.js} +2 -2
  137. package/dist/cdn/{SDAGM53M.js → JHOA5ULB.js} +2 -2
  138. package/dist/cdn/{KH2QF3MS.js → JNUQHNPE.js} +2 -2
  139. package/dist/cdn/{HN4W4GH4.js → JWV42KCO.js} +2 -2
  140. package/dist/cdn/K436XCO7.js +4 -0
  141. package/dist/cdn/{HXB3B43P.js → KFZR5RML.js} +2 -2
  142. package/dist/cdn/{QCUP4XOF.js → KJULMP7K.js} +2 -2
  143. package/dist/cdn/{3L6WZW6K.js → KNXYJPPW.js} +2 -2
  144. package/dist/cdn/{PWCILC2Y.js → KTKLTG5F.js} +2 -2
  145. package/dist/cdn/{I63CKZHD.js → KTZ4DR7O.js} +2 -2
  146. package/dist/cdn/{IKKQ5VDL.js → L4GQXK2K.js} +2 -2
  147. package/dist/cdn/{YJFJ2YYE.js → L5AQCYF7.js} +2 -2
  148. package/dist/cdn/{4AGGPAZO.js → LA4AZXV7.js} +2 -2
  149. package/dist/cdn/{NPA6AD5F.js → LAD657YO.js} +1 -1
  150. package/dist/cdn/{67F73YAE.js → LBMPQZOE.js} +2 -2
  151. package/dist/cdn/{KV4JOJDS.js → LHU7BBX4.js} +2 -2
  152. package/dist/cdn/{L6RA53F6.js → LHWT5M7Y.js} +1 -1
  153. package/dist/cdn/{ONGQXRMS.js → LL6H6R2M.js} +2 -2
  154. package/dist/cdn/{652XRH4J.js → LLOACCOD.js} +2 -2
  155. package/dist/cdn/{PC26DPDG.js → LLXTU6JG.js} +1 -1
  156. package/dist/cdn/{U75AHKVY.js → LPCM254I.js} +2 -2
  157. package/dist/cdn/{JI3WQ3NH.js → LPI6A3CS.js} +2 -2
  158. package/dist/cdn/{VR45WCFG.js → LQ4K5UXA.js} +2 -2
  159. package/dist/cdn/{OAWSFXI2.js → LQXLMUCY.js} +2 -2
  160. package/dist/cdn/{7AG6IBKR.js → LVJDZOTD.js} +2 -2
  161. package/dist/cdn/{A4OMUJQB.js → LXTFNRQF.js} +2 -2
  162. package/dist/cdn/{POW4MNCT.js → LY6IETPF.js} +2 -2
  163. package/dist/cdn/{ZBTKJGP6.js → M4TQQW4B.js} +2 -2
  164. package/dist/cdn/{4OXEF25E.js → M5R4QFWT.js} +2 -2
  165. package/dist/cdn/{DJJN2WMP.js → M6VQFP25.js} +2 -2
  166. package/dist/cdn/{754MW2GP.js → MATHUKG5.js} +2 -2
  167. package/dist/cdn/{UA6IY342.js → MGG24MZE.js} +2 -2
  168. package/dist/cdn/{4NRXPWFY.js → MGHYG3C7.js} +2 -2
  169. package/dist/cdn/{V6MJ7SG6.js → MJOLWMV3.js} +1 -1
  170. package/dist/cdn/{BXXG3MCY.js → MKPL5WIV.js} +2 -2
  171. package/dist/cdn/{N5UFO6LC.js → MKZ7I4E7.js} +1 -1
  172. package/dist/cdn/{QNPLVYPS.js → MOS25L6I.js} +2 -2
  173. package/dist/cdn/{XKVYYXUY.js → MSSQIWGQ.js} +2 -2
  174. package/dist/cdn/{3OKBOLNF.js → MU2MQEF7.js} +2 -2
  175. package/dist/cdn/{CXOBE6WP.js → MZIWREBJ.js} +2 -2
  176. package/dist/cdn/{KMZ7TD4G.js → N6K2SQMD.js} +2 -2
  177. package/dist/cdn/{N2GMDOMV.js → N7IYPK44.js} +2 -2
  178. package/dist/cdn/{UWUVHUS5.js → ND6B7QXV.js} +2 -2
  179. package/dist/cdn/{NWBIXJRU.js → NEE7XYRC.js} +2 -2
  180. package/dist/cdn/{SFSL67FT.js → NFU6BM43.js} +1 -1
  181. package/dist/cdn/{5SXZLHAK.js → NI35527Z.js} +2 -2
  182. package/dist/cdn/{4727WHKU.js → NN73YGAG.js} +2 -2
  183. package/dist/cdn/{ASHVXKEK.js → NT446MKH.js} +2 -2
  184. package/dist/cdn/{G5CSMVP6.js → NYILF6EE.js} +2 -2
  185. package/dist/cdn/{CY7EIYJ4.js → O65N3Q3Q.js} +2 -2
  186. package/dist/cdn/{4D77ZL63.js → O7CE6CJX.js} +2 -2
  187. package/dist/cdn/{Q7NGN736.js → O7NRP5ZM.js} +2 -2
  188. package/dist/cdn/{LA7QZABV.js → OAQ6F5XI.js} +2 -2
  189. package/dist/cdn/{A7IBVBYO.js → ODKVGI7C.js} +2 -2
  190. package/dist/cdn/{KI4KQRA2.js → OLMSZ33F.js} +2 -2
  191. package/dist/cdn/{LPAJPL4I.js → OPUVT2E4.js} +2 -2
  192. package/dist/cdn/{OQ6HXAR5.js → OUA5MN7Q.js} +2 -2
  193. package/dist/cdn/{ZQQ3ZFMJ.js → OVZH363F.js} +2 -2
  194. package/dist/cdn/{DIDT4E5J.js → P5MCWT5K.js} +2 -2
  195. package/dist/cdn/{5WKYIJG7.js → PGEHETS4.js} +2 -2
  196. package/dist/cdn/{PYKJ5RZ3.js → PHQXVAYC.js} +2 -2
  197. package/dist/cdn/{TVRAVDQQ.js → PKPETRRY.js} +2 -2
  198. package/dist/cdn/{4EVKICCW.js → Q6PN7IYZ.js} +2 -2
  199. package/dist/cdn/{C2DWJMEU.js → QAE3QVEM.js} +2 -2
  200. package/dist/cdn/{Z25S6NHQ.js → QC3EJ7RF.js} +2 -2
  201. package/dist/cdn/{442QTTDM.js → QCMPPQ6P.js} +2 -2
  202. package/dist/cdn/{RJBPHIIE.js → QQC3A6XE.js} +1 -1
  203. package/dist/cdn/{B3KNMJJ3.js → QQF6AYVF.js} +2 -2
  204. package/dist/cdn/{R5GVDU6B.js → QU2FDLB2.js} +2 -2
  205. package/dist/cdn/{26EZMRPF.js → R6JWGLMT.js} +2 -2
  206. package/dist/cdn/{ZXUVBFGG.js → R6RJ5DKH.js} +2 -2
  207. package/dist/cdn/{HKBN35PY.js → RCYSJTLV.js} +1 -1
  208. package/dist/cdn/{3XOBLDNK.js → RFRFKYLK.js} +2 -2
  209. package/dist/cdn/{CV4VFUGX.js → RGLR76RT.js} +2 -2
  210. package/dist/cdn/{2JHFJBMA.js → RQNFOYPS.js} +2 -2
  211. package/dist/cdn/{SY4C346J.js → RRMI35JG.js} +2 -2
  212. package/dist/cdn/{K2UNWEI2.js → RTZYL5OO.js} +2 -2
  213. package/dist/cdn/{QLU4LAE3.js → RUYIYE6Q.js} +1 -1
  214. package/dist/cdn/{YATDCQVH.js → RY5YR46A.js} +2 -2
  215. package/dist/cdn/{MWLWUDV2.js → S2MPCRRG.js} +2 -2
  216. package/dist/cdn/{XZIJ5WM3.js → S6VODQOO.js} +2 -2
  217. package/dist/cdn/{K7AH3QMK.js → SEOIIYXG.js} +2 -2
  218. package/dist/cdn/{I2CVPVQU.js → SFLTQAQV.js} +1 -1
  219. package/dist/cdn/{ZYOCWXAT.js → SGLL5B7D.js} +2 -2
  220. package/dist/cdn/{FZ6NGXXV.js → SHDA2EET.js} +2 -2
  221. package/dist/cdn/{RG4J5NNN.js → SJW7XW2D.js} +2 -2
  222. package/dist/cdn/{6GVZOF5W.js → SK7YKPRG.js} +2 -2
  223. package/dist/cdn/{XBH5IQ5K.js → SLXUO3IO.js} +2 -2
  224. package/dist/cdn/{LEMJCYUU.js → SQGGV3CR.js} +2 -2
  225. package/dist/cdn/{3H7AUDQD.js → SRW7JMDH.js} +2 -2
  226. package/dist/cdn/{57AVHZJP.js → SWWZRIFA.js} +1 -1
  227. package/dist/cdn/{5BO53K4Z.js → T4YZZ2EP.js} +2 -2
  228. package/dist/cdn/{BT4RJVT2.js → T62ZACJ3.js} +2 -2
  229. package/dist/cdn/{IA2ASRRN.js → T6L5KVDF.js} +2 -2
  230. package/dist/cdn/TBR2PYI7.js +4 -0
  231. package/dist/cdn/{NXKJKWDE.js → TH2ZVPVU.js} +2 -2
  232. package/dist/cdn/{EWVSSTVG.js → TKEN37X2.js} +2 -2
  233. package/dist/cdn/{LSSTS32X.js → TO2IGJ6I.js} +2 -2
  234. package/dist/cdn/{XUHFYVZV.js → TT33C32K.js} +2 -2
  235. package/dist/cdn/{Y3LAC4AU.js → TU7HOYL4.js} +2 -2
  236. package/dist/cdn/{ZK277QXZ.js → U345EXTE.js} +1 -1
  237. package/dist/cdn/{XSJ3OMDX.js → U3FBEWKT.js} +2 -2
  238. package/dist/cdn/{FGBBVNBM.js → U7T2FT5I.js} +1 -1
  239. package/dist/cdn/{TXHLR4D2.js → UBM5EWWL.js} +2 -2
  240. package/dist/cdn/{LJQRKKOG.js → UEZV5F7Z.js} +1 -1
  241. package/dist/cdn/{OCYBZKWN.js → UFZVMBY5.js} +2 -2
  242. package/dist/cdn/{ZRS5KN2C.js → UGQ7YOCK.js} +2 -2
  243. package/dist/cdn/{WDMLYO6C.js → UN4FJ5ME.js} +2 -2
  244. package/dist/cdn/{TOKDFIHZ.js → UTGYC6TX.js} +2 -2
  245. package/dist/cdn/{BWVP6KL2.js → UVTAZX6K.js} +2 -2
  246. package/dist/cdn/{WV5CZ6GC.js → UWPDTKEX.js} +2 -2
  247. package/dist/cdn/{XRHHM3MJ.js → UZ3MF2VH.js} +2 -2
  248. package/dist/cdn/{4XRD6Y4A.js → UZI7TM5Q.js} +2 -2
  249. package/dist/cdn/{53WZY4CQ.js → V3OUDD2C.js} +2 -2
  250. package/dist/cdn/{33GKTFRR.js → V5LDPJ3S.js} +2 -2
  251. package/dist/cdn/{33LZ7L7J.js → VHNFY5G4.js} +2 -2
  252. package/dist/cdn/{YGH2CDXF.js → VNVMRSTN.js} +1 -1
  253. package/dist/cdn/{HZZBARF4.js → VOIL7H3F.js} +2 -2
  254. package/dist/cdn/{LI22CJAR.js → VOPLTYDK.js} +2 -2
  255. package/dist/cdn/{B5OAOB7Q.js → VPUXRKMP.js} +1 -1
  256. package/dist/cdn/{RXZ3TOXV.js → VQXAIEGC.js} +2 -2
  257. package/dist/cdn/{45P47EQV.js → VRXKYI3X.js} +2 -2
  258. package/dist/cdn/{3M5GVYTW.js → VS4YEHXM.js} +2 -2
  259. package/dist/cdn/{7MTIC2U3.js → VZE36YRV.js} +2 -2
  260. package/dist/cdn/{XT23KHOC.js → W72VEUHA.js} +1 -1
  261. package/dist/cdn/{FC775XZF.js → WB7TGR6E.js} +2 -2
  262. package/dist/cdn/{7JPTN4J5.js → WBVTIKJ4.js} +2 -2
  263. package/dist/cdn/{OULKM7TY.js → WCFFROVL.js} +2 -2
  264. package/dist/cdn/{OADAK2PK.js → WQJJOF3T.js} +2 -2
  265. package/dist/cdn/{6Y2QLYT6.js → WX7WXK3Q.js} +2 -2
  266. package/dist/cdn/{L2365MFW.js → X4XY6I2O.js} +2 -2
  267. package/dist/cdn/{XIKKZEOR.js → XAIYAJF6.js} +2 -2
  268. package/dist/cdn/{CPF5MP7P.js → XIGK6ZJV.js} +2 -2
  269. package/dist/cdn/{TR6F377Q.js → XJ7MYRCO.js} +2 -2
  270. package/dist/cdn/{6NTOPNRT.js → XLRRVO3N.js} +2 -2
  271. package/dist/cdn/{CLI6G5FC.js → XMGXLMZ3.js} +2 -2
  272. package/dist/cdn/{FL3QZUBR.js → XW2YCY3G.js} +2 -2
  273. package/dist/cdn/{IWDWB3M3.js → XX5ML2ZE.js} +2 -2
  274. package/dist/cdn/Y7OMOCGV.js +4 -0
  275. package/dist/cdn/{V7GXUTAY.js → Y7TIPS2F.js} +2 -2
  276. package/dist/cdn/{4LUAODNR.js → YCJHECRE.js} +2 -2
  277. package/dist/cdn/{3WPD6674.js → YE4NSO6E.js} +1 -1
  278. package/dist/cdn/{FPED6CWS.js → YG24KG4L.js} +2 -2
  279. package/dist/cdn/{A2ADVG4S.js → YHWBJAXQ.js} +2 -2
  280. package/dist/cdn/{D2C67PGB.js → YIL6U6QS.js} +2 -2
  281. package/dist/cdn/{ZLGWFXQ6.js → YQHOJUK5.js} +2 -2
  282. package/dist/cdn/{ZQR5NR7P.js → YVBRVF36.js} +2 -2
  283. package/dist/cdn/{GBTWDVVA.js → YWFK7XQ4.js} +1 -1
  284. package/dist/cdn/{JUTAC3CD.js → YZCCKORE.js} +2 -2
  285. package/dist/cdn/{HGH453DZ.js → Z4UN47VL.js} +2 -2
  286. package/dist/cdn/{G2AKELVO.js → Z52BJJDB.js} +2 -2
  287. package/dist/cdn/{2H7UL655.js → ZA3BPLIF.js} +2 -2
  288. package/dist/cdn/{46VUBVJD.js → ZCQ6ZKD4.js} +2 -2
  289. package/dist/cdn/{CAUSRU4M.js → ZD5F2PAL.js} +2 -2
  290. package/dist/cdn/{QXCZPBOK.js → ZDMIR62Y.js} +2 -2
  291. package/dist/cdn/{YYSOQEMY.js → ZEC2BOMT.js} +2 -2
  292. package/dist/cdn/{SILLVKX6.js → ZHL3LRPG.js} +2 -2
  293. package/dist/cdn/{KZJTWG52.js → ZO32IE32.js} +2 -2
  294. package/dist/cdn/{G2MGRAP7.js → ZSRZI2TY.js} +1 -1
  295. package/dist/cdn/{SH3OL7NI.js → ZYYIMZU4.js} +2 -2
  296. package/dist/cdn/{73IUFA6E.js → ZZXGIL2G.js} +2 -2
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/chunks/Auth.js +1 -1
  299. package/dist/chunks/appConfig.js +1 -1
  300. package/dist/chunks/cardFetchingUtils.js +1 -1
  301. package/dist/chunks/common.js +1 -1
  302. package/dist/chunks/deployAppContexts.js +1 -1
  303. package/dist/chunks/downloadUtils.js +1 -1
  304. package/dist/chunks/getItemIcon.js +1 -1
  305. package/dist/chunks/helpers.js +1 -1
  306. package/dist/chunks/index.js +1 -1
  307. package/dist/chunks/interfaces.js +1 -1
  308. package/dist/chunks/loadModules.js +1 -1
  309. package/dist/chunks/mapViewUtils.js +1 -1
  310. package/dist/chunks/pciUtils.js +1 -1
  311. package/dist/chunks/popupUtils.js +1 -1
  312. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +1 -1
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +1 -1
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +1 -1
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.js +1 -1
  326. package/dist/components/create-related-feature/customElement.js +1 -1
  327. package/dist/components/crowdsource-manager/customElement.js +1 -1
  328. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  329. package/dist/components/deduct-calculator/customElement.js +1 -1
  330. package/dist/components/delete-button/customElement.js +1 -1
  331. package/dist/components/delete-dialog/customElement.js +1 -1
  332. package/dist/components/edit-card/customElement.js +1 -1
  333. package/dist/components/feature-details/customElement.js +1 -1
  334. package/dist/components/feature-list/customElement.js +1 -1
  335. package/dist/components/field-selection/customElement.js +1 -1
  336. package/dist/components/floor-filter/customElement.js +1 -1
  337. package/dist/components/info-card/customElement.js +1 -1
  338. package/dist/components/json-editor/customElement.js +1 -1
  339. package/dist/components/layer-list/customElement.js +1 -1
  340. package/dist/components/layer-table/customElement.js +1 -1
  341. package/dist/components/map-card/customElement.js +1 -1
  342. package/dist/components/map-draw-tools/customElement.js +1 -1
  343. package/dist/components/map-fullscreen/customElement.js +1 -1
  344. package/dist/components/map-layer-picker/customElement.js +1 -1
  345. package/dist/components/map-legend/customElement.js +1 -1
  346. package/dist/components/map-picker/customElement.js +1 -1
  347. package/dist/components/map-search/customElement.js +1 -1
  348. package/dist/components/map-select-tools/customElement.js +1 -1
  349. package/dist/components/map-tools/customElement.js +1 -1
  350. package/dist/components/pci-calculator/customElement.js +1 -1
  351. package/dist/components/pdf-download/customElement.js +1 -1
  352. package/dist/components/public-notification/customElement.js +1 -1
  353. package/dist/components/refine-selection/customElement.js +1 -1
  354. package/dist/components/selection-tool/customElement.js +1 -1
  355. package/dist/components/solution-article-card/customElement.js +1 -1
  356. package/dist/components/solution-configuration/customElement.js +1 -1
  357. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  358. package/dist/components/solution-configure-titles/customElement.js +1 -1
  359. package/dist/components/solution-contents/customElement.js +1 -1
  360. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  361. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  362. package/dist/components/solution-deployed-card/customElement.js +1 -1
  363. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  364. package/dist/components/solution-details-card/customElement.js +1 -1
  365. package/dist/components/solution-details-panel/customElement.js +1 -1
  366. package/dist/components/solution-item/customElement.js +1 -1
  367. package/dist/components/solution-item-accordion/customElement.js +1 -1
  368. package/dist/components/solution-item-details/customElement.js +1 -1
  369. package/dist/components/solution-item-diagram/customElement.js +1 -1
  370. package/dist/components/solution-item-icon/customElement.js +1 -1
  371. package/dist/components/solution-item-sharing/customElement.js +1 -1
  372. package/dist/components/solution-organization-variables/customElement.js +1 -1
  373. package/dist/components/solution-resource-item/customElement.js +1 -1
  374. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  375. package/dist/components/solution-social-share/customElement.js +1 -1
  376. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  377. package/dist/components/solution-template-data/customElement.js +1 -1
  378. package/dist/components/solution-variables/customElement.js +1 -1
  379. package/dist/components/solutions-all-panel/customElement.js +1 -1
  380. package/dist/components/solutions-all-shell/customElement.js +1 -1
  381. package/dist/components/solutions-article-panel/customElement.js +1 -1
  382. package/dist/components/solutions-articles/customElement.js +1 -1
  383. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  384. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -0
  385. package/dist/components/solutions-deploy-app/customElement.js +13 -13
  386. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  387. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  388. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  389. package/dist/components/spatial-ref/customElement.js +1 -1
  390. package/dist/components/store-manager/customElement.js +1 -1
  391. package/dist/docs/api.json +26 -1
  392. package/dist/docs/docs.json +22 -1
  393. package/dist/docs/vscode.html-custom-data.json +4 -0
  394. package/dist/docs/web-types.json +11 -1
  395. package/dist/index.js +1 -1
  396. package/dist/loader.js +2 -2
  397. package/dist/types/lumina.d.ts +1 -1
  398. package/dist/types/preact.d.ts +1 -1
  399. package/dist/types/react.d.ts +1 -1
  400. package/dist/types/stencil.d.ts +1 -1
  401. package/package.json +1 -1
  402. package/dist/cdn/4DG75K7Z.js +0 -18
  403. package/dist/cdn/A3WX7QWI.js +0 -4
  404. package/dist/cdn/HUO5XA53.js +0 -4
  405. package/dist/cdn/TRGPHDUP.js +0 -4
  406. package/dist/cdn/TSBJ5GOM.js +0 -4
  407. package/dist/cdn/UHIJO37I.js +0 -4
  408. package/dist/cdn/VK6ZYKQV.js +0 -4
  409. package/dist/cdn/YP43ALUY.js +0 -4
  410. package/dist/cdn/ZF5K52UW.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as r}from"./OZDBD6AB.js";import"./I2CVPVQU.js";import"./7U5QGEBS.js";import"./ILBT2IMN.js";import"./MWLWUDV2.js";import"./ZBTKJGP6.js";import"./JI3WQ3NH.js";import"./NQGECILS.js";import"./QEZWWVQK.js";import"./JXFSX77O.js";import"./4AGGPAZO.js";import"./QLU4LAE3.js";import"./ZK277QXZ.js";import"./YGH2CDXF.js";import"./FC775XZF.js";import"./QPT7HOMV.js";import"./CV4VFUGX.js";import"./SYTRT7BE.js";import"./F2EDPF57.js";import"./K7AH3QMK.js";import"./PPMMNT6Y.js";import"./57AVHZJP.js";import"./LG6XZNP6.js";import{a as d}from"./GORXM5HD.js";import"./TR6F377Q.js";import"./IKKQ5VDL.js";import{b as p}from"./4OXEF25E.js";import{E as l,h,i as n,l as a}from"./L6RA53F6.js";import"./PC26DPDG.js";var g=h`/** @license
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as r}from"./HBMWR4KR.js";import"./SFLTQAQV.js";import"./EY66U5YX.js";import"./HJ6U4KMS.js";import"./S2MPCRRG.js";import"./M4TQQW4B.js";import"./LPI6A3CS.js";import"./BFFA7RG7.js";import"./A4RPIULL.js";import"./5WXG753H.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import"./SWWZRIFA.js";import"./AG3ILNSJ.js";import{a as d}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as p}from"./M5R4QFWT.js";import{E as l,h,i as n,l as a}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var g=h`/** @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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{i as d,j as i}from"./JI3WQ3NH.js";import{a as c}from"./N5UFO6LC.js";import{a as p}from"./ZK277QXZ.js";import{a as s}from"./PPMMNT6Y.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
3
+ v1.1.0-next.20250821.2 */
4
+ import{i as d,j as i}from"./LPI6A3CS.js";import{a as c}from"./MKZ7I4E7.js";import{a as p}from"./U345EXTE.js";import{a as s}from"./2ONRGEDI.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{d as w,e as L}from"./4XRD6Y4A.js";import"./LG6XZNP6.js";import"./6NITDX2J.js";import{b}from"./HKBN35PY.js";import{a as V}from"./GORXM5HD.js";import"./TR6F377Q.js";import"./IKKQ5VDL.js";import{b as v}from"./4OXEF25E.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./L6RA53F6.js";import"./PC26DPDG.js";var S=y`@layer{/** @license
3
+ v1.1.0-next.20250821.2 */
4
+ import{d as w,e as L}from"./UZI7TM5Q.js";import"./AG3ILNSJ.js";import"./ECXGB6JO.js";import{b}from"./RCYSJTLV.js";import{a as V}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as v}from"./M5R4QFWT.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var S=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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as l}from"./GORXM5HD.js";import"./TR6F377Q.js";import"./IKKQ5VDL.js";import{b as o}from"./4OXEF25E.js";import{E as n,h as r,i as a,o as s}from"./L6RA53F6.js";import"./PC26DPDG.js";var c=r`/** @license
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as l}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as o}from"./M5R4QFWT.js";import{E as n,h as r,i as a,o as s}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var c=r`/** @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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as g,c as S,d as y,e as u,f as m}from"./3GT7MI3F.js";import{a as p}from"./BEMU5FKM.js";import{C as $,m as h}from"./5P76J3HO.js";import{b as D}from"./LEMJCYUU.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./L6RA53F6.js";import"./PC26DPDG.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as g,c as S,d as y,e as u,f as m}from"./J26WVBKN.js";import{a as p}from"./2MPP7TLB.js";import{C as $,m as h}from"./DOT7KVHF.js";import{b as D}from"./SQGGV3CR.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250821.2 */
4
+ import{a,b}from"./ICZYQN4L.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as m}from"./DJJN2WMP.js";import{a as i}from"./YJFJ2YYE.js";import{a as c}from"./OCYBZKWN.js";import"./4AGGPAZO.js";import"./QLU4LAE3.js";import"./ZK277QXZ.js";import"./YGH2CDXF.js";import{a as n,b as p}from"./OADAK2PK.js";import"./R5GVDU6B.js";import"./FC775XZF.js";import"./QPT7HOMV.js";import{a}from"./ONGQXRMS.js";import{a as r}from"./6WOE43KF.js";import"./CV4VFUGX.js";import"./SYTRT7BE.js";import"./F2EDPF57.js";import"./K7AH3QMK.js";import"./PPMMNT6Y.js";import"./3ZOWMH3D.js";import"./RG4J5NNN.js";import"./57AVHZJP.js";import"./CXOBE6WP.js";import"./UA6IY342.js";import"./652XRH4J.js";import"./XZIJ5WM3.js";import"./Q4UTDQYS.js";import"./SARNA2Y5.js";import"./G5CSMVP6.js";import"./FGBBVNBM.js";import"./26EZMRPF.js";import"./HX42TSNN.js";import"./Y5A5ZSIJ.js";import"./NRS3PCJU.js";import"./C3DYNYUP.js";import"./I63CKZHD.js";import"./3WPD6674.js";import"./NEZWZV6W.js";import"./NWBIXJRU.js";import"./IA2ASRRN.js";import"./B5OAOB7Q.js";import"./QLDMK4LT.js";import"./PC26DPDG.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as m}from"./M6VQFP25.js";import{a as i}from"./L5AQCYF7.js";import{a as c}from"./UFZVMBY5.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import{a as n,b as p}from"./WQJJOF3T.js";import"./QU2FDLB2.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import{a}from"./LL6H6R2M.js";import{a as r}from"./EB7KPOC2.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import"./ICUVP2SD.js";import"./SJW7XW2D.js";import"./SWWZRIFA.js";import"./MZIWREBJ.js";import"./MGG24MZE.js";import"./LLOACCOD.js";import"./S6VODQOO.js";import"./5F4MLI72.js";import"./AL47HGBU.js";import"./NYILF6EE.js";import"./U7T2FT5I.js";import"./R6JWGLMT.js";import"./7RTJEJB4.js";import"./DVZ2CEEK.js";import"./ICZYQN4L.js";import"./GEC5HUDM.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./J6YDOSKR.js";import"./NEE7XYRC.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
3
+ v1.1.0-next.20250821.2 */
4
4
  var t={medium:[769,992]};export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a,b}from"./652XRH4J.js";import"./IA2ASRRN.js";import"./B5OAOB7Q.js";import"./QLDMK4LT.js";import"./PC26DPDG.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a,b}from"./LLOACCOD.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";export{a as TemplateEditorTypes,b as TemplateSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as e}from"./IA2ASRRN.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as e}from"./T6L5KVDF.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
3
+ v1.1.0-next.20250821.2 */
4
4
  function V(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function F(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function M(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function Q(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>Q(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function T(r){let e=M(r);return Object.keys(e).map(t=>Q(t,e[t])).join("&")}var X=globalThis.FormData,Oe=globalThis.File,Re=globalThis.Blob;function Y(r,e){let t=F(r)||e,n=M(r);if(t){let o=new X;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return T(r)}var k=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var de={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},G="ARCGIS_REST_JS_NO_CORS";globalThis[G]||(globalThis[G]=Object.assign({},de));var g=globalThis[G];function B(r){let e=new URL(r);r=e.origin+e.pathname,e.search.includes("f=json")&&(r+="?f=json");let t=e.origin;return g.pendingNoCorsRequests[t]?g.pendingNoCorsRequests[t]:(g.pendingNoCorsRequests[t]=fetch(r,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t),g.crossOriginNoCorsDomains[t.toLowerCase()]=Date.now(),delete g.pendingNoCorsRequests[t]}).catch(n=>(delete g.pendingNoCorsRequests[t],Promise.reject(new Error(`no-cors request to ${t} failed`)))),g.pendingNoCorsRequests[t])}function Z(r){r.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?L(e):(L("http://"+e),L("https://"+e))})}function L(r){let t=new URL(r).origin;g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t)}function z(r){let e=!1;if(g.noCorsDomains.length){let t=new URL(r).origin.toLowerCase();e=g.noCorsDomains.some(n=>t.includes(n))}return e}function ee(r){let e=!1;if(z(r)){let t=new URL(r).origin.toLowerCase(),n=g.crossOriginNoCorsDomains[t]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(r){console&&console.warn&&console.warn.apply(console,[r])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(r,e){var t;if(!e&&!window||!r)return!1;{e=e||window;let n=(t=e.location)===null||t===void 0?void 0:t.origin;return r.startsWith(n)}}var J="@esri/arcgis-rest-js";function me(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return oe(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ge(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new k(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new A(s,u,r,e,n):new k(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new k(s,i,r,e,n)}return r}function oe(r,e){let t=me(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};z(r)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let E;if(typeof n.authentication=="string"){let c=n.authentication;E={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(te("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else E=n.authentication;let p=r,d=!1;typeof window<"u"&&(d=ne(r));let R=!d&&ee(r);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(r)),S.then(()=>E?E.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),E&&E.getDomainCredentials&&(u.credentials=E.getDomainCredentials(r));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?r:r+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete l["X-Esri-Authorization"])):r=b}let m=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=J),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):re().then(({fetch:h})=>h(r,u))}).then(c=>{if(!c.ok)return c.json().then(l=>{let{status:m,statusText:h}=c,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,r,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=c;throw new k(h,`HTTP ${m}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let l=ge(c,p,i,n,a);if(c&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(r)&&Array.isArray(c.authorizedCrossOriginNoCorsDomains)&&Z(c.authorizedCrossOriginNoCorsDomains),a){let m=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return l}else return c})}function f(r,e={params:{f:"json"}}){let{request:t}=e,n=V(e,["request"]);return t?t(r,n):oe(r,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function we(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function se(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=we(t);return e[n]=o,e},{})}var ie=300*1e3;function C(r,e){let t=e;return t.rawResponse=!1,f(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-ie),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-ie)),o})}function w(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(r){return q.test(r)}function Ee(r){if(!q.test(r))return r;switch(H(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function H(r){if(!q.test(r))return null;let t=r.match(q)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ce(r,e){let t=w(Ee(e)).replace(/https?:\/\//,""),n=w(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function ue(r,e){let t=ae(r),n=ae(e),o=H(r),s=H(e);return!!(t&&n&&o===s)}function le(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function rt(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var N=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var he;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var P=class{constructor(e){this.portal=e.portal?w(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var K;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(K||(K={}));function fe(r){let e=`${w(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function W(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return $(e)}function _e(r){return typeof r.userId=="string"||typeof r.expires=="number"}var O=class r extends P{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?w(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:E,locale:p,params:d,style:R,pkce:S,state:c}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),l=c||W(t),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(m,l);let h=`${w(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:l,originalUrl:t.location.href}),locale:p,style:R};o!=="arcgis"&&(h=`${w(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=W(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,v),D=pe(v,t).then(function(_){b.code_challenge_method=_?"S256":"plain",b.code_challenge=_||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new N;return U(j),j}if(_.detail.errorMessage){let j=new A(_.detail.errorMessage,_.detail.error);return U(j),j}v(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(h,"oauth-window",E),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=h})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,E=t.localStorage.getItem(u),p=se(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(c,l,m){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:c}})),t.close();return}return m&&t.history.replaceState(t.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(c,l))}function S(c,l){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},c)})),t.close();return}return t.history.replaceState(t.history.state,"",l),new r({clientId:o,portal:n,ssl:c.ssl,token:c.token,tokenExpires:c.expires,username:c.username,refreshToken:c.refreshToken,refreshTokenExpires:c.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!E||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==E)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let c=p.error,l=p.error_description||"Unknown error";return R(l,c,d.originalUrl)}if(i&&p.code){let c=w(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=t.localStorage.getItem(l);return t.localStorage.removeItem(l),C(c,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d.originalUrl)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d.originalUrl)):R("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let E=`${n}/oauth2/authorize?${T(u)}`;t.writeHead(301,{Location:E}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:w(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return _e(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return fe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return ue(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>le(t,e))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=w(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ce(s.owningSystemUrl,this.portal))return f(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return f(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:J};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):f(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return C(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return C(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function I(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(r)}I.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...r)};I.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),O.completeOAuth2(...r)};I.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...r)};I.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...r)};I.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...r)};I.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),O.fromCredential(...r)};I.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...r)};export{Y as a,te as b,A as c,f as d,rt as e,w as f,O as g};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as s}from"./3ZOWMH3D.js";import"./RG4J5NNN.js";import"./57AVHZJP.js";import"./CXOBE6WP.js";import"./UA6IY342.js";import"./652XRH4J.js";import"./XZIJ5WM3.js";import"./Q4UTDQYS.js";import"./SARNA2Y5.js";import"./G5CSMVP6.js";import"./FGBBVNBM.js";import"./26EZMRPF.js";import"./HX42TSNN.js";import"./Y5A5ZSIJ.js";import"./NRS3PCJU.js";import"./C3DYNYUP.js";import"./I63CKZHD.js";import"./3WPD6674.js";import"./NEZWZV6W.js";import"./NWBIXJRU.js";import"./IA2ASRRN.js";import"./B5OAOB7Q.js";import"./QLDMK4LT.js";import"./PC26DPDG.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{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.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as s}from"./ICUVP2SD.js";import"./SJW7XW2D.js";import"./SWWZRIFA.js";import"./MZIWREBJ.js";import"./MGG24MZE.js";import"./LLOACCOD.js";import"./S6VODQOO.js";import"./5F4MLI72.js";import"./AL47HGBU.js";import"./NYILF6EE.js";import"./U7T2FT5I.js";import"./R6JWGLMT.js";import"./7RTJEJB4.js";import"./DVZ2CEEK.js";import"./ICZYQN4L.js";import"./GEC5HUDM.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./J6YDOSKR.js";import"./NEE7XYRC.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{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.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as y}from"./OCYBZKWN.js";import"./4AGGPAZO.js";import"./QLU4LAE3.js";import"./ZK277QXZ.js";import"./YGH2CDXF.js";import{a as s,b as p}from"./OADAK2PK.js";import"./R5GVDU6B.js";import"./FC775XZF.js";import"./QPT7HOMV.js";import{a as n}from"./ONGQXRMS.js";import{a}from"./6WOE43KF.js";import"./CV4VFUGX.js";import"./SYTRT7BE.js";import"./F2EDPF57.js";import"./K7AH3QMK.js";import"./PPMMNT6Y.js";import{a as l}from"./3ZOWMH3D.js";import"./RG4J5NNN.js";import"./57AVHZJP.js";import"./CXOBE6WP.js";import"./UA6IY342.js";import"./652XRH4J.js";import"./XZIJ5WM3.js";import"./Q4UTDQYS.js";import"./SARNA2Y5.js";import"./G5CSMVP6.js";import"./FGBBVNBM.js";import"./26EZMRPF.js";import{a as t,b as r}from"./HX42TSNN.js";import"./Y5A5ZSIJ.js";import"./NRS3PCJU.js";import"./C3DYNYUP.js";import"./I63CKZHD.js";import"./3WPD6674.js";import"./NEZWZV6W.js";import"./NWBIXJRU.js";import"./IA2ASRRN.js";import"./B5OAOB7Q.js";import"./QLDMK4LT.js";import"./PC26DPDG.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},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:"shared.fields.title.maxLengthError"}]}},{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:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as y}from"./UFZVMBY5.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import{a as s,b as p}from"./WQJJOF3T.js";import"./QU2FDLB2.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import{a as n}from"./LL6H6R2M.js";import{a}from"./EB7KPOC2.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import{a as l}from"./ICUVP2SD.js";import"./SJW7XW2D.js";import"./SWWZRIFA.js";import"./MZIWREBJ.js";import"./MGG24MZE.js";import"./LLOACCOD.js";import"./S6VODQOO.js";import"./5F4MLI72.js";import"./AL47HGBU.js";import"./NYILF6EE.js";import"./U7T2FT5I.js";import"./R6JWGLMT.js";import{a as t,b as r}from"./7RTJEJB4.js";import"./DVZ2CEEK.js";import"./ICZYQN4L.js";import"./GEC5HUDM.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./J6YDOSKR.js";import"./NEE7XYRC.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},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:"shared.fields.title.maxLengthError"}]}},{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:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as u}from"./DIDT4E5J.js";import a from"./BXXG3MCY.js";import{a as x}from"./BEMU5FKM.js";import{a as C}from"./GJE7SAYK.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./5P76J3HO.js";import{b as S}from"./LEMJCYUU.js";import"./TR6F377Q.js";import"./IKKQ5VDL.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./L6RA53F6.js";import"./PC26DPDG.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=C({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${x("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as u}from"./P5MCWT5K.js";import a from"./MKPL5WIV.js";import{a as x}from"./2MPP7TLB.js";import{a as C}from"./CRGA7SBE.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./DOT7KVHF.js";import{b as S}from"./SQGGV3CR.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=C({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${x("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{b as p}from"./LEMJCYUU.js";import{E as a,h as i,i as n,r}from"./L6RA53F6.js";import"./PC26DPDG.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
3
+ v1.1.0-next.20250821.2 */
4
+ import{b as p}from"./SQGGV3CR.js";import{E as a,h as i,i as n,r}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
3
+ v1.1.0-next.20250821.2 */
4
4
  function O(t){return t.indexOf("|")>-1&&(t=t.replace("|","::")),t}function S(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var _="~",n=256,r="slug";function G(t,e="",o=0){let R=[r];return e&&R.push(e.toLowerCase()),R.push(t),R.join("|").substring(0,n-o).replace(/-+$/,"").replace(new RegExp(`^${r}\\|`),"")}function i(t){let e=`${r}|${t}|`;return n-e.length}var c=(t,e)=>`${t.split("|").pop()}${_}${e}`;export{S as a,O as b,r as c,G as d,i as e,c as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as i}from"./RJBPHIIE.js";import{a}from"./OCYBZKWN.js";import"./4AGGPAZO.js";import"./QLU4LAE3.js";import"./ZK277QXZ.js";import"./YGH2CDXF.js";import"./QPT7HOMV.js";import{a as o}from"./ONGQXRMS.js";import{a as s}from"./6WOE43KF.js";import"./CV4VFUGX.js";import"./SYTRT7BE.js";import"./K7AH3QMK.js";import"./PPMMNT6Y.js";import{b as r}from"./3ZOWMH3D.js";import"./RG4J5NNN.js";import"./57AVHZJP.js";import"./CXOBE6WP.js";import"./UA6IY342.js";import"./652XRH4J.js";import"./XZIJ5WM3.js";import"./Q4UTDQYS.js";import"./SARNA2Y5.js";import"./G5CSMVP6.js";import"./FGBBVNBM.js";import"./26EZMRPF.js";import"./HX42TSNN.js";import"./Y5A5ZSIJ.js";import"./NRS3PCJU.js";import"./C3DYNYUP.js";import"./I63CKZHD.js";import"./3WPD6674.js";import"./NEZWZV6W.js";import"./NWBIXJRU.js";import"./IA2ASRRN.js";import"./B5OAOB7Q.js";import"./QLDMK4LT.js";import"./PC26DPDG.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as i}from"./QQC3A6XE.js";import{a}from"./UFZVMBY5.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import"./II5VNJMW.js";import{a as o}from"./LL6H6R2M.js";import{a as s}from"./EB7KPOC2.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import{b as r}from"./ICUVP2SD.js";import"./SJW7XW2D.js";import"./SWWZRIFA.js";import"./MZIWREBJ.js";import"./MGG24MZE.js";import"./LLOACCOD.js";import"./S6VODQOO.js";import"./5F4MLI72.js";import"./AL47HGBU.js";import"./NYILF6EE.js";import"./U7T2FT5I.js";import"./R6JWGLMT.js";import"./7RTJEJB4.js";import"./DVZ2CEEK.js";import"./ICZYQN4L.js";import"./GEC5HUDM.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./J6YDOSKR.js";import"./NEE7XYRC.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250821 */
4
- import{a as d}from"./4NRXPWFY.js";import"./I2CVPVQU.js";import{a as T,d as C}from"./LCXVXJGO.js";import"./7U5QGEBS.js";import"./ILBT2IMN.js";import"./MWLWUDV2.js";import"./ZBTKJGP6.js";import"./JI3WQ3NH.js";import"./NQGECILS.js";import"./QEZWWVQK.js";import"./JXFSX77O.js";import"./4AGGPAZO.js";import"./QLU4LAE3.js";import"./ZK277QXZ.js";import"./YGH2CDXF.js";import"./FC775XZF.js";import"./QPT7HOMV.js";import"./CV4VFUGX.js";import"./SYTRT7BE.js";import"./F2EDPF57.js";import"./K7AH3QMK.js";import"./PPMMNT6Y.js";import"./57AVHZJP.js";import"./SFSL67FT.js";import"./GBTWDVVA.js";import{g as L,j as E}from"./4XRD6Y4A.js";import{c as l,e as r,f as c}from"./LG6XZNP6.js";import"./6NITDX2J.js";import{b as k}from"./HKBN35PY.js";import{a as x}from"./GORXM5HD.js";import"./TR6F377Q.js";import"./IKKQ5VDL.js";import{b as v,c as $}from"./4OXEF25E.js";import{C as p,D as g,E as w,G as h,h as f,i as o,l as _,o as y,r as S}from"./L6RA53F6.js";import"./PC26DPDG.js";var I=f`@layer{/** @license
3
+ v1.1.0-next.20250821.2 */
4
+ import{a as d}from"./MGHYG3C7.js";import"./SFLTQAQV.js";import{a as T,d as C}from"./6DEYLEFF.js";import"./EY66U5YX.js";import"./HJ6U4KMS.js";import"./S2MPCRRG.js";import"./M4TQQW4B.js";import"./LPI6A3CS.js";import"./BFFA7RG7.js";import"./A4RPIULL.js";import"./5WXG753H.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import"./SWWZRIFA.js";import"./NFU6BM43.js";import"./YWFK7XQ4.js";import{g as L,j as E}from"./UZI7TM5Q.js";import{c as l,e as r,f as c}from"./AG3ILNSJ.js";import"./ECXGB6JO.js";import{b as k}from"./RCYSJTLV.js";import{a as x}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as v,c as $}from"./M5R4QFWT.js";import{C as p,D as g,E as w,G as h,h as f,i as o,l as _,o as y,r as S}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var I=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");