@esri/solutions-components 1.2.0-next.5 → 1.2.0-next.6

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 (455) hide show
  1. package/dist/cdn/{ZKQBLH6C.js → 2B5AGHXF.js} +2 -2
  2. package/dist/cdn/{JKUZZH76.js → 2EHFNAOJ.js} +2 -2
  3. package/dist/cdn/{XEPEY2M2.js → 2I7ZXFLR.js} +2 -2
  4. package/dist/cdn/{HPI4C6HL.js → 2M3SOJDG.js} +2 -2
  5. package/dist/cdn/{KUFHAQWJ.js → 2NYFZ3GV.js} +2 -2
  6. package/dist/cdn/{WRDAXQLK.js → 3AKHI3FX.js} +2 -2
  7. package/dist/cdn/{5BDED2BJ.js → 3BHENULJ.js} +2 -2
  8. package/dist/cdn/{G425A36R.js → 3C4J2KTB.js} +2 -2
  9. package/dist/cdn/{IGCOKMI6.js → 3CTIZI7X.js} +2 -2
  10. package/dist/cdn/{27VDQI45.js → 3EW7ECME.js} +2 -2
  11. package/dist/cdn/{YWZJNNAA.js → 3KSTQFBT.js} +2 -2
  12. package/dist/cdn/{WTDZ3NSL.js → 3KY6MGOJ.js} +2 -2
  13. package/dist/cdn/{RVTNA6ZY.js → 3MHZEKGJ.js} +2 -2
  14. package/dist/cdn/{6GL4MI4Z.js → 3N2ZNCG2.js} +1 -1
  15. package/dist/cdn/{QQHNT6LS.js → 3NOU63QC.js} +2 -2
  16. package/dist/cdn/{PH45STVW.js → 3QQBHMCG.js} +2 -2
  17. package/dist/cdn/{5X5MAGOR.js → 3R3HPZAK.js} +2 -2
  18. package/dist/cdn/{MQJ6DB65.js → 3U3CU6DD.js} +2 -2
  19. package/dist/cdn/{IML573KC.js → 3WLCCGUI.js} +2 -2
  20. package/dist/cdn/{NTLQWQS6.js → 42QAHP2H.js} +2 -2
  21. package/dist/cdn/{KWA56BZT.js → 43AII6JW.js} +2 -2
  22. package/dist/cdn/{74VWWXRD.js → 43IHB26O.js} +2 -2
  23. package/dist/cdn/{W46NJL6Z.js → 46V3IO5X.js} +2 -2
  24. package/dist/cdn/{5RHZCQDH.js → 4AJTL34Z.js} +2 -2
  25. package/dist/cdn/{L5WPKPMP.js → 4DQWCLKY.js} +1 -1
  26. package/dist/cdn/{KPSLDFGP.js → 4HZ73PXZ.js} +2 -2
  27. package/dist/cdn/{355B4HKB.js → 4VRBEE4E.js} +1 -1
  28. package/dist/cdn/{47KCOTZD.js → 4WIF7IWJ.js} +2 -2
  29. package/dist/cdn/{U4GITUVW.js → 4ZBQDA7G.js} +2 -2
  30. package/dist/cdn/{V5AGQHUK.js → 55OACR4S.js} +2 -2
  31. package/dist/cdn/{JIRWHXCF.js → 5CHNKTZ7.js} +2 -2
  32. package/dist/cdn/{VHZ527X2.js → 5CXTZ7NA.js} +2 -2
  33. package/dist/cdn/{PAMOCSXX.js → 5DBXMD4E.js} +1 -1
  34. package/dist/cdn/{UO47IZNH.js → 5G5N3YGW.js} +2 -2
  35. package/dist/cdn/{NL3LFEFE.js → 5GNTAQBB.js} +2 -2
  36. package/dist/cdn/{O4FOFZZZ.js → 5IOHRNFC.js} +2 -2
  37. package/dist/cdn/{6URZHGOV.js → 5RDDXPRM.js} +2 -2
  38. package/dist/cdn/{5XJFLICT.js → 63PYENHX.js} +2 -2
  39. package/dist/cdn/{CNM5N2SL.js → 644DJYKF.js} +2 -2
  40. package/dist/cdn/{ALX7KVM4.js → 64P5PANG.js} +2 -2
  41. package/dist/cdn/{X2FLTZOD.js → 65LDPG2Z.js} +2 -2
  42. package/dist/cdn/{MGABPXRV.js → 6BZPVMC3.js} +2 -2
  43. package/dist/cdn/{OTMDZPXT.js → 6MDG4NZX.js} +2 -2
  44. package/dist/cdn/{RAU4GXL2.js → 6NEMUKY7.js} +2 -2
  45. package/dist/cdn/{RYDQMLHS.js → 6OU6VXZE.js} +1 -1
  46. package/dist/cdn/{62BAVY5U.js → 6OUC5SZJ.js} +2 -2
  47. package/dist/cdn/{NQ6C57I5.js → 6TG774RB.js} +1 -1
  48. package/dist/cdn/{VZ7HPIBI.js → 6YSZRWQG.js} +2 -2
  49. package/dist/cdn/{JKP6VYBC.js → 72IRHFJ6.js} +2 -2
  50. package/dist/cdn/{72H7DQGK.js → 75HEJGBB.js} +2 -2
  51. package/dist/cdn/{XA5GIUR6.js → 7ASCWQCT.js} +2 -2
  52. package/dist/cdn/{CX5FGPYZ.js → 7D6B7W25.js} +2 -2
  53. package/dist/cdn/{UXALLH6N.js → 7F75Q6X6.js} +2 -2
  54. package/dist/cdn/{6LFJAXJX.js → 7LCAN4QM.js} +2 -2
  55. package/dist/cdn/{TIYWZFAX.js → 7LDGOYUE.js} +2 -2
  56. package/dist/cdn/7LVVHGLQ.js +4 -0
  57. package/dist/cdn/{4LYYND56.js → 7OLNN2MW.js} +2 -2
  58. package/dist/cdn/{7RDLIUYS.js → 7OLQQGDE.js} +2 -2
  59. package/dist/cdn/{UK6FJACI.js → 7QXVNVSY.js} +1 -1
  60. package/dist/cdn/{6ISZUZHE.js → 7SQMKKG6.js} +2 -2
  61. package/dist/cdn/{4OO23EX3.js → 7WK46WPW.js} +2 -2
  62. package/dist/cdn/{CF3RBBK3.js → 7XJB7VS7.js} +2 -2
  63. package/dist/cdn/{3KMNENXB.js → A6SDFMS4.js} +1 -1
  64. package/dist/cdn/{NTH5ZFPX.js → AAJ34PVZ.js} +2 -2
  65. package/dist/cdn/{ZMG4YA63.js → AHQC773M.js} +1 -1
  66. package/dist/cdn/{WLDO36W7.js → AKC6SE65.js} +2 -2
  67. package/dist/cdn/{M5UNYNCA.js → AN4ZPBV5.js} +1 -1
  68. package/dist/cdn/{7A3GEDWO.js → ASILD6CB.js} +2 -2
  69. package/dist/cdn/{REXCF6AK.js → AYBN7RSJ.js} +1 -1
  70. package/dist/cdn/{2EVO7BMT.js → AZ4GC4RH.js} +2 -2
  71. package/dist/cdn/B3HDMUHB.js +4 -0
  72. package/dist/cdn/{3IHVZLDU.js → BBXNS3EX.js} +2 -2
  73. package/dist/cdn/{MSK25PKW.js → BDU6FBLG.js} +2 -2
  74. package/dist/cdn/{AYJPSY6G.js → BFLK4MV3.js} +2 -2
  75. package/dist/cdn/{AQSMBVYS.js → BPYQOBRF.js} +2 -2
  76. package/dist/cdn/{RVWBJZH4.js → BVFYUULI.js} +2 -2
  77. package/dist/cdn/{UE2YNT47.js → BX5K5GT6.js} +2 -2
  78. package/dist/cdn/{RQT75FQC.js → BZ4XGUDM.js} +2 -2
  79. package/dist/cdn/BZQNZGIF.js +18 -0
  80. package/dist/cdn/{6FAL2RBB.js → C2OY2PS6.js} +1 -1
  81. package/dist/cdn/{AJWIVWWT.js → C3ABCUGF.js} +2 -2
  82. package/dist/cdn/{ZTJIG6NP.js → C3OBOQOO.js} +2 -2
  83. package/dist/cdn/{UI2SDKYC.js → C3VQSVMI.js} +1 -1
  84. package/dist/cdn/{QYVRI5JK.js → C3YT4ILF.js} +2 -2
  85. package/dist/cdn/{FX5BDBXN.js → C6XO55UG.js} +2 -2
  86. package/dist/cdn/{SJXQNK6Z.js → CKRFN5RP.js} +1 -1
  87. package/dist/cdn/{SN6IKSF7.js → CLZFMS77.js} +2 -2
  88. package/dist/cdn/{NGB75X4E.js → CMPTEVJI.js} +2 -2
  89. package/dist/cdn/{O52D2O2U.js → CNTAXM77.js} +2 -2
  90. package/dist/cdn/{NHIUCBV6.js → CNZNQ3UI.js} +2 -2
  91. package/dist/cdn/{ZBNALXV7.js → CPKI7S65.js} +2 -2
  92. package/dist/cdn/{33QT4OWT.js → CRRLSSMP.js} +2 -2
  93. package/dist/cdn/{GOTHF2RN.js → CT5OPGW5.js} +2 -2
  94. package/dist/cdn/{XEK4G673.js → CWSEEEMU.js} +2 -2
  95. package/dist/cdn/{YEBFOEVN.js → CYYJ37UQ.js} +1 -1
  96. package/dist/cdn/{HO4OQAAY.js → D6VPFPWH.js} +2 -2
  97. package/dist/cdn/{ULSCZE2S.js → DABFIHQ5.js} +2 -2
  98. package/dist/cdn/{33WJILQZ.js → DBIXZJBF.js} +2 -2
  99. package/dist/cdn/{7D4AFTM4.js → DCHFQUOM.js} +2 -2
  100. package/dist/cdn/{7W4W36Y6.js → DER4LPHP.js} +2 -2
  101. package/dist/cdn/{FGNM3NFZ.js → DYURGKBB.js} +2 -2
  102. package/dist/cdn/{JPK5OGZE.js → DZIWUAHO.js} +2 -2
  103. package/dist/cdn/{BB34T733.js → E4MWWQ52.js} +2 -2
  104. package/dist/cdn/{Q42J7MX2.js → EC4BDQTX.js} +2 -2
  105. package/dist/cdn/{F2GKQT5D.js → ECNSXEJQ.js} +1 -1
  106. package/dist/cdn/{7TDQOO2N.js → EEUJQ4PE.js} +2 -2
  107. package/dist/cdn/{NIOXP2K4.js → EFYU4OWN.js} +2 -2
  108. package/dist/cdn/{ONB37LY7.js → EGQGYDCU.js} +2 -2
  109. package/dist/cdn/{O3X7DL54.js → EGW2IVRZ.js} +2 -2
  110. package/dist/cdn/{PZLJVQX3.js → EHEL3Y7B.js} +2 -2
  111. package/dist/cdn/{MBQAKO5E.js → EJHIYSSF.js} +2 -2
  112. package/dist/cdn/{7APDY3O7.js → ELQB37S3.js} +2 -2
  113. package/dist/cdn/{PLIRSUV6.js → EPOTUER2.js} +2 -2
  114. package/dist/cdn/{CZOBCM3V.js → EWPFEAMD.js} +2 -2
  115. package/dist/cdn/{WHNQWDIK.js → EX5IS2G6.js} +2 -2
  116. package/dist/cdn/{ZVF6OS6J.js → EYUS5GPS.js} +2 -2
  117. package/dist/cdn/{UDH5DYZG.js → FLHENYCD.js} +2 -2
  118. package/dist/cdn/{5LW3NDVY.js → FQYAST2K.js} +2 -2
  119. package/dist/cdn/{RGUXKD6S.js → FT3J6HPU.js} +2 -2
  120. package/dist/cdn/{FTN4KQ5P.js → FT735SKP.js} +2 -2
  121. package/dist/cdn/{HPYF5EGV.js → FXYCWGPH.js} +2 -2
  122. package/dist/cdn/{ZX653FXG.js → FYA2RJLA.js} +2 -2
  123. package/dist/cdn/{V4LD7G2P.js → G26LLXS4.js} +2 -2
  124. package/dist/cdn/{JVBJBJUL.js → G7REA73G.js} +2 -2
  125. package/dist/cdn/{FLTJM3SI.js → GCTTXEYI.js} +2 -2
  126. package/dist/cdn/{OJTIJAMU.js → GLY2GMK3.js} +2 -2
  127. package/dist/cdn/{JHF3KM73.js → GNTRINMX.js} +2 -2
  128. package/dist/cdn/{IWRMDNRW.js → GRMJQUC5.js} +1 -1
  129. package/dist/cdn/{FA3XMLAK.js → GRSIJT3T.js} +2 -2
  130. package/dist/cdn/{AAXEUHSJ.js → GRTQAPQC.js} +2 -2
  131. package/dist/cdn/{BNSB37BG.js → GTZDDRKB.js} +1 -1
  132. package/dist/cdn/{QMVO4IPU.js → GVZGXTDK.js} +2 -2
  133. package/dist/cdn/{F364NWY7.js → GXKTKNRR.js} +2 -2
  134. package/dist/cdn/{CVNLYDRK.js → GYJUGCFY.js} +2 -2
  135. package/dist/cdn/{KNXNCPJR.js → HIXYDI5J.js} +2 -2
  136. package/dist/cdn/{BLQLRWXN.js → HJ5OK6QT.js} +2 -2
  137. package/dist/cdn/{KSNTYAQZ.js → HLI457TP.js} +2 -2
  138. package/dist/cdn/{EQMTRTY3.js → HLXK72ZK.js} +2 -2
  139. package/dist/cdn/{QA3KZUQE.js → HOZF62NG.js} +1 -1
  140. package/dist/cdn/{5A7ANLED.js → HPB356BE.js} +2 -2
  141. package/dist/cdn/{SYAHQ3NQ.js → HPHQDHOY.js} +2 -2
  142. package/dist/cdn/HR5YMULP.js +4 -0
  143. package/dist/cdn/{EVJJVJUC.js → HTDQGAID.js} +2 -2
  144. package/dist/cdn/HX6UBWDB.js +4 -0
  145. package/dist/cdn/{PY5KZH52.js → I4WG6VZ7.js} +2 -2
  146. package/dist/cdn/{QEBEA7MU.js → I5ZRIC3T.js} +2 -2
  147. package/dist/cdn/{YRJN7CI2.js → IAOE36VC.js} +2 -2
  148. package/dist/cdn/{3CMVTXLQ.js → IQTDOEWO.js} +2 -2
  149. package/dist/cdn/{GUYE43R5.js → ISDT7CP2.js} +2 -2
  150. package/dist/cdn/{2XTLVCYV.js → IYTGK3X3.js} +2 -2
  151. package/dist/cdn/{BZVBJ4S5.js → JBCMZE55.js} +2 -2
  152. package/dist/cdn/{YR3BPQUO.js → JDTP4G5P.js} +2 -2
  153. package/dist/cdn/{7GRKOVDA.js → JJIKYQZZ.js} +2 -2
  154. package/dist/cdn/{G6HXZZHL.js → JJLDTGMR.js} +2 -2
  155. package/dist/cdn/{YPCP2ANH.js → JS6X6QAW.js} +2 -2
  156. package/dist/cdn/{ZVWJX5XX.js → JV55LN2M.js} +2 -2
  157. package/dist/cdn/{HHZVYWUY.js → JWNDNXKO.js} +2 -2
  158. package/dist/cdn/{NFITFV6B.js → JZC43XNE.js} +2 -2
  159. package/dist/cdn/{2AODR3SB.js → K65QHEEW.js} +2 -2
  160. package/dist/cdn/{P4PSLE7E.js → K6OWNAQ2.js} +2 -2
  161. package/dist/cdn/{4Z2GCBXM.js → KB5XSYOH.js} +2 -2
  162. package/dist/cdn/{N7EL4TJ4.js → KEVAPUV7.js} +2 -2
  163. package/dist/cdn/{VLRHK5YP.js → KFK2QLX7.js} +2 -2
  164. package/dist/cdn/{K7ELIBAQ.js → KKP7HGNJ.js} +2 -2
  165. package/dist/cdn/{DFZTVGP4.js → KN7GU34G.js} +2 -2
  166. package/dist/cdn/{O7XWTQW3.js → KOHDKHHL.js} +2 -2
  167. package/dist/cdn/{BIHCOF7Z.js → KOVCA4QV.js} +2 -2
  168. package/dist/cdn/{XO3G7246.js → KQSZKMVW.js} +2 -2
  169. package/dist/cdn/{BNGJF56X.js → KS6EZ4SP.js} +2 -2
  170. package/dist/cdn/{PPXDQKVO.js → L4PBJ66Y.js} +2 -2
  171. package/dist/cdn/{XP2AFGEG.js → LCCWTX2N.js} +2 -2
  172. package/dist/cdn/{OIL6CBYE.js → LDLEQ6CC.js} +2 -2
  173. package/dist/cdn/{LNMJI75N.js → LFDSMJEU.js} +2 -2
  174. package/dist/cdn/{JHDZXCV7.js → LHFLSDVZ.js} +2 -2
  175. package/dist/cdn/{LW7F2ZZM.js → LJRZYCQX.js} +2 -2
  176. package/dist/cdn/{WTPDQ3PV.js → LN2I5LVU.js} +2 -2
  177. package/dist/cdn/{KJYDPWIX.js → LNKLEGM7.js} +2 -2
  178. package/dist/cdn/{KMQMER3S.js → LPJY4EKV.js} +1 -1
  179. package/dist/cdn/{EW2X2QV6.js → LQUAXFLK.js} +2 -2
  180. package/dist/cdn/{YJZQIABG.js → LRAV7OBQ.js} +2 -2
  181. package/dist/cdn/LRHWDN4E.js +4 -0
  182. package/dist/cdn/{IANKP2HF.js → LSZ3JKFT.js} +2 -2
  183. package/dist/cdn/{OO2K3GFV.js → LY6TIHQF.js} +1 -1
  184. package/dist/cdn/{SKKV6YTC.js → M3RICNEU.js} +2 -2
  185. package/dist/cdn/{CXUE7DBX.js → M3TJ57X3.js} +2 -2
  186. package/dist/cdn/{JE77DF3X.js → M6YGWTQ7.js} +2 -2
  187. package/dist/cdn/{CWZHCREJ.js → MA3THZBT.js} +2 -2
  188. package/dist/cdn/{H6XF5SS6.js → MBPZZJHU.js} +2 -2
  189. package/dist/cdn/{BPSNSMPM.js → MGNNQNEI.js} +2 -2
  190. package/dist/cdn/{IGBY6H7G.js → MIC6LQDI.js} +2 -2
  191. package/dist/cdn/{PSHEPLV7.js → MMOLUBH6.js} +2 -2
  192. package/dist/cdn/{PPXFPXV2.js → MOYCNENS.js} +2 -2
  193. package/dist/cdn/{3OYXRODS.js → MVA2DOPM.js} +2 -2
  194. package/dist/cdn/{J5UWGCTF.js → MYB6PMPD.js} +2 -2
  195. package/dist/cdn/{I3Y72EPZ.js → NB2MJP3T.js} +2 -2
  196. package/dist/cdn/{XIDBVWME.js → ND4CBCIS.js} +1 -1
  197. package/dist/cdn/{RCNVOTLA.js → NFOXMEDQ.js} +2 -2
  198. package/dist/cdn/{BRBA3RVP.js → NFU53Y7C.js} +2 -2
  199. package/dist/cdn/{4D2OCU77.js → NHRWEIDY.js} +2 -2
  200. package/dist/cdn/{6YSX44NX.js → NJRBMGQU.js} +2 -2
  201. package/dist/cdn/{7I3VIAOS.js → NK5IEUBF.js} +2 -2
  202. package/dist/cdn/{RL7RFFRH.js → NNP5DIE4.js} +2 -2
  203. package/dist/cdn/{JP4L2TFI.js → NOOGHUHO.js} +2 -2
  204. package/dist/cdn/{NL6MXE4S.js → NQISLIAP.js} +2 -2
  205. package/dist/cdn/{GBTKBPMY.js → NQKLCRO4.js} +2 -2
  206. package/dist/cdn/{5UDIP5TS.js → NR4CTORR.js} +2 -2
  207. package/dist/cdn/{N3CC3AYD.js → O2CTIODV.js} +2 -2
  208. package/dist/cdn/{HXVRR7KX.js → O3MIRFNV.js} +2 -2
  209. package/dist/cdn/{UCP2BRIL.js → OADJ55J2.js} +2 -2
  210. package/dist/cdn/{ETP7B5MX.js → OEYJFMXJ.js} +2 -2
  211. package/dist/cdn/{6E3UW2HW.js → OHFKWVKT.js} +2 -2
  212. package/dist/cdn/{NV6XAFL2.js → OI4YOMGG.js} +1 -1
  213. package/dist/cdn/{OD4HEOH4.js → OIGW2DAZ.js} +2 -2
  214. package/dist/cdn/{7AKBXEQF.js → OKBR2JNZ.js} +2 -2
  215. package/dist/cdn/{DTCMCNYL.js → OQK3SNUT.js} +2 -2
  216. package/dist/cdn/{OQJKXHFA.js → OQX77LVX.js} +1 -1
  217. package/dist/cdn/{VRKGA5MK.js → OSKFOBPJ.js} +2 -2
  218. package/dist/cdn/{AE4RE3TF.js → OSRWBYQ2.js} +4 -4
  219. package/dist/cdn/{26QOJAKK.js → OTUI5EVK.js} +2 -2
  220. package/dist/cdn/{UVEJ2VLN.js → OWKKFB6L.js} +2 -2
  221. package/dist/cdn/OWWSN3B2.js +4 -0
  222. package/dist/cdn/{IVRPXNBU.js → OYYZVOIN.js} +2 -2
  223. package/dist/cdn/{737BY2CY.js → P2SYJ24C.js} +2 -2
  224. package/dist/cdn/{4T5D74PP.js → P2XBWR3K.js} +2 -2
  225. package/dist/cdn/{42FAPKP2.js → P3U5VVRM.js} +2 -2
  226. package/dist/cdn/{QO5AGMUF.js → P4FFI3FD.js} +2 -2
  227. package/dist/cdn/{ZOWGS4GQ.js → P5VGADLR.js} +2 -2
  228. package/dist/cdn/{SWX5QB6B.js → PAAUUG27.js} +2 -2
  229. package/dist/cdn/{VUD3HI2Q.js → PDCOACTW.js} +2 -2
  230. package/dist/cdn/{6UORZDXC.js → PECFRP4P.js} +2 -2
  231. package/dist/cdn/{FPV6WYBL.js → PF5AT3NA.js} +2 -2
  232. package/dist/cdn/{K7TMVM74.js → PFJBD3IN.js} +2 -2
  233. package/dist/cdn/{UFOGS7QU.js → PGAZAITH.js} +2 -2
  234. package/dist/cdn/{JWJKVILC.js → PHF75FIZ.js} +2 -2
  235. package/dist/cdn/{GRI7T2CE.js → PIKL7Y7Z.js} +1 -1
  236. package/dist/cdn/{RR2N2YOI.js → POVFCWA4.js} +2 -2
  237. package/dist/cdn/{FPVYYJZU.js → PP7NRPXZ.js} +2 -2
  238. package/dist/cdn/{IQFFJSPI.js → Q2ZBJ5N6.js} +2 -2
  239. package/dist/cdn/{YOAMWE4X.js → Q3A4PDPW.js} +2 -2
  240. package/dist/cdn/{UERL77DS.js → Q55L5Q3P.js} +2 -2
  241. package/dist/cdn/{D34XEG46.js → Q5HKWIQ4.js} +2 -2
  242. package/dist/cdn/{3CY52HGI.js → Q5S5ARM5.js} +2 -2
  243. package/dist/cdn/{SWVAF6LW.js → Q6ET57BS.js} +2 -2
  244. package/dist/cdn/{6PBJTSR7.js → QF6CYRL2.js} +2 -2
  245. package/dist/cdn/{ADJFXZSR.js → QMVHLMJD.js} +1 -1
  246. package/dist/cdn/{Y2IEIML2.js → R23EOL5Y.js} +2 -2
  247. package/dist/cdn/{47EMAQ7Z.js → R4UPUL7H.js} +2 -2
  248. package/dist/cdn/{V3JEPYLJ.js → R53JAHXC.js} +2 -2
  249. package/dist/cdn/{YXEM3CQC.js → R6J3F2YU.js} +2 -2
  250. package/dist/cdn/{AGYRCJCI.js → R6JKKEMB.js} +2 -2
  251. package/dist/cdn/{5XN7FRLT.js → R7ZD74W4.js} +2 -2
  252. package/dist/cdn/{Z4AYXGJH.js → RDMEIRHP.js} +2 -2
  253. package/dist/cdn/{GRPZDXG4.js → REH3U565.js} +2 -2
  254. package/dist/cdn/{LPGG7NVJ.js → RFPZWOT4.js} +2 -2
  255. package/dist/cdn/{QTX7JLGF.js → RGNOHVXO.js} +1 -1
  256. package/dist/cdn/{OQZSVSVV.js → RHNCXWTD.js} +2 -2
  257. package/dist/cdn/{JNEWR7HR.js → RJ47PZ2M.js} +2 -2
  258. package/dist/cdn/{BJB7HU76.js → RKE526NJ.js} +2 -2
  259. package/dist/cdn/{SX4IGYWN.js → RKTPYPYJ.js} +2 -2
  260. package/dist/cdn/{VXSY4V27.js → RL3HBL5T.js} +2 -2
  261. package/dist/cdn/{R4D3526U.js → RNJUJD2O.js} +2 -2
  262. package/dist/cdn/{SCMY4SVY.js → RPLH7QHP.js} +2 -2
  263. package/dist/cdn/{DAZMRFHY.js → RQSZEJEQ.js} +2 -2
  264. package/dist/cdn/{A7722FBD.js → RQU6SEUA.js} +2 -2
  265. package/dist/cdn/{CX3S4NVE.js → RX4SFFGS.js} +2 -2
  266. package/dist/cdn/{OPFNE6VQ.js → RY44DI5D.js} +2 -2
  267. package/dist/cdn/{YN6H5F4A.js → RYN2SWCM.js} +2 -2
  268. package/dist/cdn/{5VGQMPBM.js → RYXX6HET.js} +1 -1
  269. package/dist/cdn/{WF2DEFBA.js → S2PNPUQV.js} +2 -2
  270. package/dist/cdn/{MGEQNCFR.js → S6KMTGDZ.js} +2 -2
  271. package/dist/cdn/{MTXZXY4H.js → SBXHMIGN.js} +2 -2
  272. package/dist/cdn/{2LFAIG4Y.js → SEYIBXFF.js} +1 -1
  273. package/dist/cdn/{PJFNAHXF.js → SGHNBHUF.js} +2 -2
  274. package/dist/cdn/{IB6ALJM2.js → SRTKEQJS.js} +1 -1
  275. package/dist/cdn/{6I3VNZGR.js → SSSE76D7.js} +2 -2
  276. package/dist/cdn/{3VF63GEF.js → SVF7MDUC.js} +2 -2
  277. package/dist/cdn/{BEZDR3BF.js → SWCTZZ5M.js} +2 -2
  278. package/dist/cdn/{AW3AHGA7.js → SWZKHEQX.js} +2 -2
  279. package/dist/cdn/{2GKQUPSG.js → T36HJPUB.js} +2 -2
  280. package/dist/cdn/{RN2EF7YZ.js → TBFTL5AS.js} +2 -2
  281. package/dist/cdn/{OJV6245L.js → TK5ARS6D.js} +1 -1
  282. package/dist/cdn/{7CT4MH26.js → TKYYVFBF.js} +2 -2
  283. package/dist/cdn/{52U2DKMV.js → TMCHHM55.js} +1 -1
  284. package/dist/cdn/{YRNIHKIN.js → TSX6N6FB.js} +2 -2
  285. package/dist/cdn/{E6DJMKOX.js → TXXXMTGQ.js} +2 -2
  286. package/dist/cdn/{HKEDWMSD.js → U4MDUHGI.js} +2 -2
  287. package/dist/cdn/{CS3AH7HA.js → UCWHVM3U.js} +2 -2
  288. package/dist/cdn/{CSGP6EII.js → UHRZV2BI.js} +1 -1
  289. package/dist/cdn/{PQTHI43K.js → UOSJKW7E.js} +1 -1
  290. package/dist/cdn/{QGNIXRWD.js → URNU7X7T.js} +2 -2
  291. package/dist/cdn/{IGADLGYA.js → UW26Z7RU.js} +2 -2
  292. package/dist/cdn/{66CZXKSK.js → UWFX6UHY.js} +2 -2
  293. package/dist/cdn/{FO65MMQA.js → UWXPCF47.js} +2 -2
  294. package/dist/cdn/{E5I3NEQI.js → UXBBI55T.js} +2 -2
  295. package/dist/cdn/{MOKNBS3C.js → V4HWOWHO.js} +2 -2
  296. package/dist/cdn/{O3PBUAQ4.js → V7YYPSUZ.js} +2 -2
  297. package/dist/cdn/{Y5UFWBU3.js → VGIBWAX6.js} +2 -2
  298. package/dist/cdn/{J2UCDTJF.js → VIB4V3LB.js} +2 -2
  299. package/dist/cdn/{IROXFN5B.js → VIFGQWKG.js} +2 -2
  300. package/dist/cdn/{VM5ZGVA3.js → VKL63NGD.js} +1 -1
  301. package/dist/cdn/{IM4RE3TY.js → VPQLYHEX.js} +2 -2
  302. package/dist/cdn/{5JB54ZDZ.js → VTKU26GJ.js} +2 -2
  303. package/dist/cdn/{HWVIUSXX.js → VVWDTGJA.js} +2 -2
  304. package/dist/cdn/{D4ALCJ2M.js → W3IJZ4HC.js} +2 -2
  305. package/dist/cdn/{3VY4EZAW.js → W4JEA3XE.js} +2 -2
  306. package/dist/cdn/{PQV7S74Q.js → W5BIA42K.js} +1 -1
  307. package/dist/cdn/{AFLJD2D2.js → WDQUXD5I.js} +1 -1
  308. package/dist/cdn/{TH5Z25FN.js → WEZ56UHN.js} +2 -2
  309. package/dist/cdn/{RO22546M.js → WL6MLDUU.js} +2 -2
  310. package/dist/cdn/{2BUSHIVN.js → WTMEVWQW.js} +2 -2
  311. package/dist/cdn/{PRF7K5WC.js → WUJ53CX4.js} +2 -2
  312. package/dist/cdn/{6CTWI43P.js → WXYU7L46.js} +3 -3
  313. package/dist/cdn/{HI37TSGV.js → X74PFPTS.js} +2 -2
  314. package/dist/cdn/{LAFACIUY.js → XECYHGO2.js} +2 -2
  315. package/dist/cdn/XGYQYEAR.js +4 -0
  316. package/dist/cdn/{7JH4NQJN.js → XJGOAOI7.js} +2 -2
  317. package/dist/cdn/{LAEO6LKD.js → XMUV2USG.js} +2 -2
  318. package/dist/cdn/{EK64QJIA.js → XRK3LYSA.js} +2 -2
  319. package/dist/cdn/{7HHL3C3W.js → XZCYXYAE.js} +2 -2
  320. package/dist/cdn/{RJU7IRTU.js → Y4CZ7XFH.js} +1 -1
  321. package/dist/cdn/{HKB3O3L4.js → Y5DBURZM.js} +2 -2
  322. package/dist/cdn/{74CINEQ3.js → YA6EJEOH.js} +2 -2
  323. package/dist/cdn/{CX3ADR2W.js → YD7BBK2M.js} +2 -2
  324. package/dist/cdn/{SU4AYBNR.js → YH6ADAVW.js} +2 -2
  325. package/dist/cdn/{JRLDZOPB.js → YJEFD5S2.js} +2 -2
  326. package/dist/cdn/{WSBNE4TT.js → YNAZN7XO.js} +2 -2
  327. package/dist/cdn/{ISOMI2JF.js → YOPR6ELM.js} +2 -2
  328. package/dist/cdn/YPLTRSYP.js +4 -0
  329. package/dist/cdn/{LD7TCLXD.js → YQWNS5T6.js} +2 -2
  330. package/dist/cdn/{LQJJLIPP.js → YURM35K7.js} +2 -2
  331. package/dist/cdn/{7CWVWUIJ.js → YUTI6A3R.js} +2 -2
  332. package/dist/cdn/{22HKMFYF.js → YWSSWWW4.js} +2 -2
  333. package/dist/cdn/{XWNLS63V.js → YYBA5O22.js} +2 -2
  334. package/dist/cdn/{5AHT3NPU.js → Z3YUGK3I.js} +2 -2
  335. package/dist/cdn/{USJ3N6S7.js → Z5GGVIDD.js} +2 -2
  336. package/dist/cdn/{MIAVOYXC.js → ZD6YAEWR.js} +2 -2
  337. package/dist/cdn/{2W5TOF5B.js → ZFWM4LAN.js} +2 -2
  338. package/dist/cdn/{R27Z5MBC.js → ZGHTOGQP.js} +1 -1
  339. package/dist/cdn/{MR6YRCGE.js → ZHJK7BD5.js} +2 -2
  340. package/dist/cdn/{DWLQTIEQ.js → ZMAQKYQ6.js} +2 -2
  341. package/dist/cdn/{K3H4ICYM.js → ZN3QGUDV.js} +2 -2
  342. package/dist/cdn/{7QQHG2VR.js → ZRBRPLDW.js} +2 -2
  343. package/dist/cdn/{CS7YC56Z.js → ZXKZXNEZ.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +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 +1 -1
  389. package/dist/components/map-card/customElement.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-configuration/customElement.js +1 -1
  404. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  405. package/dist/components/solution-configure-titles/customElement.js +1 -1
  406. package/dist/components/solution-contents/customElement.js +1 -1
  407. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  408. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deployed-card/customElement.js +1 -1
  410. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  411. package/dist/components/solution-details-card/customElement.js +1 -1
  412. package/dist/components/solution-details-panel/customElement.js +1 -1
  413. package/dist/components/solution-item/customElement.js +1 -1
  414. package/dist/components/solution-item-accordion/customElement.js +1 -1
  415. package/dist/components/solution-item-details/customElement.js +1 -1
  416. package/dist/components/solution-item-diagram/customElement.js +1 -1
  417. package/dist/components/solution-item-icon/customElement.js +1 -1
  418. package/dist/components/solution-item-sharing/customElement.js +1 -1
  419. package/dist/components/solution-organization-variables/customElement.js +1 -1
  420. package/dist/components/solution-resource-card/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +1 -1
  428. package/dist/components/solutions-all-shell/customElement.js +1 -1
  429. package/dist/components/solutions-deploy-app/customElement.js +5 -5
  430. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  431. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  432. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  433. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  434. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  436. package/dist/components/solutions-resources/customElement.js +1 -1
  437. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  438. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  439. package/dist/components/spatial-ref/customElement.js +1 -1
  440. package/dist/components/store-manager/customElement.js +1 -1
  441. package/dist/docs/api.json +1 -1
  442. package/dist/docs/docs.json +1 -1
  443. package/dist/docs/web-types.json +1 -1
  444. package/dist/index.js +1 -1
  445. package/dist/loader.js +1 -1
  446. package/package.json +1 -1
  447. package/dist/cdn/3X5VVBRU.js +0 -4
  448. package/dist/cdn/FDGQ5NKL.js +0 -4
  449. package/dist/cdn/K6H5T5TN.js +0 -4
  450. package/dist/cdn/KGPR63CZ.js +0 -4
  451. package/dist/cdn/SPKIAQZB.js +0 -4
  452. package/dist/cdn/STMYBXHY.js +0 -4
  453. package/dist/cdn/TJ2NWBZX.js +0 -4
  454. package/dist/cdn/WA37EJ6K.js +0 -18
  455. package/dist/cdn/WSVMA7LP.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{l as g}from"./CVNLYDRK.js";import{c as i,d as f}from"./PQTHI43K.js";import{a as o}from"./PAMOCSXX.js";import{b as c}from"./SWVAF6LW.js";import{c as m,j as l,k as s,l as d,w as p}from"./XA5GIUR6.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.2.0-next.6 */
4
+ import{l as g}from"./GYJUGCFY.js";import{c as i,d as f}from"./UOSJKW7E.js";import{a as o}from"./5DBXMD4E.js";import{b as c}from"./Q6ET57BS.js";import{c as m,j as l,k as s,l as d,w as p}from"./7ASCWQCT.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as E}from"./HKEDWMSD.js";import{m,n as h,q as v}from"./ADJFXZSR.js";export default $arcgis.t(([{on:W,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},U=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},V=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return V},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
3
+ v1.2.0-next.6 */
4
+ import{a as E}from"./U4MDUHGI.js";import{m,n as h,q as v}from"./QMVHLMJD.js";export default $arcgis.t(([{on:W,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},U=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},V=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return V},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
3
+ v1.2.0-next.6 */
4
4
  var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{c as a}from"./VM5ZGVA3.js";import"./RYDQMLHS.js";export{a as MetricSchema};
3
+ v1.2.0-next.6 */
4
+ import{c as a}from"./VKL63NGD.js";import"./6OU6VXZE.js";export{a as MetricSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{b as y}from"./CSGP6EII.js";import{b as v}from"./R4D3526U.js";import{a as _}from"./MGEQNCFR.js";import{k as b,l as m}from"./UK6FJACI.js";import{a as g}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as f}from"./KWA56BZT.js";import{C as r,D as a,E as d,G as p,H as o,I as u,h as c,i as l,o as h}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var S=c`/** @license
3
+ v1.2.0-next.6 */
4
+ import{b as y}from"./UHRZV2BI.js";import{b as v}from"./RNJUJD2O.js";import{a as _}from"./S6KMTGDZ.js";import{k as b,l as m}from"./7QXVNVSY.js";import{a as g}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as f}from"./43AII6JW.js";import{C as r,D as a,E as d,G as p,H as o,I as u,h as c,i as l,o as h}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var S=c`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
3
+ v1.2.0-next.6 */
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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{b as h}from"./2LFAIG4Y.js";import{b as c}from"./KWA56BZT.js";import{C as n,D as l,E as r,h as i,i as s,o as a}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var u=i`/** @license
3
+ v1.2.0-next.6 */
4
+ import{b as h}from"./SEYIBXFF.js";import{b as c}from"./43AII6JW.js";import{C as n,D as l,E as r,h as i,i as s,o as a}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var u=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as d}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as o}from"./KWA56BZT.js";import{E as a,h as l,i as e,l as n,o as t}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var h=l`/** @license
3
+ v1.2.0-next.6 */
4
+ import{a as d}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as o}from"./43AII6JW.js";import{E as a,h as l,i as e,l as n,o as t}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var h=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as S}from"./YN6H5F4A.js";import{b as d,c as g,i as y,j as N}from"./SN6IKSF7.js";import{a as I}from"./PAMOCSXX.js";import{a as M,e as E,f as T,g as F}from"./SWVAF6LW.js";import{a as $,b as R}from"./XA5GIUR6.js";import{d as l,e as p,f as c}from"./52U2DKMV.js";import{a as A}from"./3KMNENXB.js";import{a as x}from"./IB6ALJM2.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.2.0-next.6 */
4
+ import{a as S}from"./RYN2SWCM.js";import{b as d,c as g,i as y,j as N}from"./CLZFMS77.js";import{a as I}from"./5DBXMD4E.js";import{a as M,e as E,f as T,g as F}from"./Q6ET57BS.js";import{a as $,b as R}from"./7ASCWQCT.js";import{d as l,e as p,f as c}from"./TMCHHM55.js";import{a as A}from"./A6SDFMS4.js";import{a as x}from"./SRTKEQJS.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};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as C}from"./HKEDWMSD.js";import{a as v,b as E,p as y}from"./ADJFXZSR.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
3
+ v1.2.0-next.6 */
4
+ import{a as C}from"./U4MDUHGI.js";import{a as v,b as E,p as y}from"./QMVHLMJD.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import"./RYDQMLHS.js";var a="N\xE3o tem cr\xE9ditos suficientes para executar esta opera\xE7\xE3o. Contacte o seu Administrador de Sistemas ArcGIS para obter assist\xEAncia.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para a sua organiza\xE7\xE3o. Contacte o seu administrador para ajustar a defini\xE7\xE3o.",r="${ dataPath } n\xE3o pode conter ${ additionalProperty }.",o="${ dataPath } tem de corresponder ao esquema de um dos seguintes: ${ schemaOptions }.",t="Experimente guardar o mapa novamente.",s="A Estimativa de Cr\xE9dito falhou. Percorra para baixo, corrija os erros e fa\xE7a novamente a estimativa.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } tem de ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao guardar o hist\xF3rico de an\xE1lise",m="O armazenamento do hist\xF3rico est\xE1 cheio. Remova alguns itens do hist\xF3rico de an\xE1lise e experimente guardar novamente.",c="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",l="A grava\xE7\xE3o da camada tempor\xE1ria como camada de elementos alojada n\xE3o foi conclu\xEDda.",u="Falha ao obter propriedades essenciais.",p="Falha ao carregar a camada.",h="A camada n\xE3o est\xE1 dispon\xEDvel.",v="${ dataPath } n\xE3o pode conter mais do que ${ limit } itens.",f="Ocorreu um erro ao guardar o modelo. Experimente guardar novamente.",E="${ dataPath } n\xE3o pode conter menos do que ${ limit } itens.",P="${ dataPath } n\xE3o pode ser inferior a ${ limit } caracteres.",y="Falha ao carregar o item de modelo. Certifique-se de que o modelo existe e de que a permiss\xE3o de acesso foi concedida.",F="Falha ao concluir o pedido.",S="N\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao iniciar sess\xE3o no portal.",g="Falha ao ler os dados de entrada.",x="${ dataPath } tem uma propriedade com o nome ${ missingProperty } em falta.",$="J\xE1 existe uma camada de resultado com este nome. As camadas de resultado t\xEAm de ter um nome \xFAnico em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome de sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como uma camada alojada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",q="O envio da tarefa falhou. Percorra para baixo, corrija os erros e execute novamente a an\xE1lise.",T="${ dataPath } tem de ter, pelo menos, um car\xE1ter que n\xE3o seja um espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:l,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:f,minItems:E,minLength:P,modelNotFound:y,networkError:F,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:g,requiredProperty:x,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:q,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,l as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,f as mbFailedToSave,E as minItems,P as minLength,y as modelNotFound,F as networkError,S as noPermissionToAccessTool,b as portalLoadError,g as queryFeaturesError,x as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,q as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.6 */
4
+ import"./6OU6VXZE.js";var a="N\xE3o tem cr\xE9ditos suficientes para executar esta opera\xE7\xE3o. Contacte o seu Administrador de Sistemas ArcGIS para obter assist\xEAncia.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para a sua organiza\xE7\xE3o. Contacte o seu administrador para ajustar a defini\xE7\xE3o.",r="${ dataPath } n\xE3o pode conter ${ additionalProperty }.",o="${ dataPath } tem de corresponder ao esquema de um dos seguintes: ${ schemaOptions }.",t="Experimente guardar o mapa novamente.",s="A Estimativa de Cr\xE9dito falhou. Percorra para baixo, corrija os erros e fa\xE7a novamente a estimativa.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } tem de ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao guardar o hist\xF3rico de an\xE1lise",m="O armazenamento do hist\xF3rico est\xE1 cheio. Remova alguns itens do hist\xF3rico de an\xE1lise e experimente guardar novamente.",c="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",l="A grava\xE7\xE3o da camada tempor\xE1ria como camada de elementos alojada n\xE3o foi conclu\xEDda.",u="Falha ao obter propriedades essenciais.",p="Falha ao carregar a camada.",h="A camada n\xE3o est\xE1 dispon\xEDvel.",v="${ dataPath } n\xE3o pode conter mais do que ${ limit } itens.",f="Ocorreu um erro ao guardar o modelo. Experimente guardar novamente.",E="${ dataPath } n\xE3o pode conter menos do que ${ limit } itens.",P="${ dataPath } n\xE3o pode ser inferior a ${ limit } caracteres.",y="Falha ao carregar o item de modelo. Certifique-se de que o modelo existe e de que a permiss\xE3o de acesso foi concedida.",F="Falha ao concluir o pedido.",S="N\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao iniciar sess\xE3o no portal.",g="Falha ao ler os dados de entrada.",x="${ dataPath } tem uma propriedade com o nome ${ missingProperty } em falta.",$="J\xE1 existe uma camada de resultado com este nome. As camadas de resultado t\xEAm de ter um nome \xFAnico em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome de sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como uma camada alojada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",q="O envio da tarefa falhou. Percorra para baixo, corrija os erros e execute novamente a an\xE1lise.",T="${ dataPath } tem de ter, pelo menos, um car\xE1ter que n\xE3o seja um espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:l,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:f,minItems:E,minLength:P,modelNotFound:y,networkError:F,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:g,requiredProperty:x,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:q,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,l as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,f as mbFailedToSave,E as minItems,P as minLength,y as modelNotFound,F as networkError,S as noPermissionToAccessTool,b as portalLoadError,g as queryFeaturesError,x as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,q as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as e}from"./FGNM3NFZ.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.2.0-next.6 */
4
+ import{a as e}from"./DYURGKBB.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import b from"./PJFNAHXF.js";import a from"./JHF3KM73.js";import{a as _}from"./VUD3HI2Q.js";import{b as y}from"./MOKNBS3C.js";import"./HKEDWMSD.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./ADJFXZSR.js";import"./RYDQMLHS.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
3
+ v1.2.0-next.6 */
4
+ import b from"./SGHNBHUF.js";import a from"./GNTRINMX.js";import{a as _}from"./PDCOACTW.js";import{b as y}from"./V4HWOWHO.js";import"./U4MDUHGI.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./QMVHLMJD.js";import"./6OU6VXZE.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
3
+ v1.2.0-next.6 */
4
4
  var t={medium:[769,992]};export{t as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as r}from"./26QOJAKK.js";import"./2GKQUPSG.js";import"./3CY52HGI.js";import"./OQJKXHFA.js";import"./OJTIJAMU.js";import"./CVNLYDRK.js";import"./YN6H5F4A.js";import"./GRI7T2CE.js";import"./PQTHI43K.js";import"./SN6IKSF7.js";import"./OO2K3GFV.js";import"./PAMOCSXX.js";import"./5VGQMPBM.js";import"./SWVAF6LW.js";import"./LAFACIUY.js";import"./XA5GIUR6.js";import"./52U2DKMV.js";import"./3KMNENXB.js";import"./2XTLVCYV.js";import"./IB6ALJM2.js";import"./M5UNYNCA.js";import"./UK6FJACI.js";import{a as d}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as p}from"./KWA56BZT.js";import{E as l,h,i as n,l as a}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var g=h`/** @license
3
+ v1.2.0-next.6 */
4
+ import{a as r}from"./OTUI5EVK.js";import"./T36HJPUB.js";import"./Q5S5ARM5.js";import"./OQX77LVX.js";import"./GLY2GMK3.js";import"./GYJUGCFY.js";import"./RYN2SWCM.js";import"./PIKL7Y7Z.js";import"./UOSJKW7E.js";import"./CLZFMS77.js";import"./LY6TIHQF.js";import"./5DBXMD4E.js";import"./RYXX6HET.js";import"./Q6ET57BS.js";import"./XECYHGO2.js";import"./7ASCWQCT.js";import"./TMCHHM55.js";import"./A6SDFMS4.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import"./AN4ZPBV5.js";import"./7QXVNVSY.js";import{a as d}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as p}from"./43AII6JW.js";import{E as l,h,i as n,l as a}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var g=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as o}from"./HWVIUSXX.js";import{d as r}from"./LAFACIUY.js";import"./2XTLVCYV.js";import"./IB6ALJM2.js";import{a as s}from"./UXALLH6N.js";import"./BEZDR3BF.js";import"./737BY2CY.js";import"./F2GKQT5D.js";import"./33WJILQZ.js";import"./RJU7IRTU.js";import"./OJV6245L.js";import"./QEBEA7MU.js";import"./M5UNYNCA.js";import"./A7722FBD.js";import"./IQFFJSPI.js";import"./JKUZZH76.js";import"./JWJKVILC.js";import"./KSNTYAQZ.js";import"./5LW3NDVY.js";import"./BNGJF56X.js";import"./IGBY6H7G.js";import"./PZLJVQX3.js";import"./HI37TSGV.js";import"./FGNM3NFZ.js";import"./355B4HKB.js";import"./R27Z5MBC.js";import"./VM5ZGVA3.js";import"./RYDQMLHS.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.2.0-next.6 */
4
+ import{a as o}from"./VVWDTGJA.js";import{d as r}from"./XECYHGO2.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import{a as s}from"./7F75Q6X6.js";import"./SWCTZZ5M.js";import"./P2SYJ24C.js";import"./ECNSXEJQ.js";import"./DBIXZJBF.js";import"./Y4CZ7XFH.js";import"./TK5ARS6D.js";import"./I5ZRIC3T.js";import"./AN4ZPBV5.js";import"./RQU6SEUA.js";import"./Q2ZBJ5N6.js";import"./2EHFNAOJ.js";import"./PHF75FIZ.js";import"./HLI457TP.js";import"./FQYAST2K.js";import"./KS6EZ4SP.js";import"./MIC6LQDI.js";import"./EHEL3Y7B.js";import"./X74PFPTS.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./VKL63NGD.js";import"./6OU6VXZE.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.6 */
4
+ import{a}from"./NNP5DIE4.js";import"./AYBN7RSJ.js";import"./PECFRP4P.js";import"./A6SDFMS4.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import"./AN4ZPBV5.js";import"./6OU6VXZE.js";export{a as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as r}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as c}from"./KWA56BZT.js";import{C as l,D as o,E as s,h as a,i as t}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var p=a`/** @license
3
+ v1.2.0-next.6 */
4
+ import{a as r}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as c}from"./43AII6JW.js";import{C as l,D as o,E as s,h as a,i as t}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var p=a`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.6 */
4
+ import{a,b}from"./KS6EZ4SP.js";import"./ZGHTOGQP.js";import"./6OU6VXZE.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./IANKP2HF.js";import{a as r}from"./UXALLH6N.js";import"./BEZDR3BF.js";import"./737BY2CY.js";import"./F2GKQT5D.js";import"./33WJILQZ.js";import"./RJU7IRTU.js";import"./OJV6245L.js";import"./QEBEA7MU.js";import"./M5UNYNCA.js";import"./A7722FBD.js";import"./IQFFJSPI.js";import"./JKUZZH76.js";import"./JWJKVILC.js";import"./KSNTYAQZ.js";import"./5LW3NDVY.js";import"./BNGJF56X.js";import"./IGBY6H7G.js";import"./PZLJVQX3.js";import"./HI37TSGV.js";import"./FGNM3NFZ.js";import"./355B4HKB.js";import"./R27Z5MBC.js";import"./VM5ZGVA3.js";import"./RYDQMLHS.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.2.0-next.6 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./LSZ3JKFT.js";import{a as r}from"./7F75Q6X6.js";import"./SWCTZZ5M.js";import"./P2SYJ24C.js";import"./ECNSXEJQ.js";import"./DBIXZJBF.js";import"./Y4CZ7XFH.js";import"./TK5ARS6D.js";import"./I5ZRIC3T.js";import"./AN4ZPBV5.js";import"./RQU6SEUA.js";import"./Q2ZBJ5N6.js";import"./2EHFNAOJ.js";import"./PHF75FIZ.js";import"./HLI457TP.js";import"./FQYAST2K.js";import"./KS6EZ4SP.js";import"./MIC6LQDI.js";import"./EHEL3Y7B.js";import"./X74PFPTS.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./VKL63NGD.js";import"./6OU6VXZE.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{b as t,c as e}from"./M5UNYNCA.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.2.0-next.6 */
4
+ import{b as t,c as e}from"./AN4ZPBV5.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as D}from"./ZMG4YA63.js";import{b as F}from"./R4D3526U.js";import{c as y,g as O,j as $}from"./2W5TOF5B.js";import{e as d}from"./UK6FJACI.js";import{a as k,d as E,f as T}from"./YEBFOEVN.js";import{b as G}from"./2LFAIG4Y.js";import{a as I}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as V}from"./KWA56BZT.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var N=w`@layer{/** @license
3
+ v1.2.0-next.6 */
4
+ import{a as D}from"./AHQC773M.js";import{b as F}from"./RNJUJD2O.js";import{c as y,g as O,j as $}from"./ZFWM4LAN.js";import{e as d}from"./7QXVNVSY.js";import{a as k,d as E,f as T}from"./CYYJ37UQ.js";import{b as G}from"./SEYIBXFF.js";import{a as I}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as V}from"./43AII6JW.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var N=w`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import"./RYDQMLHS.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.6 */
4
+ import"./6OU6VXZE.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z as toolValidationError,T as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as b}from"./ZMG4YA63.js";import{b as k}from"./R4D3526U.js";import{g as a}from"./UK6FJACI.js";import{b as w}from"./2LFAIG4Y.js";import{a as _}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as y}from"./KWA56BZT.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var u=n`@layer{/** @license
3
+ v1.2.0-next.6 */
4
+ import{a as b}from"./AHQC773M.js";import{b as k}from"./RNJUJD2O.js";import{g as a}from"./7QXVNVSY.js";import{b as w}from"./SEYIBXFF.js";import{a as _}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as y}from"./43AII6JW.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var u=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as e}from"./IB6ALJM2.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
3
+ v1.2.0-next.6 */
4
+ import{a as e}from"./SRTKEQJS.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as m}from"./QTX7JLGF.js";import{a as f}from"./SN6IKSF7.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.2.0-next.6 */
4
+ import{a as m}from"./RGNOHVXO.js";import{a as f}from"./CLZFMS77.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{b as p}from"./MOKNBS3C.js";import{E as a,h as i,i as n,r}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
3
+ v1.2.0-next.6 */
4
+ import{b as p}from"./V4HWOWHO.js";import{E as a,h as i,i as n,r}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{na as n,pa as a,ra as m}from"./2GKQUPSG.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};
3
+ v1.2.0-next.6 */
4
+ import{na as n,pa as a,ra as m}from"./T36HJPUB.js";async function u(o,i){let s=await m(o,i);if(!s)throw new Error(`Solution ${o} was not found`);let r=i?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",p=[];if(s.templates[0].item)p=s.templates.map(t=>({id:t.itemId,title:t.item.title,type:t.item.type,typeKeywords:t.item.typeKeywords,dependencies:t.dependencies,snippet:t.item.snippet}));else{let t=s.templates.map(e=>e.type==="Group"?n(e.itemId,i):a(e.itemId,i));p=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value).map((e,d)=>{let l=typeof e.type>"u"?"group":"item";return{id:e.id,title:e.title,type:e.type??"Group",typeKeywords:e.typeKeywords,dependencies:s.templates[d].dependencies,snippet:e.snippet,url:`${r}/home/${l}.html?id=${e.id}`}})}return p}export{u as a};