@esri/solutions-components 1.2.0-next.60 → 1.2.0-next.62

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 (446) hide show
  1. package/dist/cdn/{CKNI5JQZ.js → 22JVEJ5Q.js} +2 -2
  2. package/dist/cdn/22NCE237.js +4 -0
  3. package/dist/cdn/{6GOVJOEP.js → 22PAFNIS.js} +1 -1
  4. package/dist/cdn/{TBX5YM7Y.js → 236NYJJU.js} +2 -2
  5. package/dist/cdn/23YDHQTC.js +4 -0
  6. package/dist/cdn/253F2A32.js +4 -0
  7. package/dist/cdn/{JBY2LVLC.js → 2GSMLN5P.js} +2 -2
  8. package/dist/cdn/2HJI2XXY.js +99 -0
  9. package/dist/cdn/{GDA44E5L.js → 2PLJEDPA.js} +2 -2
  10. package/dist/cdn/{IJ245FDS.js → 2S7HZF7M.js} +2 -2
  11. package/dist/cdn/{PKVTULHS.js → 32CAHGJ5.js} +2 -2
  12. package/dist/cdn/37ABMKIT.js +4 -0
  13. package/dist/cdn/{DHWSNW5P.js → 3GS5C3NN.js} +2 -2
  14. package/dist/cdn/{N6VW2C5V.js → 3HWVOIZJ.js} +2 -2
  15. package/dist/cdn/{YUD3M45U.js → 3X3W65RV.js} +2 -2
  16. package/dist/cdn/{WQZZSYO5.js → 43XNXLYA.js} +1 -1
  17. package/dist/cdn/45XVYTNF.js +4 -0
  18. package/dist/cdn/{BURTSBUG.js → 4DEQWZVP.js} +2 -2
  19. package/dist/cdn/{UK7HJV5Q.js → 4IVBY5EY.js} +2 -2
  20. package/dist/cdn/{ZP32JPRG.js → 4LZ6CQRP.js} +2 -2
  21. package/dist/cdn/{F2O4WKM6.js → 4MMEN7ON.js} +1 -1
  22. package/dist/cdn/{SHP3U3JY.js → 4UIXAAHB.js} +2 -2
  23. package/dist/cdn/{JQQORYBM.js → 4XIOAYVM.js} +2 -2
  24. package/dist/cdn/{5BILAT4P.js → 4XVPHNUD.js} +2 -2
  25. package/dist/cdn/{W62W3LOA.js → 52LPF2VM.js} +2 -2
  26. package/dist/cdn/{HWMTN5ZA.js → 54CECDRX.js} +3 -3
  27. package/dist/cdn/{RODDEQZP.js → 554VYCGW.js} +2 -2
  28. package/dist/cdn/{EDH5P6Q7.js → 57XJMKLA.js} +2 -2
  29. package/dist/cdn/{MJOCAQYG.js → 5APMCLL6.js} +2 -2
  30. package/dist/cdn/{5UHH33AX.js → 5D5B7JGO.js} +2 -2
  31. package/dist/cdn/{H6QRA25K.js → 5FMIL22Q.js} +2 -2
  32. package/dist/cdn/{CNDUM26C.js → 5KQ5Q26R.js} +2 -2
  33. package/dist/cdn/{DCZYU4L6.js → 5M6DOBGP.js} +2 -2
  34. package/dist/cdn/{7FQXWGOC.js → 5T5TBQ6T.js} +2 -2
  35. package/dist/cdn/{25S4YYPR.js → 5TSB7GTX.js} +1 -1
  36. package/dist/cdn/{2LQ6UZTT.js → 62DGAPEO.js} +2 -2
  37. package/dist/cdn/{54ED5CXQ.js → 62ZCP7VD.js} +2 -2
  38. package/dist/cdn/{T7D3VOZH.js → 63OPMGEP.js} +1 -1
  39. package/dist/cdn/{JHF5JR4C.js → 64QSZHAO.js} +2 -2
  40. package/dist/cdn/{DSMKW3R5.js → 6CU2WRF6.js} +2 -2
  41. package/dist/cdn/{XZQZZC3C.js → 6IIEGCHC.js} +1 -1
  42. package/dist/cdn/{CZ7OZ7WB.js → 6NJA65DE.js} +2 -2
  43. package/dist/cdn/{5TEHU4A3.js → 6PW6R74H.js} +2 -2
  44. package/dist/cdn/{TPC7NEBD.js → 726JATVV.js} +2 -2
  45. package/dist/cdn/7GUJY2LR.js +4 -0
  46. package/dist/cdn/{NJDA4LPT.js → 7IGDME5U.js} +2 -2
  47. package/dist/cdn/{QVQG7XLV.js → 7R442J7P.js} +2 -2
  48. package/dist/cdn/{6FVZXZD6.js → 7RMDHBJB.js} +2 -2
  49. package/dist/cdn/{3UZFYGDX.js → 7Y3KZNR2.js} +2 -2
  50. package/dist/cdn/{YRJBKF6C.js → A24UTMFY.js} +2 -2
  51. package/dist/cdn/{VGEFJTQ7.js → A4UPSJJE.js} +2 -2
  52. package/dist/cdn/{B72I6V6F.js → A6VN4V55.js} +2 -2
  53. package/dist/cdn/{L5QIQ6XB.js → A7DAUWF2.js} +2 -2
  54. package/dist/cdn/{ILEKKEKK.js → ADPIMKQF.js} +2 -2
  55. package/dist/cdn/{2KLTC6O5.js → AGA3QECA.js} +2 -2
  56. package/dist/cdn/{APPQU75R.js → AI4YPMS2.js} +2 -2
  57. package/dist/cdn/{6JWWLPWA.js → AKIG2SOT.js} +2 -2
  58. package/dist/cdn/{CTLSDIIG.js → ALPA4YMT.js} +2 -2
  59. package/dist/cdn/{RJ4NCL2V.js → AMPKI3ZS.js} +2 -2
  60. package/dist/cdn/{NVQ6TXGS.js → APXUHBE6.js} +2 -2
  61. package/dist/cdn/{I5XRY7QD.js → ARVI4H2Q.js} +2 -2
  62. package/dist/cdn/{HEW7XMPJ.js → ASIRLW76.js} +2 -2
  63. package/dist/cdn/AVOVSN7I.js +4 -0
  64. package/dist/cdn/{6KLBYZFM.js → AYBCSY7S.js} +1 -1
  65. package/dist/cdn/{7AH7N5XT.js → B325AODH.js} +2 -2
  66. package/dist/cdn/{YKML7M7J.js → B34U5BOQ.js} +2 -2
  67. package/dist/cdn/{ZCVLEFOZ.js → B5HFPNLU.js} +2 -2
  68. package/dist/cdn/B6AW4EWR.js +4 -0
  69. package/dist/cdn/{TMAKLZXE.js → B7SKJJP3.js} +2 -2
  70. package/dist/cdn/{N3W52TLJ.js → BAMGFCWQ.js} +2 -2
  71. package/dist/cdn/{OSUCA7CY.js → BBVT6UMT.js} +1 -1
  72. package/dist/cdn/{6BYDV3EW.js → BIXSBFWC.js} +2 -2
  73. package/dist/cdn/{C32KHGLO.js → BK4RW3VQ.js} +2 -2
  74. package/dist/cdn/{NOGPPLBH.js → BKAHIMJS.js} +2 -2
  75. package/dist/cdn/{NJN5EPQ4.js → BNJCN3PG.js} +2 -2
  76. package/dist/cdn/{JJ7ZGFCV.js → BZDZ3UJ6.js} +2 -2
  77. package/dist/cdn/{7WO57UW7.js → C5VOK3FJ.js} +2 -2
  78. package/dist/cdn/{A3HBTAZT.js → C6IB2AKM.js} +2 -2
  79. package/dist/cdn/{AHRD7AGX.js → C6JSF4KJ.js} +2 -2
  80. package/dist/cdn/{BMUBVYWB.js → CACE6JPT.js} +2 -2
  81. package/dist/cdn/CGH4Y5QV.js +4 -0
  82. package/dist/cdn/{YCKVHLNK.js → CNVT4KW2.js} +2 -2
  83. package/dist/cdn/{LDWBOY5O.js → CUCGCLEY.js} +2 -2
  84. package/dist/cdn/{NKNXRQAV.js → CUEWTRE6.js} +2 -2
  85. package/dist/cdn/{JJKBP6VP.js → D3FDZ2UO.js} +2 -2
  86. package/dist/cdn/{VAAKEDW6.js → D7AKN3FL.js} +2 -2
  87. package/dist/cdn/{4B45SS3L.js → DADOAOGK.js} +2 -2
  88. package/dist/cdn/{YIXNCAFO.js → DBJEWRVF.js} +2 -2
  89. package/dist/cdn/{BJ7ITM4Z.js → DBQK233J.js} +2 -2
  90. package/dist/cdn/{O5PY3MEI.js → DHGDH6TY.js} +2 -2
  91. package/dist/cdn/{HOZY6EI4.js → DIUGFURH.js} +2 -2
  92. package/dist/cdn/{5O4YCDNG.js → DJQJX7XN.js} +2 -2
  93. package/dist/cdn/{VKEAIQ7W.js → DKENTSZS.js} +2 -2
  94. package/dist/cdn/{U5Y5C2T7.js → DMBX6WDE.js} +2 -2
  95. package/dist/cdn/{KXCASIUR.js → DNQXEBRM.js} +1 -1
  96. package/dist/cdn/{HYKFAUBN.js → DOUCTK4Y.js} +2 -2
  97. package/dist/cdn/{6YX67STC.js → DQ56YCHP.js} +2 -2
  98. package/dist/cdn/{HMCZQXAN.js → DY6XHIHX.js} +2 -2
  99. package/dist/cdn/{7ZR4MPQZ.js → DYTPNPZ6.js} +2 -2
  100. package/dist/cdn/{ZIBWJVYK.js → E4CBAFDM.js} +2 -2
  101. package/dist/cdn/{6N5NPFCF.js → E4GKMLY7.js} +1 -1
  102. package/dist/cdn/{RYTV4M2W.js → E4MHP3D6.js} +2 -2
  103. package/dist/cdn/{VBXJSOCP.js → E5TKEWBV.js} +2 -2
  104. package/dist/cdn/{JUN72POY.js → EAEVZCHH.js} +2 -2
  105. package/dist/cdn/{IKCE3HR4.js → EARAW6MW.js} +2 -2
  106. package/dist/cdn/{DVPHVSDL.js → EGFNOBOA.js} +2 -2
  107. package/dist/cdn/{V5T2QK5Z.js → ERMUBMJN.js} +3 -3
  108. package/dist/cdn/{YHKV4IMA.js → ET3OO6ME.js} +2 -2
  109. package/dist/cdn/{6AE27ENC.js → EVD3PK7T.js} +2 -2
  110. package/dist/cdn/{RF3JRSKX.js → EWAAPXCJ.js} +2 -2
  111. package/dist/cdn/{TZLKWPKE.js → EWXIH5IA.js} +1 -1
  112. package/dist/cdn/{VIHFAHTC.js → EZEU4P7C.js} +2 -2
  113. package/dist/cdn/{OAIWU3G2.js → F3G2SMGH.js} +2 -2
  114. package/dist/cdn/{SADSRCE6.js → F4O75RZP.js} +2 -2
  115. package/dist/cdn/{C5IIHI76.js → F5JAPR6B.js} +2 -2
  116. package/dist/cdn/{UNXHL3PD.js → FNQ2L2DM.js} +2 -2
  117. package/dist/cdn/{NRH5UT5G.js → FP5D2SZA.js} +2 -2
  118. package/dist/cdn/{KQJ5NCH6.js → FPZEMX4B.js} +2 -2
  119. package/dist/cdn/{UYBRDZJB.js → FTRDBT4T.js} +1 -1
  120. package/dist/cdn/{65VZKYXC.js → FZJHK5CF.js} +2 -2
  121. package/dist/cdn/{I2GKR2VA.js → FZLUKWFG.js} +2 -2
  122. package/dist/cdn/{D7E2HKRL.js → G2AIEDH5.js} +2 -2
  123. package/dist/cdn/{4ZUI33B3.js → G2WHRDRB.js} +2 -2
  124. package/dist/cdn/{WE6UE3KJ.js → G5HIPUSK.js} +2 -2
  125. package/dist/cdn/{VLJVPFSV.js → GC4O5APO.js} +2 -2
  126. package/dist/cdn/{NCOWGV7K.js → GEIREK7Z.js} +2 -2
  127. package/dist/cdn/{7MHE37ND.js → GJFCLYAN.js} +2 -2
  128. package/dist/cdn/{TEDF2YLW.js → GKEZI3PT.js} +2 -2
  129. package/dist/cdn/{AOTAJDNP.js → GNV3ZQMC.js} +2 -2
  130. package/dist/cdn/{ZGSIGKHE.js → GQ2XFFMS.js} +2 -2
  131. package/dist/cdn/{AURJV7BW.js → GUNQEMBA.js} +2 -2
  132. package/dist/cdn/{OXWGYPXL.js → GVHW3DLW.js} +2 -2
  133. package/dist/cdn/{K7YP5PDD.js → H2OY3T5X.js} +2 -2
  134. package/dist/cdn/{5KBG56UB.js → H55LL3JW.js} +2 -2
  135. package/dist/cdn/{M4JSPVOB.js → H5CJXI25.js} +2 -2
  136. package/dist/cdn/{FNJ2SV5I.js → HDZR66W4.js} +2 -2
  137. package/dist/cdn/HFAKSY2S.js +4 -0
  138. package/dist/cdn/{VJTZDKH6.js → HGL4EETI.js} +2 -2
  139. package/dist/cdn/{KU7YFFLU.js → HGORRSQH.js} +2 -2
  140. package/dist/cdn/{BTLCSZS6.js → HHTFAIXB.js} +2 -2
  141. package/dist/cdn/{ZEOSRRT3.js → HMRGYX5P.js} +2 -2
  142. package/dist/cdn/{ZMOPA7LL.js → HP5QJTNI.js} +2 -2
  143. package/dist/cdn/{64ZV5SC6.js → HUGBK2U5.js} +2 -2
  144. package/dist/cdn/{JISBULOQ.js → HV67SLIL.js} +2 -2
  145. package/dist/cdn/{55BTIKND.js → HZ6I4XIB.js} +2 -2
  146. package/dist/cdn/{542KFAVB.js → IAYBBBQT.js} +2 -2
  147. package/dist/cdn/{2QT4FWZI.js → IFZPP6SX.js} +2 -2
  148. package/dist/cdn/{WCFSF7A6.js → IHPRKZ6H.js} +2 -2
  149. package/dist/cdn/{QGEJHDKV.js → IHYUEJMC.js} +2 -2
  150. package/dist/cdn/{A6EVVFF5.js → IJQDG7IP.js} +1 -1
  151. package/dist/cdn/{RKIQ5DUF.js → INSM2YOC.js} +1 -1
  152. package/dist/cdn/{NRD46FCK.js → IPK2F5FY.js} +2 -2
  153. package/dist/cdn/{3C7EEW26.js → IULSZB52.js} +2 -2
  154. package/dist/cdn/{2WAKVF6V.js → IWA7DA43.js} +2 -2
  155. package/dist/cdn/{ERJ7WRMG.js → IWCAJBZW.js} +2 -2
  156. package/dist/cdn/{D4HJALUO.js → IXXHXXXL.js} +2 -2
  157. package/dist/cdn/J2GHMMFS.js +4 -0
  158. package/dist/cdn/{I2ZUPDGL.js → J3UFVX3S.js} +2 -2
  159. package/dist/cdn/{X6UQRYBW.js → J63NAMCW.js} +2 -2
  160. package/dist/cdn/{PWZXYVX5.js → JC7RDCAK.js} +1 -1
  161. package/dist/cdn/{K6F7LOXC.js → JFF52LZP.js} +2 -2
  162. package/dist/cdn/{CLGO7JPJ.js → JFSGS5OC.js} +2 -2
  163. package/dist/cdn/{N2EZQGSH.js → JHLUVV4N.js} +2 -2
  164. package/dist/cdn/{E5D2NJVY.js → JIJ63VQQ.js} +2 -2
  165. package/dist/cdn/{PTDYPOBH.js → JIWFE5LY.js} +2 -2
  166. package/dist/cdn/{FTRTGXW7.js → JLLGVKZ3.js} +2 -2
  167. package/dist/cdn/{WYHW2ASX.js → JOKQH5HY.js} +2 -2
  168. package/dist/cdn/{WFPKRTD3.js → JQUL7FKM.js} +2 -2
  169. package/dist/cdn/JRR6TOXN.js +4 -0
  170. package/dist/cdn/{JCODPNFL.js → JVKAKNFS.js} +2 -2
  171. package/dist/cdn/{NIX6S7F4.js → K3AJABNT.js} +2 -2
  172. package/dist/cdn/K4AQW7JU.js +4 -0
  173. package/dist/cdn/{ENLS3ON7.js → K5PP5PS3.js} +2 -2
  174. package/dist/cdn/{MGTGTJF2.js → K5XSI7EQ.js} +2 -2
  175. package/dist/cdn/{5A33WQAT.js → KB4RIKZC.js} +2 -2
  176. package/dist/cdn/{ZKK5CT2Y.js → KD3N253K.js} +2 -2
  177. package/dist/cdn/{L6CDXESS.js → KDYFZUTB.js} +2 -2
  178. package/dist/cdn/{CTCPMABN.js → KG6ZXBS3.js} +2 -2
  179. package/dist/cdn/{CJZPJFAS.js → KK7FYLJQ.js} +2 -2
  180. package/dist/cdn/{AXSGVQ6P.js → KMZFQSAO.js} +2 -2
  181. package/dist/cdn/{H4MLUVTV.js → KTC723NZ.js} +2 -2
  182. package/dist/cdn/{QU5W75PN.js → KX5MJZBS.js} +2 -2
  183. package/dist/cdn/{3X5566EC.js → KXKGISFI.js} +2 -2
  184. package/dist/cdn/{KS2TXTJB.js → KXM4MDPA.js} +1 -1
  185. package/dist/cdn/L3X5KHYY.js +4 -0
  186. package/dist/cdn/{T2GOSVXE.js → L4WWTSVG.js} +1 -1
  187. package/dist/cdn/{3S7MAI7H.js → L6TD54I2.js} +2 -2
  188. package/dist/cdn/{FRISKWYY.js → LEQFLWZJ.js} +2 -2
  189. package/dist/cdn/{4N5CTUVM.js → LF6GOWP7.js} +2 -2
  190. package/dist/cdn/{N3WXY7EJ.js → LFZ3JTH2.js} +2 -2
  191. package/dist/cdn/LYOK3PYB.js +4 -0
  192. package/dist/cdn/{RPRDW34S.js → M3NVL5WO.js} +2 -2
  193. package/dist/cdn/M3S3NPNI.js +4 -0
  194. package/dist/cdn/{4B2V45V5.js → MBZ2CBF3.js} +2 -2
  195. package/dist/cdn/{LHRZ7IBA.js → MCTC2Q7E.js} +4 -4
  196. package/dist/cdn/{CBEROJ4E.js → MGYSZD74.js} +2 -2
  197. package/dist/cdn/{NLVAFEJX.js → MIBMK3NI.js} +2 -2
  198. package/dist/cdn/MJXQ54VH.js +4 -0
  199. package/dist/cdn/{WFIOSSYN.js → MNKJFLXG.js} +2 -2
  200. package/dist/cdn/{EUGPRFL4.js → MPWXNEN5.js} +2 -2
  201. package/dist/cdn/{2EZ2T3HV.js → MR2LK44L.js} +2 -2
  202. package/dist/cdn/{VI6A3Y4V.js → MS5LO6DW.js} +2 -2
  203. package/dist/cdn/{NF7C27BU.js → MUGJVLFI.js} +2 -2
  204. package/dist/cdn/{LUGOSNDF.js → MWZHS3D4.js} +2 -2
  205. package/dist/cdn/{IIWGQLYN.js → MX5P2FVF.js} +2 -2
  206. package/dist/cdn/{N2ZLUG26.js → MXLQXZPF.js} +2 -2
  207. package/dist/cdn/{YPOFETNV.js → N3WZI64X.js} +2 -2
  208. package/dist/cdn/{35CB3CIG.js → N4UDOCET.js} +2 -2
  209. package/dist/cdn/{UTJOHATU.js → N6VBAVNA.js} +2 -2
  210. package/dist/cdn/{S2GLQ7ZY.js → N7B4ODMG.js} +1 -1
  211. package/dist/cdn/{EJK6FW2Z.js → NDRCKJQN.js} +1 -1
  212. package/dist/cdn/{66RDTM4T.js → NGBAJJ6D.js} +2 -2
  213. package/dist/cdn/{ZLSRPXWT.js → NH3EQDO5.js} +1 -1
  214. package/dist/cdn/{GXHJQQCL.js → NHCQYVJM.js} +2 -2
  215. package/dist/cdn/{FYBSJAMQ.js → NLYW2WAM.js} +2 -2
  216. package/dist/cdn/{HFOH5YAJ.js → NO3GNFZC.js} +2 -2
  217. package/dist/cdn/{YVDXF4UB.js → NPJZFC4M.js} +2 -2
  218. package/dist/cdn/{APHETGJW.js → NTD7CHVT.js} +2 -2
  219. package/dist/cdn/{RFUX4G37.js → NW7OFXKC.js} +2 -2
  220. package/dist/cdn/{6ZX35J5Z.js → O3P5NOM2.js} +2 -2
  221. package/dist/cdn/{FOKCZWOQ.js → OA2S63FZ.js} +2 -2
  222. package/dist/cdn/{CNEHMBZW.js → OFWF4FLH.js} +1 -1
  223. package/dist/cdn/{VDIJAOXE.js → OOFFATCD.js} +2 -2
  224. package/dist/cdn/{45S22WSU.js → OPYKS7CX.js} +2 -2
  225. package/dist/cdn/{DAU34542.js → OUAROGMB.js} +2 -2
  226. package/dist/cdn/{SBSDLWOC.js → OYOHY5WS.js} +2 -2
  227. package/dist/cdn/{WIX6R4XI.js → P2A5KXML.js} +2 -2
  228. package/dist/cdn/{DHDV37FH.js → P3OVPYEQ.js} +2 -2
  229. package/dist/cdn/{JNZZAE7R.js → P6L7EUVQ.js} +2 -2
  230. package/dist/cdn/{46UPVPEV.js → P6SI3ZH2.js} +1 -1
  231. package/dist/cdn/{ZQGM6XZT.js → PBORVLXJ.js} +2 -2
  232. package/dist/cdn/{JQKYSOGE.js → PHODD4Z6.js} +1 -1
  233. package/dist/cdn/{4WNXJSEW.js → PJQAZKQO.js} +2 -2
  234. package/dist/cdn/{7AEU6P43.js → PTLVWRGF.js} +2 -2
  235. package/dist/cdn/{K6NKAZBD.js → PXKUIO5A.js} +1 -1
  236. package/dist/cdn/{77X5GFH7.js → Q2WQ7T7X.js} +2 -2
  237. package/dist/cdn/{J6VXDYLB.js → Q4CAV6BE.js} +1 -1
  238. package/dist/cdn/{JQW2KPJK.js → QEYD7M5P.js} +2 -2
  239. package/dist/cdn/{TGDEP6QV.js → QL3LWZTF.js} +2 -2
  240. package/dist/cdn/{NTTL23B5.js → QP5YBLLN.js} +2 -2
  241. package/dist/cdn/{RFWZ3BG4.js → QPKAXYA6.js} +2 -2
  242. package/dist/cdn/{GDCPRSCH.js → QQ272QFM.js} +2 -2
  243. package/dist/cdn/{C2RIOHYE.js → R3LWYP4G.js} +2 -2
  244. package/dist/cdn/{VJ2T3Q32.js → R3P3XMLO.js} +2 -2
  245. package/dist/cdn/{M3KP4ULO.js → R3RWAKZN.js} +2 -2
  246. package/dist/cdn/{CQ3N5OAF.js → R3WMYDWR.js} +2 -2
  247. package/dist/cdn/{LC53SJ67.js → RFS4CVZ4.js} +2 -2
  248. package/dist/cdn/{TUKEY4JX.js → RID7XYT6.js} +2 -2
  249. package/dist/cdn/{HIWCPXI4.js → RJMILIJO.js} +2 -2
  250. package/dist/cdn/{6CNOIOZQ.js → RL5RZQ3Q.js} +2 -2
  251. package/dist/cdn/{YLWCZLWX.js → RLHTV7UW.js} +2 -2
  252. package/dist/cdn/{2IAKNCRC.js → RLPYO4Q4.js} +2 -2
  253. package/dist/cdn/{NX6CRTAS.js → RMIDYV3B.js} +2 -2
  254. package/dist/cdn/{AU6YGJUT.js → RO3ES6UD.js} +2 -2
  255. package/dist/cdn/{JP6UDOIU.js → RRTOIEHS.js} +2 -2
  256. package/dist/cdn/{6HTNO2RE.js → RTTRLG4C.js} +2 -2
  257. package/dist/cdn/{GUFWLMXD.js → RUUYDJAI.js} +2 -2
  258. package/dist/cdn/{P5F6E4BB.js → RVOGF5GW.js} +2 -2
  259. package/dist/cdn/RXOWC3ZA.js +4 -0
  260. package/dist/cdn/{W6LHCK7P.js → RZ73JTAW.js} +2 -2
  261. package/dist/cdn/{RLCYPEXM.js → RZHJQZ7I.js} +1 -1
  262. package/dist/cdn/{KAJZSBBY.js → S3HCQON5.js} +2 -2
  263. package/dist/cdn/{NRA2XWTH.js → S4PR5QYT.js} +2 -2
  264. package/dist/cdn/{ERDVBBRX.js → S72CRXHN.js} +2 -2
  265. package/dist/cdn/{5CEVZOKP.js → SAEYOHYV.js} +2 -2
  266. package/dist/cdn/{QMT2B3M5.js → SDNXMJH4.js} +2 -2
  267. package/dist/cdn/{ZWBLEX27.js → T56TNAF3.js} +1 -1
  268. package/dist/cdn/{JTMPBZCY.js → TBMZRIU6.js} +2 -2
  269. package/dist/cdn/{2CJ5ETBI.js → TBZMPKUE.js} +2 -2
  270. package/dist/cdn/{NY4MAF55.js → THL4LIOE.js} +2 -2
  271. package/dist/cdn/{5CXNGEOT.js → TNSW4TRC.js} +2 -2
  272. package/dist/cdn/{G72TLXN2.js → TUKMTW4X.js} +2 -2
  273. package/dist/cdn/TYKBDMUD.js +4 -0
  274. package/dist/cdn/{7UAODYVA.js → TYMBB7GT.js} +2 -2
  275. package/dist/cdn/{VXR2PQEH.js → TZWGA55B.js} +2 -2
  276. package/dist/cdn/{7IB6W2XU.js → U3653AAK.js} +2 -2
  277. package/dist/cdn/{N5V5PPBQ.js → U4TLYOFC.js} +2 -2
  278. package/dist/cdn/{JOMW3W6X.js → U5K2UMRG.js} +2 -2
  279. package/dist/cdn/{RVQYDMMJ.js → U5QDQ3AE.js} +1 -1
  280. package/dist/cdn/{24IN4UPG.js → U5VJAOJI.js} +2 -2
  281. package/dist/cdn/{VTTSGBR5.js → U72STWZM.js} +1 -1
  282. package/dist/cdn/{WX2RTJ3T.js → UA6OB7Z3.js} +1 -1
  283. package/dist/cdn/{C4C7KF52.js → UB7EJKIT.js} +1 -1
  284. package/dist/cdn/{TIVFVKSV.js → UDBS4W2F.js} +2 -2
  285. package/dist/cdn/{UM5VAPJJ.js → UIXMR5OS.js} +2 -2
  286. package/dist/cdn/{TBBACRUK.js → UK3Y26QU.js} +1 -1
  287. package/dist/cdn/{V6P7MNAU.js → URCMK5PU.js} +2 -2
  288. package/dist/cdn/{OBI4A4AA.js → V6B7ICFF.js} +1 -1
  289. package/dist/cdn/{GONKLRTB.js → VCX42K34.js} +2 -2
  290. package/dist/cdn/{K5GHIYOF.js → VFQZQD4U.js} +2 -2
  291. package/dist/cdn/{E6ZJGJIL.js → VFY3MJZR.js} +2 -2
  292. package/dist/cdn/VI5526JP.js +4 -0
  293. package/dist/cdn/{T2KFMS3E.js → VIAGSUD6.js} +2 -2
  294. package/dist/cdn/{4KFYFEVG.js → VLXAVLHU.js} +2 -2
  295. package/dist/cdn/{6AY42FOZ.js → VWFBOHPK.js} +2 -2
  296. package/dist/cdn/{G6LTOZJF.js → VX47PIHG.js} +2 -2
  297. package/dist/cdn/{4MFPZMLB.js → VXBXLYF2.js} +1 -1
  298. package/dist/cdn/{MC5TSFO6.js → VXFBOPP3.js} +2 -2
  299. package/dist/cdn/{GORSVRD2.js → VYX3EYGU.js} +2 -2
  300. package/dist/cdn/VZYFBVG3.js +4 -0
  301. package/dist/cdn/{YKSQ7TEX.js → W5YSAGU7.js} +2 -2
  302. package/dist/cdn/{QZHTC427.js → WF3R5HTS.js} +2 -2
  303. package/dist/cdn/{GRW5JAFG.js → WGA7J4T3.js} +2 -2
  304. package/dist/cdn/{FSB6TM6Q.js → WIXYBKC6.js} +2 -2
  305. package/dist/cdn/{CTMUKS54.js → WKAPUSKT.js} +2 -2
  306. package/dist/cdn/{22GH5WFX.js → WKI33GD4.js} +2 -2
  307. package/dist/cdn/{AR6I4F7I.js → WO6O4V7P.js} +2 -2
  308. package/dist/cdn/{GK66FWMX.js → WYV3XXOH.js} +2 -2
  309. package/dist/cdn/{NK5C67VR.js → X2K7HTRW.js} +1 -1
  310. package/dist/cdn/{ARJYRYDO.js → X2SHXAEX.js} +2 -2
  311. package/dist/cdn/{UCYKJ3G4.js → X3UWVOUF.js} +2 -2
  312. package/dist/cdn/{JPLACREE.js → XBNBDIQF.js} +2 -2
  313. package/dist/cdn/{PLGFKWRR.js → XIR3LIO5.js} +2 -2
  314. package/dist/cdn/{OB4IBA7J.js → XKOHRGWS.js} +2 -2
  315. package/dist/cdn/{E6VAH377.js → XN4ZLYC3.js} +2 -2
  316. package/dist/cdn/{FC4NR45A.js → XWYQHMRJ.js} +2 -2
  317. package/dist/cdn/{CFTL75CW.js → XYK3ZJ74.js} +2 -2
  318. package/dist/cdn/{BXPMHWOX.js → Y4O7BEH5.js} +2 -2
  319. package/dist/cdn/{M7RJNNBQ.js → YC3C5VLU.js} +2 -2
  320. package/dist/cdn/{3MXNBCEX.js → YDNDI3GC.js} +2 -2
  321. package/dist/cdn/{O7AV7GPK.js → YGN4DTLR.js} +2 -2
  322. package/dist/cdn/{EGAV5W7I.js → YKZ4EIP4.js} +2 -2
  323. package/dist/cdn/{XO3YBGIL.js → YMEMNG2X.js} +2 -2
  324. package/dist/cdn/{4KDH67ME.js → YN7MAH2I.js} +1 -1
  325. package/dist/cdn/{AXNUZSJ6.js → YNQH4WHK.js} +2 -2
  326. package/dist/cdn/{4VJV22PL.js → YT326XBB.js} +2 -2
  327. package/dist/cdn/{WUZDDPQU.js → Z6GXQBPV.js} +2 -2
  328. package/dist/cdn/{4XUHKCM3.js → ZIMI5N7B.js} +2 -2
  329. package/dist/cdn/{VYKWK2BX.js → ZP7YO34W.js} +2 -2
  330. package/dist/cdn/{DHZ5UA72.js → ZPINCTCI.js} +1 -1
  331. package/dist/cdn/{5MFTYGYS.js → ZQOWCQMD.js} +2 -2
  332. package/dist/cdn/{NMTVBRAS.js → ZV5UJA56.js} +2 -2
  333. package/dist/cdn/{BGAY3YMT.js → ZVYEXCFN.js} +2 -2
  334. package/dist/cdn/{FT22BE2Q.js → ZX3GJIWV.js} +2 -2
  335. package/dist/cdn/index.js +2 -2
  336. package/dist/chunks/Auth.js +1 -2
  337. package/dist/chunks/Auth.js.map +1 -1
  338. package/dist/chunks/appConfig.js +1 -1
  339. package/dist/chunks/cardFetchingUtils.js +2 -15
  340. package/dist/chunks/cardFetchingUtils.js.map +1 -1
  341. package/dist/chunks/cardsHelpers.js +1 -1
  342. package/dist/chunks/common.js +1 -1
  343. package/dist/chunks/deployAppContexts.js +1 -1
  344. package/dist/chunks/downloadUtils.js +1 -1
  345. package/dist/chunks/getItemIcon.js +1 -1
  346. package/dist/chunks/helpers.js +1 -1
  347. package/dist/chunks/interfaces.js +1 -1
  348. package/dist/chunks/mapViewUtils.js +1 -1
  349. package/dist/chunks/pciUtils.js +1 -1
  350. package/dist/chunks/popupUtils.js +1 -1
  351. package/dist/chunks/publicNotificationContext.js +1 -1
  352. package/dist/chunks/queryUtils.js +1 -1
  353. package/dist/chunks/runtime.js +1 -1
  354. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  355. package/dist/chunks/useT9n.js +1 -1
  356. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  357. package/dist/components/buffer-tools/customElement.js +1 -1
  358. package/dist/components/card-manager/customElement.js +1 -1
  359. package/dist/components/consent-manager/customElement.js +1 -1
  360. package/dist/components/create-feature/customElement.js +1 -1
  361. package/dist/components/create-related-feature/customElement.js +1 -1
  362. package/dist/components/crowdsource-manager/customElement.js +1 -1
  363. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  364. package/dist/components/deduct-calculator/customElement.js +1 -1
  365. package/dist/components/delete-button/customElement.js +1 -1
  366. package/dist/components/delete-dialog/customElement.js +1 -1
  367. package/dist/components/edit-card/customElement.js +1 -1
  368. package/dist/components/feature-details/customElement.js +1 -1
  369. package/dist/components/feature-list/customElement.js +1 -1
  370. package/dist/components/field-selection/customElement.js +1 -1
  371. package/dist/components/info-card/customElement.js +1 -1
  372. package/dist/components/layer-list/customElement.js +1 -1
  373. package/dist/components/layer-table/customElement.js +1 -1
  374. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  375. package/dist/components/map-card/customElement.js +1 -1
  376. package/dist/components/map-draw-tools/customElement.js +1 -1
  377. package/dist/components/map-floor-filter/customElement.js +1 -1
  378. package/dist/components/map-fullscreen/customElement.js +1 -1
  379. package/dist/components/map-layer-picker/customElement.js +1 -1
  380. package/dist/components/map-legend/customElement.js +1 -1
  381. package/dist/components/map-picker/customElement.js +1 -1
  382. package/dist/components/map-search/customElement.js +1 -1
  383. package/dist/components/map-select-tools/customElement.js +1 -1
  384. package/dist/components/map-tools/customElement.js +1 -1
  385. package/dist/components/pci-calculator/customElement.js +1 -1
  386. package/dist/components/pdf-download/customElement.js +1 -1
  387. package/dist/components/public-notification/customElement.js +1 -1
  388. package/dist/components/refine-selection/customElement.js +1 -1
  389. package/dist/components/selection-tool/customElement.js +1 -1
  390. package/dist/components/solution-configure-titles/customElement.js +1 -1
  391. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card/customElement.js +1 -1
  394. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  395. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  396. package/dist/components/solution-details-card/customElement.js +1 -1
  397. package/dist/components/solution-details-panel/customElement.js +1 -1
  398. package/dist/components/solution-item-accordion/customElement.js +1 -1
  399. package/dist/components/solution-item-diagram/customElement.js +1 -1
  400. package/dist/components/solution-item-icon/customElement.js +1 -1
  401. package/dist/components/solution-resource-card/customElement.js +1 -1
  402. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  403. package/dist/components/solution-social-share/customElement.js +1 -1
  404. package/dist/components/solutions-all-panel/customElement.js +14 -21
  405. package/dist/components/solutions-all-panel/customElement.js.map +1 -1
  406. package/dist/components/solutions-all-shell/customElement.js +1 -1
  407. package/dist/components/solutions-deploy-app/customElement.js +14 -21
  408. package/dist/components/solutions-deploy-app/customElement.js.map +1 -1
  409. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  410. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  411. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  412. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  413. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  414. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  415. package/dist/components/solutions-resources/customElement.js +1 -1
  416. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  417. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  418. package/dist/docs/api.json +1 -1
  419. package/dist/docs/docs.json +1 -1
  420. package/dist/docs/web-types.json +1 -1
  421. package/dist/index.js +1 -1
  422. package/dist/loader.js +1 -1
  423. package/dist/utils/CardsFetcher.d.ts +1 -1
  424. package/package.json +1 -1
  425. package/dist/cdn/2ZAI2L2Z.js +0 -4
  426. package/dist/cdn/3Q7MPYBN.js +0 -4
  427. package/dist/cdn/3TTOX4BB.js +0 -4
  428. package/dist/cdn/4VTDE7WM.js +0 -4
  429. package/dist/cdn/7YYWVE2S.js +0 -4
  430. package/dist/cdn/CGZFXEML.js +0 -4
  431. package/dist/cdn/F2RRVGZ2.js +0 -4
  432. package/dist/cdn/FS4FOH3D.js +0 -4
  433. package/dist/cdn/GGIS4CC6.js +0 -4
  434. package/dist/cdn/HDKINGQW.js +0 -4
  435. package/dist/cdn/HM4AHTQA.js +0 -4
  436. package/dist/cdn/JXNGGIST.js +0 -4
  437. package/dist/cdn/KST6M5H6.js +0 -4
  438. package/dist/cdn/OY6SET3T.js +0 -4
  439. package/dist/cdn/Q5VHOWDO.js +0 -4
  440. package/dist/cdn/U74L7VJM.js +0 -4
  441. package/dist/cdn/UTCZEP45.js +0 -4
  442. package/dist/cdn/UUIEPEEK.js +0 -4
  443. package/dist/cdn/WEOL6RSK.js +0 -99
  444. package/dist/cdn/WGEGKLDT.js +0 -4
  445. package/dist/cdn/WGRUBU2Y.js +0 -4
  446. package/dist/cdn/YXKSGCHP.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.60 */
4
- import{a as S}from"./UCYKJ3G4.js";import{b as d,c as g,i as y,j as N}from"./ZGSIGKHE.js";import{a as I}from"./T7D3VOZH.js";import{a as M,e as E,f as T,g as F}from"./RJ4NCL2V.js";import{a as $,b as R}from"./V6P7MNAU.js";import{d as l,e as p,f as c}from"./WX2RTJ3T.js";import{a as A}from"./K6NKAZBD.js";import{a as x}from"./F2O4WKM6.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.62 */
4
+ import{a as S}from"./X3UWVOUF.js";import{b as d,c as g,i as y,j as N}from"./GQ2XFFMS.js";import{a as I}from"./63OPMGEP.js";import{a as M,e as E,f as T,g as F}from"./AMPKI3ZS.js";import{a as $,b as R}from"./URCMK5PU.js";import{d as l,e as p,f as c}from"./UA6OB7Z3.js";import{a as A}from"./PXKUIO5A.js";import{a as x}from"./4MMEN7ON.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.60 */
4
- import"./OBI4A4AA.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
@@ -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.60 */
4
- import{b as c}from"./7AEU6P43.js";import{G as n,h as s,i as r,q as i,t as o}from"./VTTSGBR5.js";import"./OBI4A4AA.js";var h=`
3
+ v1.2.0-next.62 */
4
+ import{b as c}from"./PTLVWRGF.js";import{G as n,h as s,i as r,q as i,t as o}from"./U72STWZM.js";import"./V6B7ICFF.js";var h=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -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.60 */
4
- import{a,b}from"./N3WXY7EJ.js";import"./FT22BE2Q.js";import"./RVQYDMMJ.js";import"./4MFPZMLB.js";import"./OBI4A4AA.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.2.0-next.62 */
4
+ import{a,b}from"./LFZ3JTH2.js";import"./ZX3GJIWV.js";import"./U5QDQ3AE.js";import"./VXBXLYF2.js";import"./V6B7ICFF.js";export{a as TemplateEditorTypes,b as TemplateSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as o,b as s,c as i,d as p}from"./WFIOSSYN.js";import{c as r}from"./KXCASIUR.js";import{a as e}from"./FT22BE2Q.js";import{b as t}from"./RVQYDMMJ.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
3
+ v1.2.0-next.62 */
4
+ import{a as o,b as s,c as i,d as p}from"./MNKJFLXG.js";import{c as r}from"./DNQXEBRM.js";import{a as e}from"./ZX3GJIWV.js";import{b as t}from"./U5QDQ3AE.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
@@ -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.62 */
4
+ import{a,b}from"./ET3OO6ME.js";import"./UB7EJKIT.js";import"./V6B7ICFF.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -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.60 */
4
- import"./OBI4A4AA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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.60 */
3
+ v1.2.0-next.62 */
4
4
  var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as P}from"./25S4YYPR.js";import{a as v}from"./NCOWGV7K.js";import{a as F}from"./JISBULOQ.js";import{b as U}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{G as M,I as g,h as S,i as h,l as $,q as C}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
3
+ v1.2.0-next.62 */
4
+ import{a as P}from"./5TSB7GTX.js";import{a as v}from"./GEIREK7Z.js";import{a as F}from"./HV67SLIL.js";import{b as U}from"./PTLVWRGF.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{G as M,I as g,h as S,i as h,l as $,q as C}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
@@ -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.60 */
4
- import{b as h}from"./7AEU6P43.js";import{E as o,F as a,G as m,I as n,h as d,i as c,t as l}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([v,p,g])=>{var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,u="instant-apps-measurement-tool",s={base:u,hide:`${u}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=new v({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=new p({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,new g({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);return r},"widgets/Measurement","widgets/CoordinateConversion","widgets/CoordinateConversion/support/Conversion")
3
+ v1.2.0-next.62 */
4
+ import{b as h}from"./PTLVWRGF.js";import{E as o,F as a,G as m,I as n,h as d,i as c,t as l}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([v,p,g])=>{var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,u="instant-apps-measurement-tool",s={base:u,hide:`${u}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=new v({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=new p({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,new g({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);return r},"widgets/Measurement","widgets/CoordinateConversion","widgets/CoordinateConversion/support/Conversion")
@@ -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.60 */
4
- import b from"./4WNXJSEW.js";import a from"./IJ245FDS.js";import{a as _}from"./NCOWGV7K.js";import{b as y}from"./7AEU6P43.js";import"./FC4NR45A.js";import{F as $,G as T,I as l,K as g,h as C,i as r,q as x,t as L}from"./VTTSGBR5.js";import"./OBI4A4AA.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.62 */
4
+ import b from"./PJQAZKQO.js";import a from"./2S7HZF7M.js";import{a as _}from"./GEIREK7Z.js";import{b as y}from"./PTLVWRGF.js";import"./XWYQHMRJ.js";import{F as $,G as T,I as l,K as g,h as C,i as r,q as x,t as L}from"./U72STWZM.js";import"./V6B7ICFF.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.60 */
4
- import{a}from"./OSUCA7CY.js";import{a as l,b as r}from"./HIWCPXI4.js";import"./TPC7NEBD.js";import"./RJ4NCL2V.js";import{d as i}from"./GRW5JAFG.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import{a as t}from"./PKVTULHS.js";import"./YHKV4IMA.js";import"./C4C7KF52.js";import"./ZIBWJVYK.js";import"./K5GHIYOF.js";import"./N3WXY7EJ.js";import"./YCKVHLNK.js";import"./4N5CTUVM.js";import"./ENLS3ON7.js";import"./CTCPMABN.js";import"./6N5NPFCF.js";import"./JQQORYBM.js";import"./J6VXDYLB.js";import"./ZWBLEX27.js";import"./P5F6E4BB.js";import"./CFTL75CW.js";import"./WFIOSSYN.js";import"./KXCASIUR.js";import"./NKNXRQAV.js";import"./4B45SS3L.js";import"./FT22BE2Q.js";import"./RVQYDMMJ.js";import"./4MFPZMLB.js";import"./OBI4A4AA.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
3
+ v1.2.0-next.62 */
4
+ import{a}from"./BBVT6UMT.js";import{a as l,b as r}from"./RJMILIJO.js";import"./726JATVV.js";import"./AMPKI3ZS.js";import{d as i}from"./WGA7J4T3.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import{a as t}from"./32CAHGJ5.js";import"./ET3OO6ME.js";import"./UB7EJKIT.js";import"./E4CBAFDM.js";import"./VFQZQD4U.js";import"./LFZ3JTH2.js";import"./CNVT4KW2.js";import"./LF6GOWP7.js";import"./K5PP5PS3.js";import"./KG6ZXBS3.js";import"./E4GKMLY7.js";import"./4XIOAYVM.js";import"./Q4CAV6BE.js";import"./T56TNAF3.js";import"./RVOGF5GW.js";import"./XYK3ZJ74.js";import"./MNKJFLXG.js";import"./DNQXEBRM.js";import"./CUEWTRE6.js";import"./DADOAOGK.js";import"./ZX3GJIWV.js";import"./U5QDQ3AE.js";import"./VXBXLYF2.js";import"./V6B7ICFF.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as m}from"./AXNUZSJ6.js";import{a as p}from"./T2KFMS3E.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import{a,b as n}from"./HIWCPXI4.js";import"./TPC7NEBD.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import{a as r}from"./X6UQRYBW.js";import{a as s}from"./OB4IBA7J.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import{a as i}from"./PKVTULHS.js";import"./YHKV4IMA.js";import"./C4C7KF52.js";import"./ZIBWJVYK.js";import"./K5GHIYOF.js";import"./N3WXY7EJ.js";import"./YCKVHLNK.js";import"./4N5CTUVM.js";import"./ENLS3ON7.js";import"./CTCPMABN.js";import"./6N5NPFCF.js";import"./JQQORYBM.js";import"./J6VXDYLB.js";import"./ZWBLEX27.js";import"./P5F6E4BB.js";import"./CFTL75CW.js";import"./WFIOSSYN.js";import"./KXCASIUR.js";import"./NKNXRQAV.js";import"./4B45SS3L.js";import"./FT22BE2Q.js";import"./RVQYDMMJ.js";import"./4MFPZMLB.js";import"./OBI4A4AA.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
3
+ v1.2.0-next.62 */
4
+ import{a as m}from"./YNQH4WHK.js";import{a as p}from"./VIAGSUD6.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import{a,b as n}from"./RJMILIJO.js";import"./726JATVV.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import{a as r}from"./J63NAMCW.js";import{a as s}from"./XKOHRGWS.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import{a as i}from"./32CAHGJ5.js";import"./ET3OO6ME.js";import"./UB7EJKIT.js";import"./E4CBAFDM.js";import"./VFQZQD4U.js";import"./LFZ3JTH2.js";import"./CNVT4KW2.js";import"./LF6GOWP7.js";import"./K5PP5PS3.js";import"./KG6ZXBS3.js";import"./E4GKMLY7.js";import"./4XIOAYVM.js";import"./Q4CAV6BE.js";import"./T56TNAF3.js";import"./RVOGF5GW.js";import"./XYK3ZJ74.js";import"./MNKJFLXG.js";import"./DNQXEBRM.js";import"./CUEWTRE6.js";import"./DADOAOGK.js";import"./ZX3GJIWV.js";import"./U5QDQ3AE.js";import"./VXBXLYF2.js";import"./V6B7ICFF.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g 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.60 */
3
+ v1.2.0-next.62 */
4
4
  var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{features:{type:"object",properties:{workspace:{type:"boolean",default:!0}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t 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.60 */
4
- import e from"./2KLTC6O5.js";import{a as M}from"./WFPKRTD3.js";import"./7AEU6P43.js";import c from"./DHWSNW5P.js";import a from"./H4MLUVTV.js";import"./WYHW2ASX.js";import"./XZQZZC3C.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as $}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as v}from"./ZMOPA7LL.js";import{E as p,F as r,G as I,I as b,h as _,i as o,l as m,q as d,t as g}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([V,k,x,{l:f},{c:L,j:w},{m:S}])=>{function C(l){return l?.indexOf("http://")!==-1}function u(l){return C(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,t){return t&&t.forEach(a=>{l.allLayers.forEach(i=>{i&&i.url===a.sourceUrl&&(i.url=u(a.proxyUrl),i.portalItem&&i.portalItem.when(()=>{i.portalItem.url=u(a.proxyUrl)}),e.request?.interceptors?.push({urls:a.sourceUrl,before:s=>{s.url&&s.url===a.sourceUrl&&(s.url=u(a.proxyUrl))}}))})}),l}var O=_`@layer{
3
+ v1.2.0-next.62 */
4
+ import e from"./AGA3QECA.js";import{a as M}from"./JQUL7FKM.js";import"./PTLVWRGF.js";import c from"./3GS5C3NN.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./6IIEGCHC.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{a as $}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as v}from"./HP5QJTNI.js";import{E as p,F as r,G as I,I as b,h as _,i as o,l as m,q as d,t as g}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([V,k,x,{l:f},{c:L,j:w},{m:S}])=>{function C(l){return l?.indexOf("http://")!==-1}function u(l){return C(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,t){return t&&t.forEach(a=>{l.allLayers.forEach(i=>{i&&i.url===a.sourceUrl&&(i.url=u(a.proxyUrl),i.portalItem&&i.portalItem.when(()=>{i.portalItem.url=u(a.proxyUrl)}),e.request?.interceptors?.push({urls:a.sourceUrl,before:s=>{s.url&&s.url===a.sourceUrl&&(s.url=u(a.proxyUrl))}}))})}),l}var O=_`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -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.60 */
4
- import"./OBI4A4AA.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as o}from"./RLCYPEXM.js";import{b as l}from"./C4C7KF52.js";import"./OBI4A4AA.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
3
+ v1.2.0-next.62 */
4
+ import{a as o}from"./RZHJQZ7I.js";import{b as l}from"./UB7EJKIT.js";import"./V6B7ICFF.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import"./OBI4A4AA.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",u="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",c="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",m="Fehler beim Laden des Layers.",g="Layer ist nicht verf\xFCgbar.",f="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",S="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",b="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",y="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",E="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",p="Fehler beim Abschlie\xDFen der Anforderung.",F="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",k="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",L="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",I="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <a href='${docLink}' target='_blank'>Mehr erfahren</a>",$="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",A="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",N="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:g,maxItems:f,mbFailedToSave:S,minItems:b,minLength:y,modelNotFound:E,networkError:p,noPermissionToAccessTool:F,portalLoadError:v,queryFeaturesError:P,requiredProperty:k,serviceNameExistsError:L,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:$,toolValidationError:A,whiteSpacePattern:N};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,g as layerUnavailable,f as maxItems,S as mbFailedToSave,b as minItems,y as minLength,E as modelNotFound,p as networkError,F as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,k as requiredProperty,L as serviceNameExistsError,I as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,A as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",u="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",c="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",m="Fehler beim Laden des Layers.",g="Layer ist nicht verf\xFCgbar.",f="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",S="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",b="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",y="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",E="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",p="Fehler beim Abschlie\xDFen der Anforderung.",F="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",k="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",L="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",I="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <a href='${docLink}' target='_blank'>Mehr erfahren</a>",$="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",A="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",N="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:g,maxItems:f,mbFailedToSave:S,minItems:b,minLength:y,modelNotFound:E,networkError:p,noPermissionToAccessTool:F,portalLoadError:v,queryFeaturesError:P,requiredProperty:k,serviceNameExistsError:L,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:$,toolValidationError:A,whiteSpacePattern:N};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,g as layerUnavailable,f as maxItems,S as mbFailedToSave,b as minItems,y as minLength,E as modelNotFound,p as networkError,F as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,k as requiredProperty,L as serviceNameExistsError,I as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,A as toolValidationError,N 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.60 */
4
- import f from"./JXNGGIST.js";import e from"./G6LTOZJF.js";import b from"./2KLTC6O5.js";import a from"./H4MLUVTV.js";import{b as _,d as g}from"./WYHW2ASX.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as p}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as u}from"./ZMOPA7LL.js";import{F as h,G as m,h as n,i,j as d,l as c,q as s}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([{c:f,o:a,p:r},,,{a:o,b:y}])=>{var x=n`/** @license
3
+ v1.2.0-next.62 */
4
+ import f from"./VI5526JP.js";import e from"./VX47PIHG.js";import b from"./AGA3QECA.js";import a from"./KTC723NZ.js";import{b as _,d as g}from"./JOKQH5HY.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{a as p}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as u}from"./HP5QJTNI.js";import{F as h,G as m,h as n,i,j as d,l as c,q as s}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([{c:f,o:a,p:r},,,{a:o,b:y}])=>{var x=n`/** @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.62 */
4
+ import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import"./HP5QJTNI.js";import"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([{e:o}])=>{return o},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.60 */
4
- import d from"./K7YP5PDD.js";import c from"./3UZFYGDX.js";import b from"./6GOVJOEP.js";import a from"./IJ245FDS.js";import{a as p}from"./NCOWGV7K.js";import{a as _}from"./JISBULOQ.js";import{b as h}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{G as v,I as u,h as m,i as r}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([f,,,{a:s,b:x},{c:d,e:y,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},g=class extends v{constructor(){super(...arguments),this._messages=_({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}getCount(){let{categoryId:e}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!e)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,t=l.get(e),n;return t?.nestedInfos?n=T(t,this.infoIndex):n=t,Number.isNaN(n.count)?"":f.formatNumber(n.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!s.data||!e)return"";let a=s.data[e];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),t;if(l)t=C(i);else if(I(this.activeLayerInfo)){let n=y(this.activeLayerInfo.layer);t=d(n.categories)[1].count}else t=$(i);return f.formatNumber(t)}render(){let e=x.get("compact")?c.compact:"";return p("int-legend-count",r`<div class=${u(e)}>${this.showTotal?r`<span class=${u(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:p("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",g);return g},"intl",a,b,c,d)
3
+ v1.2.0-next.62 */
4
+ import d from"./H2OY3T5X.js";import c from"./7Y3KZNR2.js";import b from"./22PAFNIS.js";import a from"./2S7HZF7M.js";import{a as p}from"./GEIREK7Z.js";import{a as _}from"./HV67SLIL.js";import{b as h}from"./PTLVWRGF.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{G as v,I as u,h as m,i as r}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([f,,,{a:s,b:x},{c:d,e:y,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},g=class extends v{constructor(){super(...arguments),this._messages=_({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}getCount(){let{categoryId:e}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!e)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,t=l.get(e),n;return t?.nestedInfos?n=T(t,this.infoIndex):n=t,Number.isNaN(n.count)?"":f.formatNumber(n.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!s.data||!e)return"";let a=s.data[e];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),t;if(l)t=C(i);else if(I(this.activeLayerInfo)){let n=y(this.activeLayerInfo.layer);t=d(n.categories)[1].count}else t=$(i);return f.formatNumber(t)}render(){let e=x.get("compact")?c.compact:"";return p("int-legend-count",r`<div class=${u(e)}>${this.showTotal?r`<span class=${u(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:p("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",g);return g},"intl",a,b,c,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.60 */
4
- import c from"./DHWSNW5P.js";import a from"./H4MLUVTV.js";import"./WYHW2ASX.js";import"./XZQZZC3C.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as L}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b}from"./ZMOPA7LL.js";import{E as m,F as u,G as v,I as f,h as y,i as p,q as l,t as M}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([E,C,F,k,A,x,T,I,h,,{d:w,e:V}])=>{var P=y`@layer{
3
+ v1.2.0-next.62 */
4
+ import c from"./3GS5C3NN.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./6IIEGCHC.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{a as L}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b}from"./HP5QJTNI.js";import{E as m,F as u,G as v,I as f,h as y,i as p,q as l,t as M}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([E,C,F,k,A,x,T,I,h,,{d:w,e:V}])=>{var P=y`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *