@esri/solutions-components 1.1.0-next.20250813 → 1.1.0-next.20250814

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 (464) hide show
  1. package/dist/cdn/{ETXGPE47.js → 233SOP2X.js} +2 -2
  2. package/dist/cdn/{HIJ2VUZY.js → 2A5LFLWY.js} +2 -2
  3. package/dist/cdn/{SMAAZRND.js → 2FHWNASZ.js} +2 -2
  4. package/dist/cdn/2MSRG3L3.js +4 -0
  5. package/dist/cdn/{7XRNZ2VO.js → 2PQMOYN2.js} +1 -1
  6. package/dist/cdn/{FH5CEEAL.js → 2R2NLVG4.js} +2 -2
  7. package/dist/cdn/{WIZHWIJI.js → 2SMJNHDA.js} +2 -2
  8. package/dist/cdn/{ZKCETCZM.js → 34PHRONA.js} +2 -2
  9. package/dist/cdn/{C6YIH4HI.js → 36YENHNO.js} +2 -2
  10. package/dist/cdn/{7GI27WHE.js → 37NCXJQ7.js} +2 -2
  11. package/dist/cdn/{2FZPIIHB.js → 3ACOUZ2J.js} +2 -2
  12. package/dist/cdn/{LMNGFYEP.js → 3HY2C477.js} +2 -2
  13. package/dist/cdn/3PKAD5T2.css +1 -0
  14. package/dist/cdn/{5JMJMFDW.js → 3Q7M2PFZ.js} +2 -2
  15. package/dist/cdn/{7QZIMTB6.js → 3VMMC5BJ.js} +2 -2
  16. package/dist/cdn/{HVYCYJJA.js → 3WGSSTHY.js} +2 -2
  17. package/dist/cdn/3WLB6HQG.js +18 -0
  18. package/dist/cdn/{FFAVYRB4.js → 3ZJXTRS3.js} +2 -2
  19. package/dist/cdn/{MGRNE66F.js → 42LO4TCV.js} +2 -2
  20. package/dist/cdn/{MJIIJ7IR.js → 4CBNOR6N.js} +2 -2
  21. package/dist/cdn/{AZCMMHWC.js → 4D2YRN2T.js} +2 -2
  22. package/dist/cdn/{K4BEULDQ.js → 4DGE5KUI.js} +2 -2
  23. package/dist/cdn/{BVARQ3DZ.js → 4DTTBSJJ.js} +2 -2
  24. package/dist/cdn/{AMSTPHGE.js → 4GD36GY6.js} +2 -2
  25. package/dist/cdn/{UG6JNU5B.js → 4GLART42.js} +2 -2
  26. package/dist/cdn/{5ZH5LYCG.js → 4IOF3RZQ.js} +2 -2
  27. package/dist/cdn/{7UB3DEPT.js → 4NIDMX33.js} +2 -2
  28. package/dist/cdn/{Y766BHKT.js → 4Q75WJMW.js} +2 -2
  29. package/dist/cdn/{5QG46LCT.js → 4QMK76M4.js} +2 -2
  30. package/dist/cdn/{4YOLJ22J.js → 4S3PKQJ4.js} +2 -2
  31. package/dist/cdn/{HR6ENVFY.js → 4S3SCEG2.js} +2 -2
  32. package/dist/cdn/4VDUJIVA.js +4 -0
  33. package/dist/cdn/{4777KHCE.js → 5DHG3XZC.js} +2 -2
  34. package/dist/cdn/{QBOSXN7R.js → 5FTEBTMX.js} +2 -2
  35. package/dist/cdn/{L23MKNQC.js → 5GN3UTVY.js} +2 -2
  36. package/dist/cdn/{LAZSJDRK.js → 5M64RMWJ.js} +2 -2
  37. package/dist/cdn/{AJWBRQQN.js → 5Z3UBSQA.js} +2 -2
  38. package/dist/cdn/{F5MY54IS.js → 65KMHURS.js} +1 -1
  39. package/dist/cdn/{7KNQESYU.js → 67UNP3O6.js} +2 -2
  40. package/dist/cdn/{XCWI7Y7D.js → 6B6YSA5T.js} +2 -2
  41. package/dist/cdn/{TWHMQL23.js → 6CE3P6MK.js} +2 -2
  42. package/dist/cdn/{GIPIFBTE.js → 6DEQD5XS.js} +2 -2
  43. package/dist/cdn/{G4RR2COS.js → 6GBJRGMX.js} +2 -2
  44. package/dist/cdn/{BLVRQ6OB.js → 6UNISOCW.js} +1 -1
  45. package/dist/cdn/{QDXWYPJL.js → 6V7OF3L5.js} +2 -2
  46. package/dist/cdn/{LZPSHFJT.js → 6VUW2EIQ.js} +2 -2
  47. package/dist/cdn/{2TO5YBHP.js → 6VYIML44.js} +2 -2
  48. package/dist/cdn/{RSPASQLO.js → 6WWRM5A2.js} +2 -2
  49. package/dist/cdn/{HVYSRDTL.js → 6X64VRXD.js} +1 -1
  50. package/dist/cdn/{4GN6WWZB.js → 6XZKH4OE.js} +1 -1
  51. package/dist/cdn/{M7SV47G6.js → 7APIJZQK.js} +2 -2
  52. package/dist/cdn/{5QZWFNDG.js → 7BFAL4UH.js} +2 -2
  53. package/dist/cdn/{PRVYKTMW.js → 7CUVYKXM.js} +2 -2
  54. package/dist/cdn/{ES57S3YD.js → 7EK6RHGO.js} +2 -2
  55. package/dist/cdn/{Q2G766SX.js → 7HH4LEDN.js} +2 -2
  56. package/dist/cdn/{BTL6T5RK.js → 7KV5JEFS.js} +2 -2
  57. package/dist/cdn/{FG4RZ2ZL.js → 7TIDDZ6R.js} +2 -2
  58. package/dist/cdn/{QKKC6GBL.js → 7TLQLS4B.js} +2 -2
  59. package/dist/cdn/{OPJDGQPQ.js → 7WZ4WODT.js} +1 -1
  60. package/dist/cdn/{B2AO3FYW.js → A5ANEUPM.js} +2 -2
  61. package/dist/cdn/{HXBWYYB2.js → A6COROCR.js} +2 -2
  62. package/dist/cdn/{Q2ZDGWJW.js → AA7WFQB6.js} +1 -1
  63. package/dist/cdn/{XLF4EXMY.js → ABJR44TO.js} +2 -2
  64. package/dist/cdn/{SG7HY4KR.js → ACFG5TV4.js} +2 -2
  65. package/dist/cdn/{76WUG6ZM.js → AFVKAHAM.js} +1 -1
  66. package/dist/cdn/{2I3EU5FX.js → AOCRZJFL.js} +2 -2
  67. package/dist/cdn/{BYBBSBXY.js → ARCKDH5K.js} +2 -2
  68. package/dist/cdn/{4MGPYD2C.js → ATXNKDGP.js} +2 -2
  69. package/dist/cdn/{VU544BRL.js → AZAVNJBN.js} +2 -2
  70. package/dist/cdn/{L35NOW7V.js → B3TFVUQ3.js} +2 -2
  71. package/dist/cdn/{W3MIURTN.js → B45YTTVU.js} +2 -2
  72. package/dist/cdn/{A2JIGX46.js → BI4XBFSU.js} +2 -2
  73. package/dist/cdn/{WOE5WBGS.js → BIGXMS6J.js} +1 -1
  74. package/dist/cdn/{CV5YU67D.js → BKWX324H.js} +2 -2
  75. package/dist/cdn/{DRVD2AAI.js → BO3S7FKQ.js} +1 -1
  76. package/dist/cdn/{ZIR6EOKG.js → BRPY77VA.js} +2 -2
  77. package/dist/cdn/{34IBI2AQ.js → BSSBZ2ER.js} +2 -2
  78. package/dist/cdn/{G57OJUTV.js → BTX6AXUQ.js} +2 -2
  79. package/dist/cdn/{VRDTHKQM.js → BUNVS4W5.js} +2 -2
  80. package/dist/cdn/{NPN7O4FC.js → BY3GJ3CC.js} +2 -2
  81. package/dist/cdn/{EYOCOJSR.js → BYHTYD3Z.js} +2 -2
  82. package/dist/cdn/{7P7IKFXJ.js → C6JV3SFP.js} +2 -2
  83. package/dist/cdn/CFGG33L3.js +4 -0
  84. package/dist/cdn/{UH2QOIEJ.js → CFK3L2YF.js} +3 -3
  85. package/dist/cdn/{RIAEKLSC.js → COA66VSX.js} +2 -2
  86. package/dist/cdn/{U65OM7BT.js → CQ7LEMHR.js} +2 -2
  87. package/dist/cdn/{47MIQ4DL.js → CRMHAJAF.js} +2 -2
  88. package/dist/cdn/{RHIDC6MD.js → CSM3L6AR.js} +2 -2
  89. package/dist/cdn/{OVAKXTWT.js → CT3POA2I.js} +1 -1
  90. package/dist/cdn/{LEM5ESDQ.js → CX6UAOFC.js} +2 -2
  91. package/dist/cdn/{BUR77F2K.js → CZ3BVZWT.js} +1 -1
  92. package/dist/cdn/{67M6LTDD.js → DA7Z7I7X.js} +2 -2
  93. package/dist/cdn/{A2TBPE2G.js → DIBEV5G6.js} +2 -2
  94. package/dist/cdn/{YOY2GNVH.js → DPUKESDE.js} +2 -2
  95. package/dist/cdn/{UC4MDLJF.js → DZCVQ56U.js} +2 -2
  96. package/dist/cdn/E4PI56YM.js +25 -0
  97. package/dist/cdn/{G2IXPHFG.js → E7LQ47NZ.js} +2 -2
  98. package/dist/cdn/{ANMSCQDK.js → EAJXKXMD.js} +2 -2
  99. package/dist/cdn/{7DRSRLQU.js → EEGAL5CF.js} +2 -2
  100. package/dist/cdn/{VW34EHE3.js → EEV7SOFB.js} +2 -2
  101. package/dist/cdn/{IONO5NHM.js → EHQ3VXEX.js} +2 -2
  102. package/dist/cdn/{2BSMPRPL.js → EI3UVHVJ.js} +2 -2
  103. package/dist/cdn/{TPXXUP67.js → EIUU6LFK.js} +2 -2
  104. package/dist/cdn/{6ALKL72V.js → EJPEGRC5.js} +2 -2
  105. package/dist/cdn/{E3J4OV7H.js → EQDRXUK4.js} +2 -2
  106. package/dist/cdn/{3R4UXQEY.js → EUKNWB5D.js} +2 -2
  107. package/dist/cdn/{4TXAIPAV.js → EY72R2LK.js} +2 -2
  108. package/dist/cdn/{MYSOOGRY.js → F2APN33Z.js} +1 -1
  109. package/dist/cdn/{FR3LDSFZ.js → F5XDXMQW.js} +2 -2
  110. package/dist/cdn/{3337RAYT.js → F6J4JHYY.js} +2 -2
  111. package/dist/cdn/{AZXNU3JV.js → FCHZ5RNV.js} +2 -2
  112. package/dist/cdn/{4ZPTS5KZ.js → FCOP3UI6.js} +2 -2
  113. package/dist/cdn/{GZJPCOO2.js → FM7IQX4W.js} +1 -1
  114. package/dist/cdn/{CZ3WANK2.js → FRWXWI2M.js} +2 -2
  115. package/dist/cdn/{6EVHCQPO.js → FVTQPVHE.js} +2 -2
  116. package/dist/cdn/{I2W6HP27.js → GGOYFIFO.js} +2 -2
  117. package/dist/cdn/{DDKMU6YS.js → GGVBPUEY.js} +1 -1
  118. package/dist/cdn/{QIVRCSOY.js → GLTMZBZ3.js} +2 -2
  119. package/dist/cdn/{NF5QA4VW.js → GNLOPXJZ.js} +2 -2
  120. package/dist/cdn/{O6M2B5IS.js → GTKJOQZ5.js} +2 -2
  121. package/dist/cdn/{SFCGDOPG.js → GUHRLDGP.js} +2 -2
  122. package/dist/cdn/{SMY5OKKE.js → GULICWSX.js} +2 -2
  123. package/dist/cdn/{O3YWDE5A.js → GWXCOATK.js} +2 -2
  124. package/dist/cdn/{HQPCR5CJ.js → GZ3JCXM2.js} +2 -2
  125. package/dist/cdn/{MWDFNHWF.js → GZ5FYQCV.js} +2 -2
  126. package/dist/cdn/{AFRKEAQM.js → H32TGV2M.js} +2 -2
  127. package/dist/cdn/{SHG23ECR.js → H36LQ652.js} +2 -2
  128. package/dist/cdn/{YVICINTE.js → H74XC2TA.js} +2 -2
  129. package/dist/cdn/{CYTBK2BQ.js → H752522M.js} +2 -2
  130. package/dist/cdn/{EWG4LDCG.js → HBXZXBY7.js} +2 -2
  131. package/dist/cdn/{GTLNO4OA.js → HEJ3YUKD.js} +1 -1
  132. package/dist/cdn/{Q6HYEE7V.js → HEWFNI5Z.js} +2 -2
  133. package/dist/cdn/{LUCWXIPQ.js → HFSCAQ24.js} +2 -2
  134. package/dist/cdn/{A7BJA2JV.js → HOP7ALIK.js} +2 -2
  135. package/dist/cdn/HZMBWRXQ.js +8 -0
  136. package/dist/cdn/{PV7IPXI2.js → I264P2LK.js} +3 -3
  137. package/dist/cdn/{LXWHWSX3.js → I34YH2F2.js} +1 -1
  138. package/dist/cdn/{ZTMI4TJ2.js → I3MPLFSS.js} +2 -2
  139. package/dist/cdn/{RIUNU5TW.js → I56B5SNN.js} +2 -2
  140. package/dist/cdn/{SGBJLWPE.js → I6MRF2RD.js} +2 -2
  141. package/dist/cdn/IC2ZRIYZ.css +1 -0
  142. package/dist/cdn/{ARSSBQ3Y.js → IIVGSCZM.js} +2 -2
  143. package/dist/cdn/{SVYYLS7W.js → IK7F27QS.js} +2 -2
  144. package/dist/cdn/{QUMBTJ7B.js → ILAB777S.js} +2 -2
  145. package/dist/cdn/{DJA3AADV.js → INFEDXBU.js} +2 -2
  146. package/dist/cdn/{BK567S5G.js → IOFVYSAR.js} +2 -2
  147. package/dist/cdn/{DBETPFAY.js → J7QYWG2V.js} +2 -2
  148. package/dist/cdn/{HKJ2253W.js → JANO2YZL.js} +2 -2
  149. package/dist/cdn/{FI4D65D6.js → JDXO6ZRX.js} +2 -2
  150. package/dist/cdn/{35KLWNMW.js → JER6JZXQ.js} +1 -1
  151. package/dist/cdn/{A4KBWJAK.js → JKQUT6DG.js} +2 -2
  152. package/dist/cdn/{ZP5EZBHS.js → JSJNYFZJ.js} +2 -2
  153. package/dist/cdn/{I6MGRLI4.js → JUYDS4OZ.js} +2 -2
  154. package/dist/cdn/{Y5GTW2DA.js → JVW7WLOW.js} +2 -2
  155. package/dist/cdn/{LJOZBNIY.js → JXB5LIL6.js} +2 -2
  156. package/dist/cdn/{JZEPTF2K.js → JXV5EH5F.js} +2 -2
  157. package/dist/cdn/{QLTUYSOO.js → K25ZDV3N.js} +2 -2
  158. package/dist/cdn/{QFKIG5HD.js → K4VJ4UUU.js} +2 -2
  159. package/dist/cdn/{KOO55D6Y.js → K4WXSKEW.js} +2 -2
  160. package/dist/cdn/{YRKM4RUJ.js → K6Y7PB4W.js} +1 -1
  161. package/dist/cdn/{AD4H2ATA.js → K74VECE5.js} +2 -2
  162. package/dist/cdn/{QERWPSRP.js → KCDXKG6S.js} +2 -2
  163. package/dist/cdn/KERNWLMR.js +4 -0
  164. package/dist/cdn/{WF66BB57.js → KFBZQQQ7.js} +2 -2
  165. package/dist/cdn/{SM5VDDRN.js → KFUZQVRG.js} +2 -2
  166. package/dist/cdn/{6BG7W3CN.js → KIM74FS2.js} +2 -2
  167. package/dist/cdn/{LJWWQW7J.js → KIQZ5WQU.js} +2 -2
  168. package/dist/cdn/{XH733SKB.js → KLSBDOEY.js} +2 -2
  169. package/dist/cdn/{R7EKXMAX.js → KOYHLFAL.js} +2 -2
  170. package/dist/cdn/{77DY6CAU.js → KSTLAKPR.js} +3 -3
  171. package/dist/cdn/{G7TXJGIG.js → KVWD2NCD.js} +1 -1
  172. package/dist/cdn/{WO4VN3HA.js → KXMHMNFG.js} +2 -2
  173. package/dist/cdn/{B25VKT4V.js → L3BR7QKR.js} +2 -2
  174. package/dist/cdn/{IZ2EPCHV.js → L3F7TJ6L.js} +2 -2
  175. package/dist/cdn/{LB5CWVM5.js → L5DUE5CZ.js} +2 -2
  176. package/dist/cdn/{GYNGOAT6.js → LAVEGGCU.js} +2 -2
  177. package/dist/cdn/{PWVFPPH5.js → LFXV5FIA.js} +2 -2
  178. package/dist/cdn/{QTVIQLKJ.js → LMO5IATU.js} +2 -2
  179. package/dist/cdn/{AS7XQPFZ.js → LQBQ6ZZ2.js} +2 -2
  180. package/dist/cdn/{7GQCHIIL.js → LRZ2H4VM.js} +1 -1
  181. package/dist/cdn/{EHPD5LNH.js → LTF34RHT.js} +4 -4
  182. package/dist/cdn/{LKD43DNT.js → LTUHFIIV.js} +2 -2
  183. package/dist/cdn/{FVBN55HK.js → MFUAOGF2.js} +2 -2
  184. package/dist/cdn/{4D4JUG4C.js → MGTNVXN6.js} +1 -1
  185. package/dist/cdn/{HIVBMS4W.js → MJE3V7QY.js} +2 -2
  186. package/dist/cdn/{HA657JM2.js → MMYFF5BN.js} +2 -2
  187. package/dist/cdn/{YF6SFVFK.js → MOMQCSIV.js} +2 -2
  188. package/dist/cdn/{HDIHCB33.js → MTK6HSL2.js} +2 -2
  189. package/dist/cdn/{RDAND746.js → MVUCSBRQ.js} +1 -1
  190. package/dist/cdn/MXVIDHVI.js +6 -0
  191. package/dist/cdn/{3LKWFYL2.js → MYD4NK2J.js} +2 -2
  192. package/dist/cdn/MZQU2J2U.js +18 -0
  193. package/dist/cdn/{7EN7HPX7.js → N4C5NAQY.js} +1 -1
  194. package/dist/cdn/{LLAJ5GH2.js → N7LRP7YX.js} +2 -2
  195. package/dist/cdn/{F4W35326.js → NAU5WDAR.js} +2 -2
  196. package/dist/cdn/{F7AR6B4Q.js → NDJACPW5.js} +2 -2
  197. package/dist/cdn/{FSQIWFIM.js → NE2OEA2D.js} +2 -2
  198. package/dist/cdn/{G2RN44GK.js → NIWJURVV.js} +1 -1
  199. package/dist/cdn/{5325K6YZ.js → NL6JR43M.js} +2 -2
  200. package/dist/cdn/{SLAQ2GU6.js → NLMLINN5.js} +2 -2
  201. package/dist/cdn/{TRSI6C4V.js → NMWGRUCG.js} +2 -2
  202. package/dist/cdn/NO34SVO5.js +4 -0
  203. package/dist/cdn/{CIRQZIIA.js → NVI5TEOI.js} +2 -2
  204. package/dist/cdn/{UYLUOL7G.js → NYQNROUW.js} +2 -2
  205. package/dist/cdn/{RAS6VSVN.js → O4QMU4K5.js} +2 -2
  206. package/dist/cdn/{QF3STRWQ.js → OBILOKBT.js} +1 -1
  207. package/dist/cdn/{D54KWJVY.js → OGASMD3V.js} +2 -2
  208. package/dist/cdn/{GPG6ILNV.js → OKPE75LL.js} +2 -2
  209. package/dist/cdn/{4MD75RVS.js → OQLSBZBK.js} +1 -1
  210. package/dist/cdn/{WMQPXSBF.js → OQVRSS4R.js} +2 -2
  211. package/dist/cdn/{3CS7YODH.js → ORKEWGRR.js} +2 -2
  212. package/dist/cdn/PFUYV3G4.js +81 -0
  213. package/dist/cdn/{D5EP34TV.js → PN2RZQ5Z.js} +1 -1
  214. package/dist/cdn/{YUMDEDM5.js → PPS7C4OY.js} +2 -2
  215. package/dist/cdn/{QKXPSAO2.js → Q32XHGZN.js} +2 -2
  216. package/dist/cdn/{JUZPVELG.js → Q3ISOYAQ.js} +2 -2
  217. package/dist/cdn/Q4BABE57.css +1 -0
  218. package/dist/cdn/QAJ2PAW7.js +4 -0
  219. package/dist/cdn/{SUGOUOC4.js → QBC5SBBE.js} +1 -1
  220. package/dist/cdn/{5OV7AWYU.js → QCHFRVHM.js} +2 -2
  221. package/dist/cdn/{7DGYAZNS.js → QMB4QM6Y.js} +1 -1
  222. package/dist/cdn/{P3J337S3.js → QQ4UOWYP.js} +2 -2
  223. package/dist/cdn/{ZS4TLPQ3.js → QST55MDE.js} +2 -2
  224. package/dist/cdn/{GBQZCOMU.js → QTJB45LA.js} +2 -2
  225. package/dist/cdn/{JHZQDGOM.js → QUUCQ7VD.js} +2 -2
  226. package/dist/cdn/RGMD7TWK.js +8 -0
  227. package/dist/cdn/{HGDIBWTX.js → RGVGURNS.js} +3 -3
  228. package/dist/cdn/{HLDTKQML.js → RHIM2X2N.js} +2 -2
  229. package/dist/cdn/{NY445WIU.js → RI4DNTJV.js} +1 -1
  230. package/dist/cdn/{H55RDRDA.js → RLX2PT2V.js} +2 -2
  231. package/dist/cdn/{U5Z46A5E.js → RNI7TT4M.js} +2 -2
  232. package/dist/cdn/{XWTGQKAR.js → RO5PJ76M.js} +1 -1
  233. package/dist/cdn/{LNTT6I2X.js → ROCIFSUL.js} +2 -2
  234. package/dist/cdn/{J3N2IR3X.js → RWXLPD4H.js} +2 -2
  235. package/dist/cdn/{7KMQUKVD.js → RYES6YM3.js} +2 -2
  236. package/dist/cdn/{RP55AFNY.js → S3MH5MBH.js} +2 -2
  237. package/dist/cdn/{DP6BIYZV.js → SAKENJP3.js} +2 -2
  238. package/dist/cdn/SBTBR7XC.js +4 -0
  239. package/dist/cdn/{NDEKQB6R.js → SCKOUQAW.js} +2 -2
  240. package/dist/cdn/{UQBP62ZD.js → SMIITNGH.js} +2 -2
  241. package/dist/cdn/{RZM7X2DV.js → SRYSQJ5H.js} +2 -2
  242. package/dist/cdn/{KNFAYFJX.js → SRZTL2NZ.js} +2 -2
  243. package/dist/cdn/{KN7A2W4U.js → T2S47FRF.js} +2 -2
  244. package/dist/cdn/T5YWANI2.js +18 -0
  245. package/dist/cdn/{KVMXA3Y6.js → THEX57MF.js} +2 -2
  246. package/dist/cdn/{D4IRZK6U.js → TKL4MG3Q.js} +2 -2
  247. package/dist/cdn/{FIGAKUCR.js → TMK2YYUU.js} +2 -2
  248. package/dist/cdn/{AX43INFU.js → TMNFYHGY.js} +2 -2
  249. package/dist/cdn/{ULVD3IW2.js → TPFTOSLE.js} +2 -2
  250. package/dist/cdn/{6GTMUJA6.js → TTV4NRBC.js} +2 -2
  251. package/dist/cdn/{B3YWATN3.js → TX7MPMSV.js} +2 -2
  252. package/dist/cdn/{46FXW275.js → TZZA2IJ3.js} +3 -3
  253. package/dist/cdn/{SDHBTMKJ.js → U4LWE3ZY.js} +2 -2
  254. package/dist/cdn/{ZGOI3FXD.js → UGA6C7H6.js} +2 -2
  255. package/dist/cdn/{EWLFZX72.js → UR7VT743.js} +2 -2
  256. package/dist/cdn/USF6ABOG.js +4 -0
  257. package/dist/cdn/{VWNN4SWV.js → UTJPTXFZ.js} +2 -2
  258. package/dist/cdn/{QPH2ZSRJ.js → V3BJ3C7G.js} +2 -2
  259. package/dist/cdn/{L2MNL4N6.js → V3FGPANI.js} +2 -2
  260. package/dist/cdn/{BRGIANIA.js → V7ETNYJN.js} +2 -2
  261. package/dist/cdn/{VE76CHCV.js → VHDKMKRB.js} +2 -2
  262. package/dist/cdn/{6L5CFL7R.js → VIUJIRMV.js} +2 -2
  263. package/dist/cdn/{TOZIXJZO.js → VKM2IICG.js} +2 -2
  264. package/dist/cdn/{HPHWYMF3.js → VLIQM5XM.js} +2 -2
  265. package/dist/cdn/{KAV773MF.js → VNC7CXVL.js} +1 -1
  266. package/dist/cdn/{SKSAREHZ.js → VPYZU3PV.js} +2 -2
  267. package/dist/cdn/{2EEVDFAG.js → VQANXEIF.js} +2 -2
  268. package/dist/cdn/{WCPFC4PZ.js → W2C4A6AQ.js} +2 -2
  269. package/dist/cdn/{SLB4NTXY.js → WAICL3LP.js} +2 -2
  270. package/dist/cdn/{Y7UBXMDQ.js → WBJPA4F4.js} +2 -2
  271. package/dist/cdn/{2QFXOBI3.js → WCFYJXHQ.js} +1 -1
  272. package/dist/cdn/{M6HNM3ML.js → WL7PFVSR.js} +2 -2
  273. package/dist/cdn/{KUSFOMTK.js → WSD7UQUA.js} +2 -2
  274. package/dist/cdn/{SIX2JQL2.js → X7AWZSTB.js} +1 -1
  275. package/dist/cdn/X7CK777N.js +4 -0
  276. package/dist/cdn/{FNN6KMV2.js → XBJI7OVV.js} +2 -2
  277. package/dist/cdn/{TN3ITLSW.js → XIPPDG54.js} +2 -2
  278. package/dist/cdn/{3ZLMDYKJ.js → XIU26NMO.js} +2 -2
  279. package/dist/cdn/{3AHKLMK7.js → XIX3CLNV.js} +2 -2
  280. package/dist/cdn/{5MPACKGM.js → XJ4Q4SWE.js} +2 -2
  281. package/dist/cdn/{WIMSMHDF.js → XQ7LKWS6.js} +2 -2
  282. package/dist/cdn/{B6EWOQY5.js → XYIYSCJF.js} +2 -2
  283. package/dist/cdn/{SF4CXPFN.js → Y2JZNUZN.js} +2 -2
  284. package/dist/cdn/{JARC45CV.js → Y5ITNA7H.js} +1 -1
  285. package/dist/cdn/{RQWAIILE.js → YAIWCQES.js} +2 -2
  286. package/dist/cdn/{MQS3QZ22.js → YJ4NJMG7.js} +2 -2
  287. package/dist/cdn/{F63KEMM3.js → YKSLBBBW.js} +1 -1
  288. package/dist/cdn/{F7HH77RT.js → YLTW4Q2G.js} +2 -2
  289. package/dist/cdn/YR23NYJC.js +4 -0
  290. package/dist/cdn/{YYNMOKSW.js → YWNZV6CK.js} +2 -2
  291. package/dist/cdn/{IF2SDHZP.js → Z36FODX2.js} +2 -2
  292. package/dist/cdn/{DZOQFMST.js → Z7EWWUJK.js} +2 -2
  293. package/dist/cdn/{KCM2OFY3.js → ZHCQ73AF.js} +2 -2
  294. package/dist/cdn/{QKSQZGNF.js → ZJMMDGSQ.js} +2 -2
  295. package/dist/cdn/{57YXUARI.js → ZLELJP4A.js} +2 -2
  296. package/dist/cdn/ZQ37VBMP.js +4 -0
  297. package/dist/cdn/{HKNCASTM.js → ZZWNL2AJ.js} +2 -2
  298. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ar.json +1 -1
  299. package/dist/cdn/assets/solution-configure-titles/t9n/messages.bg.json +1 -1
  300. package/dist/cdn/assets/solution-configure-titles/t9n/messages.bs.json +1 -1
  301. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ca.json +1 -1
  302. package/dist/cdn/assets/solution-configure-titles/t9n/messages.cs.json +1 -1
  303. package/dist/cdn/assets/solution-configure-titles/t9n/messages.da.json +1 -1
  304. package/dist/cdn/assets/solution-configure-titles/t9n/messages.de.json +1 -1
  305. package/dist/cdn/assets/solution-configure-titles/t9n/messages.el.json +1 -1
  306. package/dist/cdn/assets/solution-configure-titles/t9n/messages.es.json +1 -1
  307. package/dist/cdn/assets/solution-configure-titles/t9n/messages.et.json +1 -1
  308. package/dist/cdn/assets/solution-configure-titles/t9n/messages.fi.json +1 -1
  309. package/dist/cdn/assets/solution-configure-titles/t9n/messages.fr.json +1 -1
  310. package/dist/cdn/assets/solution-configure-titles/t9n/messages.he.json +1 -1
  311. package/dist/cdn/assets/solution-configure-titles/t9n/messages.hr.json +1 -1
  312. package/dist/cdn/assets/solution-configure-titles/t9n/messages.hu.json +1 -1
  313. package/dist/cdn/assets/solution-configure-titles/t9n/messages.id.json +1 -1
  314. package/dist/cdn/assets/solution-configure-titles/t9n/messages.it.json +1 -1
  315. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ja.json +1 -1
  316. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ko.json +1 -1
  317. package/dist/cdn/assets/solution-configure-titles/t9n/messages.lt.json +1 -1
  318. package/dist/cdn/assets/solution-configure-titles/t9n/messages.lv.json +1 -1
  319. package/dist/cdn/assets/solution-configure-titles/t9n/messages.nl.json +1 -1
  320. package/dist/cdn/assets/solution-configure-titles/t9n/messages.no.json +1 -1
  321. package/dist/cdn/assets/solution-configure-titles/t9n/messages.pl.json +1 -1
  322. package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-BR.json +1 -1
  323. package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-PT.json +1 -1
  324. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ro.json +1 -1
  325. package/dist/cdn/assets/solution-configure-titles/t9n/messages.ru.json +1 -1
  326. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sk.json +1 -1
  327. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sl.json +1 -1
  328. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sr.json +1 -1
  329. package/dist/cdn/assets/solution-configure-titles/t9n/messages.sv.json +1 -1
  330. package/dist/cdn/assets/solution-configure-titles/t9n/messages.th.json +1 -1
  331. package/dist/cdn/assets/solution-configure-titles/t9n/messages.tr.json +1 -1
  332. package/dist/cdn/assets/solution-configure-titles/t9n/messages.uk.json +1 -1
  333. package/dist/cdn/assets/solution-configure-titles/t9n/messages.vi.json +1 -1
  334. package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-CN.json +1 -1
  335. package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-HK.json +1 -1
  336. package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-TW.json +1 -1
  337. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  338. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  339. package/dist/cdn/index.js +2 -2
  340. package/dist/cdn/main.css +1 -1
  341. package/dist/cdn/stdin.css +1 -0
  342. package/dist/chunks/Auth.js +1 -1
  343. package/dist/chunks/appConfig.js +1 -1
  344. package/dist/chunks/cardFetchingUtils.js +1 -1
  345. package/dist/chunks/common.js +1 -1
  346. package/dist/chunks/deployAppContexts.js +1 -1
  347. package/dist/chunks/downloadUtils.js +1 -1
  348. package/dist/chunks/helpers.js +1 -1
  349. package/dist/chunks/index.js +1 -1
  350. package/dist/chunks/interfaces.js +1 -1
  351. package/dist/chunks/loadModules.js +1 -1
  352. package/dist/chunks/mapViewUtils.js +1 -1
  353. package/dist/chunks/pciUtils.js +1 -1
  354. package/dist/chunks/popupUtils.js +1 -1
  355. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  356. package/dist/chunks/privilegeUtils.js +1 -1
  357. package/dist/chunks/publicNotificationStore.js +1 -1
  358. package/dist/chunks/queryUtils.js +1 -1
  359. package/dist/chunks/runtime.js +2 -1
  360. package/dist/chunks/solution-store.js +1 -1
  361. package/dist/chunks/templates.js +1 -1
  362. package/dist/chunks/useT9n.js +1 -1
  363. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  364. package/dist/components/basemap-gallery/customElement.js +1 -1
  365. package/dist/components/buffer-tools/customElement.js +1 -1
  366. package/dist/components/card-manager/customElement.js +1 -1
  367. package/dist/components/consent-manager/customElement.js +54 -54
  368. package/dist/components/create-feature/customElement.js +1 -1
  369. package/dist/components/create-related-feature/customElement.js +1 -1
  370. package/dist/components/crowdsource-manager/customElement.js +1 -1
  371. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  372. package/dist/components/deduct-calculator/customElement.js +1 -1
  373. package/dist/components/delete-button/customElement.js +1 -1
  374. package/dist/components/delete-dialog/customElement.js +1 -1
  375. package/dist/components/edit-card/customElement.js +1 -1
  376. package/dist/components/feature-details/customElement.js +1 -1
  377. package/dist/components/feature-list/customElement.js +1 -1
  378. package/dist/components/field-selection/customElement.js +1 -1
  379. package/dist/components/floor-filter/customElement.js +1 -1
  380. package/dist/components/info-card/customElement.js +1 -1
  381. package/dist/components/json-editor/customElement.js +1 -1
  382. package/dist/components/layer-list/customElement.js +1 -1
  383. package/dist/components/layer-table/customElement.js +1 -1
  384. package/dist/components/map-card/customElement.js +1 -1
  385. package/dist/components/map-draw-tools/customElement.js +1 -1
  386. package/dist/components/map-fullscreen/customElement.js +1 -1
  387. package/dist/components/map-layer-picker/customElement.js +1 -1
  388. package/dist/components/map-legend/customElement.js +1 -1
  389. package/dist/components/map-picker/customElement.js +1 -1
  390. package/dist/components/map-search/customElement.js +1 -1
  391. package/dist/components/map-select-tools/customElement.js +1 -1
  392. package/dist/components/map-tools/customElement.js +1 -1
  393. package/dist/components/pci-calculator/customElement.js +1 -1
  394. package/dist/components/pdf-download/customElement.js +1 -1
  395. package/dist/components/public-notification/customElement.js +1 -1
  396. package/dist/components/refine-selection/customElement.js +1 -1
  397. package/dist/components/selection-tool/customElement.js +1 -1
  398. package/dist/components/solution-article-card/customElement.js +1 -1
  399. package/dist/components/solution-configuration/customElement.js +1 -1
  400. package/dist/components/solution-configure-dialog/customElement.js +38 -121
  401. package/dist/components/solution-configure-dialog/index.d.ts +0 -3
  402. package/dist/components/solution-configure-dialog/index.js +0 -3
  403. package/dist/components/solution-configure-titles/customElement.js +10 -10
  404. package/dist/components/solution-contents/customElement.js +1 -1
  405. package/dist/components/solution-delete-dialog/customElement.js +24 -25
  406. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  407. package/dist/components/solution-deployed-card/customElement.js +8 -8
  408. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  409. package/dist/components/solution-details-card/customElement.js +2 -2
  410. package/dist/components/solution-details-panel/customElement.js +3 -3
  411. package/dist/components/solution-item/customElement.js +1 -1
  412. package/dist/components/solution-item-accordion/customElement.js +1 -1
  413. package/dist/components/solution-item-details/customElement.js +1 -1
  414. package/dist/components/solution-item-diagram/customElement.d.ts +2 -0
  415. package/dist/components/solution-item-diagram/customElement.js +10 -9
  416. package/dist/components/solution-item-diagram/utils/SolutionDisplay.d.ts +2 -1
  417. package/dist/components/solution-item-icon/customElement.js +1 -1
  418. package/dist/components/solution-item-sharing/customElement.js +1 -1
  419. package/dist/components/solution-organization-variables/customElement.js +1 -1
  420. package/dist/components/solution-resource-item/customElement.js +1 -1
  421. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  422. package/dist/components/solution-social-share/customElement.js +1 -1
  423. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  424. package/dist/components/solution-template-data/customElement.js +1 -1
  425. package/dist/components/solution-variables/customElement.js +1 -1
  426. package/dist/components/solutions-all-panel/customElement.js +38 -34
  427. package/dist/components/solutions-all-shell/customElement.js +1 -1
  428. package/dist/components/solutions-article-panel/customElement.js +1 -1
  429. package/dist/components/solutions-articles/customElement.js +1 -1
  430. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  431. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  432. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  433. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  434. package/dist/components/spatial-ref/customElement.js +1 -1
  435. package/dist/components/store-manager/customElement.js +1 -1
  436. package/dist/docs/api.json +19 -2
  437. package/dist/docs/docs.json +24 -2
  438. package/dist/docs/web-types.json +6 -1
  439. package/dist/index.js +1 -1
  440. package/dist/loader.js +2 -2
  441. package/dist/types/lumina.d.ts +1 -1
  442. package/dist/types/preact.d.ts +1 -1
  443. package/dist/types/react.d.ts +1 -1
  444. package/dist/types/stencil.d.ts +1 -1
  445. package/package.json +1 -1
  446. package/dist/cdn/5253FCAA.js +0 -4
  447. package/dist/cdn/77RPO7MJ.js +0 -8
  448. package/dist/cdn/7JGAEA3J.js +0 -4
  449. package/dist/cdn/A5KVJBPR.js +0 -8
  450. package/dist/cdn/APNPQ7O7.js +0 -4
  451. package/dist/cdn/B5FGKAM6.js +0 -4
  452. package/dist/cdn/D2ATJM23.js +0 -25
  453. package/dist/cdn/EHWDZP62.js +0 -4
  454. package/dist/cdn/F6Y7AO3M.js +0 -18
  455. package/dist/cdn/FGFRQH3J.js +0 -81
  456. package/dist/cdn/GDBXS7KE.js +0 -4
  457. package/dist/cdn/GO3CZAXV.js +0 -4
  458. package/dist/cdn/IHQKADUC.js +0 -4
  459. package/dist/cdn/KKC3EZXQ.js +0 -4
  460. package/dist/cdn/ODSRLWLP.js +0 -6
  461. package/dist/cdn/RLYQ3LRK.js +0 -18
  462. package/dist/cdn/S3JQNLJM.js +0 -18
  463. package/dist/cdn/YV6HJVHW.js +0 -4
  464. package/dist/cdn/ZI4TWRCO.js +0 -4
@@ -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.20250813 */
4
- import{a,b}from"./BYBBSBXY.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a,b}from"./ARCKDH5K.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.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.20250813 */
4
- import{a as o,b as s,c as i,d as p}from"./LJOZBNIY.js";import{c as r}from"./4D4JUG4C.js";import{a as e}from"./VRDTHKQM.js";import{b as t}from"./G7TXJGIG.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
3
+ v1.1.0-next.20250814 */
4
+ import{a as o,b as s,c as i,d as p}from"./JXB5LIL6.js";import{c as r}from"./MGTNVXN6.js";import{a as e}from"./BUNVS4W5.js";import{b as t}from"./KVWD2NCD.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,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.20250813 */
4
- import{a as O,c as R,d as g,e as u}from"./LEM5ESDQ.js";import{a}from"./4GN6WWZB.js";import"./FH5CEEAL.js";import"./LXWHWSX3.js";import{b as s,d as o,e as c}from"./7XRNZ2VO.js";import"./DP6BIYZV.js";import"./KAV773MF.js";import"./7KNQESYU.js";import"./76WUG6ZM.js";import"./XWTGQKAR.js";import"./2QFXOBI3.js";import"./ZS4TLPQ3.js";import"./KVMXA3Y6.js";import"./7EN7HPX7.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import{c as r}from"./4MD75RVS.js";import"./YRKM4RUJ.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
3
+ v1.1.0-next.20250814 */
4
+ import{a as O,c as R,d as g,e as u}from"./CX6UAOFC.js";import{a}from"./6XZKH4OE.js";import"./2R2NLVG4.js";import"./I34YH2F2.js";import{b as s,d as o,e as c}from"./2PQMOYN2.js";import"./SAKENJP3.js";import"./VNC7CXVL.js";import"./67UNP3O6.js";import"./AFVKAHAM.js";import"./RO5PJ76M.js";import"./WCFYJXHQ.js";import"./QST55MDE.js";import"./THEX57MF.js";import"./N4C5NAQY.js";import"./H752522M.js";import"./YKSLBBBW.js";import{c as r}from"./OQLSBZBK.js";import"./K6Y7PB4W.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
@@ -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.20250814 */
4
+ import{a,b}from"./2A5LFLWY.js";import"./JXB5LIL6.js";import"./MGTNVXN6.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.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.20250813 */
3
+ v1.1.0-next.20250814 */
4
4
  var E;(function(r){r.ASC="ASC",r.DESC="DESC"})(E||(E={}));var A;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(A||(A={}));var n;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(n||(n={}));var e;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(e||(e={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var _;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(_||(_={}));var N;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(N||(N={}));var p;(function(r){r.POST="post"})(p||(p={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var D;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(D||(D={}));var I;(function(r){r.CSV="csv",r.JSON="json"})(I||(I={}));var u;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(u||(u={}));var O;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(O||(O={}));var a;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(a||(a={}));var i;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(i||(i={}));var R;(function(r){r.CHANNEL_ACL="channelAcl"})(R||(R={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var v;(function(r){r.ADMIN="admin",r.MEMBER="member"})(v||(v={}));var f;(function(r){r.CONTENT="content"})(f||(f={}));export{I as a,u as b,R as c,U as d,v as e,f};
@@ -1,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.20250813 */
4
- import{a as m}from"./7XRNZ2VO.js";import{a as f}from"./7KNQESYU.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.1.0-next.20250814 */
4
+ import{a as m}from"./2PQMOYN2.js";import{a as f}from"./67UNP3O6.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P 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.20250813 */
4
- import{la as n,na as a,pa as m}from"./ODSRLWLP.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
3
+ v1.1.0-next.20250814 */
4
+ import{la as n,na as a,pa as m}from"./MXVIDHVI.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250813 */
4
- import{a as l}from"./DZOQFMST.js";import"./RDAND746.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import{a as o}from"./6ALKL72V.js";import"./TWHMQL23.js";import"./4MD75RVS.js";import"./L23MKNQC.js";import"./A7BJA2JV.js";import"./BYBBSBXY.js";import"./QDXWYPJL.js";import"./5QG46LCT.js";import"./6GTMUJA6.js";import"./UG6JNU5B.js";import"./BLVRQ6OB.js";import"./XLF4EXMY.js";import"./SIX2JQL2.js";import"./7DGYAZNS.js";import"./HIJ2VUZY.js";import"./ES57S3YD.js";import"./LJOZBNIY.js";import"./4D4JUG4C.js";import"./67M6LTDD.js";import"./RHIDC6MD.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a as l}from"./Z7EWWUJK.js";import"./MVUCSBRQ.js";import"./H752522M.js";import"./YKSLBBBW.js";import{a as o}from"./EJPEGRC5.js";import"./6CE3P6MK.js";import"./OQLSBZBK.js";import"./5GN3UTVY.js";import"./HOP7ALIK.js";import"./ARCKDH5K.js";import"./6V7OF3L5.js";import"./4QMK76M4.js";import"./TTV4NRBC.js";import"./4GLART42.js";import"./6UNISOCW.js";import"./ABJR44TO.js";import"./X7AWZSTB.js";import"./QMB4QM6Y.js";import"./2A5LFLWY.js";import"./7EK6RHGO.js";import"./JXB5LIL6.js";import"./MGTNVXN6.js";import"./DA7Z7I7X.js";import"./CSM3L6AR.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u 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.20250813 */
4
- import{a as d}from"./A2JIGX46.js";import{a as u,b as t,c as h}from"./D5EP34TV.js";import"./CYTBK2BQ.js";import{a as w}from"./F63KEMM3.js";import"./YRKM4RUJ.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.1.0-next.20250814 */
4
+ import{a as d}from"./BI4XBFSU.js";import{a as u,b as t,c as h}from"./PN2RZQ5Z.js";import"./H752522M.js";import{a as w}from"./YKSLBBBW.js";import"./K6Y7PB4W.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -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.20250813 */
4
- import{a as o}from"./4GN6WWZB.js";import{b as l}from"./4MD75RVS.js";import"./YRKM4RUJ.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
3
+ v1.1.0-next.20250814 */
4
+ import{a as o}from"./6XZKH4OE.js";import{b as l}from"./OQLSBZBK.js";import"./K6Y7PB4W.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -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.20250813 */
4
- import{w as a}from"./KVMXA3Y6.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.1.0-next.20250814 */
4
+ import{w as a}from"./THEX57MF.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250813 */
4
- import{a as bt}from"./A5KVJBPR.js";import{a as $}from"./DDKMU6YS.js";import{a as G}from"./AZCMMHWC.js";import{c as J,n as X,t as K,z as Q}from"./Q2ZDGWJW.js";import{b as q}from"./ZI4TWRCO.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{A as h,h as W,i as c,k as V,n as z,w as m,x as d,y as j}from"./UH2QOIEJ.js";import{d as xt}from"./YRKM4RUJ.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function v(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=v(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function yt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||yt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function b(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function y(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function F(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=F(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):b(t)}async function Mt(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return b(o)}let i=e.poster,n=y(i),r=await E(i,n,t);return b(r)}async function Ft(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Mt(e,t):u(e,HTMLIFrameElement)?Ft(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=v(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=v(e.contentDocument.body.childNodes):s=v(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=y(t),o;if(r){let p=await r(s);o=F(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,y(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=v(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(w=>ht(w,t)).then(w=>dt(w).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(wt){console.error("Error inserting rule from remote css",{rule:I,error:wt})}})).catch(w=>{console.error("Error loading remote css",w.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=v(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
3
+ v1.1.0-next.20250814 */
4
+ import{a as bt}from"./RGMD7TWK.js";import{a as $}from"./GGVBPUEY.js";import{a as G}from"./4D2YRN2T.js";import{c as J,n as X,t as K,z as Q}from"./AA7WFQB6.js";import{b as q}from"./USF6ABOG.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{A as h,h as W,i as c,k as V,n as z,w as m,x as d,y as j}from"./CFK3L2YF.js";import{d as xt}from"./K6Y7PB4W.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function v(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=v(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function yt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||yt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function b(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function y(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function F(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var M={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(M[n]!=null)return M[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=F(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return M[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):b(t)}async function Mt(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return b(o)}let i=e.poster,n=y(i),r=await E(i,n,t);return b(r)}async function Ft(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Mt(e,t):u(e,HTMLIFrameElement)?Ft(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=v(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=v(e.contentDocument.body.childNodes):s=v(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=y(t),o;if(r){let p=await r(s);o=F(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,y(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=v(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(w=>ht(w,t)).then(w=>dt(w).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(wt){console.error("Error inserting rule from remote css",{rule:I,error:wt})}})).catch(w=>{console.error("Error loading remote css",w.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{v(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=v(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
5
5
  `)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=L(e,t),r=await P(e,t,!0);return await gt(r,t),await A(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=L(e,t),r=await ee(e,t),s=await b(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,w=t.canvasHeight||n;return a.width=f*p,a.height=w*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${w}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function vt(e,t={}){return(await ft(e,t)).toDataURL()}async function B(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var U=xt(bt(),1);var ie=`
6
6
  @media print {
7
7
  @page {
@@ -0,0 +1 @@
1
+ @layer{:not([hydrated]):is(arcgis-solutions-assistant,basemap-gallery,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,floor-filter,info-card,json-editor,layer-list,layer-table,map-card,map-draw-tools,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-article-card,solution-configuration,solution-configure-dialog,solution-configure-titles,solution-contents,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item,solution-item-accordion,solution-item-details,solution-item-diagram,solution-item-icon,solution-item-sharing,solution-organization-variables,solution-resource-item,solution-snapshot-gallery,solution-social-share,solution-spatial-ref,solution-template-data,solution-variables,solutions-all-panel,solutions-all-shell,solutions-article-panel,solutions-articles,solutions-articles-shell,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,spatial-ref,store-manager){visibility:hidden}}
@@ -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.20250813 */
4
- import{e as l,f as o}from"./BVARQ3DZ.js";import{d as g}from"./OVAKXTWT.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
3
+ v1.1.0-next.20250814 */
4
+ import{e as l,f as o}from"./4DTTBSJJ.js";import{d as g}from"./CT3POA2I.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250813 */
4
- import{a as c}from"./SVYYLS7W.js";import{k as y,m as o}from"./7GQCHIIL.js";import{a as m}from"./MJIIJ7IR.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{b as S}from"./EHWDZP62.js";import{h as d,i as s,n as p,y as g}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";var F=d`/** @license
3
+ v1.1.0-next.20250814 */
4
+ import{a as c}from"./IK7F27QS.js";import{k as y,m as o}from"./LRZ2H4VM.js";import{a as m}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as S}from"./4VDUJIVA.js";import{h as d,i as s,n as p,y as g}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";var F=d`/** @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.20250813 */
4
- import{a,b}from"./RHIDC6MD.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a,b}from"./CSM3L6AR.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
@@ -0,0 +1,18 @@
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.20250814 */
4
+ import c from"./4S3PKQJ4.js";import b from"./AZAVNJBN.js";import{b as l,c as v,e as x}from"./B3TFVUQ3.js";import"./MXVIDHVI.js";import"./CZ3BVZWT.js";import"./ROCIFSUL.js";import"./4DTTBSJJ.js";import"./EI3UVHVJ.js";import"./SAKENJP3.js";import"./RI4DNTJV.js";import"./CT3POA2I.js";import"./67UNP3O6.js";import"./AFVKAHAM.js";import"./RO5PJ76M.js";import"./WCFYJXHQ.js";import"./4DGE5KUI.js";import"./QST55MDE.js";import"./THEX57MF.js";import"./N4C5NAQY.js";import"./MVUCSBRQ.js";import"./H752522M.js";import"./YKSLBBBW.js";import"./OQLSBZBK.js";import{k as y,l as C,o as w,p as n,q as f}from"./LRZ2H4VM.js";import{a as S}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as _}from"./4VDUJIVA.js";import{h as g,i as a,j as p,n as o,y as m}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([,{a:c,b:T}])=>{var A=g`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,h=class extends m{constructor(){super(...arguments),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.cards=[],this._translations=S({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${n} OR ${f}`,this._allCards=[],this._authContextConsumer=l({context:x,subscribe:!0}),this._baseAgoTerms=n,this._categories=[],this._delay=!1,this._getSuggested=!1,this._sortField="numviews",this._sortOrder="desc",this._userSessionContextConsumer=l({context:v,subscribe:!0}),this.cardsFetched=o(),this.allCardsFetched=o()}static{this.properties={agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,cards:16,_translations:16}}static{this.styles=A}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new c(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new c(this.locale,this.orgUrl,this.portalUrl),await this._getDeployedSolutions(),this.cards=await this._getSolutions(),this.allCardsFetched.emit(this.cards)}render(){return a`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>a`<solution-details-card .card=${e}></solution-details-card>`):a`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",s=e?.cards.length?e.cards:[];this.sortType==="new"&&s.sort((i,r)=>i.categories.includes(t)&&!r.categories.includes(t)?-1:!i.categories.includes(t)&&r.categories.includes(t)?1:i.categories.includes(t)&&r.categories.includes(t)?i.categories.length-r.categories.length:0);let d=s.map(i=>{let r=i.categories.indexOf(t)>-1,u=!1;return this._deployedSolutions&&(u=this._isSolutionDeployed(i.deployCommonId)),i.chip=r?"updated":u?"deployed":"none",i});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(d.length),d}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t){let s=await T(e,t,this._cardsFetcher,this._cardsFetcherDeployed,w,"created");s&&(this._deployedSolutions=s)}}_getSolutionsBriefcase(){return a`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${p`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let s=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${s}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return C[e]}_getIndustryValue(e){return e==="AEC"?"AEC":y[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e)))}};_("solutions-all-panel",h);return h},b,c)
@@ -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.20250813 */
4
- import c from"./WO4VN3HA.js";import{a as x}from"./6EVHCQPO.js";import a from"./SLAQ2GU6.js";import{a as F}from"./SVYYLS7W.js";import{a as D}from"./AZCMMHWC.js";import{E as R,h as N,i as L}from"./Q2ZDGWJW.js";import{b as E}from"./ZI4TWRCO.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{A as H,h as I,i as b,x as g,y as $}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.1.0-next.20250814 */
4
+ import c from"./KXMHMNFG.js";import{a as x}from"./FVTQPVHE.js";import a from"./NLMLINN5.js";import{a as F}from"./IK7F27QS.js";import{a as D}from"./4D2YRN2T.js";import{E as R,h as N,i as L}from"./AA7WFQB6.js";import{b as E}from"./USF6ABOG.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{A as H,h as I,i as b,x as g,y as $}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -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.20250813 */
4
- import e from"./U65OM7BT.js";import c from"./WO4VN3HA.js";import"./6EVHCQPO.js";import b from"./SLAQ2GU6.js";import"./Q2ZDGWJW.js";import{b as o}from"./ZI4TWRCO.js";import"./57YXUARI.js";import{A as l,B as d,h as a,i,w as s,x as r,y as n}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
3
+ v1.1.0-next.20250814 */
4
+ import e from"./CQ7LEMHR.js";import c from"./KXMHMNFG.js";import"./FVTQPVHE.js";import b from"./NLMLINN5.js";import"./AA7WFQB6.js";import{b as o}from"./USF6ABOG.js";import"./ZLELJP4A.js";import{A as l,B as d,h as a,i,w as s,x as r,y as n}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
@@ -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.20250813 */
4
- import{a as r}from"./ULVD3IW2.js";import{c as o}from"./EHWDZP62.js";var s=r(o);export{s as a};
3
+ v1.1.0-next.20250814 */
4
+ import{a as r}from"./TPFTOSLE.js";import{c as o}from"./4VDUJIVA.js";var s=r(o);export{s 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.20250813 */
4
- import{c as r}from"./ZI4TWRCO.js";import{a as o}from"./ULVD3IW2.js";var s=o(r);export{s as a};
3
+ v1.1.0-next.20250814 */
4
+ import{c as r}from"./USF6ABOG.js";import{a as o}from"./TPFTOSLE.js";var s=o(r);export{s 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.20250813 */
4
- import{d as c}from"./7EN7HPX7.js";import{a as y}from"./F63KEMM3.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.1.0-next.20250814 */
4
+ import{d as c}from"./N4C5NAQY.js";import{a as y}from"./YKSLBBBW.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B 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.20250813 */
4
- import{l as g}from"./2BSMPRPL.js";import{c as i,d as f}from"./OVAKXTWT.js";import{a as o}from"./XWTGQKAR.js";import{b as c}from"./K4BEULDQ.js";import{c as m,j as l,k as s,l as d,w as p}from"./KVMXA3Y6.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.1.0-next.20250814 */
4
+ import{l as g}from"./EI3UVHVJ.js";import{c as i,d as f}from"./CT3POA2I.js";import{a as o}from"./RO5PJ76M.js";import{b as c}from"./4DGE5KUI.js";import{c as m,j as l,k as s,l as d,w as p}from"./THEX57MF.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -1,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.20250813 */
4
- import{a as i}from"./GZJPCOO2.js";import{a}from"./YUMDEDM5.js";import"./7KNQESYU.js";import"./76WUG6ZM.js";import"./XWTGQKAR.js";import"./2QFXOBI3.js";import"./ZS4TLPQ3.js";import{a as o}from"./SG7HY4KR.js";import{a as s}from"./2FZPIIHB.js";import"./KVMXA3Y6.js";import"./7EN7HPX7.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import{b as r}from"./6ALKL72V.js";import"./TWHMQL23.js";import"./4MD75RVS.js";import"./L23MKNQC.js";import"./A7BJA2JV.js";import"./BYBBSBXY.js";import"./QDXWYPJL.js";import"./5QG46LCT.js";import"./6GTMUJA6.js";import"./UG6JNU5B.js";import"./BLVRQ6OB.js";import"./XLF4EXMY.js";import"./SIX2JQL2.js";import"./7DGYAZNS.js";import"./HIJ2VUZY.js";import"./ES57S3YD.js";import"./LJOZBNIY.js";import"./4D4JUG4C.js";import"./67M6LTDD.js";import"./RHIDC6MD.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.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.20250814 */
4
+ import{a as i}from"./FM7IQX4W.js";import{a}from"./PPS7C4OY.js";import"./67UNP3O6.js";import"./AFVKAHAM.js";import"./RO5PJ76M.js";import"./WCFYJXHQ.js";import"./QST55MDE.js";import{a as o}from"./ACFG5TV4.js";import{a as s}from"./3ACOUZ2J.js";import"./THEX57MF.js";import"./N4C5NAQY.js";import"./H752522M.js";import"./YKSLBBBW.js";import{b as r}from"./EJPEGRC5.js";import"./6CE3P6MK.js";import"./OQLSBZBK.js";import"./5GN3UTVY.js";import"./HOP7ALIK.js";import"./ARCKDH5K.js";import"./6V7OF3L5.js";import"./4QMK76M4.js";import"./TTV4NRBC.js";import"./4GLART42.js";import"./6UNISOCW.js";import"./ABJR44TO.js";import"./X7AWZSTB.js";import"./QMB4QM6Y.js";import"./2A5LFLWY.js";import"./7EK6RHGO.js";import"./JXB5LIL6.js";import"./MGTNVXN6.js";import"./DA7Z7I7X.js";import"./CSM3L6AR.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.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,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.20250813 */
4
- import{b as e}from"./BLVRQ6OB.js";import{a as r}from"./XLF4EXMY.js";import{a as t}from"./DRVD2AAI.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
3
+ v1.1.0-next.20250814 */
4
+ import{b as e}from"./6UNISOCW.js";import{a as r}from"./ABJR44TO.js";import{a as t}from"./BO3S7FKQ.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250813 */
4
- import{a as S}from"./SGBJLWPE.js";import"./ZI4TWRCO.js";import{c as L,j as M}from"./RQWAIILE.js";import{j as m}from"./7GQCHIIL.js";import"./HVYSRDTL.js";import{b as v}from"./JARC45CV.js";import{a as w}from"./MJIIJ7IR.js";import"./ULVD3IW2.js";import"./57YXUARI.js";import{b as $}from"./EHWDZP62.js";import{A as f,h as g,i as o,k as c,n as d,q as y,w as h,x as r,y as I}from"./UH2QOIEJ.js";import"./YRKM4RUJ.js";function x(l){return l?.indexOf("http://")!==-1}function u(l){return x(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=u(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=u(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=u(s.proxyUrl))}}))})}),l}var k=g`@layer{/** @license
3
+ v1.1.0-next.20250814 */
4
+ import{a as S}from"./I6MRF2RD.js";import"./USF6ABOG.js";import{c as L,j as M}from"./YAIWCQES.js";import{j as m}from"./LRZ2H4VM.js";import"./6X64VRXD.js";import{b as v}from"./Y5ITNA7H.js";import{a as w}from"./4CBNOR6N.js";import"./TPFTOSLE.js";import"./ZLELJP4A.js";import{b as $}from"./4VDUJIVA.js";import{A as f,h as g,i as o,k as c,n as d,q as y,w as h,x as r,y as I}from"./CFK3L2YF.js";import"./K6Y7PB4W.js";function x(l){return l?.indexOf("http://")!==-1}function u(l){return x(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=u(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=u(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=u(s.proxyUrl))}}))})}),l}var k=g`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250813 */
4
- import{a}from"./GTLNO4OA.js";import{a as l,b as r}from"./AD4H2ATA.js";import"./FNN6KMV2.js";import"./K4BEULDQ.js";import{d as i}from"./ZS4TLPQ3.js";import"./7EN7HPX7.js";import"./RDAND746.js";import"./CYTBK2BQ.js";import"./F63KEMM3.js";import{a as t}from"./6ALKL72V.js";import"./TWHMQL23.js";import"./4MD75RVS.js";import"./L23MKNQC.js";import"./A7BJA2JV.js";import"./BYBBSBXY.js";import"./QDXWYPJL.js";import"./5QG46LCT.js";import"./6GTMUJA6.js";import"./UG6JNU5B.js";import"./BLVRQ6OB.js";import"./XLF4EXMY.js";import"./SIX2JQL2.js";import"./7DGYAZNS.js";import"./HIJ2VUZY.js";import"./ES57S3YD.js";import"./LJOZBNIY.js";import"./4D4JUG4C.js";import"./67M6LTDD.js";import"./RHIDC6MD.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a}from"./HEJ3YUKD.js";import{a as l,b as r}from"./K74VECE5.js";import"./XBJI7OVV.js";import"./4DGE5KUI.js";import{d as i}from"./QST55MDE.js";import"./N4C5NAQY.js";import"./MVUCSBRQ.js";import"./H752522M.js";import"./YKSLBBBW.js";import{a as t}from"./EJPEGRC5.js";import"./6CE3P6MK.js";import"./OQLSBZBK.js";import"./5GN3UTVY.js";import"./HOP7ALIK.js";import"./ARCKDH5K.js";import"./6V7OF3L5.js";import"./4QMK76M4.js";import"./TTV4NRBC.js";import"./4GLART42.js";import"./6UNISOCW.js";import"./ABJR44TO.js";import"./X7AWZSTB.js";import"./QMB4QM6Y.js";import"./2A5LFLWY.js";import"./7EK6RHGO.js";import"./JXB5LIL6.js";import"./MGTNVXN6.js";import"./DA7Z7I7X.js";import"./CSM3L6AR.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -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.20250813 */
4
- import{a,b}from"./6GTMUJA6.js";import"./VRDTHKQM.js";import"./G7TXJGIG.js";import"./DRVD2AAI.js";import"./YRKM4RUJ.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.1.0-next.20250814 */
4
+ import{a,b}from"./TTV4NRBC.js";import"./BUNVS4W5.js";import"./KVWD2NCD.js";import"./BO3S7FKQ.js";import"./K6Y7PB4W.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250813 */
4
- import{a as e}from"./VRDTHKQM.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.20250814 */
4
+ import{a as e}from"./BUNVS4W5.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.20250813 */
4
- import a from"./VU544BRL.js";import{H as k,ib as R,jb as y,o as N}from"./ODSRLWLP.js";import{g as w}from"./7EN7HPX7.js";import{m as E,o as M}from"./7GQCHIIL.js";export default $arcgis.t(([{e:V,f:D,g:x,j:S,k:O}])=>{function J(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function B(a,r){let e=j(a);return G(e,r)}function G(a,r){let e=[];return r.forEach(t=>{let s=T(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function T(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function j(a){let r=[];return a.forEach(e=>{let t=T(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function U(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var K=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new w({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let n=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,F=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==F||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:F,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=J(this.cardCache,i);c=u(l,n,h)}else c=u(this.cardCache,n,h);return Promise.resolve(c)}let A={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},C=[];if(e){let c=s||new w({});C.push(y(e,r.q,c,A,g))}return t&&C.push(y(t,r.q,m,A,p)),Promise.allSettled(C).then(c=>{let l=[];c.forEach((d,L)=>{let q=!!e&&L===0;if(d.status==="fulfilled"){let v=d.value,P="",I=!1;q?P=this.portalUrl:(P=this.agolPortalUrl,I=!0),v.results.forEach(b=>{b.sourcePortalUrl=P,b.knownToBePublicSource=I}),l.push(v)}else if(d.status==="rejected")throw new Error(q?d.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=U(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(i&&i.size>0){let d=J(this.cardCache,i);f=u(d,n,h)}else f=u(this.cardCache,n,h);return Promise.resolve(f)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return R(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+D([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:x(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:S(e.created,this.locale),modified:S(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:V(e.licenseInfo),deployCommonId:O(e.typeKeywords||[],"solutionid-"),deployVersion:O(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:k(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};async function X(a,r,e,t,s=M,o="created",i="desc",n=!1,h=[],g=[],p){if(!a?.SignedIn)return;let m={q:s,filter:"type:Solution",sortField:o,sortOrder:i,delay:n,categories:h};return m.q+=z(a,p),await Q(r,m,t,g)}function z(a,r){let e="",t=a.PortalUserOrg,s=a.PortalUserName;return t&&(e+=" orgid:"+t),r!==E.ORGANIZATION&&s&&(e+=" owner:"+s),e}async function Q(a,r,e,t){let s=await e.requestDeployedSolutionCards(r,a),o=B(s.cards,t);return{cards:s.cards,relatedSolutions:o}}return{a:K,b:X}},a)
3
+ v1.1.0-next.20250814 */
4
+ import a from"./AZAVNJBN.js";import{H as k,ib as R,jb as y,o as N}from"./MXVIDHVI.js";import{g as w}from"./N4C5NAQY.js";import{m as E,o as M}from"./LRZ2H4VM.js";export default $arcgis.t(([{e:V,f:D,g:x,j:S,k:O}])=>{function J(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function B(a,r){let e=j(a);return G(e,r)}function G(a,r){let e=[];return r.forEach(t=>{let s=T(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function T(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function j(a){let r=[];return a.forEach(e=>{let t=T(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function U(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var K=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new w({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let n=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,F=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==F||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:F,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=J(this.cardCache,i);c=u(l,n,h)}else c=u(this.cardCache,n,h);return Promise.resolve(c)}let A={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},C=[];if(e){let c=s||new w({});C.push(y(e,r.q,c,A,g))}return t&&C.push(y(t,r.q,m,A,p)),Promise.allSettled(C).then(c=>{let l=[];c.forEach((d,L)=>{let q=!!e&&L===0;if(d.status==="fulfilled"){let v=d.value,P="",I=!1;q?P=this.portalUrl:(P=this.agolPortalUrl,I=!0),v.results.forEach(b=>{b.sourcePortalUrl=P,b.knownToBePublicSource=I}),l.push(v)}else if(d.status==="rejected")throw new Error(q?d.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=U(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(i&&i.size>0){let d=J(this.cardCache,i);f=u(d,n,h)}else f=u(this.cardCache,n,h);return Promise.resolve(f)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return R(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+D([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:x(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:S(e.created,this.locale),modified:S(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:V(e.licenseInfo),deployCommonId:O(e.typeKeywords||[],"solutionid-"),deployVersion:O(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:k(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};async function X(a,r,e,t,s=M,o="created",i="desc",n=!1,h=[],g=[],p){if(!a?.SignedIn)return;let m={q:s,filter:"type:Solution",sortField:o,sortOrder:i,delay:n,categories:h};return m.q+=z(a,p),await Q(r,m,t,g)}function z(a,r){let e="",t=a.PortalUserOrg,s=a.PortalUserName;return t&&(e+=" orgid:"+t),r!==E.ORGANIZATION&&s&&(e+=" owner:"+s),e}async function Q(a,r,e,t){let s=await e.requestDeployedSolutionCards(r,a),o=B(s.cards,t);return{cards:s.cards,relatedSolutions:o}}return{a:K,b:X}},a)