@esri/solutions-components 1.2.0-next.14 → 1.2.0-next.15

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 (462) hide show
  1. package/dist/cdn/{GESWKJMD.js → 2IH37O57.js} +2 -2
  2. package/dist/cdn/{KISPGYCP.js → 2OB2SIIL.js} +2 -2
  3. package/dist/cdn/{DEHAUXXO.js → 2P5JJYFC.js} +2 -2
  4. package/dist/cdn/{GG5322XB.js → 2TO3D4JP.js} +2 -2
  5. package/dist/cdn/{5AGT5STX.js → 2WF74AVG.js} +2 -2
  6. package/dist/cdn/{LDLY6XKA.js → 2XUD6P3Z.js} +2 -2
  7. package/dist/cdn/{DJIPWE3W.js → 2Z3T6T5H.js} +2 -2
  8. package/dist/cdn/{TYRLD7J2.js → 2ZIVJI5H.js} +2 -2
  9. package/dist/cdn/{SQKB5YHF.js → 32UM7SZK.js} +1 -1
  10. package/dist/cdn/{OVDOY2TB.js → 33TAMAB5.js} +2 -2
  11. package/dist/cdn/{ZBPVWS4U.js → 3AFMP6IW.js} +2 -2
  12. package/dist/cdn/{3R72A4LX.js → 3DMMKZP2.js} +2 -2
  13. package/dist/cdn/{ERPKGUIG.js → 3FC3AFQC.js} +2 -2
  14. package/dist/cdn/{SDATDAKA.js → 3INN5FQP.js} +2 -2
  15. package/dist/cdn/{UPJWS62Y.js → 3LOI7YAT.js} +2 -2
  16. package/dist/cdn/{JH3DG6QD.js → 3OK4D7RH.js} +2 -2
  17. package/dist/cdn/{XQYMKMCD.js → 3R547FCL.js} +2 -2
  18. package/dist/cdn/{HAXUZW3B.js → 3Z34HOVN.js} +2 -2
  19. package/dist/cdn/{YK7CSNSO.js → 3ZHWDZ4U.js} +2 -2
  20. package/dist/cdn/{TDYZLGUB.js → 42XR3L6J.js} +2 -2
  21. package/dist/cdn/{27JI2VQ2.js → 47LQUUSU.js} +2 -2
  22. package/dist/cdn/{NAEHM6JI.js → 4BD445J4.js} +2 -2
  23. package/dist/cdn/{M3PIEBE5.js → 4CY43SAF.js} +2 -2
  24. package/dist/cdn/{55PIVHXI.js → 4D5I5M3O.js} +2 -2
  25. package/dist/cdn/{TFX7FLLB.js → 4GRPOGJP.js} +2 -2
  26. package/dist/cdn/4J4LPB3C.js +4 -0
  27. package/dist/cdn/{XEIR3HD2.js → 4JAUYJ6Q.js} +2 -2
  28. package/dist/cdn/{3JGSO6KR.js → 4K2FRDTX.js} +2 -2
  29. package/dist/cdn/{MDNDODSS.js → 4P77U55T.js} +2 -2
  30. package/dist/cdn/{JAY4QLVZ.js → 4TNONTZ6.js} +2 -2
  31. package/dist/cdn/{BZGPGXVO.js → 4UC3TN7N.js} +2 -2
  32. package/dist/cdn/{CS2LIBSE.js → 52ZNWMHQ.js} +2 -2
  33. package/dist/cdn/{DA6O63VU.js → 547VLGRK.js} +2 -2
  34. package/dist/cdn/{B6MXVUM7.js → 57ZXUILQ.js} +2 -2
  35. package/dist/cdn/{AUHY5KDY.js → 5E626VLW.js} +2 -2
  36. package/dist/cdn/{OZP2AS5I.js → 5EAGIGD7.js} +2 -2
  37. package/dist/cdn/{AROFWN7J.js → 5EHF5GZY.js} +2 -2
  38. package/dist/cdn/{K74PB5FR.js → 5HGZYOVA.js} +1 -1
  39. package/dist/cdn/{KQWVAVJY.js → 5IMIFIYK.js} +2 -2
  40. package/dist/cdn/{2PQ2DS43.js → 5JODT3O3.js} +2 -2
  41. package/dist/cdn/{HKHRMYR3.js → 5KES3XBG.js} +2 -2
  42. package/dist/cdn/{DM2QASNK.js → 5LIV5MBV.js} +2 -2
  43. package/dist/cdn/{DDORSIZO.js → 5MQH5SRJ.js} +2 -2
  44. package/dist/cdn/{VYCVM7AQ.js → 5NZGINBU.js} +1 -1
  45. package/dist/cdn/{RKIYQIND.js → 5OHLT44P.js} +2 -2
  46. package/dist/cdn/{BPZYGUMF.js → 64XG2WEQ.js} +2 -2
  47. package/dist/cdn/{AFVKHRR2.js → 64ZV2TNG.js} +2 -2
  48. package/dist/cdn/{DGALIRFU.js → 6624PMRO.js} +2 -2
  49. package/dist/cdn/{GFHDLACH.js → 6A6WPUSP.js} +2 -2
  50. package/dist/cdn/{MSOGJSYT.js → 6DFODGMW.js} +2 -2
  51. package/dist/cdn/{55SZWBDG.js → 6POBHKBS.js} +2 -2
  52. package/dist/cdn/{E7X4JPJZ.js → 6TPJXOGA.js} +2 -2
  53. package/dist/cdn/{5M3POXXX.js → 6WQSDPWU.js} +2 -2
  54. package/dist/cdn/{FFZOA5VY.js → 7EMBWSJE.js} +2 -2
  55. package/dist/cdn/{OENFSWWX.js → 7FVSKZFW.js} +2 -2
  56. package/dist/cdn/{6BYQHGKG.js → 7ML2KUOH.js} +2 -2
  57. package/dist/cdn/{PCJDMYM4.js → 7N5X4EHS.js} +2 -2
  58. package/dist/cdn/{CNYLCR6J.js → 7TAHV6UW.js} +2 -2
  59. package/dist/cdn/{HCGGITXI.js → 7WA3VJRZ.js} +2 -2
  60. package/dist/cdn/{VKLLQNEW.js → A4X6C6ZX.js} +2 -2
  61. package/dist/cdn/A7RE5JAW.js +4 -0
  62. package/dist/cdn/{LZ5XRNJU.js → AEHCAEA2.js} +2 -2
  63. package/dist/cdn/{64KLEAWB.js → AGXLBLDE.js} +2 -2
  64. package/dist/cdn/{2JNJ6NTC.js → AJ7HY5IA.js} +2 -2
  65. package/dist/cdn/{GRL5XFU3.js → AJZFV73U.js} +2 -2
  66. package/dist/cdn/{KUPVTR4P.js → AK2G7GWK.js} +2 -2
  67. package/dist/cdn/{G57QOE4P.js → ANABZWEW.js} +2 -2
  68. package/dist/cdn/{YYS3KCN2.js → ATBZIXUI.js} +2 -2
  69. package/dist/cdn/{L3Q3HM35.js → AVWH7V2G.js} +1 -1
  70. package/dist/cdn/{VYETQ5OQ.js → AXAHVJFX.js} +2 -2
  71. package/dist/cdn/{2DGB5L7S.js → AXRO5Y2Q.js} +1 -1
  72. package/dist/cdn/B3ZRPFZO.js +18 -0
  73. package/dist/cdn/{HU23U4PP.js → BDODIJBN.js} +2 -2
  74. package/dist/cdn/{VNHY7WVH.js → BE4OEXWO.js} +2 -2
  75. package/dist/cdn/{BMZSYER5.js → BK7VE3UH.js} +1 -1
  76. package/dist/cdn/{WTGX35K4.js → BMH6UZYX.js} +2 -2
  77. package/dist/cdn/{Y2HBFVM4.js → BPVXWSKC.js} +2 -2
  78. package/dist/cdn/BTAPRURT.js +18 -0
  79. package/dist/cdn/{VC3WICDQ.js → BURGOM4O.js} +2 -2
  80. package/dist/cdn/{N5SMXPJM.js → BXPQHUII.js} +2 -2
  81. package/dist/cdn/{LRR4ZR5H.js → C4FAIF5Q.js} +2 -2
  82. package/dist/cdn/{32KLJCZ5.js → C675SGIU.js} +2 -2
  83. package/dist/cdn/{6UQXA4EH.js → CGNU4GRB.js} +2 -2
  84. package/dist/cdn/{IRZ5Q6P6.js → CH34UBEQ.js} +2 -2
  85. package/dist/cdn/{QU2RIV42.js → CIWXA5ZN.js} +2 -2
  86. package/dist/cdn/{RHH5VDPN.js → CKPZEWWK.js} +2 -2
  87. package/dist/cdn/CL3PGX2V.js +18 -0
  88. package/dist/cdn/CPK4BEBA.js +18 -0
  89. package/dist/cdn/{C44APEWJ.js → CTJAA3HW.js} +2 -2
  90. package/dist/cdn/{EYYXEXIY.js → CUJ4QEUB.js} +2 -2
  91. package/dist/cdn/{ZDRTTMHR.js → CUWST5O6.js} +2 -2
  92. package/dist/cdn/{4MS4GKD3.js → CV77ODA7.js} +2 -2
  93. package/dist/cdn/{Y7LGH6KN.js → CZ6K44RV.js} +1 -1
  94. package/dist/cdn/{S3UOX3S5.js → D2G4PIVE.js} +2 -2
  95. package/dist/cdn/{7HCS7QDO.js → DAFCUVTS.js} +2 -2
  96. package/dist/cdn/{UCPFFUQC.js → DAGLKPSW.js} +2 -2
  97. package/dist/cdn/{ULJ5HIFK.js → DH77AVTG.js} +2 -2
  98. package/dist/cdn/{SE7AJBLC.js → DHYN3VIT.js} +2 -2
  99. package/dist/cdn/{OYR5JAG3.js → DK3FWHR6.js} +3 -3
  100. package/dist/cdn/{QTDYELK6.js → DOBSL5W5.js} +1 -1
  101. package/dist/cdn/{JQONUFIG.js → E6BFGCQU.js} +2 -2
  102. package/dist/cdn/{Z6DZIVF7.js → E7N7FA3W.js} +2 -2
  103. package/dist/cdn/{IJCGATIB.js → EAZ7C25W.js} +2 -2
  104. package/dist/cdn/EL2JSV5A.js +4 -0
  105. package/dist/cdn/{BZ2BCVFJ.js → EODDH2JP.js} +2 -2
  106. package/dist/cdn/{QBVRFM7C.js → ETYP3VBN.js} +2 -2
  107. package/dist/cdn/{2AXIORVV.js → EVPTRQ6A.js} +1 -1
  108. package/dist/cdn/F2BY3DDZ.js +4 -0
  109. package/dist/cdn/{ZMWV3XIS.js → F2TCHWET.js} +2 -2
  110. package/dist/cdn/{2NEXO4CL.js → F3QXUPCO.js} +2 -2
  111. package/dist/cdn/{FJLQNJZC.js → F3VL5J4Q.js} +2 -2
  112. package/dist/cdn/{AU5GOE2S.js → F7DK7MGG.js} +1 -1
  113. package/dist/cdn/{LLKMGYSP.js → FCPV4UOF.js} +2 -2
  114. package/dist/cdn/{TYSGRYCE.js → FCWBHJAR.js} +2 -2
  115. package/dist/cdn/{WYUUHAX5.js → FEICSWFI.js} +1 -1
  116. package/dist/cdn/{PB5W7EYR.js → FFCZMKPH.js} +2 -2
  117. package/dist/cdn/{M35BYI7Y.js → FHDHYSK6.js} +2 -2
  118. package/dist/cdn/{VN2Z7U4S.js → FJENF6BR.js} +2 -2
  119. package/dist/cdn/{47HZO7HH.js → FNV3BY4N.js} +2 -2
  120. package/dist/cdn/{6HZDA6VL.js → FUVBSL52.js} +2 -2
  121. package/dist/cdn/{VQCSCWLK.js → FWT5BW6G.js} +2 -2
  122. package/dist/cdn/{KLJWOWTJ.js → G36LZ2WH.js} +2 -2
  123. package/dist/cdn/{RSERAAVS.js → G6VABLAG.js} +2 -2
  124. package/dist/cdn/{ZPJLLGVT.js → GG2IDWQS.js} +2 -2
  125. package/dist/cdn/{7FDUBCB6.js → GIZDZBX3.js} +2 -2
  126. package/dist/cdn/{NZLIU3NZ.js → GNVNOTR5.js} +2 -2
  127. package/dist/cdn/{Y3LT4KUT.js → GVHPHDSK.js} +1 -1
  128. package/dist/cdn/{TLXOAJK5.js → GY3S4QPM.js} +2 -2
  129. package/dist/cdn/{KVC6QETL.js → GYCQ3AJ4.js} +2 -2
  130. package/dist/cdn/{HHCUJ2TU.js → HA6QXFEE.js} +2 -2
  131. package/dist/cdn/{OZXJ2M5O.js → HBKZAODT.js} +2 -2
  132. package/dist/cdn/{GZ4MUQVE.js → HD274UTP.js} +2 -2
  133. package/dist/cdn/{FLMHLO43.js → HECNXLJ5.js} +2 -2
  134. package/dist/cdn/{5OZ5KLPF.js → HFD37KVH.js} +2 -2
  135. package/dist/cdn/{32CJQFYT.js → HIEPRI6M.js} +1 -1
  136. package/dist/cdn/{Y4RGBYW4.js → HLVEN4KS.js} +3 -3
  137. package/dist/cdn/{RDKSB4BZ.js → HOSSCUTA.js} +2 -2
  138. package/dist/cdn/{T66ZKGRR.js → HSM2426M.js} +1 -1
  139. package/dist/cdn/{PUCYFTMU.js → HT7C5PDZ.js} +2 -2
  140. package/dist/cdn/{POIPE7OT.js → HVNRLHU5.js} +2 -2
  141. package/dist/cdn/{NCQJQIGP.js → HY5QYWAN.js} +2 -2
  142. package/dist/cdn/{BH44LJSG.js → I37NGC7B.js} +2 -2
  143. package/dist/cdn/{WNWEV3AC.js → IARZLOE2.js} +2 -2
  144. package/dist/cdn/{OWPOIGI3.js → IDPWCQHW.js} +2 -2
  145. package/dist/cdn/{OA5BDZZH.js → IE5JSK7J.js} +2 -2
  146. package/dist/cdn/ILDBRYJS.js +4 -0
  147. package/dist/cdn/{IIDHHI6H.js → IMGIW7HO.js} +2 -2
  148. package/dist/cdn/{7XLXELEX.js → IOFTT6HJ.js} +2 -2
  149. package/dist/cdn/{NY4VVXOI.js → IVDSMHU5.js} +2 -2
  150. package/dist/cdn/{R45VY7IL.js → IW3M3BRW.js} +2 -2
  151. package/dist/cdn/{7INSFWLF.js → J32P3IUF.js} +2 -2
  152. package/dist/cdn/{PZGSUW4E.js → J4QBWJSM.js} +2 -2
  153. package/dist/cdn/{CFSE4FBZ.js → J66N75YM.js} +2 -2
  154. package/dist/cdn/{27LWIDZP.js → JA5E3ZS4.js} +2 -2
  155. package/dist/cdn/{LGVRRCS5.js → JDFPU4OZ.js} +2 -2
  156. package/dist/cdn/{LBTMKK7G.js → JDTYU4V7.js} +2 -2
  157. package/dist/cdn/{G5TP26AI.js → JJEP2YGO.js} +2 -2
  158. package/dist/cdn/{XUTQASNK.js → JMPK7FSJ.js} +2 -2
  159. package/dist/cdn/{WAOQ3JCJ.js → JNWSIBXG.js} +2 -2
  160. package/dist/cdn/{WTU66RJH.js → JPPIOFJI.js} +2 -2
  161. package/dist/cdn/{TZG6SUZL.js → JQQF365S.js} +2 -2
  162. package/dist/cdn/{L3254555.js → JUQF2PB3.js} +2 -2
  163. package/dist/cdn/{G3LGAMBQ.js → JVQDTAZM.js} +2 -2
  164. package/dist/cdn/{7C563I5Y.js → JYXITI3J.js} +2 -2
  165. package/dist/cdn/{6NTONBY4.js → K4KSJJUE.js} +2 -2
  166. package/dist/cdn/{6PK752UJ.js → K4PSBA7S.js} +2 -2
  167. package/dist/cdn/{ED5F2TPC.js → K7LR3C67.js} +1 -1
  168. package/dist/cdn/{OVVYNB4P.js → KFTUSILZ.js} +2 -2
  169. package/dist/cdn/{JKJ2E3QC.js → KJC4PHVN.js} +2 -2
  170. package/dist/cdn/{EDFQHWSA.js → KJYAWRR4.js} +2 -2
  171. package/dist/cdn/{3JLPYT3H.js → KMRNWHZU.js} +2 -2
  172. package/dist/cdn/{XJV42NPL.js → KNM2DOZ5.js} +2 -2
  173. package/dist/cdn/{RGEOJKWT.js → KQRHQKTT.js} +1 -1
  174. package/dist/cdn/{A437YTBB.js → KYJTZ7GN.js} +2 -2
  175. package/dist/cdn/{ATHCVVJJ.js → L33Y3EXU.js} +1 -1
  176. package/dist/cdn/{WDUEH22A.js → L733W7AD.js} +2 -2
  177. package/dist/cdn/{GCFYG2IP.js → L75WH54D.js} +2 -2
  178. package/dist/cdn/{FC7SCLY3.js → LAGBD4ZG.js} +2 -2
  179. package/dist/cdn/{275D3YQA.js → LBH23R6B.js} +2 -2
  180. package/dist/cdn/{4FALCKMG.js → LBNDFMBU.js} +2 -2
  181. package/dist/cdn/{MR7TKHWW.js → LGLORLPA.js} +2 -2
  182. package/dist/cdn/{5D6QFA7E.js → LH4J7BX2.js} +2 -2
  183. package/dist/cdn/{BNGZYVGD.js → LMO3OIUV.js} +2 -2
  184. package/dist/cdn/{OHAUP2TS.js → LQCKHLC4.js} +2 -2
  185. package/dist/cdn/{7SYXERJO.js → LRQUFI2D.js} +1 -1
  186. package/dist/cdn/{FRWCYHC7.js → LUAMSNKZ.js} +2 -2
  187. package/dist/cdn/{CAOSAERX.js → LYUK5J5Q.js} +2 -2
  188. package/dist/cdn/{PNSRB675.js → M5CZTKXX.js} +2 -2
  189. package/dist/cdn/{YK3CVDW7.js → M7AF2VXD.js} +2 -2
  190. package/dist/cdn/{OWNKZH3J.js → MATLMRNC.js} +2 -2
  191. package/dist/cdn/{CDKJFB3T.js → MMLBUMFZ.js} +2 -2
  192. package/dist/cdn/{KW7MDDY3.js → MPYJWTZZ.js} +1 -1
  193. package/dist/cdn/{3SZTNCCQ.js → MTMG3GRR.js} +2 -2
  194. package/dist/cdn/{6KMU4IZC.js → MYLIJELV.js} +2 -2
  195. package/dist/cdn/{F4ML5DAH.js → N3UWRM33.js} +2 -2
  196. package/dist/cdn/{6MQTHJAJ.js → N45LPVOM.js} +2 -2
  197. package/dist/cdn/{5EVX3HTC.js → N65CEPTA.js} +2 -2
  198. package/dist/cdn/{SLDGR2DM.js → N7FPVL7S.js} +2 -2
  199. package/dist/cdn/{RKGMIWAB.js → NBWRB4UV.js} +1 -1
  200. package/dist/cdn/{4X6WXZQL.js → NCS6AM2F.js} +2 -2
  201. package/dist/cdn/{H3D27G4Z.js → NGAOJITT.js} +2 -2
  202. package/dist/cdn/{WOF27X3U.js → NH4CFBFD.js} +1 -1
  203. package/dist/cdn/{T6TRDLLW.js → NQWAECHR.js} +2 -2
  204. package/dist/cdn/{OWNE3NKH.js → NSRQUUHT.js} +4 -4
  205. package/dist/cdn/{JODMPBQI.js → NTUKSOX6.js} +2 -2
  206. package/dist/cdn/{XUFAW7KH.js → NWYDTXHU.js} +2 -2
  207. package/dist/cdn/{MOSTA2DP.js → NWZXSIOF.js} +1 -1
  208. package/dist/cdn/{GICZBA3H.js → NXUIVAQT.js} +2 -2
  209. package/dist/cdn/{IJBIJEFV.js → O6AHHEEE.js} +2 -2
  210. package/dist/cdn/{QBACNHT4.js → OCG3XDCT.js} +2 -2
  211. package/dist/cdn/{5VS5R36W.js → OD6CCAY7.js} +2 -2
  212. package/dist/cdn/{57VUM2OX.js → OEOAXQIR.js} +2 -2
  213. package/dist/cdn/{R4LWV66S.js → OEVW7652.js} +2 -2
  214. package/dist/cdn/{4Z3GVHCU.js → OGJDKKVD.js} +2 -2
  215. package/dist/cdn/{BT3PZ755.js → OPK4XF2Q.js} +1 -1
  216. package/dist/cdn/{FCF6DXVK.js → OSQ5RHZM.js} +2 -2
  217. package/dist/cdn/{S5HZ3ZDX.js → OTKMTGZQ.js} +2 -2
  218. package/dist/cdn/{IEGO27TP.js → OTWOMOOS.js} +2 -2
  219. package/dist/cdn/{2KKY4D26.js → P2Q2QECR.js} +2 -2
  220. package/dist/cdn/{LQZ5FBXA.js → P4ZT2VNI.js} +2 -2
  221. package/dist/cdn/{LK5HDTLK.js → P5NCQEHT.js} +2 -2
  222. package/dist/cdn/{V5TIHCQF.js → P7GYHQIB.js} +2 -2
  223. package/dist/cdn/{XTSZRRWZ.js → P7IHCCPN.js} +2 -2
  224. package/dist/cdn/{EMDJVLHN.js → PGH6RCLO.js} +2 -2
  225. package/dist/cdn/{M7P2ZTLV.js → PP7YJVFK.js} +2 -2
  226. package/dist/cdn/{PAWE5LYT.js → PRPAKA53.js} +2 -2
  227. package/dist/cdn/{H7LI4JLZ.js → PTH4VZ5J.js} +1 -1
  228. package/dist/cdn/{7BLXQDEK.js → PUDP2PNI.js} +2 -2
  229. package/dist/cdn/{MDIV2FIJ.js → PVGBJQAD.js} +2 -2
  230. package/dist/cdn/PW3GGNPY.js +4 -0
  231. package/dist/cdn/{XW6UDQOC.js → PXZ3HDAQ.js} +2 -2
  232. package/dist/cdn/{NWFXWOAO.js → PY5GGBEE.js} +2 -2
  233. package/dist/cdn/{FRA2DQWF.js → Q753LUMJ.js} +2 -2
  234. package/dist/cdn/{WR2MBTUF.js → QA6BAR3L.js} +2 -2
  235. package/dist/cdn/{K743ADKQ.js → QAMFDK44.js} +2 -2
  236. package/dist/cdn/{CVHMFFUJ.js → QCVFWRQ3.js} +2 -2
  237. package/dist/cdn/{CJQCUJAM.js → QIJJMLMA.js} +2 -2
  238. package/dist/cdn/{IXHQQUJE.js → QKKZMTRI.js} +2 -2
  239. package/dist/cdn/{E5356ZMA.js → QNJKL7SK.js} +2 -2
  240. package/dist/cdn/{3QPYBQCK.js → QQ7DWVMW.js} +2 -2
  241. package/dist/cdn/{ACRHJFIK.js → QVPAC4JU.js} +2 -2
  242. package/dist/cdn/{DG3J22ET.js → QXJF7X7C.js} +2 -2
  243. package/dist/cdn/{KTWF7YEW.js → R2SZJCZZ.js} +2 -2
  244. package/dist/cdn/{X7S4K6O4.js → R5QNGLWD.js} +2 -2
  245. package/dist/cdn/{CRJF3MOM.js → R5RGPHNY.js} +2 -2
  246. package/dist/cdn/{IVMQMFER.js → RF3I2OVH.js} +2 -2
  247. package/dist/cdn/{4XVIRWML.js → RFGEXOGL.js} +2 -2
  248. package/dist/cdn/{XU5Y7VU2.js → RHWRSJAG.js} +2 -2
  249. package/dist/cdn/{KKXIEFPA.js → RJDGVBOH.js} +2 -2
  250. package/dist/cdn/{VDCKQGGM.js → RL2Q4UFY.js} +2 -2
  251. package/dist/cdn/{X5XLKUPY.js → RTFAFC47.js} +2 -2
  252. package/dist/cdn/{WC7D5CTI.js → RTIEUEZS.js} +2 -2
  253. package/dist/cdn/{2UWPI3SL.js → RTNFT7R7.js} +1 -1
  254. package/dist/cdn/{WTZ5V3MZ.js → SBZZ4K52.js} +2 -2
  255. package/dist/cdn/{O7XMERIK.js → SGYTO5Q3.js} +2 -2
  256. package/dist/cdn/{AVGRHD4G.js → SIAJA5J4.js} +2 -2
  257. package/dist/cdn/{G6MDAFDN.js → SJ7KLP57.js} +2 -2
  258. package/dist/cdn/{4WWV5LXT.js → SQ3WIIXR.js} +2 -2
  259. package/dist/cdn/{J4PD5ZQ7.js → SSCSISSJ.js} +1 -1
  260. package/dist/cdn/{MR4CUJA5.js → SUZ4YNXZ.js} +2 -2
  261. package/dist/cdn/{Q25NUDBB.js → T5AJ3VNL.js} +2 -2
  262. package/dist/cdn/{4DHQUG3W.js → T5N4USHO.js} +2 -2
  263. package/dist/cdn/{CUJAQZ7Q.js → T76KLUH7.js} +2 -2
  264. package/dist/cdn/{L2KEAIFF.js → TBOJZDNR.js} +2 -2
  265. package/dist/cdn/{TX7XEQOI.js → TC6GRMDI.js} +1 -1
  266. package/dist/cdn/{35FQADFO.js → TD24BI5O.js} +2 -2
  267. package/dist/cdn/{FB7AKBYZ.js → TFNUF2ZS.js} +2 -2
  268. package/dist/cdn/{F6HR2OXE.js → TGRQ3LJY.js} +2 -2
  269. package/dist/cdn/{F6NAYPRN.js → THIUOJJT.js} +2 -2
  270. package/dist/cdn/{LOXYPSQZ.js → TK65KBA3.js} +2 -2
  271. package/dist/cdn/{JOSXFLJM.js → TN2PGFEW.js} +2 -2
  272. package/dist/cdn/{MPNGG3EB.js → TOSLUXOS.js} +2 -2
  273. package/dist/cdn/{MJ3U6PJY.js → TUZ25PBB.js} +2 -2
  274. package/dist/cdn/{EW33PWBK.js → TVEY6INM.js} +1 -1
  275. package/dist/cdn/{XGMVUDCR.js → U2IDJDV3.js} +2 -2
  276. package/dist/cdn/{XUJUH4UK.js → U62Y5B5E.js} +2 -2
  277. package/dist/cdn/U6LFOJY4.js +4 -0
  278. package/dist/cdn/{AOB5K76I.js → UE6HX53N.js} +2 -2
  279. package/dist/cdn/{ZPI3URP2.js → UENIFZ42.js} +2 -2
  280. package/dist/cdn/{VHJXFNTB.js → UIHIMUAM.js} +2 -2
  281. package/dist/cdn/{7RXY54AE.js → UIXND4RG.js} +2 -2
  282. package/dist/cdn/{6KL3NJRR.js → UK3DTFAX.js} +1 -1
  283. package/dist/cdn/UL2XIT3X.js +4 -0
  284. package/dist/cdn/{N6FSCHMI.js → URFFUWLH.js} +2 -2
  285. package/dist/cdn/{KQIP55UX.js → URVMNZHN.js} +2 -2
  286. package/dist/cdn/{INIUEMX5.js → US7G3FCP.js} +2 -2
  287. package/dist/cdn/{OVEIHKZZ.js → USJVL6GN.js} +2 -2
  288. package/dist/cdn/{YYLWNW2V.js → UWKPNCNO.js} +2 -2
  289. package/dist/cdn/{67YBSQOW.js → UXSWM34Y.js} +2 -2
  290. package/dist/cdn/{27I2DU2C.js → VGD3ACHA.js} +2 -2
  291. package/dist/cdn/{Z27EOVYK.js → VKEAPFNA.js} +2 -2
  292. package/dist/cdn/{JE6G7YCF.js → VLEM3TR7.js} +2 -2
  293. package/dist/cdn/{OVB6WWYJ.js → VNFRWFAW.js} +2 -2
  294. package/dist/cdn/{DGAAG2WP.js → VPI6KWYG.js} +2 -2
  295. package/dist/cdn/{77F3Y4SZ.js → VPK4ZAZF.js} +2 -2
  296. package/dist/cdn/{N3V7I4KP.js → VR5TPQG5.js} +1 -1
  297. package/dist/cdn/{4DG5M3F4.js → VRDTBEBN.js} +2 -2
  298. package/dist/cdn/{ZASSV5QG.js → VXS22IEQ.js} +2 -2
  299. package/dist/cdn/{NSBCSLHQ.js → VYIVYXUJ.js} +2 -2
  300. package/dist/cdn/{F4YER46Y.js → VYLL3I6K.js} +2 -2
  301. package/dist/cdn/{64IH7HAU.js → VZDK2UMF.js} +2 -2
  302. package/dist/cdn/{DMLSWP4B.js → VZXWZRZ2.js} +2 -2
  303. package/dist/cdn/{4VTYPOLQ.js → W2UXZ3VQ.js} +1 -1
  304. package/dist/cdn/{GKDBDC5Q.js → WDIJJJAX.js} +2 -2
  305. package/dist/cdn/{3TZNTRGM.js → WHRW3IB5.js} +2 -2
  306. package/dist/cdn/{VD6EFCRJ.js → WMIBYGQF.js} +2 -2
  307. package/dist/cdn/{GPTEAVC5.js → WPCD65VV.js} +2 -2
  308. package/dist/cdn/{RKI47VQ2.js → WR5CZS6Z.js} +2 -2
  309. package/dist/cdn/{QOSVCQEN.js → WT4VJX6N.js} +2 -2
  310. package/dist/cdn/{U3YMG7NH.js → WTIIL4Z5.js} +2 -2
  311. package/dist/cdn/{RFLPQTHR.js → WVPA4RIC.js} +1 -1
  312. package/dist/cdn/{JLFUNC3I.js → WXO3ZL5M.js} +2 -2
  313. package/dist/cdn/{LMAODDCB.js → XHTNNEII.js} +2 -2
  314. package/dist/cdn/{CKNLHB2K.js → XINPX7UY.js} +2 -2
  315. package/dist/cdn/{OGINZV2L.js → XIU6KDAI.js} +1 -1
  316. package/dist/cdn/{PHDYMI4U.js → XJV2IHQU.js} +2 -2
  317. package/dist/cdn/{5LY5OONV.js → XKFBIOP5.js} +2 -2
  318. package/dist/cdn/{SFSJYGXN.js → XL3MO46G.js} +1 -1
  319. package/dist/cdn/XM6GFHKW.js +4 -0
  320. package/dist/cdn/{3XM3G7I5.js → XQJCGYXO.js} +1 -1
  321. package/dist/cdn/{3I7S3ZV4.js → XS5PMVOE.js} +2 -2
  322. package/dist/cdn/{ZQ53XSXJ.js → XSASM2S7.js} +2 -2
  323. package/dist/cdn/{DUSKO4ZL.js → XTNPOADE.js} +2 -2
  324. package/dist/cdn/{U62Y6WZO.js → XWO35XMC.js} +2 -2
  325. package/dist/cdn/{PNZWOZIO.js → Y5MQB5IG.js} +1 -1
  326. package/dist/cdn/{ZERWOJO6.js → YACUVAZK.js} +2 -2
  327. package/dist/cdn/{L5VACHLZ.js → YBOWQKWT.js} +2 -2
  328. package/dist/cdn/{Q253POJJ.js → YHY4R3U6.js} +1 -1
  329. package/dist/cdn/{SCHYFVMA.js → YKJ6JXET.js} +1 -1
  330. package/dist/cdn/{UYXUVFKE.js → YLSH4YUB.js} +2 -2
  331. package/dist/cdn/{REM4XQLE.js → YNCV66VN.js} +2 -2
  332. package/dist/cdn/{Y3TZCUDN.js → YQH4NZVR.js} +2 -2
  333. package/dist/cdn/{LR4UN32O.js → YQM3ZN4J.js} +2 -2
  334. package/dist/cdn/{5BLRWVVT.js → YUKEOO45.js} +2 -2
  335. package/dist/cdn/{2AN7ELSH.js → YWPBUNRL.js} +2 -2
  336. package/dist/cdn/{AADW5ILT.js → YYCNS5A5.js} +2 -2
  337. package/dist/cdn/Z3E6GUUX.js +18 -0
  338. package/dist/cdn/{W5LN2VYT.js → ZCRJFSKJ.js} +2 -2
  339. package/dist/cdn/{PDBMILPZ.js → ZE26QR3I.js} +1 -1
  340. package/dist/cdn/{VG77G3L3.js → ZP24UQVP.js} +2 -2
  341. package/dist/cdn/{GAYYLVCV.js → ZPG53QLG.js} +2 -2
  342. package/dist/cdn/{VJWAIQPC.js → ZSJQNSIY.js} +2 -2
  343. package/dist/cdn/{QESHG4WZ.js → ZYG6OTLK.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +3 -3
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +1 -1
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +1 -1
  389. package/dist/components/map-card/customElement.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-configuration/customElement.js +1 -1
  404. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  405. package/dist/components/solution-configure-titles/customElement.js +1 -1
  406. package/dist/components/solution-contents/customElement.js +1 -1
  407. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  408. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deployed-card/customElement.js +1 -1
  410. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  411. package/dist/components/solution-details-card/customElement.js +1 -1
  412. package/dist/components/solution-details-panel/customElement.js +1 -1
  413. package/dist/components/solution-item/customElement.js +1 -1
  414. package/dist/components/solution-item-accordion/customElement.js +1 -1
  415. package/dist/components/solution-item-details/customElement.js +1 -1
  416. package/dist/components/solution-item-diagram/customElement.js +1 -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-card/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +10 -10
  428. package/dist/components/solutions-all-panel/index.d.ts +1 -1
  429. package/dist/components/solutions-all-panel/index.js +1 -1
  430. package/dist/components/solutions-all-shell/customElement.js +1 -1
  431. package/dist/components/solutions-deploy-app/customElement.js +14 -14
  432. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  433. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-panel/customElement.js +33 -34
  435. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  436. package/dist/components/solutions-filter-panel/customElement.js +32 -32
  437. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  438. package/dist/components/solutions-resources/customElement.js +1 -1
  439. package/dist/components/solutions-resources-shell/customElement.js +11 -11
  440. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  441. package/dist/components/spatial-ref/customElement.js +1 -1
  442. package/dist/components/store-manager/customElement.js +1 -1
  443. package/dist/docs/api.json +1 -1
  444. package/dist/docs/docs.json +1 -1
  445. package/dist/docs/web-types.json +1 -1
  446. package/dist/index.js +1 -1
  447. package/dist/loader.js +1 -1
  448. package/package.json +1 -1
  449. package/dist/cdn/4GUQBFYH.js +0 -18
  450. package/dist/cdn/5BPJLXIU.js +0 -4
  451. package/dist/cdn/6CH6MP7M.js +0 -18
  452. package/dist/cdn/6OXM73V7.js +0 -4
  453. package/dist/cdn/7WEJILVE.js +0 -4
  454. package/dist/cdn/AKYVL4SJ.js +0 -18
  455. package/dist/cdn/CWUQXXM2.js +0 -4
  456. package/dist/cdn/FQUI4DDD.js +0 -4
  457. package/dist/cdn/QWXBFNTX.js +0 -4
  458. package/dist/cdn/RXTPHD3N.js +0 -4
  459. package/dist/cdn/SIV3TXNM.js +0 -18
  460. package/dist/cdn/VNZX5NLF.js +0 -4
  461. package/dist/cdn/X73PGIQR.js +0 -18
  462. package/dist/cdn/Y4NZE64P.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a}from"./XW6UDQOC.js";import"./Q253POJJ.js";export default a();
3
+ v1.2.0-next.15 */
4
+ import{a}from"./PXZ3HDAQ.js";import"./YHY4R3U6.js";export default 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
3
+ v1.2.0-next.15 */
4
4
  var s="calcite-mode-light",c="calcite-mode-dark";function a(e){let t=e?.closest(`.${c}, .${s}`);return t==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t?.classList.contains(c)?"dark":"light"}export{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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./32CJQFYT.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return S(i,p,e),R(i,r),I(i,a),i}function I(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function S(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
3
+ v1.2.0-next.15 */
4
+ import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./HIEPRI6M.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return S(i,p,e),R(i,r),I(i,a),i}function I(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function S(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{s as c}from"./T66ZKGRR.js";import{b as r}from"./CAOSAERX.js";import{E as i,h as a,i as p}from"./BT3PZ755.js";import"./Q253POJJ.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
3
+ v1.2.0-next.15 */
4
+ import{s as c}from"./HSM2426M.js";import{b as r}from"./LYUK5J5Q.js";import{E as i,h as a,i as p}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
3
+ v1.2.0-next.15 */
4
4
  function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as i}from"./VDCKQGGM.js";import"./Y4RGBYW4.js";import"./YYLWNW2V.js";import"./EW33PWBK.js";import"./E7X4JPJZ.js";import"./6MQTHJAJ.js";import"./FB7AKBYZ.js";import"./2AXIORVV.js";import"./SCHYFVMA.js";import"./2PQ2DS43.js";import"./RFLPQTHR.js";import"./J4PD5ZQ7.js";import"./6KL3NJRR.js";import"./HCGGITXI.js";import"./ACRHJFIK.js";import"./GZ4MUQVE.js";import"./3XM3G7I5.js";import"./OGINZV2L.js";import"./RSERAAVS.js";import"./SQKB5YHF.js";import"./MOSTA2DP.js";import"./32CJQFYT.js";import{a as v}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as u}from"./JKJ2E3QC.js";import{E as p,G as a,h as r,i as h,l as c,r as d}from"./BT3PZ755.js";import"./Q253POJJ.js";var g=r`@layer{/** @license
3
+ v1.2.0-next.15 */
4
+ import{a as i}from"./RL2Q4UFY.js";import"./HLVEN4KS.js";import"./UWKPNCNO.js";import"./TVEY6INM.js";import"./6TPJXOGA.js";import"./N45LPVOM.js";import"./TFNUF2ZS.js";import"./EVPTRQ6A.js";import"./YKJ6JXET.js";import"./5JODT3O3.js";import"./WVPA4RIC.js";import"./SSCSISSJ.js";import"./UK3DTFAX.js";import"./7WA3VJRZ.js";import"./QVPAC4JU.js";import"./HD274UTP.js";import"./XQJCGYXO.js";import"./XIU6KDAI.js";import"./G6VABLAG.js";import"./32UM7SZK.js";import"./NWZXSIOF.js";import"./HIEPRI6M.js";import{a as v}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as u}from"./KJC4PHVN.js";import{E as p,G as a,h as r,i as h,l as c,r as d}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var g=r`@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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import"./Q253POJJ.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.2.0-next.15 */
4
+ import"./YHY4R3U6.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import c from"./MSOGJSYT.js";import b from"./Y3TZCUDN.js";import"./CS2LIBSE.js";import a from"./27JI2VQ2.js";import{a as u}from"./XUTQASNK.js";import{a as v}from"./2AN7ELSH.js";import{C as _}from"./T66ZKGRR.js";import{b as h}from"./CAOSAERX.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{E as g,G as p,h as m,i as r}from"./BT3PZ755.js";import"./Q253POJJ.js";export default $arcgis.t(([,{a:s,b:y},{c:d,e:x,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},f=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let t=await _();this.intl=t}getCount(){let{categoryId:t}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!t)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,e=l.get(t),n;return e?.nestedInfos?n=T(e,this.infoIndex):n=e,Number.isNaN(n.count)?"":this.intl.formatNumber(n.count)}getTotalFeatureCount(){let t=this.activeLayerInfo.layer.id;if(!s.data||!t)return"";let a=s.data[t];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),e;if(l)e=C(i);else if(I(this.activeLayerInfo)){let n=x(this.activeLayerInfo.layer);e=d(n.categories)[1].count}else e=$(i);return this.intl.formatNumber(e)}render(){let t=y.get("compact")?c.compact:"";return u("int-legend-count",r`<div class=${p(t)}>${this.showTotal?r`<span class=${p(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:u("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",f);return f},a,b,c)
3
+ v1.2.0-next.15 */
4
+ import c from"./6DFODGMW.js";import b from"./YQH4NZVR.js";import"./52ZNWMHQ.js";import a from"./47LQUUSU.js";import{a as u}from"./JMPK7FSJ.js";import{a as v}from"./YWPBUNRL.js";import{C as _}from"./HSM2426M.js";import{b as h}from"./LYUK5J5Q.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{E as g,G as p,h as m,i as r}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";export default $arcgis.t(([,{a:s,b:y},{c:d,e:x,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},f=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let t=await _();this.intl=t}getCount(){let{categoryId:t}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!t)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,e=l.get(t),n;return e?.nestedInfos?n=T(e,this.infoIndex):n=e,Number.isNaN(n.count)?"":this.intl.formatNumber(n.count)}getTotalFeatureCount(){let t=this.activeLayerInfo.layer.id;if(!s.data||!t)return"";let a=s.data[t];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),e;if(l)e=C(i);else if(I(this.activeLayerInfo)){let n=x(this.activeLayerInfo.layer);e=d(n.categories)[1].count}else e=$(i);return this.intl.formatNumber(e)}render(){let t=y.get("compact")?c.compact:"";return u("int-legend-count",r`<div class=${p(t)}>${this.showTotal?r`<span class=${p(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:u("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",f);return f},a,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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as y}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as u}from"./JKJ2E3QC.js";import{D as f,E as b,h as p,i as m}from"./BT3PZ755.js";import"./Q253POJJ.js";var v=p`/** @license
3
+ v1.2.0-next.15 */
4
+ import{a as y}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as u}from"./KJC4PHVN.js";import{D as f,E as b,h as p,i as m}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var v=p`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as l}from"./2AN7ELSH.js";import{b as h}from"./CAOSAERX.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{E as r,G as n,h as i,i as a}from"./BT3PZ755.js";import"./Q253POJJ.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
3
+ v1.2.0-next.15 */
4
+ import{a as l}from"./YWPBUNRL.js";import{b as h}from"./LYUK5J5Q.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{E as r,G as n,h as i,i as a}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import c from"./Y3TZCUDN.js";import{a as x}from"./CS2LIBSE.js";import a from"./27JI2VQ2.js";import{a as N}from"./XUTQASNK.js";import{a as D}from"./2AN7ELSH.js";import{E as k,h as R,i as L}from"./T66ZKGRR.js";import{b as F}from"./CAOSAERX.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./BT3PZ755.js";import"./Q253POJJ.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=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]]]),U=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 B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{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=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);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(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);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(h)?"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?B(e,t):s===3?G(e,t):s===4?q(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===j?this.twoClassAttributes(a,t,s):i===O?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 j:return W;case O:return X;case Q:return Y;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 d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,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 R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=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,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});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(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),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.2.0-next.15 */
4
+ import c from"./YQH4NZVR.js";import{a as x}from"./52ZNWMHQ.js";import a from"./47LQUUSU.js";import{a as N}from"./JMPK7FSJ.js";import{a as D}from"./YWPBUNRL.js";import{E as k,h as R,i as L}from"./HSM2426M.js";import{b as F}from"./LYUK5J5Q.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=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]]]),U=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 B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{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=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);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(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);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(h)?"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?B(e,t):s===3?G(e,t):s===4?q(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===j?this.twoClassAttributes(a,t,s):i===O?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 j:return W;case O:return X;case Q:return Y;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 d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,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 R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=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,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});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(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import"./Q253POJJ.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.2.0-next.15 */
4
+ import"./YHY4R3U6.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as e}from"./SQKB5YHF.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
3
+ v1.2.0-next.15 */
4
+ import{a as e}from"./32UM7SZK.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as o}from"./6KL3NJRR.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
3
+ v1.2.0-next.15 */
4
+ import{a as o}from"./UK3DTFAX.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as e}from"./HAXUZW3B.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.2.0-next.15 */
4
+ import{a as e}from"./3Z34HOVN.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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as u}from"./LQZ5FBXA.js";import{a as g,c as m}from"./PNZWOZIO.js";import{b as l}from"./A437YTBB.js";import"./Y4RGBYW4.js";import"./YYLWNW2V.js";import"./EW33PWBK.js";import"./E7X4JPJZ.js";import"./6MQTHJAJ.js";import"./FB7AKBYZ.js";import"./2AXIORVV.js";import"./SCHYFVMA.js";import"./2PQ2DS43.js";import"./RFLPQTHR.js";import"./J4PD5ZQ7.js";import"./6KL3NJRR.js";import"./HCGGITXI.js";import"./ACRHJFIK.js";import"./GZ4MUQVE.js";import"./3XM3G7I5.js";import"./OGINZV2L.js";import"./RSERAAVS.js";import"./SQKB5YHF.js";import"./MOSTA2DP.js";import{a as p}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as h}from"./JKJ2E3QC.js";import{C as o,D as s,E as d,I as i,h as r,i as t,j as c}from"./BT3PZ755.js";import"./Q253POJJ.js";var f=r`/** @license
3
+ v1.2.0-next.15 */
4
+ import{a as u}from"./P4ZT2VNI.js";import{a as g,c as m}from"./Y5MQB5IG.js";import{b as l}from"./KYJTZ7GN.js";import"./HLVEN4KS.js";import"./UWKPNCNO.js";import"./TVEY6INM.js";import"./6TPJXOGA.js";import"./N45LPVOM.js";import"./TFNUF2ZS.js";import"./EVPTRQ6A.js";import"./YKJ6JXET.js";import"./5JODT3O3.js";import"./WVPA4RIC.js";import"./SSCSISSJ.js";import"./UK3DTFAX.js";import"./7WA3VJRZ.js";import"./QVPAC4JU.js";import"./HD274UTP.js";import"./XQJCGYXO.js";import"./XIU6KDAI.js";import"./G6VABLAG.js";import"./32UM7SZK.js";import"./NWZXSIOF.js";import{a as p}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as h}from"./KJC4PHVN.js";import{C as o,D as s,E as d,I as i,h as r,i as t,j as c}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var f=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
3
+ v1.2.0-next.15 */
4
4
  var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as i}from"./CFSE4FBZ.js";import{a as s,c as l,d as r}from"./HCGGITXI.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
3
+ v1.2.0-next.15 */
4
+ import{a as i}from"./J66N75YM.js";import{a as s,c as l,d as r}from"./7WA3VJRZ.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a,b}from"./7FDUBCB6.js";import"./HAXUZW3B.js";import"./2DGB5L7S.js";import"./N3V7I4KP.js";import"./Q253POJJ.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
3
+ v1.2.0-next.15 */
4
+ import{a,b}from"./GIZDZBX3.js";import"./3Z34HOVN.js";import"./AXRO5Y2Q.js";import"./VR5TPQG5.js";import"./YHY4R3U6.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{ja as m,lb as l}from"./Y4RGBYW4.js";import{v as u}from"./GZ4MUQVE.js";import{H as c}from"./32CJQFYT.js";export default $arcgis.t(([])=>{function N(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}async function g(t,e){let r=e,n=await r.getUsername(),a={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:r},f=(await l(a)).results.map(s=>s.title),{folders:h}=await m(r),p=h.map(s=>s.title),i=[...f,...p].map(s=>s.trim().toLowerCase()),o=t.toLowerCase(),d=i.filter(s=>s===o),w=i.filter(s=>s.startsWith(o));return{conflictingNames:d,similiarNames:w}}async function b(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await g(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function C(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}function I(t,e,r,n){let a="";return e?a=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):a=r,a}function O(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,r){return e.some(n=>n.wkid===t?(r=n.defaultExtent,!0):!1),r}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let r="";return t.some(n=>n.startsWith(e)?(r=n.substring(e.length),!0):!1),r}function L(t,e){let r=t?.reduce((n,a)=>(n.indexOf(a.id)<0&&n.push(a.id),n),[])||[];return e?r.sort((n,a)=>e.indexOf(n)-e.indexOf(a)):r}return{a:N,b:g,c:b,d:k,e:C,f:x,g:I,h:O,i:A,j:D,k:F,l:L}},"intl")
3
+ v1.2.0-next.15 */
4
+ import{ja as m,lb as l}from"./HLVEN4KS.js";import{v as u}from"./HD274UTP.js";import{H as c}from"./HIEPRI6M.js";export default $arcgis.t(([])=>{function N(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}async function g(t,e){let r=e,n=await r.getUsername(),a={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:r},f=(await l(a)).results.map(s=>s.title),{folders:h}=await m(r),p=h.map(s=>s.title),i=[...f,...p].map(s=>s.trim().toLowerCase()),o=t.toLowerCase(),d=i.filter(s=>s===o),w=i.filter(s=>s.startsWith(o));return{conflictingNames:d,similiarNames:w}}async function b(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await g(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function C(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}function I(t,e,r,n){let a="";return e?a=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):a=r,a}function O(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,r){return e.some(n=>n.wkid===t?(r=n.defaultExtent,!0):!1),r}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let r="";return t.some(n=>n.startsWith(e)?(r=n.substring(e.length),!0):!1),r}function L(t,e){let r=t?.reduce((n,a)=>(n.indexOf(a.id)<0&&n.push(a.id),n),[])||[];return e?r.sort((n,a)=>e.indexOf(n)-e.indexOf(a)):r}return{a:N,b:g,c:b,d:k,e:C,f:x,g:I,h:O,i:A,j:D,k:F,l:L}},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./32KLJCZ5.js";import{a as r}from"./FLMHLO43.js";import"./RKI47VQ2.js";import"./KQIP55UX.js";import"./4VTYPOLQ.js";import"./DJIPWE3W.js";import"./L3Q3HM35.js";import"./RGEOJKWT.js";import"./DGAAG2WP.js";import"./MOSTA2DP.js";import"./UYXUVFKE.js";import"./ZMWV3XIS.js";import"./XGMVUDCR.js";import"./FC7SCLY3.js";import"./L2KEAIFF.js";import"./LOXYPSQZ.js";import"./7HCS7QDO.js";import"./7FDUBCB6.js";import"./TFX7FLLB.js";import"./7INSFWLF.js";import"./HAXUZW3B.js";import"./2DGB5L7S.js";import"./N3V7I4KP.js";import"./SFSJYGXN.js";import"./Q253POJJ.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.2.0-next.15 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./C675SGIU.js";import{a as r}from"./HECNXLJ5.js";import"./WR5CZS6Z.js";import"./URVMNZHN.js";import"./W2UXZ3VQ.js";import"./2Z3T6T5H.js";import"./AVWH7V2G.js";import"./KQRHQKTT.js";import"./VPI6KWYG.js";import"./NWZXSIOF.js";import"./YLSH4YUB.js";import"./F2TCHWET.js";import"./U2IDJDV3.js";import"./LAGBD4ZG.js";import"./TBOJZDNR.js";import"./TK65KBA3.js";import"./DAFCUVTS.js";import"./GIZDZBX3.js";import"./4GRPOGJP.js";import"./J32P3IUF.js";import"./3Z34HOVN.js";import"./AXRO5Y2Q.js";import"./VR5TPQG5.js";import"./XL3MO46G.js";import"./YHY4R3U6.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{b as p,d as a,e as h,f as E}from"./3XM3G7I5.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
3
+ v1.2.0-next.15 */
4
+ import{b as p,d as a,e as h,f as E}from"./XQJCGYXO.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{a as l}from"./RKI47VQ2.js";import{a as e}from"./KQIP55UX.js";import{a as v}from"./RGEOJKWT.js";import{a as y}from"./DGAAG2WP.js";import{a as t}from"./UYXUVFKE.js";import{a as i}from"./ZMWV3XIS.js";import{a as p}from"./XGMVUDCR.js";import{a as d}from"./FC7SCLY3.js";import{a as E}from"./L2KEAIFF.js";import{a as s}from"./LOXYPSQZ.js";import{a as n}from"./7HCS7QDO.js";import{a}from"./7FDUBCB6.js";import{a as r}from"./TFX7FLLB.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.2.0-next.15 */
4
+ import{a as l}from"./WR5CZS6Z.js";import{a as e}from"./URVMNZHN.js";import{a as v}from"./KQRHQKTT.js";import{a as y}from"./VPI6KWYG.js";import{a as t}from"./YLSH4YUB.js";import{a as i}from"./F2TCHWET.js";import{a as p}from"./U2IDJDV3.js";import{a as d}from"./LAGBD4ZG.js";import{a as E}from"./TBOJZDNR.js";import{a as s}from"./TK65KBA3.js";import{a as n}from"./DAFCUVTS.js";import{a}from"./GIZDZBX3.js";import{a as r}from"./4GRPOGJP.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
4
- import{c as m}from"./PNZWOZIO.js";import{b as g}from"./A437YTBB.js";import{a as u}from"./CDKJFB3T.js";import"./WDUEH22A.js";import"./VNHY7WVH.js";import{b as p}from"./JKJ2E3QC.js";import{C as s,E as h,h as c,i as t,o as d}from"./BT3PZ755.js";import"./Q253POJJ.js";var b=c`/** @license
3
+ v1.2.0-next.15 */
4
+ import{c as m}from"./Y5MQB5IG.js";import{b as g}from"./KYJTZ7GN.js";import{a as u}from"./MMLBUMFZ.js";import"./L733W7AD.js";import"./BE4OEXWO.js";import{b as p}from"./KJC4PHVN.js";import{C as s,E as h,h as c,i as t,o as d}from"./OPK4XF2Q.js";import"./YHY4R3U6.js";var b=c`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.14 */
3
+ v1.2.0-next.15 */
4
4
  var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),E=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(E||{}),t=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(t||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",u=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",P="portal:publisher:publishServerGPServices",m="portal:publisher:publishRealTimeAnalytics",b="portal:user:shareToGroup",g="solutions:hubPremium",G="solutions:notebook",M="solutions:locationtracking:admin:tracking",h="solutions:locationtracking:tracking",F="solutions:locationtracking:admin",k="solutions:velocity",y="solutions:workflowManager",H=250;export{e as a,o as b,E as c,t as d,i as e,n as f,r as g,I as h,N as i,u as j,l as k,A as l,T as m,R as n,S as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,P as x,m as y,b as z,g as A,G as B,M as C,h as D,F as E,k as F,y as G,H};