@esri/solutions-components 1.1.0-next.20251015.1 → 1.1.0

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 (487) hide show
  1. package/dist/cdn/{IKYTE2FN.js → 22OA2X7F.js} +2 -2
  2. package/dist/cdn/{RU2ZQUD7.js → 23S4BMNB.js} +2 -2
  3. package/dist/cdn/{CNMMVNTV.js → 27OQI5JT.js} +2 -2
  4. package/dist/cdn/{UEQ3VZSA.js → 2BQCOVME.js} +2 -2
  5. package/dist/cdn/{V3OBNAAE.js → 2CIRIU3Q.js} +2 -2
  6. package/dist/cdn/{54ARXWKE.js → 2G3HCFJ7.js} +2 -2
  7. package/dist/cdn/{IJEJKEC4.js → 2J6BGZWE.js} +2 -2
  8. package/dist/cdn/{44EJZA6T.js → 2KKFZ7KY.js} +2 -2
  9. package/dist/cdn/{CBDB4RMH.js → 2LIVMQO2.js} +2 -2
  10. package/dist/cdn/{2UCZ6YBP.js → 2PFP4SVP.js} +2 -2
  11. package/dist/cdn/{RGGFNMOE.js → 2XTYWT3B.js} +2 -2
  12. package/dist/cdn/{2S7PDHXP.js → 2ZJRDJJK.js} +2 -2
  13. package/dist/cdn/{FYDX2SB7.js → 32HJ7U6I.js} +2 -2
  14. package/dist/cdn/{AGF3GSOI.js → 34LPRBJE.js} +3 -3
  15. package/dist/cdn/{YY6GCCSV.js → 37HGSBPX.js} +2 -2
  16. package/dist/cdn/{QU3PWGK6.js → 3AZTP5O6.js} +2 -2
  17. package/dist/cdn/{YJ5RGO3H.js → 3JHRLX63.js} +2 -2
  18. package/dist/cdn/{V4KGEXE2.js → 3JNOCCQ5.js} +2 -2
  19. package/dist/cdn/{NLMPFG6X.js → 3LABEKOR.js} +2 -2
  20. package/dist/cdn/{WYGVR7KD.js → 3MC7JXDY.js} +2 -2
  21. package/dist/cdn/{MOAG6X2Y.js → 3MPDK4WK.js} +2 -2
  22. package/dist/cdn/{LDNSWL2Z.js → 3O2T33CU.js} +2 -2
  23. package/dist/cdn/{6YKCCSEU.js → 3PD2HBG5.js} +2 -2
  24. package/dist/cdn/{B37RCFLV.js → 3S2J6YOU.js} +2 -2
  25. package/dist/cdn/3WH4NYCV.js +18 -0
  26. package/dist/cdn/{6UWUDE55.js → 3WJFXADS.js} +1 -1
  27. package/dist/cdn/{YEL6ZGK7.js → 3WWK4QH7.js} +2 -2
  28. package/dist/cdn/{QHLLQI42.js → 46SKFEV5.js} +2 -2
  29. package/dist/cdn/{4AC3EMTS.js → 4CQVWVRQ.js} +2 -2
  30. package/dist/cdn/{GBLEKTEQ.js → 4FKOEYT7.js} +2 -2
  31. package/dist/cdn/{NQ6KROBY.js → 4OJUMAO5.js} +2 -2
  32. package/dist/cdn/4YJSVXJ5.js +4 -0
  33. package/dist/cdn/{4OXWZV57.js → 52OASXL7.js} +2 -2
  34. package/dist/cdn/{5N6VXCFL.js → 54NFAZPM.js} +2 -2
  35. package/dist/cdn/{2OERSEL4.js → 57NVVPZ6.js} +2 -2
  36. package/dist/cdn/{XVIJ22OG.js → 5G7ROHGR.js} +2 -2
  37. package/dist/cdn/{GSE6TLTV.js → 5MIJQHLO.js} +2 -2
  38. package/dist/cdn/{3VYCPR2S.js → 5PI2LBL6.js} +1 -1
  39. package/dist/cdn/{VTDDIS6F.js → 5RWKIDK3.js} +2 -2
  40. package/dist/cdn/{AD6Y4WAH.js → 5SS6W6NK.js} +2 -2
  41. package/dist/cdn/{XVXCQG3C.js → 5VLZX43L.js} +2 -2
  42. package/dist/cdn/{LMVJPTLK.js → 63LGZYFE.js} +2 -2
  43. package/dist/cdn/{D5Q4UAHQ.js → 65W7HSK5.js} +2 -2
  44. package/dist/cdn/{IZ4L64TO.js → 66RUIDW2.js} +2 -2
  45. package/dist/cdn/{LBCHSNQJ.js → 6BN55UJC.js} +2 -2
  46. package/dist/cdn/{A6OECACX.js → 6CR3ELYN.js} +2 -2
  47. package/dist/cdn/{M22UUKAK.js → 6CYD25YN.js} +2 -2
  48. package/dist/cdn/{K5SS6M5G.js → 6ELJSTOG.js} +2 -2
  49. package/dist/cdn/{FELFYFY4.js → 6GVUSF7Y.js} +2 -2
  50. package/dist/cdn/{2QM7BE4O.js → 6HYASXTD.js} +2 -2
  51. package/dist/cdn/{P7IXPN44.js → 6NWHOOTK.js} +1 -1
  52. package/dist/cdn/{JAESJZGN.js → 6QX7DZ4M.js} +2 -2
  53. package/dist/cdn/{MZKZVHAM.js → 6RIMAYT3.js} +2 -2
  54. package/dist/cdn/{ZVGNI444.js → 6TV3KIXK.js} +2 -2
  55. package/dist/cdn/{GD5HWGXK.js → 6WB4Q4JY.js} +2 -2
  56. package/dist/cdn/{5B5RZS2K.js → 737LKBTG.js} +1 -1
  57. package/dist/cdn/{GQ4PWQQW.js → 73SD6Y3C.js} +2 -2
  58. package/dist/cdn/{ND3DHQ24.js → 77FI7XPK.js} +2 -2
  59. package/dist/cdn/{YDYYJMXJ.js → 77NM6UZI.js} +2 -2
  60. package/dist/cdn/7BXNJPWD.js +4 -0
  61. package/dist/cdn/{OKHGJM4V.js → 7CUPT6B7.js} +2 -2
  62. package/dist/cdn/{FTWTALZD.js → 7HGENER4.js} +2 -2
  63. package/dist/cdn/{VFIVVIKJ.js → 7JFSYU6C.js} +2 -2
  64. package/dist/cdn/{5QMHMYYC.js → 7ODMOYJD.js} +2 -2
  65. package/dist/cdn/{TNRGSGGK.js → 7T2EBM7A.js} +2 -2
  66. package/dist/cdn/{FLIACCNY.js → 7UCBWXL5.js} +2 -2
  67. package/dist/cdn/{ZNPCXRYH.js → 7UNMXF34.js} +2 -2
  68. package/dist/cdn/{XXVYYOKU.js → 7WT26OPO.js} +2 -2
  69. package/dist/cdn/{DQNFCW45.js → 7XJEVL4H.js} +2 -2
  70. package/dist/cdn/{MQSWCDFV.js → A5WNDAV3.js} +2 -2
  71. package/dist/cdn/{TGTBQ4IM.js → A7SGX5YT.js} +2 -2
  72. package/dist/cdn/{VO2TBKVN.js → AA5OWGXP.js} +3 -3
  73. package/dist/cdn/{CKVNTJTS.js → ABUXWFTT.js} +2 -2
  74. package/dist/cdn/{BSYCFXAN.js → AFHWOLNP.js} +2 -2
  75. package/dist/cdn/{XUDVBJIK.js → AFTTIRBK.js} +2 -2
  76. package/dist/cdn/{5L57Y4TT.js → AIH4IM4R.js} +1 -1
  77. package/dist/cdn/{6OL47FHV.js → AMY5TGXW.js} +2 -2
  78. package/dist/cdn/{S7DJNJYY.js → AOXMRIER.js} +2 -2
  79. package/dist/cdn/{KWOBCXTI.js → B2YABCF7.js} +2 -2
  80. package/dist/cdn/{G3H7D6UH.js → B4BAMNQZ.js} +2 -2
  81. package/dist/cdn/{2HPCEZUF.js → B5FFRI4V.js} +2 -2
  82. package/dist/cdn/{HWY7JULN.js → B5PO5VTY.js} +2 -2
  83. package/dist/cdn/{AJX4JPNT.js → B5TRNVXS.js} +2 -2
  84. package/dist/cdn/{WYUJ6NBJ.js → BD4Z5LKE.js} +2 -2
  85. package/dist/cdn/{I46NMZAU.js → BDGS3VJY.js} +2 -2
  86. package/dist/cdn/BE572B5U.js +4 -0
  87. package/dist/cdn/{FH6MNROE.js → BEXEPRS5.js} +2 -2
  88. package/dist/cdn/{7QR7NLOV.js → BMJZ7SJU.js} +2 -2
  89. package/dist/cdn/{EXCMCYSA.js → BSIAQJUA.js} +2 -2
  90. package/dist/cdn/{HE5NK4OL.js → BYTSY4W5.js} +2 -2
  91. package/dist/cdn/{6WCUSZH7.js → BZLXK5A3.js} +2 -2
  92. package/dist/cdn/{3PXOZ4VC.js → C2K74RDX.js} +2 -2
  93. package/dist/cdn/{LWBQ4ZM5.js → CAQOBV5A.js} +2 -2
  94. package/dist/cdn/CB76NLMT.js +18 -0
  95. package/dist/cdn/{P3V7RDMU.js → CF54Q5YE.js} +2 -2
  96. package/dist/cdn/{OFGWTNNG.js → CHUHLOJP.js} +2 -2
  97. package/dist/cdn/{2BA65KL3.js → CISIY5U6.js} +2 -2
  98. package/dist/cdn/{IE4V76VW.js → CLAJ2XOW.js} +2 -2
  99. package/dist/cdn/{PPG2TLS5.js → CRPP5JXO.js} +2 -2
  100. package/dist/cdn/{TNISWTVC.js → D64WOL2G.js} +2 -2
  101. package/dist/cdn/{ZFCGEWOY.js → D6XWLOBU.js} +2 -2
  102. package/dist/cdn/DCWBNROW.js +4 -0
  103. package/dist/cdn/{MUXEW2EI.js → DFGZSNVP.js} +2 -2
  104. package/dist/cdn/{SDVDM2NG.js → DFS7UUPH.js} +1 -1
  105. package/dist/cdn/{GYGRE36O.js → DGDKGAQK.js} +2 -2
  106. package/dist/cdn/{N2BTXBRA.js → DMQN2SPN.js} +2 -2
  107. package/dist/cdn/{FOHDHPD5.js → DNW5Y7XF.js} +2 -2
  108. package/dist/cdn/{PVXYECTY.js → DTDQRALM.js} +1 -1
  109. package/dist/cdn/{74WWSALI.js → DVFWIJKG.js} +2 -2
  110. package/dist/cdn/{A5BM3TJ6.js → E3VAATPC.js} +2 -2
  111. package/dist/cdn/E6WOGJ7F.js +18 -0
  112. package/dist/cdn/{T5BTHDQC.js → E7R7Q7EG.js} +2 -2
  113. package/dist/cdn/{CPVITWV2.js → EAKI67WF.js} +1 -1
  114. package/dist/cdn/{OGL56OTR.js → EFMAKPKZ.js} +2 -2
  115. package/dist/cdn/{UP63PL53.js → EIX5TZGC.js} +2 -2
  116. package/dist/cdn/ELHIFSH4.js +18 -0
  117. package/dist/cdn/{U7XTDM5N.js → EMULILDA.js} +2 -2
  118. package/dist/cdn/{A2IH3ITG.js → ENCPN6WR.js} +2 -2
  119. package/dist/cdn/{7KXXVAFB.js → EUKEOESV.js} +2 -2
  120. package/dist/cdn/{5JHSSQWV.js → EXVYTJWZ.js} +2 -2
  121. package/dist/cdn/{GUJXAFBP.js → F7FFT7ZB.js} +2 -2
  122. package/dist/cdn/{WOGOO5RO.js → FAFYE3RG.js} +2 -2
  123. package/dist/cdn/{R3ZUPICV.js → FCGQOSCY.js} +2 -2
  124. package/dist/cdn/{SGH2DPH6.js → FDAMAPG2.js} +2 -2
  125. package/dist/cdn/{OUTI3YYH.js → FFTVUIP7.js} +2 -2
  126. package/dist/cdn/{OGLRNF4U.js → FPVWCIO7.js} +2 -2
  127. package/dist/cdn/{HBRFFY75.js → FQHTZYT7.js} +2 -2
  128. package/dist/cdn/{B7XE662D.js → FXCOD63W.js} +1 -1
  129. package/dist/cdn/{Q5SMZOBS.js → G27RLQ73.js} +2 -2
  130. package/dist/cdn/{BMYAJRPQ.js → G2MFQY2I.js} +2 -2
  131. package/dist/cdn/{I7MSVZLZ.js → G34G6TIZ.js} +1 -1
  132. package/dist/cdn/{KBYWVXJP.js → G3PBPFWO.js} +2 -2
  133. package/dist/cdn/{NCCHYDZY.js → G5D25KB4.js} +2 -2
  134. package/dist/cdn/{7VASVJJE.js → GDSDHDUW.js} +2 -2
  135. package/dist/cdn/{LHKXWAKI.js → GEKASHAI.js} +2 -2
  136. package/dist/cdn/{MAZA2SKN.js → GFUALEHA.js} +2 -2
  137. package/dist/cdn/GJFL7VU5.js +4 -0
  138. package/dist/cdn/{TYF2N7GJ.js → GM6B5U7P.js} +1 -1
  139. package/dist/cdn/{J7ZLGYPV.js → GNRM32HC.js} +2 -2
  140. package/dist/cdn/{BPLLQ4TU.js → GNTR7EXR.js} +2 -2
  141. package/dist/cdn/{2IIIGO6P.js → GPB44MSI.js} +2 -2
  142. package/dist/cdn/{SDS5IDG7.js → GPZYE77D.js} +2 -2
  143. package/dist/cdn/{FKUDFCE7.js → GWXJIXZK.js} +2 -2
  144. package/dist/cdn/{5EBO3CK2.js → H5AWEVBV.js} +2 -2
  145. package/dist/cdn/{C2SEGVFV.js → HBEIE66Z.js} +2 -2
  146. package/dist/cdn/{6N5Z7ELO.js → HBOQ63ZP.js} +2 -2
  147. package/dist/cdn/{UCJ2FA3M.js → HCNCUGZS.js} +2 -2
  148. package/dist/cdn/{3A4TXKCP.js → HEHSIXHI.js} +2 -2
  149. package/dist/cdn/{GJ2RMK23.js → HGNTIYQT.js} +1 -1
  150. package/dist/cdn/HLQQ6TR4.js +4 -0
  151. package/dist/cdn/HMWODJBR.js +18 -0
  152. package/dist/cdn/{EMYF6EFA.js → HMYGFTDB.js} +2 -2
  153. package/dist/cdn/{XHLKA46H.js → HO32BNLM.js} +2 -2
  154. package/dist/cdn/{ZUZFCM6S.js → I37HZ5SF.js} +2 -2
  155. package/dist/cdn/{CVN3FH5T.js → I4WH544G.js} +2 -2
  156. package/dist/cdn/{57Q4JDZ5.js → I5A7IN5I.js} +2 -2
  157. package/dist/cdn/{FYCEFUOT.js → I6EXN7WV.js} +2 -2
  158. package/dist/cdn/{5CVOFWHG.js → IN6U55HN.js} +2 -2
  159. package/dist/cdn/{54CB6RT5.js → IQUWACDD.js} +2 -2
  160. package/dist/cdn/{6NICUPTA.js → ITS5XU77.js} +2 -2
  161. package/dist/cdn/{4LUB2XZG.js → IUEMG5YD.js} +2 -2
  162. package/dist/cdn/{IYPSTJMC.js → IWBODHPW.js} +2 -2
  163. package/dist/cdn/{6I6JPIBT.js → IWW5ZJYG.js} +1 -1
  164. package/dist/cdn/{GWZZ3ITH.js → IYTOH2LC.js} +2 -2
  165. package/dist/cdn/{T5I64IOL.js → IZ3E7B3U.js} +1 -1
  166. package/dist/cdn/{YGWVMAMB.js → J2M33U55.js} +2 -2
  167. package/dist/cdn/{BACBIPDO.js → J47QX26L.js} +2 -2
  168. package/dist/cdn/{Y3DMPNFD.js → J6BTZ55D.js} +2 -2
  169. package/dist/cdn/{GWKGCSUR.js → J6MD6K4M.js} +2 -2
  170. package/dist/cdn/{UUQ2YDIF.js → JN54IUSM.js} +2 -2
  171. package/dist/cdn/{GW2HRQKT.js → JNSGECLI.js} +2 -2
  172. package/dist/cdn/{SNJH2RQI.js → JUYYKVTE.js} +2 -2
  173. package/dist/cdn/{665YHS3W.js → JXWALA62.js} +2 -2
  174. package/dist/cdn/{KMDBOCW2.js → JY3NCY33.js} +2 -2
  175. package/dist/cdn/{GMPLR4J5.js → JZXCUVBD.js} +2 -2
  176. package/dist/cdn/{64H4PIK5.js → K4CXKC7Z.js} +2 -2
  177. package/dist/cdn/{TO5OTLKP.js → K6GQIHMH.js} +2 -2
  178. package/dist/cdn/{PT3EGARC.js → KABQHXRV.js} +2 -2
  179. package/dist/cdn/{5AEWU6E5.js → KCYMVFRG.js} +1 -1
  180. package/dist/cdn/{4FNJTCB2.js → KDGLKJHT.js} +2 -2
  181. package/dist/cdn/{SCQL3GII.js → KEFZ5YNV.js} +2 -2
  182. package/dist/cdn/{XH3DR75Z.js → KFZSBDTM.js} +1 -1
  183. package/dist/cdn/{TIFSOMQF.js → KHFJW53Q.js} +1 -1
  184. package/dist/cdn/{NIOHLEO5.js → KHHVMDSQ.js} +2 -2
  185. package/dist/cdn/{RPK4OTEA.js → KLZMOMHU.js} +2 -2
  186. package/dist/cdn/KM3EU4G7.js +4 -0
  187. package/dist/cdn/{GMOOMMHR.js → KPBMYOZ7.js} +2 -2
  188. package/dist/cdn/{QN4JXS37.js → KQ6BMUH2.js} +2 -2
  189. package/dist/cdn/{4QXXAX3U.js → KVXSGN5R.js} +2 -2
  190. package/dist/cdn/{QYAKMJPA.js → KXTNCTMP.js} +1 -1
  191. package/dist/cdn/{3IIWPGCK.js → KZKIRXHE.js} +1 -1
  192. package/dist/cdn/{PD3N7S4N.js → KZZHJTPP.js} +2 -2
  193. package/dist/cdn/{ZRCBFR6O.js → L2LNLN2J.js} +2 -2
  194. package/dist/cdn/L3KHD2KE.js +18 -0
  195. package/dist/cdn/{YTULUCEY.js → L42OF72U.js} +2 -2
  196. package/dist/cdn/{FYQSS5YY.js → L6IAJ72L.js} +1 -1
  197. package/dist/cdn/{B2PH3JH2.js → LAS2MWM5.js} +2 -2
  198. package/dist/cdn/{JG5LUSYX.js → LGLWUNU4.js} +2 -2
  199. package/dist/cdn/{3AOH7JGU.js → LHZ6WPMD.js} +2 -2
  200. package/dist/cdn/{J72MOBVK.js → LNLTESOF.js} +2 -2
  201. package/dist/cdn/{KPBAXB4Q.js → LTJJAN4Y.js} +2 -2
  202. package/dist/cdn/{EDWTUT7G.js → LU3PYJCN.js} +2 -2
  203. package/dist/cdn/{FGCTUPDT.js → LVUNXO2O.js} +2 -2
  204. package/dist/cdn/{OZHTQMES.js → LWMOWGIK.js} +1 -1
  205. package/dist/cdn/{IEJZM3BQ.js → M23LVYVA.js} +1 -1
  206. package/dist/cdn/{NBPRKXKH.js → M6AVBUON.js} +2 -2
  207. package/dist/cdn/{MG3DM3OR.js → M7PDEIFC.js} +1 -1
  208. package/dist/cdn/{PCGVPBPI.js → MADKV4CG.js} +2 -2
  209. package/dist/cdn/{HENQGQKO.js → MFPSQMUN.js} +2 -2
  210. package/dist/cdn/{YH5SQV2R.js → MH32IF4W.js} +2 -2
  211. package/dist/cdn/{RDUT4GXF.js → MX6FACCZ.js} +1 -1
  212. package/dist/cdn/{VLLEVWC4.js → N4BEAJUM.js} +2 -2
  213. package/dist/cdn/{SRPKARII.js → N5TXBTFE.js} +2 -2
  214. package/dist/cdn/{4KYLVFZE.js → N7VU2XX4.js} +2 -2
  215. package/dist/cdn/{B4NHS7W5.js → NABAVD67.js} +2 -2
  216. package/dist/cdn/{LANYKU26.js → NDCEYZWS.js} +1 -1
  217. package/dist/cdn/{ZFZT6JP2.js → NFBVFXNO.js} +2 -2
  218. package/dist/cdn/{HFNNMH6J.js → NM2FEB5M.js} +2 -2
  219. package/dist/cdn/{5V5R7K45.js → NNQ5VAQF.js} +1 -1
  220. package/dist/cdn/{T5KFVVMD.js → NPMQPRZI.js} +2 -2
  221. package/dist/cdn/{MCV2G4PS.js → NWWECZ3X.js} +2 -2
  222. package/dist/cdn/{7D3QF2ET.js → NZFFMH5C.js} +2 -2
  223. package/dist/cdn/{EM65WRYK.js → NZVQGLFO.js} +2 -2
  224. package/dist/cdn/{KUHFKNOC.js → O2H7SA7K.js} +2 -2
  225. package/dist/cdn/{OQC5V5U7.js → O4VMCJVT.js} +2 -2
  226. package/dist/cdn/{P2Z4XQ4N.js → O56WT525.js} +2 -2
  227. package/dist/cdn/{YZV37Z46.js → OIC5TDYB.js} +2 -2
  228. package/dist/cdn/{MCV7H4QG.js → OJCMPRDV.js} +2 -2
  229. package/dist/cdn/{67T3HMOS.js → OM24RA5F.js} +2 -2
  230. package/dist/cdn/{KBHPYZIT.js → OTASRO63.js} +2 -2
  231. package/dist/cdn/{EVLQDNEN.js → OTMGXPHO.js} +2 -2
  232. package/dist/cdn/{ICPASROB.js → OUIS7DTF.js} +1 -1
  233. package/dist/cdn/{5T74REFR.js → OVL7QMZH.js} +2 -2
  234. package/dist/cdn/{MTPKMXI7.js → P4QP3FN6.js} +2 -2
  235. package/dist/cdn/{BAJABLGZ.js → PAKHX3I6.js} +1 -1
  236. package/dist/cdn/{BXEE6NVF.js → PFYUGFSL.js} +2 -2
  237. package/dist/cdn/{YR5O3VCH.js → POPBLQGD.js} +1 -1
  238. package/dist/cdn/{DMQSOG2I.js → PPY4LTAA.js} +2 -2
  239. package/dist/cdn/{O6FR3FOW.js → PSGW263P.js} +2 -2
  240. package/dist/cdn/{4XBEYMUG.js → PT5AV3WQ.js} +1 -1
  241. package/dist/cdn/{2WOT75MD.js → PTWIQDSC.js} +2 -2
  242. package/dist/cdn/{OWBOQALO.js → PWR2V4FP.js} +2 -2
  243. package/dist/cdn/{4AD74DYS.js → PYO4MUPX.js} +2 -2
  244. package/dist/cdn/{4IPLM5AY.js → PZJBWNEZ.js} +2 -2
  245. package/dist/cdn/PZWKB64K.js +4 -0
  246. package/dist/cdn/{IX4PWJUR.js → Q4UWG3UN.js} +2 -2
  247. package/dist/cdn/{Y2CJN6MA.js → Q5GAJOPN.js} +2 -2
  248. package/dist/cdn/{CANPLSBG.js → Q7PQM4SB.js} +2 -2
  249. package/dist/cdn/{PUMM6TKG.js → QEQTLIXM.js} +2 -2
  250. package/dist/cdn/{6AP65TD5.js → QJ4VMFHY.js} +2 -2
  251. package/dist/cdn/{G24TL6UH.js → QOQCIJ52.js} +2 -2
  252. package/dist/cdn/{DQXPS64T.js → QSAM3WTZ.js} +2 -2
  253. package/dist/cdn/{XAZ64HSI.js → QTR2B74Q.js} +2 -2
  254. package/dist/cdn/{RJ5TLB72.js → QUA2MZPE.js} +2 -2
  255. package/dist/cdn/{SKEUMGP3.js → R54KEIUU.js} +2 -2
  256. package/dist/cdn/{Z2MBHOYG.js → R5P4ZBIZ.js} +2 -2
  257. package/dist/cdn/{JC5UGUO2.js → R5WVUHHQ.js} +2 -2
  258. package/dist/cdn/{3KCGBI2E.js → RAGAUFN5.js} +2 -2
  259. package/dist/cdn/{XKTLLIE7.js → RPQOJQTT.js} +2 -2
  260. package/dist/cdn/{YOPSWKMS.js → RQHMM2TV.js} +2 -2
  261. package/dist/cdn/{OQQYUKUE.js → RRH7CX4W.js} +2 -2
  262. package/dist/cdn/{34IANJ5L.js → RTQDMFCR.js} +1 -1
  263. package/dist/cdn/{KH7LGU5K.js → RYIFMIE7.js} +2 -2
  264. package/dist/cdn/{N7PHEJVU.js → S3REU44G.js} +2 -2
  265. package/dist/cdn/SA6PEP6X.js +4 -0
  266. package/dist/cdn/{VEDUVBOL.js → SBGU3NDZ.js} +2 -2
  267. package/dist/cdn/SFWX3UGH.js +4 -0
  268. package/dist/cdn/{TKUJB3HF.js → SGKUZEBX.js} +2 -2
  269. package/dist/cdn/{HCE2GPNV.js → SJZ7QSP6.js} +2 -2
  270. package/dist/cdn/{D2RP7JBA.js → SMB3FN37.js} +2 -2
  271. package/dist/cdn/{LW6D2HAX.js → SMTMWRRV.js} +1 -1
  272. package/dist/cdn/{ER22ZKVJ.js → STMQZU4D.js} +2 -2
  273. package/dist/cdn/{RM3HUYCD.js → STXL6NIE.js} +2 -2
  274. package/dist/cdn/{L7ECFZTZ.js → SYOBCQGB.js} +2 -2
  275. package/dist/cdn/{PDDLGVYF.js → SYXNXG42.js} +2 -2
  276. package/dist/cdn/{DKLLDMP4.js → T2LTMFFQ.js} +2 -2
  277. package/dist/cdn/T7MHCIUS.js +18 -0
  278. package/dist/cdn/{3QD7OU5U.js → TECM5QWP.js} +2 -2
  279. package/dist/cdn/{PJ2XKRIK.js → TL4JJSFM.js} +2 -2
  280. package/dist/cdn/{WG3UZ2LP.js → TPNMSWQT.js} +2 -2
  281. package/dist/cdn/{B5FF2VH2.js → TQ6ZXCIR.js} +2 -2
  282. package/dist/cdn/{MTPC7NWQ.js → TQIQUUNR.js} +1 -1
  283. package/dist/cdn/{4FX6777Z.js → TSJRADBL.js} +2 -2
  284. package/dist/cdn/{5BTHO2AF.js → TV2CKUCU.js} +2 -2
  285. package/dist/cdn/{M45VPYYI.js → TVUO3PT2.js} +2 -2
  286. package/dist/cdn/{XMRH2KIR.js → TWXPA723.js} +2 -2
  287. package/dist/cdn/{MI5LWWKJ.js → TYLEZAG2.js} +2 -2
  288. package/dist/cdn/{AEDIDQNV.js → U3VSDXKL.js} +1 -1
  289. package/dist/cdn/{5PC67SE6.js → UBSP4SH4.js} +2 -2
  290. package/dist/cdn/{SYG55ZJS.js → UIUUSTJI.js} +2 -2
  291. package/dist/cdn/{LX7DOAXS.js → UJH4XQR3.js} +2 -2
  292. package/dist/cdn/{3DB2P2GO.js → UL5SFE3L.js} +2 -2
  293. package/dist/cdn/{CHMJRP7V.js → UMADWE7A.js} +2 -2
  294. package/dist/cdn/{GIY42CJC.js → UO3LLU6M.js} +2 -2
  295. package/dist/cdn/{ZORMK55D.js → UOQT6ENI.js} +2 -2
  296. package/dist/cdn/{AYE2CPD4.js → UQVZXYNW.js} +2 -2
  297. package/dist/cdn/{BKFOGIOL.js → USRMDL2X.js} +2 -2
  298. package/dist/cdn/{3RO4WOUW.js → UWRBXQ2H.js} +2 -2
  299. package/dist/cdn/{OVA5KEXT.js → UXBAVP5Z.js} +1 -1
  300. package/dist/cdn/{36AFFW36.js → UYYJV75W.js} +2 -2
  301. package/dist/cdn/{QKBSOBFP.js → VAFHXQDA.js} +2 -2
  302. package/dist/cdn/{RQQUNY5K.js → VBYNMOYE.js} +2 -2
  303. package/dist/cdn/{CIMPKFOP.js → VIKAFJOW.js} +2 -2
  304. package/dist/cdn/{ULUH53Q4.js → VJVK7CEI.js} +1 -1
  305. package/dist/cdn/{SLO5WA53.js → VLH6CM7M.js} +2 -2
  306. package/dist/cdn/{IXIJXFCI.js → VLOZ5FU3.js} +2 -2
  307. package/dist/cdn/{F3F7ZRFO.js → VPOYZ64Q.js} +2 -2
  308. package/dist/cdn/{MPBQOPHL.js → VRT6IWG7.js} +2 -2
  309. package/dist/cdn/{WRVFHFTD.js → VRZO33HJ.js} +2 -2
  310. package/dist/cdn/{FRUABSZP.js → VVKCAW2O.js} +1 -1
  311. package/dist/cdn/{RZ4U5RYM.js → W3Y7CW6D.js} +2 -2
  312. package/dist/cdn/{QGJ2Q5VE.js → WCNIUU7L.js} +2 -2
  313. package/dist/cdn/{WHYC2RU4.js → WDUN66AL.js} +2 -2
  314. package/dist/cdn/{7ESK3B5W.js → WIBEUGB3.js} +2 -2
  315. package/dist/cdn/{JAUCD2LU.js → WIFVASZC.js} +2 -2
  316. package/dist/cdn/{DG7ORIN4.js → WIKE26UP.js} +2 -2
  317. package/dist/cdn/{542FXWVN.js → WLLF2K4A.js} +2 -2
  318. package/dist/cdn/{TXESV5HB.js → WX6BU4WB.js} +2 -2
  319. package/dist/cdn/{OXWOGTSM.js → XDM3XQ2V.js} +2 -2
  320. package/dist/cdn/{K63J5ICI.js → XIWV3EMG.js} +2 -2
  321. package/dist/cdn/{G32LTLMH.js → XLR4XEQX.js} +2 -2
  322. package/dist/cdn/{DHLFERHD.js → XOCIK5BM.js} +2 -2
  323. package/dist/cdn/{EFTB6GX2.js → XOYOBJTE.js} +2 -2
  324. package/dist/cdn/{IALNE5HW.js → XRC6NCOB.js} +2 -2
  325. package/dist/cdn/{OKDJRIF2.js → XTFCV5HG.js} +2 -2
  326. package/dist/cdn/{XXXLSBFE.js → XUG6L42S.js} +2 -2
  327. package/dist/cdn/{5NJOCQZI.js → XVBUVOHC.js} +2 -2
  328. package/dist/cdn/XWQ6H7GZ.js +4 -0
  329. package/dist/cdn/{XZ3MICYT.js → Y5LQVUYC.js} +4 -4
  330. package/dist/cdn/{WM6NQ4I4.js → Y5WIF3RY.js} +2 -2
  331. package/dist/cdn/{FUADMBOA.js → YBTELYNL.js} +2 -2
  332. package/dist/cdn/{TRVQ4HAV.js → YK2QLYVS.js} +2 -2
  333. package/dist/cdn/{EICZMLA4.js → YQCVFX4Z.js} +2 -2
  334. package/dist/cdn/{VKKM4XNL.js → YWR5SHTJ.js} +1 -1
  335. package/dist/cdn/{34MHNUX5.js → YXVNPTAG.js} +2 -2
  336. package/dist/cdn/{OCSYEOST.js → Z7I2RSQY.js} +2 -2
  337. package/dist/cdn/ZD2NK7QI.js +18 -0
  338. package/dist/cdn/{2LYH6JUN.js → ZFY3PCIZ.js} +2 -2
  339. package/dist/cdn/{XTB7IRNS.js → ZHXAFBKY.js} +2 -2
  340. package/dist/cdn/{YQBV6WPJ.js → ZMRMSTWH.js} +2 -2
  341. package/dist/cdn/{IHMJSVGQ.js → ZVEZP7FG.js} +2 -2
  342. package/dist/cdn/{N4YBZ6H2.js → ZXRM4JEP.js} +2 -2
  343. package/dist/cdn/{4MQVU2PA.js → ZYNT7ILM.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 +8 -6
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +2 -2
  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 +3 -3
  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 +1 -1
  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 +3 -2
  389. package/dist/components/map-card/customElement.js +8 -7
  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-article-card/customElement.js +1 -1
  404. package/dist/components/solution-configuration/customElement.js +1 -1
  405. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  412. package/dist/components/solution-details-card/customElement.js +1 -1
  413. package/dist/components/solution-details-panel/customElement.js +1 -1
  414. package/dist/components/solution-item/customElement.js +1 -1
  415. package/dist/components/solution-item-accordion/customElement.js +1 -1
  416. package/dist/components/solution-item-details/customElement.js +1 -1
  417. package/dist/components/solution-item-diagram/customElement.js +1 -1
  418. package/dist/components/solution-item-icon/customElement.js +1 -1
  419. package/dist/components/solution-item-sharing/customElement.js +1 -1
  420. package/dist/components/solution-organization-variables/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.d.ts +0 -30
  428. package/dist/components/solutions-all-panel/customElement.js +74 -67
  429. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  430. package/dist/components/solutions-all-shell/customElement.js +21 -21
  431. package/dist/components/solutions-article-panel/customElement.js +1 -1
  432. package/dist/components/solutions-articles/customElement.js +1 -1
  433. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -26
  435. package/dist/components/solutions-deploy-app/customElement.js +59 -73
  436. package/dist/components/solutions-deploy-app/index.d.ts +3 -1
  437. package/dist/components/solutions-deploy-app/index.js +3 -1
  438. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +15 -7
  439. package/dist/components/solutions-deploy-app-nav/customElement.js +61 -61
  440. package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -0
  441. package/dist/components/solutions-deploy-app-nav/index.js +5 -0
  442. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +1 -1
  443. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  444. package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -36
  445. package/dist/components/solutions-deployed-panel/customElement.js +44 -32
  446. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -2
  447. package/dist/components/solutions-deployed-shell/customElement.js +10 -10
  448. package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
  449. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  450. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +4 -12
  451. package/dist/components/solutions-searchsort-toolbar/customElement.js +87 -55
  452. package/dist/components/spatial-ref/customElement.js +1 -1
  453. package/dist/components/store-manager/customElement.js +1 -1
  454. package/dist/docs/api.json +132 -587
  455. package/dist/docs/docs.json +104 -439
  456. package/dist/docs/vscode.html-custom-data.json +16 -109
  457. package/dist/docs/web-types.json +67 -263
  458. package/dist/index.d.ts +17 -2
  459. package/dist/index.js +1 -1
  460. package/dist/loader.js +8 -8
  461. package/dist/types/lumina.d.ts +10 -8
  462. package/dist/types/preact.d.ts +10 -8
  463. package/dist/types/preact10.d.ts +10 -8
  464. package/dist/types/react.d.ts +10 -8
  465. package/dist/types/stencil.d.ts +10 -8
  466. package/dist/utils/deployAppContexts.d.ts +4 -0
  467. package/dist/utils/interfaces.d.ts +25 -1
  468. package/package.json +2 -2
  469. package/dist/cdn/3TJZ6BKZ.js +0 -4
  470. package/dist/cdn/43OEBABR.js +0 -18
  471. package/dist/cdn/5LQWX73I.js +0 -4
  472. package/dist/cdn/6JCLCDIE.js +0 -4
  473. package/dist/cdn/77HIBKBY.js +0 -4
  474. package/dist/cdn/AEXIW5QK.js +0 -4
  475. package/dist/cdn/AJ5IJNM4.js +0 -4
  476. package/dist/cdn/DOV3VDA7.js +0 -4
  477. package/dist/cdn/F77VE4SZ.js +0 -4
  478. package/dist/cdn/H65HSSDY.js +0 -18
  479. package/dist/cdn/HGN4LWKF.js +0 -18
  480. package/dist/cdn/IHPJT2VQ.js +0 -18
  481. package/dist/cdn/KPYWTDCC.js +0 -18
  482. package/dist/cdn/LAEMYQTA.js +0 -4
  483. package/dist/cdn/LSVJVCQM.js +0 -18
  484. package/dist/cdn/SYOYFTZ4.js +0 -18
  485. package/dist/cdn/TYS4G347.js +0 -18
  486. package/dist/cdn/UH4H7T6D.js +0 -4
  487. package/dist/cdn/X7PP4CDS.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as i}from"./LDNSWL2Z.js";import{d as l}from"./7D3QF2ET.js";import"./542FXWVN.js";import{a as r}from"./YR5O3VCH.js";import{a as s}from"./UP63PL53.js";import"./ZFCGEWOY.js";import"./KUHFKNOC.js";import"./ULUH53Q4.js";import"./TNRGSGGK.js";import"./SDVDM2NG.js";import"./LANYKU26.js";import"./MQSWCDFV.js";import"./34IANJ5L.js";import"./NCCHYDZY.js";import"./67T3HMOS.js";import"./QN4JXS37.js";import"./GWKGCSUR.js";import"./QHLLQI42.js";import"./IJEJKEC4.js";import"./SCQL3GII.js";import"./G32LTLMH.js";import"./YJ5RGO3H.js";import"./IYPSTJMC.js";import"./ZRCBFR6O.js";import"./GJ2RMK23.js";import"./MG3DM3OR.js";import"./MTPC7NWQ.js";import"./LW6D2HAX.js";var d=async(e,a,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
3
+ v1.1.0 */
4
+ import{a as i}from"./3O2T33CU.js";import{d as l}from"./NZFFMH5C.js";import"./WLLF2K4A.js";import{a as r}from"./POPBLQGD.js";import{a as s}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";var d=async(e,a,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
3
+ v1.1.0 */
4
4
  var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import"./LW6D2HAX.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.1.0 */
4
+ import"./SMTMWRRV.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as h}from"./GWZZ3ITH.js";function i(t){if(typeof t=="string")return t.replace(/\/sharing\/rest\/?$/,"");if(typeof t=="object"){let e=t.portalSelf||t,{portalHostname:s,urlKey:o,customBaseUrl:n}=e;if(s||o&&n)return e.isPortal?`https://${e.portalHostname}`:`https://${e.urlKey}.${e.customBaseUrl}`}return i(h(t))}function _(t){let r="enterprise";return t.includes("arcgis.com")&&(r="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(r="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(r="devext"),r}function S(t,r){return`${i(r)}/home/item.html?id=${t}`}var a="/apps/sites";function E(t,r){let e=i(r),s;/(devext|mapsdevext)\.arcgis\.com/.test(e)?s="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(e)?s="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(e)?s="https://hubcdn.arcgis.com/opendata-ui/assets":s=`${e}${a}`;let o=t.startsWith("/")?"":"/";return[s,t].join(o)}function R(t){let{host:r,path:e,query:s}=t,o=r.endsWith("/")?r:`${r}/`,n=new URL(e,o);return n.search=f(s),n.toString()}function f(t={}){let r=Object.keys(t).filter(e=>t[e]!==void 0).reduce((e,s)=>(e[s]=t[s],e),{});return new URLSearchParams(r).toString()}var u={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function q(t){if(t.isPortal)return`${i(t)}${a}`;{let r=t.portalHostname.split(".")[0];return`${u[r]||u.www}/opendata-ui/assets`}}function c(t){return`${i(t)}/sharing/rest`}function N(t){return t=t.toLowerCase(),t.includes("//")&&(t=t.split("//")[1]),t}function p(t){let r;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="https://hubqa.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="https://hubdev.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(r="https://hub.arcgis.com"),r}function K(t){if(t.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return p(t.portalHostname)}var V=(t,r,e)=>{let{id:s,access:o}=t,n=`${c(r)}/content/items/${s}`,l=new URLSearchParams({f:"json"});return o!=="public"&&e&&l.append("token",e),`${n}?${l.toString()}`};var m=/\/(map|feature)server/i,Q=t=>m.test(t);export{R as a,i as b,_ as c,q as d,c as e,N as f,p as g,K as h,S as i,V as j,E as k,Q as l};
3
+ v1.1.0 */
4
+ import{a as h}from"./IYTOH2LC.js";function i(t){if(typeof t=="string")return t.replace(/\/sharing\/rest\/?$/,"");if(typeof t=="object"){let e=t.portalSelf||t,{portalHostname:s,urlKey:o,customBaseUrl:n}=e;if(s||o&&n)return e.isPortal?`https://${e.portalHostname}`:`https://${e.urlKey}.${e.customBaseUrl}`}return i(h(t))}function _(t){let r="enterprise";return t.includes("arcgis.com")&&(r="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(r="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(r="devext"),r}function S(t,r){return`${i(r)}/home/item.html?id=${t}`}var a="/apps/sites";function E(t,r){let e=i(r),s;/(devext|mapsdevext)\.arcgis\.com/.test(e)?s="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(e)?s="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(e)?s="https://hubcdn.arcgis.com/opendata-ui/assets":s=`${e}${a}`;let o=t.startsWith("/")?"":"/";return[s,t].join(o)}function R(t){let{host:r,path:e,query:s}=t,o=r.endsWith("/")?r:`${r}/`,n=new URL(e,o);return n.search=f(s),n.toString()}function f(t={}){let r=Object.keys(t).filter(e=>t[e]!==void 0).reduce((e,s)=>(e[s]=t[s],e),{});return new URLSearchParams(r).toString()}var u={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function q(t){if(t.isPortal)return`${i(t)}${a}`;{let r=t.portalHostname.split(".")[0];return`${u[r]||u.www}/opendata-ui/assets`}}function c(t){return`${i(t)}/sharing/rest`}function N(t){return t=t.toLowerCase(),t.includes("//")&&(t=t.split("//")[1]),t}function p(t){let r;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="https://hubqa.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="https://hubdev.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(r="https://hub.arcgis.com"),r}function K(t){if(t.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return p(t.portalHostname)}var V=(t,r,e)=>{let{id:s,access:o}=t,n=`${c(r)}/content/items/${s}`,l=new URLSearchParams({f:"json"});return o!=="public"&&e&&l.append("token",e),`${n}?${l.toString()}`};var m=/\/(map|feature)server/i,Q=t=>m.test(t);export{R as a,i as b,_ as c,q as d,c as e,N as f,p as g,K as h,S as i,V as j,E as k,Q 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
3
+ v1.1.0 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as i}from"./542FXWVN.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
3
+ v1.1.0 */
4
+ import{a as i}from"./WLLF2K4A.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
3
+ v1.1.0 */
4
4
  var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as s}from"./XH3DR75Z.js";import{a as r}from"./SLO5WA53.js";import"./MTPKMXI7.js";import"./FYQSS5YY.js";import"./I7MSVZLZ.js";import"./6I6JPIBT.js";import"./7D3QF2ET.js";import{a as o}from"./6YKCCSEU.js";import"./GWZZ3ITH.js";import"./IEJZM3BQ.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import"./34IANJ5L.js";import"./LW6D2HAX.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
3
+ v1.1.0 */
4
+ import{a as s}from"./KFZSBDTM.js";import{a as r}from"./VLH6CM7M.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import"./NZFFMH5C.js";import{a as o}from"./3PD2HBG5.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import"./RTQDMFCR.js";import"./SMTMWRRV.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{c as d}from"./5AEWU6E5.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};export{A as a,B as b};
3
+ v1.1.0 */
4
+ import{c as d}from"./KCYMVFRG.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};export{A as a,B as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
3
+ v1.1.0 */
4
4
  async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as c}from"./K5SS6M5G.js";import"./RGGFNMOE.js";import"./TGTBQ4IM.js";import{b as o}from"./AEXIW5QK.js";import{E as n,h as s,i,l as r,o as l}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var d=s`/** @license
3
+ v1.1.0 */
4
+ import{a as c}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as o}from"./PZWKB64K.js";import{E as n,h as s,i,l as r,o as l}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{b as d}from"./AEXIW5QK.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./5AEWU6E5.js";import"./LW6D2HAX.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.1.0 */
4
+ import{b as d}from"./PZWKB64K.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as G}from"./PD3N7S4N.js";import{a as L}from"./F3F7ZRFO.js";import{c as K,d as _,e as U}from"./UEQ3VZSA.js";import{l as j,p as P}from"./6AP65TD5.js";import"./OVA5KEXT.js";import"./T5BTHDQC.js";import"./5V5R7K45.js";import"./MTPKMXI7.js";import"./FYQSS5YY.js";import{a as S}from"./I7MSVZLZ.js";import"./6I6JPIBT.js";import"./UUQ2YDIF.js";import"./MAZA2SKN.js";import"./7D3QF2ET.js";import{w}from"./GWZZ3ITH.js";import"./IEJZM3BQ.js";import"./CPVITWV2.js";import"./542FXWVN.js";import"./YR5O3VCH.js";import{b as A}from"./ULUH53Q4.js";import{a as c,b as p}from"./SDVDM2NG.js";import"./34IANJ5L.js";import"./LW6D2HAX.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
3
+ v1.1.0 */
4
+ import{a as G}from"./KZZHJTPP.js";import{a as L}from"./VPOYZ64Q.js";import{c as K,d as _,e as U}from"./2BQCOVME.js";import{l as j,p as P}from"./QJ4VMFHY.js";import"./UXBAVP5Z.js";import"./E7R7Q7EG.js";import"./NNQ5VAQF.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import{a as S}from"./G34G6TIZ.js";import"./IWW5ZJYG.js";import"./JN54IUSM.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import{w}from"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import{b as A}from"./VJVK7CEI.js";import{a as c,b as p}from"./DFS7UUPH.js";import"./RTQDMFCR.js";import"./SMTMWRRV.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{F as s}from"./5AEWU6E5.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
3
+ v1.1.0 */
4
+ import{F as s}from"./KCYMVFRG.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0 */
4
+ import{F as s}from"./KCYMVFRG.js";var t=s({defaultAssetPath:"https://js.arcgis.com/1.1/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:i,getAssetPath:n,setAssetPath:u}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,i 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as h}from"./TYF2N7GJ.js";import{a as U}from"./RDUT4GXF.js";import{b as m}from"./2UCZ6YBP.js";import{b as t,d as l,e as d}from"./OVA5KEXT.js";import{a as N}from"./5V5R7K45.js";import{c as A}from"./34IANJ5L.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
3
+ v1.1.0 */
4
+ import{a as h}from"./GM6B5U7P.js";import{a as U}from"./MX6FACCZ.js";import{b as m}from"./2PFP4SVP.js";import{b as t,d as l,e as d}from"./UXBAVP5Z.js";import{a as N}from"./NNQ5VAQF.js";import{c as A}from"./RTQDMFCR.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import"./LW6D2HAX.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
3
+ v1.1.0 */
4
+ import"./SMTMWRRV.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import"./LW6D2HAX.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.1.0 */
4
+ import"./SMTMWRRV.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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import"./LW6D2HAX.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.1.0 */
4
+ import"./SMTMWRRV.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251015.1 */
4
- import{a as S}from"./T5BTHDQC.js";import{b as d,c as g,i as y,j as N}from"./MTPKMXI7.js";import{a as I}from"./I7MSVZLZ.js";import{a as M,e as E,f as T,g as F}from"./MAZA2SKN.js";import{a as $,b as R}from"./GWZZ3ITH.js";import{d as l,e as p,f as c}from"./IEJZM3BQ.js";import{a as A}from"./CPVITWV2.js";import{a as x}from"./YR5O3VCH.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
3
+ v1.1.0 */
4
+ import{a as S}from"./E7R7Q7EG.js";import{b as d,c as g,i as y,j as N}from"./P4QP3FN6.js";import{a as I}from"./G34G6TIZ.js";import{a as M,e as E,f as T,g as F}from"./GFUALEHA.js";import{a as $,b as R}from"./IYTOH2LC.js";import{d as l,e as p,f as c}from"./M23LVYVA.js";import{a as A}from"./EAKI67WF.js";import{a as x}from"./POPBLQGD.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};