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

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 (440) hide show
  1. package/dist/cdn/{KS2TXTJB.js → 22HYHLHN.js} +1 -1
  2. package/dist/cdn/{64ZV5SC6.js → 253RNXBF.js} +2 -2
  3. package/dist/cdn/{RFWZ3BG4.js → 2BZFJQA6.js} +2 -2
  4. package/dist/cdn/{L6CDXESS.js → 2FCQYSQR.js} +2 -2
  5. package/dist/cdn/2H2732VO.js +4 -0
  6. package/dist/cdn/{2QT4FWZI.js → 2HGM3S4H.js} +2 -2
  7. package/dist/cdn/{JBY2LVLC.js → 2KUBOJR6.js} +2 -2
  8. package/dist/cdn/{RKIQ5DUF.js → 2KXBQAJW.js} +1 -1
  9. package/dist/cdn/{NX6CRTAS.js → 2OIIWDJB.js} +2 -2
  10. package/dist/cdn/{6GOVJOEP.js → 2P2YESFX.js} +1 -1
  11. package/dist/cdn/{UYBRDZJB.js → 2Q2UIIGY.js} +1 -1
  12. package/dist/cdn/{DHDV37FH.js → 2TJRLAO6.js} +2 -2
  13. package/dist/cdn/{VGEFJTQ7.js → 2VC52E6A.js} +2 -2
  14. package/dist/cdn/{YKML7M7J.js → 2VREYY62.js} +2 -2
  15. package/dist/cdn/{APPQU75R.js → 2XWNFKLG.js} +2 -2
  16. package/dist/cdn/{3UZFYGDX.js → 33ZIAGPE.js} +2 -2
  17. package/dist/cdn/{6HTNO2RE.js → 35CUREMH.js} +2 -2
  18. package/dist/cdn/{NMTVBRAS.js → 3D5J3QUN.js} +2 -2
  19. package/dist/cdn/{TUKEY4JX.js → 3F27MINM.js} +2 -2
  20. package/dist/cdn/{RLCYPEXM.js → 3MHKWSCC.js} +1 -1
  21. package/dist/cdn/{7AEU6P43.js → 3NINBJYJ.js} +2 -2
  22. package/dist/cdn/{4B2V45V5.js → 3UYOYGTS.js} +2 -2
  23. package/dist/cdn/{WX2RTJ3T.js → 3V3ARU4S.js} +1 -1
  24. package/dist/cdn/{CNEHMBZW.js → 3VKMKDDC.js} +1 -1
  25. package/dist/cdn/{GRW5JAFG.js → 4B42RCTX.js} +2 -2
  26. package/dist/cdn/{CTCPMABN.js → 4BPWBJER.js} +2 -2
  27. package/dist/cdn/{WFPKRTD3.js → 4CHUCN2Z.js} +2 -2
  28. package/dist/cdn/{2CJ5ETBI.js → 4CO4QKQV.js} +2 -2
  29. package/dist/cdn/{5CXNGEOT.js → 4JMYQZGR.js} +2 -2
  30. package/dist/cdn/{AXSGVQ6P.js → 4MQ7CZCO.js} +2 -2
  31. package/dist/cdn/{NTTL23B5.js → 4MRVUTHZ.js} +2 -2
  32. package/dist/cdn/{2WAKVF6V.js → 4RJSBWD3.js} +2 -2
  33. package/dist/cdn/{NKNXRQAV.js → 4RSHHJ4Y.js} +2 -2
  34. package/dist/cdn/{LDWBOY5O.js → 4U5HZVBY.js} +2 -2
  35. package/dist/cdn/52TXKGYV.js +4 -0
  36. package/dist/cdn/{P5F6E4BB.js → 53QFE7JQ.js} +2 -2
  37. package/dist/cdn/{MGTGTJF2.js → 5AEHA2S7.js} +2 -2
  38. package/dist/cdn/{GDA44E5L.js → 5EWASS5Y.js} +2 -2
  39. package/dist/cdn/{TIVFVKSV.js → 5IW2AA7A.js} +2 -2
  40. package/dist/cdn/{E6VAH377.js → 5JBKNTRM.js} +2 -2
  41. package/dist/cdn/{CKNI5JQZ.js → 5NLTO3PR.js} +2 -2
  42. package/dist/cdn/{JXNGGIST.js → 5OOZELYI.js} +2 -2
  43. package/dist/cdn/{JHF5JR4C.js → 5TCTFJWQ.js} +2 -2
  44. package/dist/cdn/{YKSQ7TEX.js → 5ZXC6E3E.js} +2 -2
  45. package/dist/cdn/{FSB6TM6Q.js → 62TZFM26.js} +2 -2
  46. package/dist/cdn/{ZMOPA7LL.js → 65Q2WFD6.js} +2 -2
  47. package/dist/cdn/{5KBG56UB.js → 67W5QUHZ.js} +2 -2
  48. package/dist/cdn/{VI6A3Y4V.js → 6GBG5NTN.js} +2 -2
  49. package/dist/cdn/{QU5W75PN.js → 6KSUL7MO.js} +2 -2
  50. package/dist/cdn/{WFIOSSYN.js → 6LEKXV2O.js} +2 -2
  51. package/dist/cdn/{J6VXDYLB.js → 6MABMJPE.js} +1 -1
  52. package/dist/cdn/{VLJVPFSV.js → 6MFGJWPB.js} +2 -2
  53. package/dist/cdn/{ERDVBBRX.js → 6OG7ILZC.js} +2 -2
  54. package/dist/cdn/{ENLS3ON7.js → 6OK4QGOG.js} +2 -2
  55. package/dist/cdn/{G72TLXN2.js → 6PGQ7UDC.js} +2 -2
  56. package/dist/cdn/{I2GKR2VA.js → 72SOLDRJ.js} +2 -2
  57. package/dist/cdn/{7WO57UW7.js → 72XFODRX.js} +2 -2
  58. package/dist/cdn/{5TEHU4A3.js → 74MUDU3T.js} +2 -2
  59. package/dist/cdn/77APG7U3.js +4 -0
  60. package/dist/cdn/77VSL2LU.js +4 -0
  61. package/dist/cdn/{HWMTN5ZA.js → 7F6WLIL6.js} +2 -2
  62. package/dist/cdn/{DAU34542.js → 7FBZLDTR.js} +2 -2
  63. package/dist/cdn/{OAIWU3G2.js → 7QIYL4NV.js} +2 -2
  64. package/dist/cdn/{V5T2QK5Z.js → 7S7C334Z.js} +3 -3
  65. package/dist/cdn/{7FQXWGOC.js → 7XBFX5YB.js} +2 -2
  66. package/dist/cdn/{BMUBVYWB.js → 7ZJKMLGT.js} +2 -2
  67. package/dist/cdn/{YIXNCAFO.js → AACZXF33.js} +2 -2
  68. package/dist/cdn/{VDIJAOXE.js → ABEP4JVD.js} +2 -2
  69. package/dist/cdn/{6BYDV3EW.js → AC6U7VHK.js} +2 -2
  70. package/dist/cdn/AMF5XX36.js +4 -0
  71. package/dist/cdn/{2LQ6UZTT.js → AMGDTZAY.js} +2 -2
  72. package/dist/cdn/{JPLACREE.js → AMNGDLOS.js} +2 -2
  73. package/dist/cdn/{KAJZSBBY.js → AOGB6RX7.js} +2 -2
  74. package/dist/cdn/{NOGPPLBH.js → ASMCIIQQ.js} +2 -2
  75. package/dist/cdn/{N2EZQGSH.js → BCQENLR7.js} +2 -2
  76. package/dist/cdn/{IIWGQLYN.js → BHUYCAVR.js} +2 -2
  77. package/dist/cdn/{CJZPJFAS.js → BOV6NXRD.js} +2 -2
  78. package/dist/cdn/{VXR2PQEH.js → BOWNLLRC.js} +2 -2
  79. package/dist/cdn/{L5QIQ6XB.js → BPGYGOGE.js} +2 -2
  80. package/dist/cdn/{65VZKYXC.js → BTKJFFR4.js} +2 -2
  81. package/dist/cdn/{AHRD7AGX.js → BTNDZYSA.js} +2 -2
  82. package/dist/cdn/{HFOH5YAJ.js → BYDTC7F2.js} +2 -2
  83. package/dist/cdn/{BJ7ITM4Z.js → C3ZPPW4E.js} +2 -2
  84. package/dist/cdn/C74MDPRK.js +4 -0
  85. package/dist/cdn/{MC5TSFO6.js → CBOKEM2G.js} +2 -2
  86. package/dist/cdn/{4MFPZMLB.js → CEBTYHFA.js} +1 -1
  87. package/dist/cdn/{5MFTYGYS.js → CGLEKTNI.js} +2 -2
  88. package/dist/cdn/CUBR3FSN.js +4 -0
  89. package/dist/cdn/{A3HBTAZT.js → CUYQTJFU.js} +2 -2
  90. package/dist/cdn/{UNXHL3PD.js → CXYLIV2Q.js} +2 -2
  91. package/dist/cdn/{VYKWK2BX.js → DAHW5CIV.js} +2 -2
  92. package/dist/cdn/{CLGO7JPJ.js → DJWFUXLO.js} +2 -2
  93. package/dist/cdn/DLPM4D5F.js +4 -0
  94. package/dist/cdn/{V6P7MNAU.js → DOZS4G2O.js} +2 -2
  95. package/dist/cdn/{3X5566EC.js → DQKUJ4FE.js} +2 -2
  96. package/dist/cdn/{WEOL6RSK.js → DUNAQGU2.js} +2 -2
  97. package/dist/cdn/{DCZYU4L6.js → DWLP7FVH.js} +2 -2
  98. package/dist/cdn/{DHZ5UA72.js → DYI3P36O.js} +1 -1
  99. package/dist/cdn/{RODDEQZP.js → E2CGQDSH.js} +2 -2
  100. package/dist/cdn/{JQQORYBM.js → E5KFUJOK.js} +2 -2
  101. package/dist/cdn/{JJ7ZGFCV.js → E655IBST.js} +2 -2
  102. package/dist/cdn/{ILEKKEKK.js → EC3ZB4EV.js} +2 -2
  103. package/dist/cdn/{I5XRY7QD.js → EC446DZP.js} +2 -2
  104. package/dist/cdn/{K6NKAZBD.js → EHYJGYQT.js} +1 -1
  105. package/dist/cdn/{PWZXYVX5.js → EJBHWF54.js} +1 -1
  106. package/dist/cdn/{7ZR4MPQZ.js → EJOQBJEG.js} +2 -2
  107. package/dist/cdn/EZOYFPK5.js +4 -0
  108. package/dist/cdn/{AOTAJDNP.js → F2DO4TJL.js} +2 -2
  109. package/dist/cdn/{VKEAIQ7W.js → F2GOV2LM.js} +2 -2
  110. package/dist/cdn/{NF7C27BU.js → F3UOUFRO.js} +2 -2
  111. package/dist/cdn/{HIWCPXI4.js → FCETVVUT.js} +2 -2
  112. package/dist/cdn/{N3WXY7EJ.js → FFJAKABB.js} +2 -2
  113. package/dist/cdn/{UTJOHATU.js → FFW3O2HK.js} +2 -2
  114. package/dist/cdn/{4XUHKCM3.js → FGBI6PLB.js} +2 -2
  115. package/dist/cdn/{DHWSNW5P.js → FIMVJEAW.js} +2 -2
  116. package/dist/cdn/{FNJ2SV5I.js → FN4EUS3M.js} +2 -2
  117. package/dist/cdn/{4N5CTUVM.js → FOJIKFHL.js} +2 -2
  118. package/dist/cdn/{T7D3VOZH.js → FOUBW7TI.js} +1 -1
  119. package/dist/cdn/{M7RJNNBQ.js → FOYHZHWB.js} +2 -2
  120. package/dist/cdn/{6ZX35J5Z.js → FQ6ADWV5.js} +2 -2
  121. package/dist/cdn/{APHETGJW.js → FRIROEJG.js} +2 -2
  122. package/dist/cdn/{RVQYDMMJ.js → FRKMUBQW.js} +1 -1
  123. package/dist/cdn/{HMCZQXAN.js → G275NPKZ.js} +2 -2
  124. package/dist/cdn/{6FVZXZD6.js → G5RSCNV7.js} +2 -2
  125. package/dist/cdn/G6ZWDEQU.js +4 -0
  126. package/dist/cdn/{SHP3U3JY.js → GAOKI2BY.js} +2 -2
  127. package/dist/cdn/{5CEVZOKP.js → GI6HTTYJ.js} +2 -2
  128. package/dist/cdn/{FT22BE2Q.js → GP6DK5OL.js} +2 -2
  129. package/dist/cdn/{UCYKJ3G4.js → GPG4VHYE.js} +2 -2
  130. package/dist/cdn/{BURTSBUG.js → GUBWX2WB.js} +2 -2
  131. package/dist/cdn/{54ED5CXQ.js → GUVTOQ5L.js} +2 -2
  132. package/dist/cdn/{FTRTGXW7.js → GVFIYM23.js} +2 -2
  133. package/dist/cdn/{JOMW3W6X.js → GY3AMW7G.js} +2 -2
  134. package/dist/cdn/{IKCE3HR4.js → H72745YU.js} +2 -2
  135. package/dist/cdn/{M3KP4ULO.js → HAP67XTT.js} +2 -2
  136. package/dist/cdn/{EJK6FW2Z.js → HAZAWSKY.js} +1 -1
  137. package/dist/cdn/{7UAODYVA.js → HF4QD63I.js} +2 -2
  138. package/dist/cdn/{ARJYRYDO.js → HHJZ4HZ6.js} +2 -2
  139. package/dist/cdn/{WIX6R4XI.js → HJY4KM2B.js} +2 -2
  140. package/dist/cdn/{2KLTC6O5.js → HKC4DOUE.js} +2 -2
  141. package/dist/cdn/{GK66FWMX.js → HKY5DY62.js} +2 -2
  142. package/dist/cdn/{AU6YGJUT.js → HLU4ZUSE.js} +2 -2
  143. package/dist/cdn/{LUGOSNDF.js → HQBUH6CP.js} +2 -2
  144. package/dist/cdn/{K6F7LOXC.js → HRAGHKCQ.js} +2 -2
  145. package/dist/cdn/{ZP32JPRG.js → HRISF5DG.js} +2 -2
  146. package/dist/cdn/{JISBULOQ.js → I2XGORZH.js} +2 -2
  147. package/dist/cdn/{U5Y5C2T7.js → I5ICGT74.js} +2 -2
  148. package/dist/cdn/{FOKCZWOQ.js → I7PHK7YM.js} +2 -2
  149. package/dist/cdn/{77X5GFH7.js → IC4NXYTR.js} +2 -2
  150. package/dist/cdn/{FC4NR45A.js → IDUQIZKF.js} +2 -2
  151. package/dist/cdn/{WUZDDPQU.js → IJZIMEUA.js} +2 -2
  152. package/dist/cdn/{KU7YFFLU.js → IOAOXSTZ.js} +2 -2
  153. package/dist/cdn/{W62W3LOA.js → IOEQU6RW.js} +2 -2
  154. package/dist/cdn/{DSMKW3R5.js → IOSETLM7.js} +2 -2
  155. package/dist/cdn/{F2O4WKM6.js → IUBHGF2N.js} +1 -1
  156. package/dist/cdn/{JJKBP6VP.js → IVWWMUTU.js} +2 -2
  157. package/dist/cdn/{OB4IBA7J.js → IXQOFTAB.js} +2 -2
  158. package/dist/cdn/{N2ZLUG26.js → IYA6MXY3.js} +2 -2
  159. package/dist/cdn/{YVDXF4UB.js → J3PAYUNS.js} +2 -2
  160. package/dist/cdn/{AXNUZSJ6.js → J6NCWDHN.js} +2 -2
  161. package/dist/cdn/{D4HJALUO.js → JE5LYMSR.js} +2 -2
  162. package/dist/cdn/{D7E2HKRL.js → JJWGVOLU.js} +2 -2
  163. package/dist/cdn/{66RDTM4T.js → JOGLCI7L.js} +2 -2
  164. package/dist/cdn/{NJN5EPQ4.js → JTUKW55P.js} +2 -2
  165. package/dist/cdn/{TEDF2YLW.js → JV6V3HHU.js} +2 -2
  166. package/dist/cdn/{6CNOIOZQ.js → JW6FCTL4.js} +2 -2
  167. package/dist/cdn/{BTLCSZS6.js → JXV6VWAC.js} +2 -2
  168. package/dist/cdn/{ERJ7WRMG.js → JZVTSNGA.js} +2 -2
  169. package/dist/cdn/{VBXJSOCP.js → K3WLDI57.js} +2 -2
  170. package/dist/cdn/{H6QRA25K.js → K4EMRK2P.js} +2 -2
  171. package/dist/cdn/{TBX5YM7Y.js → KEWPVUIZ.js} +2 -2
  172. package/dist/cdn/{CZ7OZ7WB.js → KFYIXGQ4.js} +2 -2
  173. package/dist/cdn/{7IB6W2XU.js → KGY42XQ4.js} +2 -2
  174. package/dist/cdn/{ZEOSRRT3.js → KK2KCKMU.js} +2 -2
  175. package/dist/cdn/{K5GHIYOF.js → KKGQAK4H.js} +2 -2
  176. package/dist/cdn/{C32KHGLO.js → KKLCJ7G6.js} +2 -2
  177. package/dist/cdn/{N6VW2C5V.js → KMGP5TOD.js} +2 -2
  178. package/dist/cdn/{CTMUKS54.js → KRMTXV6V.js} +2 -2
  179. package/dist/cdn/{SBSDLWOC.js → KVYBYT6S.js} +2 -2
  180. package/dist/cdn/KZHJDYWQ.js +4 -0
  181. package/dist/cdn/{NIX6S7F4.js → L2PXDXZ3.js} +2 -2
  182. package/dist/cdn/{GONKLRTB.js → L3CVI6KC.js} +2 -2
  183. package/dist/cdn/{6AY42FOZ.js → LF44LBHN.js} +2 -2
  184. package/dist/cdn/{H4MLUVTV.js → LJ2SBS2G.js} +2 -2
  185. package/dist/cdn/{T2KFMS3E.js → LK7INEHZ.js} +2 -2
  186. package/dist/cdn/{6N5NPFCF.js → LL2DC5FJ.js} +1 -1
  187. package/dist/cdn/{3MXNBCEX.js → LLMVZTU7.js} +2 -2
  188. package/dist/cdn/LRDQVHWW.js +4 -0
  189. package/dist/cdn/{YLWCZLWX.js → LSJPBG7F.js} +2 -2
  190. package/dist/cdn/{7AH7N5XT.js → LSJUMURC.js} +2 -2
  191. package/dist/cdn/{2EZ2T3HV.js → LVSUN7XL.js} +2 -2
  192. package/dist/cdn/{JQKYSOGE.js → LXHG5NDC.js} +1 -1
  193. package/dist/cdn/{22GH5WFX.js → M3ONDW4E.js} +2 -2
  194. package/dist/cdn/{ZCVLEFOZ.js → M5PBCFVC.js} +2 -2
  195. package/dist/cdn/{RFUX4G37.js → M5ZKBFJG.js} +2 -2
  196. package/dist/cdn/{BGAY3YMT.js → M7AB2AFS.js} +2 -2
  197. package/dist/cdn/{TGDEP6QV.js → MDXURHIQ.js} +2 -2
  198. package/dist/cdn/{TBBACRUK.js → MFAJRJR3.js} +1 -1
  199. package/dist/cdn/MFNDNTOQ.js +4 -0
  200. package/dist/cdn/{A6EVVFF5.js → MIARN2ON.js} +1 -1
  201. package/dist/cdn/{N3W52TLJ.js → MSTVHU7I.js} +2 -2
  202. package/dist/cdn/{LC53SJ67.js → MUUINRCV.js} +2 -2
  203. package/dist/cdn/{PKVTULHS.js → MVZ36ZHD.js} +2 -2
  204. package/dist/cdn/{YUD3M45U.js → N2SUT7FJ.js} +2 -2
  205. package/dist/cdn/{NRH5UT5G.js → N4UPS6UJ.js} +2 -2
  206. package/dist/cdn/{SADSRCE6.js → N7VLWHNA.js} +2 -2
  207. package/dist/cdn/{45S22WSU.js → N7Z27NQM.js} +2 -2
  208. package/dist/cdn/{OSUCA7CY.js → NLQYJY3Y.js} +1 -1
  209. package/dist/cdn/{4ZUI33B3.js → NQFZ7BDB.js} +2 -2
  210. package/dist/cdn/{35CB3CIG.js → NTPTDDMB.js} +2 -2
  211. package/dist/cdn/{VJTZDKH6.js → NVSFHLTL.js} +2 -2
  212. package/dist/cdn/{GDCPRSCH.js → NX7Z5SDJ.js} +2 -2
  213. package/dist/cdn/{T2GOSVXE.js → O2BPA4V7.js} +1 -1
  214. package/dist/cdn/{TMAKLZXE.js → O3PPPBNQ.js} +2 -2
  215. package/dist/cdn/{TPC7NEBD.js → O4MIVQW2.js} +2 -2
  216. package/dist/cdn/{JCODPNFL.js → OAYNPATX.js} +2 -2
  217. package/dist/cdn/{XO3YBGIL.js → OEIXFB5S.js} +2 -2
  218. package/dist/cdn/{PLGFKWRR.js → OXHUFOLR.js} +2 -2
  219. package/dist/cdn/{ZGSIGKHE.js → OY6L3W2Y.js} +2 -2
  220. package/dist/cdn/{24IN4UPG.js → P4I7E7PJ.js} +2 -2
  221. package/dist/cdn/{WYHW2ASX.js → P4RFQ7SQ.js} +2 -2
  222. package/dist/cdn/{N5V5PPBQ.js → P5SP66TM.js} +2 -2
  223. package/dist/cdn/{RPRDW34S.js → P6W2BHCC.js} +2 -2
  224. package/dist/cdn/{6AE27ENC.js → PAWHH43E.js} +2 -2
  225. package/dist/cdn/{YPOFETNV.js → PB54RSUS.js} +2 -2
  226. package/dist/cdn/{UK7HJV5Q.js → PFYTP7QM.js} +2 -2
  227. package/dist/cdn/PHS66743.js +4 -0
  228. package/dist/cdn/{NK5C67VR.js → PJK2OHT3.js} +1 -1
  229. package/dist/cdn/{AR6I4F7I.js → PKGSI55Q.js} +2 -2
  230. package/dist/cdn/{HYKFAUBN.js → PNA5TAPP.js} +2 -2
  231. package/dist/cdn/{EGAV5W7I.js → PPDXHEPT.js} +2 -2
  232. package/dist/cdn/{K7YP5PDD.js → PRASXEUN.js} +2 -2
  233. package/dist/cdn/{2IAKNCRC.js → PSPTZCWK.js} +2 -2
  234. package/dist/cdn/{JP6UDOIU.js → Q4HNTDMI.js} +2 -2
  235. package/dist/cdn/{KXCASIUR.js → QBFLPL3H.js} +1 -1
  236. package/dist/cdn/{AURJV7BW.js → QCHTYOMH.js} +2 -2
  237. package/dist/cdn/{VJ2T3Q32.js → QI6JRQAM.js} +2 -2
  238. package/dist/cdn/{NRA2XWTH.js → QJ6VS55N.js} +2 -2
  239. package/dist/cdn/{WQZZSYO5.js → QK32UHKA.js} +1 -1
  240. package/dist/cdn/{X6UQRYBW.js → QM6NH6VR.js} +2 -2
  241. package/dist/cdn/{CBEROJ4E.js → QRGOX3X3.js} +2 -2
  242. package/dist/cdn/{YRJBKF6C.js → QRTITFJW.js} +2 -2
  243. package/dist/cdn/{YCKVHLNK.js → QSCOANTT.js} +2 -2
  244. package/dist/cdn/{NLVAFEJX.js → QXN2LHOP.js} +2 -2
  245. package/dist/cdn/{VIHFAHTC.js → QXR4PIXQ.js} +2 -2
  246. package/dist/cdn/{QVQG7XLV.js → QZUDTUL4.js} +2 -2
  247. package/dist/cdn/{CQ3N5OAF.js → R3KCYH5W.js} +2 -2
  248. package/dist/cdn/{W6LHCK7P.js → R5G5UBJR.js} +2 -2
  249. package/dist/cdn/{C5IIHI76.js → RD423PZS.js} +2 -2
  250. package/dist/cdn/{UM5VAPJJ.js → RD6JTK3X.js} +2 -2
  251. package/dist/cdn/{E6ZJGJIL.js → RGNMACS5.js} +2 -2
  252. package/dist/cdn/{DVPHVSDL.js → RZBDTEMW.js} +2 -2
  253. package/dist/cdn/{ZQGM6XZT.js → S47HFMCK.js} +2 -2
  254. package/dist/cdn/{C4C7KF52.js → S56TUI7H.js} +1 -1
  255. package/dist/cdn/{ZIBWJVYK.js → S63HTRIQ.js} +2 -2
  256. package/dist/cdn/{4KFYFEVG.js → S732ZTVO.js} +2 -2
  257. package/dist/cdn/{7MHE37ND.js → SBN2L5NX.js} +2 -2
  258. package/dist/cdn/SDXPFMHE.js +4 -0
  259. package/dist/cdn/{PTDYPOBH.js → SN5WNNQ5.js} +2 -2
  260. package/dist/cdn/{HEW7XMPJ.js → SPAE66AK.js} +2 -2
  261. package/dist/cdn/{542KFAVB.js → SUOVHYZB.js} +2 -2
  262. package/dist/cdn/{O5PY3MEI.js → SVBXPTEC.js} +2 -2
  263. package/dist/cdn/{6YX67STC.js → SW6HTS4W.js} +2 -2
  264. package/dist/cdn/{BXPMHWOX.js → SWVL5I4H.js} +2 -2
  265. package/dist/cdn/SYGJWWZP.js +4 -0
  266. package/dist/cdn/{4KDH67ME.js → SZT2IBTM.js} +1 -1
  267. package/dist/cdn/{55BTIKND.js → T5DWKLEN.js} +2 -2
  268. package/dist/cdn/{EDH5P6Q7.js → T5LGXZ6I.js} +2 -2
  269. package/dist/cdn/{GXHJQQCL.js → T7MHQ327.js} +2 -2
  270. package/dist/cdn/{I2ZUPDGL.js → TB7KH2C7.js} +2 -2
  271. package/dist/cdn/{JUN72POY.js → TEDBS3IP.js} +2 -2
  272. package/dist/cdn/{G6LTOZJF.js → TEMZGRBD.js} +2 -2
  273. package/dist/cdn/{XZQZZC3C.js → TJ3BCTHU.js} +1 -1
  274. package/dist/cdn/{FYBSJAMQ.js → TPWZ5VSB.js} +2 -2
  275. package/dist/cdn/{4B45SS3L.js → TTMLJD3R.js} +2 -2
  276. package/dist/cdn/{CNDUM26C.js → TXXIYMC6.js} +2 -2
  277. package/dist/cdn/{C2RIOHYE.js → TZHHGOBK.js} +2 -2
  278. package/dist/cdn/{YHKV4IMA.js → U2IPPMM4.js} +2 -2
  279. package/dist/cdn/{3C7EEW26.js → UAFG6I6N.js} +2 -2
  280. package/dist/cdn/{O7AV7GPK.js → UGCYPIG3.js} +2 -2
  281. package/dist/cdn/{4VJV22PL.js → UGNCB4PA.js} +2 -2
  282. package/dist/cdn/{5UHH33AX.js → UHC2PSZO.js} +2 -2
  283. package/dist/cdn/{M4JSPVOB.js → UHS75MT5.js} +2 -2
  284. package/dist/cdn/{GORSVRD2.js → UI4YSFA3.js} +2 -2
  285. package/dist/cdn/{QZHTC427.js → UI74ZNTQ.js} +2 -2
  286. package/dist/cdn/{S2GLQ7ZY.js → UTSPKJHP.js} +1 -1
  287. package/dist/cdn/{QMT2B3M5.js → UVQX5FMQ.js} +2 -2
  288. package/dist/cdn/{JNZZAE7R.js → UYHXKTBT.js} +2 -2
  289. package/dist/cdn/{FRISKWYY.js → UYYTMD45.js} +2 -2
  290. package/dist/cdn/{GUFWLMXD.js → V3ILHNQJ.js} +2 -2
  291. package/dist/cdn/{CTLSDIIG.js → V63MM3HQ.js} +2 -2
  292. package/dist/cdn/{LHRZ7IBA.js → VADP3QUO.js} +4 -4
  293. package/dist/cdn/VBIROJO3.js +4 -0
  294. package/dist/cdn/{EUGPRFL4.js → VFPLAMGY.js} +2 -2
  295. package/dist/cdn/{WCFSF7A6.js → VQSSXCIB.js} +2 -2
  296. package/dist/cdn/{OXWGYPXL.js → VT6KVQP2.js} +2 -2
  297. package/dist/cdn/{6JWWLPWA.js → VZEXIREU.js} +2 -2
  298. package/dist/cdn/{VAAKEDW6.js → VZO4FNSJ.js} +2 -2
  299. package/dist/cdn/{6KLBYZFM.js → W3S4KP2W.js} +1 -1
  300. package/dist/cdn/{RYTV4M2W.js → W4AED5XB.js} +2 -2
  301. package/dist/cdn/{WE6UE3KJ.js → WCFBD5RR.js} +2 -2
  302. package/dist/cdn/{TZLKWPKE.js → WOP4PDSB.js} +1 -1
  303. package/dist/cdn/{25S4YYPR.js → WOV556RO.js} +1 -1
  304. package/dist/cdn/{46UPVPEV.js → WTKMR5UY.js} +1 -1
  305. package/dist/cdn/WW3ZPCO5.js +4 -0
  306. package/dist/cdn/{NY4MAF55.js → X32XVTAA.js} +2 -2
  307. package/dist/cdn/{MJOCAQYG.js → X3DGKM76.js} +2 -2
  308. package/dist/cdn/{ZWBLEX27.js → XILQXDEB.js} +1 -1
  309. package/dist/cdn/{E5D2NJVY.js → XJN5V4KW.js} +2 -2
  310. package/dist/cdn/{CFTL75CW.js → XLHDG4FM.js} +2 -2
  311. package/dist/cdn/{5O4YCDNG.js → XNIWSIVJ.js} +2 -2
  312. package/dist/cdn/{VTTSGBR5.js → XRVUVLK7.js} +1 -1
  313. package/dist/cdn/{HOZY6EI4.js → XTTVLQHV.js} +2 -2
  314. package/dist/cdn/{JQW2KPJK.js → Y3HJDMXS.js} +2 -2
  315. package/dist/cdn/{IJ245FDS.js → Y5Z6SQWV.js} +2 -2
  316. package/dist/cdn/{3S7MAI7H.js → Y6KQQXHW.js} +2 -2
  317. package/dist/cdn/{5A33WQAT.js → YA7YZCDB.js} +2 -2
  318. package/dist/cdn/{RJ4NCL2V.js → YAIF3EAU.js} +2 -2
  319. package/dist/cdn/{ZKK5CT2Y.js → YEPUWT4K.js} +2 -2
  320. package/dist/cdn/{4WNXJSEW.js → YIL2K7VK.js} +2 -2
  321. package/dist/cdn/YIZ7FHBE.js +4 -0
  322. package/dist/cdn/{KQJ5NCH6.js → YJIB4Y3F.js} +2 -2
  323. package/dist/cdn/{NJDA4LPT.js → YRXDCRD5.js} +2 -2
  324. package/dist/cdn/{NCOWGV7K.js → YUH4EAMP.js} +2 -2
  325. package/dist/cdn/{NVQ6TXGS.js → YWFNYLHW.js} +2 -2
  326. package/dist/cdn/{5BILAT4P.js → YXOC3RVO.js} +2 -2
  327. package/dist/cdn/YYLKFRM5.js +4 -0
  328. package/dist/cdn/{RF3JRSKX.js → Z2TSSAC6.js} +2 -2
  329. package/dist/cdn/{B72I6V6F.js → Z5FJEEOQ.js} +2 -2
  330. package/dist/cdn/{OBI4A4AA.js → Z6SV4EJB.js} +1 -1
  331. package/dist/cdn/{QGEJHDKV.js → ZA4WM6SU.js} +2 -2
  332. package/dist/cdn/{JTMPBZCY.js → ZFU6EH5A.js} +2 -2
  333. package/dist/cdn/{ZLSRPXWT.js → ZOSVEKXW.js} +1 -1
  334. package/dist/cdn/{NRD46FCK.js → ZWFGE4SE.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 +1 -1
  340. package/dist/chunks/cardsHelpers.js +1 -1
  341. package/dist/chunks/common.js +1 -1
  342. package/dist/chunks/deployAppContexts.js +1 -1
  343. package/dist/chunks/downloadUtils.js +1 -1
  344. package/dist/chunks/getItemIcon.js +1 -1
  345. package/dist/chunks/helpers.js +1 -1
  346. package/dist/chunks/interfaces.js +1 -1
  347. package/dist/chunks/mapViewUtils.js +1 -1
  348. package/dist/chunks/pciUtils.js +1 -1
  349. package/dist/chunks/popupUtils.js +1 -1
  350. package/dist/chunks/publicNotificationContext.js +1 -1
  351. package/dist/chunks/queryUtils.js +1 -1
  352. package/dist/chunks/runtime.js +1 -1
  353. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  354. package/dist/chunks/useT9n.js +1 -1
  355. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  356. package/dist/components/buffer-tools/customElement.js +1 -1
  357. package/dist/components/card-manager/customElement.js +1 -1
  358. package/dist/components/consent-manager/customElement.js +1 -1
  359. package/dist/components/create-feature/customElement.js +1 -1
  360. package/dist/components/create-related-feature/customElement.js +1 -1
  361. package/dist/components/crowdsource-manager/customElement.js +1 -1
  362. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  363. package/dist/components/deduct-calculator/customElement.js +1 -1
  364. package/dist/components/delete-button/customElement.js +1 -1
  365. package/dist/components/delete-dialog/customElement.js +1 -1
  366. package/dist/components/edit-card/customElement.js +1 -1
  367. package/dist/components/feature-details/customElement.js +1 -1
  368. package/dist/components/feature-list/customElement.js +1 -1
  369. package/dist/components/field-selection/customElement.js +1 -1
  370. package/dist/components/info-card/customElement.js +1 -1
  371. package/dist/components/layer-list/customElement.js +1 -1
  372. package/dist/components/layer-table/customElement.js +1 -1
  373. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  374. package/dist/components/map-card/customElement.js +1 -1
  375. package/dist/components/map-draw-tools/customElement.js +1 -1
  376. package/dist/components/map-floor-filter/customElement.js +1 -1
  377. package/dist/components/map-fullscreen/customElement.js +1 -1
  378. package/dist/components/map-layer-picker/customElement.js +1 -1
  379. package/dist/components/map-legend/customElement.js +1 -1
  380. package/dist/components/map-picker/customElement.js +1 -1
  381. package/dist/components/map-search/customElement.js +1 -1
  382. package/dist/components/map-select-tools/customElement.js +1 -1
  383. package/dist/components/map-tools/customElement.js +1 -1
  384. package/dist/components/pci-calculator/customElement.js +1 -1
  385. package/dist/components/pdf-download/customElement.js +1 -1
  386. package/dist/components/public-notification/customElement.js +1 -1
  387. package/dist/components/refine-selection/customElement.js +1 -1
  388. package/dist/components/selection-tool/customElement.js +1 -1
  389. package/dist/components/solution-configure-titles/customElement.js +1 -1
  390. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  391. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deployed-card/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  394. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  395. package/dist/components/solution-details-card/customElement.js +1 -1
  396. package/dist/components/solution-details-panel/customElement.js +1 -1
  397. package/dist/components/solution-item-accordion/customElement.js +1 -1
  398. package/dist/components/solution-item-diagram/customElement.js +1 -1
  399. package/dist/components/solution-item-icon/customElement.js +1 -1
  400. package/dist/components/solution-resource-card/customElement.js +1 -1
  401. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  402. package/dist/components/solution-social-share/customElement.js +1 -1
  403. package/dist/components/solutions-all-panel/customElement.js +1 -1
  404. package/dist/components/solutions-all-shell/customElement.js +1 -1
  405. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  406. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  407. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  408. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  409. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  410. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  411. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  412. package/dist/components/solutions-resources/customElement.js +1 -1
  413. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  414. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  415. package/dist/docs/api.json +1 -1
  416. package/dist/docs/docs.json +1 -1
  417. package/dist/docs/web-types.json +1 -1
  418. package/dist/index.js +1 -1
  419. package/dist/loader.js +1 -1
  420. package/package.json +1 -1
  421. package/dist/cdn/2ZAI2L2Z.js +0 -4
  422. package/dist/cdn/3Q7MPYBN.js +0 -4
  423. package/dist/cdn/3TTOX4BB.js +0 -4
  424. package/dist/cdn/4VTDE7WM.js +0 -4
  425. package/dist/cdn/7YYWVE2S.js +0 -4
  426. package/dist/cdn/CGZFXEML.js +0 -4
  427. package/dist/cdn/F2RRVGZ2.js +0 -4
  428. package/dist/cdn/FS4FOH3D.js +0 -4
  429. package/dist/cdn/GGIS4CC6.js +0 -4
  430. package/dist/cdn/HDKINGQW.js +0 -4
  431. package/dist/cdn/HM4AHTQA.js +0 -4
  432. package/dist/cdn/KST6M5H6.js +0 -4
  433. package/dist/cdn/OY6SET3T.js +0 -4
  434. package/dist/cdn/Q5VHOWDO.js +0 -4
  435. package/dist/cdn/U74L7VJM.js +0 -4
  436. package/dist/cdn/UTCZEP45.js +0 -4
  437. package/dist/cdn/UUIEPEEK.js +0 -4
  438. package/dist/cdn/WGEGKLDT.js +0 -4
  439. package/dist/cdn/WGRUBU2Y.js +0 -4
  440. package/dist/cdn/YXKSGCHP.js +0 -4
@@ -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.61 */
4
+ import{a}from"./2KUBOJR6.js";import"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import"./65Q2WFD6.js";import"./XRVUVLK7.js";import"./Z6SV4EJB.js";export{a as SolutionItemAccordion};
@@ -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{a as b}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as w}from"./ZMOPA7LL.js";import{G as p,I as f,h as u,i as c,q as r,t as m}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([g,l])=>{var _=u`@layer{
3
+ v1.2.0-next.61 */
4
+ import{a as b}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as w}from"./65Q2WFD6.js";import{G as p,I as f,h as u,i as c,q as r,t as m}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([g,l])=>{var _=u`@layer{
5
5
  /**
6
6
  * @license
7
7
  * Copyright 2025 Esri
@@ -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"./6KLBYZFM.js";import{a as r}from"./T2KFMS3E.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./GRW5JAFG.js";import{a as o}from"./OB4IBA7J.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import"./OBI4A4AA.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
3
+ v1.2.0-next.61 */
4
+ import{a as s}from"./W3S4KP2W.js";import{a as r}from"./LK7INEHZ.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./4B42RCTX.js";import{a as o}from"./IXQOFTAB.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import"./Z6SV4EJB.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as l}from"./RFWZ3BG4.js";import"./GRW5JAFG.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 n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
3
+ v1.2.0-next.61 */
4
+ import{a as l}from"./2BZFJQA6.js";import"./4B42RCTX.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import{a as t}from"./MVZ36ZHD.js";import"./U2IPPMM4.js";import"./S56TUI7H.js";import"./S63HTRIQ.js";import"./KKGQAK4H.js";import"./FFJAKABB.js";import"./QSCOANTT.js";import"./FOJIKFHL.js";import"./6OK4QGOG.js";import"./4BPWBJER.js";import"./LL2DC5FJ.js";import"./E5KFUJOK.js";import"./6MABMJPE.js";import"./XILQXDEB.js";import"./53QFE7JQ.js";import"./XLHDG4FM.js";import"./6LEKXV2O.js";import"./QBFLPL3H.js";import"./4RSHHJ4Y.js";import"./TTMLJD3R.js";import"./GP6DK5OL.js";import"./FRKMUBQW.js";import"./CEBTYHFA.js";import"./Z6SV4EJB.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import b 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 m}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as g}from"./ZMOPA7LL.js";import{E as c,F as p,G as f,I as n,h,i as r,q as s,t as d}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([w,a,,{e:u}])=>{var y=h`@layer{
3
+ v1.2.0-next.61 */
4
+ import b from"./FIMVJEAW.js";import a from"./LJ2SBS2G.js";import"./P4RFQ7SQ.js";import"./TJ3BCTHU.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as m}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as g}from"./65Q2WFD6.js";import{E as c,F as p,G as f,I as n,h,i as r,q as s,t as d}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([w,a,,{e:u}])=>{var y=h`@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{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 o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.2.0-next.61 */
4
+ import{a as t}from"./MVZ36ZHD.js";import"./U2IPPMM4.js";import"./S56TUI7H.js";import"./S63HTRIQ.js";import"./KKGQAK4H.js";import"./FFJAKABB.js";import"./QSCOANTT.js";import"./FOJIKFHL.js";import"./6OK4QGOG.js";import"./4BPWBJER.js";import"./LL2DC5FJ.js";import"./E5KFUJOK.js";import"./6MABMJPE.js";import"./XILQXDEB.js";import"./53QFE7JQ.js";import"./XLHDG4FM.js";import"./6LEKXV2O.js";import"./QBFLPL3H.js";import"./4RSHHJ4Y.js";import"./TTMLJD3R.js";import"./GP6DK5OL.js";import"./FRKMUBQW.js";import"./CEBTYHFA.js";import"./Z6SV4EJB.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.61 */
4
4
  var i=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{i as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import a from"./LHRZ7IBA.js";import"./46UPVPEV.js";import"./TBBACRUK.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 c}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as g}from"./ZMOPA7LL.js";import{E as p,F as b,G as d,h as o,i as s}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([{b:m,c:h}])=>{var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],P=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),y=o`/** @license
3
+ v1.2.0-next.61 */
4
+ import a from"./VADP3QUO.js";import"./WTKMR5UY.js";import"./MFAJRJR3.js";import"./TJ3BCTHU.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as c}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as g}from"./65Q2WFD6.js";import{E as p,F as b,G as d,h as o,i as s}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([{b:m,c:h}])=>{var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],P=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),y=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import f from"./K7YP5PDD.js";import e from"./3UZFYGDX.js";import b from"./6GOVJOEP.js";import a from"./IJ245FDS.js";import{a as p}from"./JISBULOQ.js";import{b as l}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{G as o,I as d,K as c,h as s,i as t,q as r}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([,,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e,f)
3
+ v1.2.0-next.61 */
4
+ import f from"./PRASXEUN.js";import e from"./33ZIAGPE.js";import b from"./2P2YESFX.js";import a from"./Y5Z6SQWV.js";import{a as p}from"./I2XGORZH.js";import{b as l}from"./3NINBJYJ.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{G as o,I as d,K as c,h as s,i as t,q as r}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([,,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e,f)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.61 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.61 */
4
4
  var t={medium:[769,992]};export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.61 */
4
4
  function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
@@ -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.61 */
4
+ import{b as e,e as r}from"./2XWNFKLG.js";import"./3MHKWSCC.js";import"./HRAGHKCQ.js";import"./HAZAWSKY.js";import{c as t}from"./MIARN2ON.js";import"./GPG4VHYE.js";import"./ZOSVEKXW.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import"./Z6SV4EJB.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -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.61 */
4
+ import{a as o}from"./3MHKWSCC.js";import{b as l}from"./S56TUI7H.js";import"./Z6SV4EJB.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,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 a,c as g,d as f}from"./WYHW2ASX.js";import{a as u}from"./JNZZAE7R.js";import{b as p}from"./ZMOPA7LL.js";import{E as o,F as c,G as d,J as h,h as s,i as t,j as r,q as n}from"./VTTSGBR5.js";var m=s`/** @license
3
+ v1.2.0-next.61 */
4
+ import{b as a,c as g,d as f}from"./P4RFQ7SQ.js";import{a as u}from"./UYHXKTBT.js";import{b as p}from"./65Q2WFD6.js";import{E as o,F as c,G as d,J as h,h as s,i as t,j as r,q as n}from"./XRVUVLK7.js";var m=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.61 */
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,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 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{a as r}from"./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 n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.2.0-next.61 */
4
+ import{a as t}from"./MVZ36ZHD.js";import"./U2IPPMM4.js";import"./S56TUI7H.js";import"./S63HTRIQ.js";import"./KKGQAK4H.js";import"./FFJAKABB.js";import"./QSCOANTT.js";import"./FOJIKFHL.js";import"./6OK4QGOG.js";import"./4BPWBJER.js";import{a as r}from"./LL2DC5FJ.js";import"./E5KFUJOK.js";import"./6MABMJPE.js";import"./XILQXDEB.js";import"./53QFE7JQ.js";import"./XLHDG4FM.js";import"./6LEKXV2O.js";import"./QBFLPL3H.js";import"./4RSHHJ4Y.js";import"./TTMLJD3R.js";import"./GP6DK5OL.js";import"./FRKMUBQW.js";import"./CEBTYHFA.js";import"./Z6SV4EJB.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n 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 r,b as s,c as a,d as n}from"./WFIOSSYN.js";import{c as e}from"./KXCASIUR.js";import{a as i}from"./FT22BE2Q.js";import{b as t}from"./RVQYDMMJ.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
3
+ v1.2.0-next.61 */
4
+ import{a as r,b as s,c as a,d as n}from"./6LEKXV2O.js";import{c as e}from"./QBFLPL3H.js";import{a as i}from"./GP6DK5OL.js";import{b as t}from"./FRKMUBQW.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,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 c from"./DHWSNW5P.js";import b 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 u}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as m}from"./ZMOPA7LL.js";import{G as p,h as y,i as a,q as o,t as d}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([n,g,,{a:f,c:L,e:w}])=>{async function I(h,e){let{style:s="decimal",places:t=2}=e||{},i=n.convertNumberFormatToIntlOptions({places:t,digitSeparator:!0});return i.style=s,n.formatNumber(h,i)}var x=y`@layer{
3
+ v1.2.0-next.61 */
4
+ import c from"./FIMVJEAW.js";import b from"./LJ2SBS2G.js";import"./P4RFQ7SQ.js";import"./TJ3BCTHU.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as u}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as m}from"./65Q2WFD6.js";import{G as p,h as y,i as a,q as o,t as d}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([n,g,,{a:f,c:L,e:w}])=>{async function I(h,e){let{style:s="decimal",places:t=2}=e||{},i=n.convertNumberFormatToIntlOptions({places:t,digitSeparator:!0});return i.style=s,n.formatNumber(h,i)}var x=y`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,6 +1,6 @@
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.61 */
4
4
  var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},k=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var H=Symbol.for("controller"),ge=o=>typeof o=="object"&&o!==null&&(H in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),ss=o=>typeof o?.then=="function";var j,O=o=>{j!==o&&(j=o,queueMicrotask(()=>j===o?j=void 0:0))},V=o=>j,w=[],Ut=o=>{if(o===void 0){w=[];return}let t=w.indexOf(o);w=t===-1?[...w,o]:w.slice(0,t+1),queueMicrotask(()=>w=[])},Rt=()=>w,U,os=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},ve=()=>{let o=U;return U=void 0,o},Mt=async(o,t)=>{let e=Y(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},It=async o=>{let t=Y(o);return await t.ready,t},Y=o=>{let e=V().manager.X(o);if(e!==void 0)return e;if(ge(o))return o;let s=ve();if(s!==void 0)return s},J=!1,rs=o=>{J=!0;try{return o()}finally{J=!1}};var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),kt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new z(typeof o=="string"?o:o+"",void 0,mt),Ee=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new z(e,o,mt)},Ht=(o,t)=>{if(X)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},yt=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var{is:$e,defineProperty:be,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Ae,getOwnPropertySymbols:Ce,getPrototypeOf:we}=Object,et=globalThis,Vt=et.trustedTypes,Oe=Vt?Vt.emptyScript:"",Se=et.reactiveElementPolyfillSupport,B=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?Oe:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},W=(o,t)=>!$e(o,t),zt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:W};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=_e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=we(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,s=[...Ae(e),...Ce(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(yt(r))}else t!==void 0&&e.push(yt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:tt;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??W)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[B("elementProperties")]=new Map,_[B("finalized")]=new Map,Se?.({ReactiveElement:_}),(et.reactiveElementVersions??=[]).push("2.1.1");var vt=globalThis,st=vt.trustedTypes,Bt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,Et="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,$t="?"+A,Te=`<${$t}>`,P=document,q=()=>P.createComment(""),G=o=>o===null||typeof o!="object"&&typeof o!="function",bt=Array.isArray,Qt=o=>bt(o)||typeof o?.[Symbol.iterator]=="function",gt=`[
5
5
  \f\r]`,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wt=/-->/g,Ft=/>/g,S=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Gt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,_t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),hs=_t(1),ds=_t(2),ps=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Kt=new WeakMap,T=P.createTreeWalker(P,129);function Yt(o,t){if(!bt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bt!==void 0?Bt.createHTML(t):t}var Zt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=F;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===F?u[1]==="!--"?n=Wt:u[1]!==void 0?n=Ft:u[2]!==void 0?(Jt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=S):u[3]!==void 0&&(n=S):n===S?u[0]===">"?(n=r??F,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?S:u[3]==='"'?Gt:qt):n===Gt||n===qt?n=S:n===Wt||n===Ft?n=F:(n=S,r=void 0);let g=n===S&&o[a+1].startsWith("/>")?" ":"";i+=n===F?c+Te:h>=0?(s.push(l),c.slice(0,h)+Et+c.slice(h)+A+g):c+A+(h===-2?a:g)}return[Yt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},K=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Zt(t,e);if(this.el=o.createElement(l,s),T.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=T.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(Et)){let y=u[n++],g=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?rt:C[1]==="?"?it:C[1]==="@"?nt:D}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Jt.test(r.tagName)){let h=r.textContent.split(A),y=h.length-1;if(y>0){r.textContent=st?st.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],q()),T.nextNode(),c.push({type:2,index:++i});r.append(h[y],q())}}}else if(r.nodeType===8)if(r.data===$t)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:i}),h+=A.length-1}i++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function N(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=G(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=N(o,r._$AS(o,t.values),r,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new R(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new at(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=T.nextNode(),n++)}return T.currentNode=P,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),G(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&G(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=K.createElement(Yt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new ot(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Kt.get(t.strings);return e===void 0&&Kt.set(t.strings,e=new K(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(q()),this.O(q()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},D=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=N(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=N(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!G(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},it=class extends D{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends D{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}},Xt={M:Et,P:A,A:$t,C:1,L:Zt,R:ot,D:Qt,V:N,I:R,H:D,N:it,U:nt,B:rt,F:at},Pe=vt.litHtmlPolyfillSupport;Pe?.(K,R),(vt.litHtmlVersions??=[]).push("3.3.1");var At=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new R(t.insertBefore(q(),i),i,void 0,e??{})}return r._$AI(o),r};var Ct=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=At(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:$});var Ne=Ct.litElementPolyfillSupport;Ne?.({LitElement:$});(Ct.litElementVersions??=[]).push("4.2.1");var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},te=(o,t)=>{let e=t>De?xe:t/Le,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},De=4e3,xe=2e3,Le=4;var ee=new Set,se;var oe=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Os=(o,t,e,s)=>{let r=oe(t);if(s?.once){let n=`${o}${r}${e}`;if(ee.has(n))return;ee.add(n)}let i;if(s?.detail){i={};for(let[n,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;se?.log.interceptors?.forEach(n=>n(o,r,e,i)),console[o](`[${r}]: ${e}`,i)}else se?.log.interceptors?.forEach(n=>n(o,r,e)),console[o](`[${r}]: ${e}`)},re=o=>{let t=`[${oe(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}};var Ue=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Re=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Me=(o=[V(),...Rt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ue(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ie=(o="",t={},e=V())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Me(void 0,r=>o=r.key,s),s},ke=Ie.bind(null,""),ae;ae=H;var wt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ae]=!0,this.#a=[];let e=this,s=t??V(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ne(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(Ut(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(re(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ne(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return O(this.#o),Mt}get useRef(){return O(this.#o),It}get useRefSync(){return O(this.#o),Y}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await k(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(k)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(ie,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ie,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){O(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ie(o){p(o,void 0,this)}var ce=wt,ne=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(je,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),je=/[A-Z]+(?![a-z])|[A-Z]/gu;var Rs="randomUUID"in crypto;var St=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function Pt(){}var He=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(Ve):void 0,C=g?.map(([L])=>L),x=class extends Ot{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!x.B&&(x.B=c(),x.F()),super()}};customElements.define(a,x)}},lt=Object.defineProperty,Ve=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},ze=globalThis.HTMLElement??Pt,Ot=class extends ze{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#r({a:e.A}):e.B.then(async s=>{await e.K.p,t.#r(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=St(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);We(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Be,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Be([o,t]){this[o]=t}var We=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Fe}=Xt;var ht=o=>o.strings===void 0,he=()=>document.createComment(""),Fs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(he(),r),n=s.insertBefore(he(),r);e=new Fe(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},qs=(o,t,e=o)=>(o._$AI(t,e),o),qe={},de=(o,t=qe)=>o._$AH=t,Gs=o=>o._$AH,Ks=o=>{o._$AR(),o._$AA.remove()};var Ge=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Je(t)}};function Ke(o){this._$AN!==void 0?(dt(this),this._$AM=o,pe(this)):this._$AM=o}function Qe(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),dt(s[i]);else s!=null&&(Q(s,!1),dt(s));else Q(this,o)}var Je=o=>{o.type==m.CHILD&&(o._$AP??=Qe,o._$AQ??=Ke)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var ho=()=>new Dt,Dt=class{},Nt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Nt.get(t);e===void 0&&(e=new WeakMap,Nt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Nt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=class extends ce{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=ft in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${ft} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),O(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=te(t,Ze)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},Ze=1e3,ft="autoDestroyDisabled";var ue=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var fe="important",Xe=" !"+fe,me=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Xe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?fe:""):e[s]=r}}return f}});var ye=class o extends ${constructor(){super(),this.M=[],this.manager=new ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#r=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Pt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??W,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!J&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#r.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??St(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(k(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(ft)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(H in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var vr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var Er=o=>typeof o=="object"&&o!=null?ue(o):o,$r=o=>typeof o=="object"&&o!=null?me(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},br=E(Lt);var _r=d;export{ss as a,O as b,V as c,Ut as d,Rt as e,os as f,rs as g,Ee as h,hs as i,ds as j,f as k,d as l,At as m,Os as n,Re as o,Me as p,ke as q,wt as r,ce as s,Tt as t,He as u,m as v,E as w,v as x,Fs as y,qs as z,de as A,Gs as B,Ks as C,Ge as D,ho as E,xt as F,ye as G,vr as H,Er as I,$r as J,_r as K};
@@ -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 c from"./6GOVJOEP.js";import a from"./IJ245FDS.js";import{a as b}from"./NCOWGV7K.js";import{a as C}from"./JISBULOQ.js";import{b as _}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{E as v,F as S,G as x,I as f,h as E,i as s,t as T}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([D,L,P,u,h,F,M,p])=>{var{state:t,onChange:k}=M({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",I=class{constructor(){this.initializeModules()}async initializeModules(){try{this.handles=new D}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let r=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(r,n),this.initTimeSlider(e)}}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,r=l=>n?.find(({id:c})=>l===c),a=i.map(({id:l})=>r(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(a)}generateTimeInfoItems(e,i){return[...i].map(n=>{let r=e.find(({layer:a})=>a.id===n.id);return this.generateTimeInfoItem(r,n)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:r,timeIntervalValue:a}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:a??1,rangeStart:new Date(n),rangeEnd:new Date(r),timeExtent:l,previousTimeExtent:null}}initTimeSlider(e,i){let n=r=>{t.timeSlider=new F(r),t.autoPlay&&t.timeSlider.play()};if(i){let r=this.getTimeSliderConfig(e,i);n(r)}else{let r=t?.timeInfoItems?.[0];if(!r)return;t.selectedTimeInfoItem=r;let a=this.getTimeSliderConfig(e);n(a)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){k("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let o=t.view?.map?.widgets?.timeSlider,w={...n,fullTimeExtent:o?.fullTimeExtent,timeExtent:o?.currentTimeExtent};return o?.stopInterval?.unit&&o?.stopInterval?.value&&(w.stops={interval:new h({unit:o?.stopInterval?.unit,value:o?.stopInterval?.value})}),w}let[{timeExtent:r,rangeStart:a,rangeEnd:l,unit:c,timeIntervalValue:V}]=t.timeInfoItems;return{...n,fullTimeExtent:r,timeExtent:new u({start:a,end:l}),stops:{interval:new h({unit:c,value:V})}}}initialize2DView(){t.timeInfoItems.forEach(e=>this.applyTimeExtent(e.layerView,new u({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=new L({filter:{timeExtent:i},includedEffect:await p(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await p(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=new P({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=this.getTimeExtent(e),t.timeSlider.stops={interval:this.getTimeInterval(e)})}getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){return n??new u({start:e,end:i})}getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return new h({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},m=new I,R=E`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-color-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-color-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,d={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},y=class extends x{constructor(){super(...arguments),this._messages=C({name:"instant-apps-time-filter"}),this.timeSliderRef=v(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=R}static{this.shadowRootOptions=T}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,m.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,m.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await m.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${d.base}${this.view.type!=="2d"?d.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${b("time-slider",s`<div ${S(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${f(d.background)}></div><div class=${f(d.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${f(d.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${m.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,n=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>m.updateSelectedTimeInfoItem(e)} .selected=${i===n}>${m.getLabel(e)}</calcite-dropdown-item>`}};_("instant-apps-time-filter",y);return y},"core/Handles","layers/support/FeatureEffect","layers/support/FeatureFilter","time/TimeExtent","time/TimeInterval","widgets/TimeSlider",a,c)
3
+ v1.2.0-next.61 */
4
+ import c from"./2P2YESFX.js";import a from"./Y5Z6SQWV.js";import{a as b}from"./YUH4EAMP.js";import{a as C}from"./I2XGORZH.js";import{b as _}from"./3NINBJYJ.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{E as v,F as S,G as x,I as f,h as E,i as s,t as T}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([D,L,P,u,h,F,M,p])=>{var{state:t,onChange:k}=M({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",I=class{constructor(){this.initializeModules()}async initializeModules(){try{this.handles=new D}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let r=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(r,n),this.initTimeSlider(e)}}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,r=l=>n?.find(({id:c})=>l===c),a=i.map(({id:l})=>r(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(a)}generateTimeInfoItems(e,i){return[...i].map(n=>{let r=e.find(({layer:a})=>a.id===n.id);return this.generateTimeInfoItem(r,n)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:r,timeIntervalValue:a}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:a??1,rangeStart:new Date(n),rangeEnd:new Date(r),timeExtent:l,previousTimeExtent:null}}initTimeSlider(e,i){let n=r=>{t.timeSlider=new F(r),t.autoPlay&&t.timeSlider.play()};if(i){let r=this.getTimeSliderConfig(e,i);n(r)}else{let r=t?.timeInfoItems?.[0];if(!r)return;t.selectedTimeInfoItem=r;let a=this.getTimeSliderConfig(e);n(a)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){k("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let o=t.view?.map?.widgets?.timeSlider,w={...n,fullTimeExtent:o?.fullTimeExtent,timeExtent:o?.currentTimeExtent};return o?.stopInterval?.unit&&o?.stopInterval?.value&&(w.stops={interval:new h({unit:o?.stopInterval?.unit,value:o?.stopInterval?.value})}),w}let[{timeExtent:r,rangeStart:a,rangeEnd:l,unit:c,timeIntervalValue:V}]=t.timeInfoItems;return{...n,fullTimeExtent:r,timeExtent:new u({start:a,end:l}),stops:{interval:new h({unit:c,value:V})}}}initialize2DView(){t.timeInfoItems.forEach(e=>this.applyTimeExtent(e.layerView,new u({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=new L({filter:{timeExtent:i},includedEffect:await p(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await p(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=new P({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=this.getTimeExtent(e),t.timeSlider.stops={interval:this.getTimeInterval(e)})}getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){return n??new u({start:e,end:i})}getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return new h({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},m=new I,R=E`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-color-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-color-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,d={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},y=class extends x{constructor(){super(...arguments),this._messages=C({name:"instant-apps-time-filter"}),this.timeSliderRef=v(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=R}static{this.shadowRootOptions=T}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,m.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,m.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await m.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${d.base}${this.view.type!=="2d"?d.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${b("time-slider",s`<div ${S(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${f(d.background)}></div><div class=${f(d.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${f(d.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${m.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,n=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>m.updateSelectedTimeInfoItem(e)} .selected=${i===n}>${m.getLabel(e)}</calcite-dropdown-item>`}};_("instant-apps-time-filter",y);return y},"core/Handles","layers/support/FeatureEffect","layers/support/FeatureFilter","time/TimeExtent","time/TimeInterval","widgets/TimeSlider",a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as B}from"./JISBULOQ.js";import{b as U}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{D as S,E as u,F as h,G as I,I as a,J as m,K as L,h as T,i as n,j as w}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([M,Q,k,Y,O])=>{var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var( --calcite-color-foreground-1 );--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var( --calcite-icon-color );--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",H=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=B({name:"instant-apps-social-share"}),this.popoverRef=u(),this.embedWidthRef=u(),this.embedHeightRef=u(),this.embedCodeRef=u(),this.copyLinkPopoverRef=u(),this.copyEmbedPopoverRef=u(),this.dialogContentRef=u(),this.shareListRef=u(),this.popoverButtonRef=u(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let p=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(p),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let l;r&&(l=window.open("","_blank"),this.shortenShareUrl&&(p=await this.shortenUrl(this.shareUrl)||p));let g={url:encodeURI(p)},f=e==="x"?{...g,text:this.shareText}:g,P=M.substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&l?(l.location=P,l.focus()):window.open(encodeURI(P),"_blank")}break;case"native-share":let b={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(p)};navigator?.canShare?.(b)?navigator.share(b).catch(l=>{console.error("Error using native share:",l)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await Q("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=new O({...o.toJSON()}),p=new Y({x:e,y:s,spatialReference:r}),b=await this.processPoint(p),{isWGS84:l,isWebMercator:g}=b.spatialReference,f=l||g;return this.generateShareUrlParams(b,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=new O({wkid:4326}),p=this.view?.spatialReference??r;try{return await k.load(),k.execute(e,p)}catch(b){console.error("Failed to project point to outSpatialReference",b);try{let l=k.execute(e,r);return Promise.resolve(l)}catch(l){return console.error("Failed to project point to fallbackOutSpatialReference",l),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:p,y:b}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let l=this.roundValue(s?o:p),g=this.roundValue(s?r:b),{zoom:f}=this.view,P=this.roundValue(f),R=this.view?.popup?.selectedFeature,F=this.view?.popup?.visible,$,x;if(R&&F&&R?.layer?.type==="feature"){let v=R?.layer;$=v?.id,x=R.attributes[v.objectIdField]}let C=this.view.map?.allLayers.filter(v=>!v.visible).toArray().map(v=>v.id).toString().replaceAll(",",";"),{type:N}=this.view,{defaultUrlParams:_}=this,c=new URL(this.shareUrl),{searchParams:d}=c;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),N==="3d"){let{camera:v}=this.view,{heading:D,position:A,tilt:V}=v,{longitude:W,latitude:j,x:K,y:Z,z:G}=A,X=s?W:K,q=s?j:Z,y={longitude:this.roundValue(X,8),latitude:this.roundValue(q,8),z:this.roundValue(G,3),heading:this.roundValue(D,3),tilt:this.roundValue(V,3)},J=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return _?.viewpoint!==!1&&c.searchParams.set("viewpoint",J),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}return _?.center!==!1&&c.searchParams.set("center",`${l};${g}${!s&&this.view?.spatialReference?.wkid?`;${this.view?.spatialReference?.wkid}`:""}`),_?.level!==!1&&c.searchParams.set("level",`${P}`),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(H)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,p=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${p} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${m({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${m({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(H);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${m({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${m({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${m({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${m({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${m({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);return z},"intl","request","geometry/operators/projectOperator","geometry/Point","geometry/SpatialReference")
3
+ v1.2.0-next.61 */
4
+ import{a as B}from"./I2XGORZH.js";import{b as U}from"./3NINBJYJ.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{D as S,E as u,F as h,G as I,I as a,J as m,K as L,h as T,i as n,j as w}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([M,Q,k,Y,O])=>{var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var( --calcite-color-foreground-1 );--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var( --calcite-icon-color );--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",H=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=B({name:"instant-apps-social-share"}),this.popoverRef=u(),this.embedWidthRef=u(),this.embedHeightRef=u(),this.embedCodeRef=u(),this.copyLinkPopoverRef=u(),this.copyEmbedPopoverRef=u(),this.dialogContentRef=u(),this.shareListRef=u(),this.popoverButtonRef=u(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let p=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(p),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let l;r&&(l=window.open("","_blank"),this.shortenShareUrl&&(p=await this.shortenUrl(this.shareUrl)||p));let g={url:encodeURI(p)},f=e==="x"?{...g,text:this.shareText}:g,P=M.substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&l?(l.location=P,l.focus()):window.open(encodeURI(P),"_blank")}break;case"native-share":let b={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(p)};navigator?.canShare?.(b)?navigator.share(b).catch(l=>{console.error("Error using native share:",l)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await Q("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=new O({...o.toJSON()}),p=new Y({x:e,y:s,spatialReference:r}),b=await this.processPoint(p),{isWGS84:l,isWebMercator:g}=b.spatialReference,f=l||g;return this.generateShareUrlParams(b,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=new O({wkid:4326}),p=this.view?.spatialReference??r;try{return await k.load(),k.execute(e,p)}catch(b){console.error("Failed to project point to outSpatialReference",b);try{let l=k.execute(e,r);return Promise.resolve(l)}catch(l){return console.error("Failed to project point to fallbackOutSpatialReference",l),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:p,y:b}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let l=this.roundValue(s?o:p),g=this.roundValue(s?r:b),{zoom:f}=this.view,P=this.roundValue(f),R=this.view?.popup?.selectedFeature,F=this.view?.popup?.visible,$,x;if(R&&F&&R?.layer?.type==="feature"){let v=R?.layer;$=v?.id,x=R.attributes[v.objectIdField]}let C=this.view.map?.allLayers.filter(v=>!v.visible).toArray().map(v=>v.id).toString().replaceAll(",",";"),{type:N}=this.view,{defaultUrlParams:_}=this,c=new URL(this.shareUrl),{searchParams:d}=c;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),N==="3d"){let{camera:v}=this.view,{heading:D,position:A,tilt:V}=v,{longitude:W,latitude:j,x:K,y:Z,z:G}=A,X=s?W:K,q=s?j:Z,y={longitude:this.roundValue(X,8),latitude:this.roundValue(q,8),z:this.roundValue(G,3),heading:this.roundValue(D,3),tilt:this.roundValue(V,3)},J=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return _?.viewpoint!==!1&&c.searchParams.set("viewpoint",J),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}return _?.center!==!1&&c.searchParams.set("center",`${l};${g}${!s&&this.view?.spatialReference?.wkid?`;${this.view?.spatialReference?.wkid}`:""}`),_?.level!==!1&&c.searchParams.set("level",`${P}`),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(H)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,p=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${p} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${m({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${m({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(H);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${m({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${m({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${m({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${m({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${m({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);return z},"intl","request","geometry/operators/projectOperator","geometry/Point","geometry/SpatialReference")